Commit Graph

999 Commits

Author SHA1 Message Date
bu5hm4nn
c635cb129a Give themes control over repost separator spacing 2023-03-15 22:27:24 -06:00
bu5hm4nn
0bb6cc9d2d Always trim whitespace around notes 2023-03-15 22:27:00 -06:00
bu5hm4nn
2c763c6146 Fix whitespace and classic theme, addresses #305 2023-03-15 17:51:44 -06:00
bu5hm4nn
c0fa261007 Correctly indent comments that come before reposts,
refactor to render all reposts in the same code line (yay!)
2023-03-14 20:08:14 -06:00
bu5hm4nn
4dc0181a83 Fix: Kind 6 Mention (kind 6 repost without JSON payload) && cargo fmt 2023-03-14 17:42:53 -06:00
bu5hm4nn
c6cdc0437f Add support for rendering reposts of inline mentions if the mention is last tag in the content 2023-03-14 17:26:57 -06:00
bu5hm4nn
6b35765476 Trim off whitespace when there is only one mention and no other text 2023-03-14 15:30:46 -06:00
Bu5hm4nn
f292c1f3e8 Change which buttons are shown. Now show only the innermost repost buttons. 2023-03-14 13:42:58 -06:00
Bu5hm4nn
43b072d764 fix detection of MentionOnly 2023-03-14 13:27:53 -06:00
Bu5hm4nn
ff83508a7f Improve repost type detection, case CommentMention is not yet handled (will throw warning) 2023-03-14 13:13:13 -06:00
Bu5hm4nn
27aee36a05 Implement new style for mentions, implements #305 2023-03-13 22:21:11 -06:00
Bu5hm4nn
b1ad1f3ef5 Use Event::mentions() to determine if we have mentions 2023-03-13 19:39:17 -06:00
Bu5hm4nn
e6068c87ac Fix adding newline before repost mention 2023-03-13 19:05:44 -06:00
Bu5hm4nn
a45669a247 Move more common fields to NoteData::new() so they get used for constructing reposts 2023-03-13 18:40:45 -06:00
Bu5hm4nn
90423d9a6a Move common fields to NoteData::new() so they get used for constructing reposts 2023-03-13 18:06:08 -06:00
Bu5hm4nn
50f1034f5a Optimize avatar size determination 2023-03-13 17:36:31 -06:00
Bu5hm4nn
715420ff9e Rename as_reply_to into hide_footer as that was the only effect of that variable 2023-03-13 17:18:44 -06:00
Bu5hm4nn
2fee804543 Let note module own the info on how to render a note which is used by themes 2023-03-13 16:50:35 -06:00
Mike Dilger
e9aaabc416 Fix: for DMs not showing under Direct Replies Only 2023-03-14 10:49:06 +13:00
Mike Dilger
27d825057b Change Schema31 so it is less likely to fail 2023-03-14 09:02:16 +13:00
Mike Dilger
9eb7221289 Merge remote-tracking branch 'dtonon/features/from_image_url_to_placeholder' 2023-03-12 15:40:10 +13:00
Mike Dilger
62746559e4 Merge remote-tracking branch 'bushmann/show-first-mention' 2023-03-12 14:08:03 +13:00
Daniele Tonon
6cd6a66b9b Show a image / video placeholders instead of full urls 2023-03-12 01:44:53 +01:00
Mike Dilger
7bd82dcfb7 More packaging note updates 2023-03-12 13:29:20 +13:00
Bu5hm4nn
3b14869e36 Break line before reposting mention 2023-03-11 18:01:04 -06:00
Mike Dilger
dcdcdc6160 0.6.0-unstable 2023-03-12 12:57:15 +13:00
Mike Dilger
5baead900b cargo fmt 2023-03-12 12:44:45 +13:00
Mike Dilger
bf9486a19a Set versions for r2d2 and r2d2-sqlite 2023-03-12 12:42:47 +13:00
Mike Dilger
6f8ba775d8 cargo update 2023-03-12 12:40:26 +13:00
Michael Dilger
e81068032d
Merge pull request #301 from bu5hm4nn/render-urls-with-break-anywhere
I prefer URL's breaking with break_anywhere=true. This allows them to…
2023-03-12 12:17:16 +13:00
Mike Dilger
d9b1e798c9 Updated RELEASE.txt notes 2023-03-12 12:16:27 +13:00
Bu5hm4nn
6d7d77b8e5 Add setting to render the first mention of a post as a repost 2023-03-11 16:53:23 -06:00
Bu5hm4nn
1e76ad31c4 I prefer URL's breaking with break_anywhere=true. This allows them to line break anywhere in the URL instead of only on "break chars" like "./?" etc 2023-03-11 14:46:14 -06:00
Mike Dilger
5dc82ad65b Merge remote-tracking branch 'tonygiorgio/db-lock' 2023-03-12 09:25:33 +13:00
Mike Dilger
d286db2be8 Revert "Move Post to another page"
This reverts commit 3a522821b5.
2023-03-12 09:25:23 +13:00
Tony Giorgio
ae28246c3d
Attempt to solve DB locking problem 2023-03-11 00:32:26 -06:00
Mike Dilger
327d923d49 Ignore foreign key constraint errors inserting into event_flags, it's not critical. 2023-03-10 19:46:45 +13:00
Mike Dilger
3a522821b5 Move Post to another page 2023-03-10 14:50:37 +13:00
Mike Dilger
420b2cc7a6 Merge branch 'switches' 2023-03-10 14:09:58 +13:00
Mike Dilger
406ca65a97 Tweak switch to work better with existing themes 2023-03-10 14:09:38 +13:00
Mike Dilger
820a67a3d9 Feed options as switches 2023-03-10 14:05:11 +13:00
Mike Dilger
3953ebecfb ui: switch component 2023-03-10 14:05:03 +13:00
Mike Dilger
68f3e2ec2d Merge remote-tracking branch 'bushmann/add-copy-raw-data-menu-item' 2023-03-10 13:40:04 +13:00
Mike Dilger
0e42789b34 Merge remote-tracking branch 'bushmann/update-roundy-theme' 2023-03-10 13:39:02 +13:00
Bu5hm4nn
4aaf4ca15b Update Roundy theme 2023-03-09 18:27:06 -06:00
Bu5hm4nn
55314fee5a Add a menu item to copy raw note data 2023-03-09 18:26:15 -06:00
Bu5hm4nn
1c87d1e390 Set item_spacing.x to zero when rendering note content. 2023-03-09 18:25:13 -06:00
Mike Dilger
234881bedb clippy & fmt 2023-03-10 13:16:42 +13:00
Mike Dilger
2aad85be14 Update egui 2023-03-10 13:13:48 +13:00
Mike Dilger
cde7007330 Merge remote-tracking branch 'dtonon/features/collapsible_threads' 2023-03-10 12:47:45 +13:00