Mike Dilger
015f3f038c
Fix schema33
2023-04-20 16:10:50 +12:00
Mike Dilger
94cca223fe
Merge remote-tracking branch 'taivlam/patch-1' into unstable
2023-04-18 14:29:25 +12:00
Mike Dilger
783241f488
Fix foreign key error
2023-04-18 14:29:12 +12:00
taivlam
f5dfbe58bb
Edit README.md
...
* Clarify AUR package names
* Fix link (transposed URL arguments)
* Fix spelling of SoloKeys
2023-04-16 02:53:03 +00:00
Michael Dilger
3eb2fd8c18
Merge pull request #351 from bu5hm4nn/theme-add-follow-dark-mode-setting
...
Add setting to follow OS dark-mode setting
2023-04-16 10:55:24 +12:00
Nethanja Focking
fe7b87b967
Pass setting 'follow_os_dark_mode' to winit.
...
Unfortunately this requires an app restart to take effect. There does not seem to be a way to change this winit setting from within egui once the ui is running.
2023-04-15 15:32:27 -06:00
Nethanja Focking
2dbb836285
On startup, default to the OS dark_mode setting if follow_os_dark_mode=true
2023-04-15 12:12:00 -06:00
Nethanja Focking
42cad0ba4c
Add setting to follow OS dark-mode setting
...
egui already automatically follows the OS dark-mode setting, but we don't handle it with our theme selection, resulting in messed up visuals.
Now we check for this case and let the user decide whether to follow the OS or not.
2023-04-15 11:22:27 -06:00
Mike Dilger
93830c394e
Fixex (do not skip if older when updating following, db field name, func rename for consistency)
2023-04-15 09:55:59 +12:00
Mike Dilger
ca18fcb29d
Following - clear all option (with confirm)
2023-04-15 09:48:04 +12:00
Mike Dilger
6d169cf2f8
ContactList synchronization improvements
2023-04-15 09:05:47 +12:00
Mike Dilger
761695d125
cargo update egui crates
2023-04-14 12:17:18 +12:00
Mike Dilger
f10616cd7d
Force re-render of a note
2023-04-14 05:41:21 +12:00
Mike Dilger
b95cfa88ad
cargo update egui crates
2023-04-13 15:40:05 +12:00
Daniele Tonon
43f7d53d3a
Update the mentions' style (2)
2023-04-11 20:59:55 +02:00
Mike Dilger
20d1e5746e
Use ShatteredContent from nostr-types; cargo fmt
2023-04-11 13:46:37 +12:00
Mike Dilger
1ff783d6f5
update nostr-types
2023-04-11 13:46:34 +12:00
Mike Dilger
ee3f732fd0
cargo fmt
2023-04-11 13:46:27 +12:00
Daniele Tonon
de501d2b39
Update the mentions' style
2023-04-09 09:44:10 +12:00
Mike Dilger
8537292fe4
Update nostr-types
2023-04-08 15:39:02 +12:00
Mike Dilger
e1987f3a66
Handle NIP-11 HTTP 5xx errors better (don't try to parse as nip11)
2023-04-08 15:39:02 +12:00
Mike Dilger
4641114a49
Ability to hide relays
2023-04-08 12:16:24 +12:00
Mike Dilger
ab78e4e073
Write a status message if Fetch Media is disabled when someone clicks on [Image]
2023-04-08 11:08:06 +12:00
Mike Dilger
d4e7002e0d
show media automatically false by default (causes a network storm of loading)
2023-04-08 10:45:47 +12:00
Mike Dilger
1dfd656266
Start with more secure network defaults
2023-04-08 10:41:11 +12:00
Mike Dilger
f5c2384d55
Make settings easier for me to understand
2023-04-08 10:37:55 +12:00
Mike Dilger
3fb7713968
cargo fmt
2023-04-08 06:37:01 +12:00
Mike Dilger
65f50e3266
Hover text for image buttons
2023-04-08 06:36:01 +12:00
Mike Dilger
f0f87b4de4
Show Media setting to default to true
2023-04-08 06:35:35 +12:00
Mike Dilger
0112d821ba
Stats page
2023-04-08 06:16:57 +12:00
Mike Dilger
3ea2445548
Improve timeouts in fetcher
2023-04-08 05:26:05 +12:00
Mike Dilger
a63a365a7d
cargo clippy & fmt
2023-04-07 13:01:03 +12:00
Mike Dilger
7561dc2c1c
Merge remote-tracking branch 'remotes/bushmann/image-loading-on-unstable'
2023-04-07 12:55:40 +12:00
Mike Dilger
1d09e35737
Cache-invalidate all posts by a given author when toggling mute
2023-04-07 12:48:01 +12:00
Nethanja Focking
0473622b43
Merge branch 'unstable' into implement-image-loading-rebased
...
# Conflicts:
# src/ui/feed/note/content.rs
# src/ui/feed/note/mod.rs
2023-04-06 18:28:23 -06:00
Nethanja Focking
0e168e1751
cargo fmt + clippy
2023-04-06 17:38:47 -06:00
Mike Dilger
db460338bc
NoteData: switch to HashMap:
...
DashMap is faster in a multithread situation by providing fine-grain locks.
But the UI is run in a single thread. The locking overhead buys us nothing.
2023-04-07 11:16:43 +12:00
Nethanja Focking
7c0180bc0b
Refine context menu and increase image menu button spacing
2023-04-06 17:00:14 -06:00
Nethanja Focking
25dbdb7289
Click to full-width, menu to the right of images
2023-04-06 16:27:47 -06:00
Nethanja Focking
3a765c11d2
Remove SVG again, but leave comment on how to load
2023-04-06 16:27:21 -06:00
Mike Dilger
3236f41987
Fixes for posts by muted authors breaking threads
2023-04-07 10:25:07 +12:00
Nethanja Focking
0abd873073
Updated UX on image placement
2023-04-06 15:18:11 -06:00
Mike Dilger
43307102e3
Merge branch 'master' into unstable
2023-04-07 09:17:03 +12:00
Mike Dilger
67a12de714
Respect mainfeed_include_nonroot in 3 places that forced it
2023-04-07 09:16:41 +12:00
Nethanja Focking
00226654d2
Always add a newline above a repost if there is already text on the current line
2023-04-06 08:23:11 -06:00
Nethanja Focking
9ac3d7803c
Prepare function drop_uncached_events()
to sync NoteData cache with GLOBALS.events cache
2023-04-06 08:09:03 -06:00
Nethanja Focking
0f544f28fa
Fix uncached mentioned events resulting in empty repost
...
since the event cache is already queries in render_content() it's a bug to exclude uncached mentions since notedata is now cached
2023-04-06 07:46:21 -06:00
bu5hm4nn
ec7b7088e3
Add option "Render images inline" to show images by default. Clicking an image will collapse it and show a link.
...
When Render images inline is false, click an image link will show the image.
Link and image have a context menu to open in browser and copy the URL.
2023-04-06 13:34:13 +12:00
bu5hm4nn
93bf9edaef
Make sure images are on their own row
2023-04-06 13:31:00 +12:00
bu5hm4nn
9a94e494a9
Load images but ignore videos for now
...
- images are max as wide as the content width and max as high as 1/4 of viewport height (we could let the user choose this later)
- in this commit there is one global setting to enable/disable media loading
- frame with small rounded edges gives illusion of image rounding but they are actually not
2023-04-06 13:30:57 +12:00