Commit Graph

578 Commits

Author SHA1 Message Date
Jonathan Staab
8573140134 Add topics database table 2023-04-13 08:39:20 -05:00
Jonathan Staab
f019b64695 Stack modals explicitly 2023-04-13 08:39:20 -05:00
Jonathan Staab
82da83f5e1 Add topic modal 2023-04-13 08:39:20 -05:00
Jonathan Staab
76138bdb3e Rename app2 to app 2023-04-13 08:39:20 -05:00
Jonathan Staab
4b30c890a2 Fix a few bugs with entity/link parsing 2023-04-13 08:39:20 -05:00
Jonathan Staab
c30b0d069e Combine app state into a single file 2023-04-13 08:39:20 -05:00
Jonathan Staab
76b3479b7d Put state shared by ui components with those components 2023-04-13 08:39:20 -05:00
Jonathan Staab
69796ca4cd Rename PersonBadge 2023-04-13 08:39:20 -05:00
Jonathan Staab
0e4420ccd6 Tweak usage page name extraction 2023-04-13 08:39:20 -05:00
Jonathan Staab
c1857dea2d Fix message ordering 2023-04-13 08:39:20 -05:00
Jonathan Staab
d63d8afbbf Fix channel scrolling behavior 2023-04-13 08:39:20 -05:00
Jonathan Staab
b9b669af7c Fix some layout stuff with replies 2023-04-13 08:39:20 -05:00
Jonathan Staab
d9ab565b5f Fix note detail relay popover 2023-04-13 08:39:20 -05:00
Jonathan Staab
7d1c2999eb Add NoteActions 2023-04-13 08:39:20 -05:00
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