1
1
mirror of https://github.com/go-gitea/gitea synced 2024-11-13 21:54:24 +00:00
gitea/cmd
6543 c5fe0a096d
When dumping trim the standard suffices instead of a random suffix (#19440) (#19447)
* When dumping trim the standard suffices instead of a random suffix

Instead of using the `path.Ext()` to trim the last "extension" suffix, just iterate
through the supported suffices and trim those.

Fix #19424

Signed-off-by: Andrew Thornton <art27@cantab.net>

* fix enum with to have correct supported types only

Co-authored-by: 6543 <6543@obermui.de>

Co-authored-by: zeripath <art27@cantab.net>
2022-04-20 23:26:03 +01:00
..
admin_auth_ldap_test.go Refactor auth package (#17962) 2022-01-02 21:12:35 +08:00
admin_auth_ldap.go Refactor auth package (#17962) 2022-01-02 21:12:35 +08:00
admin.go Add/update SMTP auth providers via cli (#18197) 2022-01-12 22:54:53 +00:00
cert.go Add golangci (#6418) 2019-06-12 15:41:28 -04:00
cmd.go Fix flag validation (#19046) (#19051) 2022-03-10 20:23:55 +00:00
convert.go Improve install code to avoid low-level mistakes. (#17779) 2021-12-01 15:50:01 +08:00
docs.go Fix offBy1 errors (#17606) 2021-11-14 10:11:49 +02:00
doctor.go Improve install code to avoid low-level mistakes. (#17779) 2021-12-01 15:50:01 +08:00
dump_repo.go Improve install code to avoid low-level mistakes. (#17779) 2021-12-01 15:50:01 +08:00
dump.go When dumping trim the standard suffices instead of a random suffix (#19440) (#19447) 2022-04-20 23:26:03 +01:00
embedded_stub.go Add bundle download for repository (#14538) 2021-08-24 11:47:09 -05:00
embedded.go Improve install code to avoid low-level mistakes. (#17779) 2021-12-01 15:50:01 +08:00
generate.go Add asymmetric JWT signing (#16010) 2021-06-17 23:56:46 +02:00
hook_test.go Add agit flow support in gitea (#14295) 2021-07-28 17:42:56 +08:00
hook.go Fix the bug: deploy key with write access can not push (#19010) (#19182) 2022-03-23 13:44:41 +00:00
keys.go Second attempt at preventing zombies (#16326) 2021-07-14 10:43:13 -04:00
mailer.go Improve install code to avoid low-level mistakes. (#17779) 2021-12-01 15:50:01 +08:00
manager.go Second attempt at preventing zombies (#16326) 2021-07-14 10:43:13 -04:00
migrate_storage.go Some repository refactors (#17950) 2021-12-12 23:48:20 +08:00
migrate.go Improve install code to avoid low-level mistakes. (#17779) 2021-12-01 15:50:01 +08:00
restore_repo.go Improve install code to avoid low-level mistakes. (#17779) 2021-12-01 15:50:01 +08:00
serv.go Warn on SSH connection for incorrect configuration (#19317) (#19437) 2022-04-20 19:18:23 +02:00
web_graceful.go Make SSL cipher suite configurable (#17440) 2021-11-20 01:12:43 -05:00
web_https.go Add user settings key/value DB table (#16834) 2021-11-22 04:47:23 -05:00
web_letsencrypt.go Upgrade certmagic from v0.14.1 to v0.15.2 (#18138) 2022-01-01 17:43:28 +08:00
web.go Replace "unix" by "http+unix" for PROTOCOL (#17771) 2021-12-05 23:46:11 -05:00