You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
forgejo/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.
5 years ago
..
admin Shadow password correctly for session config (#8984) 5 years ago
api/v1 Handle setting default branch via API (#9030) 5 years ago
dev Display ui time with customize time location (#7792) 5 years ago
org Only return JSON for add/remove all (#9028) 5 years ago
private Allow Protected Branches to Whitelist Deploy Keys (#8483) 5 years ago
repo enable lazy-loading of gitgraph.js (#9036) 5 years ago
routes Expand/Collapse Files and Blob Excerpt while Reviewing/Comparing code (#8924) 5 years ago
user Improve notification (#8835) 5 years ago
utils Slack webhook channel name cannot be empty or just contain an hashtag (#4786) 6 years ago
home.go Use AppSubUrl for more redirections (#8647) 5 years ago
init.go Move webhook to a standalone package under modules (#8747) 5 years ago
install.go Upgrade xorm to v0.8.0 (#8536) 5 years ago
metrics.go Use gitea forked macaron (#7933) 5 years ago
swagger_json.go Swagger.v1.json template (#3572) 6 years ago