Commit Graph

522 Commits

Author SHA1 Message Date
Mike Dilger
a55e5855c1 Storage: migration 27, nostr connect unconnected server to store a name too (will be used soon) 2024-03-08 14:20:25 +13:00
Mike Dilger
953a08786c cargo clippy 2024-03-08 13:09:12 +13:00
Bu5hm4nn
89d8585c25 Wizard: Fix importing from ncryptsec 2024-03-07 14:06:06 -06:00
Mike Dilger
b85d2df7aa Don't allow dots in petnames (doesn't clean up current ones) 2024-03-08 08:40:59 +13:00
Bu5hm4nn
6b2a6cb367 Merge remote-tracking branch 'dilger/unstable' into fix/wizard-import-pubkey
# Conflicts:
#	gossip-bin/src/ui/wizard/mod.rs
2024-03-07 13:21:48 -06:00
Bu5hm4nn
405698fc2d Fix regression where CreateNewAccount was skipping metadata and follow steps 2024-03-07 13:17:47 -06:00
Mike Dilger
d55739ce9f Update nostr-types 2024-03-08 08:16:12 +13:00
Mike Dilger
236dc62207 Update default relays in the wizard 2024-03-07 14:19:44 +13:00
Bu5hm4nn
6e34ad51d0 Wizard: Add missing visual space to follow people 2024-03-06 07:54:15 -06:00
Bu5hm4nn
83a2de5711 Wizard:
- finish restyle of pages
- skip follow people on private key import
2024-03-06 07:37:48 -06:00
Bu5hm4nn
214a93287b Wizard:
- Overhaul UI style
- reduce number of buttons
2024-03-05 20:59:04 -06:00
Bu5hm4nn
37ecf9e939 Wizard: Follow People page:
- re-style using list view design
- optimize caching to improve UI responsiveness
- use design buttons and improve overall alignment
2024-03-05 11:02:32 -06:00
Mike Dilger
82f1b7d81f Update nostr-types 2024-03-06 04:44:16 +13:00
Bu5hm4nn
6beb7ff7d0 Wizard "Follow People":
- Put entries in ScrollArea so they can all be seen
- Use list format in preparation for prettier complete display
- Refresh Metadata periodically for entries where it is still missing
- Cache Person entries when found (improves UI responsiveness)
2024-03-04 22:32:30 -06:00
Bu5hm4nn
c90ac053c9 Wizard: For pubkey only mode, skip "SetupMetadata" page 2024-03-04 16:44:24 -06:00
Bu5hm4nn
7fb617a4de Wizard: Only show "Exit this Wizard" button on first page of Wizard 2024-03-04 16:44:01 -06:00
Bu5hm4nn
0751e0d1e7 Wizard: Setup Relays Page: Refine text to make it clear successful imports can just continue 2024-03-04 16:03:00 -06:00
Bu5hm4nn
add6de479e Wizard: Clarify wording when importing existing profile 2024-03-04 12:34:01 -06:00
Bu5hm4nn
df3967adb8 Fix inverted use of wizard_state.relay_list_sought 2024-03-04 12:30:42 -06:00
Bu5hm4nn
c40cf3d551 Add commandline command dpi for setting the dpi override setting 2024-03-03 20:37:45 -06:00
Mike Dilger
3347e880c5 Merge commit '62cdb9c4c8d9fa5d49aeef252fed84305f595af2' into unstable 2024-03-02 13:52:05 +13:00
Bu5hm4nn
62cdb9c4c8 Override mouse cursor on reaction labels. Fixes #645 2024-03-01 18:00:00 -06:00
Bu5hm4nn
6cc994572e Relay Entry: Add Permission settings to relay edit view 2024-02-29 17:51:55 -06:00
Bu5hm4nn
a81f4ad832 Settings UI: ScrollArea for all settings pages 2024-02-28 18:06:02 -06:00
Mike Dilger
78bd5432c9 Move a few UI buttons (DPI related) down a row so they are not likely to be offscreen 2024-02-29 08:39:04 +13:00
Mike Dilger
c25ae7beda Show "Load More" button even on empty feeds (just not while recomputing) 2024-02-29 08:20:20 +13:00
Mike Dilger
ca2955c19f F11 maximizes screen 2024-02-29 07:28:11 +13:00
Mike Dilger
8df86bf5e3 Updates for ffmpeg 6.1 2024-02-29 06:22:07 +13:00
Mike Dilger
cdbd25de8f Fix PgUp/PgDn freezing 2024-02-29 05:46:05 +13:00
Mike Dilger
ce21b8346d Update nostr-types 2024-02-28 09:09:29 +13:00
Mike Dilger
ecbcd0674b UI: show when lists are identical based on hash 2024-02-27 10:26:21 +13:00
Mike Dilger
50e47da1a8 Honor dismiss immediately by forcing a feed refresh 2024-02-27 10:24:35 +13:00
Mike Dilger
3f9cc96b1a Don't offer delete for other people's posts 2024-02-27 10:14:16 +13:00
Mike Dilger
caf6d21a48 UI menu option to post again 2024-02-26 08:57:15 +13:00
Bu5hm4nn
1c83e03428 Fix bug when saving: call App::init_scaling() after saving the settings because it reads the settings 2024-02-20 13:24:55 -06:00
Bu5hm4nn
5856a2ba22 Make changing DPI setting more intuitive by offering to revert back to native scaling 2024-02-19 14:31:11 -06:00
Bu5hm4nn
389fb26dbc Move initialization of UI scaling to first run of App::update() as due to changes in egui 0.24 the native DPI is not known until the Viewport is created 2024-02-19 14:30:33 -06:00
Bu5hm4nn
74786e9d85 Video: Stop playing when scrolling out of view 2024-02-16 13:37:06 -06:00
Mike Dilger
e680226dd3 Update nostr-types (ncryptsec NFKC password normalization) 2024-02-17 07:41:53 +13:00
Bu5hm4nn
1ca8084f08 Workaround for bug in egui 0.26.x that breaks Response::interact(sense) for egui::Frame responses. 2024-02-15 20:58:45 -06:00
Mike Dilger
26c63396a1 Fix: command delete_spam_by_content to work better for DM spam (kind=14 works now) 2024-02-16 10:01:15 +13:00
Bu5hm4nn
79ab68aa4a Fix for the deprecation warnings. And a bug fix for when tagging someone twice the cursor jumps to the first tag, now it jumps to the last tag. 2024-02-15 13:39:53 -06:00
Bu5hm4nn
fda89dd542 Change selection color to accent_color for better visibility and fix 2 unused imports 2024-02-15 12:52:18 -06:00
Mike Dilger
d0aa9c9ef8 Merge remote-tracking branch 'bushmann/updated-egui-test' into unstable 2024-02-16 07:31:02 +13:00
Mike Dilger
f55ec5ddae Fix warnings 2024-02-14 10:05:15 +13:00
Bu5hm4nn
d37c48ad0d Update egui-video 2024-02-12 14:17:58 -06:00
Bu5hm4nn
ead6159e5c Scrolling: Use raw_scroll_delta because smooth_scroll_delta never reaches zero 2024-02-12 12:59:00 -06:00
Bu5hm4nn
f48728b141 Merge remote-tracking branch 'dilger/unstable' into updated-egui-test
# Conflicts:
#	gossip-bin/Cargo.toml
2024-02-12 12:30:45 -06:00
Bu5hm4nn
3351fabc06 Clipboard: Don't create a second Clipboard instance, instead use the ViewportCommand::RequestPaste command 2024-02-12 12:15:17 -06:00
Bu5hm4nn
f39877204e Fix: using wrong text position, introduced when porting to new egui 2024-02-11 23:14:47 -06:00
Bu5hm4nn
8192456aac Adapt kinetic scrolling for egui 0.26.0 2024-02-11 17:56:41 -06:00
Bu5hm4nn
687dae2cf8 Disable deadlock_detection for normal use 2024-02-10 17:06:48 -06:00
Bu5hm4nn
81a4546330 Fix auto-id warning 2024-02-10 16:55:34 -06:00
Bu5hm4nn
49725c9f84 Adapt to new macOS options 2024-02-10 16:55:19 -06:00
Bu5hm4nn
860805f85a Fix deadlock 2024-02-10 16:18:29 -06:00
Bu5hm4nn
114ed45cf0 Update to egui 0.26.0 master in progress...
BUG: currently deadlocks
TODO: Scroll delta needs to be ported (but first check out if it's still needed with egui's new smooth scrolling options)
2024-02-09 21:03:15 -06:00
Mike Dilger
0f737a9d60 update gossip-relay-picker 2024-02-08 10:21:14 +13:00
Mike Dilger
d841102711 nip46 server: option to approve just once 2024-02-07 08:27:03 +13:00
Mike Dilger
b0fc677423 More on NIP-46 approvals (NEED MIGRATION NEXT, THEN NEED APPROVAL OPTIONS) 2024-02-05 20:45:57 +13:00
Mike Dilger
704ed3802c Merge branch 'unstable' into auth 2024-02-05 13:38:57 +13:00
Mike Dilger
c09a1c8bdf Cargo update, with patches to sdl and zbus 2024-02-05 10:12:20 +13:00
Mike Dilger
35081b9767 UI approval popup 2024-02-04 08:48:31 +13:00
Mike Dilger
3137a5bc5f Settings for relay connection and auth requiring approval 2024-02-04 08:48:31 +13:00
Mike Dilger
76d7911595 commentary 2024-02-04 08:48:31 +13:00
Mike Dilger
f78ec69ba1 User confirmation of Relay Connection (without UI promit, auto-approving) 2024-02-04 08:48:31 +13:00
Mike Dilger
95d3253af6 Auth approval for relays (without UI interaction, currently it auto-approves) 2024-02-04 08:48:30 +13:00
Bu5hm4nn
617079fd5a Relay Lists: Reset edit state when changing pages. fixes #628 2024-02-03 13:07:03 -06:00
Mike Dilger
2ff4694ae4 MAJOR Updates for TagV3 and EventV3 (including migration 25) 2024-02-03 10:41:38 +13:00
Mike Dilger
17d1cd3b76 Update nostr-types (TagV3) 2024-02-03 05:02:31 +13:00
Mike Dilger
258cdcc13f Fix a race condition in the relay usage switches 2024-02-02 09:41:13 +13:00
Mike Dilger
d1bb85cec9 When setting up nostr-connect, subscribe to the relay for those events 2024-01-31 08:02:49 +13:00
Mike Dilger
f62d29cba9 Improve wording 2024-01-30 09:46:19 +13:00
Mike Dilger
e6d827f56f cargo fmt 2024-01-30 09:37:23 +13:00
Mike Dilger
0f3bbf4f31 UI for nostr-connect 2024-01-30 09:14:04 +13:00
Mike Dilger
6325a8a192 Storage for nip46 2024-01-29 11:41:42 +13:00
Mike Dilger
b548cfb66c udpate nostr-types 2024-01-26 08:57:12 +13:00
Mike Dilger
4ba1b44376 Fix last commit 2024-01-23 12:04:21 +13:00
Mike Dilger
434c1be54b [PRIVACY] Do not automatically show images in DMs 2024-01-23 09:17:35 +13:00
Mike Dilger
0c7bfa5b5d update nostr-types [Filter] 2024-01-22 10:47:34 +13:00
Mike Dilger
1a07f3c8eb Setting: avoid spam on unsafe relays (default to off to mimic current behavior) 2024-01-19 10:01:05 +13:00
Mike Dilger
4143632c9b Introduce relay SPAMSAFE usage bit 2024-01-19 09:47:34 +13:00
Mike Dilger
c0f6ff4fed simplify 2024-01-19 09:47:12 +13:00
Mike Dilger
bcd1f29857 move lib Settings into bin UnsavedSettings since it is the only consumer 2024-01-19 07:48:49 +13:00
Mike Dilger
719e5959c3 Stop using Settings object in UI (except for unsaved settings) 2024-01-19 07:40:19 +13:00
Mike Dilger
6373b0550a Thread relay changes through the overlord so that subscriptions can be updated 2024-01-18 12:01:07 +13:00
Mike Dilger
a7a36bdd9b Clean up overlord relay subscription interface 2024-01-18 09:55:51 +13:00
Mike Dilger
09bd143a21 Wizard: When generating a keypair, indicate such rather than flashing an error 2024-01-18 09:40:50 +13:00
Mike Dilger
3e8388b8bc Do not require any minimum number of relays, but suggest. 2024-01-18 09:21:51 +13:00
Mike Dilger
37dad0fe46 Wizard: set pages via app.set_page() [but shortcut that function when within_wizard] 2024-01-18 09:11:31 +13:00
Mike Dilger
7d7e462e35 wizard: allow empty passwords, indicate password mismatch dynamically 2024-01-18 09:11:31 +13:00
Mike Dilger
9c02afb301 Clear UI sensitive fields on page changes 2024-01-18 09:11:31 +13:00
Mike Dilger
a623a5e7fc GossipIdentity - wrapped nostr_types::Identity 2024-01-17 08:23:14 +13:00
Mike Dilger
2da9cf10b7 update nostr-types (delete_author_allowed() + signer/identity updates) 2024-01-17 07:53:26 +13:00
Mike Dilger
6b329b1688 FIX: Note rendered as QR to use decrypted content (if encrypted note) 2024-01-14 11:33:21 +13:00
Mike Dilger
0d3f9e6ef5 storage: read_or_create_relay() [more ergonomic than write_relay_if_missing] 2024-01-12 16:11:45 +13:00
Mike Dilger
218ed5c862 Add more relay filters, fix Private filter 2024-01-12 10:10:27 +13:00
Mike Dilger
c21b3d3b9c swap "pick up & configure" for "low quality" (otherwise it would be 'A'); add Default sort order variant 2024-01-12 10:00:51 +13:00
Mike Dilger
dfd8972d4d Automatically determine which relays to advertise to 2024-01-12 10:00:51 +13:00
Mike Dilger
763ba57fe4 cargo clippy 2024-01-11 11:16:47 +13:00
Mike Dilger
bc7a26d7e1 Load More support for Inbox 2024-01-11 11:16:47 +13:00