Commit graph

  • 030bfa94d6
    captcha: rename puzzle to bg, and piece to puzzle Alex Gleason 2024-10-04 14:21:54 -05:00
  • 68c0d437ee
    captcha: resize pieces, require nip98 auth Alex Gleason 2024-10-04 13:34:12 -05:00
  • 952d5e4370
    Publish a label when the user solves a captcha Alex Gleason 2024-10-04 12:51:44 -05:00
  • 467a49bd40
    Add captcha verify controller Alex Gleason 2024-10-04 12:43:29 -05:00
  • e57dd8911c
    captcha: don't do the encryption thing, just use a ttl cache Alex Gleason 2024-10-04 12:07:12 -05:00
  • 03c9340eb2
    Mask the puzzle piece Alex Gleason 2024-10-03 20:15:16 -05:00
  • f61c13e506
    proceed even when kind 0 image download/creation fails fix-kind0-script Siddharth Singh 2024-10-04 06:08:53 +05:30
  • 707674db7c
    Add captcha token comment Alex Gleason 2024-10-03 19:38:03 -05:00
  • 0bf41bc913
    Use Pleroma's captcha endpoint (we basically match their return type) Alex Gleason 2024-10-03 19:37:14 -05:00
  • 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
  • 184f958d8e
    try fixing migration 034 034-fix-testing Siddharth Singh 2024-10-04 03:26:33 +05:30
  • 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
  • 7c4bf4e202
    remove node-ssh from lockfile ditto-as-a-service Siddharth Singh 2024-10-02 00:56:09 +05:30
  • 5bda39257f
    tribes cli got its own repo Siddharth Singh 2024-10-02 00:55:33 +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
  • 65e360d22a
    implement tribes-cli tribe new Siddharth Singh 2024-09-30 20:09:22 +05:30
  • 328b1c9049
    default to true for identity file question Siddharth Singh 2024-09-30 20:08:15 +05:30
  • 4c414beb36
    add commands related to tribe creation Siddharth Singh 2024-09-30 20:06:44 +05:30
  • 339aff435b
    log commands as they are executed, dispose of ssh when done Siddharth Singh 2024-09-30 11:37:55 +05:30
  • 5cbdf30501
    create getOptionName and getOptionAliases Siddharth Singh 2024-09-30 11:35:52 +05:30
  • 81eb1fafc3
    handle required options Siddharth Singh 2024-09-30 11:34:35 +05:30
  • 8184c18bd7
    switch to "do" from "loud" in remote init Siddharth Singh 2024-09-30 11:33:23 +05:30
  • 76bd1ad784
    add runLocally, add required opt for Option Siddharth Singh 2024-09-30 11:16:15 +05:30
  • b4f8cd894f
    make command execution over ssh way neater Siddharth Singh 2024-09-30 11:15:24 +05:30
  • 267e8e8930
    create remote init command Siddharth Singh 2024-09-30 10:11:26 +05:30
  • 4300153969
    add (admittedly pretty janky) help generation to Command Siddharth Singh 2024-09-30 10:10:57 +05:30
  • f87e76d624
    .action --> doAction Siddharth Singh 2024-09-30 02:39:05 +05:30
  • f452e8324f
    overhaul identity file detection and resolution Siddharth Singh 2024-09-30 02:38:32 +05:30
  • 7ce1b9e2b7
    lockfile Siddharth Singh 2024-09-30 02:37:47 +05:30
  • 3c760e2b71
    fix tests Siddharth Singh 2024-09-28 00:44:01 +05:30
  • f63392fb01
    add node-ssh dependency Siddharth Singh 2024-09-27 23:48:11 +05:30
  • 9f034fdf1d
    get rid of setupCli, use .option() to configure global methods Siddharth Singh 2024-09-27 23:47:44 +05:30
  • 8ab5e19499
    nicer subcommand api Siddharth Singh 2024-09-27 23:46:47 +05:30
  • 2afb859027
    clean up daft parsing behaviour Siddharth Singh 2024-09-27 23:40:12 +05:30
  • 4a432e6a23
    nicer error handling Siddharth Singh 2024-09-27 21:29:01 +05:30
  • 8511ae2137
    switch over to new CLI parser Siddharth Singh 2024-09-27 21:25:01 +05:30
  • 5b09a99729
    split up utils Siddharth Singh 2024-09-27 21:24:17 +05:30
  • 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
  • 4f94309ec2
    skeleton of how args are gonna look Siddharth Singh 2024-09-26 18:07:25 +05:30
  • 055716fd97
    switch to deno @std/cli based parser Siddharth Singh 2024-09-26 17:53:08 +05:30
  • 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