Commit graph

214 commits

Author SHA1 Message Date
5fec879148 Fix mutes test, prefer TypeScript for tests
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-12 16:30:48 +02:00
f29d8a11c4 fix instance test
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-10 20:49:36 +02:00
708c3a9e64 TypeScript: actions
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-10 19:56:22 +02:00
a66c174c2d Add normalizers, fix tests
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-08 23:43:27 +02:00
65dff4e6a1 Reducers: TypeScript
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-05 15:05:44 +02:00
Justin
517c21ae52 Add grouped notifications messaging 2022-05-24 17:11:47 -04:00
marcin mikołajczak
7c3d0c821b Merge branch 'mastodon-admin-api' into 'develop'
Mastodon admin API

See merge request soapbox-pub/soapbox-fe!1387
2022-05-21 18:23:45 +00:00
Justin
54ef361bcc Allow waitlisted users to verify their SMS 2022-05-18 14:11:18 -04:00
Justin
7571af38cb Force authentication to see public content 2022-05-16 17:33:45 -04:00
88b91bce3e Mastodon admin API
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-05-16 17:40:47 +02:00
Justin
c879f82b48 Remove beta page 2022-05-10 15:50:35 -04:00
Alex Gleason
4d5f1d236d
gradient-purple, gradient-blue --> gradient-start, gradient-end 2022-05-07 15:23:43 -05:00
Alex Gleason
02616fc312
Tweak gradient colors 2022-05-07 15:02:00 -05:00
Alex Gleason
4d79c1b3fe
Simplify gradient colors
Remove bg-color-1, bg-color-2, prefer values from gradient-blue and gradient-purple
2022-05-07 14:54:37 -05:00
Alex Gleason
f3e95bba51
SoapboxConfig: convert home footer links into Streamfield 2022-05-05 16:18:43 -05:00
Alex Gleason
748d1f6c21
SitePreview: convert to tsx 2022-05-05 13:23:25 -05:00
marcin mikołajczak
8f09fcab2e Merge branch 'edit-posts' into 'develop'
Allow editing posts on Mastodon

See merge request soapbox-pub/soapbox-fe!1271
2022-05-04 18:57:34 +00:00
Justin
12d45ced84 Support dark-mode logo 2022-05-04 10:14:59 -04:00
236a76e4ef Show poll and attachments in edit history
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-05-03 21:38:38 +02:00
f6f8ef99d9 Merge remote-tracking branch 'soapbox/develop' into edit-posts
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-05-03 21:29:38 +02:00
Alex Gleason
2e5cc2619d
ProfileHoverCard: convert to tsx 2022-05-01 13:11:20 -05:00
Alex Gleason
858740ad47
EditProfile: convert to React.FC+TSX (mostly) 2022-04-29 14:22:29 -05:00
Alex Gleason
e6a797d712
normalizeAccount(): normalize discoverable field 2022-04-29 12:59:13 -05:00
387ebfc56c Allow editing posts on Mastodon
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-28 16:26:47 +02:00
Alex Gleason
aa29b260a8
ui/index: convert to TSX+FC 2022-04-26 13:36:08 -05:00
Alex Gleason
73f086c680
Add "Donor" badge 2022-04-24 17:27:08 -05:00
Alex Gleason
3f9cc3cd04
Restore Patron features, context to TSX 2022-04-24 17:01:57 -05:00
Alex Gleason
9d03b8ab93 Merge branch 'next-public-layout' into 'next'
Next: improve public pages, feature detection, etc

