Commit Graph

38 Commits

Author SHA1 Message Date
Alex Gleason 819711a4f1
Merge remote-tracking branch 'origin/main' into add-nip-05-nag-post 2024-10-14 11:38:50 -05:00
Alex Gleason 90577fb220 Merge branch 'auth' into 'main'
Start reworking auth

See merge request soapbox-pub/soapbox!3151
2024-10-13 03:14:36 +00:00
Alex Gleason d69d582a38
Add useAuth hook, fix soapboxAuthSchema 2024-10-12 19:17:09 -05:00
Alex Gleason 8e46164653
Remove custom retry from useInstance hooks (prefer the default) 2024-10-12 15:03:35 -05: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 82731e633d
Make instance stop aggressively refreshing, replace isStandalone with instance.isNotFound 2024-10-11 15:13:37 -05: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 c5c38ed79c
Merge remote-tracking branch 'origin/main' into instance-hooks 2024-10-11 01:49:35 -05: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 87ee06fd1f
Remove ky, create a custom fetch client 2024-10-10 22:15:21 -05:00
Alex Gleason 66075ee28a
Update useApi hook to use ky 2024-10-09 01:46:46 -05:00
Alex Gleason 5df511a784
Switch to ky 2024-10-08 21:38:58 -05:00
danidfra adc783761c Add export for useSettingsNotifications hook 2024-10-03 15:34:44 -03:00
Alex Gleason b98f39753d
Let nip05 notification be dismissed 2024-09-01 19:44:25 +02:00
Alex Gleason 78be563bdc
Condense feeds on mobile 2024-06-01 12:15:19 -05:00
Alex Gleason 181bf43bda
Remove useGroupsPath hook 2024-05-25 20:55:49 -05:00
Alex Gleason bd46f1230b
useNostrReq: deduplicate events with NSet 2024-03-27 15:19:00 -05:00
marcin mikołajczak 4871c30b8c Merge branch 'main' into 'black-mode'
# Conflicts:
#   src/features/bookmarks/index.tsx
2024-03-24 23:09:28 +00:00
marcin mikołajczak 067fc9e45d Black mode
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-03-24 17:38:34 +01:00
marcin mikołajczak eceafedec4 Bookmark folders
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-03-22 14:53:25 +01:00
Alex Gleason 603e2cc2ce
Merge remote-tracking branch 'origin/main' into ditto-auth 2024-02-16 15:57:45 -06:00
Alex Gleason 7934d43426
useSettings: useMemo 2024-02-13 23:24:07 -06:00
Alex Gleason ffdb744d16
Refactor useSettings hook, parse with zod schema 2024-02-13 23:20:18 -06:00
Alex Gleason 15af206a45
useAppSelector: export type 2024-02-12 17:57:28 -06:00
marcin mikołajczak 1b31a0558e Fix registration status
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-10-28 16:20:54 +02:00
marcin mikołajczak 59115c8dc5 Remove instance normalizer
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-10-27 17:48:21 +02:00
Alex Gleason 2cdfaf4871
Remove useSentry hook, reorganize in SoapboxHead 2023-10-12 19:52:28 -05:00
Alex Gleason 9036d8a9a0
Input: support RTL detection on all Inputs, remove from AutosuggestInput 2023-10-11 13:33:45 -05:00
Alex Gleason 73f407455e
Sentry: use DSN from SoapboxConfig 2023-10-05 16:33:59 -05:00
Alex Gleason 3f640e9797
Untuck tests out of __tests__ directories, colocate with program files 2023-10-02 14:27:40 -05:00
Alex Gleason 645ce60a5f
eslint: use semicolon TypeScript delimeter 2023-10-02 13:54:02 -05:00
Alex Gleason dcab2deda1
RegistrationPage: display "registrations closed" message in place of signup form when registrations are closed 2023-09-23 15:48:44 -05:00
Alex Gleason bea2020287
Remove Truth Social registration 2023-09-18 21:07:32 -05:00
Alex Gleason f9679d270b
Merge src/soapbox with top-level src directory 2023-09-18 16:08:54 -05:00