William Casarin
15d633a42f
project: update to recommend settings
2023-07-10 11:08:20 -07:00
Terry Yiu
140c3505ba
Update translations
2023-07-09 15:36:35 -04:00
Bryan Montz
51d71f11c1
replace RelayMetadatas with RelayModelCache in DamusState
...
Signed-off-by: Bryan Montz <bryanmontz@me.com>
Signed-off-by: William Casarin <jb55@jb55.com>
2023-07-09 07:40:39 -07:00
Bryan Montz
f619fef410
add RelayModel and RelayModelCache classes
...
Signed-off-by: Bryan Montz <bryanmontz@me.com>
Signed-off-by: William Casarin <jb55@jb55.com>
2023-07-09 07:40:39 -07:00
Bryan Montz
ef4aeb40e0
add RelayLog class
...
Signed-off-by: Bryan Montz <bryanmontz@me.com>
Signed-off-by: William Casarin <jb55@jb55.com>
2023-07-09 07:40:39 -07:00
Bryan Montz
ebcfe3c25f
add developer mode view and setting
...
Signed-off-by: Bryan Montz <bryanmontz@me.com>
2023-07-07 09:02:52 -07:00
William Casarin
3451e7d88f
v1.6
2023-07-04 12:18:33 -07:00
William Casarin
a04a401292
nscript: load script view
...
This allows you to open and run scripts for testing purposes, but only
from external links such as nostr:nscript...
2023-07-04 11:48:27 -07:00
William Casarin
30e33a01c1
nostrscript: add a helper function
2023-07-03 16:59:50 -07:00
William Casarin
97f10e865f
NostrScript
...
NostrScript is a WebAssembly implementation that interacts with Damus.
It enables dynamic scripting that can be used to power custom list views,
enabling pluggable algorithms.
The web has JavaScript, Damus has NostrScript. NostrScripts can be
written in any language that compiles to WASM.
This commit adds a WASM interpreter I've written as a mostly-single C
file for portability and embeddability. In the future we could
JIT-compile these for optimal performance if NostrScripts get large and
complicated. For now an interpreter is simple enough for algorithm list
view plugins.
Changelog-Added: Add initial NostrScript implementation
Signed-off-by: William Casarin <jb55@jb55.com>
2023-07-03 14:31:38 -07:00
Terry Yiu
6e964f71ff
Add trie-based user search cache to replace non-performant linear scans
...
Changelog-Added: Speed up user search
Tested-by: William Casarin <jb55@jb55.com>
Fixes : #1219
Closes : #1342
2023-07-03 12:06:01 -07:00
Bryan Montz
7cd3aef157
Updated test target to deployment target of iOS 16.0
...
Changelog-Updated: Bumped minimum verison to iOS 16.0
Signed-off-by: Bryan Montz <bryanmontz@me.com>
2023-07-02 13:03:13 -07:00
Scott Penrose
f0b0eade37
Convert to NavigationStack
...
- Fixes linking issues on SideMenu and tab switching issues
- I currently bumped to iOS 16+ to get iterate and get this working.
2023-06-30 06:42:56 -07:00
William Casarin
82c53e43e5
v1.5 (8)
2023-06-27 06:30:50 +02:00
William Casarin
1e2326cccf
v1.5 (7)
...
rip zap button
2023-06-27 05:35:53 +02:00
Terry Yiu
422167f7aa
Add indication of followers you know in a profile
...
Changelog-Added: Add indication of followers you know in a profile
2023-06-25 09:38:57 +02:00
William Casarin
b70bf1f647
v1.5-6
2023-06-25 09:38:46 +02:00
William Casarin
a641f972ff
v1.5-5
2023-06-24 08:38:02 +02:00
William Casarin
337c4de337
reduce ContentView redraws
...
Remove observability from the home model, and use inner models for
updating specific parts of the UI, such as notification dots on the tab
bar.
2023-06-23 11:51:51 +02:00
William Casarin
e885f38c54
refactor: switch CustomizeZapView to use a model
...
Changelog-Fixed: Fix CustomizeZapView from randomly disappearing
2023-06-23 11:51:51 +02:00
William Casarin
4d43e590e0
view: Add ZapUserView
...
This will be used to make it clear that we are zapping a user
2023-06-22 10:23:56 +02:00
William Casarin
6ec533b0cd
view: Add AboutView
...
This will be used by different views for the user's about section
2023-06-20 17:00:48 +02:00
Bryan Montz
296d96d6df
rename RelayStatus to RelayStatusView
2023-06-20 10:18:34 +02:00
William Casarin
bcdd0b4e23
Revert "Add Inter font"
...
This reverts commit 271e3ad54a
.
2023-06-12 11:25:27 +02:00
Ben Weeks
271e3ad54a
Add Inter font
...
ChangeLog-Changed: Switch to new font (Inter)
2023-06-10 12:38:13 +02:00
William Casarin
043eb5b436
Show zap comments in threads and show top zap
...
Changelog-Added: Top zaps
Changelog-Added: Show zap comments in threads
2023-06-09 10:11:25 +02:00
Terry Yiu
8ca377bec9
Add max length truncation to displayed profile attributes to mitigate spam
...
Changelog-Fixed: Add max length truncation to displayed profile attributes to mitigate spam
Fixes : #1237
2023-06-04 17:50:52 -04:00
Terry Yiu
952d6746d5
Add profile zaps
...
Refactor profile zaps to reuse same BOLT11 Lightning invoice logic as
note zaps, which fixes profile zaps from Cash App and Muun wallets
Changelog-Added: Add profile zaps
Changelog-Fixed: Fix profile zapping for Muun and Strike wallets
Closes : #1236
Fixes : #1067
2023-06-04 10:56:43 -07:00
William Casarin
809a08ef63
v1.5 (3)
2023-05-30 19:40:37 -07:00
William Casarin
57e6f083b8
Revert "Updated UI to use custom font"
...
This reverts commit 020a00bf7e
.
2023-05-30 19:35:21 -07:00
William Casarin
6aa28fce6c
v1.5-2
2023-05-30 18:04:21 -07:00
William Casarin
88b04fde09
xcode: remove .git ext from package
2023-05-30 17:58:48 -07:00
William Casarin
6214ab8d8f
video: add DamusVideoPlayer view
2023-05-29 17:11:14 -07:00
William Casarin
4d95d36a1e
Add GSPlayer + VideoPlayer
2023-05-29 17:10:14 -07:00
Ben Weeks
06ba0f7387
Add ability to show multiple posts per user in Universe
...
ChangeLog-Added: Add ability to show multiple posts per user in Universe
Closes : #1198
Fixes : #1189
2023-05-29 15:35:29 -07:00
ericholguin
90c22fdabd
components: added reusable gradient button style
2023-05-29 14:38:24 -07:00
ericholguin
dfd1032cd8
gradients: add pink gradient
2023-05-29 14:38:24 -07:00
ericholguin
a0e1e16f17
gradients: add damus logo gradient
2023-05-29 14:38:24 -07:00
Ben Weeks
020a00bf7e
Updated UI to use custom font
...
Changelog-Changed: Updated UI to use custom font
2023-05-29 14:38:24 -07:00
Bryan Montz
ea73c5252d
Merge branch 'master' into user-cache
2023-05-26 06:46:47 -05:00
Bryan Montz
812213ff2b
Add Damus splash screen
...
Changelog-Updated: Add Damus splash screen
2023-05-24 15:17:08 -07:00
William Casarin
bffa42a13a
Supporter Badges
2023-05-15 11:57:37 -07:00
William Casarin
af912b1a0e
v1.5-1
2023-05-15 09:59:22 -07:00
William Casarin
1313880574
Add release Damus build scheme
2023-05-14 10:49:54 -07:00
Bryan Montz
32431096f5
add tests for ProfileDatabase
2023-05-13 09:20:01 -05:00
Bryan Montz
4646f0e23c
add ProfileDatabase class to read and write profiles to disk
2023-05-12 07:21:25 -05:00
Bryan Montz
76c57af548
add managed object class to match new Profile CoreData model
2023-05-12 07:18:12 -05:00
Bryan Montz
7983157c38
add CoreData model for Profile
2023-05-12 07:15:30 -05:00
William Casarin
dafa1ba4de
test: add nwc and ephemeral relay test
...
This ensures that when paying with nwc, we get an ephemeral relay added
and a request queued in the postbox.
2023-05-10 16:24:02 -07:00
William Casarin
370a5feb4e
ui: add Nostr Wallet Connect views
2023-05-10 14:07:24 -07:00