Commit Graph

6576 Commits

Author SHA1 Message Date
Vitor Pamplona 067f353e50 Finish the migration from LiveData to Flow
Moves most of the flow updates away from the Main thread.
Removes the need to use the Main thread to access Account.userProfile
2025-04-24 14:35:22 -04:00
Vitor Pamplona e375b09a24 Fixes missing gallery of reactions 2025-04-23 18:52:43 -04:00
Vitor Pamplona 802e04445d Adds logging message to hunt down some slow screens 2025-04-23 17:15:21 -04:00
Vitor Pamplona ca8faa062f Caches translations to avoid blinking text every time the user comes back to an older screen. 2025-04-23 16:44:35 -04:00
Vitor Pamplona d6d34b2a88 Merge branch 'main' of https://github.com/vitorpamplona/amethyst 2025-04-23 16:24:57 -04:00
Vitor Pamplona a84371a0b3 - Restructures the old static datasource model into dynamic filter assemblers.
- Moves filter assemblers, viewModels and DAL classes to their own packages.
- Creates Composable observers for Users and Notes
- Deletes most of the secondary LiveData objects in the move to Flow
- Manipulates nostr filters depending on the account of the current screen, not a global account.
- Unifies all FilterAssembly lifecycle watchers to a few classes.
- Prepares to separate The Nostr Client as an Engine of Amethyst.
- Moves the pre-caching processor of new events from the datasource to the accountViewModel
- Reorganizes search to be per-screen basis
- Moves authentication to a fixed Coordinator class for all accounts in all relays.
- Moves NOTIFY command to its own coordinator class for all accounts
- Moves the connection between filters and cache to its own class.
- Significantly reduces the dependency on a single ServiceManager class.
2025-04-23 16:24:41 -04:00
Vitor Pamplona 411b49d68f Merge pull request #1326 from vitorpamplona/l10n_crowdin_translations
New Crowdin Translations
2025-04-23 16:04:46 -04:00
Crowdin Bot f8fd935a4e New Crowdin translations by GitHub Action 2025-04-23 19:45:34 +00:00
Vitor Pamplona 62be469cd8 Merge pull request #1325 from greenart7c3/main
Filter special characters when decoding bech32
2025-04-23 15:44:08 -04:00
greenart7c3 b42d05ae7a Filter unicode characters 2025-04-23 16:17:13 -03:00
Vitor Pamplona e007a02d84 Merge pull request #1320 from davotoula/circle-around-profile-picture-in-drawer
contrasting circle around profile picture
2025-04-13 11:13:03 -04:00
David Kaspar cbd5a8a7ee contrasting circle around profile picture
remove unused import
2025-04-13 09:59:43 +02:00
Vitor Pamplona fd1c5d5887 Merge pull request #1319 from davotoula/1318-profile-qr-code-screen-changes
corrected profile picture border colour
2025-04-12 11:18:12 -04:00
David Kaspar 043196be10 Update bug_report.md
Added app flavour field (play vs fdroid)
bump versions
2025-04-12 15:56:51 +01:00
David Kaspar 66927ca70c corrected profile picture border colour 2025-04-12 16:02:35 +02:00
Vitor Pamplona faf0f6dc1a Updates mockk, coroutines, zoomable and vico 2025-04-10 14:06:25 -04:00
Vitor Pamplona 5abb5f2f80 Merge pull request #1317 from vitorpamplona/l10n_crowdin_translations
New Crowdin Translations
2025-04-10 10:00:00 -04:00
Crowdin Bot 37b84108a7 New Crowdin translations by GitHub Action 2025-04-10 13:48:08 +00:00
Vitor Pamplona 5edc945341 Updates Compose, CoreKtx and SecurityKtx 2025-04-10 09:45:21 -04:00
Vitor Pamplona 3833f5f822 - Refactoring services to be part of the App Lifecycle,
- Migrated services to Flows that are active while their flows remain subscribed
- Improved OTS Decoupling
- Moved OTS verification procedures from the local cache to the data source
- Migrated the forceProxy options to lambdas that return an OkHttpClient
- Isolated Connectivity services, from Compose to Flow
- Isolated Tor services, from Compose to Tor (only starts if the Tor option is marked as internal)
- Isolated Memory trimming services, from Compose to Flow
- Isolated Image Caching services, from Compose to Flow
- Isolated Video Caching services
- Isolated Logging services
- Isolated NIP-95 Caching services
- Isolated Pokey receiver services
- Improved support for Tor in push notifications
- Isolated OkHttpClient services as flows
- Reduced the coupling of Context objects with singleton objects.
- Migrated UserFeedStates, StringFeedStates and ZapFeedStates to MutableStateFlow, avoiding feed updates on Main
- Forces a reconnect into relays that lost connection if any tor, connectivity or account changes
- Speeds up Base64 parser
2025-04-09 18:51:17 -04:00
Vitor Pamplona 652373bd01 Remove the warning saying the app name is being replaced on benchmark. 2025-04-09 16:28:18 -04:00
Vitor Pamplona e883a46f53 Fixes deprecated warning 2025-04-09 16:20:14 -04:00
Vitor Pamplona 2b7cfa5560 Better name for the Blurhash class to avoid mistakes with its field. 2025-04-03 20:50:43 -04:00
Vitor Pamplona ed860454a7 Moves activities to be singleInstance to avoid multiple startups when receiving share events from other apps. 2025-04-03 20:46:39 -04:00
Vitor Pamplona ed0435061c Moves to cover all classes in the proguard. 2025-04-03 20:45:25 -04:00
Vitor Pamplona 223865827f Fixes tagging issue on new post. 2025-04-03 13:54:23 -04:00
Vitor Pamplona ec25ef3f82 Adds flowerstr 2025-04-03 09:02:31 -04:00
Vitor Pamplona 7c4911f2dc Converts old ClickableTexts into new Compose Texts with clickable spans 2025-04-02 20:37:14 -04:00
Vitor Pamplona 4ac046fe39 Migrates Navigation to Compose Navigation. 2025-04-02 17:39:16 -04:00
Vitor Pamplona bfd5845022 Updates Firebase and CBOR 2025-04-01 19:26:10 -04:00
Vitor Pamplona d288010a83 Move the stringresource setup out of the Activity 2025-04-01 19:13:35 -04:00
Vitor Pamplona 834efe02bc Refactors SharedSettings state to:
- Minimize recompositions
- Improve code quality
2025-04-01 18:59:53 -04:00
Vitor Pamplona 1bd32c854c Makes sure the tryLogin function only runs if it is not already logged in (compostables might call it more times) 2025-04-01 18:58:15 -04:00
Vitor Pamplona d08998736f Removes unecessary preview items from Cashu components. 2025-04-01 18:57:40 -04:00
Vitor Pamplona a5f9b865ec Makes ZapAmount viewmodel stable 2025-04-01 18:57:17 -04:00
Vitor Pamplona 375931d4f9 Modernizing the edit access to LocalPreferences. 2025-04-01 18:53:30 -04:00
Vitor Pamplona 7e3f64fc61 Performance: Avoids saving the first collection on login 2025-04-01 18:51:29 -04:00
Vitor Pamplona 09024fbc61 Performance: Avoids creating OkHttp proxies directly on the OnCreate 2025-04-01 18:50:08 -04:00
Vitor Pamplona a530ced594 Performance: Avoids creating a SharedSettings ViewModel on Galery 2025-04-01 18:49:26 -04:00
Vitor Pamplona 3089524a1f Cleaning up from the previous commit 2025-04-01 16:50:55 -04:00
Vitor Pamplona 5aa2aa4d54 Merge translations 2025-04-01 16:36:03 -04:00
Vitor Pamplona 12235216ff Moves The WIFI/Mobile data connection watcher to the compose.
Moves Relay Connection Manager to the Compose
Adds a 30 second delay to approve events on Amber
2025-04-01 16:35:46 -04:00
Vitor Pamplona 35b9648bab Merge pull request #1316 from vitorpamplona/l10n_crowdin_translations
New Crowdin Translations
2025-04-01 15:06:31 -04:00
Vitor Pamplona cf2959d42e Refactors logged in page into its own package 2025-04-01 14:03:17 -04:00
Crowdin Bot b5164d5dd0 New Crowdin translations by GitHub Action 2025-04-01 18:01:18 +00:00
Vitor Pamplona 05cb055b1d Migrates FDroid's push system to match Play services 2025-04-01 13:58:57 -04:00
Vitor Pamplona f6bd12058f removes firebase logging 2025-04-01 11:56:55 -04:00
Vitor Pamplona 99ef1fc168 Removes Tor leaks when loading thumbnails for vides automatically from the ExoPlayer 2025-04-01 11:56:47 -04:00
Vitor Pamplona bd02515209 Moves push registration notification into Compose after login to make sure we use the tor configuration of the active user. 2025-04-01 11:18:15 -04:00
Vitor Pamplona b3f1b093ed Tor now listens to port changes and restart connections when it does change. 2025-03-31 20:32:15 -04:00