Alex Gleason
|
8960bdcca9
|
Add Policy metrics
|
2024-07-30 15:47:55 -05:00 |
|
P. Reis
|
797c866830
|
refactor: storeEvent does not return event, move kysely into a variable above
|
2024-06-24 12:07:33 -03:00 |
|
P. Reis
|
fdb720386d
|
fix(handleZaps): reject all kinds but 9735
|
2024-06-23 23:51:10 -03:00 |
|
P. Reis
|
e1ee3bd8e9
|
refactor: remove scavenger, put logic directly into pipeline
|
2024-06-23 23:45:32 -03:00 |
|
P. Reis
|
3a8ade4de2
|
Merge branch 'main' into zapped-by-pagination-sort-amount
|
2024-06-23 18:49:56 -03:00 |
|
Alex Gleason
|
31a5533fd7
|
Add Prometheus metrics
|
2024-06-21 22:38:25 -05:00 |
|
P. Reis
|
9731fc2572
|
feat: add scavenger to the pipeline
|
2024-06-21 22:25:34 -03:00 |
|
Alex Gleason
|
003d60c959
|
Don't display posts of disabled user on their profile
|
2024-06-19 14:06:02 -05:00 |
|
Alex Gleason
|
c48b976d04
|
Revert "Merge branch 'stats-transaction' into 'main'"
This reverts merge request !386
|
2024-06-18 01:11:03 +00:00 |
|
Alex Gleason
|
8c3e16fd41
|
Ignore repetitive error message
|
2024-06-17 16:29:52 -05:00 |
|
Alex Gleason
|
96af3bb8bf
|
Update stats in a transaction
|
2024-06-17 16:07:03 -05:00 |
|
Alex Gleason
|
594f37ea33
|
Use past-tense for some n-tag values
|
2024-06-09 11:26:57 -05:00 |
|
Alex Gleason
|
bd6424acf5
|
Add preliminary nameRequestsController
|
2024-06-08 22:16:34 -05:00 |
|
Alex Gleason
|
a2d865d6cc
|
Generate an internal event for each report and invite request
|
2024-06-08 18:06:05 -05:00 |
|
Alex Gleason
|
e5fadafc7a
|
Create AdminStore to filter out banned users
|
2024-06-08 12:58:59 -05:00 |
|
Alex Gleason
|
a30cdec79b
|
pipeline: ensure event doesn't already exist in DB
|
2024-06-08 12:22:00 -05:00 |
|
Alex Gleason
|
c677e9484d
|
Remove self-service NIP-05 for now
|
2024-06-04 09:59:11 -05:00 |
|
Alex Gleason
|
051f23d908
|
Remove TrendsWorker
|
2024-06-02 19:44:20 -05:00 |
|
Alex Gleason
|
9d50a76c0c
|
Merge remote-tracking branch 'origin/main' into policy-once
|
2024-05-31 13:47:53 -05:00 |
|
Alex Gleason
|
3dd25feddc
|
EventsDB: throw an error if since and until are too large
|
2024-05-31 13:33:53 -05:00 |
|
Alex Gleason
|
a2c5e824b9
|
Import the custom policy only once
|
2024-05-31 12:27:38 -05:00 |
|
Alex Gleason
|
ec6b72229c
|
pipeline: move created_at check up
|
2024-05-30 12:33:55 -05:00 |
|
Alex Gleason
|
60b762a165
|
Enforce a created_at max value
|
2024-05-29 18:26:10 -05:00 |
|
Alex Gleason
|
78044cc8b6
|
Remove NWC, return a Ln-Invoice header on the zap endpoint
|
2024-05-28 16:54:57 -05:00 |
|
P. Reis
|
a519637bee
|
fix(pipeline-zap): allow 'event' to proceed even without 'user' field
|
2024-05-28 17:40:10 -03:00 |
|
Alex Gleason
|
a15013e22a
|
Remove Optimizer and Reqmeister
|
2024-05-25 12:22:01 -05:00 |
|
Alex Gleason
|
6684edaeaf
|
pipeline: fix race condition in encounterEvent
|
2024-05-25 12:13:55 -05:00 |
|
Alex Gleason
|
f7c9a96719
|
Nuke the old stats module, support emoji reactions on posts
|
2024-05-24 17:40:51 -05:00 |
|
Alex Gleason
|
9839b8138f
|
tags.ts -> utils/tags.ts
|
2024-05-21 13:08:08 -05:00 |
|
Alex Gleason
|
4df2c7ba9c
|
Improve EventsDB error handling
|
2024-05-16 10:29:14 -05:00 |
|
Alex Gleason
|
2ede439005
|
Upgrade Nostrify to v0.19.1, fix phantom deletions
|
2024-05-16 09:29:53 -05:00 |
|
Alex Gleason
|
9e9ab40886
|
Run the custom policy in a worker for security
|
2024-05-15 20:19:49 -05:00 |
|
Alex Gleason
|
6a1b8b0943
|
policy: improve error handling
|
2024-05-15 19:30:20 -05:00 |
|
Alex Gleason
|
8a672c93ec
|
Debug custom policies with ditto:policy
|
2024-05-15 18:59:51 -05:00 |
|
Alex Gleason
|
8e68d13ff1
|
Let custom policy be configured with DITTO_POLICY
|
2024-05-15 18:49:55 -05:00 |
|
Alex Gleason
|
221c41fdfa
|
EventsDB: make it a simple wrapper around NDatabase
|
2024-05-14 21:23:25 -05:00 |
|
Alex Gleason
|
a4226a963f
|
Rework Kysely db to be async
|
2024-05-14 18:44:42 -05:00 |
|
Alex Gleason
|
68b5887ed0
|
Don't let your memes be dreams
|
2024-05-14 18:24:34 -05:00 |
|
Alex Gleason
|
eef349f1e9
|
Update stats before storing event
|
2024-05-14 15:05:59 -05:00 |
|
Alex Gleason
|
46b5bbf841
|
Uppercase CustomPolicy
|
2024-05-14 14:39:48 -05:00 |
|
Alex Gleason
|
ecfea827e1
|
Move RelayError into its own file, add helper methods
|
2024-05-14 14:38:38 -05:00 |
|
P. Reis
|
4029971407
|
fix(pipeline): load custom policy if available
|
2024-05-13 17:44:33 -03:00 |
|
Alex Gleason
|
6105e00c80
|
pipeline: add a placeholder for custom policy
|
2024-05-13 12:43:01 -05:00 |
|
Alex Gleason
|
9bff7a5086
|
Fix some issues in pipeline and utils/api.ts
|
2024-05-13 12:30:56 -05:00 |
|
P. Reis
|
fe66937bba
|
feat: do not allow deactivated accounts to post
|
2024-05-11 12:04:44 -03:00 |
|
Alex Gleason
|
2b2499849f
|
pipeline: fix reqmeister crash, probably
|
2024-05-03 13:52:11 -05:00 |
|
Alex Gleason
|
e9c5ef89ff
|
Reqmeister: improve API and fetching logic (untested)
|
2024-05-03 13:33:50 -05:00 |
|
Alex Gleason
|
705e8e7c31
|
PoolStore: implement NRelay
|
2024-05-03 13:23:00 -05:00 |
|
Alex Gleason
|
4045a6bdfc
|
Catch metadata when parsing
|
2024-05-01 19:55:58 -05:00 |
|
Alex Gleason
|
87264eeef1
|
Remove relays table from the database, track them with a NIP-65 admin event
|
2024-05-01 19:15:20 -05:00 |
|