Commit Graph

808 Commits

Author SHA1 Message Date
Alex Gleason 7bb8821b1b
Escape HTML fields 2023-04-30 16:07:07 -05:00
Alex Gleason d7805ae65b
Add logger middleware 2023-04-30 15:16:33 -05:00
Alex Gleason cb8e78ab59
Add landing page 2023-04-30 14:51:56 -05:00
Alex Gleason 610ce4444a
api --> controllers/api 2023-04-30 14:45:30 -05:00
Alex Gleason 2554379cef
api/home.ts --> api/timelines.ts 2023-04-30 14:16:30 -05:00
Alex Gleason e26b540246
OAuth token endpoint: support formData 2023-04-30 14:13:27 -05:00
Alex Gleason 81357fa1e3
Make OAuth form mostly work 2023-04-30 13:28:49 -05:00
Alex Gleason d860ef7f98
Apps: get the redirect_uri into the app 2023-04-30 12:41:01 -05:00
Alex Gleason 9734d0a961
lint 2023-04-29 21:57:30 -05:00
Alex Gleason 693c7cc7bf
Sign events from app context 2023-04-29 21:48:22 -05:00
Alex Gleason 1ba822abaa
Add Markers fallback controller 2023-04-29 21:14:00 -05:00
Alex Gleason 780b3aeb01
Enable Link header in CORS 2023-04-29 21:07:59 -05:00
Alex Gleason 26cf528fca
Use findReplyTag from Mostr 2023-04-29 20:33:52 -05:00
Alex Gleason b42d1f3564
Make threads work, sorta 2023-04-29 20:23:51 -05:00
Alex Gleason f1333cb131
Deduplicate mentions 2023-04-29 19:27:13 -05:00
Alex Gleason a48ee148ae
Fix in_reply_to for root 2023-04-29 19:01:24 -05:00
Alex Gleason 586f20b23d
Improve NIP-05 display in mentions 2023-04-29 18:59:40 -05:00
Alex Gleason 4962f31296
Fix in_reply_to for legacy clients 2023-04-29 18:02:24 -05:00
Alex Gleason acabc7c4ad
Add dummy relationships endpoint 2023-04-29 17:59:54 -05:00
Alex Gleason 64102699ac
Perform NIP-05 lookups 2023-04-29 17:49:03 -05:00
Alex Gleason d84e593e53
Add GET /api/v1/statuses/:id 2023-04-29 17:26:56 -05:00
Alex Gleason f87a17e609
Remove unused code 2023-04-29 17:20:51 -05:00
Alex Gleason dabc3b7e3a
Remove unused imports 2023-04-29 17:07:26 -05:00
Alex Gleason 693b200562
Fix import 2023-04-29 16:39:11 -05:00
Alex Gleason 07e072bc48
Narrow pubkey paths with regex 2023-04-29 16:35:44 -05:00
Alex Gleason 70f69b80f3
Add account search controller, which does basically the same thing as account lookup for now 2023-04-29 16:28:53 -05:00
Alex Gleason 9e73a8e43c
Add account lookup endpoint 2023-04-29 16:25:07 -05:00
Alex Gleason 5118aaf46c
Rename some client functions 2023-04-29 15:54:21 -05:00
Alex Gleason 6341987088
Delete src/nostr directory 2023-04-29 15:51:54 -05:00
Alex Gleason b33a3a21fc
OAuth: don't decode bech32 string 2023-04-29 15:33:25 -05:00
Alex Gleason 8c48b9f625
Add nip19 auth middleware 2023-04-29 15:22:10 -05:00
Alex Gleason a0f4a7d9b5
Upgrade nostr-tools, signEvent --> getSignature 2023-04-27 21:10:51 -05:00
Alex Gleason 4664609047
apps: add comments 2023-04-10 21:13:57 -05:00
Alex Gleason 53655f99bf
We do a little refactoring 2023-04-10 19:34:00 -05:00
Alex Gleason c26a424430
Add --allow-ffi flag for lmdb 2023-04-10 18:18:39 -05:00
Alex Gleason c3b8ad1c28
Scaffold db, handler, query 2023-04-07 21:38:05 -05:00
Alex Gleason ec12da2710
Add AGPL license 2023-04-02 14:11:07 -05:00
Alex Gleason ecf3841ee4
Rename to Ditto 2023-04-02 14:10:50 -05:00
Alex Gleason d8e0a1c7fc
Validate and transform json at the same time 2023-03-18 19:14:19 -05:00
Alex Gleason d365ea26dc
Improve feed query 2023-03-18 18:09:16 -05:00
Alex Gleason 1d6ebf6ba6
Support pagination with Link headers... but of course Soapbox doesn't do that 2023-03-18 17:47:34 -05:00
Alex Gleason dcf6b69501
Improve fqn 2023-03-18 17:20:46 -05:00
Alex Gleason 46cdda7f7f
Parse mentions 2023-03-18 17:03:32 -05:00
Alex Gleason c28c644265
Upgrade nostr-tools, do npub stuff, query own events in feed 2023-03-18 16:39:34 -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 6748e13a36
Make Home feed kind of work 2023-03-18 14:49:44 -05:00
Alex Gleason 2ab9e60048
Add additional fallback controllers 2023-03-05 00:36:37 -06:00
Alex Gleason cde34bffd8
Refactor transmute, fix account in status 2023-03-05 00:16:05 -06:00
Alex Gleason 7da1fed11e
Add GitLab CI 2023-03-04 23:28:18 -06:00
Alex Gleason 2acfecc1eb
Allow posting a status to Nostr 2023-03-04 23:26:25 -06:00