githaven-fork/routers
silverwind f8bd90ba60 enable lazy-loading of gitgraph.js (#9036)
- moved gitgraph.js to web_src and made it importable and es6-compatible
- created new webpack chunk for gitgraph
- enabled CSS loader in webpack
- enabled async/await syntax via regenerator-runtime
- added script to ensure webpack chunks are loaded correctly
- disable terser's comment extraction to prevent .LICENCE files

gitgraph.js has many issues:

1. it is incompatible with ES6 because of strict-mode violations
1. it does not export anything
1. it's css has weird styles like for `body`
1. it is not available on npm

I fixed points 1-3 in our version so it's now loadable in webpack. We should eventually consider alternatives.
2019-11-17 23:39:06 +02:00
..
admin Shadow password correctly for session config (#8984) 2019-11-14 20:06:02 +00:00
api/v1 Handle setting default branch via API (#9030) 2019-11-17 01:30:00 -05:00
dev Display ui time with customize time location (#7792) 2019-08-15 22:46:21 +08:00
org Only return JSON for add/remove all (#9028) 2019-11-16 17:36:13 +00:00
private Allow Protected Branches to Whitelist Deploy Keys (#8483) 2019-10-21 09:21:45 +01:00
repo enable lazy-loading of gitgraph.js (#9036) 2019-11-17 23:39:06 +02:00
routes Expand/Collapse Files and Blob Excerpt while Reviewing/Comparing code (#8924) 2019-11-15 10:52:59 +08:00
user Improve notification (#8835) 2019-11-12 16:33:34 +08:00
utils Slack webhook channel name cannot be empty or just contain an hashtag (#4786) 2018-09-10 10:31:08 -04:00
home.go Use AppSubUrl for more redirections (#8647) 2019-10-23 22:04:22 +01:00
init.go Move webhook to a standalone package under modules (#8747) 2019-11-01 22:51:22 +00:00
install.go Upgrade xorm to v0.8.0 (#8536) 2019-10-17 11:26:49 +02:00
metrics.go Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
swagger_json.go Swagger.v1.json template (#3572) 2018-07-28 03:19:01 +03:00