Commit Graph

614 Commits

Author SHA1 Message Date
Jonathan Staab
9920655666 Add NoteReply 2023-04-13 08:39:20 -05:00
Jonathan Staab
55ede4dc35 Fix note border 2023-04-13 08:39:20 -05:00
Jonathan Staab
6c859c9afc Transform legacy mentions into bech32, fix loki persistence 2023-04-13 08:39:20 -05:00
Jonathan Staab
f2a76b319f Switch to lokijs 2023-04-13 08:39:20 -05:00
Jonathan Staab
08d6195880 Consolidate RelayCard 2023-04-13 08:39:20 -05:00
Jonathan Staab
260328b757 Consolidate PersonInfo 2023-04-13 08:39:20 -05:00
Jonathan Staab
e2b9e88373 Re-organize views/shared components 2023-04-13 08:39:20 -05:00
Jonathan Staab
72203afb94 Fix auto mention on person detail 2023-04-13 08:39:19 -05:00
Jonathan Staab
35f1431ae2 Split app.svelte into smaller pieces, nest components under ui 2023-04-13 08:39:19 -05:00
Jonathan Staab
859fc921ac Fix nprofile generation 2023-04-13 08:38:39 -05:00
Jonathan Staab
b1c861b5ab Adjust urls 2023-04-10 09:05:16 -05:00
Jonathan Staab
5c27562af0 Merge branch 'master' of github.com:coracle-social/coracle 2023-04-10 09:02:40 -05:00
Jonathan Staab
f2e710c842 Fix a few small bugs 2023-04-10 09:01:51 -05:00
3f8e2202a1
less confusing "show %d link previews".
I always read this as "show +2", for example, when there are only two and since
I am already seeing one it should be "show +1", but adding the word "all" will
probably fix that and make it clear.
2023-04-08 20:16:24 -03:00
Jonathan Staab
dbbbec4d07 Try opening feeds filtered by relay in a modal 2023-04-08 14:08:52 -05:00
Jonathan Staab
5d6d3b1b6f Show relay-filtered feed in modal 2023-04-07 08:26:02 -05:00
Jonathan Staab
3b6f1f0fa6 Work on making relays mute-able 2023-04-07 08:26:01 -05:00
Jonathan Staab
a166612601 Add full global relays modal 2023-04-07 08:25:29 -05:00
Jonathan Staab
9f0f374ec3 Disable global relay stuff temporarily 2023-04-07 06:56:18 -05:00
Jonathan Staab
35862fdd48 Remove client tag when requesting zap 2023-04-06 16:36:49 -05:00
Jonathan Staab
2c8b6608ea Fix a few bugs 2023-04-06 11:28:16 -05:00
Jonathan Staab
5e15015cab Add bech32-provided relays to person detail feeds 2023-04-06 09:22:24 -05:00
Jonathan Staab
4edefc216f Follow relay hints in embeds 2023-04-05 15:42:51 -05:00
Jonathan Staab
5e9c9cfef1 Mutate seen_on to show all relays a given note was found on 2023-04-05 15:19:22 -05:00
Jonathan Staab
dadc93b28a Add CopyValue 2023-04-05 15:08:24 -05:00
Jonathan Staab
79dde724df Add lots more detail to note info 2023-04-05 14:56:13 -05:00
Jonathan Staab
118d954de0 Spruce up scan/search/profile info/keys 2023-04-05 13:54:32 -05:00
Jonathan Staab
b32a50ede9 Re-organize profile and note actions 2023-04-05 12:50:17 -05:00
Jonathan Staab
b563a6b291 Get rid of flag reactions 2023-04-05 12:24:33 -05:00
Jonathan Staab
ae97eed739 Use overflow menu component on person detail 2023-04-05 12:18:58 -05:00
Jonathan Staab
3921cd9b4e Use NoteContent on Notifications 2023-04-05 11:52:03 -05:00
Jonathan Staab
042361f9cd Fix some DM stuff 2023-04-05 11:21:52 -05:00
Jonathan Staab
ab1c2cb210 Re-work streamContext 2023-04-05 10:40:23 -05:00
Jonathan Staab
6722131c8f Catch signature errors 2023-04-05 09:11:10 -05:00
Jonathan Staab
1a401ff20f re-work note detail to keep listening for new data 2023-04-04 15:53:31 -05:00
Jonathan Staab
b9f5e169f4 Add titles to note detail overflow menu, add ability to collapse threads 2023-04-04 15:18:18 -05:00
Jonathan Staab
2d53752ea7 Fix sampleRelays 2023-04-04 13:57:10 -05:00
Jonathan Staab
55ebd2afa1 Update changelog 2023-04-04 13:47:39 -05:00
Jonathan Staab
a32afbda79 Reduce table sizes 2023-04-04 13:19:57 -05:00
Jonathan Staab
87bfafa4d5 Show person next to reply/new note #42 2023-04-04 09:21:31 -05:00
Jonathan Staab
0793d609c7 rename Media components 2023-04-03 10:28:50 -05:00
Jonathan Staab
1b24377052 Fix AUTH 2023-04-03 10:12:03 -05:00
Jonathan Staab
9bc5a35957 Fix mention parsing 2023-04-03 09:51:40 -05:00
Jonathan Staab
ce6993b214 Fix url display, content editable line break parsing, and person relays 2023-03-31 10:24:40 -05:00
Jonathan Staab
e9d1592ba7 Fix some entity display stuff 2023-03-30 16:16:08 -05:00
Jonathan Staab
316c9f8d76 fix line breaks in compose, add embedded nostr entities to tags 2023-03-30 16:02:21 -05:00
Jonathan Staab
ce07869656 Add quotes 2023-03-30 14:51:55 -05:00
Jonathan Staab
fa56bca422 Add content parser and image carousel 2023-03-30 11:54:32 -05:00
Jonathan Staab
0896623253 Clean up and improve content parsing 2023-03-30 09:40:09 -05:00
Jonathan Staab
26abf383b8 Disable self-zap 2023-03-29 14:19:30 -05:00
Jonathan Staab
0f032ee05b Don't use since when loading messages, group notifications by hour 2023-03-29 13:56:58 -05:00
Jonathan Staab
681d36d443 Fall back to normal relay connections if multiplexer fails to connect 2023-03-29 11:13:15 -05:00
Jonathan Staab
3ba160c123 Update repo urls 2023-03-29 11:00:15 -05:00
Jonathan Staab
e9da4e899b Add new pool based on paravel 2023-03-29 09:50:03 -05:00
Jonathan Staab
56a5d17116 Add multiplextr setting 2023-03-27 09:49:23 -05:00
Jonathan Staab
f51ba597c7 Merge branch 'dev' 2023-03-27 09:15:00 -05:00
Jonathan Staab
a898aa47e7 Clean up some env stuff 2023-03-27 09:14:46 -05:00
Jonathan Staab
855fb68f3a Small contenteditable fix, try using since on feeds 2023-03-25 09:33:59 -05:00
Jonathan Staab
d0ccdf4888 Add new content editable component 2023-03-23 16:26:35 -05:00
Jonathan Staab
20d61ed6dc If someone gives us a hex key (like nostr.band does), handle it instead of crashing 2023-03-23 15:45:55 -05:00
Jonathan Staab
d7d05c2802 Skip relays onboarding stage when forcing relays 2023-03-22 08:51:16 -05:00
Jonathan Staab
47565265ba Fix followers list 2023-03-22 08:37:43 -05:00
Jonathan Staab
2a7fd6d479 Fix text color in mentions 2023-03-21 16:33:43 -05:00
Jonathan Staab
d39500fa34 Fix relays list on person detail 2023-03-21 15:52:22 -05:00
Jonathan Staab
755d6cfa7f Count followers using rbr.bio 2023-03-21 14:28:00 -05:00
Jonathan Staab
1939725ac6 Split up pool status and error to handle auth 2023-03-21 10:00:34 -05:00
Jonathan Staab
6695ee7b7b Small fixes to pool and auth 2023-03-20 17:02:52 -05:00
Jonathan Staab
4152f96be0 Add support for AUTH 2023-03-20 14:45:40 -05:00
Jonathan Staab
e326df9a22 Remove dependency on nostr-tools for pool 2023-03-20 10:51:35 -05:00
Jonathan Staab
03fea8154f Avoid pruning profiles we know we'll use more often 2023-03-18 12:53:20 -05:00
Jonathan Staab
b78402f74e Add confirmation to zap dialog 2023-03-16 17:09:15 -05:00
Jonathan Staab
85427833e5 Tweak buttons 2023-03-16 15:53:50 -05:00
Jonathan Staab
e775e4959c Add FORCE_RELAYS option 2023-03-16 15:20:37 -05:00
Jonathan Staab
fe990f7d26 Fix nprofile generation 2023-03-16 15:19:13 -05:00
Jonathan Staab
4e341b43b3 Small fixes to light mode 2023-03-16 14:29:46 -05:00
Jonathan Staab
d0b6c77530 Add light theme 2023-03-16 14:03:42 -05:00
Jonathan Staab
b458e3b2d6 Apply mutes to notifications 2023-03-16 11:16:12 -05:00
Jonathan Staab
6dbaf7450a Add custom cache implementation for tables 2023-03-16 11:09:59 -05:00
Jonathan Staab
fa2693d09e Rename alerts to notifications 2023-03-16 11:09:45 -05:00
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
9a8f6f0222 Speed up initial load by only waiting for relays when we need them 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
255e354a9f Remove debug code 2023-03-13 15:01:17 -05:00
Jonathan Staab
c1f7a30a85 Switch to HSL for avatar generation 2023-03-13 14:54:59 -05:00
Wojciech Morkowski
5e19ceb99a clean up generation code 2023-03-13 14:50:13 -05:00
Wojciech Morkowski
633815a953 random avatar generation 2023-03-13 14:50:13 -05:00
Wojciech Morkowski
bce5a03752 fallback avatar image added 2023-03-13 14:50:13 -05:00
Jonathan Staab
e9e19f5811 Shorten alerts 2023-03-13 14:36:54 -05:00
Jonathan Staab
2807629891 Fix person popover on mobile 2023-03-11 13:51:58 -06:00
Jonathan Staab
88d93137e2 Fix regex injection 2023-03-10 16:51:14 -06:00
Jonathan Staab
c0503ebe95 Remove maintenance notice 2023-03-10 12:42:10 -06:00
Jonathan Staab
96611aef6c Wait for contacts list when logging in 2023-03-10 12:41:24 -06:00
Jonathan Staab
05fbacc539 Add maintenance warning 2023-03-10 10:35:49 -06:00
Jonathan Staab
417c4ba782 Fix link replacing 2023-03-09 15:30:01 -06:00
Jonathan Staab
a1eaf25dec Fix alerts 2023-03-09 13:09:05 -06: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
35a9274be6 Fix interpolating links when there are multiple of the same url 2023-03-09 11:39:25 -06:00
Jonathan Staab
2325d67700 Fix mentions interpolation 2023-03-09 11:28:23 -06:00
Jonathan Staab
adfbaa603c Fix whitespace in note publish 2023-03-09 11:18:35 -06:00
Jonathan Staab
c4c72abddc Add mutes 2023-03-09 11:04:36 -06:00
Jonathan Staab
bfc011551a Rework some popovers 2023-03-09 10:03:03 -06:00
Jonathan Staab
a395652f12 Fix notifications badge 2023-03-08 16:24:27 -06:00
Jonathan Staab
d6fb438ea0 Stop shuffling relays in sampleRelays 2023-03-08 16:11:47 -06:00
Jonathan Staab
e24e77ed0b Make "show new notes" button fixed position 2023-03-08 15:50:05 -06:00
Jonathan Staab
e892c45598 Fix follow buttons 2023-03-08 15:32: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
49a0b600f9 Fix onboarding relay settings, add onboarding video 2023-03-08 14:32:00 -06:00
Jonathan Staab
11d5dc7e98 Tweak some layout stuff 2023-03-08 11:49:09 -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
da100bdf96 Fix formatting check 2023-03-08 08:13:53 -06:00
Jonathan Staab
14a3eb5d86 Tweak onboarding, add empty state for messages 2023-03-08 08:10:55 -06:00
Jonathan Staab
24715a52be Add prettier 2023-03-08 08:02:18 -06:00
Jonathan Staab
1dd9c6f791 Avoid fetching duplicate context, there seems to be an infinite loop that happens if we don't 2023-03-07 20:02:15 -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
6714eac7e0 Add new onboarding workflow 2023-03-07 17:16:33 -06:00
Jonathan Staab
6a8763f777 Tweak wording 2023-03-07 14:24:31 -06:00
Jonathan Staab
36bd31fa55 Move feed components around 2023-03-07 13:43: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
b07c06e952 Watch person in popover 2023-03-07 01:47:50 -06:00
Jonathan Staab
e56729a0b5 Fix zap attribution on notifications page 2023-03-07 01:41:11 -06:00
Jonathan Staab
6d7592a086 Fix hovering on cards in modals 2023-03-06 17:33:59 -06:00
Jonathan Staab
35c1b4b2ed Pre-calculate timestamp display for perf 2023-03-06 16:31:00 -06:00
Jonathan Staab
7d5f132e1f Clean up reaction buttons, cache relays for performance 2023-03-06 16:27:29 -06:00
Jonathan Staab
2ecfd56a14 Make reaction icons buttons 2023-03-06 15:53:25 -06:00
c60f7bf5fa make reaction numbers clickable too. 2023-03-06 15:53:25 -06:00
Jonathan Staab
9c01895dbc Tweak feed pagination 2023-03-06 15:53:25 -06:00
Jonathan Staab
10c556ae7b Fix modal 2023-03-06 15:53:25 -06:00
Jonathan Staab
699073a1eb Tweak modal 2023-03-06 15:53:25 -06:00
Wojciech Morkowski
df4abddeff fixed horizontal scroll on profile page 2023-03-04 13:39:41 +01:00
Jonathan Staab
c651bc26f0 Show popover on hover on desktop 2023-03-03 17:34:17 -06:00
Jonathan Staab
2fba7a8c77 Clean up QR Codes 2023-03-03 17:25:00 -06:00
Jonathan Staab
5c5152ae85 Give cards a slight border 2023-03-03 16:52:46 -06:00
Jonathan Staab
482ed81229 Tweak background color for image mat 2023-03-03 16:37:46 -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
Jonathan Staab
308b5cac63 Fix a few minor bugs 2023-03-03 16:15:49 -06:00
Jonathan Staab
e90170d3de Add route name to document title 2023-03-03 14:57:49 -06:00
Jonathan Staab
6802b411e2 Add images to replies 2023-03-03 12:54:26 -06:00
Jonathan Staab
6f75712e6e Beautify notes 2023-03-03 11:48:02 -06:00
Jonathan Staab
1e48e46275 Add hashed pubkey to usage data 2023-03-03 10:44:58 -06:00
Jonathan Staab
c16ea1e8e8 Show note image rather than append url to note. Add close button for previews 2023-03-03 10:35:00 -06:00
Jonathan Staab
447fdab654 Improve feed quality by separating kind 1 and 7 filters 2023-03-03 10:11:09 -06:00
e4cd40cc0c
remove bech32 arbitrary char limit. 2023-03-03 12:59:28 -03:00
Jonathan Staab
6b2954c48c Update install instructions 2023-03-03 09:26:56 -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
17afc35d1c Fix nprofile scan when there are no relays 2023-03-02 16:33:02 -06:00
Jon Staab
2781434b86
Merge pull request #34 from fiatjaf/nip05
support nip05 addresses on advanced search
2023-03-02 16:18:58 -06:00
Jonathan Staab
ba7caf1d7c Clean up pull request 2023-03-02 16:15:49 -06:00
igmaat
6c41ee8cd8 fix wording on profile view for no NIP05 identifier 2023-03-02 15:57:01 -06:00
igmaat
2b05656198 fix indentation 2023-03-02 15:57:01 -06:00
igmaat
779a34b9c5 Add "Profile" action to person view 2023-03-02 15:57:01 -06:00
igmaat
222e318c2c Add new route for person profile info 2023-03-02 15:57:01 -06:00
igmaat
2240d03a83 Add component for new modal: person profile Info 2023-03-02 15:57:01 -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
Jonathan Staab
d033b4040b Listen for new events for user on page load 2023-03-02 10:30:56 -06:00
ad4be88d87
support nip05 addresses on advanced search. 2023-03-02 08:44:27 -03:00
1e270b52aa optimize deduplication. 2023-03-01 17:08:43 -06:00
Jonathan Staab
1188dc55be Fix small style things 2023-03-01 17:08:21 -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
e432d812bc fix modal z index 2023-03-01 15:17:52 -06:00
Jonathan Staab
cfcaf837e5 Disable cursor since for now 2023-03-01 15:05:05 -06:00
Jonathan Staab
490f38fb5e Add image uploads to profile edit page 2023-03-01 15:03:56 -06:00
Jonathan Staab
91df2e2247 Fix chat word wrap and person buttons 2023-02-28 21:03:45 -06:00
Jonathan Staab
803f4d5c64 Fix mention layout on small screens 2023-02-28 14:46:55 -06:00
Jonathan Staab
8046f866e7 Rename inbox to notifications 2023-02-28 14:04:33 -06:00
Jonathan Staab
c500c7354f Add person popover 2023-02-28 14:02:20 -06:00
Jonathan Staab
0a293ca354 Tweak side nav buttons, profile detail buttons 2023-02-28 09:18:03 -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
e72106f765 Add parents timeout on person notes/likes to increase odds of a complete feed 2023-02-27 14:29:49 -06:00
Jonathan Staab
0570ad60ad Don't show flags on likes page 2023-02-27 14:25:09 -06:00
Jonathan Staab
64f45e5f2f A couple styling things 2023-02-27 13:06:02 -06:00
Jonathan Staab
ee95b0805c Add timestamps to DM messages 2023-02-24 18:40:00 -06:00
Jonathan Staab
70fab3cb1a Improve paste support 2023-02-24 15:47:15 -06:00
Jonathan Staab
3e66ae08fc Move relay modal to nested modal 2023-02-24 12:20:21 -06:00
Jonathan Staab
1ae66cbc88 Fix sending duplicate subscriptions 2023-02-24 12:07:18 -06:00
Jonathan Staab
4034eb3862 Use MATH to figure out cursor window 2023-02-24 10:37:05 -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
9ee96c45d7 Tweak cursor to max out at 1 hour 2023-02-23 16:52:06 -06:00