forked from gitea/gitea
1
0
Fork 0
gitea/web_src/css
wxiaoguang b4460cf541
Make "install page" respect environment config (#25648) (#25799)
Backport #25648

Replace #25580

Fix #19453

The problem was: when users set "GITEA__XXX__YYY" , the "install page"
doesn't respect it.

So, to make the result consistent and avoid surprising end users, now
the "install page" also writes the environment variables to the config
file.

And, to make things clear, there are enough messages on the UI to tell
users what will happen.

There are some necessary/related changes to `environment-to-ini.go`:

* The "--clear" flag is removed and it was incorrectly written there.
The "clear" operation should be done if INSTALL_LOCK=true
* The "--prefix" flag is removed because it's never used, never
documented and it only causes inconsistent behavior.

The only conflict during backport is "ui divider" in
templates/install.tmpl
2023-07-10 11:51:05 +00:00
..
chroma Change `--font-weight-bold` to `--font-weight-semibold` and 600 value, introduce new font weight variables (#24827) 2023-05-21 23:37:32 +00:00
codemirror Remove EasyMDE focus outline on text (#25328) (#25332) 2023-06-18 09:35:40 +02:00
editor Several fixes for mobile UI (#25634) (#25689) 2023-07-07 00:34:00 +02:00
features Change `--font-weight-bold` to `--font-weight-semibold` and 600 value, introduce new font weight variables (#24827) 2023-05-21 23:37:32 +00:00
markup Improve wiki sidebar and TOC (#25460) (#25477) 2023-06-24 10:16:15 +08:00
modules Prevent SVG shrinking (#25652) (#25669) 2023-07-04 10:03:03 +00:00
repo Improve wiki sidebar and TOC (#25460) (#25477) 2023-06-24 10:16:15 +08:00
shared Actions list enhancements (#25601) (#25678) 2023-07-04 13:00:34 +00:00
standalone Add dark mode to API Docs (#24971) 2023-05-28 21:37:34 +00:00
themes Minor arc-green color tweaks (#25175) (#25205) 2023-06-12 13:56:59 +02:00
actions.css Reorganize CSS files (#24739) 2023-05-16 00:13:30 -04:00
admin.css Several fixes for mobile UI (#25634) (#25689) 2023-07-07 00:34:00 +02:00
base.css Actions list enhancements (#25601) (#25678) 2023-07-04 13:00:34 +00:00
dashboard.css Fix mobile navbar and misc cleanups (#25134) (#25169) 2023-06-11 09:50:39 +08:00
explore.css Improve notification icon and navbar (#25111) (#25124) 2023-06-08 10:19:13 +00:00
font_i18n.css Fix `@font-face` overrides (#24855) 2023-05-24 01:48:51 +00:00
form.css Fix mobile navbar and misc cleanups (#25134) (#25169) 2023-06-11 09:50:39 +08:00
helpers.css Clarify "text-align" CSS helpers, fix clone button padding (#25763) (#25764) 2023-07-10 00:19:24 +02:00
home.css Align language menu icon and fit the footer area (#25556) (#25563) 2023-06-28 11:51:24 -04:00
index.css Prevent SVG shrinking (#25652) (#25669) 2023-07-04 10:03:03 +00:00
install.css Make "install page" respect environment config (#25648) (#25799) 2023-07-10 11:51:05 +00:00
org.css Fix position of org follow button (#25688) (#25692) 2023-07-05 08:31:12 +02:00
repo.css Clarify "text-align" CSS helpers, fix clone button padding (#25763) (#25764) 2023-07-10 00:19:24 +02:00
review.css Diff page enhancements (#25398) (#25437) 2023-06-22 14:33:13 +02:00
user.css Fix mobile navbar and misc cleanups (#25134) (#25169) 2023-06-11 09:50:39 +08:00