1
0
mirror of git://jb55.com/damus synced 2024-09-18 19:23:49 +00:00
Commit Graph

2848 Commits

Author SHA1 Message Date
William Casarin
9f7711fdfe fix signal detection
Signed-off-by: William Casarin <jb55@jb55.com>
2022-10-30 23:13:01 -07:00
William Casarin
8dd85a7d88 update bootstrap relays
Signed-off-by: William Casarin <jb55@jb55.com>
2022-10-30 23:12:49 -07:00
William Casarin
9b7057de36 make url and invoice parsing case-insensitive
Signed-off-by: William Casarin <jb55@jb55.com>
2022-10-19 09:51:25 -07:00
William Casarin
c6ab1de639 Add bolt11 parser and Invoice View
Changelog-Added: Display bolt11 invoice widgets on posts
2022-10-19 07:46:05 -07:00
William Casarin
dbe1260b54 damus-c: add bolt11 parser from CLN
We'll need this for our lightning invoice view

Signed-off-by: William Casarin <jb55@jb55.com>
2022-10-19 07:45:06 -07:00
William Casarin
c4206883f2 Even more aggressive reconnects
Sometimes it gets stuck in a "reconnecting" state. We'll retry even
these connections if the last connection attempt is too old.
2022-10-17 16:17:05 -07:00
William Casarin
eb99e6c323 Rewrite note parsing in C
This eliminates any parsing choppyness

Fixes: #32
Signed-off-by: William Casarin <jb55@jb55.com>
2022-10-17 15:22:28 -07:00
William Casarin
277ead6efc This is a commit message
Hello nostr again :)
2022-10-17 11:19:58 -07:00
William Casarin
c7f3f7d051 Test italics on bot
Hi nostr!
2022-10-17 11:19:15 -07:00
William Casarin
446ff2712f Add git log bot pubkey
Also testing the bot again :)

Signed-off-by: William Casarin <jb55@jb55.com>
2022-10-17 11:12:24 -07:00
William Casarin
a47645929e Inline image loading
Changelog-Added: Added inline image loading
Signed-off-by: William Casarin <jb55@jb55.com>
2022-10-16 16:11:27 -07:00
William Casarin
66eefa0ff2 a few fixes
Signed-off-by: William Casarin <jb55@jb55.com>
2022-10-16 12:26:49 -07:00
William Casarin
355b8c5da8 Use kingfisher for profile pic loading
Changelog-Changed: Use an optimized library for image loading
Signed-off-by: William Casarin <jb55@jb55.com>
2022-10-16 11:42:20 -07:00
William Casarin
38bfe8d76b Add the ability to mark relays as broken
not currently used

Signed-off-by: William Casarin <jb55@jb55.com>
2022-10-16 11:09:46 -07:00
William Casarin
300b5fda98 add kingfisher
will use this for image loading

Signed-off-by: William Casarin <jb55@jb55.com>
2022-10-16 11:09:29 -07:00
William Casarin
e5e0fb2db2 Add RelayView with connection statuses
Changelog-Added: Show relay connection status in config
Signed-off-by: William Casarin <jb55@jb55.com>
2022-10-16 11:08:32 -07:00
William Casarin
054714794d attempt reconnects every 4 seconds instead of 60
Changelog-Fixed: Damus will now stay connected at all times
Signed-off-by: William Casarin <jb55@jb55.com>
2022-10-16 11:05:19 -07:00
William Casarin
2c4c392b76 search hashtags, profiles, notes
Changelog-Added: Search hashtags, profiles, events
Signed-off-by: William Casarin <jb55@jb55.com>
2022-10-08 16:04:10 -07:00
William Casarin
1d1804c103 Add padding to bottom of FiltersView
Signed-off-by: William Casarin <jb55@jb55.com>
2022-09-14 07:55:40 -07:00
James Carucci
72900894c0 Add replies filter and tabs
Closes: #31
Changelog-Added: Tabs to switch between posts and replies in home view
Signed-off-by: William Casarin <jb55@jb55.com>
2022-09-14 07:48:20 -07:00
William Casarin
7bdd8048b0 better channels
Signed-off-by: William Casarin <jb55@jb55.com>
2022-09-13 17:23:56 -07:00
William Casarin
492786f66d don't filter on kinds in threads
Let's pull all related data that we can get

Signed-off-by: William Casarin <jb55@jb55.com>
2022-08-24 10:57:51 -07:00
William Casarin
8f0aeadabf Release v0.1.3
Signed-off-by: William Casarin <jb55@jb55.com>
2022-08-19 07:41:24 -07:00
William Casarin
cb70ab532c Use the t tag for hashtags
Changelog-Changed: #hashtags now use the `t` tag instead of `hashtag`
Signed-off-by: William Casarin <jb55@jb55.com>
2022-08-19 07:38:13 -07:00
William Casarin
3b7f7706b5 add tag_is_hashtag to remove some duplicate logic
Signed-off-by: William Casarin <jb55@jb55.com>
2022-08-19 07:32:26 -07:00
William Casarin
d7b5669ecf support kind 42 chat messages
Changelog-Added: Support kind 42 chat messages (ArcadeCity).
Signed-off-by: William Casarin <jb55@jb55.com>
2022-08-19 07:21:18 -07:00
William Casarin
8141a2970c Revert "Add filters for home screen"
This reverts commit 12eb50255a.
2022-08-16 12:26:32 -07:00
William Casarin
805afd1216 Revert "don't process older contact events"
This reverts commit be3e65f657.
2022-08-16 12:26:26 -07:00
James Carucci
12eb50255a Add filters for home screen
Closes: #25
Changelog-Added: Added ability to hide replies on home timeline
2022-08-15 16:54:46 -07:00
William Casarin
be3e65f657 don't process older contact events
I noticed sometimes damus would load older contact events and relays.
not good!

