gogs/internal
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
..
assets Use go-bindata to embed `public` and `templates` files into binary (#5920) 2020-02-17 22:48:24 +08:00
auth internal: move packages under this directory (#5836) 2019-10-24 01:51:46 -07:00
avatar internal: move packages under this directory (#5836) 2019-10-24 01:51:46 -07:00
cmd Use go-bindata to embed `public` and `templates` files into binary (#5920) 2020-02-17 22:48:24 +08:00
context repo: fix redirect after opening/closing milestone (#5903) 2020-01-26 05:42:38 +08:00
cron internal: move packages under this directory (#5836) 2019-10-24 01:51:46 -07:00
db Use go-bindata to embed `public` and `templates` files into binary (#5920) 2020-02-17 22:48:24 +08:00
form all: use lazyregexp (#5911) 2020-01-29 19:36:57 +08:00
httplib internal: move packages under this directory (#5836) 2019-10-24 01:51:46 -07:00
lazyregexp all: use lazyregexp (#5911) 2020-01-29 19:36:57 +08:00
mailer Use go-bindata to embed `public` and `templates` files into binary (#5920) 2020-02-17 22:48:24 +08:00
markup all: use lazyregexp (#5911) 2020-01-29 19:36:57 +08:00
osutil Use go-bindata to embed `public` and `templates` files into binary (#5920) 2020-02-17 22:48:24 +08:00
process internal: move packages under this directory (#5836) 2019-10-24 01:51:46 -07:00
route Use go-bindata to embed `public` and `templates` files into binary (#5920) 2020-02-17 22:48:24 +08:00
setting Use go-bindata to embed `public` and `templates` files into binary (#5920) 2020-02-17 22:48:24 +08:00
ssh internal: move packages under this directory (#5836) 2019-10-24 01:51:46 -07:00
sync internal: move packages under this directory (#5836) 2019-10-24 01:51:46 -07:00
template Use go-bindata to embed `public` and `templates` files into binary (#5920) 2020-02-17 22:48:24 +08:00
tool internal: move packages under this directory (#5836) 2019-10-24 01:51:46 -07:00
user internal: move packages under this directory (#5836) 2019-10-24 01:51:46 -07:00