Commit graph

3509 commits

Author SHA1 Message Date
Alex Gleason
621d92dcf6
Render "client" tags in statuses even if they don't have an application handler event 2025-04-03 12:31:10 -05:00
Alex Gleason
0abee76e38
nip89: add ["t", "ditto"] tag to application handler event 2025-04-03 12:29:58 -05:00
Alex Gleason
c425a9d39a
DittoPgStore: index "client" tag 2025-04-03 12:29:45 -05:00
Alex Gleason
be5c58c615 Merge branch 'client-tag' into 'main'
Support NIP-89 "client" tag

See merge request soapbox-pub/ditto!732
2025-04-02 01:38:12 +00:00
Alex Gleason
23eb531305
Render client tags 2025-04-01 20:26:05 -05:00
Alex Gleason
caf59f4078
Insert NIP-89 "client" tags when users post statuses 2025-04-01 19:49:31 -05:00
Alex Gleason
c8b1c2050b
Publish nip89 application handler on startup 2025-04-01 18:55:36 -05:00
Alex Gleason
b56fe678f2 Merge branch 'fix-close' into 'main'
Fix relay always sending a CLOSED message after the client sends CLOSE

See merge request soapbox-pub/ditto!730
2025-03-28 22:53:05 +00:00
Alex Gleason
8dc9ea98e2
Fix relay always sending a CLOSED message after the client sends CLOSE 2025-03-28 17:50:51 -05:00
Alex Gleason
98c967dd22 Merge branch 'goosehints' into 'main'
Add .goosehints file

See merge request soapbox-pub/ditto!729
2025-03-28 21:24:08 +00:00
Alex Gleason
1a6c114a57
Fix inline codeblock in .goosehints 2025-03-28 16:22:03 -05:00
Alex Gleason
34a29c8f4e
NIP-11 improvements 2025-03-28 16:15:20 -05:00
Alex Gleason
278e13a6ef
Add .goosehints file 2025-03-28 16:08:28 -05:00
Alex Gleason
95c10fd2b9 Merge branch 'fix-nip05-notification' into 'main'
Fix name grant notification not being rendered

See merge request soapbox-pub/ditto!728
2025-03-23 17:15:59 +00:00
Alex Gleason
06c9c8d898
Fix name grant notification not being rendered 2025-03-23 12:11:39 -05:00
Alex Gleason
1ff83212c4 Merge branch 'fix-index-k-tag' into 'main'
fix: index k tag even if the value is not a number and count is less than 3

See merge request soapbox-pub/ditto!727
2025-03-21 20:59:27 +00:00
P. Reis
4451aafadc fix: index k tag even if the value is not a number and count is less than 3 2025-03-21 16:56:24 -03:00
Alex Gleason
fab34dbf5b Merge branch 'fix-mem-leak' into 'main'
Fix memory leak in relay?

See merge request soapbox-pub/ditto!726
2025-03-19 20:20:13 +00:00
Alex Gleason
8fc0092150
Fix memory leak in relay? 2025-03-19 15:15:44 -05:00
Alex Gleason
497b02002e
streaming: ensure close handler is called even when socket is closed by server 2025-03-16 18:02:28 -05:00
Alex Gleason
f27609feb8
Set a max subscriptions size per connection 2025-03-16 17:51:07 -05:00
Alex Gleason
a6b58b50cf Merge branch 'custom-reacts' into 'main'
Support custom emoji reactions

See merge request soapbox-pub/ditto!724
2025-03-15 22:21:09 +00:00
Alex Gleason
09b0bf8ef4
Test paginationSchema with a custom limit 2025-03-15 17:20:26 -05:00
Alex Gleason
88ef8087a5
Let paginationMiddleware be configurable, add pagination to reactions handler 2025-03-15 17:18:18 -05:00
Alex Gleason
36ffd4283a
Fix DittoPgStore req test 2025-03-15 17:03:20 -05:00
Alex Gleason
006a96d0eb
Disable notify in tests 2025-03-15 16:50:26 -05:00
Alex Gleason
66979c7c11
Disallow +/- emojis in Pleroma API 2025-03-15 16:42:34 -05:00
Alex Gleason
be922bf07f
Enable pleroma_custom_emoji_reactions feature in instance endpoint 2025-03-15 16:37:00 -05:00
Alex Gleason
753413f071
Support custom emoji reactions 2025-03-15 16:32:11 -05:00
Alex Gleason
c40c6e8b30
Support custom emoji reactions in event_stats 2025-03-15 15:31:24 -05:00
Alex Gleason
755ed884d4
Pleroma API supports custom emojis with or without colons 2025-03-15 15:01:07 -05:00
Alex Gleason
1dd50e2e63
Add tests for pleromaStatusesRoute 2025-03-15 14:38:19 -05:00
Alex Gleason
f27dac342f
Small refactors to pleromaStatusesRoute 2025-03-15 13:57:06 -05:00
Alex Gleason
2f65be7dc4
Move reaction controllers to pleromaStatusesRoute 2025-03-15 13:49:42 -05:00
Alex Gleason
55a171fd2c
Merge remote-tracking branch 'origin/main' into custom-reacts 2025-03-15 13:42:00 -05:00
Alex Gleason
c2f214c9bc Merge branch 'mw-cleanup' into 'main'
Remove redundant userMiddleware usages in app.ts

See merge request soapbox-pub/ditto!723
2025-03-15 18:41:43 +00:00
Alex Gleason
c9b0ffb537
Remove redundant userMiddleware usages in app.ts 2025-03-15 13:26:55 -05:00
Alex Gleason
ed0a8dc36b Merge branch 'emoji-unauth' into 'main'
Allow custom_emojis endpoint to be accessed without a user

See merge request soapbox-pub/ditto!722
2025-03-15 18:24:52 +00:00
Alex Gleason
66dcf98a22
Allow reacting with custom emoji 2025-03-15 13:24:02 -05:00
Alex Gleason
e5dd285e6b
Allow custom_emojis endpoint to be accessed without a user 2025-03-15 12:50:05 -05:00
Alex Gleason
d0d400901c Merge branch 'custom-emojis' into 'main'
Implement custom emojis

See merge request soapbox-pub/ditto!721
2025-03-15 05:22:14 +00:00
Alex Gleason
974e07981e
getCustomEmojis: new Map() -> emojis 2025-03-15 00:19:50 -05:00
Alex Gleason
28275b7611
Insert "emoji" tags into statuses 2025-03-15 00:16:52 -05:00
Alex Gleason
b1a1ace0ac
Refactor getCustomEmojis function, support emoji categories 2025-03-14 23:58:42 -05:00
Alex Gleason
f15b6f79c0
Implement custom emojis 2025-03-14 23:36:53 -05:00
Alex Gleason
bfe693c2f8 Merge branch 'fix-pglite-closed' into 'main'
fix: Error: PGlite is closed

See merge request soapbox-pub/ditto!720
2025-03-13 14:45:40 +00:00
P. Reis
bc0580dd05 fix: Error: PGlite is closed 2025-03-13 10:45:03 -03:00
Alex Gleason
60fbe70212 Merge branch 'strip-media-space' into 'main'
Strip media URLs regardless of whitespace delimiter

See merge request soapbox-pub/ditto!719
2025-03-12 21:55:42 +00:00
Alex Gleason
80fcda2b01
Fix matching multiple whitespace characters at the end of a string 2025-03-12 16:53:22 -05:00
Alex Gleason
69a9534463
removeTrailingUrls -> removeTrailingTokens 2025-03-12 16:48:31 -05:00