Commit graph

41 commits

Author SHA1 Message Date
Alex Gleason
aa8bb03e5a
mv src packages/ditto 2025-02-15 14:21:05 -06:00
P. Reis
5e86844c12 feat: craete GET '/api/v1/ditto/cashu/wallet' endpoint
refactor: remove old swap controller and create swapNutzapsMiddleware
2025-02-11 22:10:33 -03:00
P. Reis
89840eb279 refactor: create walletSchema and use it where required 2025-02-11 11:29:58 -03:00
Alex Gleason
7f5bfc6834
Upgrade npm:iso-639-1, remove LanguageCode type assertions 2025-02-05 10:22:09 -06:00
Alex Gleason
f8e77d90eb
Filter out invalid WebSocket URLs from pool, prevent admins from setting them
Fixes https://gitlab.com/soapbox-pub/ditto/-/issues/276
2024-12-10 17:43:41 -06:00
P. Reis
34d604dded refactor: sizesSchema 2024-11-03 20:27:52 -03:00
P. Reis
c6ff4a9d25 feat: add sizesSchema 2024-11-01 23:07:51 -03:00
P. Reis
c1c25d7c08 feat: create localeSchema 2024-10-09 14:57:28 -03:00
P. Reis
49d815826c refactor(languageSchema): enforce return type 2024-10-08 17:07:05 -03:00
P. Reis
0d126ad3b7 feat(languageSchema): split value to extract only language and not country code
pt-BR becomes pt
en-US becomes en
2024-10-07 14:36:26 -03:00
P. Reis
f3b7f91a07 feat: languageSchema converts value to lowercase and returns type LanguageCode 2024-10-04 23:37:01 -03:00
P. Reis
8ad101ce7b refactor: remove max(2) in languageSchema 2024-09-25 17:03:30 -03:00
P. Reis
92aaca0d91 feat: create languageSchema 2024-09-25 16:51:23 -03:00
P. Reis
882f8009dc refactor: rename isNumberFrom1To100 to percentageSchema 2024-07-25 15:06:50 -03:00
Alex Gleason
fc7ed8bf24
Remove zod schemas that we can get from NSchema 2024-05-01 19:51:12 -05:00
Alex Gleason
0f9cc9fe51
zod import alias 2024-04-23 15:03:20 -05:00
Alex Gleason
db17f84937
Move emojiTagSchema into schemas/nostr.ts 2023-10-06 12:39:22 -05:00
Alex Gleason
3fc60c78d2
Add a mediaController for s3 uploads 2023-09-06 17:55:46 -05:00
Alex Gleason
95761e2eef
schema: add comments 2023-08-29 13:28:16 -05:00
Alex Gleason
b087d08306
Make the local timeline correctly filter only local users 2023-08-19 13:01:05 -05:00
Alex Gleason
78f638e633
Add relays to database and start tracking them 2023-08-14 14:11:28 -05:00
Alex Gleason
4a47c25f1e
Add NIP-11 schema 2023-08-14 12:29:54 -05:00
Alex Gleason
80775d8bf0
Move more Nostr schema stuff into schemas/nostr.ts 2023-08-12 11:48:11 -05:00
Alex Gleason
893542cf58
Reorganize some nostr schema code 2023-08-12 11:30:57 -05:00
Alex Gleason
11f21e3922
Improve TrendsDB, add loopback script, almost ready to do something? 2023-07-25 15:30:58 -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
9d6216aff7
Clean up the webfingerController a bit 2023-07-09 17:38:39 -05:00
Alex Gleason
cf78b721f5
Implement Webfinger 2023-07-09 16:08:49 -05:00
Alex Gleason
fb9bb284db
Fix crash with invalid nip98 base64 2023-07-08 21:01:49 -05:00
Alex Gleason
d7d5057617
Support nip98 auth 2023-07-08 18:41:11 -05:00
Alex Gleason
860b653892
Allow users to update their profile 2023-06-11 14:41:16 -05:00
Alex Gleason
da6e31c647
Validate event signing, make it more Mastodonic 2023-05-20 21:16:22 -05:00
Alex Gleason
837a3ae1dd
Support custom emojis in statuses 2023-05-11 23:49:32 -05:00
Alex Gleason
2fff0ed879
First pass linkifying status content and rendering attachments 2023-05-06 15:17:50 -05:00
Alex Gleason
6341987088
Delete src/nostr directory 2023-04-29 15:51:54 -05:00
Alex Gleason
53655f99bf
We do a little refactoring 2023-04-10 19:34:00 -05:00
Alex Gleason
c3b8ad1c28
Scaffold db, handler, query 2023-04-07 21:38:05 -05:00
Alex Gleason
d8e0a1c7fc
Validate and transform json at the same time 2023-03-18 19:14:19 -05:00
Alex Gleason
9f81d0d572
Reuse existing transmute functions, lol forgot I already wrote that 2023-03-18 16:30:46 -05:00
Alex Gleason
825fed7d21
This is probably enough to log in? 2023-03-04 22:10:56 -06:00