Commit Graph

6961 Commits

Author SHA1 Message Date
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 bddd8914ae Adds an EOSE manager to Channel Filters 2025-05-07 13:54:56 -04:00
Vitor Pamplona 2fc7c37270 Adds a watcher of MetadataChanges for NIP-28 that includes a since parameter for the last metadata time + 1 2025-05-07 13:48:54 -04:00
Vitor Pamplona bc22b78f19 Refactors EOSE management for Chatroom List 2025-05-07 13:47:34 -04:00
Vitor Pamplona e6b0b41e80 Adds a Normal Nostr filter as a PerRelay filter 2025-05-07 13:46:39 -04:00
Vitor Pamplona 8a7ce8dc07 Makes EOSE cache per user cleanable 2025-05-07 13:46:14 -04:00
Vitor Pamplona cb4e57d6f6 remove the filter invalidation after each EOSE 2025-05-06 19:42:23 -04:00
Vitor Pamplona a54835e4f9 Adds Eose management for the UserProfile Screen 2025-05-06 19:42:09 -04:00
Vitor Pamplona be0a559b7d Prints better logs for relay subscriptions 2025-05-06 19:38:13 -04:00
Vitor Pamplona b801125ff5 Builds a speed logger to better understand data usage 2025-05-06 19:37:44 -04:00
Vitor Pamplona 4ea9d2db7d Updates AGP to 8.10 2025-05-06 18:21:15 -04: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