Commit Graph

6704 Commits

Author SHA1 Message Date
David Kaspar a848ea6135 add content param when making call using a MediaPreloadedContent. Just in case 2025-05-13 09:43:23 +02:00
David Kaspar 095d054d62 add support for gifs 2025-05-13 09:39:33 +02:00
David Kaspar 2e4c9f77e6 refactor 2025-05-13 09:39:33 +02:00
David Kaspar 7efec03056 Return file extension from ShareHelper just in case mimetype is null
Use content to determine whether it's an image
2025-05-12 22:26:24 +02:00
David Kaspar 91b6bf6e88 localisation 2025-05-12 21:03:17 +02:00
David Kaspar 35001c0b00 moved sharing intent back to view 2025-05-12 20:56:16 +02:00
David Kaspar ce96ab873f added todos 2025-05-12 18:42:56 +02:00
David Kaspar 8c1888b4d5 added error handling
.use {} for automatic resource management with snapshots
2025-05-12 17:40:28 +02:00
David Kaspar 0192a4eb20 Add test to only share images. Other media not supported atm 2025-05-12 17:13:29 +02:00
David Kaspar fee85a6111 remove scope launch 2025-05-12 17:06:05 +02:00
David Kaspar 13ee0a23de Use disk cache reference from app
Detect image type based on magic number
2025-05-12 16:44:31 +02:00
David Kaspar ebf1571b92 share images from coil cache to other apps 2025-05-08 18:05:06 +02:00
Vitor Pamplona a5c63dd311 Merge pull request #1349 from vitorpamplona/l10n_crowdin_translations
New Crowdin Translations
2025-05-08 10:58:07 -04:00
Crowdin Bot 245b767dc8 New Crowdin translations by GitHub Action 2025-05-08 14:56:55 +00:00
Vitor Pamplona be62d5ad7f Merge pull request #1347 from davotoula/use-updated-markdown-to-sanitise-url-labels
Use new version of Markdown to sanitise url labels from # and @
2025-05-08 10:55:33 -04:00
Vitor Pamplona dc132de18d Merge pull request #1348 from davotoula/upgrade-agp-to-8.10.0
Upgrade agp to 8.10.0
2025-05-08 10:52:52 -04:00
David Kaspar 5d1515659e remove unused imports 2025-05-08 13:13:02 +02:00
David Kaspar 6206d550e6 Upgrade agp to 8.10.0 2025-05-08 13:09:08 +02:00
David Kaspar d7055062f3 Use new version of Markdown to sanitise url labels from # and @ 2025-05-08 11:58:02 +02:00
Vitor Pamplona 54532de88a Extending AsyncImage to correctly use pre-loaded aspect ratio and avoid screen jittering 2025-05-06 16:46:25 -04:00
Vitor Pamplona ba6a7bb07f Fixes missing content alignment on the crossfade API migration 2025-05-06 16:18:21 -04:00
Vitor Pamplona fcd70001bf Adds a Reads feed to the discovery tab 2025-05-06 15:48:03 -04:00
Vitor Pamplona 80d4971548 - Adds FollowSets to the discovery tabs.
- Refactors discovery screen, creating a package for each feature.
- Fixes Android studio previews
2025-05-06 13:23:43 -04:00
Vitor Pamplona fbe20029f7 Move to a cache model where we defer the event's verification until the last moment before adding to cache 2025-05-06 09:45:01 -04:00
Vitor Pamplona a05a465f69 Avoids sending an NWC filter when there are no keys subscribed to it 2025-05-06 08:56:47 -04:00
Vitor Pamplona 49c131a5cd Adding more constraints to the channel filter 2025-05-05 19:11:54 -04:00
Vitor Pamplona 1c23600c57 Assigns the first relay when a gift-wrapped message is received 2025-05-05 18:51:45 -04:00
Vitor Pamplona 7a8766551f unused checks 2025-05-05 18:36:13 -04:00
Vitor Pamplona 7accb5e2b9 Adds onStart calculator for live bubble authors 2025-05-05 18:34:54 -04:00
Vitor Pamplona 504f365ab3 Fixes code to mark messages as received by relays 2025-05-05 18:12:16 -04:00
Vitor Pamplona d9b784bee5 Merge branch 'main' of https://github.com/vitorpamplona/amethyst 2025-05-05 17:22:53 -04:00
Vitor Pamplona aff95853d8 Merge pull request #1346 from vitorpamplona/l10n_crowdin_translations
New Crowdin Translations
2025-05-05 17:21:15 -04:00
Vitor Pamplona adcbbec5be Removing unnecessary logs 2025-05-05 17:21:03 -04:00
Crowdin Bot ceabf8184a New Crowdin translations by GitHub Action 2025-05-05 21:10:39 +00:00
Vitor Pamplona 7aa71fad3f Caches app icons as painters 2025-05-05 17:08:47 -04:00
Vitor Pamplona 15dfbb2f31 Fixes the test case for emojis 2025-05-03 16:33:28 -04:00
Vitor Pamplona 0d53a30371 Disable event logger for now 2025-05-03 16:33:08 -04:00
Vitor Pamplona 38bb39a407 Fixes bug when trying to detect the charset of the first 1024 bytes of the page. Since this is an invalid HTML, it was crashing here. 2025-05-03 16:15:20 -04:00
Vitor Pamplona 560a9ba471 Fixes some log messages 2025-05-02 21:23:44 -04:00
Vitor Pamplona 38d3194e87 Merge branch 'main' of https://github.com/vitorpamplona/amethyst
# Conflicts:
#	amethyst/src/main/java/com/vitorpamplona/amethyst/model/Account.kt
2025-05-02 21:19:14 -04:00
Vitor Pamplona 462fda1b5c Updates accompanist, jackson, mockk, secp256, zoomable 2025-05-02 21:18:40 -04:00
Vitor Pamplona 63a009f36d - Adds support for Ephemeral Chats from coolr.chat
- Adds support for following ephemeral chats
- Adds support for live events at the top of the feed.
- Adds support for NIP-51, kind:10005 public chat lists
- Adds support for Channel feeds
- Moves following of NIP-28 chats from the Contact List to kind: 10005
- Disables following of events at the Contact list
- Improves gallery display to slightly override profile pictures when in list
- Starts the Account refactoring by moving custom Emoji, EphemeralList and PublicChat lists to their own packages
- Refactors NIP-51 lists to use common classes of private tags instead of general list classes.
- Starts to separate all Public chats into their own database.
- Removes old account upgrades from the local storage
- Refactors url NIP-11 loading and unifies icon
- Reduces the dependency of Relay classes in the LocalCache, Notes and User classes
2025-05-02 21:18:10 -04:00
David Kaspar c3dc8104e9 Merge pull request #1340 from vitorpamplona/l10n_crowdin_translations
New Crowdin Translations
2025-05-02 15:27:21 +02:00
Crowdin Bot 23fbb53c96 New Crowdin translations by GitHub Action 2025-05-02 13:20:35 +00:00
Vitor Pamplona 1fe55ece5d Merge pull request #1339 from davotoula/missing-at-for-profile-links-in-markdown
Missing at for profile links in markdown and fix typo preventing opening of hashtags from markdown notes
2025-05-02 09:19:03 -04:00
David Kaspar bb9435e637 Remove unused imports 2025-05-02 15:05:20 +02:00
David Kaspar 67e3a92d68 cleanup 2025-05-02 15:00:27 +02:00
David Kaspar 32439b5feb bugfix: fix typo preventing opening of hashtags from markdown notes 2025-05-02 15:00:06 +02:00
David Kaspar 136a4061d7 prepend clickable user with @ sign 2025-05-02 14:59:32 +02:00
Vitor Pamplona b06e53f59d Fixes lack of update for Discovery filters when resuming 2025-04-30 15:24:00 -04:00