Mike Dilger
666d428f11
update nostr-types
2023-03-27 12:49:17 +13:00
Mike Dilger
e60b95f985
Do not show reposts if they are long form content and long form content is disabled
2023-03-27 10:47:43 +13:00
Mike Dilger
88100330e7
Fixup the .wxs files (these weren't originals, they were exported from the .MSI, the originals are lost)
2023-03-27 10:25:05 +13:00
Mike Dilger
3d06fd0e64
Add version-specific windows .wxs packaging files
2023-03-27 09:54:07 +13:00
bu5hm4nn
c8660600d8
Give themes ability to font style subject line
2023-03-26 14:35:34 -06:00
bu5hm4nn
5afa9a0585
Fix position of subject line. It will not show if there is a content warning or in JSON and QR views.
2023-03-26 12:42:10 -06:00
Mike Dilger
47bd3c0e4b
Add official gossip account to github README
2023-03-27 07:35:02 +13:00
Mike Dilger
7ac266efff
Merge branch 'deleg-improv-3'
2023-03-26 20:02:15 +13:00
Mike Dilger
25b28fe9d6
Avoid sending message to self; use current error handling; cargo fmt
2023-03-26 19:58:40 +13:00
Michael Dilger
ae65fcfdd3
Merge pull request #326 from bu5hm4nn/obey-mention-setting
...
Obey mention setting
2023-03-26 13:28:22 +13:00
Mike Dilger
a9509bb80c
Support for Long-Form Content
2023-03-26 11:47:12 +13:00
Mike Dilger
61b99bcd67
cargo update
2023-03-26 11:08:17 +13:00
Mike Dilger
c5690a0c45
update nostr-types
2023-03-26 11:08:04 +13:00
Daniele Tonon
1c340319c5
Update the mention style in the Default theme
2023-03-25 18:17:48 +01:00
bu5hm4nn
c4ef6da048
Merge branch 'master' into obey-mention-setting
2023-03-24 18:25:15 -06:00
Mike Dilger
cf530a8897
Stop recomputing person feed every frame (when looking at person feed)
2023-03-25 11:57:24 +13:00
Mike Dilger
2b79ce9a35
Option to not periodically recompute the feed; Refresh button
2023-03-25 11:08:45 +13:00
Mike Dilger
41c2b91c39
Refactor in feed.rs
2023-03-25 10:37:42 +13:00
Mike Dilger
908df683c5
Feed recompute: lock to just one thread at a time
2023-03-25 10:35:58 +13:00
bu5hm4nn
26372a36b3
Only inline first mention (before it would inline the last one) and fix obeying the user setting
2023-03-24 15:23:50 -06:00
bu5hm4nn
156d5f35d3
Improve Roundy theme
2023-03-24 15:16:15 -06:00
Mike Dilger
362e4c51b4
Revert "Setting to block mostr"
...
This reverts commit d61acc2dd6
.
2023-03-25 09:38:46 +13:00
Mike Dilger
e132b940a1
Merge remote-tracking branch 'bushmann/refactor-note-rendering' into notemerge
2023-03-25 09:07:54 +13:00
bu5hm4nn
e3b3617c4c
cargo fmt
2023-03-21 23:44:51 -06:00
bu5hm4nn
ba2df1663f
Revert renaming "as_reply_to" in outer code where it only has that meaning. It's still called "hide_footer" in render_note_inner()
because there, there is now more than one reason to hide the footer.
2023-03-21 23:38:53 -06:00
Mike Dilger
d61acc2dd6
Setting to block mostr
2023-03-21 17:13:17 +13:00
Mike Dilger
e5f0449513
Don't show the presence of muted posts at all.
2023-03-21 16:55:35 +13:00
bu5hm4nn
5a202195cd
Allow theme to distinguish comment mentions
2023-03-20 11:10:36 -06:00
bu5hm4nn
47c70369d7
Merge branch 'master' into refactor-note-rendering
2023-03-20 10:30:19 -06:00
bu5hm4nn
06300b8920
Add optional frame around repost. Also comment mentions now have reversed avatar size and show of interaction buttons.
2023-03-20 10:29:54 -06:00
Mike Dilger
f700293e17
Utilize relays fro nevent1
2023-03-20 14:28:55 +13:00
bu5hm4nn
477ac8b5bc
Accept only 'e' tags marked as "mention" to comply with NIP-10
2023-03-18 18:00:42 -06:00
Mike Dilger
b5d6786ec1
A known issue added to README
2023-03-19 11:57:53 +13:00
Adam B
f8a769e79c
DTag entry: separate display and new tag entry
2023-03-18 23:32:48 +01:00
Adam B
f933ab8289
Remove delegation tag too when Identity is removed
2023-03-18 23:02:25 +01:00
bu5hm4nn
63c291f55a
Merge branch 'master' into refactor-note-rendering
2023-03-18 14:44:57 -06:00
bu5hm4nn
5533b4a4ed
Add theme option to style repost stroke
2023-03-16 15:59:04 -06:00
bu5hm4nn
2854c36b12
Fix vertical alignment for header following username (REPOST, etc)
2023-03-16 15:58:16 -06:00
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
Mike Dilger
528169aa75
Update nostr-types
2023-03-16 16:59:41 +13:00
Mike Dilger
d0d6b39ff9
Fix of commits ago (more fixes coming)
2023-03-16 16:51:39 +13:00
Mike Dilger
214f888c85
Don't print 'normalizing urls' unless actually doing it
2023-03-16 16:44:53 +13:00
Mike Dilger
6894524df2
Relationship::Root treated like Relationship::Reply
2023-03-16 15:31:59 +13:00
Mike Dilger
7203efb02e
Fix wrong use of .mentions()
2023-03-16 15:28:35 +13:00
Mike Dilger
22a1ac0b56
Update nostr-types
2023-03-16 15:26:45 +13:00
bu5hm4nn
2c763c6146
Fix whitespace and classic theme, addresses #305
2023-03-15 17:51:44 -06:00
Mike Dilger
52c6920b84
Merge branch 'revert-r2d2', here is why:
...
Reason #1 : Multiple connections, all of which can write, precipitates two writers which
invariably causes one of the writers to fail (not just wait). There is no
easy way to tell it to wait for the lock, it just fails with an error that the
database is locked. This might be fixable if we had a pool for readers and
a single connection for the writer with only one thread at a time to write.
But it wasn't the only problem with this code.
Reason #2 : The spawn_blocking() blocks were removed. These blocks allowed Tokio tasks to
remain occupied. Without them, tokio tasks were waiting for the database to
return with an answer, meaning precious CPU cores were sitting idle doing
nothing. Neither r2d2 nor rusqlite are async, and these spawn_blocking blocks
should have remained in place even if we were able to go with r2d2.
Overall, it's possible to return to r2d2, but more carefully next time.
2023-03-15 20:23:20 +13:00
Mike Dilger
d27ab3a75d
Revert "Use r2d2 for SQL connection pooling"
...
This reverts commit 89ea16dfe8
.
2023-03-15 20:22:53 +13:00
Mike Dilger
c504115cca
Revert "Remove most spawn_blocking blocks"
...
This reverts commit d2207a9e3c
.
2023-03-15 20:20:29 +13:00