Commit graph

75 commits

Author SHA1 Message Date
Alex Gleason
8f4ae833ca
logi: message -> msg 2025-01-29 12:30:46 -06:00
Alex Gleason
2165e649bc
Remove Stickynotes, replace all occurrences of console.log with logi 2025-01-27 18:11:32 -06:00
Alex Gleason
515c70f038
Switch to httpbingo in tests so testing over https works 2024-11-13 15:34:41 -06:00
Alex Gleason
674781daf1
Upgrade safe-fetch 2024-11-13 15:23:42 -06:00
Alex Gleason
459adadd4c
Deny reading .env 2024-11-07 13:32:53 -06:00
Alex Gleason
c048cda2e5
Upgrade @gleasonator/policy in deno.lock, increase policy db timeout
Fixes https://gitlab.com/soapbox-pub/ditto/-/issues/244
2024-10-09 20:22:12 -05:00
Alex Gleason
4d146dcc98
Add names to web workers 2024-10-09 17:58:11 -05:00
Alex Gleason
bf2e20f2ce
Upgrade to Deno v2.0 2024-10-09 04:17:55 -05:00
Alex Gleason
3b5b4cbd6b
Expose the Ditto pubkey to the policy worker 2024-10-04 19:21:56 -05:00
Alex Gleason
ff658cf496
policy: fix Error constructor 2024-09-25 15:10:12 -05:00
Alex Gleason
f50b41f22b
Refactor PolicyWorker error handling 2024-09-25 15:01:40 -05:00
Alex Gleason
fc73cb2961
Upgrade Nostrify 2024-09-23 22:16:03 -05:00
Alex Gleason
6a8b22d018
metrics: improve fetch response metrics 2024-09-23 21:29:50 -05:00
Alex Gleason
6d0611dafe
Pass signal into policy 2024-09-23 18:04:12 -05:00
Alex Gleason
cd66234af7
Ugrade to Deno 2.0 2024-09-22 17:35:04 -05:00
Alex Gleason
6b66e61ee9
PolicyWorker: mock Deno.env 2024-09-11 14:34:41 -05:00
Alex Gleason
cae0f492f3
Let PolicyWorker run in sandbox with store 2024-09-11 14:04:11 -05:00
Alex Gleason
d2fb3fd253
Make EventsDB not rely on Conf 2024-09-11 13:06:20 -05:00
Alex Gleason
f3ae200833
Simplify database interfaces, make tests use pglite 2024-09-11 11:48:58 -05:00
Alex Gleason
dc8d09a9da
Remove SQLite support 2024-09-11 11:08:33 -05:00
Alex Gleason
3bec54ee76
Let SQLite transfer asyncIterables 2024-08-02 16:45:41 -05:00
Alex Gleason
39fb1eee5f
Import Sentry into workers 2024-06-23 11:59:08 -05:00
Alex Gleason
e50ba819b9
metrics: remove path from fetch and request metrics 2024-06-22 09:08:32 -05:00
Alex Gleason
31a5533fd7
Add Prometheus metrics 2024-06-21 22:38:25 -05:00
Alex Gleason
051f23d908
Remove TrendsWorker 2024-06-02 19:44:20 -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
a2c5e824b9
Import the custom policy only once 2024-05-31 12:27:38 -05:00
Alex Gleason
5822253796
Fix trends 2024-05-21 18:00:57 -05:00
Alex Gleason
b2a5ff3eaf
Make Trends use SQLite again 2024-05-21 17:14:26 -05:00
Alex Gleason
4d21dd05a8
Merge remote-tracking branch 'origin/main' into refactor-trends 2024-05-21 16:45:58 -05:00
Alex Gleason
8f393aa604
Remove ActivityPub actor endpoint, remove deps.ts 2024-05-21 12:51:19 -05:00
Siddharth Singh
f19629600d
rewrite trendsworker with kysely and deno cron, format changes 2024-05-20 00:05:03 +05:30
Alex Gleason
f14b64b003
Remove useless policy dir 2024-05-15 20:35:35 -05:00
Alex Gleason
0b6b62f3b3
policyWorker: import deno-safe-fetch 2024-05-15 20:27:54 -05:00
Alex Gleason
9e9ab40886
Run the custom policy in a worker for security 2024-05-15 20:19:49 -05:00
Alex Gleason
f163af55d8
Remove deps-test.ts 2024-05-14 19:19:57 -05:00
Alex Gleason
43e8f2a698
Use a Kysely logger to log SQL regardless of the adapter used 2024-05-08 12:56:42 -05:00
Alex Gleason
fc7ed8bf24
Remove zod schemas that we can get from NSchema 2024-05-01 19:51:12 -05:00
Alex Gleason
444a6efd7d
Upgrade kysely-deno-sqlite, fix the type 2024-05-01 18:40:04 -05:00
Alex Gleason
7de5cdc18d
@db/sqlite, scoped_performance aliases 2024-05-01 16:40:58 -05:00
Alex Gleason
3513206de1
stickynotes alias 2024-05-01 16:14:50 -05:00
Alex Gleason
58ed1b111f
Comlink alias 2024-05-01 15:55:56 -05:00
Alex Gleason
23e00b0042
Make Kysely an import alias 2024-05-01 09:26:17 -05:00
Alex Gleason
0bb4ccf5c9
Move nostr-tools to an import alias 2024-04-30 18:43:53 -05:00
Alex Gleason
9ccf6bbea0
Mold the things to work with Postgres 2024-04-19 20:52:42 -05:00
Alex Gleason
9c91e41e87
Switch NSpec to Nostrify, update imports 2024-04-19 16:39:35 -05:00
P. Reis
0f4c76c761 refactor(fetch test): resolve import specifier via the active import map 2024-04-12 14:26:45 -03:00
Alex Gleason
2fb2b2ce2a
SqliteWorker: log query parameters 2024-04-08 09:13:20 -05:00
Alex Gleason
4e999d0f39
SqliteWorker: only call perf functions when debugging is enabled 2024-04-08 08:51:04 -05:00
Alex Gleason
8185843f12
SqliteWorker: clear performance marks & measures 2024-04-08 08:37:37 -05:00