Commit Graph

  • 4940bbd481 size-limit-policy: Exclude replaceable and epheremal kinds, drop default to 8Kb. gitlab/production production Brian Lee 2024-01-09 08:51:32 -0800
  • c303045e33 size-limit-policy: add test. Brian Lee 2024-01-09 08:32:45 -0800
  • 94a3c8455d size-limit-policy: Exclude replaceable and epheremal kinds, drop default to 8Kb. Brian Lee 2024-01-08 20:51:27 -0800
  • b0a253500d Permit application-specific data in size policy. Brian Lee 2024-01-08 07:39:31 -0800
  • 7fad57c4a2 Update mod.ts Brian Lee 2024-01-07 20:12:15 -0800
  • b95b349515 Create a policy for filtering messages by size, excluding contact lists. Brian Lee 2024-01-07 19:59:15 -0800
  • 4d7d001288 Add debug logging for rate-limit-policy. Brian Lee 2024-01-07 18:49:30 -0800
  • e6624f9105 Notes for testing, bump lock for rate limit exclusions. Brian Lee 2023-10-11 13:41:21 -0700
  • b315173cde Rate limit exclusion for nostr.wine. Brian Lee 2023-10-11 10:26:21 -0700
  • b7a422eebc Initialize a production branch Brian Lee 2023-10-11 09:42:18 -0700
  • 1693b02ffd Merge a simple event kind policy. Brian Lee 2023-09-20 11:28:29 -0700
  • 433459d808
    README: performance main Alex Gleason 2023-04-18 19:31:02 -0400
  • 7b188170eb
    README: move Node.js section down Alex Gleason 2023-04-18 19:23:35 -0400
  • d1e726b612
    README: add sections on upgrading, npm, and FAQ Alex Gleason 2023-04-18 19:21:11 -0400
  • bc81d25f18
    README: add policies table Alex Gleason 2023-04-18 18:48:19 -0400
  • 6f77ec418b
    powPolicy: add example Alex Gleason 2023-04-18 18:30:42 -0400
  • 33ef127ca7
    pin esm.sh version with ?pin query, restore deno.lock Alex Gleason 2023-04-17 17:05:23 -0400
  • 0c646c8dcc Merge branch 'npm' into 'develop' Alex Gleason 2023-04-17 01:32:22 +0000
  • 8a75bc4441
    npm package typofix Alex Gleason 2023-04-16 20:30:58 -0500
  • 2b6d6b9520
    Disable lockfile for now Alex Gleason 2023-04-16 20:28:50 -0500
  • 7362216da8
    Setup for npm Alex Gleason 2023-04-16 20:26:32 -0500
  • 980b410957
    Add NPM build script Alex Gleason 2023-04-16 11:51:35 -0500
  • 8428aab570
    Export POW interface Alex Gleason 2023-04-11 20:20:06 -0500
  • fc690bd44c Merge branch 'upgrade-nostr-tools' into 'develop' Alex Gleason 2023-04-11 22:21:50 +0000
  • a37535d62e
    Upgrade nostr-tools, simplify powPolicy Alex Gleason 2023-04-11 16:42:08 -0500
  • 07088576eb
    powPolicy: clarify difficulty option comment Alex Gleason 2023-04-11 16:12:53 -0500
  • 2d880629cc Merge branch 'pow' into 'develop' Alex Gleason 2023-04-11 21:06:55 +0000
  • d652bf7a94
    Add NIP-13 proof-of-work policy Alex Gleason 2023-04-11 16:01:09 -0500
  • 3ab9364622 Merge branch 'openai' into 'develop' Alex Gleason 2023-03-30 23:18:21 +0000
  • 5ffa440349
    Add OpenAI policy Alex Gleason 2023-03-30 17:57:58 -0500
  • a327ec132f
    README: move available policies to the top Alex Gleason 2023-03-30 14:42:13 -0500
  • 608bd6069c
    Update README with docs link Alex Gleason 2023-03-30 14:41:19 -0500
  • 6f59f9ce84
    Make policies deno_doc friendly Alex Gleason 2023-03-30 14:18:18 -0500
  • 37213aec65
    antiDuplicationPolicy refactor opts Alex Gleason 2023-03-29 23:53:07 -0500
  • b32bfef342
    More refactoring Alex Gleason 2023-03-29 23:51:15 -0500
  • 48501f3c5f
    Improve stupid code Alex Gleason 2023-03-29 23:34:34 -0500
  • 566df31b4a Update README.md Alex Gleason 2023-03-30 04:10:01 +0000
  • efa60d9b48 Update README.md Alex Gleason 2023-03-30 04:07:58 +0000
  • 225dec7627
    io: print line before rethrowing error Alex Gleason 2023-03-28 21:57:59 -0500
  • c087e8fddd
    filter: fix streaming of large events Alex Gleason 2023-03-28 21:57:17 -0500
  • ba482e5dfb Merge branch 'nip20' into 'develop' Alex Gleason 2023-03-28 23:57:30 +0000
  • dc721bcaa8
    Return proper NIP-20 responses Alex Gleason 2023-03-28 18:52:53 -0500
  • 382f52604d Merge branch 'filter-policy' into 'develop' Alex Gleason 2023-03-28 23:41:54 +0000
  • f309142acf
    Add filterPolicy to block events that don't match the filter Alex Gleason 2023-03-28 17:22:30 -0500
  • 734c8ffc0d
    README: improve phrasing of intro Alex Gleason 2023-03-28 16:28:22 -0500
  • 84b5d56cb6
    filter: add a break statement Alex Gleason 2023-03-28 16:26:33 -0500
  • ae7d12ed30 Merge branch 'filter' into 'develop' Alex Gleason 2023-03-28 21:20:40 +0000
  • 1a83ce44ac
    Rearrange entrypoint.example.ts in a more sensible way Alex Gleason 2023-03-28 16:16:47 -0500
  • 8dc9f73bfd
    Add filter task to filter jsonl events by policy Alex Gleason 2023-03-28 15:57:06 -0500
  • 420a086f1d
    Make tests use in-memory db Alex Gleason 2023-03-28 12:30:53 -0500
  • 2aa05dc194
    Add regexPolicy, update other tests to use assertEquals Alex Gleason 2023-03-26 17:02:59 -0500
  • d38f5e06cf
    Add keyword policy Alex Gleason 2023-03-26 16:40:35 -0500
  • 31fd761278
    Add pipeline test Alex Gleason 2023-03-26 16:29:35 -0500
  • c1852ddd56
    Add test for rateLimitPolicy Alex Gleason 2023-03-26 16:23:03 -0500
  • a809da4249
    Add test for antiDuplicationPolicy Alex Gleason 2023-03-26 16:19:33 -0500
  • b641b03726
    Add test for noopPolicy Alex Gleason 2023-03-26 16:03:16 -0500
  • 9ca50cbe82
    Add test for hellthreadPolicy Alex Gleason 2023-03-26 16:02:05 -0500
  • 254b0f1f11
    Add whitelistPolicy Alex Gleason 2023-03-26 15:58:37 -0500
  • 817519c132
    pubkeyBanPolicy: support iterables Alex Gleason 2023-03-26 15:43:48 -0500
  • a8c55053b4
    Add pubkeyBanPolicy, improve tests Alex Gleason 2023-03-26 15:37:24 -0500
  • 184c013b2e
    deno fmt Alex Gleason 2023-03-25 12:00:11 -0500
  • 526005463c
    README: fix import URLs again Alex Gleason 2023-03-25 11:47:42 -0500
  • b279e042e1
    strfry can send multiple messages at once (!!) Alex Gleason 2023-03-25 11:38:27 -0500
  • 8c8c969486
    README: fix sample entrypoint import URLs Alex Gleason 2023-03-25 11:25:57 -0500
  • 75a97095d7 Merge branch 'overhaul' into 'develop' Alex Gleason 2023-03-25 15:18:33 +0000
  • 8030fe641a
    Add GitLab CI and a simple test Alex Gleason 2023-03-25 10:15:06 -0500
  • 37ce2db089
    Add a lot more detail to the README Alex Gleason 2023-03-25 10:06:40 -0500
  • c6c7b759e6
    Type tweaks Alex Gleason 2023-03-25 08:24:47 -0500
  • 2330349ad6
    Fix types... Jesus Alex Gleason 2023-03-24 22:33:12 -0500
  • 84ad093409
    Improve example entrypoint Alex Gleason 2023-03-24 20:51:30 -0500
  • ae0242fc26
    Make all policies accept opts, get rid of envvars Alex Gleason 2023-03-24 20:48:55 -0500
  • 2f4ebfbda2
    Export useful types in mod.ts Alex Gleason 2023-03-24 20:27:07 -0500
  • 6e342b9667
    Tweak types a little Alex Gleason 2023-03-24 20:23:38 -0500
  • 5a6af74413
    Add comments to types, deno fmt Alex Gleason 2023-03-24 20:17:51 -0500
  • f2f4dd7b8e
    Allow non-tuple values Alex Gleason 2023-03-24 20:06:03 -0500
  • 2d7d2da964
    Make pipeline take tuples with opts Alex Gleason 2023-03-24 19:55:58 -0500
  • b5fe0c5e67
    Add pipeline, scope out entrypoint.example.ts Alex Gleason 2023-03-24 16:08:36 -0500
  • 8e41f41002
    Add mod.ts Alex Gleason 2023-03-24 14:42:12 -0500
  • 78fae38268
    Rewrite all policies as policy modules Alex Gleason 2023-03-24 14:36:11 -0500
  • 64413d572b
    Add deps.ts Alex Gleason 2023-03-24 13:23:02 -0500
  • e3df8579a0
    Move types into their own file, import them Alex Gleason 2023-03-24 13:19:35 -0500
  • 7e503a3892
    Move policies into subdirectory Alex Gleason 2023-03-24 13:06:56 -0500
  • 5345613408
    Add rate-limit policy Alex Gleason 2023-03-21 00:20:27 -0500
  • c631edf3e3
    Add read-only policy Alex Gleason 2023-03-20 23:25:22 -0500
  • 3fc82e4144
    Fix policy execution Alex Gleason 2023-03-12 00:21:19 -0600
  • b9c55838b9
    Merge branch 'develop' of gitlab.com:soapbox-pub/strfry-policies into develop Alex Gleason 2023-03-11 23:43:54 -0600
  • 1f3688b94e
    Add (untested) anti duplication policy Alex Gleason 2023-03-11 23:43:33 -0600
  • 10a56180d3 hellthread: raise default limit to 100 Alex Gleason 2023-03-01 04:19:15 +0000
  • b3c13ca72e
    hellthread: only apply to event1 Alex Gleason 2023-02-28 20:35:03 -0600
  • 1d3bc34b91
    Add noop and hellthread policies Alex Gleason 2023-02-28 20:22:14 -0600