Commit 2370081
authored
client: Fix login redirect loop. (#3571)
* client: Show link instead for disabled DEX.
When a DEX account is disabled, the trade page now shows the DEX
disabled message with a link to the settings page instead of the
generic "Connection to server failed / Waiting to reconnect" overlay.
* client: Skip token wallets with disabled parent.
Token wallets (e.g. usdc.eth, polygon.eth) were not themselves marked
disabled when only their parent chain wallet was disabled, causing
error log spam on startup when the parent connection was refused.
* client: Skip wallet lock when mixing.
Avoids error log during shutdown.
* client: Fix login redirect loop.
When loadPage fetches a page but receives the login page instead
(due to a server-side auth redirect), fall back to a full browser
navigation rather than silently inserting the login page HTML. The
browser's navigation handles cookie state more reliably than fetch.
* server/db: Fix v8 upgrade for token market names.
The v8 DB upgrade used raw market names from the DB (e.g. dcr_usdt.eth)
which contain dots from token symbols. The actual PostgreSQL schema
names replace dots with TKN via marketSchema(). Apply that conversion
before constructing the table name for the ALTER TABLE statement.
* client: Hide disabled networks from address form.
Disabled wallets were shown in the network selector when requesting
a receive address, leading to a broken address screen. Filter them
out so only enabled wallets are selectable.
* docs: Update release notes.
Correct the server upgrade guidance: all in-flight swaps from v1.0.x
are revoked on upgrade due to the per-match address requirement, so
operators must wait for active swaps to complete. The previous advice
about evm-protocol-overrides.json is insufficient on its own.
Add known issues section noting that Electrum wallets are temporarily
disabled due to inconsistencies found during testing, with a fix
expected in a patch release.
* client: Fix DCR explorer links returning 403.
The dcrdata /tx/{txid}/out/{vout} path now returns 403. Link to the
transaction page instead, consistent with other UTXO assets.
* client: Fix multi-line locale keys in forms.
Three locale keys were split across lines in the template, preventing
the [[[...]]] replacement from matching: "pick a different asset",
"Authorize Import", and "Wallet Balances".
* dcr: Include mixed account funds in balance.
When mixing is disabled but the mixed or trading accounts exist from a
previous mixing session, their balances were invisible. Now those funds
are reported as locked so the user can see they still exist. Ticket
values in those accounts are also included in the staked category.1 parent 8babd1b commit 2370081
File tree
11 files changed
+113
-46
lines changed- client
- asset/dcr
- core
- webserver
- locales
- site/src
- html
- js
- docs/release-notes
- server/db/driver/pg
11 files changed
+113
-46
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1243 | 1243 | | |
1244 | 1244 | | |
1245 | 1245 | | |
| 1246 | + | |
| 1247 | + | |
| 1248 | + | |
| 1249 | + | |
| 1250 | + | |
| 1251 | + | |
| 1252 | + | |
| 1253 | + | |
| 1254 | + | |
| 1255 | + | |
| 1256 | + | |
| 1257 | + | |
| 1258 | + | |
| 1259 | + | |
| 1260 | + | |
| 1261 | + | |
| 1262 | + | |
| 1263 | + | |
| 1264 | + | |
1246 | 1265 | | |
1247 | 1266 | | |
1248 | 1267 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1998 | 1998 | | |
1999 | 1999 | | |
2000 | 2000 | | |
| 2001 | + | |
| 2002 | + | |
| 2003 | + | |
| 2004 | + | |
| 2005 | + | |
| 2006 | + | |
| 2007 | + | |
2001 | 2008 | | |
2002 | 2009 | | |
2003 | 2010 | | |
| |||
4951 | 4958 | | |
4952 | 4959 | | |
4953 | 4960 | | |
| 4961 | + | |
| 4962 | + | |
| 4963 | + | |
| 4964 | + | |
| 4965 | + | |
| 4966 | + | |
4954 | 4967 | | |
4955 | 4968 | | |
4956 | 4969 | | |
| |||
5163 | 5176 | | |
5164 | 5177 | | |
5165 | 5178 | | |
| 5179 | + | |
| 5180 | + | |
| 5181 | + | |
| 5182 | + | |
| 5183 | + | |
| 5184 | + | |
5166 | 5185 | | |
5167 | 5186 | | |
5168 | 5187 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
| 71 | + | |
71 | 72 | | |
72 | 73 | | |
73 | 74 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
482 | 482 | | |
483 | 483 | | |
484 | 484 | | |
485 | | - | |
486 | | - | |
| 485 | + | |
487 | 486 | | |
488 | 487 | | |
489 | 488 | | |
| |||
501 | 500 | | |
502 | 501 | | |
503 | 502 | | |
504 | | - | |
505 | | - | |
| 503 | + | |
506 | 504 | | |
507 | 505 | | |
508 | 506 | | |
| |||
1079 | 1077 | | |
1080 | 1078 | | |
1081 | 1079 | | |
1082 | | - | |
1083 | | - | |
| 1080 | + | |
1084 | 1081 | | |
1085 | 1082 | | |
1086 | 1083 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
102 | | - | |
103 | | - | |
104 | | - | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
105 | 112 | | |
106 | 113 | | |
107 | 114 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
336 | 336 | | |
337 | 337 | | |
338 | 338 | | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
339 | 344 | | |
340 | | - | |
341 | | - | |
| 345 | + | |
342 | 346 | | |
343 | 347 | | |
344 | 348 | | |
| |||
404 | 408 | | |
405 | 409 | | |
406 | 410 | | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
407 | 417 | | |
408 | 418 | | |
409 | 419 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
84 | 72 | | |
85 | 73 | | |
86 | 74 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1132 | 1132 | | |
1133 | 1133 | | |
1134 | 1134 | | |
1135 | | - | |
1136 | | - | |
1137 | | - | |
1138 | | - | |
| 1135 | + | |
| 1136 | + | |
| 1137 | + | |
| 1138 | + | |
| 1139 | + | |
| 1140 | + | |
| 1141 | + | |
| 1142 | + | |
| 1143 | + | |
| 1144 | + | |
| 1145 | + | |
1139 | 1146 | | |
1140 | 1147 | | |
1141 | 1148 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2375 | 2375 | | |
2376 | 2376 | | |
2377 | 2377 | | |
2378 | | - | |
| 2378 | + | |
| 2379 | + | |
| 2380 | + | |
| 2381 | + | |
| 2382 | + | |
| 2383 | + | |
| 2384 | + | |
| 2385 | + | |
| 2386 | + | |
| 2387 | + | |
| 2388 | + | |
| 2389 | + | |
2379 | 2390 | | |
2380 | 2391 | | |
2381 | 2392 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
27 | 27 | | |
28 | | - | |
29 | | - | |
30 | | - | |
| 28 | + | |
31 | 29 | | |
32 | | - | |
33 | | - | |
34 | | - | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
35 | 34 | | |
36 | | - | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
37 | 44 | | |
38 | 45 | | |
39 | 46 | | |
| |||
0 commit comments