Pablo Fernandez
205774f684
Fix when calling parse_hex_char out of bounds
Closes : #158
Changelog-Fixed: Fix crash with @ sign in some posts
2 years ago
William Casarin
c6ab1de639
Add bolt11 parser and Invoice View
Changelog-Added: Display bolt11 invoice widgets on posts
2 years ago
William Casarin
eb99e6c323
Rewrite note parsing in C
This eliminates any parsing choppyness
Fixes : #32
Signed-off-by: William Casarin <jb55@jb55.com>
2 years ago
William Casarin
a47645929e
Inline image loading
Changelog-Added: Added inline image loading
Signed-off-by: William Casarin <jb55@jb55.com>
2 years ago
William Casarin
df5d6557f2
add link test
Signed-off-by: William Casarin <jb55@jb55.com>
2 years ago
William Casarin
61f5d1009e
mentions: fix bech32 mentions at end
Signed-off-by: William Casarin <jb55@jb55.com>
2 years ago
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>
2 years ago
William Casarin
e6db7369cd
Fix hashtag parsing
Changelog-Fixed: No longer parse hashtags in urls
Signed-off-by: William Casarin <jb55@jb55.com>
2 years ago
William Casarin
2fc6e7ef22
fix parsing mention indices > 9
Signed-off-by: William Casarin <jb55@jb55.com>
3 years ago
William Casarin
cf7cba09bd
parse hashtags
Signed-off-by: William Casarin <jb55@jb55.com>
3 years ago
William Casarin
812abba8d4
fix incredible bug lol
Signed-off-by: William Casarin <jb55@jb55.com>
3 years ago
William Casarin
5e63eca0e9
simplify like refs
Signed-off-by: William Casarin <jb55@jb55.com>
3 years ago
William Casarin
8896d19f40
initial reply revamp
It now understands mentions
Signed-off-by: William Casarin <jb55@jb55.com>
3 years ago
William Casarin
4db06b015c
event mentions working
Signed-off-by: William Casarin <jb55@jb55.com>
3 years ago
William Casarin
0ad17c05fe
add some more tests
Signed-off-by: William Casarin <jb55@jb55.com>
3 years ago
William Casarin
0eb1372937
more mention progress
Signed-off-by: William Casarin <jb55@jb55.com>
3 years ago
William Casarin
73652513d9
initial mention parsing
Signed-off-by: William Casarin <jb55@jb55.com>
3 years ago
William Casarin
96d8d854e2
test invalid mention
Signed-off-by: William Casarin <jb55@jb55.com>
3 years ago
William Casarin
cfc21219d3
more mention parsing tests
Signed-off-by: William Casarin <jb55@jb55.com>
3 years ago
William Casarin
f42bc2e91e
likes, mention parsing, lots of stuff
Signed-off-by: William Casarin <jb55@jb55.com>
3 years ago
William Casarin
f4bb07081f
initial commit
Signed-off-by: William Casarin <jb55@jb55.com>
3 years ago