forgejo/routers
wxiaoguang 89d52922d0
Fix token generation when using INTERNAL_TOKEN_URI () ()
Backport 

Fix https://github.com/go-gitea/gitea/issues/21666
Caused by https://github.com/go-gitea/gitea/pull/19663

Before: when install, the INTERNAL_TOKEN was always generated and saved.
But the internal token may be already there by INTERNAL_TOKEN_URI

After: INTERNAL_TOKEN_URI file must be non-empty. When install, skip
internal token generation if the token exists.
2022-11-03 20:54:25 +00:00
..
api Fix 500 on PR files API () () 2022-10-26 19:21:08 +03:00
common Rework raw file http header logic () 2022-07-29 17:26:55 +02:00
install Fix token generation when using INTERNAL_TOKEN_URI () () 2022-11-03 20:54:25 +00:00
private Refactor git command arguments and make all arguments to be safe to be used () 2022-10-23 22:44:45 +08:00
utils refactor webhook *NewPost () 2022-08-11 17:48:23 +02:00
web Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) () 2022-10-24 20:29:17 +01:00
init.go Sync git hooks when config file path changed () () 2022-10-30 11:17:11 +08:00