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

2717 Commits

Author SHA1 Message Date
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
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
randymcmillan
fead2a498f Package.swift: add secp256k1.swift to dependencies 2022-07-27 22:18:49 -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
William Casarin
f2338dd646 changelog
Signed-off-by: William Casarin <jb55@jb55.com>
2022-07-03 09:37:02 -07:00
William Casarin
1417299d2d add dm navigation title
Signed-off-by: William Casarin <jb55@jb55.com>
2022-07-03 09:31:03 -07:00
William Casarin
318c6bcc3f New encrypted message
Signed-off-by: William Casarin <jb55@jb55.com>
2022-07-03 09:24:32 -07:00
William Casarin
03e68b3a10 clickable boost links
Changelog-Added: Clicking boost text will go to that users profile
Signed-off-by: William Casarin <jb55@jb55.com>
2022-07-03 09:23:21 -07:00
William Casarin
366293315d Add DM button to profile
Signed-off-by: William Casarin <jb55@jb55.com>
2022-07-03 09:23:08 -07:00
William Casarin
471f29f7ea contact: update contact event on follow/unfollow
Signed-off-by: William Casarin <jb55@jb55.com>
2022-07-02 13:09:10 -07:00
William Casarin
3c962ecdfe Revert "nav: use back chevron in more places"
hitbox is annoying atm

This reverts commit ea0e28d2c5.
2022-07-02 12:32:24 -07:00
William Casarin
ef5f92fe21 dms: fix input box padding and spacing
Signed-off-by: William Casarin <jb55@jb55.com>
2022-07-02 12:31:33 -07:00