Commit Graph

49 Commits

Author SHA1 Message Date
e17cfb4fdb Simplifies the "and 2 more" translations 2024-09-05 15:11:00 -04:00
388ccdbe75 Speeds up the filter for NWC zap payments. 2024-08-29 12:32:34 -04:00
255f464046 Basic code for dynamic limits 2024-08-29 10:29:46 -04:00
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
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
7478899388 Fixes miscaching flows of the relay lists from follows. 2024-08-14 18:03:25 -04:00
526e3db3c1 Adds more information to when error messages are not available in the relay stats. 2024-08-14 15:50:05 -04:00
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
263df0c895 Renames PerRelayFilter to SincePerRelay
Creates PerRelay interface to allow other types of filters
2024-08-07 15:44:03 -04:00
7cb87ea9c5 Refactors to use native contains instead of custom lambdas on Ammolite's Filter 2024-08-07 11:58:00 -04:00
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
e5328d7975 Improves the accuracy of the Event memory counter. 2024-08-06 15:35:14 -04:00
4c70065843 Moves DataSource dispatcher from IO to Default 2024-08-05 16:02:35 -04:00
fd06193e93 Notifies relay failures after marking them as closed. 2024-08-02 12:36:54 -04:00
b02fa43628 Print relay writes on benchmark as well. 2024-08-02 12:35:52 -04:00
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
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
8feac270f4 Removes unnecessary logs. 2024-07-09 18:00:25 -04:00
c7061066e9 Adds an outbox cache to the Relay class in order to resend events after authentication. 2024-07-09 17:30:16 -04:00
4b5ab8eb35 Removes unnecessary dependencies for ammolite 2024-07-03 13:49:43 -04:00
349d6cfc22 Migrates sdk requirements to the version catalog. 2024-07-03 13:49:18 -04:00
8d88efd27b Migrating Lint to 1.3.1 2024-07-03 11:06:02 -04:00
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
2230d1467c Fixes kind3 relay lists connecting with Search and Wallet connect types. 2024-06-28 19:39:56 -04:00
79ace7f18c Renames JsonFilter to just Filter and adds a matching function 2024-06-25 10:06:06 -04:00
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
greenart7c3
21898482de
Fix merge 2024-06-24 11:22:41 -03:00
greenart7c3
c281654e97
Merge branch 'main' into new_package_relay 2024-06-24 11:16:03 -03:00
greenart7c3
c0ee8e2d61
fix proguard rules 2024-06-24 11:10:13 -03:00
greenart7c3
66e4021d7b
Move all relay and datasource to ammolite package 2024-06-24 10:52:34 -03:00
greenart7c3
b00781ec32
check if HttpClientManager appears in the jar 2024-06-24 09:19:14 -03:00
greenart7c3
f08a41d7a5
proguard 2024-06-24 08:33:57 -03:00
greenart7c3
6eb0f153fa
fix build 2024-06-24 07:36:11 -03:00
greenart7c3
a6bc40515b
Move httpclient to another package 2024-06-24 07:13:06 -03:00