Commit graph

41 commits

Author SHA1 Message Date
Alex Gleason
93d8e0b22b
accounts: support updating avatar and banner 2023-09-11 18:02:17 -05:00
Alex Gleason
31114b6094
accounts: return a blank account for verify_credentials if it isn't resolved 2023-09-11 09:08:15 -05:00
Alex Gleason
1b2f4d9a54
accounts: return token after registering account 2023-09-11 07:17:00 -05:00
Alex Gleason
82c4f0827e
Make registrations configurable by env 2023-09-10 23:44:30 -05:00
Alex Gleason
052c00821d
Enable registrations, require proof-of-work 2023-09-10 15:07:31 -05:00
Alex Gleason
3fc60c78d2
Add a mediaController for s3 uploads 2023-09-06 17:55:46 -05:00
Alex Gleason
4ff27ddc04
Add /api/v1/favourites 2023-09-01 13:14:27 -05:00
Alex Gleason
9b67d7a7c0
Add followers/following endpoints
Fixes https://gitlab.com/soapbox-pub/ditto/-/issues/69
2023-08-30 10:27:45 -05:00
Alex Gleason
ad823e587a
accounts: remove unecessary sort call 2023-08-29 15:29:12 -05:00
Alex Gleason
2ee29bf1e2
Make favourites stick, refactor some async logic in threads 2023-08-29 14:44:59 -05:00
Alex Gleason
4216a7931a
Add paginated helper function, DRY pagination code 2023-08-29 12:55:00 -05:00
Alex Gleason
320d2f493e
change .positive() to .nonnegative() !!! 2023-08-26 23:13:48 -05:00
Alex Gleason
bcfc3e2414
Use createEvent in more places 2023-08-19 22:25:45 -05:00
Alex Gleason
f198779ebe Merge branch 'sync' into 'develop'
Sync the user on verify_credentials

Closes #11

See merge request soapbox-pub/ditto!17
2023-08-19 19:09:09 +00:00
Alex Gleason
23928c0024
Move hono-related functions until utils/web 2023-08-19 14:05:08 -05:00
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
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
870a6f5261
Add queries module for getting events for certain application needs 2023-08-17 13:12:38 -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
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
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
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
8a62cb604d
Support pagination on user profile 2023-06-09 19:22:38 -05:00
Alex Gleason
02160f8c9e
credentialsController --> verifyCredentialsController 2023-05-20 14:44:18 -05:00
Alex Gleason
a766449ba6
Let searchController look up accounts 2023-05-13 14:45:13 -05:00
Alex Gleason
d109043440
Fix /api/v1/accounts/lookup nip05 2023-05-11 23:39:25 -05:00
Alex Gleason
6e09e6f9e5
Fix NIP-05 cache 2023-05-07 11:44:22 -05:00
Alex Gleason
af9f376ad0
Verify NIP05's with cache, fixes #1 2023-05-06 22:29:41 -05:00
Alex Gleason
9539eb5055
Try to make relationshipsController reflect following 2023-05-03 21:56:22 -05:00
Alex Gleason
3880fdd61c
accountStatusesController: sort results by timestamp 2023-05-03 15:33:54 -05:00
Alex Gleason
502af2cd48
Return first page of statuses in profile 2023-05-03 15:22:24 -05:00
Alex Gleason
6fa897145e
Include source property on own account 2023-05-02 13:58:45 -05:00
Alex Gleason
610ce4444a
api --> controllers/api 2023-04-30 14:45:30 -05:00
Renamed from src/api/accounts.ts (Browse further)