Commit Graph

28 Commits

Author SHA1 Message Date
petru 512e577c3f Added - Added optional sensitive-secret import for installer app.ini uploads.
release-nightly / nightly-binary (push) Has been cancelled
release-nightly / nightly-container (push) Has been cancelled
- 1 - I added an explicit installer checkbox for importing sensitive secrets from `app.ini` in `templates/install.tmpl`.
- 2 - I extended the installer form, submit pipeline, and final config writer so the optional import reuses `LFS_JWT_SECRET`, `INTERNAL_TOKEN`, and `oauth2.JWT_SECRET` from the uploaded `app.ini` instead of generating new values, including a submit-time fallback that re-reads the uploaded file if the checkbox was enabled after the first auto-import.
- 3 - I finalized secret resolution for both direct values and `LFS_JWT_SECRET_URI` / `INTERNAL_TOKEN_URI` / `JWT_SECRET_URI` file-based references, and added regression coverage for direct imports, URI-based imports, the real `POST /import_app_ini` flow, and the persisted `app.ini` output.
2026-05-12 20:35:52 +00:00
petru 52f3495ca0 Added - Added installer support for importing an existing app.ini.
release-nightly / nightly-binary (push) Has been cancelled
release-nightly / nightly-container (push) Has been cancelled
- 1 - I added an `Import Existing Configuration` section at the top of `templates/install.tmpl` with an `app.ini` upload control that imports automatically as soon as a file is selected, without a separate `Load app.ini` button.
- 2 - I kept the dedicated installer route `POST /import_app_ini` in `routers/install/routes.go`, but the page now posts to it via `fetch` and applies the imported values back into the existing form with `DOMParser`, so the browser is not visibly navigated to `/import_app_ini` and the page scripts are not re-executed.
- 3 - In `routers/install/install.go`, I factored the installer defaults into reusable helpers, added `app.ini` upload parsing with size/error handling, and mapped the imported config into the existing install form fields for database, general server paths, mailer, registration, OpenID, security, and admin policy settings.
- 4 - I added installer locale strings in both `options/locale/locale_en-US.json` and `options/locale/locale_ro-RO.json` for the new import UI, success message, and import errors, and the success flash now auto-dismisses after 5 seconds.
- 5 - I added regression coverage in `routers/install/routes_test.go` for the new upload control and the config-to-form mapping behavior.
2026-05-12 02:08:51 +00:00
petru 9ee45b3392 Modified - Finalized Register behavior for admin-created notification accounts without altering the invitation flow.
release-nightly / nightly-binary (push) Has been cancelled
release-nightly / nightly-container (push) Has been cancelled
- 1 - I extended `POST /user/sign_up` in `routers/web/auth/auth.go` for existing active local accounts created by an admin when `username` and `email` match, while explicitly leaving pending admin invitations on their existing flow.
- 2 - If password is correct, the user is now authenticated into that existing account; when `MustChangePassword` is enabled, the flow redirects directly to `/user/settings/change_password`, otherwise it follows the normal post-auth redirect.
- 3 - If password is incorrect, the flow now redirects to `/user/forgot_password?email=<email>` and shows a warning to use account recovery plus check Spam/Junk.
- 4 - I added the locale key `auth.admin_notify_recover_password_spam_hint` in both `options/locale/locale_en-US.json` and `options/locale/locale_ro-RO.json`.
- 5 - I added regression tests in `routers/web/auth/auth_test.go` for normal sign-in, forced change-password redirect, wrong-password recovery redirect, and a guard that the admin-invitation flow still redirects to `/user/invitation`.
2026-05-12 00:48:37 +00:00
petru d81fdfc31f Added - Added optional custom branding uploads to the install page.
release-nightly / nightly-binary (push) Has been cancelled
release-nightly / nightly-container (push) Has been cancelled
- 1 - I finalized the installer `Branding` section with optional uploads for `logo.svg`, `logo.png`, `loading.png`, `favicon.svg`, and `favicon.png`, including clear format/size guidance plus a shared-assets checkbox for using one SVG and one PNG upload for both logo and favicon.
- 2 - I implemented backend validation and persistence for all branding uploads in `routers/install/install.go` (expected type checks, 1 MB limit, square PNG with minimum 64x64) and save accepted overrides under `custom/public/assets/img/`.
- 3 - I completed the runtime behavior so uploaded branding files override built-in assets through layered serving, `logo.svg` is mirrored to `gitea.svg` for legacy lookups, post-install progress prefers a custom `loading.png`, and the shared-assets mode hides favicon fields while relabeling logo fields to `Logo & Favicon SVG/PNG`.
- 4 - I manually updated Romanian locale wording for the final branding texts and labels.
2026-05-11 20:38:50 +00:00
petru 3b52932acd Added - Added the password visibility toggle to the install-page database password field.
release-nightly / nightly-binary (push) Has been cancelled
release-nightly / nightly-container (push) Has been cancelled
+ Fix - some new correction Romanian wording and grammar in locale_ro-RO.json.
2026-05-10 23:08:40 +00:00
petru 4ff2054a83 Added - Added the password visibility toggle and confirm-password behavior to the install-page super-admin password fields.
release-nightly / nightly-binary (push) Has been cancelled
release-nightly / nightly-container (push) Has been cancelled
+ Fix - some new correction Romanian wording and grammar in locale_ro-RO.json.
2026-05-10 22:14:03 +00:00
petru ca7092e23c Added - Added column-wide Select all controls to the organization team-units permissions table.
release-nightly / nightly-binary (push) Has been cancelled
release-nightly / nightly-container (push) Has been cancelled
+ Fix - some new correction Romanian wording and grammar in locale_ro-RO.json.
2026-05-10 20:52:49 +00:00
petru 490e119254 Fix - some new correction Romanian wording and grammar in locale_ro-RO.json.
release-nightly / nightly-binary (push) Has been cancelled
release-nightly / nightly-container (push) Has been cancelled
2026-05-10 05:05:16 +00:00
petru 3b121911c1 Modified - Unified the persistent appearance toggles into a single settings group. 2026-05-10 04:49:07 +00:00
petru aaaada5129 Fix - some new correction Romanian wording and grammar in locale_ro-RO.json. 2026-05-10 03:43:31 +00:00
petru bfb584f161 Added - Added password visibility toggles to the login and signup forms.
release-nightly / nightly-binary (push) Has been cancelled
release-nightly / nightly-container (push) Has been cancelled
2026-05-09 19:33:09 +00:00
petru 01e3eb1306 Fix - some new correction Romanian wording and grammar in locale_ro-RO.json.
release-nightly / nightly-binary (push) Has been cancelled
release-nightly / nightly-container (push) Has been cancelled
2026-05-09 18:35:37 +00:00
petru ab1135d1c6 Added - Added column-wide Select all controls to the user access-token permissions table.
release-nightly / nightly-binary (push) Has been cancelled
release-nightly / nightly-container (push) Has been cancelled
2026-05-09 16:39:10 +00:00
petru a8a099edea Modified - Preserved the /user/settings left-menu scroll position across settings-page navigation
release-nightly / nightly-binary (push) Has been cancelled
release-nightly / nightly-container (push) Has been cancelled
+ Fix - some new correction Romanian wording and grammar in `locale_ro-RO.json`.
2026-05-08 09:08:33 +00:00
petru 90735ea826 Modified - Added a persistent navigation-bar preference in /user/settings/appearance.
release-nightly / nightly-binary (push) Has been cancelled
release-nightly / nightly-container (push) Has been cancelled
2026-05-08 00:33:34 +00:00
petru 351d6b0811 Modified - Added the persistent sticky side-menu preference and the finalized sidebar behavior for /user/settings and /-/admin.
release-nightly / nightly-binary (push) Has been cancelled
release-nightly / nightly-container (push) Has been cancelled
2026-05-07 23:57:58 +00:00
petru 61a9e4bd06 Modified - Moved the persistent footer outside the page scroll area
release-nightly / nightly-binary (push) Has been cancelled
release-nightly / nightly-container (push) Has been cancelled
+ some new correction Romanian wording and grammar in `locale_ro-RO.json`.
2026-05-07 09:45:13 +00:00
petru b3a7692ce9 Modified - Reverted the global fixed-footer behavior and replaced it with a persistent per-user footer preference in /user/settings/appearance.
release-nightly / nightly-binary (push) Has been cancelled
release-nightly / nightly-container (push) Has been cancelled
2026-05-07 01:14:36 +00:00
petru 146013827c Fixed - Corrected the admin-created account password-setup email link to use the public recovery route
release-nightly / nightly-binary (push) Has been cancelled
release-nightly / nightly-container (push) Has been cancelled
+ some new correction Romanian wording and grammar in `locale_ro-RO.json`.
2026-05-06 23:36:08 +00:00
petru 85620a4f29 Modified - Personalized the admin-created account notification email with the creator name and a direct set-password link.
release-nightly / nightly-binary (push) Has been cancelled
release-nightly / nightly-container (push) Has been cancelled
2026-05-06 22:18:19 +00:00
petru 70ef46362e Fixed - Made admin-created user notification and invitation emails use the current page locale
release-nightly / nightly-binary (push) Has been cancelled
release-nightly / nightly-container (push) Has been cancelled
+ ome new correction Romanian wording and grammar in `locale_ro-RO.json`.
2026-05-06 22:02:22 +00:00
petru fc43980a5c Fixed - Prevented the new-organization modal from inheriting unrelated global success flashes from the underlying page.
release-nightly / nightly-binary (push) Has been cancelled
release-nightly / nightly-container (push) Has been cancelled
+ Some new correction Romanian wording and grammar in `locale_ro-RO.json`.
2026-05-06 20:59:20 +00:00
petru f00f80bae7 Modified - Some new correction Romanian wording and grammar in locale_ro-RO.json. 2026-05-06 15:50:59 +00:00
petru c80f065a09 Modified - Somes correction Romanian wording and grammar in locale_ro-RO.json
release-nightly / nightly-binary (push) Has been cancelled
release-nightly / nightly-container (push) Has been cancelled
2026-05-06 15:05:41 +00:00
petru cc36930cdd Modified - Another visual polish of Romanian translation for locale_ro-RO.json.
release-nightly / nightly-binary (push) Has been cancelled
release-nightly / nightly-container (push) Has been cancelled
2026-05-06 00:31:03 +00:00
petru cb765b81a7 Modified - Visual polish of Romanian translation for locale_ro-RO.json.
release-nightly / nightly-binary (push) Has been cancelled
release-nightly / nightly-container (push) Has been cancelled
2026-05-05 23:33:12 +00:00
petru 144bc4796f Modified - Added a first complete Romanian translation pass for locale_ro-RO.json.
release-nightly / nightly-binary (push) Has been cancelled
release-nightly / nightly-container (push) Has been cancelled
2026-05-02 15:07:15 +00:00
petru 414c77278b Modified - Added official bootstrap support for the Romanian locale.
release-nightly / nightly-binary (push) Has been cancelled
release-nightly / nightly-container (push) Has been cancelled
2026-05-02 13:59:49 +00:00