Commit Graph

39 Commits

Author SHA1 Message Date
8633eca37d cardSchema: take innerHTML instead, force type to 'link' if html is empty 2024-03-14 19:09:00 -05:00
d53c1c2227 Sanitize PreviewCard html 2024-03-14 19:01:07 -05:00
ffdb744d16 Refactor useSettings hook, parse with zod schema 2024-02-13 23:20:18 -06:00
d576b8ed47 Switch to isomorphic-dompurify 2024-02-08 15:01:20 -06:00
c0325498c8 Merge remote-tracking branch 'origin/main' into dompurify 2024-02-08 14:57:35 -06:00
4aa6fdb4dd Add DOMPurify 2024-01-17 12:21:19 -06:00
459bc72365 Partially implement NIP-47 and pay for zaps with WebLN 2024-01-16 18:35:00 -06:00
9cad54c97c Nostr Zaps 2024-01-15 18:53:49 -06:00
ab56851ea5 Merge branch 'voting-limit' into 'main'
Support infinite voting time for remote polls

See merge request soapbox-pub/soapbox!2853
2024-01-11 22:43:40 +00:00
3406ce043c Support infinite voting time for remote polls
Signed-off-by: Marcin Mikołajczak <git@mkljczk.pl>
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-01-11 14:51:55 +01:00
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
19dec9c90e Apply 1 suggestion(s) to 1 file(s) 2023-12-23 20:30:56 +00:00
c138e2ee09 NIP-46: fix parsing request message for sign_event 2023-11-22 13:21:02 -06:00
016198c301 Sign NIP-46 events with proof-of-work 2023-11-20 17:52:37 -06:00
f77aa7b411 Fix parsing custom emoji reactions
Fixes https://gitlab.com/soapbox-pub/soapbox/-/issues/1602
2023-11-13 16:11:40 -06:00
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
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
144e13e674 Remove params not being part of instancev2
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-10-28 16:36:44 +02:00
54e1b3d4e8 Remove poll_limits as they're not part of instancev2
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-10-28 16:29:29 +02:00
b5668f1f70 Remove poll_limits as they're not part of instancev2
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-10-28 16:28:53 +02:00
7c752f088c instance v1 to v2 convesion
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-10-27 23:48:54 +02:00
b25408a79f Merge branch 'account-local' into 'main'
Add 'local' to account schema

See merge request soapbox-pub/soapbox!2835
2023-10-21 23:49:06 +00:00
ba5e018e3c Add 'local' to account schema
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-10-22 00:14:23 +02:00
4752feb1b8 Update Takahē compatibility, add fixVersion to instanceSchema
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-10-21 23:45:54 +02:00
34131cdfcc Convert all tests to ESM 2023-10-08 22:31:36 -05:00
eceb082874 Fix kindSchema 2023-10-04 18:12:18 -05:00
3f640e9797 Untuck tests out of __tests__ directories, colocate with program files 2023-10-02 14:27:40 -05:00
645ce60a5f eslint: use semicolon TypeScript delimeter 2023-10-02 13:54:02 -05:00
814b220da0 instanceSchema: support legacy Pleroma configuration 2023-09-26 12:58:51 -05:00
0986055222 instanceSchema: get rid of any() fields 2023-09-26 12:29:35 -05:00
4b52f20776 instanceSchema: support max_toot_chars again 2023-09-26 12:16:53 -05:00
8500e7bb9a Hide unauth features if they're restricted by the backend 2023-09-24 12:51:00 -05:00
3b630ed8fb Convert instance to use zod 2023-09-23 20:49:33 -05:00
89b1574c77 Make Lexical the only editor 2023-09-23 14:32:02 -05:00
fac42ab2c9 Merge remote-tracking branch 'soapbox/main' into lexical
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-09-20 23:49:55 +02:00
1e71923f6d Remove support for Rumble video embeds 2023-09-19 13:10:57 -05:00
757d8ba545 Remove Truth Social Ads 2023-09-19 11:17:12 -05:00
dd97a46a03 Update code to deal with new paths under src 2023-09-18 16:37:15 -05:00
f9679d270b Merge src/soapbox with top-level src directory 2023-09-18 16:08:54 -05:00