Commit graph

3504 commits

Author SHA1 Message Date
Alex Gleason
7a60b4b8d8
Support kind 20 "Picture" events (NIP-68) 2025-01-05 11:23:18 -06:00
Alex Gleason
5a32964eb5 Merge branch 'upgrade-nostrify' into 'main'
Upgrade Nostrify

See merge request soapbox-pub/ditto!614
2024-12-30 20:31:20 +00:00
Alex Gleason
e523da9d19
Upgrade Nostrify 2024-12-30 14:29:45 -06:00
Alex Gleason
51fc0c9cc9 Merge branch 'tl-ratelimit' into 'main'
Stricter timeline rate limits

See merge request soapbox-pub/ditto!612
2024-12-27 19:20:29 +00:00
Alex Gleason
b85513496c
Ratelimit follow and unfollow 2024-12-27 13:18:22 -06:00
Alex Gleason
54c398c5fa
Ratelimit /followers and /following endpoints 2024-12-27 13:16:33 -06:00
Alex Gleason
a316e92001
Bump limits slightly, also limit account statuses controller 2024-12-27 13:15:47 -06:00
Alex Gleason
eb10cdce76
Stricter timeline rate limits 2024-12-27 13:06:32 -06:00
Alex Gleason
e32976945e Merge branch 'media-newlines' into 'main'
Stop adding unnecessary newlines to the top of posts with images only

See merge request soapbox-pub/ditto!611
2024-12-27 02:43:20 +00:00
Alex Gleason
79e87008c1
Move content back up because it has side-effects with pubkeys 2024-12-26 20:40:59 -06:00
Alex Gleason
f72fdf79bb
Stop adding unnecessary newlines to the top of posts with images only 2024-12-26 20:33:26 -06:00
Alex Gleason
bb50ad7a43 Merge branch 'bunker-44' into 'main'
Switch to NIP-44 bunker encryption

See merge request soapbox-pub/ditto!608
2024-12-18 08:00:07 +00:00
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
75f9c90a8c Merge branch 'future-block' into 'main'
pipeline: block events too far in the future

See merge request soapbox-pub/ditto!607
2024-12-17 21:07:18 +00:00
Alex Gleason
e3294e5351
pipeline: block events too far in the future 2024-12-17 14:58:40 -06:00
Alex Gleason
f1f00fcf38 Merge branch 'fix-reaction-target-pubkey' into 'main'
fix: add 'p' tag to kind 7 event

See merge request soapbox-pub/ditto!606
2024-12-12 00:06:46 +00: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
Alex Gleason
e3cc6922ae Merge branch 'make-search-domain-faster' into 'main'
Make domain:<domain> search faster

See merge request soapbox-pub/ditto!604
2024-12-09 14:49:18 +00:00
P. Reis
8101483622 refactor: make domain:<domain> search faster 2024-12-09 11:32:51 -03:00
Alex Gleason
dbfd1a9d35 Merge branch 'self-label' into 'main'
Fix Bluesky's selfLabel name

See merge request soapbox-pub/ditto!602
2024-12-06 20:52:13 +00: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
Alex Gleason
5df47403ad Merge branch 'fix-captcha-showing-up' into 'main'
Revert "Merge branch 'revert-70d30887' into 'main'"

Closes #269

See merge request soapbox-pub/ditto!601
2024-12-03 23:24:59 +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
0c2f082281 Merge branch 'revert-70d30887' into 'main'
Revert "Merge branch 'fix-stop-overwite-kind-0-unnecessarily' into 'main'"

See merge request soapbox-pub/ditto!600
2024-12-03 22:04:10 +00: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
Alex Gleason
f576e45c58
Upgrade gleasonator-policy in deno.lock 2024-11-29 18:55:38 -06:00
P. Reis
342ba7d4b1 fix(updateCredentialsController): stop overwriting kind 0 unnecessarily 2024-11-29 11:49:37 -03:00
Alex Gleason
45cb9757b4 Merge branch 'no-unauthenticated' into 'main'
Support Bluesky's !no-unauthenticated self-label

See merge request soapbox-pub/ditto!596
2024-11-26 06:52:12 +00:00
Alex Gleason
d86096dd91
Merge remote-tracking branch 'origin/main' into no-unauthenticated 2024-11-26 00:48:39 -06:00
Alex Gleason
beba62630a Merge branch 'fix-ci' into 'main'
Simplify CI

See merge request soapbox-pub/ditto!597
2024-11-26 06:12:59 +00:00
Alex Gleason
40215716db
Delete cursed pipeline test 2024-11-26 00:09:04 -06:00
Alex Gleason
840b7231cd
Simplify CI 2024-11-25 23:43:48 -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
afb450e412
Bump gleasonator-policy in deno.lock 2024-11-25 19:44:20 -06:00
Alex Gleason
5ea5fd40a4
Bump gleasonator-policy in deno.lock 2024-11-25 19:41:10 -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