mirror of https://github.com/go-gitea/gitea.git
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.
b2359f3df6
## 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> |
2 years ago | |
---|---|---|
.. | ||
actions | 2 years ago | |
activitypub | 2 years ago | |
analyze | 2 years ago | |
auth | 2 years ago | |
avatar | 2 years ago | |
base | 2 years ago | |
cache | 2 years ago | |
charset | 2 years ago | |
container | 2 years ago | |
context | 2 years ago | |
csv | 2 years ago | |
doctor | 2 years ago | |
emoji | 2 years ago | |
eventsource | 2 years ago | |
generate | 2 years ago | |
git | 2 years ago | |
gitgraph | 2 years ago | |
graceful | 2 years ago | |
hcaptcha | 2 years ago | |
highlight | 2 years ago | |
hostmatcher | 2 years ago | |
html | 2 years ago | |
httpcache | 2 years ago | |
httplib | 2 years ago | |
indexer | 2 years ago | |
issue/template | 2 years ago | |
json | 2 years ago | |
label | 2 years ago | |
lfs | 2 years ago | |
log | 2 years ago | |
markup | 2 years ago | |
mcaptcha | 2 years ago | |
metrics | 2 years ago | |
migration | 2 years ago | |
mirror | 2 years ago | |
nosql | 2 years ago | |
notification | 2 years ago | |
options | 2 years ago | |
packages | 2 years ago | |
paginator | 2 years ago | |
pprof | 2 years ago | |
private | 2 years ago | |
process | 2 years ago | |
proxy | 2 years ago | |
proxyprotocol | 2 years ago | |
public | 2 years ago | |
queue | 2 years ago | |
recaptcha | 2 years ago | |
references | 2 years ago | |
regexplru | 2 years ago | |
repository | 2 years ago | |
secret | 2 years ago | |
session | 2 years ago | |
setting | 2 years ago | |
sitemap | 2 years ago | |
ssh | 2 years ago | |
storage | 2 years ago | |
structs | 2 years ago | |
svg | 2 years ago | |
sync | 2 years ago | |
system | 2 years ago | |
templates | 2 years ago | |
test | 2 years ago | |
timeutil | 2 years ago | |
translation | 2 years ago | |
turnstile | 2 years ago | |
typesniffer | 2 years ago | |
updatechecker | 2 years ago | |
upload | 2 years ago | |
uri | 2 years ago | |
user | 2 years ago | |
util | 2 years ago | |
validation | 2 years ago | |
watcher | 2 years ago | |
web | 2 years ago | |
webhook | 2 years ago |