Commit Graph

  • 03fc6e777c nginx: add more proxy headers Alex Gleason 2024-06-18 13:38:17 -05:00
  • a824d72a1a Add IP rate limiter Alex Gleason 2024-06-18 12:09:29 -05:00
  • 5ba0c8c14a Merge branch 'hono-jsr' into 'main' Alex Gleason 2024-06-18 16:53:42 +00:00
  • 66abfa38c3 Upgrade hono, switch it to use JSR Alex Gleason 2024-06-18 11:51:51 -05:00
  • f56aa26996 Merge branch 'uuid-trx' into 'main' Alex Gleason 2024-06-18 04:40:31 +00:00
  • 1fe4b4bb81 Upgrade kysely_deno_postgres Alex Gleason 2024-06-17 22:56:09 -05:00
  • 1294dcaa4e Merge branch 'revert-f81fcf0e' into 'main' Alex Gleason 2024-06-18 01:12:48 +00:00
  • c48b976d04 Revert "Merge branch 'stats-transaction' into 'main'" Alex Gleason 2024-06-18 01:11:03 +00:00
  • 1209b1c430 Merge branch 'fix-zap-amount-zero' into 'main' Alex Gleason 2024-06-18 00:16:09 +00:00
  • 8b67a05792 refactor: parse zap request with zod P. Reis 2024-06-17 21:07:27 -03:00
  • bf017195a6 refactor: sort imports alphabetically P. Reis 2024-06-17 20:15:51 -03:00
  • 98565efa12 refactor(bolt11): get amount with new library P. Reis 2024-06-17 19:49:18 -03:00
  • b237432312 fix: change bolt11 dependency to light-bolt11-decoder P. Reis 2024-06-17 19:40:47 -03:00
  • 2f3b656af5 Upgrade Nostrify to v0.23.3, remove normalizeFilters call in EventsDB (NDatabase does this now) Alex Gleason 2024-06-17 17:29:01 -05:00
  • f81fcf0eec Merge branch 'stats-transaction' into 'main' Alex Gleason 2024-06-17 21:42:54 +00:00
  • 74944dcd2a EventsDB: remove no longer relevant tests Alex Gleason 2024-06-17 16:35:58 -05:00
  • 8c3e16fd41 Ignore repetitive error message Alex Gleason 2024-06-17 16:29:52 -05:00
  • c6425ad7ff fix(bolt11): print error P. Reis 2024-06-17 18:15:42 -03:00
  • 96af3bb8bf Update stats in a transaction Alex Gleason 2024-06-17 16:04:58 -05:00
  • 7a29c349e8 fix: get amount from zap receipt if not present in zap request P. Reis 2024-06-17 14:50:46 -03:00
  • 2f49e94e4c test(bolt11): getAmount function P. Reis 2024-06-17 14:50:07 -03:00
  • 82bf36f064 feat(bolt11): create getAmount function P. Reis 2024-06-17 14:38:04 -03:00
  • d33ecdc0f6 build: specify bolt11 version P. Reis 2024-06-17 14:28:26 -03:00
  • d71eb47212 build(deno.lock): bolt11 dependencies P. Reis 2024-06-17 11:18:59 -03:00
  • ba9a578ec0 feat: add bolt11 dependency P. Reis 2024-06-17 11:05:14 -03:00
  • 1983171193 setup: removed unused node:url import Alex Gleason 2024-06-16 00:15:10 -05:00
  • dbacb6b63a setup: handle DATABASE_URL more transparently on re-runs Alex Gleason 2024-06-16 00:14:43 -05:00
  • 078c267bb8 Merge branch 'config-cleanup' into 'main' Alex Gleason 2024-06-16 04:53:51 +00:00
  • c3af8299f1 Spread s3 config Fixes https://gitlab.com/soapbox-pub/ditto/-/issues/156 Alex Gleason 2024-06-15 23:51:50 -05:00
  • c39fd2daa2 Improve the setup script and clean up config Alex Gleason 2024-06-15 23:41:19 -05:00
  • 287c89b9fd Merge branch 'entity-types' into 'main' Alex Gleason 2024-06-16 00:38:40 +00:00
  • e63ee9b5a3 Add interfaces for Mastodon entity types, hide deactivated accounts Alex Gleason 2024-06-15 19:36:34 -05:00
  • 06db5d2b1d Merge branch 'trends-serial' into 'main' Alex Gleason 2024-06-15 23:35:20 +00:00
  • 6ce8aae0d1 trends: rewrite getTrendingTags to process the history in serial, split across several queries Alex Gleason 2024-06-15 18:14:38 -05:00
  • 1afd8a739a Update deno.lock Alex Gleason 2024-06-15 17:20:39 -05:00
  • a3b7acd1c1 Cache trends API results at a different interval than trends calculations Alex Gleason 2024-06-15 17:18:55 -05:00
  • 844ebe0323 Merge branch 'trends-script' into 'main' Alex Gleason 2024-06-15 17:19:07 +00:00
  • 8d8e46eae8 Add a script to update trends Alex Gleason 2024-06-15 11:51:55 -05:00
  • 72ca7af7f0 admin-role script: minor tweaks Alex Gleason 2024-06-15 11:40:03 -05:00
  • 97951d5d91 Merge branch 'admin-role-script-support-npub' into 'main' Alex Gleason 2024-06-14 21:24:00 +00:00
  • cc14f2a549 fix accidental vscode changes Siddharth Singh 2024-06-14 21:02:40 +05:30
  • e3f86e1b54 README: remove WIP comment Alex Gleason 2024-06-14 08:34:54 -05:00
  • 3b6ebc651b README: check all the boxes Alex Gleason 2024-06-14 08:34:10 -05:00
  • 9c640ca86b Change verson to v1.0.0 Alex Gleason 2024-06-14 08:31:12 -05:00
  • fe46db3e04 Merge branch 'index-tag-name' into 'main' Alex Gleason 2024-06-14 02:37:58 +00:00
  • 91fe7acbd2 Index nostr_tags.name Alex Gleason 2024-06-13 21:36:07 -05:00
  • 7186f49316 Remove URL restriction from r tag Alex Gleason 2024-06-13 19:17:53 -05:00
  • d06cafd0dd nameRequestController: prevent submitting the same name twice Alex Gleason 2024-06-13 19:11:59 -05:00
  • 75c165371a Merge branch 'nip05-ownership' into 'main' Alex Gleason 2024-06-13 23:49:03 +00:00
  • 5658c5db08 nameRequestsController: ids.size === 0 => !ids.size Alex Gleason 2024-06-13 23:47:12 +00:00
  • 44fe0c5e1d Bump Nostrify to v0.23.2 Alex Gleason 2024-06-13 18:43:04 -05:00
  • 100a5056eb nameRequestsController: display only owned 3036 events Alex Gleason 2024-06-13 16:54:03 -05:00
  • e912210589 Merge branch 'feat-zap-counter' into 'main' Alex Gleason 2024-06-13 18:55:43 +00:00
  • f8f86b832b Merge branch 'deno-v1.44.2' into 'main' Alex Gleason 2024-06-13 18:55:12 +00:00
  • 880b09e016 refactor: parse zap request with NSchema P. Reis 2024-06-13 15:51:13 -03:00
  • f60f9fd38f Upgrade Deno to v1.44.2 Alex Gleason 2024-06-13 13:48:32 -05:00
  • 22dbddb5d3 refactor: zap amount parsed with zod, change zapped_by fields name P. Reis 2024-06-13 14:21:01 -03:00
  • 7474c1b288 feat: add /api/v1/ditto/statuses/:id{[0-9a-f]{64}}/zapped_by endpoint P. Reis 2024-06-13 00:49:21 -03:00
  • b43aed2301 feat: create zappedByController P. Reis 2024-06-13 00:48:31 -03:00
  • 87967e4137 Merge branch 'main' into feat-zap-counter P. Reis 2024-06-12 23:59:50 -03:00
  • f1bce3d701 Add a CHANGELOG Alex Gleason 2024-06-12 21:12:58 -05:00
  • e96cb3ed40 Update ditto.conf, remove ipfs.service Alex Gleason 2024-06-12 21:10:56 -05:00
  • dc3ce6ee4f Merge branch 'instance-v2' into 'main' Alex Gleason 2024-06-13 00:51:31 +00:00
  • 4285763c9d Add instance v2 controller Alex Gleason 2024-06-12 19:47:26 -05:00
  • 52360b7241 Merge branch 'setup' into 'main' Alex Gleason 2024-06-13 00:32:16 +00:00
  • 4e0a210041 Add a setup script to generate the .env file Alex Gleason 2024-06-12 19:19:48 -05:00
  • edddc5384c Support OAuth "state" param Alex Gleason 2024-06-12 18:04:04 -05:00
  • 7dbd40a88b Fix issues with adminAccountsController Alex Gleason 2024-06-12 12:50:22 -05:00
  • c6da216b4e trends: calculate since the last label date instead of current date Alex Gleason 2024-06-11 19:08:24 -05:00
  • 1151f0c28b EventsDB: strip nip27 mentions from search index Alex Gleason 2024-06-11 18:56:11 -05:00
  • b8546ae447 Include kind 3 in trending pubkeys again Alex Gleason 2024-06-11 18:15:40 -05:00
  • bf75ad0b41 Merge branch 'oauth-oob' into 'main' Alex Gleason 2024-06-11 18:52:55 +00:00
  • ddae4f408a Support OAuth OOB Alex Gleason 2024-06-11 13:40:09 -05:00
  • e45ff80067 Merge branch 'strict-false' into 'main' Alex Gleason 2024-06-11 01:08:22 +00:00
  • 899e7672dc Disable Hono strict mode Alex Gleason 2024-06-10 20:04:39 -05:00
  • 0b49ee4fa6 feat(renderStatus): return zaps_amount P. Reis 2024-06-10 10:39:34 -03:00
  • d78bc038e8 fix: add zaps_amount to EventStats P. Reis 2024-06-10 10:38:56 -03:00
  • 18648f7be3 fix(hydrate): return zaps_amount in gatherEventStats P. Reis 2024-06-10 10:00:58 -03:00
  • c77da12f9d Merge branch 'main' into feat-zap-counter P. Reis 2024-06-10 09:52:28 -03:00
  • 4b58fb9bf2 feat(updateStats): handle kind 9735 P. Reis 2024-06-10 09:33:24 -03:00
  • d260825660 feat: add 'zaps_amount' to EventStatsRow as number P. Reis 2024-06-08 09:08:14 -03:00
  • 1f4de9aed0 feat: add migration for 'zaps_amount' column P. Reis 2024-06-08 08:57:16 -03:00
  • 6b3e01a072 Upgrade nostrify to v0.23.1 Alex Gleason 2024-06-09 21:42:31 -05:00
  • e7ed3c839c AdminStore: fix users check Alex Gleason 2024-06-09 19:48:33 -05:00
  • d1ba797c93 Add revoke_name admin action Alex Gleason 2024-06-09 19:22:11 -05:00
  • 229975a752 adminActionController: delete user's events on suspend Alex Gleason 2024-06-09 18:50:45 -05:00
  • 5fdbd572f2 Merge branch 'names-api' into 'main' Alex Gleason 2024-06-09 20:35:05 +00:00
  • 42fac52e9e Support streaming notifications Alex Gleason 2024-06-09 15:31:14 -05:00
  • 2245263011 Add ditto:name_grant notification Alex Gleason 2024-06-09 14:50:37 -05:00
  • 07a380fb75 Rework adminAccountsController to display pending accounts from nip05 requests Alex Gleason 2024-06-09 13:43:40 -05:00
  • 5379863d36 Tag the nip05 request in the grant event Alex Gleason 2024-06-09 12:13:50 -05:00
  • 2a2f43d106 Add admin name approve/reject endpoints Alex Gleason 2024-06-09 11:57:10 -05:00
  • 594f37ea33 Use past-tense for some n-tag values Alex Gleason 2024-06-09 11:26:57 -05:00
  • 8802cbd779 suggest -> suggested Alex Gleason 2024-06-09 11:24:01 -05:00
  • 58a01f90de Paginate reports Alex Gleason 2024-06-09 11:07:37 -05:00
  • 8a7cae9841 Refactor reports more, add reopen endpoint Alex Gleason 2024-06-09 11:03:46 -05:00
  • 177f25ad96 Merge branch 'nip05-request' into 'main' Alex Gleason 2024-06-09 15:10:30 +00:00
  • bd6424acf5 Add preliminary nameRequestsController Alex Gleason 2024-06-08 22:16:34 -05:00
  • a14515bbe0 Rework reports with event sets Alex Gleason 2024-06-08 19:48:56 -05:00
  • a2d865d6cc Generate an internal event for each report and invite request Alex Gleason 2024-06-08 17:54:39 -05:00