Vitor Pamplona
1f8d0295d5
- Separates Application dependencies into an AppModules class to create only after the OnCreate event.
...
- Switches TorSettings to be per Application and not per Account anymore
- Since TorSettings is now global, moves the okHttpClient determinations out of the Account-based classes into the Application.
- Since TorSettings is now global, set's up Coil's image loader only once when creating the Application
- Moves UISettings state to App Modules instead of viewmodel
- Migrates TorSettings and UISettings to DataStore
- Accounts now have their own coroutine scopes to allow cancellation when they are unloaded/logged off
- New tor evaluator service for relay connections now uses all account's trusted relays and dm relays at the same time.
- Migrates composable-state-based UISettings to Flow-based UI settings, while observing connectivity status
- Removes the displayFeatures and windowSizeClass from the shared model
- Fixes not requesting Notification Permissions for APIs older than Tiramisu in the FDroid flavor
- Moves the NIP-11 document cache from singleton to the App Modules
- Avoids using AccountViewModel to check NIP-11 Relay documents
- Moves the UI Settings usage in composables to functions that do not observe the state since they don't need to refresh the screen when changed.
- Refactors UI Settings screen to separate components and remove the sharedViewModel
- Only starts Internal Tor if that option is selected in the TorSettings.
- Turn TorSettings into a data class to observe changes to it
- Drops the SharedPreferences ViewModel to use UISettingsFlow directly from App Modules
- Reorganizes OTS Events after simplification of the OkHttp based on TorSettings.
2025-09-11 18:04:10 -04:00
Vitor Pamplona
11597d2448
Documents OTS methods
2025-09-11 10:45:35 -04:00
Vitor Pamplona
5c3ea0a302
removes duplicated copyright notice
2025-09-11 10:45:18 -04:00
Vitor Pamplona
0c65176ecc
Adds a DefaultOtsResolver builder using the internal web request classes from java.
2025-09-11 10:45:02 -04:00
Vitor Pamplona
eac2e54953
Merge pull request #1467 from davotoula/prevent-resource-leaks-with-streams
...
Prevent resource leaks with streams
2025-09-08 17:27:47 -04:00
Vitor Pamplona
95cf3fb6eb
Changing the DVM feed to sort by follows that liked or zapped the DVM
2025-09-08 16:49:30 -04:00
Vitor Pamplona
ac2609b4f6
Finish migration to INostrClient
2025-09-08 15:45:50 -04:00
davotoula
8f623ebb91
add TODO to investigate. Double closing of stream most often is ignored.
2025-09-08 20:32:28 +02:00
davotoula
adc4aa7906
cleaner code
2025-09-08 20:32:28 +02:00
davotoula
ec362ea0ee
Use .use for streams
...
cleaner code
2025-09-08 20:32:28 +02:00
davotoula
e66e71a05c
clener code
2025-09-08 20:32:28 +02:00
davotoula
9be55eda07
close FileInputStreams to prevent resource leak
2025-09-08 20:32:28 +02:00
Vitor Pamplona
360f71c79a
Merge branch 'main' of https://github.com/vitorpamplona/amethyst
2025-09-08 13:28:23 -04:00
greenart7c3
196a7de6a3
When using intents check if it's rejected
2025-09-08 14:05:00 -03:00
Vitor Pamplona
69e3d2d0d8
Creates an interface for NostrClient
2025-09-06 11:59:01 -04:00
Vitor Pamplona
b0e27d0748
Forces relay status updates when connecting and disconnecting
2025-09-04 21:02:20 -04:00
Vitor Pamplona
103ef01be4
Adds support for NIP-53 Meeting room to quartz
2025-09-04 11:10:54 -04:00
Vitor Pamplona
7de119dd4f
removes logs
2025-09-03 17:48:24 -04:00
Vitor Pamplona
8d73bf2cc4
Makes the new Video events non replaceable, while keeping the old ones in the replaceable
2025-09-03 17:44:40 -04:00
Vitor Pamplona
7a807e94af
Exposes active filters per relay on the Nostr Client for debugging purposes
2025-09-02 18:28:41 -04:00
Vitor Pamplona
116bd1ae29
Removes any relay url that has the null byte, regardless of size
2025-09-02 18:28:14 -04:00
Vitor Pamplona
36b541e0c7
Fixes NPE when updating a metadata with null name
2025-09-02 14:35:43 -04:00
Vitor Pamplona
b2516bbae9
Merge branch 'main' of https://github.com/vitorpamplona/amethyst
2025-09-02 13:43:56 -04:00
Vitor Pamplona
fcd56fdb3a
Improves list of visible authors on live stream bubbles
2025-09-02 13:26:19 -04:00
Vitor Pamplona
8db90728aa
Removes wss://%2A%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00.isekco.re/
2025-09-02 12:37:38 -04:00
Vitor Pamplona
35146cc794
Adds the error code to avoid testing it again
2025-09-02 12:36:43 -04:00
KotlinGeekDev
c828299793
Update sourceset folder names.
2025-09-01 15:24:22 +01:00
Vitor Pamplona
5397e4e22e
Moves SoftCache logs to the app
2025-08-31 12:10:51 -04:00
Vitor Pamplona
d7a3cf94b7
Moves from RelationshipStatus to ContactCard as per NIP update
2025-08-30 13:11:29 -04:00
Vitor Pamplona
a063107a15
Adds a normalized parser to all nip65 relays
2025-08-30 12:45:32 -04:00
Vitor Pamplona
4c34c6b8e3
Simple fix on url normalization
2025-08-30 10:59:53 -04:00
davotoula
8fffe3f662
remove unused imports
2025-08-30 09:10:28 +01:00
Vitor Pamplona
458a7c7377
Adds support for expirations in DMs
2025-08-29 09:34:26 -04:00
Vitor Pamplona
60377c0c35
Fixes inability to delete relays from certain relay lists.
2025-08-29 07:38:18 -04:00
Vitor Pamplona
0dc18cc98c
Reduces the size of log messages
2025-08-28 13:53:22 -04:00
Vitor Pamplona
4be1a143e6
Solving parsing issue with NWC
2025-08-28 10:35:44 -04:00
Vitor Pamplona
85ee48e003
Fixes crash when loading a user without a name
2025-08-28 10:32:29 -04:00
Vitor Pamplona
170b6cfe69
Moves test assets to resources to make it work with kmp
2025-08-27 21:09:21 -04:00
Vitor Pamplona
ce991a8aea
- Migrates NIP-49 from java to kotlin for kmp
2025-08-27 21:08:34 -04:00
Vitor Pamplona
494d7edc1f
Testing proguard rules on KMP quartz
2025-08-27 18:32:33 -04:00
Vitor Pamplona
442f75fc41
- Migrates Quartz to a KMP project
...
- Converts OpenTimestamps from java to Kotlin
- Moves OTS OkHttp setup to Quartz
2025-08-27 17:32:39 -04:00
Vitor Pamplona
aa80d1b84a
- Upgrades NIP-72 communities to NIP-22 comments
...
- Adds moderation queue feed
- Adds in-app approval procedures
- Adds drafts for community posts
- Redesigns About us section of communities.
2025-08-26 20:10:04 -04:00
Vitor Pamplona
98453c7b65
Fixes unable to delete relays from some lists.
2025-08-25 10:26:39 -04:00
Vitor Pamplona
36b14f93cb
Removing multiple relays in the same line.
2025-08-23 10:49:40 -04:00
Vitor Pamplona
499316687f
Avoids parsing bad NIP-28 objects
2025-08-21 17:19:22 -04:00
Vitor Pamplona
b232f484bf
Saves all NIP-51 lists as nip-44
2025-08-20 17:32:58 -04:00
Vitor Pamplona
da015e3298
Enabling the display for amplitudes in an array of floats for YakBak
2025-08-20 16:00:06 -04:00
Vitor Pamplona
4065adac83
Correctly manages airplane mode changes: reconnects Tor and Relays
2025-08-20 12:16:01 -04:00
Vitor Pamplona
7339f0ea3b
Merge pull request #1418 from davotoula/update-n71-video-events
...
Support updated video events (Kind 21/22)
2025-08-20 08:32:20 -04:00
David Kaspar
1bbc67fed7
Added VideoNormalEvent (21) and VideoShortEvent (22)
...
Updated Account to post events as new 21 / 22 kinds.
Keep showing old event kinds for backwards compatibility
2025-08-20 11:16:02 +01:00