Commit Graph

59 Commits

Author SHA1 Message Date
Alex Gleason 6194cb8d1c
Fix circular import between statuses/compose actions 2024-10-19 18:23:13 -05:00
Alex Gleason 3cbf8dac00
Remove "admin user index" reducer (and related actions) 2024-10-19 13:32:39 -05:00
Alex Gleason c0f8c9d5e7
Add useAdminAccount hook, refactor admin accounts in dashboard, refactor admin actions 2024-10-19 13:23:08 -05:00
Alex Gleason cf56918f66 Merge branch 'rm-accounts-reducer' into 'main'
Remove accounts reducer

See merge request soapbox-pub/soapbox!3165
2024-10-19 16:41:01 +00:00
Alex Gleason c6f179b1be
Remove unused account reducer... 🤦 2024-10-19 11:31:42 -05:00
Alex Gleason 32006407a3
Remove Immutable from accounts reducer 2024-10-19 11:11:40 -05:00
P. Reis 4cda1e2866 feat: create pagination with Link Headers for trending statuses 2024-10-18 19:32:56 -03:00
Alex Gleason 59b3df9641
Rewrite push registerer 2024-10-15 15:59:53 -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 ba4ab3d39a
Make useInstance hook call V2 instance, fallback to V1 instance upgraded 2024-10-11 03:39:58 -05:00
Alex Gleason 070f910b27
Remove redux-immutable 2024-10-08 22:49:56 -05:00
Alex Gleason 8ee719866b
Remove unused / unneeded dependencies 2024-09-26 11:52:52 -05:00
P. Reis bcbfed9faf feat(reducers-user-lists): handle case ZAPS_EXPAND_SUCCESS 2024-06-23 18:39:33 -03:00
P. Reis 5a60df0a8a fix(ZapListRecord): use ImmutableList in the items property 2024-06-18 15:04:20 -03:00
P. Reis e4dbe2a8c6 fix(ZapRecord): change zap_comment to 'comment' and zap_amount to 'amount' 2024-06-13 14:40:02 -03:00
P. Reis dbcef52463 feat(reducers): create ZapRecord in userLists()
- create ZapListRecord
- create Zap & ZapList types
- add zapped_by in NestedListPath
- handle ZAPS_FETCH_SUCCESS action
2024-06-12 23:19:48 -03:00
Alex Gleason 0e846784df
Rework admin approve/reject actions 2024-06-09 13:40:08 -05:00
Alex Gleason fd13ff70e3
Nostr OAuth actions 2024-05-29 15:46:25 -05:00
Mary Kate Fain a2a73dedbc reset to statuses 2024-05-22 11:52:24 -05:00
Mary Kate Fain 6ca49e8322 reorder tabs 2024-05-22 11:50:02 -05:00
marcin mikołajczak fa34fa3652 Merge branch 'announcements' into 'main'
Use react-query and zod for announcements

See merge request soapbox-pub/soapbox!2990
2024-04-15 20:39:35 +00:00
marcin mikołajczak 7a8b473406 Fix instance persistence in indexeddb
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-04-10 00:03:18 +02:00
marcin mikołajczak 10db5c264d Merge remote-tracking branch 'origin/main' into announcements
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-04-09 23:41:53 +02:00
marcin mikołajczak 161db37ba0 Use react-query and zod for announcements
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-04-09 23:38:09 +02:00
marcin mikołajczak b36b636493 Merge remote-tracking branch 'origin/main' into dashboard
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-04-07 10:02:10 +02:00
marcin mikołajczak 771c9643dc Switch admin log to react-query
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-04-07 09:52:54 +02:00
marcin mikołajczak f69d1d95e4 Support Mastodon rule hints
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-04-06 09:36:18 +02:00
marcin mikołajczak 3a27967846 Add ability to reorder uploaded media before posting in web UI
Based on Gargron's changes in Mastodon: https://github.com/mastodon/mastodon/pull/28456

Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-04-05 14:00:15 +02:00
Alex Gleason c3ebb5c428
accounts_meta: switch to immer, use the results for useOwnAccount 2024-03-24 17:50:54 -05:00
marcin mikołajczak eceafedec4 Bookmark folders
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-03-22 14:53:25 +01:00
marcin mikołajczak 67235dcc54 Change design of Backups page a bit
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-03-07 19:49:39 +01:00
Alex Gleason d576b8ed47
Switch to isomorphic-dompurify 2024-02-08 15:01:20 -06:00
Alex Gleason c0325498c8
Merge remote-tracking branch 'origin/main' into dompurify 2024-02-08 14:57:35 -06:00
Alex Gleason d4490f4e80
Fix optimistic zapping 2024-01-22 16:12:30 -06:00
Alex Gleason 4aa6fdb4dd
Add DOMPurify 2024-01-17 12:21:19 -06:00
Alex Gleason d20d08bc8f
Optimistic zap 2024-01-15 18:56:18 -06:00
Alex Gleason 1e9b209f06
Differentiate instance V1 and V2
Fixes https://gitlab.com/soapbox-pub/soapbox/-/issues/1635
2024-01-12 18:10:49 -06:00
marcin mikołajczak b2faa1406b Fix some typos
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-01-11 14:53:06 +01:00
marcin mikołajczak 231a68fb63 Merge remote-tracking branch 'origin/main' into instance-v2
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-01-05 00:41:06 +01:00
Alex Gleason 04e68ebc94
Timeline: always insert new status IDs at the end 2023-11-14 17:57:08 -06:00
marcin mikołajczak 1d3424e648 Display emoji reactions on glitch-soc and Iceshrimp
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-10-29 23:00:48 +01:00
marcin mikołajczak 4a6a76ddd9 Use preprocess for instance v1 to v2 conversion, add test for instance schema
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-10-28 20:51:55 +02:00
marcin mikołajczak 7c752f088c instance v1 to v2 convesion
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-10-27 23:48:54 +02:00
Alex Gleason 626b377371
Fix type in compose.test.ts 2023-10-12 20:09:58 -05:00
marcin mikołajczak dc0b68f995 Reducers: Preserve translation if an existing status already has it 2023-10-09 19:49:45 +00:00
Alex Gleason 34131cdfcc
Convert all tests to ESM 2023-10-08 22:31:36 -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 cdda5363f6
actions: useEmoji --> chooseEmoji 2023-09-25 16:20:47 -05:00