Commit graph

1902 commits

Author SHA1 Message Date
Alex Gleason
8c3e16fd41
Ignore repetitive error message 2024-06-17 16:29:52 -05:00
P. Reis
c6425ad7ff fix(bolt11): print error 2024-06-17 18:15:42 -03:00
Alex Gleason
96af3bb8bf
Update stats in a transaction 2024-06-17 16:07:03 -05:00
P. Reis
7a29c349e8 fix: get amount from zap receipt if not present in zap request 2024-06-17 14:51:12 -03:00
P. Reis
2f49e94e4c test(bolt11): getAmount function 2024-06-17 14:51:12 -03:00
P. Reis
82bf36f064 feat(bolt11): create getAmount function 2024-06-17 14:51:09 -03:00
P. Reis
d33ecdc0f6 build: specify bolt11 version 2024-06-17 14:28:26 -03:00
P. Reis
d71eb47212 build(deno.lock): bolt11 dependencies 2024-06-17 11:18:59 -03:00
P. Reis
ba9a578ec0 feat: add bolt11 dependency 2024-06-17 11:05:14 -03:00
Alex Gleason
1983171193
setup: removed unused node:url import 2024-06-16 00:15:10 -05:00
Alex Gleason
dbacb6b63a
setup: handle DATABASE_URL more transparently on re-runs 2024-06-16 00:14:43 -05:00
Alex Gleason
078c267bb8 Merge branch 'config-cleanup' into 'main'
Improve the setup script and clean up config

Closes #156

See merge request soapbox-pub/ditto!384
2024-06-16 04:53:51 +00:00
Alex Gleason
c3af8299f1
Spread s3 config
Fixes https://gitlab.com/soapbox-pub/ditto/-/issues/156
2024-06-15 23:51:50 -05:00
Alex Gleason
c39fd2daa2
Improve the setup script and clean up config 2024-06-15 23:41:19 -05:00
Alex Gleason
287c89b9fd Merge branch 'entity-types' into 'main'
Add interfaces for Mastodon entity types, hide deactivated accounts

See merge request soapbox-pub/ditto!383
2024-06-16 00:38:40 +00:00
Alex Gleason
e63ee9b5a3
Add interfaces for Mastodon entity types, hide deactivated accounts 2024-06-15 19:36:34 -05:00
Alex Gleason
06db5d2b1d Merge branch 'trends-serial' into 'main'
trends: rewrite getTrendingTags to process the history in serial, split across several queries

See merge request soapbox-pub/ditto!382
2024-06-15 23:35:20 +00: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
1afd8a739a
Update deno.lock 2024-06-15 17:20:39 -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
844ebe0323 Merge branch 'trends-script' into 'main'
Add a script to update trends

See merge request soapbox-pub/ditto!380
2024-06-15 17:19:07 +00:00
Alex Gleason
8d8e46eae8
Add a script to update trends 2024-06-15 12:13:35 -05:00
Alex Gleason
72ca7af7f0
admin-role script: minor tweaks 2024-06-15 11:40:03 -05:00
Alex Gleason
97951d5d91 Merge branch 'admin-role-script-support-npub' into 'main'
support npubs in admin:role script

See merge request soapbox-pub/ditto!366
2024-06-14 21:24:00 +00:00
Siddharth Singh
cc14f2a549
fix accidental vscode changes 2024-06-14 21:02:40 +05:30
Alex Gleason
e3f86e1b54
README: remove WIP comment
Although it is, we don't need to warn people about that anymore
2024-06-14 08:34:54 -05:00
Alex Gleason
3b6ebc651b
README: check all the boxes 2024-06-14 08:34:10 -05:00
Alex Gleason
9c640ca86b
Change verson to v1.0.0 2024-06-14 08:32:49 -05:00
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