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.
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
..
chroma Improve Light Chroma style (#15699) 3 years ago
code Fix and restyle menu on code line (#15913) 3 years ago
features Refactor commit graph styling to use css variables (#17860) 3 years ago
markup Add copy button to markdown code blocks (#17638) 3 years ago
shared Issue list alignment tweaks (#15483) 3 years ago
standalone Fix tooltips and issue dependency styles (#13458) 4 years ago
themes Rework commit page header (#17849) 3 years ago
_admin.less Fix webhook list styling (#14001) 4 years ago
_base.less Rework commit page header (#17849) 3 years ago
_dashboard.less Fix overflow label in mobile view (#17020) 3 years ago
_editor.less Issue sidebar and misc css fixes (#15524) 3 years ago
_explore.less Ensure popup text is aligned left (#17327) 3 years ago
_font_i18n.less Fix CJK fonts again and misc. font issues (#14575) 3 years ago
_form.less Migrating wiki don't require token, so we should move it out of the require form (#17645) 3 years ago
_home.less fix media query edge case (#13546) 4 years ago
_install.less Improve install code to avoid low-level mistakes. (#17779) 3 years ago
_organization.less Create menus for organization pages (#17802) 3 years ago
_repository.less Rework commit page header (#17849) 3 years ago
_review.less fix: code review comments on mobile (#17321) 3 years ago
_svg.less Reindent Less to 2-space (#12602) 4 years ago
_tribute.less Update JS dependencies (#15033) 3 years ago
_user.less Remove remaining fontawesome usage in templates (#15952) 3 years ago
animations.less Add copy button to markdown code blocks (#17638) 3 years ago
helpers.less Rework commit page header (#17849) 3 years ago
index.less Add copy button to markdown code blocks (#17638) 3 years ago
misc.css Raw file view tweaks (#15520) 3 years ago
variables.less fix media query edge case (#13546) 4 years ago