Commit Graph
100 Commits
Author SHA1 Message Date
William Casarin 2322186f34 v0.1.8-5 2022-12-27 15:25:15 -08:00
William Casarin d35945258f thread: adjust reply line opacity 2022-12-27 15:23:32 -08:00
William Casarin a6a9d4ed77 images: don't cutoff gifs
Changelog-Fixed: Don't cutoff gifs
2022-12-27 14:41:50 -08:00
William Casarin e3db9954f1 thread: fix fonts up a bit 2022-12-27 14:41:50 -08:00
William Casarin 538ce45c2c Show npub abbreviations instead of hex
Changelog-Changed: Show npub abbreviations instead of old-style hex
2022-12-27 14:14:49 -08:00
William Casarin 9f48fcb640 keypair: don't calculate bech32_{priv,pub}key each time 2022-12-26 19:12:50 -08:00
William Casarin fae626b6c7 Revert "Only reload global view on pulldown refresh"
This reverts commit a4d62d295c.
2022-12-26 19:01:53 -08:00
William Casarin d84320bb2c Fix bug where booster's names are not displayed
Changelog-Fixed: Fixed bug where booster's names are not displayed
2022-12-26 10:31:01 -08:00
William Casarin 90bbd90a31 event-context: Rename "Copy Note" to "Copy Note JSON"
Changelog-Changed: Rename "Copy Note" to "Copy Note JSON"
2022-12-26 10:30:07 -08:00
William Casarin 8de1a3a972 v0.1.8 (4) 2022-12-26 08:17:54 -08:00
William Casarin 9770e61d9d Fix bug where typing the first character in the search box defocuses
Changelog-Fixed: Fix bug where typing the first character in the search box defocuses
2022-12-26 08:02:36 -08:00
William Casarin 1d1e0c553b nip05: fix identifier format in profile editor
Changelog-Fixed: Fixed nip05 identifier format in profile editor
2022-12-26 07:54:40 -08:00
William Casarin a4d62d295c Only reload global view on pulldown refresh
Changelog-Changed: Only reload global view on pulldown refresh
2022-12-26 07:39:11 -08:00
William Casarin f8dc9f42dd Fix profile and event loading in global view
Changelog-Fixed: Fix profile and event loading in global view
2022-12-26 07:39:10 -08:00
William Casarin 8964a5941e lightning: long press/right click to copy lnurl
Changelog-Added: Long press lightning tip button to copy lnurl
2022-12-25 20:28:58 -08:00
William Casarin 29915aa8fe ln: always make an lnurl link instead of lnaddr
Changelog-Fixed: Fix lightning tip button sometimes not working
2022-12-25 20:27:04 -08:00
William Casarin e7b2cc9df1 hack: trim whitespace on stored keys
Noticed a crash when I accidently logged in with whitespace in the keys.
We should probably not save keys with whitespace in them, this is just a
hack for now.
2022-12-25 15:16:14 -08:00
William Casarin 8b7b77c2e8 Merge PR #111: Save the private key to the iOS keychain and not user defaults
Closes: #111
Changelog-Changed: Save privkey in keychain instead of user defaults
2022-12-25 14:21:25 -08:00
William Casarin 8844764e0c images: also show inline images from friend-of-friends
Changelog-Changed: Also show inline images from friend-of-friends
2022-12-25 12:51:15 -08:00
William Casarin 898a880a15 stay on 0.1.8 for now 2022-12-25 12:50:18 -08:00
William Casarin a6f11fcc8b Fix changelog 2022-12-23 17:21:06 -08:00
William Casarin d55a47a6a8 Revert "ContentTimelineView inside a page tabView"
Noticed this was crashing

This reverts commit 85ba7bbed0.
2022-12-23 17:02:02 -08:00
William Casarin e64ccb96b3 v0.1.9 2022-12-23 16:52:07 -08:00
William Casarin 6079b2f620 remove old comment 2022-12-23 15:24:55 -08:00
William Casarin a7aee616c7 like: increase boop intensity
Changelog-Changed: Increase like boop intensity
2022-12-23 15:17:59 -08:00
William Casarin acb2049641 profile: don't auto-load followers
This is a bandwidth-intensive operation

Changelog-Changed: Don't auto-load follower count
2022-12-23 15:17:19 -08:00
William Casarin 79f4223977 Profile Editor
Changelog-Added: Added profile edit view
Changelog-Changed: Don't fetch followers right away
2022-12-23 13:14:57 -08:00
William Casarin e6a5126494 profile: many fixes and tweaks 2022-12-23 12:07:48 -08:00
William Casarin 972716882c profile: add ability to gets/set nip05 2022-12-23 09:20:44 -08:00
William Casarin 81f3764e4b profile: don't overwrite profile info
This will be important for profile editing
2022-12-23 08:32:23 -08:00
William Casarin 514d9f4201 bolt11: fix another crash on unknown fields 2022-12-22 16:08:44 -08:00
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