Commit Graph

  • 8d1b1b8abc Add encrypted captcha answer, move AES utils Alex Gleason 2024-10-03 19:36:44 -05:00
  • f83ad0dbce Add preliminary captcha controller Alex Gleason 2024-10-03 19:23:22 -05:00
  • 045508c4ba Merge branch 'more-dockerfile-fixes' into 'main' Alex Gleason 2024-10-04 00:22:07 +00:00
  • d0666ff818 Merge branch 'fix-db-export' into 'main' Alex Gleason 2024-10-04 00:20:00 +00:00
  • 92aebbc847 remove stupid expose directive Siddharth Singh 2024-10-04 05:46:49 +05:30
  • 04f155580c fix filter generation in db:export Siddharth Singh 2024-10-04 05:33:24 +05:30
  • 205b9a77fe Merge branch 'wallet' into 'main' Alex Gleason 2024-10-03 22:56:58 +00:00
  • 2ca421bef2 Merge branch 'main' into translate-status P. Reis 2024-10-03 19:56:13 -03:00
  • e153020597 Add an HD wallet Alex Gleason 2024-10-03 17:51:47 -05:00
  • cec16487ba Merge branch 'trends-any-language' into 'main' Alex Gleason 2024-10-03 22:44:37 +00:00
  • 67b0684a81 refactor(trends.ts): move logic one level up, rename 'languagesIds' to 'values', remove WITH SQL statement P. Reis 2024-10-03 19:40:29 -03:00
  • a5def9fa6c refactor: just import config.ts directly instead of loading dotenv in trends.ts script P. Reis 2024-10-03 18:16:23 -03:00
  • e064531ca2 Merge branch 'run-dockerfile-as-root' into 'main' Alex Gleason 2024-10-03 21:03:45 +00:00
  • 018600058a run Dockerfile as root Siddharth Singh 2024-10-04 02:29:54 +05:30
  • 4f0f341f01 Merge branch 'dockerfile-changes' into 'main' Alex Gleason 2024-10-03 20:55:09 +00:00
  • 7107e38915 fix port nonsense Siddharth Singh 2024-10-04 02:14:58 +05:30
  • baae2974f3 typo fix Siddharth Singh 2024-10-04 02:14:21 +05:30
  • eac375b99d update dockerfile for tribes Siddharth Singh 2024-10-04 02:06:10 +05:30
  • cb78799997 Merge branch 'ts-ext' into 'main' Alex Gleason 2024-10-03 18:07:00 +00:00
  • bd3d7fda94 Treat .ts links in statuses as application/typescript Fixes https://gitlab.com/soapbox-pub/ditto/-/issues/241 Alex Gleason 2024-10-03 13:02:40 -05:00
  • dfae0b15c7 Merge branch 'use-sticky-notes-zap' into 'main' Alex Gleason 2024-10-03 16:07:53 +00:00
  • e42c047362 refactor: use Stickynotes instead of legacy Debug P. Reis 2024-10-03 12:56:40 -03:00
  • ab85360d2f refactor: move getConfigs() function and frontendConfig logic to 'src/utils/frontendConfig.ts' P. Reis 2024-10-03 11:17:21 -03:00
  • 76fceace7c Merge branch 'hints' into 'main' Alex Gleason 2024-10-03 03:57:21 +00:00
  • 7f8697f4f3 Fix zap tag logic Alex Gleason 2024-10-02 22:50:34 -05:00
  • 031297f253 Improve relay/pubkey hints when creating a status Alex Gleason 2024-10-02 22:42:54 -05:00
  • 4561ec0d00 Store the Push Subscription in the database Alex Gleason 2024-10-02 22:20:47 -05:00
  • 049d99af9b Merge remote-tracking branch 'origin/main' into push Alex Gleason 2024-10-02 19:26:37 -05:00
  • 33980d54f3 Merge branch 'hash-tokens' into 'main' Alex Gleason 2024-10-02 23:50:51 +00:00
  • ff361a4106 Recreate nip46_tokens in down migration Alex Gleason 2024-10-02 18:34:19 -05:00
  • 432857c2ff Rework auth tokens table to use hashed/encrypted data Alex Gleason 2024-10-02 18:28:24 -05:00
  • e73a8d71dc auth: add encryptSecretKey & decryptSecretKey functions Alex Gleason 2024-10-02 17:56:30 -05:00
  • 70f56af281 Add auth utils for generating/hashing/encoding/decoding tokens Alex Gleason 2024-10-02 15:05:37 -05:00
  • 1d2bf07460 Remove unused nostr-relaypool library Alex Gleason 2024-10-02 13:44:50 -05:00
  • 23bedd82a0 utils: remove unused sha256 text function Alex Gleason 2024-10-02 13:35:34 -05:00
  • a10e810068 Create push_subscriptions table Alex Gleason 2024-10-02 13:13:44 -05:00
  • c5bcf1d4a3 Merge branch 'ditto-instance-kind-0' into 'main' Alex Gleason 2024-10-02 15:40:09 +00:00
  • 3df1fe4d3a neatness Siddharth Singh 2024-10-02 20:53:57 +05:30
  • a5762628a5 add script for setting ditto kind 0 Siddharth Singh 2024-10-02 20:47:46 +05:30
  • e7f5e563f5 feat: load dotenv in script/trends.ts P. Reis 2024-10-01 13:59:21 -03:00
  • 7c29c81226 test: pass languagesIds in getTrendingTagValues() function P. Reis 2024-10-01 13:58:51 -03:00
  • d8b2c057b0 feat: make trends fast again remove previous JOIN, now if a language is set, it will do '''query.where('trends.value', 'in', languagesIds);''', which is faster than a JOIN P. Reis 2024-10-01 13:58:08 -03:00
  • b549cdef53 refactor: rename TREND_LANGUAGES to DITTO_LANGUAGES P. Reis 2024-10-01 13:52:30 -03:00
  • 141d5be999 Merge remote-tracking branch 'origin/main' into push Alex Gleason 2024-09-30 20:33:41 -05:00
  • 50733d6e0b Retain uploads for 6 hours Alex Gleason 2024-09-30 20:33:17 -05:00
  • bece384124 Add Web Push skeleton Alex Gleason 2024-09-30 19:12:53 -05:00
  • c0d9a90bfa refactor: remove un-used variable P. Reis 2024-09-30 14:09:19 -03:00
  • 5e23f4d636 test: trends without language and with language P. Reis 2024-09-30 14:03:22 -03:00
  • 61bc57c778 feat: support trendings by language P. Reis 2024-09-30 14:02:12 -03:00
  • 52b02043d9 Upgrade @gleasonator/policy in deno.lock Alex Gleason 2024-09-30 11:54:41 -05:00
  • b33a6cdfe0 feat: add TREND_LANGUAGES environment variable P. Reis 2024-09-30 13:53:30 -03:00
  • be5350a0a5 Merge branch 'manifest' into 'main' Alex Gleason 2024-09-26 18:57:31 +00:00
  • 64a6d7170c Add initial webmanifest controller Alex Gleason 2024-09-26 13:50:51 -05:00
  • 4da82e9484 Update @gleasonator/policy in deno.lock Alex Gleason 2024-09-25 16:47:30 -05:00
  • 2fcaa9fe31 publicTimelineController: add conditional around filters.search assignment Alex Gleason 2024-09-25 15:16:17 -05:00
  • 68ab9f638c Merge branch 'pglite-policy' into 'main' Alex Gleason 2024-09-25 20:15:46 +00:00
  • 2fdf68552c Merge branch 'filter-global-feed-by-language' into 'main' Alex Gleason 2024-09-25 20:12:17 +00:00
  • ff658cf496 policy: fix Error constructor Alex Gleason 2024-09-25 15:10:12 -05:00
  • 8ad101ce7b refactor: remove max(2) in languageSchema P. Reis 2024-09-25 17:03:30 -03:00
  • f50b41f22b Refactor PolicyWorker error handling Alex Gleason 2024-09-25 15:01:40 -05:00
  • 77f5965cdc refactor: return zod errors in publicTimelineController P. Reis 2024-09-25 16:52:54 -03:00
  • 12aaf8c678 refactor: use languageSchema in createStatusSchema P. Reis 2024-09-25 16:51:59 -03:00
  • 92aaca0d91 feat: create languageSchema P. Reis 2024-09-25 16:51:23 -03:00
  • 350671db47 DittoPglite: prevent starting PGlite instances in worker threads Alex Gleason 2024-09-25 14:31:01 -05:00
  • 606aeb3236 test: drop postgres tables dynamically Alex Gleason 2024-09-25 13:13:58 -05:00
  • dac11a9055 feat: filter global and local feed by language add a 'language' field in publicQuerySchema P. Reis 2024-09-25 13:56:14 -03:00
  • f44b9267ad Remove unused utils/ipfs.ts Alex Gleason 2024-09-25 09:47:51 -05:00
  • 657a513cf1 Merge branch 'pglite-0.2.8' into 'main' Alex Gleason 2024-09-25 14:14:14 +00:00
  • f1828bfb52 Upgrade to pglite v0.2.8 Alex Gleason 2024-09-25 09:07:47 -05:00
  • 3ff3ba81b7 Merge branch 'zap-notification-streaming' into 'main' Alex Gleason 2024-09-24 22:50:35 +00:00
  • be88e0bc2e Merge branch 'pipeline-stats' into 'main' Alex Gleason 2024-09-24 21:54:32 +00:00
  • 9f02215c04 Rethrow the error Alex Gleason 2024-09-24 16:20:42 -05:00
  • 3469374d8e pipeline: insert event even if stats fail Alex Gleason 2024-09-24 16:15:26 -05:00
  • b81ae3f043 Merge branch 'main' into zap-notification-streaming P. Reis 2024-09-24 18:12:28 -03:00
  • d72ec843cf Add relay connections metrics Alex Gleason 2024-09-23 22:28:01 -05:00
  • fc73cb2961 Upgrade Nostrify Alex Gleason 2024-09-23 22:16:03 -05:00
  • 6a8b22d018 metrics: improve fetch response metrics Alex Gleason 2024-09-23 21:29:50 -05:00
  • f8fcb9ac77 Merge branch 'policy-signal' into 'main' Alex Gleason 2024-09-23 23:10:00 +00:00
  • fe7a8aa8a7 Merge remote-tracking branch 'origin/main' into policy-signal Alex Gleason 2024-09-23 18:06:11 -05:00
  • 6d0611dafe Pass signal into policy Alex Gleason 2024-09-23 18:04:12 -05:00
  • 3dd53f71e9 Merge branch 'catch-update-stats' into 'main' Alex Gleason 2024-09-23 22:53:41 +00:00
  • 42371bcc31 fix: catch updateStats() function P. Reis 2024-09-23 17:47:55 -03:00
  • e0b966bb6d Merge branch 'add-sticky-to-relay' into 'main' Alex Gleason 2024-09-23 18:50:58 +00:00
  • 92d8f9b8c2 refactor(pipeline.ts): use correct Stickynotes, and not legacy Debug P. Reis 2024-09-23 15:36:05 -03:00
  • 60ebff45d5 refactor: use correct Stickynotes, and not legacy Debug P. Reis 2024-09-23 15:33:14 -03:00
  • 1a1adc1654 feat: add ditto:relay in /relay - sticky notes P. Reis 2024-09-23 14:47:17 -03:00
  • 70e27b04f4 Merge branch 'deno-2.0' into 'main' Alex Gleason 2024-09-22 23:35:07 +00:00
  • 8267916466 Add back pipeline test Alex Gleason 2024-09-22 18:01:07 -05:00
  • ebce4a8b1d Fix a few more type errors, whoops Alex Gleason 2024-09-22 17:46:21 -05:00
  • b6e7a5529f Downgrade GitLab CI to rc3 for now Alex Gleason 2024-09-22 17:38:31 -05:00
  • cd66234af7 Ugrade to Deno 2.0 Alex Gleason 2024-09-22 17:35:04 -05:00
  • cccb3ad8d7 Merge branch 'fix-lru' into 'main' Alex Gleason 2024-09-22 21:13:04 +00:00
  • 6745e96c64 SimpleLRU: fix repeated calls fetching Alex Gleason 2024-09-22 16:06:10 -05:00
  • ce562b3b6a Upgrade @gleasonator/policy in deno.lock Alex Gleason 2024-09-22 14:41:34 -05:00
  • dee635235b Merge branch 'fix-streaming' into 'main' Alex Gleason 2024-09-22 16:56:08 +00:00
  • c4391ccd99 pipeline: fix events not being pushed through streaming API Fixes https://gitlab.com/soapbox-pub/ditto/-/issues/206 Alex Gleason 2024-09-22 11:49:37 -05:00
  • 2587b57794 grafana: add streaming API section Alex Gleason 2024-09-21 22:27:00 -05:00
  • 1be8fcbcdf Merge branch 'streaming-metrics' into 'main' Alex Gleason 2024-09-22 03:17:07 +00:00
  • 195cf9f44e metrics: add messages sent and received by streaming API Alex Gleason 2024-09-21 21:44:24 -05:00
  • fc7228e183 Streaming metrics Alex Gleason 2024-09-21 21:40:52 -05:00