Alex Gleason
|
02e284f3aa
|
Remove unused DittoFilter interface
|
2025-02-22 01:06:53 -06:00 |
|
Alex Gleason
|
045eb4e1d6
|
Merge branch 'router' into 'main'
Switch to @ditto/router
See merge request soapbox-pub/ditto!683
|
2025-02-22 07:05:11 +00:00 |
|
Alex Gleason
|
4ed0640766
|
@ditto/router -> @ditto/mastoapi/router
|
2025-02-21 23:32:15 -06:00 |
|
Alex Gleason
|
ecb2b8d8f1
|
Merge branch 'lowercase-nip05' into 'main'
Make NIP-05 case insensitive
See merge request soapbox-pub/ditto!684
|
2025-02-22 03:59:20 +00:00 |
|
Alex Gleason
|
084c6aa944
|
Fix DummyDB test
|
2025-02-21 21:55:00 -06:00 |
|
Alex Gleason
|
8ef03e7926
|
Merge remote-tracking branch 'origin/lowercase-nip05' into router
|
2025-02-21 21:54:32 -06:00 |
|
Alex Gleason
|
6c70b4bc4e
|
Make NIP-05 case insensitive
|
2025-02-21 21:51:33 -06:00 |
|
Alex Gleason
|
07b68b71d2
|
Add missing types to testApp
|
2025-02-21 21:31:42 -06:00 |
|
Alex Gleason
|
9c97cc387f
|
mastoapi: add a test module
|
2025-02-21 21:15:57 -06:00 |
|
Alex Gleason
|
d4fc10fe3e
|
Add userMiddleware tests
|
2025-02-21 21:09:22 -06:00 |
|
Alex Gleason
|
403b16a67b
|
Merge remote-tracking branch 'origin/main' into router
|
2025-02-21 20:51:33 -06:00 |
|
Alex Gleason
|
4cfb6543c7
|
Don't lowercase nip05 name before fetching (for now)
|
2025-02-21 20:50:09 -06:00 |
|
Alex Gleason
|
8437da1200
|
Fix error handling in nameRequestController
|
2025-02-21 20:33:44 -06:00 |
|
Alex Gleason
|
5fec5deb06
|
publishEvent: publish to pool in background, catch errors and log
|
2025-02-21 20:22:58 -06:00 |
|
Alex Gleason
|
82446e3ef1
|
Add method and pathname to ditto.http error
|
2025-02-21 20:06:39 -06:00 |
|
Alex Gleason
|
d2abb1f1e4
|
Fix MuteListPolicy test
|
2025-02-21 18:59:14 -06:00 |
|
Alex Gleason
|
6b1aadc24c
|
nip98: add explicit types to exported functions
|
2025-02-21 18:46:43 -06:00 |
|
Alex Gleason
|
26e87b3962
|
tokenMiddleware: pass token to streaming API
|
2025-02-21 17:44:56 -06:00 |
|
Alex Gleason
|
806bfc1b45
|
Delete auth98Middleware, replace with userMiddleware
|
2025-02-21 16:54:38 -06:00 |
|
Alex Gleason
|
adeff1cae5
|
tokenMiddleware: support nip98 auth
|
2025-02-21 15:53:29 -06:00 |
|
Alex Gleason
|
f0add87c6d
|
Create @ditto/nip98 package
|
2025-02-21 15:35:03 -06:00 |
|
Alex Gleason
|
72851bc536
|
Remove AdminStore from storages
|
2025-02-21 15:08:58 -06:00 |
|
Alex Gleason
|
e5657d67c0
|
app -> route
|
2025-02-21 15:08:37 -06:00 |
|
Alex Gleason
|
d0c7cc7a45
|
Improve cashu test
|
2025-02-21 15:05:54 -06:00 |
|
Alex Gleason
|
438ab09216
|
Split userMiddleware into tokenMiddleware and a new userMiddleware
|
2025-02-21 14:52:17 -06:00 |
|
Alex Gleason
|
5ad7f1d5d7
|
userMiddleware -> tokenMiddleware
|
2025-02-21 13:27:19 -06:00 |
|
Alex Gleason
|
f83925331a
|
Apply the UserStore to the userMiddleware
|
2025-02-20 20:04:57 -06:00 |
|
Alex Gleason
|
8f49b99935
|
Consolidate AdminStore and UserStore
|
2025-02-20 20:03:31 -06:00 |
|
Alex Gleason
|
8a978b088b
|
Use the user's store in a few places where it matters
|
2025-02-20 18:57:55 -06:00 |
|
Alex Gleason
|
33786d2e5d
|
Fix cashu tests, sorta
|
2025-02-20 18:48:44 -06:00 |
|
Alex Gleason
|
e1bf86eb21
|
Make auth middleware work again (in a hacky way for now)
|
2025-02-20 14:45:44 -06:00 |
|
Alex Gleason
|
67aec57990
|
Rename @ditto/api to @ditto/mastoapi, start using the new router and middleware in app
|
2025-02-20 14:29:22 -06:00 |
|
Alex Gleason
|
22d7a5fa55
|
Merge remote-tracking branch 'origin/main' into router
|
2025-02-20 12:07:18 -06:00 |
|
Alex Gleason
|
64e71b0ba8
|
Merge branch 'rm-admin-signer' into 'main'
Remove AdminSigner, Conf.pubkey, Conf.nsec, add Conf.signer
See merge request soapbox-pub/ditto!682
|
2025-02-20 18:07:01 +00:00 |
|
Alex Gleason
|
0841563d69
|
Remove AdminSigner, Conf.pubkey, Conf.nsec, add Conf.signer
|
2025-02-20 12:04:52 -06:00 |
|
Alex Gleason
|
6bdb613522
|
Merge remote-tracking branch 'origin/main' into router
|
2025-02-20 11:37:33 -06:00 |
|
Alex Gleason
|
5ad38b4058
|
Merge branch 'dittodb' into 'main'
Swap the names of DittoDB and DittoDatabase, rename DittoDatabase to DittoPolyPg
See merge request soapbox-pub/ditto!681
|
2025-02-20 17:37:25 +00:00 |
|
Alex Gleason
|
44c4b3188c
|
DittoPolyPg: fix path to migrations
|
2025-02-20 11:35:37 -06:00 |
|
Alex Gleason
|
5231c8a94f
|
Rename DittoDatabase to DittoPolyPg
|
2025-02-20 11:32:04 -06:00 |
|
Alex Gleason
|
c7624e99d7
|
Swap the names of DittoDB and DittoDatabase
|
2025-02-20 11:26:27 -06:00 |
|
Alex Gleason
|
5c0a350776
|
Add @ditto/router package
|
2025-02-20 11:19:50 -06:00 |
|
Alex Gleason
|
f5947eda8b
|
Merge branch 'deepl-fix' into 'main'
Fix DeepL Response parsing, mock DeepL tests so they can always run without API keys
See merge request soapbox-pub/ditto!680
|
2025-02-20 17:10:03 +00:00 |
|
Alex Gleason
|
91f9bd9442
|
Add mock LibreTranslate tests
|
2025-02-20 11:07:41 -06:00 |
|
Alex Gleason
|
1afb09e604
|
DittoTranslator: source_lang -> sourceLang
|
2025-02-20 10:39:31 -06:00 |
|
Alex Gleason
|
2150259aba
|
languageSchema does not lowercase the code
|
2025-02-20 10:36:43 -06:00 |
|
Alex Gleason
|
d791a9b350
|
Fix DeepL Response parsing, mock DeepL tests so they can always run without API keys
|
2025-02-20 10:35:27 -06:00 |
|
Alex Gleason
|
403d0ac5c2
|
Add logi log to translate controller
|
2025-02-20 10:03:01 -06:00 |
|
Alex Gleason
|
2ce283e9a5
|
return new Response() -> return c.newResponse()
|
2025-02-20 00:57:47 -06:00 |
|
Alex Gleason
|
f72fcdbd65
|
Upgrade socket before closing with 1008 (ratelimit)
|
2025-02-20 00:23:06 -06:00 |
|
Alex Gleason
|
e2f23e51d2
|
Merge branch 'rm-pubsub' into 'main'
Remove pubsub storage
See merge request soapbox-pub/ditto!676
|
2025-02-20 05:13:11 +00:00 |
|