Vitor Pamplona
6522d74253
Fixes the Tor leaks for relays and some image content.
2025-01-04 17:35:34 -05:00
Vitor Pamplona
09539ac22a
adds new rules for proguard
2024-12-30 19:57:31 -05:00
Vitor Pamplona
626daa9967
Refactoring
2024-12-30 15:43:09 -05:00
Vitor Pamplona
94c74a1e0c
Adds support for encrypted media uploads on NIP-17 DMs
2024-12-23 20:30:22 -05:00
Vitor Pamplona
f839565152
Refactors Ammolite to remove the dependency on OkHttp to prepare for KTor and multiplatform settings.
...
- This also reduces the Singleton coupling between Client and RelayPool.
To migrate, create a NostrClient instance on your Application class and update your code to access that `client` instance.
2024-12-20 15:36:50 -05:00
Vitor Pamplona
bcb9ba26ab
Improves search by npubs to use all relays.
2024-12-05 17:14:16 -05:00
Vitor Pamplona
26ba75c7c9
Fixes array too big because strfry blocks more than 20 filters
2024-10-17 17:18:35 -04:00
Vitor Pamplona
a028c2c3fc
Fixes missing zaps on the first connection to a NWC wallet with a split payment.
2024-09-27 15:19:59 -04:00
Vitor Pamplona
afe8a06486
- Adds a new Settings page for Tor
...
- Adjusts all web calls to use Tor if that setting is enabled.
- Allows .onion urls to use Tor
- Blocks localhost from using Tor
- Moves OTS web calls to use the Tor Proxy as well.
- Starts to build all OkHttp clients from a main root node to keep the same thread pool
- Refactors the URL Preview code
- Changes ammolite to force proxy.
- Changes NIP-47 implementation to force relay for the NWC connection.
2024-09-25 17:58:37 -04:00
Vitor Pamplona
e17cfb4fdb
Simplifies the "and 2 more" translations
2024-09-05 15:11:00 -04:00
Vitor Pamplona
388ccdbe75
Speeds up the filter for NWC zap payments.
2024-08-29 12:32:34 -04:00
Vitor Pamplona
255f464046
Basic code for dynamic limits
2024-08-29 10:29:46 -04:00
Vitor Pamplona
4e3b6d0299
- Adds a sync Signer to facilitate library
...
- Separates Account actions from Account state in two objects
- Changes Startup procedures to start with Account state and not the full account object
- Moves scope for flows in Account from an Application-wide scope to ViewModel scope
- Removes all LiveData objects from Account in favor of flows from the state object
- Migrates settings saving logic to flows
- Migrates PushNotification services to work without Account and only Account Settings.
- Migrates the spam filter from LiveData to Flows
- Adds Default lists for NIP-65 inbox and outbox relays
- Adds Default lists for Search relays
- Adds local backup for UserMetadata objects
- Adds local backup for Mute lists
- Adds local backup for NIP-65 relays
- Adds local backup for DM Relays
- Adds local backup for private home relays
- Rewrites state flows initializers to avoid inconsistent startups
2024-08-26 14:42:55 -04:00
Vitor Pamplona
71b111ce8b
Fixes the download of 1000s of NIP-65 relay lists because some relays consider empty lists as null and return everything.
2024-08-22 12:24:45 -04:00
Vitor Pamplona
7478899388
Fixes miscaching flows of the relay lists from follows.
2024-08-14 18:03:25 -04:00
Vitor Pamplona
526e3db3c1
Adds more information to when error messages are not available in the relay stats.
2024-08-14 15:50:05 -04:00
Vitor Pamplona
a1aaec0b7d
Adds support for selecting authors based on their Outbox relays when searching for notes authored by them
2024-08-07 15:46:27 -04:00
Vitor Pamplona
263df0c895
Renames PerRelayFilter to SincePerRelay
...
Creates PerRelay interface to allow other types of filters
2024-08-07 15:44:03 -04:00
Vitor Pamplona
7cb87ea9c5
Refactors to use native contains instead of custom lambdas on Ammolite's Filter
2024-08-07 11:58:00 -04:00
Vitor Pamplona
07e5132943
Refactors Ammolite Filters to be regular ones and creates a PerRelayFilter for the use on Amethyst.
2024-08-07 11:40:01 -04:00
Vitor Pamplona
e5328d7975
Improves the accuracy of the Event memory counter.
2024-08-06 15:35:14 -04:00
Vitor Pamplona
4c70065843
Moves DataSource dispatcher from IO to Default
2024-08-05 16:02:35 -04:00
Vitor Pamplona
fd06193e93
Notifies relay failures after marking them as closed.
2024-08-02 12:36:54 -04:00
Vitor Pamplona
b02fa43628
Print relay writes on benchmark as well.
2024-08-02 12:35:52 -04:00
Vitor Pamplona
7fdf38d17b
Normalizes logs for the DataSources
2024-08-02 12:35:25 -04:00
greenart7c3
e764ebbcb2
if the relay just connected send the event
2024-07-22 07:49:54 -03:00
greenart7c3
02683ba829
Merge remote-tracking branch 'origin/main'
2024-07-22 07:34:36 -03:00
greenart7c3
754a1b3a87
change the log of onRelayStateChange
2024-07-22 07:33:21 -03:00
greenart7c3
99b7a8005a
Merge branch 'main' into main
2024-07-19 14:13:36 -03:00
greenart7c3
3f3367258f
return true if at least one relay replied with success
2024-07-19 13:29:09 -03:00
greenart7c3
5cf8b5aa12
change proguard to see if now the client.listener works
2024-07-19 12:49:04 -03:00
greenart7c3
eba6d03b53
check if listeners work now
2024-07-19 12:17:26 -03:00
greenart7c3
de85239046
check if listeners work now
2024-07-19 11:56:30 -03:00
Vitor Pamplona
9176151971
Fixes auth infinite loop with nostr.wine
2024-07-19 10:45:06 -04:00
greenart7c3
cbd8acbd01
check eose too
2024-07-19 11:14:31 -03:00
greenart7c3
35423e1bb6
change default timeout to 15 seconds
2024-07-19 10:52:36 -03:00
greenart7c3
e125690000
add more logs, add optional listener, fix await call
2024-07-19 10:50:59 -03:00
greenart7c3
04bf9c07ac
fix lint
2024-07-19 08:05:04 -03:00
greenart7c3
ac58f99560
Added sendAndWaitForResponse to Client.kt
2024-07-19 07:58:12 -03:00
Vitor Pamplona
8feac270f4
Removes unnecessary logs.
2024-07-09 18:00:25 -04:00
Vitor Pamplona
c7061066e9
Adds an outbox cache to the Relay class in order to resend events after authentication.
2024-07-09 17:30:16 -04:00
Vitor Pamplona
4b5ab8eb35
Removes unnecessary dependencies for ammolite
2024-07-03 13:49:43 -04:00
Vitor Pamplona
349d6cfc22
Migrates sdk requirements to the version catalog.
2024-07-03 13:49:18 -04:00
Vitor Pamplona
8d88efd27b
Migrating Lint to 1.3.1
2024-07-03 11:06:02 -04:00
Vitor Pamplona
692f7c4270
Upgrades to Kotlin 2.0.0
2024-07-03 11:00:45 -04:00
greenart7c3
3d497ccf4d
add onerror when websocket is null
2024-06-30 09:35:17 -03:00
Vitor Pamplona
2230d1467c
Fixes kind3 relay lists connecting with Search and Wallet connect types.
2024-06-28 19:39:56 -04:00
Vitor Pamplona
79ace7f18c
Renames JsonFilter to just Filter and adds a matching function
2024-06-25 10:06:06 -04:00
Vitor Pamplona
8cef7bcb75
Logging as a Relay error message when the relay does not accept an event.
2024-06-24 17:55:31 -04:00
greenart7c3
8c3e87339a
remove commented code
2024-06-24 14:03:01 -03:00