Commit Graph

11226 Commits

Author SHA1 Message Date
Alex Gleason 967ad7d59c Merge branch 'query-retry' into 'main'
queryClient: retry certain 5xx codes automatically

See merge request soapbox-pub/soapbox!3150
2024-10-12 22:16:29 +00:00
Alex Gleason 8e46164653
Remove custom retry from useInstance hooks (prefer the default) 2024-10-12 15:03:35 -05:00
Alex Gleason b348f30eea
queryClient: retry certain 5xx codes automatically 2024-10-12 15:02:00 -05:00
Alex Gleason 5a0713a02e
HTTPError: also include the associated Request object 2024-10-12 14:55:34 -05:00
Alex Gleason 943c5fddee Merge branch 'instance-hooks' into 'main'
Refactor Instance fetching

See merge request soapbox-pub/soapbox!3148
2024-10-11 21:31:42 +00:00
Alex Gleason 5477a3a8c6
useInstance: don't go stale 2024-10-11 15:40:25 -05:00
Alex Gleason fdc03fe610
useApi: prefer BACKEND_URL, if provided 2024-10-11 15:34:46 -05:00
Alex Gleason 74f74d29fc
Refresh when logging out by default 2024-10-11 15:17:23 -05:00
Alex Gleason 82731e633d
Make instance stop aggressively refreshing, replace isStandalone with instance.isNotFound 2024-10-11 15:13:37 -05:00
Alex Gleason c2260abc97 Merge branch 'captcha-modal' into 'main'
Fix problem with captcha

See merge request soapbox-pub/soapbox!3149
2024-10-11 16:16:34 +00:00
danidfra 4ffad405c7 Test preventDefault 2024-10-11 13:02:26 -03:00
Alex Gleason 9d1ee47166
Use the instance hook to fetch in SoapboxLoad, also store the data in Redux as a temporary workaround 2024-10-11 04:26:27 -05:00
Alex Gleason 0396cb1aef
Fix useApi auth URL 2024-10-11 03:44:32 -05:00
Alex Gleason ba4ab3d39a
Make useInstance hook call V2 instance, fallback to V1 instance upgraded 2024-10-11 03:39:58 -05:00
Alex Gleason 5966f9efae
Add nostr and pleroma to v2 instance 2024-10-11 02:55:13 -05:00
Alex Gleason 0f7a43c51b
Upgrade v1 instance to v2 instance 2024-10-11 02:50:13 -05:00
Alex Gleason 22747e838e
Add a dedicated InstanceV2 schema 2024-10-11 02:29:28 -05:00
Alex Gleason c5c38ed79c
Merge remote-tracking branch 'origin/main' into instance-hooks 2024-10-11 01:49:35 -05:00
Alex Gleason 008dbb35d1 Merge branch 'instance-hook-obj' into 'main'
Make useInstance return an object containing the instance

See merge request soapbox-pub/soapbox!3147
2024-10-11 06:42:43 +00:00
Alex Gleason 445649ec1c
Make useInstance return an object containing the instance 2024-10-11 01:28:57 -05:00
Alex Gleason 158392c627
Add instance fetching hooks 2024-10-11 01:13:27 -05:00
Alex Gleason c3655d085c Merge branch 'mastodon-client' into 'main'
Use a custom API client for fetching data

See merge request soapbox-pub/soapbox!3146
2024-10-11 03:47:12 +00:00
Alex Gleason 87ee06fd1f
Remove ky, create a custom fetch client 2024-10-10 22:15:21 -05:00
Alex Gleason 82b6ff1743
Merge remote-tracking branch 'origin/main' into ky 2024-10-10 19:09:17 -05:00
Alex Gleason 708c346878 Merge branch 'upgrade-sentry' into 'main'
Upgrade Sentry to v8.34

See merge request soapbox-pub/soapbox!3145
2024-10-10 23:35:53 +00:00
Alex Gleason e800550866
Upgrade Sentry to v8.34 2024-10-10 18:18:35 -05:00
Alex Gleason d989e1ebbd Merge branch 'captcha-modal' into 'main'
Captcha modal

Closes #1748

See merge request soapbox-pub/soapbox!3144
2024-10-10 22:17:16 +00:00
danidfra 0d58e68911 Last changes 2024-10-10 17:50:01 -03:00
danidfra 130d4b149b Add useEffect on showCaptcha 2024-10-10 17:46:38 -03:00
danidfra bf16faccf0 Update the captcha modal to not close on outside clicks 2024-10-10 17:40:54 -03:00
danidfra ea19016ca3 Merged captcha and captcha-modal 2024-10-10 17:36:10 -03:00
danidfra 3f6d589e93 Using captcha_solved 2024-10-10 17:28:56 -03:00
danidfra 162b0042ed Update account schema 2024-10-10 17:26:15 -03:00
danidfra 41dde9448f Refactoring and improving the onboarding trigger 2024-10-10 14:27:21 -03:00
danidfra e040c9f981 Refactoring the puzzle and organizing files 2024-10-10 14:21:17 -03:00
danidfra 2aa21874f7 Merge branch 'main' into captcha-modal 2024-10-09 20:09:19 -03:00
danidfra 96d2070ae9 Created Captcha 2024-10-09 20:04:38 -03:00
danidfra e787da4e02 Implement Captcha 2024-10-09 20:04:18 -03:00
danidfra 3076a711d1 Add new messages 2024-10-09 20:03:53 -03:00
danidfra e003ce9727 Created captcha schema 2024-10-09 20:03:42 -03:00
Alex Gleason 66075ee28a
Update useApi hook to use ky 2024-10-09 01:46:46 -05:00
Alex Gleason 8a5a520766
Merge remote-tracking branch 'origin/main' into ky 2024-10-09 00:07:04 -05:00
Alex Gleason c227ca48ac Merge branch 'rm-react-immutable-pure-component' into 'main'
Remove react-immutable-pure-component

See merge request soapbox-pub/soapbox!3143
2024-10-09 04:27:27 +00:00
Alex Gleason ca078c5416
Remove react-immutable-pure-component 2024-10-08 23:15:28 -05:00
Alex Gleason 63b300725f Merge branch 'rm-redux-immutable' into 'main'
Remove redux-immutable

See merge request soapbox-pub/soapbox!3142
2024-10-09 04:03:40 +00:00
Alex Gleason 070f910b27
Remove redux-immutable 2024-10-08 22:49:56 -05:00
Alex Gleason 5df511a784
Switch to ky 2024-10-08 21:38:58 -05:00
Alex Gleason f3b607e609 Merge branch 'translation-fixes' into 'main'
Translation fixes

See merge request soapbox-pub/soapbox!3140
2024-10-08 15:59:33 +00:00
Alex Gleason 8690307076
Send the `lang` param to translate statuses 2024-10-08 10:41:17 -05:00
Alex Gleason 4ffa67c9c1
Refactor supportsInstanceV2 to use features directly 2024-10-08 10:24:34 -05:00