Commit Graph

3186 Commits

Author SHA1 Message Date
Mike Dilger
0cb2a26435 Added the ability to add "annotation" tag to a reply to your own posts (via "A" button) 2024-04-27 11:12:44 +12:00
Mike Dilger
d78d25454a skip annotations in feeds 2024-04-27 11:12:40 +12:00
Mike Dilger
af5cec0d7e Render annotations inside of a note in the UI 2024-04-27 11:12:36 +12:00
Mike Dilger
39a116bd60 storage.get_annotations(&event) 2024-04-27 11:12:31 +12:00
Mike Dilger
83d0043c77 process annotation events as relationships 2024-04-27 11:12:20 +12:00
Mike Dilger
f86d4d6ee0 Don't report errors of invalid zap receipts 2024-04-27 11:12:20 +12:00
Mike Dilger
b271be11a8 storage: Migrate Relationships, added some, renamed, and rebuild them 2024-04-27 11:10:41 +12:00
Mike Dilger
8ca7dfeb06 Update nostr-types (rust-lightning patch to avoid overflow) 2024-04-26 18:42:36 +12:00
Mike Dilger
3da431bd36 cargo update 2024-04-26 14:28:22 +12:00
Mike Dilger
fe2e87d345 Update nostr-types and match dep versions 2024-04-26 14:26:54 +12:00
Mike Dilger
83d14ca722 Update nostr-types (event.is_annotation(), event.quotes(), EventAddr kind checked for replaceability) 2024-04-26 14:26:54 +12:00
Bu5hm4nn
f97bdf4733 MoreMenu: Move button creation outside of MoreMenu to give more control over button style 2024-04-25 19:12:11 -06:00
Mike Dilger
0cbd000245 nip46: even better, skip any pubkey field from nip46 sign_event 2024-04-26 09:15:54 +12:00
Mike Dilger
5775514e1a nip46: tolerate empty string pubkeys in nip46 sign_event requests 2024-04-26 09:13:18 +12:00
Mike Dilger
d89650fe17 cargo fmt 2024-04-26 08:26:07 +12:00
Mike Dilger
5d2570b526 fix nip46: Send back 'ack' to connect when bunker is already connected. 2024-04-26 08:25:06 +12:00
Mike Dilger
5ce9e57e45 Add 'k' tag to single deletion events 2024-04-26 07:21:42 +12:00
Bu5hm4nn
788bb4af05 New Widgets: Fix Button text sizes for note actions 2024-04-25 11:43:17 -06:00
Bu5hm4nn
6d730122a5 Posting Area: Match style of DM posting area to main Posting area. 2024-04-25 11:42:54 -06:00
Bu5hm4nn
31eb195b61 New Widgets: Use new Buttons in more places 2024-04-25 11:42:23 -06:00
Bu5hm4nn
b6e535424f New Widgets: Make sure "danger hover" is also shown when button is focused (i.e. by keyboard).
ThemeTest Page:  Add new button states and button to quickly switch between dark and light modes
2024-04-25 10:15:04 -06:00
Bu5hm4nn
5a089d5f9d New Widgets: Use new Button widget for MoreMenu and create small button variant 2024-04-25 09:44:44 -06:00
Bu5hm4nn
616da20c88 New Widgets: Make use of Button::primary widget in many places 2024-04-24 22:27:51 -06:00
Michael Dilger
aa93f16db3
Merge pull request #723 from bu5hm4nn/feature/new-widgets
Feature/new widgets
2024-04-25 09:21:22 +12:00
Bu5hm4nn
0a918dd2bc Merge remote-tracking branch 'dilger/unstable' into feature/new-widgets
# Conflicts:
#	gossip-bin/src/ui/people/list.rs
#	gossip-bin/src/ui/people/person.rs
2024-04-23 13:16:47 -06:00
Mike Dilger
0aa350e9f8 Migration 31 - invert public/private sense in person lists 2024-04-23 09:10:00 +12:00
Mike Dilger
f532d63213 Use Private type for person_lists value (INVERTS THE DATABASE SENSE) 2024-04-23 09:05:52 +12:00
Mike Dilger
9eee972564 Use Private type in people follow/mute and nip05 follow functions (inverts sense) 2024-04-23 09:04:37 +12:00
Mike Dilger
1d819a2dd4 Use Private type in ToOverlordMessage follow messages (inverts sense) 2024-04-23 08:59:26 +12:00
Mike Dilger
2ec7702194 Use Private type for person_list_metadata.private field 2024-04-23 08:52:25 +12:00
Mike Dilger
d8032aadbd Define a type Private(bool) to force the sense and avoid confusion 2024-04-23 08:04:19 +12:00
Mike Dilger
0c8b049918 fix: Safer way to detect list mismatch 2024-04-22 13:05:23 +12:00
Mike Dilger
9fc184f4fa fix: Force PersonListMetadata on Followed list to be private=false 2024-04-22 13:02:52 +12:00
Mike Dilger
084b21b3c0 fix grammar 2024-04-22 13:02:52 +12:00
Mike Dilger
58f216b3a2 cargo clippy 2024-04-22 13:02:52 +12:00
Mike Dilger
9253b2699a Move About to gossip-bin, so help page doesn't say "gossip-lib" 2024-04-21 08:38:35 +12:00
Michael Dilger
6328f254e9
Merge pull request #726 from bu5hm4nn/fix/show-error-message-on-unparsable-embedded-event
Show error on unparseable embedded note content
2024-04-20 13:19:00 +12:00
Bu5hm4nn
3206a36047 Show error on unparseable embedded note content 2024-04-19 19:09:48 -06:00
Mike Dilger
06a72eb3e0 Update nostr-types (bugfix Event ordering) 2024-04-20 12:32:40 +12:00
Mike Dilger
4b99e0511a cargo clippy 2024-04-20 11:03:10 +12:00
Mike Dilger
951cf9cfd5 Fix persistence of nip46 approvals 2024-04-20 11:02:45 +12:00
Mike Dilger
5f564edc4d And always optimize scrypt (or login takes too long) 2024-04-20 10:45:58 +12:00
Mike Dilger
6c8e2c29c7 Changes in compile profiles:
We should be testing bugs/overflows in dependent crates better during development,
while still somewhat optimizing them so debug builds mostly run fast,
and should be exposing at least limited debug symbols.
2024-04-20 10:36:41 +12:00
Mike Dilger
9174ac3f4a Use safer characters for nip46 secrets 2024-04-20 09:19:45 +12:00
Mike Dilger
be4f95cc54 Change some log levels 2024-04-20 08:27:31 +12:00
Mike Dilger
847950d5a0 filter_fn feeds using new FeedRange parameter 2024-04-20 08:27:31 +12:00
Bu5hm4nn
d43f03b9db Relay Pages: Only show Reasons when "Debug Statistics" are turned on 2024-04-20 08:23:18 +12:00
Mike Dilger
1c0c1229d5 Merge branch 'master' into unstable 2024-04-20 08:22:00 +12:00
Mike Dilger
b16d53ce66 Do not show private count of Followed list (and force to 0 just in case) 2024-04-18 09:49:27 +12:00
Mike Dilger
8095582206 Do not show private count of Followed list (and force to 0 just in case) 2024-04-18 09:45:51 +12:00