1
0
mirror of git://jb55.com/damus synced 2024-09-19 11:43:44 +00:00
Commit Graph

59 Commits

Author SHA1 Message Date
William Casarin
a611a5d252 Fix tests 2023-03-15 09:43:48 -06:00
Bryan Montz
cabe584938 fix "Replying to..." issues and improve related tests 2023-03-14 11:44:40 -06:00
William Casarin
77f5268336 Private Zaps
This adds private zaps, which have messages and authors encrypted to
the target. Keys are deterministically generated so that both the
receiver and sender can decrypt.

Changelog-Added: Private Zaps
2023-03-01 09:56:25 -08:00
Terry Yiu
77bcd1b715
Fix localization and add tests for EventGroupView 2023-02-27 10:20:50 +13:00
Terry Yiu
5cd4c2d75e Fix localization issues, add tests, import translations, and add zh-CN and zh-TW
Closes: #689
2023-02-24 12:44:54 -08:00
Bryan Montz
603a5a1814 Refinements to RelayConnection plus tests for creating requests
Closes: #644
2023-02-19 08:36:03 -08:00
Bryan Montz
1b4e54582f fixed tests 2023-02-16 06:07:04 -08:00
Gert Goet
f0df4aa218 Strip common punctuations from URLs
Changelog-Fixed: Fix punctuation getting included in some urls
Closes: #575
2023-02-13 10:03:35 -08:00
Gert Goet
bb9fc6f905 Always stop at first whitespace 2023-02-13 10:03:17 -08:00
William Casarin
4f2bacfaab Configurable zap amount 2023-02-10 13:52:27 -08:00
William Casarin
d5b6d935e8 fix tests 2023-02-10 11:08:28 -08:00
William Casarin
10596ddb09 Relay Filters
wip
2023-02-09 14:23:18 -08:00
Joel Klabo
1f79c20973 Add Missing Contacts Parameter
Closes: #533
2023-02-06 10:04:44 -08:00
William Casarin
006f8d79e0 Lightning Zaps
Added initial lightning zaps/tipping integration

Changelog-Added: Receive Lightning Zaps
2023-02-02 15:51:57 -08:00
William Casarin
552bd9cae5 Implement NIP-21 URI handling
Changelog-Added: Added nostr: uri handling
2023-01-28 08:31:11 -08:00
William Casarin
2a8b9f75c1 Initial NIP-51 Mute List Implementation 2023-01-25 09:53:59 -08:00
William Casarin
9d2ff2fe65 Fix commas and emojis getting included in hashtags
Changelog-Fixed: Fix commands and emojis getting included in hashtags
2023-01-22 09:57:00 -08:00
Joel Klabo
13ea42a2e2 Don't Parse URL with Only Whitespace 2023-01-22 09:49:41 -08:00
Thomas Rademaker
77c2abc524 fix broken test 2023-01-22 09:25:16 -08:00
William Casarin
9a40fd595d Add some DM sorting tests
They didn't help me fix the problem, but maybe they are still useful
somehow
2023-01-14 17:23:35 -08:00
Lionello Lunesu
e9380c3821 Fix ascii shrug guy
Changelog-Fixed: Fix ascii shrug guy
Closes: #238
2023-01-03 23:05:41 -08:00
Lionello Lunesu
42f484bc64 Fix detection of email addresses in profiles
Signed-off-by: Lionello Lunesu <lio+git@lunesu.com>
Changelog-Fixed: Fix detection of email addresses in profiles
Closes: #225
2023-01-03 10:55:25 -08:00
Terry Yiu
8428f0af43 Fix relative time test
Closes: #218
2023-01-02 18:30:56 -08:00
Terry Yiu
badbd8a92e Fix flakey TimeAgo test by anchoring locale to en_US
Closes: #210
2023-01-02 08:22:17 -08:00
Terry Yiu
4f4557e4b6 Replace deprecated Data.withUnsafeMutableBytes call
Closes: #214
2023-01-02 08:19:47 -08:00
William Casarin
2aaa58ada6 Fix relative date tests 2023-01-01 11:32:04 -08:00
William Casarin
5a956248f9 bolt11: fix bug where text not showing after invoice
Changelog-Fixed: Fix but where text was not showing after invoices
2023-01-01 11:31:36 -08:00
William Casarin
cf615b82b2 bolt11: fix any amount invoices 2023-01-01 11:02:44 -08:00
William Casarin
6f5f86114b Parse links in profiles
Changelog-Added: Parse links in profiles
2022-12-31 13:03:52 -08:00
Terry Yiu
0b27a49e32 Internationalize time ago since string
Switches to using standard date component formatting abbreviations and
enables it to be localized to non-English locales

Closes: #194
Changelog-Changed: Internationalize relative dates
2022-12-31 09:46:16 -08:00
Lio李歐
a94b698e9d
Merge branch 'master' into profile-markdown 2022-12-29 09:57:54 -08:00
Lionello Lunesu
75c67bc1e9 Make links clickable in profile view 2022-12-28 13:29:18 -08:00
Pablo Fernandez
205774f684 Fix when calling parse_hex_char out of bounds
Closes: #158
Changelog-Fixed: Fix crash with @ sign in some posts
2022-12-28 12:44:47 -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
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
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
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
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
df5d6557f2 add link test
Signed-off-by: William Casarin <jb55@jb55.com>
2022-08-07 19:31:02 -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
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
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
2fc6e7ef22 fix parsing mention indices > 9
Signed-off-by: William Casarin <jb55@jb55.com>
2022-06-06 08:55:32 -07:00
William Casarin
097cc54bba extract HomeModel from ContentView
huge refactor

Signed-off-by: William Casarin <jb55@jb55.com>
2022-05-24 12:57:40 -07:00
William Casarin
2920325639 initial CreateAccountView
Signed-off-by: William Casarin <jb55@jb55.com>
2022-05-21 19:44:04 -07:00
William Casarin
cac139fff1 hashtags working
Signed-off-by: William Casarin <jb55@jb55.com>
2022-05-09 11:43:18 -07:00
William Casarin
cf7cba09bd parse hashtags
Signed-off-by: William Casarin <jb55@jb55.com>
2022-05-08 20:34:57 -07:00
William Casarin
812abba8d4 fix incredible bug lol
Signed-off-by: William Casarin <jb55@jb55.com>
2022-05-08 19:31:40 -07:00
William Casarin
5e63eca0e9 simplify like refs
Signed-off-by: William Casarin <jb55@jb55.com>
2022-05-08 19:01:42 -07:00