Commit Graph

743 Commits

Author SHA1 Message Date
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
Bu5hm4nn
d43f03b9db Relay Pages: Only show Reasons when "Debug Statistics" are turned on 2024-04-20 08:23:18 +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
Mike Dilger
0c541e7c50 Merge branch 'master' into unstable 2024-04-18 09:40:40 +12:00
Mike Dilger
c43ec9ed2b Remove leftover flagword in comments 2024-04-18 09:19:25 +12:00
Mike Dilger
16688bb2d4 Fix transaction-related bugs in loading/saving relays 2024-04-18 09:19:25 +12:00
Mike Dilger
49b78a3f97 Fix transaction-related bugs in loading/saving relays 2024-04-18 08:52:12 +12:00
Mike Dilger
cf4f04fc0d command: print seen on 2024-04-17 14:20:09 +12:00
Mike Dilger
7318b72349 Update for nostr-types 2024-04-17 14:20:09 +12:00
Mike Dilger
6b73fb5e3c update nostr-types (generic decryption, better decryption error) 2024-04-17 14:20:09 +12:00
Bu5hm4nn
12075d4243 New Widgets: Manually port important changes from 'feature/color-palette' branch 2024-04-16 12:41:14 -06:00
Bu5hm4nn
45180003de Button Styles and Widgets: Rename to "Primary", "Secondary" and "Bordered" 2024-04-16 11:22:34 -06:00
Michael Dilger
b8938d1c5f
Merge pull request #715 from bu5hm4nn/feature/settings-custom-mouse-acceleration
Settings: Allow custom Mouse acceleration values in textbox
2024-04-16 13:28:02 +12:00
Mike Dilger
b7080f5988 cargo fmt 2024-04-16 13:27:13 +12:00
Bu5hm4nn
cfd44fefce Settings: Allow custom Mouse acceleration values in textbox (and dynamically adjust the slider) fixes #691 2024-04-16 13:24:36 +12:00
Bu5hm4nn
1a5451a5c0 Tagging: Interact again over painted text to workaround current egui bug. Fixes #707 2024-04-16 13:24:29 +12:00
Bu5hm4nn
7d7057c724 Tagging: Only create a popup for the first match (same rule as do_replacements()) 2024-04-16 13:24:29 +12:00
Bu5hm4nn
967683959e Tagging: Do tag replacements only once per tag 2024-04-16 13:24:29 +12:00
Bu5hm4nn
2cc95f425b Tagging: Interact again over painted text to workaround current egui bug. Fixes #707 2024-04-15 15:46:41 -06:00
Bu5hm4nn
93ee0ad81f Tagging: Only create a popup for the first match (same rule as do_replacements()) 2024-04-15 14:21:34 -06:00
Bu5hm4nn
72e334731e Tagging: Do tag replacements only once per tag 2024-04-15 14:14:37 -06:00
Bu5hm4nn
5c13be4294 Settings: Allow custom Mouse acceleration values in textbox (and dynamically adjust the slider) fixes #691 2024-04-15 13:23:50 -06:00
Mike Dilger
315bc115fc command: import_encrypted_private_key 2024-04-15 14:41:43 +12:00
Mike Dilger
0958234632 Fix logic of command login 2024-04-15 14:40:52 +12:00
Mike Dilger
d5b3ad1164 command: import_encrypted_private_key 2024-04-15 13:30:01 +12:00
Mike Dilger
4b07dc4cb6 Fix logic of command login 2024-04-15 13:21:36 +12:00
Mike Dilger
059a3c46eb Command: export_encrypted_key 2024-04-15 13:07:55 +12:00
Mike Dilger
fa81c27351 cargo fmt 2024-04-15 10:03:55 +12:00
Mike Dilger
d3aec9556f cargo fmt 2024-04-15 10:03:11 +12:00
Mike Dilger
8b143847f2 Fix followed-list comparison; Fix out-of-sync personlist lengths 2024-04-15 10:02:24 +12:00
Daniele Tonon
09b3e2cc5b Show relay alert icon only for ws:// protocol 2024-04-15 10:02:20 +12:00
Daniele Tonon
b317038cbe Notifications: optimize space around Reasons label 2024-04-15 10:01:53 +12:00
Daniele Tonon
c7acdc21db Notifications: Use new palette colors instead of complementary 2024-04-15 10:01:49 +12:00
Daniele Tonon
f67e550986 Notifications: add a gap before the actions block 2024-04-15 10:01:45 +12:00
Daniele Tonon
7c3cba0263 Notifications: Reduce space in notification counters 2024-04-15 10:01:41 +12:00
Daniele Tonon
06db88b99d Notifications: Put reasons on a new line on small UI 2024-04-15 10:01:36 +12:00
Bu5hm4nn
3d744f0493 Notifications: Make header separate again, wrap description.
Widgets: Add Relay Url widget
2024-04-15 10:01:11 +12:00
Bu5hm4nn
56a62f118c Notifications: Update Layout to be more responsive and consistent over different notification types 2024-04-15 10:01:07 +12:00
Bu5hm4nn
e8a77efcdb Notifications: Update colors for dark mode, also tone down colors when no notifications present 2024-04-15 10:01:01 +12:00
Mike Dilger
6b5305603c Merge commit '7792737da7602afd0ddd77ae869758d988b558a3' into unstable 2024-04-15 10:00:22 +12:00
Daniele Tonon
7792737da7 Show relay alert icon only for ws:// protocol 2024-04-14 23:30:46 +02:00
Mike Dilger
4f6e3824fd Fix followed-list comparison; Fix out-of-sync personlist lengths 2024-04-15 06:57:15 +12:00
Daniele Tonon
d1cda19c6d Notifications: optimize space around Reasons label 2024-04-11 20:01:01 +02:00
Daniele Tonon
eb7818b40e Notifications: Use new palette colors instead of complementary 2024-04-11 20:01:01 +02:00
Daniele Tonon
15d373b5ae Notifications: add a gap before the actions block 2024-04-11 20:01:01 +02:00
Daniele Tonon
81dafc0f01 Notifications: Reduce space in notification counters 2024-04-11 20:01:01 +02:00
Daniele Tonon
f6224a5ab9 Notifications: Put reasons on a new line on small UI 2024-04-11 19:58:48 +02:00
Bu5hm4nn
ec3c245e61 Notifications: Make header separate again, wrap description.
Widgets: Add Relay Url widget
2024-04-11 12:57:21 +12:00
Bu5hm4nn
9fc716bf4b Notifications: Update Layout to be more responsive and consistent over different notification types 2024-04-11 12:57:17 +12:00
Bu5hm4nn
682554599d Notifications: Update colors for dark mode, also tone down colors when no notifications present 2024-04-11 12:53:30 +12:00
Bu5hm4nn
383686e491 Notifications: Make header separate again, wrap description.
Widgets: Add Relay Url widget
2024-04-10 17:18:38 -06:00
Bu5hm4nn
8124e7eceb Notifications: Update Layout to be more responsive and consistent over different notification types 2024-04-10 13:48:24 -06:00
Mike Dilger
cdf88ae0a0 Command: export_encrypted_key 2024-04-10 11:12:08 +12:00
Bu5hm4nn
1d98e93be9 Notifications: Update colors for dark mode, also tone down colors when no notifications present 2024-04-08 19:15:16 -06:00
Mike Dilger
ed26c4a81f Remove old indexes and their usage (except in old migrations) 2024-04-06 10:13:07 +13:00
Mike Dilger
1eef6c40d6 Use new find_events_by_filter, retire old find functions 2024-04-06 10:13:07 +13:00
Mike Dilger
b5a2f12f3b Add stats of new indexes on help page 2024-04-06 10:13:07 +13:00
Mike Dilger
59e6c44fbb update nostr-types 2024-04-05 09:28:05 +13:00
Mike Dilger
ff53e3bee9 Reapply "Give the post icon some opacity so we can see what is in the post behind it, and move to top if feed reversed"
This reverts commit 831887fb4e.
2024-04-04 11:07:55 +13:00
Mike Dilger
43724ed281 Reapply "Option to render feed with newest at bottom"
This reverts commit b51e65a7c6.
2024-04-04 11:07:55 +13:00
Mike Dilger
4391701973 Bump version to 0.11-unstable 2024-04-04 11:07:55 +13:00
Mike Dilger
19b952ab53 Cargo clippy and fmt 2024-04-04 11:07:22 +13:00
Mike Dilger
d02a3b642d Merge commit '4136ca58e1f0e3d90db4c7a2b56e98aa432d2812' into unstable 2024-04-04 10:41:29 +13:00
Daniele Tonon
4136ca58e1 Increase right padding and fix top bar 2024-04-03 11:53:34 +02:00
Mike Dilger
408337be12 spelling 2024-04-03 11:52:20 +13:00
Mike Dilger
baa79bd2b8 Merge branch 'unstable' into pending-notifications 2024-04-03 11:52:12 +13:00
Bu5hm4nn
b82e139013 Add right margin to the feed to make space for the scroll bar 2024-03-29 21:39:48 -06:00
Bu5hm4nn
b43033b0ba Fix #701: bug handling kind:6 reposts without embedded note, when the e-tag is not the first tag. 2024-03-29 20:56:58 -06:00
Bu5hm4nn
7795f194e6 Notifications: Add Filter combo box 2024-03-29 18:36:12 -06:00
Bu5hm4nn
d6fe9ce796 Notifications: Make sure 'Remember' switch values are persisted when new pending data comes in 2024-03-29 18:10:47 -06:00
Bu5hm4nn
85f9220531 Make notifications fit in min app size 2024-03-29 13:10:24 -06:00
Bu5hm4nn
00371cdd8b cleanup warning 2024-03-28 22:50:19 -06:00
Bu5hm4nn
5b0d07daaa Merge commit 'cfd0a06a9a0dba726fe46a09adc125a63d2efac2' into feature/pending-notifications
# Conflicts:
#	gossip-bin/src/ui/notifications/mod.rs
2024-03-28 22:48:11 -06:00
Bu5hm4nn
0f65c328c2 Pending Notifications: Implement "icon summary" and replace menu item with it 2024-03-28 22:36:33 -06:00
Bu5hm4nn
b60358357e Add standardized colors to Theme 2024-03-28 21:07:14 -06:00
Bu5hm4nn
233d970596 Merge remote-tracking branch 'dilger/unstable' into feature/pending-notifications
# Conflicts:
#	gossip-bin/src/ui/widgets/mod.rs
2024-03-28 20:24:34 -06:00
Mike Dilger
cfd0a06a9a Allow point-release updates of chrono 2024-03-29 13:59:13 +13:00
Mike Dilger
f9acdcefaa Name fields in PendingItem variants 2024-03-29 13:58:49 +13:00
Mike Dilger
780d3ddf60 clippy fixes 2024-03-29 13:34:13 +13:00
Mike Dilger
dc333b3d90 cargo fmt 2024-03-29 12:51:33 +13:00
Mike Dilger
9051d6f113 logging fixes 2024-03-29 11:55:03 +13:00
Bu5hm4nn
5c707bd5a3 Cleanup old commented code 2024-03-28 16:16:38 -06:00
Mike Dilger
871f29fe54 Update nostr-types 2024-03-29 09:58:58 +13:00
Bu5hm4nn
5480458634 Cleanup old commented code 2024-03-28 14:46:33 -06:00
Bu5hm4nn
47ba7863ad Use borderd button for manage actions 2024-03-28 14:19:51 -06:00
Mike Dilger
e662f4d9d9 Update for EventReference changes 2024-03-29 08:59:26 +13:00
Mike Dilger
b17a005f10 Update nostr-types 2024-03-29 08:59:26 +13:00
Bu5hm4nn
f7054b83eb Pending Notifications: Show timestamps in user's local timezone (uses OS timezone thanks to chrono crate) 2024-03-28 12:25:02 -06:00
Bu5hm4nn
ad2ec883de Merge remote-tracking branch 'dilger/unstable' into feature/pending-notifications 2024-03-27 20:57:56 -06:00
Bu5hm4nn
7629c6a355 Pending: Rework permission system into Pending system and create UI page for Notifications 2024-03-27 20:57:38 -06:00
Mike Dilger
04aa5db932 Merge remote-tracking branch 'bushmann/feature/clickable-relay-links-in-profile' into unstable 2024-03-28 10:09:33 +13:00
Mike Dilger
855e7c2f1f Merge remote-tracking branch 'bushmann/feature/warn-no-audio-device' into unstable 2024-03-28 10:02:01 +13:00
Bu5hm4nn
f421a25304 Make sure Person::best_name() is the only way of choosing the best name 2024-03-26 14:52:51 -06:00
Bu5hm4nn
45eb3648fe Tagging: Prioritize not only followed people but people on all lists 2024-03-26 14:52:01 -06:00
Bu5hm4nn
579757dab9 Show relay list as clickable links that will go to relay configuration 2024-03-26 00:01:33 -06:00
Bu5hm4nn
dc852baaeb Touch up people list layout (fixes #695) 2024-03-25 23:37:05 -06:00
Bu5hm4nn
01d7a17926 Fix Person page layout (fixes #695) 2024-03-25 23:30:58 -06:00
Bu5hm4nn
9549c5a605 Fix posting area when warning area is shown and remove some unused code (old margin case from the time the status was shown in the bottom-panel) 2024-03-25 21:51:32 -06:00
Mike Dilger
23130a8ba4 cargo clippy 2024-03-26 14:10:44 +13:00
Mike Dilger
724785a39d Show relay list state on person lists and person page; add fetch now button 2024-03-26 14:09:39 +13:00
Mike Dilger
1be40a9903 Update emojis 2024-03-26 13:46:36 +13:00
Mike Dilger
9076183b06 Change setting for when relay list and metadata become stale to MINUTES 2024-03-26 11:25:50 +13:00
Mike Dilger
05a4a5884c Do not switch from RunState::Online from RunState::ShuttingDown 2024-03-26 10:14:05 +13:00
Daniele Tonon
2fa631344a Update style for libsdl2-dev alert 2024-03-25 20:57:01 +01:00
Mike Dilger
56b6d8a63f shorten default stale times (especially for relay lists) 2024-03-23 10:12:49 +13:00
Bu5hm4nn
3b04bb0c17 No audio warning: Use updated colors for warning message 2024-03-22 13:16:21 -06:00
Bu5hm4nn
795c805a64 Merge remote-tracking branch 'dilger/unstable' into feature/warn-no-audio-device 2024-03-22 13:02:38 -06:00
Bu5hm4nn
8aa0d39a14 Allow zaps even when no seen_on relays are known for a note, because we only need the author profile 2024-03-21 19:48:27 -06:00
Mike Dilger
3f2fad47a7 Change rendering of relays on person page (mention they are outbox, show the score) 2024-03-22 11:03:41 +13:00
Mike Dilger
b51e65a7c6 Revert "Option to render feed with newest at bottom"
This reverts commit c43135d2bf.
2024-03-22 10:53:29 +13:00
Mike Dilger
831887fb4e Revert "Give the post icon some opacity so we can see what is in the post behind it, and move to top if feed reversed"
This reverts commit 20a6d49d2d.
2024-03-22 10:53:29 +13:00
Bu5hm4nn
ba6e2d6a7c Relay Entry: Don't show permission drop-downs when the permission is disabled in settings (fixes #688) 2024-03-21 15:28:49 -06:00
Bu5hm4nn
005ea54c04 Make libsdl2 warning dismissable for one gossip session 2024-03-21 11:33:17 -06:00
Bu5hm4nn
21101d8f41 Merge remote-tracking branch 'dilger/unstable' into feature/warn-no-audio-device 2024-03-21 11:21:17 -06:00
Bu5hm4nn
d3e5dacd67 Fix #552: Don't show more menu on "Followed" and "Muted", remove "view contacts" menu item from more menu for all 2024-03-21 10:31:49 -06:00
Bu5hm4nn
eea6eccc8b People Lists: Row entry text should be non-selectable 2024-03-21 09:35:06 -06:00
Mike Dilger
ce0c647299 Merge branch 'seeker' into unstable 2024-03-21 15:38:51 +13:00
Bu5hm4nn
c1a50ea44b Fixes #552: Clicking on labels should also do row_click action 2024-03-20 17:43:04 -06:00
Bu5hm4nn
8ddc6b99fb Fixed #552: The error messages in the "Add contact to the list" should be displayed below the title 2024-03-20 17:30:59 -06:00
Mike Dilger
4389b1cfda Seek relay list when following someone (parameter not necessary), but only if needed 2024-03-21 12:23:14 +13:00
Bu5hm4nn
f3e3a55a7d Fixed #552: The "more actions" button in the list view should not be displayed if it is empty (Followed and Muted) 2024-03-21 12:22:32 +13:00
Mike Dilger
20a6d49d2d Give the post icon some opacity so we can see what is in the post behind it, and move to top if feed reversed 2024-03-21 12:22:32 +13:00
Mike Dilger
c43135d2bf Option to render feed with newest at bottom 2024-03-21 12:22:32 +13:00
Mike Dilger
41baa88d05 command: backdate_eose() 2024-03-21 12:16:22 +13:00
Bu5hm4nn
d33f3ac8cd Thread: Auto-scroll to note only when note is not already in view to avoid UI "jitters" 2024-03-21 12:15:48 +13:00
Mike Dilger
92b547a43d Changes for building AppImage 2024-03-21 12:15:43 +13:00
Mike Dilger
4d0f5f9d73 Fix force of purplepag.es
fixes #627
2024-03-17 06:09:08 +13:00
Bu5hm4nn
f1ea6bb71e Warn if no audio device is found when compiled with 'video-ffmpeg' option 2024-03-15 18:23:54 -06:00
Bu5hm4nn
05ab6311cf Restore "Follow" and "Unfollow" button to User Profile, fixes #616 2024-03-15 16:36:21 -06:00
Bu5hm4nn
b78bd47c75 Fix issue #572 point A and fix separator placement 2024-03-15 16:16:51 -06:00
Bu5hm4nn
4ef476d79c Fix issue #572 points B, D, F and G 2024-03-15 15:47:15 -06:00
Mike Dilger
0de36e2107 Update gossip-relay-picker. Direction replaced with nostr-types RelayUsage 2024-03-16 10:31:47 +13:00
Mike Dilger
fb6dee3489 Update nostr-types, RelayUsage variants renamed 2024-03-16 10:31:47 +13:00
Bu5hm4nn
38511acc9e Add setting to allow users to turn auto-scroll-to-note-in-thread off 2024-03-15 15:24:35 -06:00
Bu5hm4nn
ec01c660cd Scroll to note in thread, also when it is fake-rendered. 2024-03-15 14:51:48 -06:00
Bu5hm4nn
f4dea1e05e Refactor: Eliminate passing reference of outer egui::Frame (which is never used) in feed module 2024-03-15 13:56:22 -06:00
Bu5hm4nn
712078ab70 Fix bug breaking lower posting area introduced with scroll to note commit 2024-03-15 12:28:02 -06:00
Bu5hm4nn
f6653595e2 Fix bug that gossip would not show replies in feed even if it was enabled (mainfeed_include_nonroot) 2024-03-15 11:12:07 -06:00
Bu5hm4nn
7913e2b92c Scroll to main/focused note in a thread. Also improve some ScrollArea initializations. 2024-03-15 11:11:20 -06:00
Daniele Tonon
17d1462bd1 Update modals' lightbox background 2024-03-15 11:09:58 +01:00
Bu5hm4nn
7a02bf8b00 Wizard: Add ScrollArea to "read_nostr_config" step 2024-03-14 17:44:44 -06:00
Mike Dilger
6827b3f4ad cargo clippy & fmt 2024-03-15 11:23:54 +13:00
Mike Dilger
aa92432181 cargo fmt 2024-03-15 10:46:07 +13:00
Mike Dilger
c0a0f7bac5 offline mode setting - only change runstate if the setting is out of sync 2024-03-15 10:43:44 +13:00
Bu5hm4nn
d3ae17895e Wire up offline setting to runstate 2024-03-14 11:56:31 -06:00
Bu5hm4nn
7a8a38f282 Merge remote-tracking branch 'dilger/unstable' into feature/approval-dialogue 2024-03-14 11:50:16 -06:00
Bu5hm4nn
4b15521ea3 Approvals: Create separate UI for NIP-46 requests showing json to sign 2024-03-14 11:49:47 -06:00
Bu5hm4nn
cfc5aa85b1 Remove unneccessary passes of egui::Context instance, it is available anywhere egui::Ui is already know with ui.ctx() function 2024-03-13 21:51:21 -06:00
Mike Dilger
712e6ec204 Switch to RunState system 2024-03-14 13:09:06 +13:00