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

25 Commits

Author SHA1 Message Date
Daniel D’Aquino
7bed47c919 test: Setup Snapshot testing library and add a snapshot test (testTextWrapperViewWillWrapText)
This change adds `https://github.com/pointfreeco/swift-snapshot-testing` as a package dependency and links it to the `damusTests` target.
It also adds one snapshot test to demonstrate its usefulness, by adding coverage to one particular aspect that we have never been able to test before: Whether or not the post text editor will wrap the text once the text gets long.

Testing of the test
-------------------

PASS

iOS: 17.0
Device: Simulator
Damus: This commit
Test steps:

1. Run `testTextWrapperViewWillWrapText`. PASS
2. Change TextViewWrapper.swift and remove this line:
```
textView.setContentCompressionResistancePriority(.defaultLow, for: .horizontal)
```
3. Rerun. It fails. PASS (This is expected)

Closes: https://github.com/damus-io/damus/issues/1562
Signed-off-by: Daniel D’Aquino <daniel@daquino.me>
Signed-off-by: William Casarin <jb55@jb55.com>
2023-10-10 22:05:45 -07:00
William Casarin
a88f5db10b Revert "deps: add tldextract"
This reverts commit 4263b9690f.
2023-09-21 08:48:20 -04:00
William Casarin
4263b9690f deps: add tldextract
This is needed for the new relay view
2023-09-10 09:52:54 -07:00
William Casarin
fc640b85ed add swift-markdown-ui
We will be using this lib which is much better than the builtin
framework for markdown rendering. We use a modified version that removes
html tag rendering which looks horrible.
2023-07-16 15:25:09 -07:00
William Casarin
88b04fde09 xcode: remove .git ext from package 2023-05-30 17:58:48 -07:00
William Casarin
4d95d36a1e Add GSPlayer + VideoPlayer 2023-05-29 17:10:14 -07:00
Bryan Montz
e4860f3ba8 Replace Vault dependency with @KeychainStorage property wrapper
Changelog-Changed: replace Vault dependency with @KeychainStorage property wrapper
Closes: #1076
2023-05-04 15:57:02 -07:00
Bryan Montz
0e94c48e26 Replace Starscream with URLSessionWebSocketTask
Changelog-Fixed: Fix slow reconnection issues
2023-04-24 18:11:07 -07:00
William Casarin
209ad71ff3 Update kingfisher to potentially fix some crashes
Changelog-Fixed: Fix some animated image crashes
2023-02-13 09:40:02 -08:00
OlegAba
0e8c94b668 Replace SVGKit package with CoreSVG
Changelog-Fixed: Fixed crash on some SVG profile pictures
Closes: #416
2023-01-28 09:38:22 -08:00
OlegAba
cbc3c46c9d Fix image crash and support SVG profile pictures
Closes: #310
Changelog-Fixed: Fixed some crashes with large images
Changelog-Added: Added SVG profile picture support
2023-01-14 19:30:54 -08:00
Darrell
424fb55343 remove unused packages
Shimmer package was added to package dependencies in #56 but Shimmer.swift in Components was used instead.
2023-01-10 10:11:54 -08:00
William Casarin
fd6173c38c bump package 2022-12-28 11:26:33 -08:00
Sam DuBois
f04f9dfa33 Added detailed link views using async await 2022-12-27 17:45:19 -07:00
Thomas
d1cbf74840 Improved visual composition for threads
Changelog-Changed: Improve visual composition of threads
2022-12-27 14:41:28 -08:00
William Casarin
8b7b77c2e8 Merge PR #111: Save the private key to the iOS keychain and not user defaults
Closes: #111
Changelog-Changed: Save privkey in keychain instead of user defaults
2022-12-25 14:21:25 -08:00
Thomas Rademaker
41a75c2adf update vault 2022-12-23 09:54:44 -05:00
Thomas Rademaker
6a8100152f save the private key to the keychain and not user defaults 2022-12-22 18:13:33 -05:00
Sam DuBois
fbde055fc6 Making some changes to the view model. braking but we will survive 2022-12-18 16:37:53 -07:00
William Casarin
300b5fda98 add kingfisher
will use this for image loading

Signed-off-by: William Casarin <jb55@jb55.com>
2022-10-16 11:09:29 -07:00
William Casarin
c122035851 Implement NIP04: Encrypted Direct Messages
Closes #5

This adds encrypted direct message support to damus

Changelog-Added: Implement NIP04: Encrypted Direct Messages
Signed-off-by: William Casarin <jb55@jb55.com>
2022-07-02 12:14:36 -07:00
William Casarin
2676dea140 event action bar, more detail view
Signed-off-by: William Casarin <jb55@jb55.com>
2022-04-16 11:32:42 -07:00
William Casarin
967c463976 Posting works!
Signed-off-by: William Casarin <jb55@jb55.com>
2022-04-12 06:47:54 -07:00
William Casarin
28790ccfab reorganize
Signed-off-by: William Casarin <jb55@jb55.com>
2022-04-11 10:34:35 -07:00
William Casarin
f4bb07081f initial commit
Signed-off-by: William Casarin <jb55@jb55.com>
2022-04-02 16:57:42 -07:00