Commit Graph

3066 Commits

Author SHA1 Message Date
William Casarin
d942b823b2 add nip10 marker to boosts
damus web will use these instead of relying on the content which will be
optional
2022-11-18 20:02:31 -08:00
William Casarin
8ea01b43a0 timeline: fix scrolling-to-top when view is filtered 2022-11-18 19:07:12 -08:00
William Casarin
acc4650fa8 dms: use lazyvstack
otherwise it's slow as balls
2022-11-18 18:40:51 -08:00
William Casarin
7493641896 Initial NIP05 code
Also add the ability to login with a NIP05 id
2022-11-18 17:51:01 -08:00
William Casarin
937009167f fix splash screen
its broken atm
2022-11-18 12:46:38 -08:00
William Casarin
07f3685762 Revert "home: fix carousel spacing issue"
This reverts commit 60e0031f25.
2022-11-18 12:45:45 -08:00
William Casarin
93798ea79e Removing markdown breaks other things so revert for now
This reverts commit 366d46dfab.
2022-11-18 12:38:52 -08:00
William Casarin
366d46dfab remove markdown support
Will re-add once there is a markdown spec
2022-11-18 12:31:08 -08:00
William Casarin
9efc900851 trim whitespace when posting 2022-11-18 12:29:07 -08:00
William Casarin
960389166d home: always add home events
Don't try to hide anything. It's confusing, and we have the post-only
view now so it's fine
2022-11-18 12:19:43 -08:00
William Casarin
6b6593da53 add profile to toolbar 2022-11-08 12:23:06 -08:00
Blake Jakopovic
fc71b605be Update post form to use sentence auto-capitalisation 2022-11-08 12:23:06 -08:00
William Casarin
69d11e1af0 update TODO 2022-11-01 16:17:05 -07:00
William Casarin
77146c26bc Release 0.1.6
Added

     - Add lightning tipping button for lud06 profiles
     - Display bolt11 invoice widgets on posts
     - Added inline image loading
     - Show relay connection status in config
     - Search hashtags, profiles, events

Changed

     - Use an optimized library for image loading

Fixed

     - Damus will now stay connected at all times
2022-10-30 23:36:00 -07:00
William Casarin
ffe2784873 lightning_uri: small cleanup
Signed-off-by: William Casarin <jb55@jb55.com>
2022-10-30 23:20:17 -07:00
William Casarin
5f450ca936 Add some missing code from previous commit
Signed-off-by: William Casarin <jb55@jb55.com>
2022-10-30 23:16:41 -07:00
William Casarin
3651ac6714 Show lud06 lightning tip button
If the profile has a lud06 or lud16 field, render a lightning tipping
button

Changelog-Added: Add lightning tipping button for lud06 profiles
Signed-off-by: William Casarin <jb55@jb55.com>
2022-10-30 23:14:27 -07:00
William Casarin
8a15265f84 even more aggressive reconnect on stale connections
Signed-off-by: William Casarin <jb55@jb55.com>
2022-10-30 23:14:09 -07:00
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