Commit graph

2876 commits

Author SHA1 Message Date
Alex Gleason
c390481939
Remove TEST_DATABASE_URL 2024-10-18 13:25:39 -05:00
Alex Gleason
f6046c015b
Remove @std/dotenv 2024-10-18 13:22:34 -05:00
Alex Gleason
8944594c71
Pass --env-file into deno tasks, use a separate .env.test for tests 2024-10-18 13:20:30 -05:00
Alex Gleason
ef7c9e14db Merge branch 'ci-truncate' into 'main'
Speed up migrations in tests

See merge request soapbox-pub/ditto!557
2024-10-18 18:13:16 +00:00
P. Reis
f581dcbcfb fix(hydrate): make gatherAuthors() function async 2024-10-18 14:35:30 -03:00
P. Reis
a1bf808efd fix: remove 'HEAD' from previous conflict 2024-10-18 14:30:15 -03:00
P. Reis
ceaf6534ae Merge branch 'main' into fix-zap-sender-missing-kind-0 2024-10-18 14:27:42 -03:00
Alex Gleason
08cc4f1db9
Speed up migrations in tests 2024-10-18 12:24:49 -05:00
P. Reis
ead96af16f fix: get all zap related authors (receivers, senders) inside gatherAuthors() function 2024-10-18 14:23:38 -03:00
Alex Gleason
b876cf368a Merge branch 'fix-zap-post' into 'main'
fix(zapController): remove not needed arguments

See merge request soapbox-pub/ditto!556
2024-10-18 17:13:08 +00:00
P. Reis
0516fb6ce8 fix(zapController): remove not needed arguments 2024-10-18 14:08:47 -03:00
Alex Gleason
5b080c7bc0 Merge branch 'hydrate-null-author' into 'main'
Hydrate null authors

Closes #168

See merge request soapbox-pub/ditto!552
2024-10-18 14:55:34 +00:00
Alex Gleason
035c57ac89 Merge branch 'deno-2.0.2' into 'main'
Upgrade Deno to v2.0.2

See merge request soapbox-pub/ditto!555
2024-10-18 13:38:46 +00:00
Alex Gleason
52df3b240e
Upgrade Deno to v2.0.2 2024-10-17 22:30:17 -05:00
Alex Gleason
4be6fe004d Merge branch 'manifest-icons' into 'main'
webmanifest: add app icons

See merge request soapbox-pub/ditto!554
2024-10-17 23:22:03 +00:00
Alex Gleason
5d484e4bf6
webmanifest: add app icons 2024-10-17 18:15:11 -05:00
Alex Gleason
6ea71865f1
hydrate: build fallback authors during gatherAuthors step 2024-10-17 15:26:23 -05:00
Alex Gleason
28e8dfb4ac Merge branch 'push-zap-amount' into 'main'
Fix zap amount in web push notification

See merge request soapbox-pub/ditto!553
2024-10-17 20:21:21 +00:00
Alex Gleason
4293092756
Fix zap amount in web push notification
Ref: https://gleasonator.dev/@idsera@ditto.pub/posts/eeddba51bb15e06654afd1952e62bd91d2248d9517ba499024b09887081dd919
2024-10-17 15:16:14 -05:00
Alex Gleason
33e5b20159
Hydrate null authors 2024-10-17 15:04:57 -05:00
Alex Gleason
96416747c2 Merge branch 'revoke' into 'main'
Implement OAuth revoke endpoint

See merge request soapbox-pub/ditto!551
2024-10-17 19:24:53 +00:00
Alex Gleason
b4b7381b49
Implement OAuth revoke endpoint 2024-10-17 14:20:42 -05:00
Alex Gleason
66583e7f60 Merge branch 'ci-rm-postgres' into 'main'
Get rid of Postgres job in CI

See merge request soapbox-pub/ditto!550
2024-10-17 03:50:12 +00:00
Alex Gleason
5e415f897f
Get rid of Postgres job in CI 2024-10-16 22:43:38 -05:00
Alex Gleason
2764cbf97a Merge branch 'deno-2.0.1' into 'main'
Upgrade to Deno v2.0.1

See merge request soapbox-pub/ditto!549
2024-10-17 03:30:26 +00:00
Alex Gleason
6e00412cc3
Upgrade to Deno v2.0.1 2024-10-16 20:27:46 -05:00
Alex Gleason
d1635712cf
Use nprofile and nevent links for external URLs in Account and Status 2024-10-16 10:13:37 -05:00
Alex Gleason
30d8cc4108
Test that DeepL translation doesn't alter Nostr URIs 2024-10-16 09:58:49 -05:00
Alex Gleason
bfe2c620e6
renderWebPushNotification: fix account without display_name 2024-10-15 17:16:53 -05:00
Alex Gleason
7fbda4a56b
Move push notification rendering to its own view 2024-10-15 17:13:39 -05:00
Alex Gleason
8bf0a443db
pipeline: Promise.all -> Promise.allSettled 2024-10-15 16:27:48 -05:00
Alex Gleason
45cf74c168
Encode VAPID public key with base64url 2024-10-15 15:51:52 -05:00
Alex Gleason
5b6cacc2ed Merge branch 'push' into 'main'
Add Web Push API

See merge request soapbox-pub/ditto!524
2024-10-15 15:41:21 +00:00
Alex Gleason
d9d280e6c1
Merge remote-tracking branch 'origin/main' into push 2024-10-14 19:59:37 -05:00
Alex Gleason
7ee1ca51d6
Delete not working controller test 2024-10-14 18:20:41 -05:00
Alex Gleason
95d970d8d0
webpush: add metrics and pipeline error handling 2024-10-14 18:06:22 -05:00
Alex Gleason
462f4ad786
Add placeholder data to push notification 2024-10-14 17:44:49 -05:00
Alex Gleason
4c5d98f402
webpush: don't notify author about own events 2024-10-14 17:31:05 -05:00
Alex Gleason
a7d8d86fa7
Add GET /api/v1/notifications/:id endpoint 2024-10-14 17:27:30 -05:00
Alex Gleason
30a5d9a20f
webpush: fix query error in pipeline 2024-10-14 16:24:13 -05:00
Alex Gleason
94d8d43d78
Add unique index on push_subscriptions token_hash 2024-10-14 16:02:07 -05:00
Alex Gleason
4019099c57
Add endpoint to GET a push subscription 2024-10-14 15:48:55 -05:00
Alex Gleason
b3928bac45
webpush: replace old subscriptions in transaction 2024-10-14 14:31:33 -05:00
Alex Gleason
94cf3b2931
Add push controller test 2024-10-13 23:29:06 -05:00
Alex Gleason
260340c58e
Fix EventsDB test 2024-10-13 16:41:20 -05:00
Alex Gleason
feec343d5a
EventsDB: fix plaintext search queries 2024-10-13 16:22:03 -05:00
Siddharth Singh
61ee6e5e8d
add allow-import flag to dockerfile 2024-10-13 23:47:29 +05:30
Alex Gleason
b6925a5491
webpush: enforce endpoint as a URL 2024-10-12 22:58:29 -05:00
Alex Gleason
3fa12e3ba5
Merge remote-tracking branch 'origin/main' into push 2024-10-11 18:06:37 -05:00
Alex Gleason
a7bca0bdff
Remove DittoWallet module 2024-10-11 18:06:17 -05:00