gogs/public
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 [ImgBot] Optimize images (#5913) 2020-02-01 06:35:59 +08:00
css [ImgBot] Optimize images (#5913) 2020-02-01 06:35:59 +08:00
img [ImgBot] Optimize images (#5913) 2020-02-01 06:35:59 +08:00
js Use go-bindata to embed `public` and `templates` files into binary (#5920) 2020-02-17 22:48:24 +08:00
less templates: fix line wrap for very long commit message 2019-11-07 11:18:21 -08:00
plugins [ImgBot] Optimize images (#5913) 2020-02-01 06:35:59 +08:00