Commit graph

2123 commits

Author SHA1 Message Date
Siddharth Singh
b6e41f4eaf
rewrite and expand tests 2024-12-27 04:56:38 +05:30
Siddharth Singh
86e816ae67
add lingua lang detection 2024-12-27 04:56:28 +05:30
Siddharth Singh
3812c1d3e6
add language detection conf option 2024-12-27 04:56:03 +05:30
Alex Gleason
139e600b79
Switch to NIP-44 bunker encryption
https://gitlab.com/soapbox-pub/ditto/-/issues/279
2024-12-18 01:56:53 -06:00
Alex Gleason
e3294e5351
pipeline: block events too far in the future 2024-12-17 14:58:40 -06:00
P. Reis
5de7cfb4da fix: add 'p' tag to kind 7 event 2024-12-11 21:04:00 -03:00
Alex Gleason
6eaf18a890 Merge branch 'valid-ws' into 'main'
Filter out invalid WebSocket URLs from pool, prevent admins from setting them

Closes #276

See merge request soapbox-pub/ditto!605
2024-12-10 23:45:58 +00:00
Alex Gleason
f8e77d90eb
Filter out invalid WebSocket URLs from pool, prevent admins from setting them
Fixes https://gitlab.com/soapbox-pub/ditto/-/issues/276
2024-12-10 17:43:41 -06:00
P. Reis
8101483622 refactor: make domain:<domain> search faster 2024-12-09 11:32:51 -03:00
Alex Gleason
a7bfc665c3
Fix Bluesky's selfLabel name 2024-12-06 14:50:16 -06:00
Alex Gleason
d0f53f5601 Merge branch 'fix-do-not-search-when-empty-content' into 'main'
refactor(getIdsBySearch): do not search if the search content is empty

See merge request soapbox-pub/ditto!599
2024-12-05 19:24:54 +00:00
P. Reis
b5221eb43a fix: stop captcha showing up 2024-12-03 20:05:38 -03:00
P. Reis
e0d9e83f28 Revert "Merge branch 'revert-70d30887' into 'main'"
This reverts commit 0c2f082281, reversing
changes made to 70d3088735.
2024-12-03 20:04:18 -03:00
Alex Gleason
261cd339fa Revert "Merge branch 'fix-stop-overwite-kind-0-unnecessarily' into 'main'"
This reverts merge request !598
2024-12-03 22:03:46 +00:00
Alex Gleason
70d3088735 Merge branch 'fix-stop-overwite-kind-0-unnecessarily' into 'main'
fix(updateCredentialsController): stop overwriting kind 0 unnecessarily

Closes #269

See merge request soapbox-pub/ditto!598
2024-12-03 21:29:12 +00:00
P. Reis
2b6bf125e1 refactor(updateCredentialsController): accountFromPubkey if the user has no kind 0 2024-12-03 18:23:13 -03:00
P. Reis
dfff24d3b2 refactor(updateCredentialsController): return error if event is undefined 2024-12-03 15:22:37 -03:00
P. Reis
30d7f1a053 refactor(updateCredentialsController): stop overwriting kind 0 unnecessarily 2024-12-03 14:33:04 -03:00
P. Reis
b45fcdde69 Revert "fix(updateCredentialsController): stop overwriting kind 0 unnecessarily"
This reverts commit 342ba7d4b1.
2024-12-03 14:23:00 -03:00
Alex Gleason
cd95c38eec
'q' tag should omit marker per NIP-18 2024-11-30 13:14:16 -06:00
P. Reis
74ef00e9d8 refactor(getIdsBySearch): do not search if the search content is empty 2024-11-29 23:39:14 -03:00
P. Reis
342ba7d4b1 fix(updateCredentialsController): stop overwriting kind 0 unnecessarily 2024-11-29 11:49:37 -03:00
Alex Gleason
d86096dd91
Merge remote-tracking branch 'origin/main' into no-unauthenticated 2024-11-26 00:48:39 -06:00
Alex Gleason
40215716db
Delete cursed pipeline test 2024-11-26 00:09:04 -06:00
Alex Gleason
4ed66b8fe5
accountLookupController: support !no-unauthenticated 2024-11-25 22:44:14 -06:00
Alex Gleason
1dc19ef422
Support Bluesky's !no-unauthenticated self-label 2024-11-25 22:36:32 -06:00
Alex Gleason
418dbd6d0c
Let a proxy tag not be a URL (to support atproto URIs) 2024-11-22 10:49:05 -06:00
Alex Gleason
da82462fa2
Remove other usages of : any 2024-11-22 10:28:26 -06:00
Alex Gleason
4eb7ea2461
Remove e: any from error handlers 2024-11-22 10:26:30 -06:00
Alex Gleason
d2df2a5e22
Linkify profile field values 2024-11-20 11:06:36 -06:00
Alex Gleason
81780bec72
Let field limits be configurable 2024-11-20 10:58:21 -06:00
Alex Gleason
39cb1ec0c9
renderAccount: only display up to 10 profile fields 2024-11-20 10:50:49 -06:00
Alex Gleason
7227202a86
Instruct Soapbox to use up to 10 custom profile fields 2024-11-20 10:49:19 -06:00
Alex Gleason
098e1b7fff
Add a custom parseFormData helper to simulate Mastodon's (Rails) formdata parser 2024-11-20 09:46:09 -06:00
Alex Gleason
281f57d88e
Include fields in account.source 2024-11-20 09:45:52 -06:00
Alex Gleason
154056f8d6
Add custom profile fields 2024-11-20 08:58:12 -06:00
P. Reis
8fccd7eb03 fix(updateInstanceSchema): remove zod strict() 2024-11-15 11:49:38 -03:00
Alex Gleason
ee4373bdab Merge branch 'fix-update-instance-admin-only' into 'main'
fix(updateInstanceController): use updateAdminEvent() function

See merge request soapbox-pub/ditto!588
2024-11-15 14:29:16 +00:00
P. Reis
d9cc8cc7c2 refactor(updateInstanceController): move async function out of callback 2024-11-15 11:20:10 -03:00
P. Reis
33b36ba0ed fix(updateInstanceController): use updateAdminEvent() function 2024-11-15 11:08:47 -03:00
Alex Gleason
aea31bce5d
csp: use the sentry origin instead of the URL itself 2024-11-14 20:28:14 -06:00
Alex Gleason
3d376ba8b3
csp: fix connect-src 2024-11-14 20:18:15 -06:00
Alex Gleason
02ada73f48
Include Soapbox sentryDsn in CSP 2024-11-14 20:12:27 -06:00
Alex Gleason
55f50ba93d
PleromaConfigDB: implement .getIn 2024-11-14 19:54:29 -06:00
Alex Gleason
3e27e902d5
Add PleromaConfigDB test 2024-11-14 17:49:30 -06:00
Alex Gleason
5e523cbb1a
Merge remote-tracking branch 'origin/main' into configdb 2024-11-14 17:00:36 -06:00
P. Reis
65ea84f429 Merge branch 'main' into make-sizes-optional 2024-11-13 19:15:00 -03:00
Alex Gleason
515c70f038
Switch to httpbingo in tests so testing over https works 2024-11-13 15:34:41 -06:00
Alex Gleason
674781daf1
Upgrade safe-fetch 2024-11-13 15:23:42 -06:00
P. Reis
acee8784ee fix(screenshotsSchema): make sizes field optional 2024-11-13 17:19:11 -03:00