Commit graph

168 commits

Author SHA1 Message Date
Alex Gleason
eb4aebedd7
Sync the user on verify_credentials
Fixes https://gitlab.com/soapbox-pub/ditto/-/issues/11
2023-08-19 13:57:17 -05:00
Alex Gleason
c08c801e71
Make following work 2023-08-19 13:37:44 -05:00
Alex Gleason
b087d08306
Make the local timeline correctly filter only local users 2023-08-19 13:01:05 -05:00
Alex Gleason
719b703e7c
client: remove publish function, create statuses through pipeline 2023-08-17 20:54:11 -05:00
Alex Gleason
0158a6979e
Publish events through pipeline 2023-08-17 20:45:50 -05:00
Alex Gleason
299a1a0db0
Refactor some code that uses getFilters to import the whole module under a namespace 2023-08-17 15:41:27 -05:00
Alex Gleason
4f9b5c1431
statusController: remove unnecessary "as Event" 2023-08-17 14:57:46 -05:00
Alex Gleason
7330cd10e2
Refactor getEvent to take an opts object 2023-08-17 14:51:49 -05:00
Alex Gleason
5a27d791e3
queries: make getFeed accept a pubkey instead of event3 2023-08-17 13:15:47 -05:00
Alex Gleason
870a6f5261
Add queries module for getting events for certain application needs 2023-08-17 13:12:38 -05:00
Alex Gleason
c15194020f
Delete event.ts, use nostr-tools types 2023-08-16 21:53:51 -05:00
Alex Gleason
d4721fb82d
Add mixer module to combine results from DB and pool 2023-08-16 16:12:27 -05:00
Alex Gleason
80775d8bf0
Move more Nostr schema stuff into schemas/nostr.ts 2023-08-12 11:48:11 -05:00
Alex Gleason
63772022cf
deno fmt 2023-08-10 14:56:14 -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
be6aa89c39
Rename Conf.url() to Conf.local(), replace it with a URL of localDomain 2023-07-09 18:26:33 -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
Alex Gleason
b5643c4aba
Refactor config to use a better interface 2023-06-10 17:15:08 -05:00
Alex Gleason
8a62cb604d
Support pagination on user profile 2023-06-09 19:22:38 -05:00
Alex Gleason
74024e36b6
Support OAuth 'client_credentials' grant type, improve Mastodon API compat 2023-05-24 11:19:02 -05:00
Alex Gleason
161c77b85d
Streaming: parse stream channel param 2023-05-20 23:47:51 -05:00
Alex Gleason
ec5e0ed330
Streaming: refactor, add unsubscribeAll method 2023-05-20 20:23:01 -05:00
Alex Gleason
3ffad1df29
Build a websocket topics framework 2023-05-20 19:39:05 -05:00
Alex Gleason
02160f8c9e
credentialsController --> verifyCredentialsController 2023-05-20 14:44:18 -05:00
Alex Gleason
f3e42cc6a7
Add a UUID to auth tokens for private websocket event signing 2023-05-20 14:34:13 -05:00
Alex Gleason
9500ceee7c
Upgrade nostr-tools, fix BECH_32_REGEX imports 2023-05-20 12:28:12 -05:00
Alex Gleason
c14ebe6631
sign: only add stream if nostr=true on the user stream (still subject to change) 2023-05-13 21:05:55 -05:00
Alex Gleason
ce02f7d56c
Update streaming comments 2023-05-13 20:16:44 -05:00