Commit Graph

92 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 e69839ed88 Modified - Enabled shared branding assets by default in the installer.
release-nightly / nightly-binary (push) Has been cancelled
release-nightly / nightly-container (push) Has been cancelled
- 1 - I updated `routers/install/install.go` so `BrandingUseSharedAssets` starts as enabled on the install form, making `Use the same logo files for favicon assets` checked by default.
2026-05-12 02:36:16 +00:00
petru b907e4c38c Added - 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 both on initial page load and after the AJAX import injects a new flash message.
release-nightly / nightly-binary (push) Has been cancelled
release-nightly / nightly-container (push) Has been cancelled
2026-05-12 02:25:00 +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 70479ea5a0 Added - Added the password visibility toggle to /user/settings/change_password.
release-nightly / nightly-binary (push) Has been cancelled
release-nightly / nightly-container (push) Has been cancelled
- 1 - I wrapped the forced-change password field in `templates/user/auth/change_passwd_inner.tmpl` with the shared `js-password-toggle-group`, reusing the existing eye-toggle logic and show/hide labels.
- 2 - I wired the confirm-password field into the existing toggle sync behavior so revealing the new password hides the confirm field and keeps it synchronized like the other password-update forms.
2026-05-12 01:06:36 +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 7dbc4726fa Added - Added the password visibility toggle and confirm-password behavior to /user/settings/account.
release-nightly / nightly-binary (push) Has been cancelled
release-nightly / nightly-container (push) Has been cancelled
2026-05-10 23:28:46 +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 fb34e858c1 Modified - Enabled install-page email notifications by default for fresh setups.
release-nightly / nightly-binary (push) Has been cancelled
release-nightly / nightly-container (push) Has been cancelled
2026-05-10 21:29:05 +00:00
petru a59bb9753f Added - Added the password visibility toggle to the SMTP password field on the install page.
release-nightly / nightly-binary (push) Has been cancelled
release-nightly / nightly-container (push) Has been cancelled
2026-05-10 21:13:27 +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 3b121911c1 Modified - Unified the persistent appearance toggles into a single settings group. 2026-05-10 04:49:07 +00:00
petru cbedf15d3b Modified - Finalized the manual-only password visibility toggle behavior for login and signup. 2026-05-10 03:41:03 +00:00
petru 75bc9606d5 Added - Added pilot partial navigation for the repository Actions sidebar. 2026-05-09 22:01:46 +00:00
petru 0f3876c0b1 Modified - Applied the shared sticky side-menu behavior to repository Actions pages.
release-nightly / nightly-binary (push) Has been cancelled
release-nightly / nightly-container (push) Has been cancelled
2026-05-09 20:52:12 +00:00
petru 652d3c20da Modified - Applied the shared sticky side-menu behavior to repository settings pages.
release-nightly / nightly-binary (push) Has been cancelled
release-nightly / nightly-container (push) Has been cancelled
2026-05-09 19:52:43 +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 827a35ce09 Modified - Applied the shared sticky side-menu behavior to organization settings pages.
release-nightly / nightly-binary (push) Has been cancelled
release-nightly / nightly-container (push) Has been cancelled
2026-05-09 17:45:42 +00:00
petru 021f12509f Added - Added header-level Select all controls to the shared Actions maximum-permissions table.
release-nightly / nightly-binary (push) Has been cancelled
release-nightly / nightly-container (push) Has been cancelled
2026-05-09 17:30:08 +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 8a0d319607 Modified - Highlighted the active submenu entry with the standard active background color.
release-nightly / nightly-binary (push) Has been cancelled
release-nightly / nightly-container (push) Has been cancelled
2026-05-09 15:32:40 +00:00
petru 06b7bd3ca1 Modified - Finalized the sticky side-menu bottom-edge behavior by compacting menu items and increasing the viewport reserve.
release-nightly / nightly-binary (push) Has been cancelled
release-nightly / nightly-container (push) Has been cancelled
2026-05-09 15:10:16 +00:00
petru bb77e80bf5 Modified - Restored the pre-122 /user/settings layout baseline while keeping the current sticky-menu behavior.
release-nightly / nightly-binary (push) Has been cancelled
release-nightly / nightly-container (push) Has been cancelled
2026-05-09 11:02:31 +00:00
petru 71246d4ee1 Modified - Restored the agreed /user/settings sticky-menu item padding behavior.
release-nightly / nightly-binary (push) Has been cancelled
release-nightly / nightly-container (push) Has been cancelled
2026-05-08 20:43:57 +00:00
petru 3dd2ffc195 Modified - Preserved the /user/settings left-menu scroll position without the visible reset flicker during navigation.
release-nightly / nightly-binary (push) Has been cancelled
release-nightly / nightly-container (push) Has been cancelled
2026-05-08 20:22:45 +00:00
petru 5e31019b99 Modified - Made the Admin Settings menu header sticky while the admin left-menu options scroll.
release-nightly / nightly-binary (push) Has been cancelled
release-nightly / nightly-container (push) Has been cancelled
2026-05-08 17:04:44 +00:00
petru cfd1c9ddbb Modified - Made the footer Licenses and API links open in a new browser tab and finalized the sticky User Settings header plus its top green scroll indicator.
release-nightly / nightly-binary (push) Has been cancelled
release-nightly / nightly-container (push) Has been cancelled
2026-05-08 16:05:15 +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 10495b7cd1 Modified - Made the admin-created account notification link behave like an invitation by signing the user in through /user/activate
release-nightly / nightly-binary (push) Has been cancelled
release-nightly / nightly-container (push) Has been cancelled
+ Modified - Simplified the admin-created account notification email to show only the personalized activation link.
2026-05-07 00:15:26 +00:00
petru 2ecb570a7d Modified - Made the admin-created account notification link behave like an invitation by signing the user in through /user/activate.
release-nightly / nightly-binary (push) Has been cancelled
release-nightly / nightly-container (push) Has been cancelled
2026-05-07 00:01:12 +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 5f0f52d04f Modified - Reduced the resend button size on the invitation acceptance prompt.
release-nightly / nightly-binary (push) Has been cancelled
release-nightly / nightly-container (push) Has been cancelled
2026-05-06 18:55:23 +00:00
petru 7c7357f314 Modified - 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-06 15:51:02 +00:00
petru d1e10b41a5 Modified - Fix align new-user check-boxes help text.
release-nightly / nightly-binary (push) Has been cancelled
release-nightly / nightly-container (push) Has been cancelled
2026-05-06 15:19:57 +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 5338d5f7f6 Modified - Converted the organization creation page to a modal-style dialog and preserved the caller page for cancel.
release-nightly / nightly-binary (push) Has been cancelled
release-nightly / nightly-container (push) Has been cancelled
2026-05-06 14:56:11 +00:00
petru ba0da47957 Modified - Converted the organization creation page to a modal-style dialog and preserved the caller page for cancel.
release-nightly / nightly-binary (push) Has been cancelled
release-nightly / nightly-container (push) Has been cancelled
2026-05-06 01:50:23 +00:00
petru 75a9dbf7d7 Updated .codex-history.md
release-nightly / nightly-binary (push) Has been cancelled
release-nightly / nightly-container (push) Has been cancelled
2026-05-06 00:32:23 +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 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