See merge request soapbox-pub/soapbox-fe!1243
2022-04-20 13:19:35 +00:00
Alex Gleason
be778ce533
Restore PromoPanel 2022-04-19 21:42:03 -05:00
Alex Gleason
45018a6fb0
Refactor ErrorBoundary, let it destroy the ServiceWorker 2022-04-19 16:30:10 -05:00
Alex Gleason
f577f6fcbe
Account: normalize favicon and domain, clean up account.tsx 2022-04-19 12:28:47 -05:00
Alex Gleason
69e22a4144
Notification: restore most notification types 2022-04-16 14:15:37 -05:00
Alex Gleason
5d2e10b2fa
Merge remote-tracking branch 'origin/next' into next-notifications 2022-04-16 13:44:21 -05:00
Alex Gleason
722c96bec2
Notification: convert to TSX 2022-04-16 13:43:55 -05:00
Alex Gleason
9d4b084764
Card: improve normalization of Pleroma OG fields 2022-04-16 12:57:17 -05:00
Alex Gleason
53a54bcc96
Convert Status Card to TSX+FC, trim obscenely long titles 2022-04-16 12:48:05 -05:00
Justin
7e42679478
Add meta tag for iOS banner 2022-04-14 13:24:47 -05:00
50797119ff typescript
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-13 16:07:50 +02:00
b5ae9adf63 Chats: typescript
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-12 18:52:56 +02:00
Alex Gleason
41d49e0fe7
Add preliminary Pixelfed support 2022-04-10 18:21:52 -05:00
Alex Gleason
1e3c6d9430
Remove staff util functions, normalize account staff fields 2022-04-01 19:39:32 -05:00
Alex Gleason
dddba516fb
Convert selectors/index to Typescript 2022-03-31 17:00:31 -05:00
Alex Gleason
c077a4ea58
Improve status.card normalization (it will never be a string) 2022-03-31 14:28:09 -05:00
Alex Gleason
c4dd3c65f9
Convert components/status to Typescript 2022-03-31 14:13:43 -05:00
Alex Gleason
548ecef20f
LinkFooter: convert to TSX 2022-03-30 15:50:16 -05:00
Alex Gleason
531f6f3993
Improve bg-shape-1 color normalization 2022-03-30 12:13:23 -05:00
Alex Gleason
c62cd9898a
Fix background shapes for dark mode 2022-03-30 12:08:32 -05:00
Alex Gleason
3e9e0486ba
Preserve TruthSocial "external_video_id" in attachments 2022-03-30 10:55:32 -05:00
Alex Gleason
c8bb99af60
Improve color normalization 2022-03-28 18:00:04 -05:00
Alex Gleason
4e5422ec61
SoapboxConfig: normalize cryptoAddresses 2022-03-28 15:29:39 -05:00
Alex Gleason
483b28988f
Normalize SoapboxConfig 2022-03-28 14:58:50 -05:00
Alex Gleason
05f5045648
Convert utils/features.ts to TypeScript 2022-03-26 14:23:29 -05:00
Alex Gleason
24a78f7740
Merge remote-tracking branch 'origin/develop' into next 2022-03-26 11:15:06 -05:00
Alex Gleason
f7425d80eb
Add test for search_index with mentions 2022-03-26 10:45:45 -05:00
ea57d1c4a7 Fix filtering, allow filtering by mentioned usernames
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-03-26 10:57:48 +01:00
Alex Gleason
2940a3ff4d
Put Typescript in "strict" mode, fix or ignore errors 2022-03-24 14:27:27 -05:00
Alex Gleason
9d79b60134
Typescript: reducers/statuses.ts 2022-03-19 14:41:16 -05:00
Alex Gleason
b71a592f95
Typescript: reducers/accounts.ts 2022-03-19 14:22:52 -05:00
Alex Gleason
da07c9355a
Account: normalize fqn 2022-03-17 15:52:57 -05:00
Alex Gleason
19e8751178
Change default avatar, add default header 2022-03-17 15:21:55 -05:00
Alex Gleason
7c6c373eb2
Support account website field 2022-03-17 14:49:42 -05:00
Alex Gleason
58466ce79c
Normalize Mastodon RC version 2022-03-16 22:41:25 -05:00
Alex Gleason
b0623597ea
Fix comment 2022-03-16 21:58:30 -05:00
Alex Gleason
8167b72762
Call fromJS in all normalizers 2022-03-16 21:47:58 -05:00
Alex Gleason
6b8e79d898
Export Record entities 2022-03-16 21:15:38 -05:00
40b5761460 Normalize Pleroma account location
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-03-14 22:55:55 +01:00
Alex Gleason
28ecb9d912
Normalize Card entity 2022-03-12 15:54:28 -06:00
Alex Gleason
5c8e8d9f99
Break Attachment normalizer into its own module 2022-03-12 15:33:53 -06:00
Alex Gleason
6812e7bfd4
Move Poll normalizer into its own module 2022-03-12 15:22:18 -06:00
Alex Gleason
08f219ab64
Break Mention normalizer into its own module (with tests) 2022-03-12 15:12:16 -06:00
Alex Gleason
b100068b95
Normalizers: add jsdoc heading 2022-03-12 15:01:00 -06:00
Alex Gleason
66e51fa5ef
Status normalizer: revert update() refactor 2022-03-12 14:29:02 -06:00
Alex Gleason
b46f31e9f4
Account normalizer emojification tests 2022-03-12 14:19:34 -06:00
Alex Gleason
049d726ff5
Merge remote-tracking branch 'origin/develop' into normal-account-refactor 2022-03-11 21:22:19 -06:00
Alex Gleason
6fa973aec0
Remove importer/normalizer.js 2022-03-11 21:22:11 -06:00
Alex Gleason
2cd6499454
Attachment: add missing internal fields 2022-03-11 21:05:42 -06:00
Alex Gleason
4c2cdc4ac2
StatusRecord: let account be null by default 2022-03-11 12:15:49 -06:00
Alex Gleason
d48a9586e5
Convert Instance normalizer into TypeScript 2022-03-11 12:14:32 -06:00
Alex Gleason
37827c34d9
Create Notification normalizer 2022-03-11 12:13:36 -06:00
Alex Gleason
ecaf726a19
Rename map --> entity 2022-03-10 20:40:04 -06:00
Alex Gleason
75db92719d
Normalize poll emoji 2022-03-10 19:55:14 -06:00
Alex Gleason
f91344366d
Instance normalizer: remove unneeded line 2022-03-10 18:08:41 -06:00
Alex Gleason
8decaa2d9f
Parse Mentions as Immutable.Record 2022-03-10 17:57:12 -06:00
Alex Gleason
9afd43a42d
Normalize Attachment entities as Immutable.Record 2022-03-10 17:15:09 -06:00
Alex Gleason
4bd1531056
More poll normalization fixes 2022-03-10 16:25:11 -06:00
Alex Gleason
2dcd05651e
Improve Poll normalization, store as Immutable.Record 2022-03-10 15:32:01 -06:00
Alex Gleason
f75c0738a7
Instance normalizer: add default stats, remove default media_attachments 2022-03-09 16:02:50 -06:00
Alex Gleason
9537c87909
Record --> ImmutableRecord 2022-03-09 16:00:43 -06:00
Alex Gleason
a2adaf2ffd
Convert Status Normalizer to TypeScript 2022-03-09 14:26:57 -06:00
Alex Gleason
6e61cb525c
Move Account interface to types/ directory 2022-03-09 13:26:48 -06:00
Alex Gleason
894bf1e880
Account normalizer: convert to Typescript, add type 2022-03-09 12:16:24 -06:00
Alex Gleason
38fbd703e4
Fix account relationships 2022-03-09 00:38:28 -06:00
Alex Gleason
10116a312a
Normalizers: fix tests 2022-03-08 23:47:30 -06:00
Alex Gleason
7a18f8b9c8
Create Records for Account and Status 2022-03-08 23:25:30 -06:00
Alex Gleason
1c36d1b91c
Store statuses as StatusRecord 2022-03-08 22:02:02 -06:00
Alex Gleason
2679519d23
Display account location on profile 2022-02-28 17:25:20 -06:00
Alex Gleason
3095ee5db1
normalizeAccount(): normalize "verified" field 2022-02-27 22:22:21 -06:00
Alex Gleason
19ac4a54c2
normalizeAccount(): normalize Pleroma legacy fields 2022-02-27 20:25:15 -06:00
Alex Gleason
7054a5e9ac
Create account normalizer 2022-02-27 14:42:42 -06:00
Alex Gleason
f0dc233973
Normalize poll and poll options 2022-02-24 00:07:18 -05:00
Alex Gleason
4bfbcb2f12
normalizeStatus(): test GoToSocial and Friendica normalization 2022-02-23 22:58:38 -05:00
Alex Gleason
0c962ee198
normalizeInstance(): add tests for GoToSocial and Friendica 2022-02-23 22:51:23 -05:00
Alex Gleason
fe6ffc9bc5
normalizeInstance(): add fixtures and tests for Fedibird, Mitra 2022-02-23 22:43:55 -05:00
Alex Gleason
331b239cc9
Normalize mentions, add tests 2022-02-23 22:31:35 -05:00
Alex Gleason
02f05abeaa
More defensive status normalization 2022-02-23 22:11:40 -05:00
Alex Gleason
6c0c66eab1
Simplify scheduled/pending status builders 2022-02-23 20:00:49 -05:00
Alex Gleason
34ba2505bd
normalizeStatus: normalize quote post 2022-02-23 18:25:38 -05:00
Alex Gleason
7877fce7ba
normalizeStatus: refactor baseStatus 2022-02-23 18:02:24 -05:00
Alex Gleason
01bf8b4729
Merge remote-tracking branch 'origin/develop' into fix-self-reply 2022-02-23 12:03:04 -05:00
Alex Gleason
16da9030ac
normalizeInstance: break out instance normalization into its own module 2022-02-23 11:24:36 -05:00
Alex Gleason
1224044876
Fix post without mentions 2022-02-21 19:21:13 -05:00
Alex Gleason
f7f18fac79
Refactor status normalizer 2022-02-20 02:27:29 -05:00
Alex Gleason
1e4659248f
statusNormalizer: fix mention to self 2022-02-20 01:19:28 -05:00
Alex Gleason
d16b764de7
Create normalizers/status module 2022-02-20 00:27:40 -05:00