Commit Graph

1822 Commits

Author SHA1 Message Date
Alex Gleason fe46db3e04 Merge branch 'index-tag-name' into 'main'
Index nostr_tags.name

See merge request soapbox-pub/ditto!378
2024-06-14 02:37:58 +00:00
Alex Gleason 91fe7acbd2
Index nostr_tags.name 2024-06-13 21:36:07 -05:00
Alex Gleason 7186f49316
Remove URL restriction from r tag 2024-06-13 19:17:53 -05:00
Alex Gleason d06cafd0dd
nameRequestController: prevent submitting the same name twice 2024-06-13 19:11:59 -05:00
Alex Gleason 75c165371a Merge branch 'nip05-ownership' into 'main'
Bump Nostrify to v0.23.2, fix nameRequestsController

See merge request soapbox-pub/ditto!377
2024-06-13 23:49:03 +00:00
Alex Gleason 5658c5db08 nameRequestsController: `ids.size === 0` => `!ids.size` 2024-06-13 23:47:12 +00:00
Alex Gleason 44fe0c5e1d
Bump Nostrify to v0.23.2 2024-06-13 18:43:04 -05:00
Alex Gleason 100a5056eb
nameRequestsController: display only owned 3036 events 2024-06-13 18:42:59 -05:00
Alex Gleason e912210589 Merge branch 'feat-zap-counter' into 'main'
Create zap counter and zapped_by endpoint

See merge request soapbox-pub/ditto!371
2024-06-13 18:55:43 +00:00
Alex Gleason f8f86b832b Merge branch 'deno-v1.44.2' into 'main'
Upgrade Deno to v1.44.2

See merge request soapbox-pub/ditto!376
2024-06-13 18:55:12 +00:00
P. Reis 880b09e016 refactor: parse zap request with NSchema 2024-06-13 15:51:34 -03:00
Alex Gleason f60f9fd38f
Upgrade Deno to v1.44.2 2024-06-13 13:48:32 -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 7474c1b288 feat: add /api/v1/ditto/statuses/:id{[0-9a-f]{64}}/zapped_by endpoint 2024-06-13 00:49:21 -03:00
P. Reis b43aed2301 feat: create zappedByController 2024-06-13 00:48:31 -03:00
P. Reis 87967e4137 Merge branch 'main' into feat-zap-counter 2024-06-12 23:59:50 -03:00
Alex Gleason f1bce3d701
Add a CHANGELOG 2024-06-12 21:12:58 -05:00
Alex Gleason e96cb3ed40
Update ditto.conf, remove ipfs.service 2024-06-12 21:10:56 -05:00
Alex Gleason dc3ce6ee4f Merge branch 'instance-v2' into 'main'
Add instance v2 controller

See merge request soapbox-pub/ditto!375
2024-06-13 00:51:31 +00:00
Alex Gleason 4285763c9d
Add instance v2 controller 2024-06-12 19:47:26 -05:00
Alex Gleason 52360b7241 Merge branch 'setup' into 'main'
Add a setup script to generate the .env file

See merge request soapbox-pub/ditto!374
2024-06-13 00:32:16 +00:00
Alex Gleason 4e0a210041
Add a setup script to generate the .env file 2024-06-12 19:19:48 -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 1151f0c28b
EventsDB: strip nip27 mentions from search index 2024-06-11 18:56:11 -05:00
Alex Gleason b8546ae447
Include kind 3 in trending pubkeys again 2024-06-11 18:15:40 -05:00
Alex Gleason bf75ad0b41 Merge branch 'oauth-oob' into 'main'
Support OAuth OOB

See merge request soapbox-pub/ditto!373
2024-06-11 18:52:55 +00:00
Alex Gleason ddae4f408a
Support OAuth OOB 2024-06-11 13:40:09 -05:00
Alex Gleason e45ff80067 Merge branch 'strict-false' into 'main'
Disable Hono strict mode

See merge request soapbox-pub/ditto!372
2024-06-11 01:08:22 +00:00
Alex Gleason 899e7672dc
Disable Hono strict mode 2024-06-10 20:04:39 -05:00
P. Reis 0b49ee4fa6 feat(renderStatus): return zaps_amount 2024-06-10 10:39:34 -03:00
P. Reis d78bc038e8 fix: add zaps_amount to EventStats 2024-06-10 10:38:56 -03:00
P. Reis 18648f7be3 fix(hydrate): return zaps_amount in gatherEventStats 2024-06-10 10:00:58 -03:00
P. Reis c77da12f9d Merge branch 'main' into feat-zap-counter 2024-06-10 09:52:28 -03:00
P. Reis 4b58fb9bf2 feat(updateStats): handle kind 9735 2024-06-10 09:35:17 -03:00
P. Reis d260825660 feat: add 'zaps_amount' to EventStatsRow as number 2024-06-10 09:34:14 -03:00
P. Reis 1f4de9aed0 feat: add migration for 'zaps_amount' column 2024-06-10 09:34:07 -03:00
Alex Gleason 6b3e01a072
Upgrade nostrify to v0.23.1 2024-06-09 21:42:31 -05:00
Alex Gleason e7ed3c839c
AdminStore: fix users check 2024-06-09 19:48:33 -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 5fdbd572f2 Merge branch 'names-api' into 'main'
Names API

See merge request soapbox-pub/ditto!370
2024-06-09 20:35:05 +00: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
Alex Gleason 5379863d36
Tag the nip05 request in the grant event 2024-06-09 12:13:50 -05:00
Alex Gleason 2a2f43d106
Add admin name approve/reject endpoints 2024-06-09 11:57:10 -05:00
Alex Gleason 594f37ea33
Use past-tense for some n-tag values 2024-06-09 11:26:57 -05:00
Alex Gleason 8802cbd779
suggest -> suggested 2024-06-09 11:24:01 -05:00