Commit Graph
100 Commits
Author SHA1 Message Date
William Casarin 68e9c127f9 Release v0.1.8 2022-12-22 11:03:23 -08:00
William Casarin 49e683e10d switch to buttons for copying keys 2022-12-21 15:46:44 -08:00
William Casarin 37460f933b global: make sure we unsubscribe after each refresh 2022-12-21 12:50:18 -08:00
William Casarin b1d14ff21f Merge commit 'f0d242a' 2022-12-21 09:58:25 -08:00
William Casarin cd591307a8 search: disable autocorrection
Changelog-Fixed: Disable autocorrection on search
2022-12-19 22:32:38 -08:00
William Casarin 189b671108 bolt11: don't include prefix when parsing invoices 2022-12-19 22:28:58 -08:00
William Casarin f351632440 bolt11: parse lightning prefixes on lightning invoice
Changelog-Fixed: Parse lightning prefixes on lightning invoice
2022-12-19 22:24:39 -08:00
William Casarin 69ccc214a6 relay: disable autocorrection
Changelog-Fixed: Disable autocorrection on add relay field
2022-12-19 22:04:57 -08:00
William Casarin 1fd8be9e2b 0.1.7 2022-12-19 20:58:41 -08:00
William Casarin 78d258d04e Dismiss keyboard in account creation
Changelog-Fixed: Added ability to dismiss keyboard during account creation
2022-12-18 17:36:50 -08:00
William Casarin 573bf37fbb use bootstrap relays in account creation 2022-12-18 17:36:33 -08:00
William Casarin 015e0651a4 img: only show images if it is a post from your friend
Changelog-Changed: Only show inline images from your friends
2022-12-18 16:23:53 -08:00
William Casarin caa03e336f add wiz's relay to the bootstrap relays 2022-12-18 16:11:16 -08:00
William Casarin 5fdcecd44f Fix crash in null bolt11 descriptions
Changelog-Fixed: Fixed crashed on lightning invoices with empty descriptions
2022-12-18 09:23:16 -08:00
William Casarin 300cae6800 Revert "ui: Add more padding everywhere."
This reverts commit 36107a2752.
2022-12-17 17:01:54 -08:00
William Casarin 9525028668 dms: make chat area more obvious
This was an ios16 bug

Changelog-Fixed: Make dm chat area visible again
2022-12-16 15:35:28 -08:00
William Casarin 053812ba95 nip35: use pubkey lookup on relays instead of user 2022-11-19 11:34:26 -08:00
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
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
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
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
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
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
William Casarin 7eba921bf8 dms: create parse and create links in DMs
Changelog-Fixed: You can now reference users, notes hashtags in DMs
Signed-off-by: William Casarin <jb55@jb55.com>
2022-08-07 18:57:14 -07:00
William Casarin b72cdc2a2c devtools: remove pullreq logic from changelog script
seems super slow and buggy

Signed-off-by: William Casarin <jb55@jb55.com>
2022-08-07 07:09:36 -07:00
William Casarin 61f5d1009e mentions: fix bech32 mentions at end
Signed-off-by: William Casarin <jb55@jb55.com>
2022-08-07 07:09:11 -07:00
William Casarin b7513f28fa remove padding on main view
Changedlog-Changed: Removed left/right padding on main timeline
Signed-off-by: William Casarin <jb55@jb55.com>
2022-08-06 23:04:21 -07:00
William Casarin 81f29c5fee remove log
Signed-off-by: William Casarin <jb55@jb55.com>
2022-08-06 23:03:45 -07:00
William Casarin 708d2d7b38 validation: actually validate events
Check to see if id and/or signature are good

Changelog-Changed: Check note ids and signatures on every note
Signed-off-by: William Casarin <jb55@jb55.com>
2022-08-06 23:03:01 -07:00
William Casarin adacdbb764 switch to bech32 everywhere
You can now use @npub, @note or @nsec to reference notes and pubkeys

Changelog-Changed: use bech32 ids everywhere
Signed-off-by: William Casarin <jb55@jb55.com>
2022-08-06 23:01:56 -07:00
William Casarin cd9bd1b892 less animation in chat
Changelog-Changed: Don't animate scroll in chat view
Signed-off-by: William Casarin <jb55@jb55.com>
2022-08-06 19:29:31 -07:00
William Casarin 366e3565d1 pfp: profile pic image cache
So we don't have to download 60MB of profile pics every time we load the
app..

Changelog-Added: Added profile picture cache
Signed-off-by: William Casarin <jb55@jb55.com>
2022-08-06 19:29:31 -07:00
William Casarin 7da7bcdfd5 make robohash a function
Signed-off-by: William Casarin <jb55@jb55.com>
2022-08-06 13:52:36 -07:00
William Casarin 03748a2b02 pfps: load profile pics in the background
So we don't get annoying popping artifacts when scrolling

Changelog-Fixed: Profile pics are now loaded in the background
Signed-off-by: William Casarin <jb55@jb55.com>
2022-08-06 13:50:17 -07:00
William Casarin 97bca010f6 Censor unclebobmartin from damus
Limits the size of posts viewable within damus to 32,000 bytes. It's
still probably too big, but let's have some sane limit so uncle's named
bob can't break your app just because they can.

Changelog-Fixed: Limit post sizes to max 32,000 as an upper bound sanity limit.
Signed-off-by: William Casarin <jb55@jb55.com>
2022-08-05 12:23:42 -07:00
William Casarin 5c62a06618 Load profiles everywhere
Fixes: #11
Changelog-Fixed: Missing profiles are now loaded everywhere
Signed-off-by: William Casarin <jb55@jb55.com>
2022-08-04 20:47:34 -07:00
William Casarin 17f87d5438 Don't show post button if post is only whitespace
Changelog-Changed: Post button is not shown if the content is only whitespace
Signed-off-by: William Casarin <jb55@jb55.com>
2022-07-28 13:20:06 -07:00
William Casarin 82b7cab9b1 remove unused combine reference
Signed-off-by: William Casarin <jb55@jb55.com>
2022-07-28 13:11:58 -07:00
William Casarin e6db7369cd Fix hashtag parsing
Changelog-Fixed: No longer parse hashtags in urls
Signed-off-by: William Casarin <jb55@jb55.com>
2022-07-28 13:11:58 -07:00
William Casarin 49ff8824ac fix deployment target
Signed-off-by: William Casarin <jb55@jb55.com>
2022-07-28 13:11:58 -07:00
William Casarin f522fc79df logout: clear keypair on logout
Fixes: #12
Reported-by: Jeff Thibault (github:jeffthibault)
Changelog-Fixed: Logging out now resets your keypair and actually logs out
Signed-off-by: William Casarin <jb55@jb55.com>
2022-07-28 13:11:51 -07:00
William Casarin df0b0e00d1 multiline DM messages
Changelog-Added: Multiline DM messages
Signed-off-by: William Casarin <jb55@jb55.com>
2022-07-21 17:55:19 -07:00
William Casarin ce9551ce56 notifications: initial setup
Signed-off-by: William Casarin <jb55@jb55.com>
2022-07-21 17:55:19 -07:00
William Casarin b838849010 version: we're on 0.1.3 now
Signed-off-by: William Casarin <jb55@jb55.com>
2022-07-21 15:53:20 -07:00
William Casarin 24c4d99f78 DMs: copy decrypted text instead of raw content
Changelog-Fixed: Copying text in DMs will now copy the decrypted text
Signed-off-by: William Casarin <jb55@jb55.com>
2022-07-21 15:51:44 -07:00