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.
## TLDR * Fix the broken page / broken image problem when click "Install" * Close #20089 * Fix the Password Hash Algorithm display problem for #22942 * Close #23183 * Close #23184 ## Details ### The broken page / broken image problem when click "Install" (Redirect failed after install gitea #23184) Before: when click "install", all new requests will fail, because the server has been restarted. Users just see a broken page with broken images, sometimes the server is not ready but the user would have been redirect to "/user/login" page, then the users see a new broken page (connection refused or something wrong ...) After: only check InstallLock=true for necessary handlers, and sleep for a while before restarting the server, then the browser has enough time to load the "post-install" page. And there is a script to check whether "/user/login" is ready, the user will only be redirected to the login page when the server is ready. ### During new instance setup make 'Gitea Base URL' filled from window.location.origin #20089 If the "app_url" input contains `localhost` (the default value from config), use current window's location href as the `app_url` (aka ROOT_URL) ### Fix the Password Hash Algorithm display problem for "Provide the ability to set password hash algorithm parameters #22942" Before: the UI shows `pbkdf2$50000$50` <details> ![image](https://user-images.githubusercontent.com/2114189/221917143-e1e54798-1698-4fee-a18d-00c48081fc39.png) </details> After: the UI shows `pbkdf2` <details> ![image](https://user-images.githubusercontent.com/2114189/221916999-97a15be8-2ebb-4a01-bf93-dac18e354fcc.png) </details> ### GET data: net::ERR_INVALID_URL #23183 Cause by empty `data:` in `<link rel="manifest" href="data:{{.ManifestData}}">` --------- Co-authored-by: Jason Song <i@wolfogre.com> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: techknowlogick <techknowlogick@gitea.io> |
1 year ago | |
---|---|---|
.. | ||
admin | 1 year ago | |
comp | 1 year ago | |
aria.js | 1 year ago | |
aria.md | 1 year ago | |
captcha.js | 2 years ago | |
citation.js | 1 year ago | |
clipboard.js | 2 years ago | |
codeeditor.js | 2 years ago | |
colorpicker.js | 2 years ago | |
common-global.js | 1 year ago | |
common-issue.js | 1 year ago | |
common-organization.js | 1 year ago | |
contextpopup.js | 2 years ago | |
copycontent.js | 2 years ago | |
dropzone.js | 2 years ago | |
emoji.js | 2 years ago | |
eventsource.sharedworker.js | 2 years ago | |
file-fold.js | 2 years ago | |
formatting.js | 2 years ago | |
heatmap.js | 2 years ago | |
imagediff.js | 1 year ago | |
install.js | 1 year ago | |
notification.js | 1 year ago | |
org-team.js | 1 year ago | |
pull-view-file.js | 2 years ago | |
repo-branch.js | 3 years ago | |
repo-code.js | 2 years ago | |
repo-code.test.js | 2 years ago | |
repo-commit.js | 1 year ago | |
repo-common.js | 1 year ago | |
repo-diff-filetree.js | 2 years ago | |
repo-diff.js | 1 year ago | |
repo-editor.js | 1 year ago | |
repo-findfile.js | 1 year ago | |
repo-findfile.test.js | 2 years ago | |
repo-graph.js | 1 year ago | |
repo-home.js | 1 year ago | |
repo-issue-content.js | 1 year ago | |
repo-issue-pr-form.js | 2 years ago | |
repo-issue.js | 1 year ago | |
repo-legacy.js | 1 year ago | |
repo-migrate.js | 1 year ago | |
repo-migration.js | 1 year ago | |
repo-projects.js | 1 year ago | |
repo-release.js | 1 year ago | |
repo-settings.js | 2 years ago | |
repo-template.js | 1 year ago | |
repo-unicode-escape.js | 1 year ago | |
repo-wiki.js | 2 years ago | |
serviceworker.js | 2 years ago | |
sshkey-helper.js | 3 years ago | |
stopwatch.js | 1 year ago | |
tablesort.js | 2 years ago | |
tribute.js | 2 years ago | |
user-auth-webauthn.js | 1 year ago | |
user-auth.js | 1 year ago | |
user-settings.js | 1 year ago |