Commit Graph

1654 Commits

Author SHA1 Message Date
Alex Gleason 761143a317
relay: give a nice "fuck you" to clients sending invalid filters 2024-05-31 13:58:06 -05:00
Alex Gleason 5ca1e2fd26
CustomPolicy: switch to NoOpPolicy if the policy isn't found 2024-05-31 13:51:10 -05:00
Alex Gleason 9d50a76c0c
Merge remote-tracking branch 'origin/main' into policy-once 2024-05-31 13:47:53 -05:00
Alex Gleason a7ffe89107 Merge branch 'since-limit' into 'main'
EventsDB: throw an error if `since` and `until` are too large

See merge request soapbox-pub/ditto!339
2024-05-31 18:37:29 +00:00
Alex Gleason 3dd25feddc
EventsDB: throw an error if `since` and `until` are too large 2024-05-31 13:33:53 -05:00
Alex Gleason a2c5e824b9
Import the custom policy only once 2024-05-31 12:27:38 -05:00
Alex Gleason f98ebd359a Merge branch 'rm-empty-tag-filters' into 'main'
Remove empty tag filters

See merge request soapbox-pub/ditto!337
2024-05-30 18:05:19 +00:00
Alex Gleason f4f3c8d4d1
Remove empty tag filters 2024-05-30 13:01:39 -05:00
Alex Gleason e543e4c2a5 Merge branch 'created-at-up' into 'main'
pipeline: move created_at check up

See merge request soapbox-pub/ditto!336
2024-05-30 17:37:38 +00:00
Alex Gleason ec6b72229c
pipeline: move created_at check up 2024-05-30 12:33:55 -05:00
Alex Gleason 594be870e1 Merge branch 'quote-uri' into 'main'
Add quote URI to the event content

See merge request soapbox-pub/ditto!335
2024-05-30 17:09:43 +00:00
Alex Gleason e8ca21acde
mediaCompat consistency 2024-05-30 12:05:25 -05:00
Alex Gleason c0123df79a
Strip newlines from end of status 2024-05-30 12:03:01 -05:00
Alex Gleason 86b3a51590
Add quote URI to the event content 2024-05-30 11:55:03 -05:00
Alex Gleason 7784025fa3 Merge branch 'reblogs-replies-fix' into 'main'
Fix reblogs showing up in replies

See merge request soapbox-pub/ditto!334
2024-05-30 16:35:20 +00:00
Alex Gleason c9302cae6a
Fix reblogs showing up in replies 2024-05-30 11:31:33 -05:00
Alex Gleason f874d3e137 Merge branch 'fix-streaming' into 'main'
Fix streaming token

See merge request soapbox-pub/ditto!332
2024-05-30 03:04:04 +00:00
Alex Gleason 74e141ba08
Fix streaming token 2024-05-29 21:57:53 -05:00
Alex Gleason 29a2a4ecdb Merge branch 'created_at-max-value' into 'main'
Enforce a created_at max value

See merge request soapbox-pub/ditto!331
2024-05-29 23:30:02 +00:00
Alex Gleason 60b762a165
Enforce a created_at max value 2024-05-29 18:26:10 -05:00
Alex Gleason 1ad1808ee2 Merge branch 'connections' into 'main'
Add OAuth tokens

See merge request soapbox-pub/ditto!325
2024-05-29 21:44:52 +00:00
Alex Gleason 03c6f23605
Use a specific version of nostr-tools 2024-05-29 16:29:46 -05:00
Alex Gleason 625b9a3ae5
ReadOnlySigner: improve error message 2024-05-29 16:16:17 -05:00
Alex Gleason 7221b5f203
grant_type nostr -> nostr_bunker, connections -> nip46_tokens 2024-05-29 16:14:21 -05:00
Alex Gleason b805c4c67e Merge branch 'fix-get-ln-invoice-header' into 'main'
CORS - Expose 'Ln-Invoice' header

