gogs/internal/db
Michael Li 4d83fd4238
Use go-bindata to embed `public` and `templates` files into binary (#5920)
* fixed private repositories are hidden in the organization's view

* use go-bindata integrate public and templates files to gogs binary

* optimize Dockerfile don't COPY public and templates files

* use kevinburke's go-bindata to generate assets code

* reset develepment as default run mode in configure file

* optimize generated assets code relayout and help function

* fixed code format

* Update conf/app.ini

* assets: add LICENSE headers

* Some housekeeping

* assets/public: simplify code logic

* assets/templates: simplify code logic

* cmd/web: more concise variable names

* Minor changes

* Add custom public and templates support back

Co-authored-by: ᴜɴᴋɴᴡᴏɴ <u@gogs.io>
2020-02-17 22:48:24 +08:00
..
errors internal: move packages under this directory (#5836) 2019-10-24 01:51:46 -07:00
migrations Use go-bindata to embed `public` and `templates` files into binary (#5920) 2020-02-17 22:48:24 +08:00
access.go internal: move packages under this directory (#5836) 2019-10-24 01:51:46 -07:00
action.go all: use lazyregexp (#5911) 2020-01-29 19:36:57 +08:00
admin.go internal: move packages under this directory (#5836) 2019-10-24 01:51:46 -07:00
attachment.go internal: move packages under this directory (#5836) 2019-10-24 01:51:46 -07:00
comment.go internal: move packages under this directory (#5836) 2019-10-24 01:51:46 -07:00
error.go internal: move packages under this directory (#5836) 2019-10-24 01:51:46 -07:00
git_diff.go internal: move packages under this directory (#5836) 2019-10-24 01:51:46 -07:00
git_diff_test.go internal: move packages under this directory (#5836) 2019-10-24 01:51:46 -07:00
issue.go internal: move packages under this directory (#5836) 2019-10-24 01:51:46 -07:00
issue_label.go all: use lazyregexp (#5911) 2020-01-29 19:36:57 +08:00
issue_mail.go internal: move packages under this directory (#5836) 2019-10-24 01:51:46 -07:00
login_source.go internal: move packages under this directory (#5836) 2019-10-24 01:51:46 -07:00
milestone.go internal: move packages under this directory (#5836) 2019-10-24 01:51:46 -07:00
mirror.go mirror: use Git command to update origin remote address (#5767) (#5865) 2019-11-16 21:26:06 -08:00
mirror_test.go internal: move packages under this directory (#5836) 2019-10-24 01:51:46 -07:00
models.go internal: move packages under this directory (#5836) 2019-10-24 01:51:46 -07:00
models_sqlite.go internal: move packages under this directory (#5836) 2019-10-24 01:51:46 -07:00
models_test.go internal: move packages under this directory (#5836) 2019-10-24 01:51:46 -07:00
org.go internal/db/org: fix private repositories are hidden in the organization view (#5890) 2020-01-21 21:11:00 +08:00
org_team.go internal: move packages under this directory (#5836) 2019-10-24 01:51:46 -07:00
pull.go Use go-bindata to embed `public` and `templates` files into binary (#5920) 2020-02-17 22:48:24 +08:00
release.go internal: move packages under this directory (#5836) 2019-10-24 01:51:46 -07:00
repo.go Use go-bindata to embed `public` and `templates` files into binary (#5920) 2020-02-17 22:48:24 +08:00
repo_branch.go internal: move packages under this directory (#5836) 2019-10-24 01:51:46 -07:00
repo_collaboration.go internal: move packages under this directory (#5836) 2019-10-24 01:51:46 -07:00
repo_editor.go Use go-bindata to embed `public` and `templates` files into binary (#5920) 2020-02-17 22:48:24 +08:00
repo_editor_test.go internal: move packages under this directory (#5836) 2019-10-24 01:51:46 -07:00
repo_test.go internal: move packages under this directory (#5836) 2019-10-24 01:51:46 -07:00
ssh_key.go internal: move packages under this directory (#5836) 2019-10-24 01:51:46 -07:00
ssh_key_test.go internal: move packages under this directory (#5836) 2019-10-24 01:51:46 -07:00
token.go internal: move packages under this directory (#5836) 2019-10-24 01:51:46 -07:00
two_factor.go internal: move packages under this directory (#5836) 2019-10-24 01:51:46 -07:00
update.go internal: move packages under this directory (#5836) 2019-10-24 01:51:46 -07:00
user.go repo: delete local copies on owner name change (#5843) 2019-11-03 11:07:40 -08:00
user_cache.go internal: move packages under this directory (#5836) 2019-10-24 01:51:46 -07:00
user_mail.go internal: move packages under this directory (#5836) 2019-10-24 01:51:46 -07:00
webhook.go internal: move packages under this directory (#5836) 2019-10-24 01:51:46 -07:00
webhook_dingtalk.go internal: move packages under this directory (#5836) 2019-10-24 01:51:46 -07:00
webhook_discord.go internal: move packages under this directory (#5836) 2019-10-24 01:51:46 -07:00
webhook_slack.go internal: move packages under this directory (#5836) 2019-10-24 01:51:46 -07:00
wiki.go internal: move packages under this directory (#5836) 2019-10-24 01:51:46 -07:00