180 Commits

Author SHA1 Message Date
Alex Gleason
8e47c9dda2
relay: refactor into smaller functions 2023-08-12 15:07:07 -05:00
Alex Gleason
b2f538ed94
Relay: improve types, DRY 2023-08-12 14:41:07 -05:00
Alex Gleason
075da543b0
Make relay only return local events 2023-08-12 14:32:57 -05:00
Alex Gleason
3593d5420d
Relay: limit to 100 events per filter 2023-08-12 14:12:53 -05:00
Alex Gleason
808e8941b6
Relay: make REQ work (doesn't stream yet) 2023-08-12 13:40:21 -05:00
Alex Gleason
80775d8bf0
Move more Nostr schema stuff into schemas/nostr.ts 2023-08-12 11:48:11 -05:00
Alex Gleason
1f470ffe2d
Add nostr schema for parsing filters 2023-08-11 19:55:16 -05:00
Alex Gleason
63772022cf
deno fmt 2023-08-10 14:56:14 -05:00
Alex Gleason
eb78a213f6
deno lint 2023-08-07 00:51:11 -05:00
Alex Gleason
3cb5f91d3b
Refactor db.ts to use kysely statements 2023-08-07 00:50:12 -05:00
Alex Gleason
91eac97d5c
Preliminary sqlite db setup 2023-08-06 12:54:00 -05:00
Alex Gleason
97d2298178
toActor: don't require the nip05
Related: https://gitlab.com/soapbox-pub/ditto/-/issues/30
2023-07-27 13:27:53 -05:00
Alex Gleason
b52694679f
actorController: refactor notFound 2023-07-27 11:03:46 -05:00
Alex Gleason
819ae61bca
Add actorController 2023-07-27 10:36:19 -05:00
Alex Gleason
4e6b9f4328
Merge remote-tracking branch 'origin/develop' into actor 2023-07-27 09:57:52 -05:00
Alex Gleason
c251b51803
Trends: add some useful comments for later 2023-07-26 17:30:17 -05:00
Alex Gleason
bc3a96eeed
Refactor trending tags history, make it more correct 2023-07-26 17:18:21 -05:00
Alex Gleason
f8d46cae58
Trends: fill in empty tag histories
Fixes https://gitlab.com/soapbox-pub/ditto/-/issues/29
2023-07-26 15:40:29 -05:00
Alex Gleason
c88e58344f
Improve tag history 2023-07-25 23:21:42 -05:00
Alex Gleason
1a860adde7
Support tag history 2023-07-25 20:26:49 -05:00
Alex Gleason
33f87822d4
Trends: support author threshold (default: 3) 2023-07-25 18:04:00 -05:00
Alex Gleason
cbb294dbc2
Trends: support limit param 2023-07-25 17:44:38 -05:00
Alex Gleason
e8df411834
Trends: also track total tag usages 2023-07-25 17:19:31 -05:00
Alex Gleason
1d67181e52
Add trends controller... and it kind of works! 2023-07-25 17:07:09 -05:00
Alex Gleason
e5082ed805
transmogrify --> transformers 2023-07-13 20:47:09 -05:00
Alex Gleason
97e6f1385c
Move transmute into transmogrify directory 2023-07-13 20:23:04 -05:00
Alex Gleason
8fa6ac0a4c
Add nodeinfo 2023-07-09 20:32:45 -05:00
Alex Gleason
8894bb5513
HostMeta: pretty xml 2023-07-09 18:58:08 -05:00
Alex Gleason
19d7d1ae52
Move host-meta to its own file 2023-07-09 18:50:47 -05:00
Alex Gleason
be6aa89c39
Rename Conf.url() to Conf.local(), replace it with a URL of localDomain 2023-07-09 18:26:33 -05:00
Alex Gleason
5ec40f285d
Webfinger: actually, remove nostr lookup (this is bloat) 2023-07-09 18:16:20 -05:00
Alex Gleason
60cd92384d
Webfinger: reorganize more 2023-07-09 18:10:12 -05:00
Alex Gleason
9d6216aff7
Clean up the webfingerController a bit 2023-07-09 17:38:39 -05:00
Alex Gleason
da9bea7560
Webfinger: fix resource parameter 2023-07-09 17:21:38 -05:00
Alex Gleason
bf23afdce0
Webfinger: support nostr URI, fix resource parsing 2023-07-09 17:11:26 -05:00
Alex Gleason
cf78b721f5
Implement Webfinger 2023-07-09 16:08:49 -05:00
Alex Gleason
a3323a2618
Simplify \w+ regex usage 2023-07-09 14:22:18 -05:00
Alex Gleason
0e15e174c5
Add nostr.json (NIP-05) 2023-07-09 12:55:37 -05:00
Alex Gleason
d7d5057617
Support nip98 auth 2023-07-08 18:41:11 -05:00
Alex Gleason
cc751f03a7
Refactor to use nostrDate() and nostrNow() 2023-07-08 15:04:50 -05:00
Alex Gleason
bdf8e9a61d
Return an error for POST /api/v1/accounts 2023-07-08 11:20:10 -05:00
Alex Gleason
b7ecc609de
publicController: return early if there are no events 2023-07-07 15:15:26 -05:00
Alex Gleason
d4eef9c2af
Add public timeline, fix limit param 2023-07-07 15:07:59 -05:00
Alex Gleason
07b406c25c
Handle CW/subject tags in render, fix schema for status create params 2023-07-02 13:49:41 -05:00
Alex Gleason
4edebaa105
createStatusController: handle most request params 2023-07-02 13:28:58 -05:00
Alex Gleason
6a20df2704
createStatusController: prevent non-public posts 2023-07-02 01:13:17 -05:00
Alex Gleason
164e7259e0
accountStatusesController: support tagged query param 2023-06-11 16:04:42 -05:00
Alex Gleason
4bcf9c171c
accountStatusesController: support exclude_replies 2023-06-11 15:47:55 -05:00
Alex Gleason
860b653892
Allow users to update their profile 2023-06-11 14:41:16 -05:00
Alex Gleason
009747105d
Add boilerplate frontend_configurations controller 2023-06-10 23:10:27 -05:00