Commit Graph

137 Commits

Author SHA1 Message Date
Jonathan Staab
5138f14e00 Migrate user data from old version of coracle 2023-03-16 11:09:45 -05:00
Jonathan Staab
059eb174f0 Fix sync bug 2023-03-16 11:09:45 -05:00
Jonathan Staab
14eaec1dde Fix validation for key logins and some other small things 2023-03-16 11:09:45 -05:00
Jonathan Staab
ffa32fc0c4 Fix table listener 2023-03-16 11:09:45 -05:00
Jonathan Staab
2d45928e8c Fix pubkey/anon login 2023-03-16 11:09:45 -05:00
Jonathan Staab
eed863143d Disconnect after connecting user, shorted retry timeout for connections 2023-03-16 11:09:45 -05:00
Jonathan Staab
96d8f148c2 Trim zapper info to avoid wasting space 2023-03-16 11:09:45 -05:00
Jonathan Staab
1adc003a98 Separate people and profile storage 2023-03-16 11:09:45 -05:00
Jonathan Staab
bd2bceaecc Re-work sync to be a bit more elegant 2023-03-16 11:09:45 -05:00
Jonathan Staab
de91a06806 Split database up, use lru cache as our table implementation 2023-03-16 11:09:44 -05:00
Jonathan Staab
2bd4ae8fcf Increase delay for db persistence to avoid oom 2023-03-14 05:43:54 -05:00
Jonathan Staab
e74296d767 Fix tag inheritance for replies 2023-03-09 12:57:11 -06:00
Jonathan Staab
0f9db6c5fb Fix signin 2023-03-09 12:36:18 -06:00
Jonathan Staab
2325d67700 Fix mentions interpolation 2023-03-09 11:28:23 -06:00
Jonathan Staab
c4c72abddc Add mutes 2023-03-09 11:04:36 -06:00
Jonathan Staab
d6fb438ea0 Stop shuffling relays in sampleRelays 2023-03-08 16:11:47 -06:00
Jonathan Staab
244552b16b Reduce the delay for persisting stuff to the database to avoid getting half-logged in 2023-03-08 15:16:05 -06:00
Jonathan Staab
6c12aab69f Fix non-lowercase lnurl 2023-03-08 14:48:11 -06:00
Jonathan Staab
02b617bbf1 Sort replies descending as suggested here: nevent1qqsz8m3xjne7mkfgv0sqeqz432newpx34x3jxw2ly0sr8jn33pc4fuspzpmhxue69uhkummnw3ezuamfdejssfsmgv 2023-03-08 11:42:48 -06:00
Jonathan Staab
ddcf5622b8 Continue to refine cursor 2023-03-08 11:37:47 -06:00
Jonathan Staab
24715a52be Add prettier 2023-03-08 08:02:18 -06:00
Jonathan Staab
770ed5b286 Change getNetwork to omit direct follows 2023-03-07 19:49:20 -06:00
Jonathan Staab
b2f74b7fcd Small zap fixes, lengthen delay for onChunk 2023-03-07 17:50:26 -06:00
Jonathan Staab
99c27455e9 Re-work tryJson 2023-03-07 13:35:05 -06:00
Jonathan Staab
625c1db27c Split up search and scan 2023-03-07 13:12:26 -06:00
Jonathan Staab
e56729a0b5 Fix zap attribution on notifications page 2023-03-07 01:41:11 -06:00
Jonathan Staab
7d5f132e1f Clean up reaction buttons, cache relays for performance 2023-03-06 16:27:29 -06:00
Jonathan Staab
9c01895dbc Tweak feed pagination 2023-03-06 15:53:25 -06:00
Jonathan Staab
a5acae14e6 Some PR cleanup 2023-03-03 16:30:11 -06:00
Jonathan Staab
eb50234785 Merge remote-tracking branch 'fiatjaf/bolt11' 2023-03-03 16:24:54 -06:00
0fb38749ac
remove bolt11, bech32 and js-lnurl dependencies.
replace with much faster invoice amount parsing.
fix lnurl encoding/decoding.
2023-03-03 11:44:22 -03:00
Jonathan Staab
1e0b032d03 Coerce amount to string in zap tag 2023-03-03 06:48:31 -06:00
Jonathan Staab
71eaf25045 Fix a few bugs, add zaps to alerts 2023-03-02 15:56:21 -06:00
Jonathan Staab
12201b7967 Add lud16 to profile 2023-03-02 15:38:00 -06:00
Jonathan Staab
c06b4c5c77 Add zaps 2023-03-02 15:20:36 -06:00
1e270b52aa optimize deduplication. 2023-03-01 17:08:43 -06:00
Jonathan Staab
2f0317e8aa Add image uploads to new post 2023-03-01 16:49:24 -06:00
Jonathan Staab
f97d9f2171 Invert relay selection for kind 3 2023-03-01 16:03:29 -06:00
Jonathan Staab
75f4ee0254 Fix signing events when logged in with a private key while having an extension available 2023-03-01 15:39:54 -06:00
Jonathan Staab
490f38fb5e Add image uploads to profile edit page 2023-03-01 15:03:56 -06:00
Jonathan Staab
24b1588599 PWA-ify 2023-02-27 16:20:23 -06:00
Jonathan Staab
4e20de8fb5 Use sig instead of sign 2023-02-27 14:37:52 -06:00
3a57aea96e use full event when signing with the extension.
because if the client is building the event with the pubkey A, but
the actual key used by the extension is B, using just the `.sig`
property of the value returned by `window.nostr.signEvent()` will
cause the event to be invalid.
2023-02-27 14:31:57 -06:00
Jonathan Staab
1ae66cbc88 Fix sending duplicate subscriptions 2023-02-24 12:07:18 -06:00
Jonathan Staab
7c9223a37f Apply muffle to replies 2023-02-24 09:40:44 -06:00
Jonathan Staab
040e8955de Add contact info to relay detail 2023-02-23 17:51:16 -06:00
Jonathan Staab
b197e2bb29 Add relay detail view 2023-02-23 16:13:56 -06:00
Jonathan Staab
14a638c469 Re-work chat/dms 2023-02-23 14:19:01 -06:00
Jonathan Staab
8b06c6eb5d Solution to reflow vs completeness problem: mark replies that were lazily loaded with isContext, and only reflow on detail pages where we want to see everything anyway, while on feeds we show everything we have up front (which, with parent retrieval, often gives us some nice threads), and hide lazily loaded context 2023-02-22 11:31:48 -06:00
Jonathan Staab
bb7df4cd68 Show replies only after most events are loaded 2023-02-22 11:31:48 -06:00