Commit graph

  • 8ebd85b760
    Improve tag indexing logic Alex Gleason 2023-08-09 20:34:21 -05:00
  • f127aa7406
    Also track events from local users Alex Gleason 2023-08-09 14:24:49 -05:00
  • 3b3947ea61
    Only track events which are locally followed Alex Gleason 2023-08-09 14:06:57 -05:00
  • 2d2157293c
    Try this? Alex Gleason 2023-08-09 02:03:18 -05:00
  • a1c8d3352f
    Simplify Alex Gleason 2023-08-09 02:01:12 -05:00
  • ad112ff9a6
    Use explicit return type for getFilterQuery Alex Gleason 2023-08-09 01:53:50 -05:00
  • 55c957d10b
    Fix type error Alex Gleason 2023-08-09 01:28:38 -05:00
  • 9671a77bee
    Add isFollowed function Alex Gleason 2023-08-09 01:18:43 -05:00
  • 0bfd9d83c1
    Add getFilters function Alex Gleason 2023-08-09 00:22:20 -05:00
  • b408838ae0
    Support querying by tags Alex Gleason 2023-08-08 23:40:08 -05:00
  • 6c96240602
    Remove foreign key constraint from tags.event_id Alex Gleason 2023-08-08 22:35:43 -05:00
  • 08756c3400
    deno.json: add deno task debug Alex Gleason 2023-08-08 19:36:58 -05:00
  • cd68da5b93
    Minor refactoring Alex Gleason 2023-08-08 19:31:14 -05:00
  • 295b16e943
    Add a very nice getFilter function Alex Gleason 2023-08-08 15:35:37 -05:00
  • 176df2a2bc
    deno.json: remove "lib/" Alex Gleason 2023-08-07 02:13:49 -05:00
  • 97a250c1f7
    Add kysely migrations Alex Gleason 2023-08-07 01:45:02 -05:00
  • eb78a213f6
    deno lint Alex Gleason 2023-08-07 00:51:11 -05:00
  • 4cbdda401a
    Remove unused builder.ts Alex Gleason 2023-08-07 00:50:31 -05:00
  • 3cb5f91d3b
    Refactor db.ts to use kysely statements Alex Gleason 2023-08-07 00:50:12 -05:00
  • ecc9db86dd
    Import kysely-deno-sqlite as a dep Alex Gleason 2023-08-06 23:30:46 -05:00
  • a4681e7281
    Do it the normal way instead of the dumb way Alex Gleason 2023-08-06 22:29:56 -05:00
  • 781ca741dd
    Implement the DenoSqliteDriver correctly Alex Gleason 2023-08-06 22:21:46 -05:00
  • 7c2f290775
    Refactor kysely lib into separate files Alex Gleason 2023-08-06 21:57:26 -05:00
  • ed896278e0
    fix lint Alex Gleason 2023-08-06 21:27:34 -05:00
  • 465a3db501
    kysely adapter pretty much working! Alex Gleason 2023-08-06 20:22:12 -05:00
  • d799075657
    Get Kysely adapter almost working... Alex Gleason 2023-08-06 20:14:11 -05:00
  • 8ceb63fc89
    Try storing events in new database Alex Gleason 2023-08-06 15:03:29 -05:00
  • 91eac97d5c
    Preliminary sqlite db setup Alex Gleason 2023-08-06 12:54:00 -05:00
  • 00fa037aaf Merge branch 'maintenance' into 'develop' Alex Gleason 2023-08-04 20:15:11 +00:00
  • dc6b52f6d8
    Upgrade deps Alex Gleason 2023-08-04 14:48:37 -05:00
  • f418496bbb
    Upgrade Deno to 1.36.0 Alex Gleason 2023-08-04 14:42:42 -05:00
  • 72f63a677e
    deno.json: harden test permissions Alex Gleason 2023-08-04 14:41:08 -05:00
  • ae7dd4e2ee
    deno task dev --> deno task start Alex Gleason 2023-08-04 14:37:23 -05:00
  • 0ca9367bd1
    deno.json: harden permissions Alex Gleason 2023-08-04 14:36:25 -05:00
  • 8ee1a0d888
    Load dotenv in config.ts, ignore .env.defaults and .env.example Alex Gleason 2023-08-04 14:17:50 -05:00
  • e58e11e425
    Upgrade dotenv to 0.197.0 Alex Gleason 2023-08-04 14:13:58 -05:00
  • f2a3f285fa
    Use Deno.serve instead of deprecated "serve" from deno_std Alex Gleason 2023-08-04 14:11:13 -05:00
  • 97d2298178
    toActor: don't require the nip05 Related: https://gitlab.com/soapbox-pub/ditto/-/issues/30 Alex Gleason 2023-07-27 13:27:53 -05:00
  • 8019a8d958 Merge branch 'actor' into 'develop' Alex Gleason 2023-07-27 17:40:22 +00:00
  • b52694679f
    actorController: refactor notFound Alex Gleason 2023-07-27 11:03:46 -05:00
  • 819ae61bca
    Add actorController Alex Gleason 2023-07-27 10:36:19 -05:00
  • 4e6b9f4328
    Merge remote-tracking branch 'origin/develop' into actor Alex Gleason 2023-07-27 09:57:52 -05:00
  • 89e7abec9a Merge branch 'tag-history-date' into 'develop' Alex Gleason 2023-07-26 22:31:28 +00:00
  • c251b51803
    Trends: add some useful comments for later Alex Gleason 2023-07-26 17:30:17 -05:00
  • bc3a96eeed
    Refactor trending tags history, make it more correct Alex Gleason 2023-07-26 17:18:21 -05:00
  • f8d46cae58
    Trends: fill in empty tag histories Fixes https://gitlab.com/soapbox-pub/ditto/-/issues/29 Alex Gleason 2023-07-26 15:40:29 -05:00
  • 89b98ae77a
    Fix tag history date Alex Gleason 2023-07-26 14:51:57 -05:00
  • 75f5668887 Merge branch 'trending-tags' into 'develop' Alex Gleason 2023-07-26 18:03:54 +00:00
  • 14e60048a6
    loopback: use RelayPool instead of nostr-tools just because it doesn't die so often Alex Gleason 2023-07-26 12:54:06 -05:00
  • 7eedeef2b4
    Track up to 5 tags max per post Alex Gleason 2023-07-26 09:40:52 -05:00
  • c88e58344f
    Improve tag history Alex Gleason 2023-07-25 23:21:42 -05:00
  • d7316c5eeb
    GitLab CI: enable test job Alex Gleason 2023-07-25 20:55:43 -05:00
  • 5b536040ce
    Minor logging tweaks Alex Gleason 2023-07-25 20:55:12 -05:00
  • ad48e4a787
    Trends: add limit param, fix order Alex Gleason 2023-07-25 20:40:31 -05:00
  • 1a860adde7
    Support tag history Alex Gleason 2023-07-25 20:26:49 -05:00
  • 7c8aa88069
    Trends: track based on the event's created_at date, instead of whenever the row was inserted Alex Gleason 2023-07-25 18:35:07 -05:00
  • 79ec5dd4e0
    Refactor loopback.ts Alex Gleason 2023-07-25 18:22:05 -05:00
  • 33f87822d4
    Trends: support author threshold (default: 3) Alex Gleason 2023-07-25 18:04:00 -05:00
  • 969bc1fcba
    TrendsDB: cleanup on construction Alex Gleason 2023-07-25 17:49:42 -05:00
  • cbb294dbc2
    Trends: support limit param Alex Gleason 2023-07-25 17:44:38 -05:00
  • 48b7310d52
    Trends: clean up old tag usages Alex Gleason 2023-07-25 17:33:16 -05:00
  • e8df411834
    Trends: also track total tag usages Alex Gleason 2023-07-25 17:19:31 -05:00
  • 1d67181e52
    Add trends controller... and it kind of works! Alex Gleason 2023-07-25 17:07:09 -05:00
  • 11f21e3922
    Improve TrendsDB, add loopback script, almost ready to do something? Alex Gleason 2023-07-25 15:30:58 -05:00
  • 3bdde98f8f
    TrendsDB: fix parameterized queries Alex Gleason 2023-07-25 12:10:37 -05:00
  • 9ebf83af5d
    Add preliminary TrendsDB module Alex Gleason 2023-07-24 22:38:36 -05:00
  • 2d5f9db5c3
    Use 2048 bit RSA, because it's more secure and won't have the same performance penalty as on the bridge Alex Gleason 2023-07-23 11:15:52 -05:00
  • f8674ed053
    Add RSA key to actors, use LRU cache Alex Gleason 2023-07-13 22:00:27 -05:00
  • e5082ed805
    transmogrify --> transformers Alex Gleason 2023-07-13 20:46:59 -05:00
  • 97e6f1385c
    Move transmute into transmogrify directory Alex Gleason 2023-07-13 20:17:31 -05:00
  • 0d4b9e416c
    Copy some ActivityPub conversion code from Mostr Alex Gleason 2023-07-13 15:14:41 -05:00
  • 1923b65099
    Revert "Add Ditto banner to readme" Alex Gleason 2023-07-12 19:44:41 -05:00
  • a3c6cdf8cb
    Add Ditto banner to readme Alex Gleason 2023-07-12 19:42:50 -05:00
  • dd7c4b1201
    Flesh out README Alex Gleason 2023-07-12 13:53:58 -05:00
  • 2b0fd9f088
    Add planet to readme Alex Gleason 2023-07-11 23:24:41 -05:00
  • 8fa6ac0a4c
    Add nodeinfo Alex Gleason 2023-07-09 20:32:45 -05:00
  • 8894bb5513
    HostMeta: pretty xml Alex Gleason 2023-07-09 18:51:44 -05:00
  • 19d7d1ae52
    Move host-meta to its own file Alex Gleason 2023-07-09 18:50:47 -05:00
  • be6aa89c39
    Rename Conf.url() to Conf.local(), replace it with a URL of localDomain Alex Gleason 2023-07-09 18:26:33 -05:00
  • 5ec40f285d
    Webfinger: actually, remove nostr lookup (this is bloat) Alex Gleason 2023-07-09 18:16:20 -05:00
  • 60cd92384d
    Webfinger: reorganize more Alex Gleason 2023-07-09 18:10:12 -05:00
  • 9d6216aff7
    Clean up the webfingerController a bit Alex Gleason 2023-07-09 17:38:39 -05:00
  • da9bea7560
    Webfinger: fix resource parameter Alex Gleason 2023-07-09 17:21:38 -05:00
  • bf23afdce0
    Webfinger: support nostr URI, fix resource parsing Alex Gleason 2023-07-09 17:11:26 -05:00
  • cf78b721f5
    Implement Webfinger Alex Gleason 2023-07-09 16:08:49 -05:00
  • 215ff85b6d
    Add Conf.url() function for producing local absolute URLs Alex Gleason 2023-07-09 14:23:02 -05:00
  • a3323a2618
    Simplify \w+ regex usage Alex Gleason 2023-07-09 14:22:18 -05:00
  • 0e15e174c5
    Add nostr.json (NIP-05) Alex Gleason 2023-07-09 12:55:37 -05:00
  • 7808565d71
    User: enforce {1,30} character limit on username Alex Gleason 2023-07-09 12:29:49 -05:00
  • c93aa5b314
    Switch from Dongoose to Pentagon instead of the db Alex Gleason 2023-07-09 12:27:10 -05:00
  • 505b9db409
    Try adding Dongoose and a users table Alex Gleason 2023-07-09 11:47:19 -05:00
  • fb9bb284db
    Fix crash with invalid nip98 base64 Alex Gleason 2023-07-08 21:01:49 -05:00
  • 4e68e3868f
    Prevent cyclical import of Time module Alex Gleason 2023-07-08 20:01:10 -05:00
  • 028ff27c49
    Use new Time module in more places Alex Gleason 2023-07-08 19:54:27 -05:00
  • d7d5057617
    Support nip98 auth Alex Gleason 2023-07-08 18:41:11 -05:00
  • c80a9e5d9a
    paginationSchema: fix problem with nostrNow() being called only at startup Alex Gleason 2023-07-08 15:21:28 -05:00
  • cc751f03a7
    Refactor to use nostrDate() and nostrNow() Alex Gleason 2023-07-08 15:04:50 -05:00
  • bdf8e9a61d
    Return an error for POST /api/v1/accounts Alex Gleason 2023-07-08 11:20:10 -05:00
  • b7ecc609de
    publicController: return early if there are no events Alex Gleason 2023-07-07 15:15:26 -05:00
  • d4eef9c2af
    Add public timeline, fix limit param Alex Gleason 2023-07-07 15:07:20 -05:00