ericholguin
7baf7e66dc
relays: add relay pic view for displaying relay icons
2023-09-10 09:54:35 -07:00
William Casarin
4263b9690f
deps: add tldextract
...
This is needed for the new relay view
2023-09-10 09:52:54 -07:00
ericholguin
94ce604b9d
components: add neutral button style component
2023-09-09 09:45:16 -07:00
ericholguin
b934d66f64
components: add lighter gradient
2023-09-09 09:45:16 -07:00
Bryan Montz
54ba64535d
video: remove GSPlayer dependency
...
Changelog-Fixed: Fixed audio in video playing twice
Closes: https://github.com/damus-io/damus/pull/1539
Signed-off-by: William Casarin <jb55@jb55.com >
2023-09-07 10:33:34 -07:00
Bryan Montz
9cf53a9e93
video: remove VideoPlayer and switch to VideoController for cache
...
Closes: https://github.com/damus-io/damus/pull/1539
Reviewed-by: William Casarin <jb55@jb55.com >
Signed-off-by: William Casarin <jb55@jb55.com >
2023-09-07 10:33:31 -07:00
Bryan Montz
f1f3abfb98
video: add DamusVideoPlayerViewModel
...
Closes: https://github.com/damus-io/damus/pull/1539
Reviewed-by: William Casarin <jb55@jb55.com >
Signed-off-by: William Casarin <jb55@jb55.com >
2023-09-07 10:33:14 -07:00
Bryan Montz
dec07df2c1
video: add VideoController, which hold cached metadata and mute states
...
Closes: https://github.com/damus-io/damus/pull/1539
Reviewed-by: William Casarin <jb55@jb55.com >
Signed-off-by: William Casarin <jb55@jb55.com >
2023-09-07 10:33:12 -07:00
Bryan Montz
53734ea483
video: add AVPlayerView, a simple wrapper for AVPlayerViewController
...
Closes: https://github.com/damus-io/damus/pull/1539
Reviewed-by: William Casarin <jb55@jb55.com >
Signed-off-by: William Casarin <jb55@jb55.com >
2023-09-07 10:33:07 -07:00
Grimless
b18a0c573e
profile: move the "Follow you" badge into the profile header
...
Move the "Follow you" badge into the profile header he profile header
out-of-line with the often long and already space-constrained
username/display name text
Changelog-Changed: Move the "Follow you" badge into the profile header
Closes: https://github.com/damus-io/damus/pull/1529
Signed-off-by: William Casarin <jb55@jb55.com >
2023-09-03 18:02:54 -07:00
Grimless
6ee0be40e9
Create helper extensions for Block and update tests for the Block helper model
...
Closes: https://github.com/damus-io/damus/pull/1528
Signed-off-by: William Casarin <jb55@jb55.com >
2023-09-03 18:02:32 -07:00
Grimless
a64f898df7
Move the Block helper type to its own file, collapse the various standalone functions for parsing block data, and refactor consumers to initialize a Block with given data and access its members as needed.
...
Closes: https://github.com/damus-io/damus/pull/1528
Signed-off-by: William Casarin <jb55@jb55.com >
2023-09-03 18:02:32 -07:00
William Casarin
caffa0398b
nostrdb: profile flatbuffers in nostrdb working!
2023-08-26 20:46:42 -07:00
William Casarin
92bbc9766d
project: disable compile warnings for lmdb and nostrdb
2023-08-26 20:46:42 -07:00
William Casarin
4c0166bd31
add swift flatbuffers
2023-08-26 20:46:42 -07:00
William Casarin
35b67dc08d
nostrdb: initial Ndb class
2023-08-26 17:11:41 -07:00
William Casarin
1f5f1e28a4
nostrdb: pull latest, adding flatcc and lmdb
2023-08-25 19:05:34 -07:00
William Casarin
f30f93f65c
Revert "Move the Block helper type to its own file"
...
This fixes the broken tests
This reverts commit 286ae68fd6 .
2023-08-25 19:05:34 -07:00
William Casarin
16fa701509
v1.6 (17)
2023-08-23 17:48:32 -07:00
William Casarin
1d11bb40b5
v1.6 (16)
2023-08-23 13:30:38 -07:00
William Casarin
0338297bfe
Live Music & Generic Statuses
...
Changelog-Added: Added live music statuses
Changelog-Added: Added generic user statuses
2023-08-23 13:26:55 -07:00
Grimless
286ae68fd6
Move the Block helper type to its own file
...
Collapse the various standalone functions for parsing block data, and
refactor consumers to initialize a Block with given data and access its
members as needed.
Closes: https://github.com/damus-io/damus/pull/1496
Signed-off-by: William Casarin <jb55@jb55.com >
2023-08-21 17:11:43 -07:00
Daniel D’Aquino
dcb94635ea
Fix text editing issues on characters added right after mention link
...
Changelog-Fixed: Fix text editing issues on characters added right after mention link
Closes: https://github.com/damus-io/damus/issues/1375
Signed-off-by: Daniel D’Aquino <daniel@daquino.me >
Tested-by: William Casarin <jb55@jb55.com >
Signed-off-by: William Casarin <jb55@jb55.com >
2023-08-20 17:25:06 -07:00
Fishcake
9104ddb051
add function to create nip98 http authorization header
...
Closes: https://github.com/damus-io/damus/pull/1471
Signed-off-by: William Casarin <jb55@jb55.com >
2023-08-20 16:29:33 -07:00
William Casarin
d5b944170f
actually build 15 because reasons
2023-08-20 11:25:01 -07:00
William Casarin
2e512317e7
v1.6 (13)
2023-08-18 10:10:18 -07:00
Daniel D‘Aquino
066b3cdde8
Fix image links appearing with escaped slashes
...
Changelog-Fixed: Fix images and links occasionally appearing with escaped slashes
Closes: https://github.com/damus-io/damus/issues/1468
Signed-off-by: Daniel D‘Aquino <daniel@daquino.me >
Signed-off-by: William Casarin <jb55@jb55.com >
Rewarded-sats: 50000
2023-08-18 08:41:21 -07:00
William Casarin
916f7d789e
v1.6 (11)
2023-08-07 08:45:07 -07:00
William Casarin
d4faacb99f
relays: strip trailing / from relay urls
...
Fixes: https://github.com/damus-io/damus/issues/1443
Changelog-Fixed: Fix issue with slashes on relay urls causing relay connection problems
2023-08-06 09:07:33 -07:00
William Casarin
5b9803d234
script: add build-git-hash.txt build output
...
Otherwise we get warnings
2023-08-06 07:54:23 -07:00
William Casarin
d489bcc586
test: add test for failing nostr report event
2023-08-06 06:56:24 -07:00
William Casarin
c0f4e3fe03
v1.6 (9)
2023-08-03 17:25:52 -07:00
William Casarin
cebd1f48ca
ndb: switch to nostrdb notes
...
This is a refactor of the codebase to use a more memory-efficient
representation of notes. It should also be much faster at decoding since
we're using a custom C json parser now.
Changelog-Changed: Improved memory usage and performance when processing events
2023-08-03 13:20:36 -07:00
William Casarin
b556257edd
util: add structured logger
2023-08-03 12:17:56 -07:00
Daniel D‘Aquino
ef5a3030a6
Add unit tests surrounding creation of posts with non-latin hashtags, as well as the rendering of non-latin hashtag
...
Signed-off-by: Daniel D‘Aquino <daniel@daquino.me >
Signed-off-by: William Casarin <jb55@jb55.com >
2023-08-03 12:17:32 -07:00
William Casarin
d4aa8a5602
config: show git hash in version info
...
This will be useful for sanity checks and bisecting
2023-08-01 09:29:09 -07:00
William Casarin
b40c595a7c
notify: switch over to new typesafe notifications
2023-07-30 11:02:44 -07:00
William Casarin
80063af19a
notify: add typesafe notifications
2023-07-30 11:02:44 -07:00
William Casarin
df3b94a1fc
notify: add typesafe notify class
2023-07-30 11:02:44 -07:00
William Casarin
06a66a3709
add some type aliases to make the ndb move more incremental
2023-07-30 10:52:02 -07:00
Joel Klabo
480921db20
Suggested Users to Follow
...
ui: Add Suggested Users Views and Helpers
ui: Add Logic to Launch Suggested User Screen
Changelog-Added: Suggested Users to Follow
2023-07-29 10:25:24 -07:00
Suhail Saqan
d11cd76e6a
Add multiple reaction support
...
Changelog-Added: Add support for multiple reactions
Closes: https://github.com/damus-io/damus/issues/1335
2023-07-29 10:03:55 -07:00
William Casarin
2f8aa29e92
ndb: make NostrEvents immutable
...
Since we can't mutate NdbNotes, let's update the existing codebase to
generate and sign ids on NostrEvent constructions. This will allow us to
match NdbNote's constructor
2023-07-25 15:34:05 -07:00
William Casarin
e34351ca37
ndb: fix iterators, pack id tags, more tests
2023-07-23 11:55:36 -07:00
William Casarin
7ec8da6c73
ndb: start implementing existing NostrEvent functionality
...
We eventually want to switch over to NdbNote instead of NostrEvent. To
facilitate this, the plan is to eventually make NostrEvent an alias of
NdbNote. For this to work, let's make sure the NostrEvent extensions are
implemented on NdbNote.
We will likely switch away from string properties as well, but for now
we will try to emulate as much as possible to make sure everything is
working first.
2023-07-22 17:19:47 -07:00
William Casarin
6d43754e71
ndb: add pubkey to NdbNote
2023-07-22 17:19:47 -07:00
William Casarin
ad0e1f28b7
test: fix build and tests
2023-07-21 15:26:03 -07:00
William Casarin
61051ee853
nostrdb: add initial swift integration
2023-07-21 15:02:01 -07:00
William Casarin
dc7826c4e5
c: add nostrdb c lib
2023-07-21 15:02:01 -07:00
William Casarin
4eee715bcd
c: add jsmn json parser
...
This is used by the nostrdb lib. Let's add it here.
This doesn't unescape things, so we'll still need to do that manually.
2023-07-21 14:56:24 -07:00