Commit Graph

1145 Commits

Author SHA1 Message Date
Vitor Pamplona 82af2644a6 Removes unnecessary label to v26 2025-04-24 16:43:50 -04:00
Vitor Pamplona 7d2b2ee674 normalizing strings 2025-04-24 16:43:28 -04:00
Vitor Pamplona fdc95a656f Ignore permissions to use our services. 2025-04-24 16:42:43 -04:00
Vitor Pamplona 7b040933d5 Merge 2025-04-24 14:35:57 -04:00
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
Crowdin Bot 0c8564157b New Crowdin translations by GitHub Action 2025-04-24 12:43:11 +00: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
Crowdin Bot f8fd935a4e New Crowdin translations by GitHub Action 2025-04-23 19:45:34 +00:00
David Kaspar cbd5a8a7ee contrasting circle around profile picture
remove unused import
2025-04-13 09:59:43 +02:00
David Kaspar 66927ca70c corrected profile picture border colour 2025-04-12 16:02:35 +02:00
Crowdin Bot 37b84108a7 New Crowdin translations by GitHub Action 2025-04-10 13:48:08 +00: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 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 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 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
Crowdin Bot c79243a912 New Crowdin translations by GitHub Action 2025-03-31 15:11:49 +00:00
Vitor Pamplona b762907d69 adds a mutex to make sure memory clearing only happens once at a time. 2025-03-31 11:09:23 -04:00
Vitor Pamplona 396831456c - Tor Cleanup:
- Only starts Tor when the "Internal" option is selected on the privacy settings
- Adds a mutex to make sure tor only starts once.
- Fixes bug when setting port before the service is running
- Moves tor start and stop to Compose actions, instead of activity
- Adds a 5 second delay before disconnecting Tor on the App's onPause
2025-03-31 11:09:04 -04:00
Vitor Pamplona 31e961c64f Fixes Video cropping due to rotated Exif metadata. 2025-03-30 10:51:32 -04:00
Vitor Pamplona 8baf9ad914 Merge branch 'main' of https://github.com/vitorpamplona/amethyst 2025-03-29 16:07:19 -04:00
Vitor Pamplona c2b0154bb5 Fixes mark as seen when drafts are the last post in messages 2025-03-29 16:07:11 -04:00
Crowdin Bot f97cfa81ca New Crowdin translations by GitHub Action 2025-03-29 19:22:34 +00:00