Commit Graph

743 Commits

Author SHA1 Message Date
Mike Dilger
8bb4ea0aaf Pending items for setting up relays (of each class: READ, WRITE, DISCOVER, DM) 2024-06-21 10:45:24 +12:00
Bu5hm4nn
bc6258abdb Navigation Panel: Add switch for offline mode, fixes #751 2024-06-20 17:48:40 +02:00
Mike Dilger
c8ae74d85a Reprocess relay lists reworked to handle kind 3 too 2024-06-19 13:57:10 +12:00
Mike Dilger
b4eb4b6281 cargo clippy 2024-06-19 12:14:59 +12:00
Mike Dilger
6978ac38e9 Migration 38: Relay3, should_avoid() time, replaces penalty box 2024-06-19 11:23:20 +12:00
Mike Dilger
9d0b441263 Rework get_best_relays():
* Always yield their relay-list declared relays first
* Take in a 'min' and if not achieved, yield additional relays in score order,
  including using our own if we still can't achieve the minimum
* Use a bool to indicate 'write' instead of RelayUsage
* Adjust call sites: causes changes regarding min
2024-06-17 09:04:37 +12:00
Mike Dilger
deb75b7198 cargo fmt & clippy 2024-06-14 13:15:59 +12:00
Mike Dilger
8f17ba076e Command 'giftwrap_ids' changed to 'giftwraps' where they are decrypted 2024-06-14 11:19:31 +12:00
Mike Dilger
2ab39032d1 Rework how we advertise:
* 4 per second, don't care if they fail or not
* Do in rank order
* Change advertise button to show how many remain
2024-06-14 09:56:45 +12:00
Mike Dilger
af11318fb5 Change advertise help text and disable advertise button while advertising 2024-06-14 08:05:40 +12:00
bu5hm4nn
312fe4be08
Merge pull request #769 from AmirH-A/refactor/gossip-bin-ui
[REFACTOR] gossip-bin UI
2024-06-13 06:43:20 -06:00
Bu5hm4nn
efa7dd7e8d Restore some comments 2024-06-13 15:30:30 +03:00
Bu5hm4nn
280e6e211b Eliminate unused variable warning 2024-06-13 15:30:10 +03:00
Bu5hm4nn
8d7d341d50 Relay Entry: Add "DM" switch 2024-06-13 11:04:57 +03:00
Bu5hm4nn
5dc397aec1 Avatar: Show ⑰ on avatar images if the person has DM relays 2024-06-12 20:24:19 +03:00
Bu5hm4nn
d018064e38 Profile Page: Show DM relays below outbox relays 2024-06-12 13:55:57 +03:00
Bu5hm4nn
3e733e864d DM Chat Feed: Make Channel name clickable and link to Profile page 2024-06-12 13:32:57 +03:00
Bu5hm4nn
9e58dbb097 List: Always allow list actions. Fixes #734 2024-06-12 13:32:08 +03:00
Bu5hm4nn
50b0eb89c1 List: Always allow list actions. Fixes #734 2024-06-12 12:56:58 +03:00
Mike Dilger
1722fb78d8 Updates for nostr-types, including stripping delegation (NIP-26) 2024-06-11 08:43:01 +12:00
Mike Dilger
86610e5643 Update nostr-types 2024-06-11 08:33:53 +12:00
Mike Dilger
6f560c413f Remove overlap setting and other dead code 2024-06-10 09:47:14 +12:00
Mike Dilger
1a9b30ab14 When loading a thread and the main note isn't cached yet, show "LOADING..." instead of blankness 2024-06-09 00:09:52 +12:00
Mike Dilger
345f1c1848 Track and show how many relays are currently loading a chunk 2024-06-08 12:31:14 +12:00
Mike Dilger
6beb2ba673 Retire feed chunk settings 2024-06-08 12:01:09 +12:00
Mike Dilger
a4e26aa09f Share a single feed start, a single load_more(), and a single switch_feed()
NOTE: We degrade functionality by temporarily hardcoding 43200 as the feed chunk
2024-06-08 12:01:09 +12:00
Mike Dilger
9306317708 Add setting 'load_more_count' (to be used in subsequent commits) 2024-06-07 12:33:44 +12:00
Mike Dilger
19d6852c53 Simplify Feed internal with a single store of events (not one for each kind) 2024-06-07 12:15:14 +12:00
Mike Dilger
79ce510f9b cargo clippy 2024-06-07 12:14:48 +12:00
Mike Dilger
c70a8e18f4 ignore clippy assigning clones warning for now 2024-06-07 12:09:52 +12:00
Mike Dilger
bc0414cbb8 Merge branch 'annotation' into unstable [not straightforward] 2024-06-06 08:56:08 +12:00
Mike Dilger
51083717fc Revert "Feed Loading: Show spinner and hide buttons (fixes #749)"
This reverts commit d995784b90.
2024-06-06 08:31:01 +12:00
Mike Dilger
85b5c79784 Remove relay.nostr.jabber.ch as a relay option from the wizard (as requested by marco balmer) 2024-06-04 17:29:03 +12:00
Mike Dilger
99dfe1f98a ui: When loading a thread, indicate that we are climbing it 2024-06-04 06:06:54 +12:00
Mike Dilger
eacf6c9564 Note header link to parent, if parent is muted, indicates such 2024-06-03 15:27:34 +12:00
Mike Dilger
12d834ebfc Move notes and notedata outside of the ui/ 2024-06-03 15:20:41 +12:00
Mike Dilger
e54cc74ae9 DM post area - different messages if can use NIP-17 or not 2024-05-25 08:54:43 +12:00
Mike Dilger
b87f763860 Merge branch 'unstable' into annotation 2024-05-23 09:23:00 +12:00
Mike Dilger
045d74826c Merge branch 'master' into annotation 2024-05-23 09:21:43 +12:00
Mike Dilger
387d95cec1 Update nostr-types 2024-05-23 09:20:13 +12:00
Mike Dilger
b59f8f48b8 Move to new Person3 with PersonTable 2024-05-22 08:12:52 +12:00
Mike Dilger
893a27d2e7 storage.read_person (and has_person) to take optional transaction 2024-05-20 09:12:37 +12:00
Amirhossein Azarpour
8a142e818b refactor(ui): modular and cleanup side_panel and more cleaner zap area 2024-05-19 11:09:57 +03:30
Mike Dilger
113f32e704 Update nostr-types (filter.event_matches() fix) 2024-05-18 14:20:21 +12:00
Mike Dilger
d89b9fbcdc cargo fmt & clippy 2024-05-18 13:03:05 +12:00
Mike Dilger
8de1836128 Strip out manually adding relays to people:
- we had no mechanism to remove them, and outdated ones were causing troubles
- nostr now has more widespread relay association mechanisms
- we also updated person-relay scoring 'smoothness'
2024-05-18 09:56:47 +12:00
Mike Dilger
ed930f7d39 Merge branch 'unstable' into annotation 2024-05-17 15:40:46 +12:00
Mike Dilger
a4c732bd07 Update nostr-types 2024-05-17 07:34:56 +12:00
Mike Dilger
294d1b0286 Support rendering more event kinds 2024-05-17 07:34:37 +12:00
Mike Dilger
c4cff5a597 Update nostr-types 2024-05-17 07:24:35 +12:00