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/templates
wxiaoguang 042cac5fed
Improve install code to avoid low-level mistakes. (#17779)
* Improve install code to avoid low-level mistakes.

If a user tries to do a re-install in a Gitea database, they gets a warning and double check.
When Gitea runs, it never create empty app.ini automatically.

Also some small (related) refactoring:

* Refactor db.InitEngine related logic make it more clean (especially for the install code)
* Move some i18n strings out from setting.go to make the setting.go can be easily maintained.
* Show errors in CLI code if an incorrect app.ini is used.
* APP_DATA_PATH is created when installing, and checked when starting (no empty directory is created any more).
3 years ago
..
admin Make Requests Processes and create process hierarchy. Associate OpenRepository with context. (#17125) 3 years ago
base Improve install code to avoid low-level mistakes. (#17779) 3 years ago
custom Add footer extra links template (#9576) 5 years ago
explore Add archived label for code search results in archived repo's (#17817) 3 years ago
mail Multiple Escaping Improvements (#17551) 3 years ago
org org settings -> webhook/labels/deletion should also active the menu (#17809) 3 years ago
repo Rework commit page header (#17849) 3 years ago
shared Cleanup and use global style on popups (#17674) 3 years ago
status Rename StaticUrlPrefix to AssetUrlPrefix (#15779) 3 years ago
swagger Add API to get/edit wiki (#17278) 3 years ago
user Remove unnecessary attributes of User struct (#17745) 3 years ago
home.tmpl Rename StaticUrlPrefix to AssetUrlPrefix (#15779) 3 years ago
install.tmpl Improve install code to avoid low-level mistakes. (#17779) 3 years ago
post-install.tmpl Rename StaticUrlPrefix to AssetUrlPrefix (#15779) 3 years ago