Commit graph

602 commits

Author SHA1 Message Date
P. Reis
23bb24929c refactor: remove zap split creation from instanceV1Controller endpoint 2024-07-24 10:54:56 -03:00
Alex Gleason
2b8009d840
trends: catch initial queries 2024-07-23 23:07:34 -05:00
Alex Gleason
5ebde99320
trends: Deno.cron try/catch 2024-07-23 22:19:53 -05:00
P. Reis
0e43d1e8a7 refactor: add zap tag with new data structure 2024-07-23 22:40:38 -03:00
P. Reis
c49460e37d refactor(instance.ts): use new zap_split data structure in ditto hard coded pubkey 2024-07-23 20:41:02 -03:00
P. Reis
7cdfb67b99 refactor: rename officialDittoAccountPubkey to dittoPubkey & officialDittoAccountMsg to dittoMsg 2024-07-23 20:25:02 -03:00
P. Reis
a0c952b9b9 refactor: do not use isObjectEmpty function in if condition, zap tag 2024-07-23 20:15:44 -03:00
P. Reis
de32930c44 refactor: use exclamation mark (bang) instead of 'as string' cast 2024-07-23 18:26:06 -03:00
P. Reis
80e14c65c0 refactor: rename zap_split.ts to zap-split.ts, rename tests as well 2024-07-23 18:14:22 -03:00
P. Reis
5a5e8b7c5d feat(createStatusController): add 'zap' tag to event 2024-07-21 20:11:26 -03:00
P. Reis
449a3497ba feat: create deleteZapSplitsController 2024-07-21 19:40:55 -03:00
P. Reis
2e66af26db feat: create updateZapSplitsController 2024-07-21 19:26:05 -03:00
P. Reis
2fe9b9f98d feat: get zap splits and return it in api/v1/instance endpoint 2024-07-21 19:22:53 -03:00
Alex Gleason
96fe8920cd
Make database timeouts configurable 2024-07-12 13:49:44 -05:00
Alex Gleason
92061c267e
Merge remote-tracking branch 'origin/main' into ws-limit 2024-07-11 17:02:00 -05:00
Alex Gleason
fa53dd7f8d
createStatusController: add relay hints
Fixes https://github.com/nostrability/nostrability/issues/52
2024-07-07 00:23:00 +01:00
Alex Gleason
3e7bab538a
Increase timeout for account statuses endpoint and feed endpoints 2024-07-02 20:13:44 +01:00
Alex Gleason
c7092f5d2d
Increase query timeout of feeds 2024-07-02 09:22:59 +01:00
Alex Gleason
fd769c125c Merge branch 'zapped-by-pagination-sort-amount' into 'main'
zapped_by: add pagination & sort amount

Closes #159

See merge request soapbox-pub/ditto!394
2024-07-02 05:17:11 +00:00
Alex Gleason
ae687bb525
Increase timeouts 2024-07-01 23:05:03 +01:00
Alex Gleason
3ae6d39ebc
Increase notifications endpoint timeout 2024-07-01 20:29:06 +01:00
Alex Gleason
e6cd3d9e47
prometheus: add gauges for websocket connections 2024-06-24 09:23:26 -05:00
P. Reis
0d7ef68353 feat: add pagination and sort by amount - zapped_by endpoint 2024-06-23 13:38:40 -03:00
Alex Gleason
53e7e856c1
streamingController: bail early if limited 2024-06-20 16:20:18 -05:00
Alex Gleason
44dfd15502
streamingController: rate-limit with ttl-cache 2024-06-20 16:15:31 -05:00
Alex Gleason
766290bd45 accountStatusesController: fix oopsie whoopsie TypeError (gj TypeScript) 2024-06-20 05:59:41 +00:00
Alex Gleason
003d60c959
Don't display posts of disabled user on their profile 2024-06-19 14:06:02 -05:00
Alex Gleason
6ee9eb63d3
Get Ditto version from deno.json 2024-06-18 18:05:11 -05:00
Alex Gleason
66abfa38c3
Upgrade hono, switch it to use JSR 2024-06-18 11:51:51 -05:00
P. Reis
8b67a05792 refactor: parse zap request with zod 2024-06-17 21:07:27 -03:00
P. Reis
bf017195a6 refactor: sort imports alphabetically 2024-06-17 20:15:51 -03:00
P. Reis
7a29c349e8 fix: get amount from zap receipt if not present in zap request 2024-06-17 14:51:12 -03:00
Alex Gleason
6ce8aae0d1
trends: rewrite getTrendingTags to process the history in serial, split across several queries 2024-06-15 18:14:38 -05:00
Alex Gleason
a3b7acd1c1
Cache trends API results at a different interval than trends calculations 2024-06-15 17:18:55 -05:00
Alex Gleason
9c640ca86b
Change verson to v1.0.0 2024-06-14 08:32:49 -05:00
Alex Gleason
d06cafd0dd
nameRequestController: prevent submitting the same name twice 2024-06-13 19:11:59 -05:00
Alex Gleason
5658c5db08 nameRequestsController: ids.size === 0 => !ids.size 2024-06-13 23:47:12 +00:00
Alex Gleason
100a5056eb
nameRequestsController: display only owned 3036 events 2024-06-13 18:42:59 -05:00
P. Reis
22dbddb5d3 refactor: zap amount parsed with zod, change zapped_by fields name 2024-06-13 14:21:01 -03:00
P. Reis
b43aed2301 feat: create zappedByController 2024-06-13 00:48:31 -03:00
Alex Gleason
4285763c9d
Add instance v2 controller 2024-06-12 19:47:26 -05:00
Alex Gleason
edddc5384c
Support OAuth "state" param 2024-06-12 18:04:04 -05:00
Alex Gleason
7dbd40a88b
Fix issues with adminAccountsController 2024-06-12 12:50:22 -05:00
Alex Gleason
c6da216b4e
trends: calculate since the last label date instead of current date 2024-06-11 19:08:24 -05:00
Alex Gleason
ddae4f408a
Support OAuth OOB 2024-06-11 13:40:09 -05:00
Alex Gleason
d1ba797c93
Add revoke_name admin action 2024-06-09 19:22:11 -05:00
Alex Gleason
229975a752
adminActionController: delete user's events on suspend 2024-06-09 18:50:45 -05:00
Alex Gleason
42fac52e9e
Support streaming notifications 2024-06-09 15:31:14 -05:00
Alex Gleason
2245263011
Add ditto:name_grant notification 2024-06-09 14:50:37 -05:00
Alex Gleason
07a380fb75
Rework adminAccountsController to display pending accounts from nip05 requests 2024-06-09 13:43:40 -05:00