Signed-off-by: William Casarin <jb55@jb55.com>
2022-08-15 15:42:12 -07:00
William Casarin
2454427489 bigger endblock for dms
Signed-off-by: William Casarin <jb55@jb55.com>
2022-08-12 15:30:33 -07:00
William Casarin
faaf77d9e5 scroll to bottom instead.
It's a bit less jarring

Signed-off-by: William Casarin <jb55@jb55.com>
2022-08-12 11:07:09 -07:00
William Casarin
0af91987c3 fix chatroom easteregg bug
Signed-off-by: William Casarin <jb55@jb55.com>
2022-08-10 12:11:41 -07:00
William Casarin
39ab555a77 Fix loading bug when opening boosted posts
Changelog-Fixed: Fixed thread loading issue when clicking on boosts
Signed-off-by: William Casarin <jb55@jb55.com>
2022-08-10 12:11:04 -07:00
William Casarin
65710eeb5e clicking chat quotes now just expands thems
jumping to them is kind of annoying

Changelog-Changed: Clicking a chatroom quote reply will now expand it instead of jumping to it
Signed-off-by: William Casarin <jb55@jb55.com>
2022-08-09 16:49:41 -07:00
William Casarin
22cad4b072 wot: show friend icons is some views
easier to detect if someone is trying to fake us out

Changelog-Added: Friend icons next to names on some views. Check is friend. Arrows are friend-of-friends
Signed-off-by: William Casarin <jb55@jb55.com>
2022-08-09 16:48:47 -07:00
William Casarin
a59cb04ce0 Hide post button if we still have placeholder text
Signed-off-by: William Casarin <jb55@jb55.com>
2022-08-09 16:09:40 -07:00
William Casarin
1ab42b4c5c Fix chatroom cruft
Changelog-Fixed: Fixed various issues with chatroom view
Signed-off-by: William Casarin <jb55@jb55.com>
2022-08-09 16:09:12 -07:00
William Casarin
9420a7a0ad Show chatroom first if content contains #chat
Changelog-Added: Load chat view first if content contains #chat
Signed-off-by: William Casarin <jb55@jb55.com>
2022-08-09 16:08:05 -07:00
William Casarin
d223d045e8 Always trigger switch timeline on tab press
This will dismiss views

Changelog-Fixed: Fix bug where sometimes nested navigation views weren't dismissed when tapping the tab bar
Signed-off-by: William Casarin <jb55@jb55.com>
2022-08-09 10:14:56 -07:00
James Carucci
f149368ac2 Show text if there are no DMs
Signed-off-by: William Casarin <jb55@jb55.com>
2022-08-09 10:05:07 -07:00
James Carucci
d6ef1c4019 Add cancel button to search box
Changelog-Added: Cancel button on search box
Signed-off-by: William Casarin <jb55@jb55.com>
2022-08-09 10:03:38 -07:00
William Casarin
b5f13636ae fix mentions in DMs again
Signed-off-by: William Casarin <jb55@jb55.com>
2022-08-09 09:59:10 -07:00
William Casarin
eec8763733 scroll: more consistent scrolling behavior
Scrolling will always anchor the active note to the top of the screen

This is less confusing overall

Changelog-Changed: Clicking on a note will now always scroll it to the top
Signed-off-by: William Casarin <jb55@jb55.com>
2022-08-09 09:32:22 -07:00
William Casarin
ff6f2a61ac readme: add initial contributor awards
1. @randymcmillan
2. @jcarucci27

Signed-off-by: William Casarin <jb55@jb55.com>
2022-08-08 07:47:11 -07:00
James Carucci
5020ae7e3c Add default placeholder for post UI :)
Closes: #18
Changlog-Added: Added post placeholder text (thanks jcarucci27)
Signed-off-by: William Casarin <jb55@jb55.com>
2022-08-08 07:41:00 -07:00
James Carucci
60e0031f25 home: fix carousel spacing issue
Closes: #6
Changelog-Fixed: Fixed minor carousel spacing issue on homescreen
Signed-off-by: William Casarin <jb55@jb55.com>
2022-08-08 06:51:49 -07:00
William Casarin
df5d6557f2 add link test
Signed-off-by: William Casarin <jb55@jb55.com>
2022-08-07 19:31:02 -07:00
William Casarin
3cb628eb36 disable pow counting for now
Signed-off-by: William Casarin <jb55@jb55.com>
2022-08-07 19:30:17 -07:00
William Casarin
ac02bb58b6 less animations for chat
Signed-off-by: William Casarin <jb55@jb55.com>
2022-08-07 18:59:23 -07:00