See merge request soapbox-pub/ditto!330
2024-05-29 12:13:53 +00:00
P. Reis 83020e9111 fix: expose 'Ln-Invoice' header 2024-05-29 09:02:17 -03:00
Alex Gleason 153c115f24 Merge branch 'fix-get-invoice' into 'main'
ZapController - Purify event before calling getInvoice()

See merge request soapbox-pub/ditto!329
2024-05-29 02:16:49 +00:00
P. Reis 27ed364f4a fix(zapController): purify event before getting invoice 2024-05-28 22:42:00 -03:00
Alex Gleason a617e32d65
Merge remote-tracking branch 'origin/main' into connections 2024-05-28 18:28:50 -05:00
Alex Gleason e29519e877 Merge branch 'rm-nwc' into 'main'
Remove NWC, return a Ln-Invoice header on the zap endpoint

See merge request soapbox-pub/ditto!328
2024-05-28 22:10:56 +00:00
Alex Gleason 78044cc8b6
Remove NWC, return a Ln-Invoice header on the zap endpoint 2024-05-28 16:54:57 -05:00
Alex Gleason 5d05d1d570
Merge remote-tracking branch 'origin/main' into connections 2024-05-28 16:01:49 -05:00
Alex Gleason a690fa3096 Merge branch 'fix-zap-remove-user-field-check' into 'main'
Allow zap request event to proceed even if it does not have a 'user' field

See merge request soapbox-pub/ditto!327
2024-05-28 20:45:44 +00:00
P. Reis a519637bee fix(pipeline-zap): allow 'event' to proceed even without 'user' field 2024-05-28 17:40:10 -03:00
Alex Gleason 5f73232418
relay: remove enforceFilters function 2024-05-28 14:51:07 -05:00
Alex Gleason 981f8c5d22
relay: remove enforceFilters function 2024-05-28 13:59:57 -05:00
Alex Gleason a6a74a16a8
Have OAuth form accept a bunker URI 2024-05-28 13:48:27 -05:00
Alex Gleason 1aa2bafc44
OAuth: add a "nostr" grant_type 2024-05-26 21:26:59 -05:00
Alex Gleason c55cd2a977
blob -> bytea 2024-05-26 20:41:14 -05:00
Alex Gleason b1a497b127
signerMiddleware: accept token1 bech32's 2024-05-26 20:27:46 -05:00
Alex Gleason 0141a732c3
Add connections table 2024-05-26 19:21:15 -05:00
Alex Gleason 11474c5cbd Merge branch 'postgres' into 'main'
Test Postgres in the CI

See merge request soapbox-pub/ditto!324
2024-05-26 23:51:52 +00:00
Alex Gleason 8f3b9df1e1
Test Postgres in the CI 2024-05-26 18:42:14 -05:00
Alex Gleason a6cae8f878
renderAccount: display_name cannot be undefined 2024-05-26 12:59:04 -05:00
Alex Gleason 1fff0834eb Merge branch 'fix-reblog' into 'main'
Fix renderReblog on other Mastodon apps

See merge request soapbox-pub/ditto!323
2024-05-26 17:57:40 +00:00
Alex Gleason 875b678948
Fix renderReblog on other Mastodon apps 2024-05-26 12:55:01 -05:00
Alex Gleason 30881275ad Merge branch 'encrypted-tag' into 'main'
Add `encrypted` tag to Pleroma configs event

See merge request soapbox-pub/ditto!322
2024-05-26 17:45:44 +00:00
Alex Gleason c03be1726e
Add `encrypted` tag to Pleroma configs event 2024-05-26 12:43:08 -05:00
Alex Gleason 3f9908449b Merge branch 'dont-encrypt-settings' into 'main'
Don't encrypt settings_store

See merge request soapbox-pub/ditto!321
2024-05-26 17:37:09 +00:00
Alex Gleason a66df583fb
Don't encrypt settings_store 2024-05-26 12:34:18 -05:00