Commit Graph

614 Commits

Author SHA1 Message Date
Jonathan Staab
f7231a757b Remove buffer from cursor 2023-04-26 10:17:08 -05:00
Jonathan Staab
51a90fe9a7 Fix onboarding, move some stuff to env vars, fix cursor 2023-04-26 10:12:32 -05:00
Jonathan Staab
ec040ce262 Fix pagination by removing since 2023-04-25 15:07:41 -05:00
Jonathan Staab
139209c83e Add capacitorjs 2023-04-24 20:19:22 -05:00
Jonathan Staab
8cb7fddfea Split notifications into multiple tabs 2023-04-24 16:24:21 -05:00
Jonathan Staab
0c291d6375 Wait for relays that require AUTH 2023-04-24 16:11:01 -05:00
Jonathan Staab
fa6e17fc24 Inline entity rendering, put quotes at bottom 2023-04-24 12:22:51 -05:00
Jonathan Staab
2835ec170d Stack modals forever 2023-04-24 12:04:33 -05:00
Jonathan Staab
db583e7ff2 Fix npub entities in notes 2023-04-24 11:59:15 -05:00
Jonathan Staab
1719da5562 Paginate per relay 2023-04-24 10:36:51 -05:00
Jonathan Staab
612a0d18df Remember which rooms the user has joined 2023-04-21 11:49:50 -05:00
Jonathan Staab
7916ed501c Remember message/chat notification read status 2023-04-21 11:49:50 -05:00
Jonathan Staab
55d38ef113 Fix NoteDetail again 2023-04-21 11:42:37 -05:00
Jonathan Staab
1365e2643f Fix note replies getting reset when opening a modal. Because we're iterating through the stack in app/Modal, the note prop on NoteDetail gets re-supplied when opening a child modal. This nukes replies beause we assign them to a local variable which was getting reactively overwritten. Detaching displayNote from note fixes it. This problem is likely to show up elsewhere. 2023-04-21 11:32:59 -05:00
Jonathan Staab
fa1211a2fd Factor out NoteZap from NoteActions 2023-04-21 11:12:36 -05:00
Jonathan Staab
66b16c4db4 Gray out zap/like sometimes 2023-04-21 10:43:13 -05:00
Jonathan Staab
e23caa311a Fix AUTH over multiplexer by upgrading paravel 2023-04-20 11:54:05 -05:00
Jonathan Staab
3e1b0cb9fe Improve initial load using purplepag.es 2023-04-20 10:47:35 -05:00
Jonathan Staab
282c036fa5 Include people with only a display_name in search 2023-04-20 10:32:22 -05:00
Jonathan Staab
b46fde360b Fix a few small bugs 2023-04-19 08:54:14 -05:00
Jonathan Staab
9e18bb1f3e Improve ios/mobile 2023-04-18 17:26:06 -05:00
Jonathan Staab
be5deb0532 Persist settings to nostr 2023-04-18 16:16:11 -05:00
Jonathan Staab
6c0eab5214 Clean up Relay Card and onboarding data 2023-04-18 14:38:18 -05:00
Jonathan Staab
c22e4e76a9 Hardcode relay.nostr.band for search 2023-04-18 12:52:45 -05:00
Jonathan Staab
c033b66b64 Load people from the networking in EnsureData too 2023-04-18 12:44:41 -05:00
Jonathan Staab
67d1162245 Add real profile search 2023-04-18 12:38:47 -05:00
Jonathan Staab
e43caba359 Manage modals with a mega modal model 2023-04-18 12:22:14 -05:00
Jonathan Staab
dfb1916b02 Fix a few bugs 2023-04-18 10:12:59 -05:00
Jonathan Staab
eaa517d71a Enqueue context requests to reduce concurrent subscriptions in feeds 2023-04-17 17:26:04 -05:00
Jonathan Staab
879ece60a9 Fix a few bugs 2023-04-17 16:47:54 -05:00
Jonathan Staab
5b548cccab Switch from custom data to lists 2023-04-17 15:45:14 -05:00
Jonathan Staab
54553bbbc8 Add buttons to add relays, people, and topics to feeds 2023-04-14 10:11:35 -05:00
Jonathan Staab
51b7de9c29 Add PersonFeed 2023-04-13 16:21:34 -05:00
Jonathan Staab
b2cd58cf8b Add custom feeds 2023-04-13 14:26:32 -05:00
Jonathan Staab
598b6da8c3 Don't render quotes if the note is rendered as a reply 2023-04-13 08:56:37 -05:00
Jonathan Staab
6d4a9c8d0d Add topic search, tweak topic autocomplete 2023-04-13 08:39:20 -05:00
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