Commit Graph

7725 Commits

Author SHA1 Message Date
Vitor Pamplona
2c06df7e50 Simple refactoring for the name of the subscription cache 2025-05-14 10:43:42 -04:00
Vitor Pamplona
52d31502e6 Migrates the Subscription controller to use filters from the NostrClient instead of the past version in the controller to avoid out of sync comparisons 2025-05-14 10:08:56 -04:00
Vitor Pamplona
d7d8f02a80 Moves Content Sensitivity setting to the Security filter screen 2025-05-13 20:09:14 -04:00
Vitor Pamplona
f3e2327676 Modifies the behavior of new posts to clear the background color after 5 seconds 2025-05-13 17:21:22 -04:00
Vitor Pamplona
dba51acbd5 Merge pull request #1351 from vitorpamplona/l10n_crowdin_translations
New Crowdin Translations
2025-05-13 15:32:53 -04:00
Crowdin Bot
20c775913a New Crowdin translations by GitHub Action 2025-05-13 19:24:27 +00:00
Vitor Pamplona
a42afdc78b merge 2025-05-13 14:53:00 -04:00
Vitor Pamplona
6ecb25b8e1 - Refactors the entire EOSE caching structure.
- Refactors all Datasource classes into a 3 layer design with composeSubscriptions being registered, passed to a group of EOSE managers that can change eose caching capabilities based on needs, and migrates the old subscription Orchestrator into a simpler controller
- Breaks down all Datasource into multiple filter functions
- Improves EOSE support for many of the base filters like on NIP-04 DMs, notifications, etc
- Moves EOSE cache for public, non-user-dependent items like channels, hashtags, etc to their own caching system.
- Improves the Relay speed logger to better track how many events are being received, and check for duplications
2025-05-13 14:52:26 -04:00
Vitor Pamplona
0e68031227 Removes the need to track EOSE at the base user class 2025-05-13 14:47:20 -04:00
Vitor Pamplona
466f52245b Adds an isDifferent function to avoid resending NormalFilters 2025-05-13 14:46:09 -04:00
Vitor Pamplona
09946c19b9 Turns all base Hint classes into data classes 2025-05-13 14:44:03 -04:00
Vitor Pamplona
4279ad004c Only updates EOSE log if the time is bigger 2025-05-13 14:43:44 -04:00
Vitor Pamplona
50cde1bc3e - Bugfix to mark relay connections as AfterEOSE when the relay client or server closes the subscription
- Adds an arrival time to log the time EOSEs were received in case the listener is running async processes later.
2025-05-13 14:43:28 -04:00
Vitor Pamplona
2d5732bcce Normalizes hashtag transformations for filters. 2025-05-13 14:40:03 -04:00
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
KotlinGeekDev
44b567b01f Write down implementation for FollowSetScreen. Introduce functions(hacks, really) for making sure of the UI/UX design.
- Implement dialog for creating a new list.
2025-05-12 20:47:12 +01: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