Commit Graph

29 Commits

Author SHA1 Message Date
Alex Gleason
526005463c
README: fix import URLs again 2023-03-25 11:47:56 -05:00
Alex Gleason
b279e042e1
strfry can send multiple messages at once (!!) 2023-03-25 11:42:53 -05:00
Alex Gleason
8c8c969486
README: fix sample entrypoint import URLs 2023-03-25 11:25:57 -05:00
Alex Gleason
75a97095d7 Merge branch 'overhaul' into 'develop'
Overhaul

See merge request soapbox-pub/strfry-policies!1
2023-03-25 15:18:33 +00:00
Alex Gleason
8030fe641a
Add GitLab CI and a simple test 2023-03-25 10:15:06 -05:00
Alex Gleason
37ce2db089
Add a lot more detail to the README 2023-03-25 10:06:56 -05:00
Alex Gleason
c6c7b759e6
Type tweaks 2023-03-25 08:24:47 -05:00
Alex Gleason
2330349ad6
Fix types... Jesus 2023-03-24 22:33:12 -05:00
Alex Gleason
84ad093409
Improve example entrypoint 2023-03-24 20:51:30 -05:00
Alex Gleason
ae0242fc26
Make all policies accept opts, get rid of envvars 2023-03-24 20:48:55 -05:00
Alex Gleason
2f4ebfbda2
Export useful types in mod.ts 2023-03-24 20:27:07 -05:00
Alex Gleason
6e342b9667
Tweak types a little 2023-03-24 20:23:38 -05:00
Alex Gleason
5a6af74413
Add comments to types, deno fmt 2023-03-24 20:17:51 -05:00
Alex Gleason
f2f4dd7b8e
Allow non-tuple values 2023-03-24 20:06:03 -05:00
Alex Gleason
2d7d2da964
Make pipeline take tuples with opts 2023-03-24 19:56:23 -05:00
Alex Gleason
b5fe0c5e67
Add pipeline, scope out entrypoint.example.ts 2023-03-24 16:08:36 -05:00
Alex Gleason
8e41f41002
Add mod.ts 2023-03-24 14:42:12 -05:00
Alex Gleason
78fae38268
Rewrite all policies as policy modules 2023-03-24 14:36:11 -05:00
Alex Gleason
64413d572b
Add deps.ts 2023-03-24 13:23:02 -05:00
Alex Gleason
e3df8579a0
Move types into their own file, import them 2023-03-24 13:19:35 -05:00
Alex Gleason
7e503a3892
Move policies into subdirectory 2023-03-24 13:06:56 -05:00
Alex Gleason
5345613408
Add rate-limit policy 2023-03-21 00:20:27 -05:00
Alex Gleason
c631edf3e3
Add read-only policy 2023-03-20 23:25:22 -05:00
Alex Gleason
3fc82e4144
Fix policy execution 2023-03-12 00:21:19 -06:00
Alex Gleason
b9c55838b9
Merge branch 'develop' of gitlab.com:soapbox-pub/strfry-policies into develop 2023-03-11 23:43:54 -06:00
Alex Gleason
1f3688b94e
Add (untested) anti duplication policy 2023-03-11 23:43:33 -06:00
Alex Gleason
10a56180d3 hellthread: raise default limit to 100 2023-03-01 04:19:15 +00:00
Alex Gleason
b3c13ca72e
hellthread: only apply to event1 2023-02-28 20:35:03 -06:00
Alex Gleason
1d3bc34b91
Add noop and hellthread policies 2023-02-28 20:22:14 -06:00