Commit Graph

693 Commits

Author SHA1 Message Date
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
Vitor Pamplona
f56d927f72 Adds 90 day expiration to all drafts. 2025-08-19 12:40:53 -04:00
Vitor Pamplona
5685f227f9 Fixes relay hints when they disagree with our findings. 2025-08-19 12:20:49 -04:00
Vitor Pamplona
3bf2f858f7 Fixes the unable to recreate user after the GC deletes it. 2025-08-18 17:24:34 -04:00
Vitor Pamplona
5c0d71f034 Avoiding concurrent errors when deleting weak references 2025-08-18 16:52:17 -04:00
Vitor Pamplona
9d9b5f03db Merge pull request #1417 from greenart7c3/main
Change BasicOkHttpWebSocket to be like the docs
2025-08-18 13:27:52 -04:00
greenart7c3
e076f97714 Change BasicOkHttpWebSocket to be like the docs 2025-08-18 13:51:40 -03:00
Vitor Pamplona
f5247a5443 Moves reconnections to 1 minute not 10 seconds 2025-08-18 11:37:32 -04:00
Vitor Pamplona
92e9978859 Moves to parcelable.
Fixes: https://github.com/vitorpamplona/amethyst/issues/1413
2025-08-18 11:25:57 -04:00
David Kaspar
41545a156b Use explicit annotation target for constructor params
See https://youtrack.jetbrains.com/issue/KT-73255 for more details
2025-08-18 10:44:42 +01:00
Vitor Pamplona
45ec9e3a62 Merge pull request #1411 from davotoula/reduce-duplications-large-cache
Reduce duplications: large cache
2025-08-16 16:14:13 -04:00
David Kaspar
c1004dc643 Use .get( instead of index to keep to code base coding style 2025-08-16 18:56:48 +01:00
David Kaspar
a72fff5f8f Lifted out collectors from CacheCollectors object 2025-08-16 18:50:01 +01:00
David Kaspar
a82f4aacbe Use val for references that do not change (eg results) 2025-08-16 18:17:27 +01:00
David Kaspar
f21c7bd258 Lint issues: remove unused methods, use indexing operator instead of .get() 2025-08-16 11:21:19 +01:00
David Kaspar
533d8b18f0 Remove duplicate functionality from Cache implementations and use instead common methods in CacheOperations utility class
Create override for forEach and size as they are needed internally and do slightly different things
2025-08-16 10:45:37 +01:00
David Kaspar
b069f283ac Move common cache operations to new utility class 2025-08-16 10:38:57 +01:00
David Kaspar
eab2f96f02 remove duplicate colletors and Use collectors from new utility class 2025-08-16 10:20:52 +01:00
David Kaspar
c4b71a0aea Move common collectors to new utility class 2025-08-16 10:09:56 +01:00
Vitor Pamplona
88933fba8d Fixes the time to reconnect interval due to an error between seconds and milliseconds. 2025-08-15 18:07:12 -04:00
Vitor Pamplona
ef049e88ba Adds a new mechanism to wake up all connections when movement is made in the app. 2025-08-15 18:06:21 -04:00
Vitor Pamplona
6f27c96aed changes the sendEvent from forcing a connection to waiting for the time to connect. 2025-08-15 18:04:57 -04:00
Vitor Pamplona
5b605700a3 Adds 10 seconds ago 2025-08-15 18:03:57 -04:00
Vitor Pamplona
f4759c283e Adds a basic OkHttp builder to Quartz (new dependency :( )
Adds some instructions to the basic readme.md
2025-08-15 14:33:05 -04:00
Vitor Pamplona
4887e6f3a1 Sends a disconnect signal to the clients 2025-08-15 09:43:37 -04:00
Vitor Pamplona
529a1f403e Merge branch 'main' of https://github.com/vitorpamplona/amethyst 2025-08-15 08:41:22 -04:00
Vitor Pamplona
c9b16309e2 Clears the socket from memory upon closing. 2025-08-15 08:40:33 -04:00
greenart7c3
25f5551a98 Fix non ssl connections 2025-08-15 07:35:01 -03:00
Vitor Pamplona
424d5ccc9c Refactoring 2025-08-14 17:32:28 -04:00
Vitor Pamplona
422a018a1f Fixes when posts have published_at in milliseconds. 2025-08-14 17:32:15 -04:00
Vitor Pamplona
5b8afb6f60 Updates logging for auth 2025-08-14 17:06:26 -04:00
Vitor Pamplona
dfe5f86a23 Faster PublishedAt providers 2025-08-14 11:28:03 -04:00
Vitor Pamplona
6514bacf69 Merge pull request #1409 from davotoula/1406-display-app-picture-when-clicked-on-app-picture
Display app picture when clicked on app picture
2025-08-14 09:51:06 -04:00
David Kaspar
d367a1f281 Specify return type as non-nullable asJackson will either return a non-null value or throw an exception. 2025-08-14 11:23:23 +01:00
Vitor Pamplona
4c0f223673 Draft event refactoring 2025-08-13 19:11:29 -04:00
Vitor Pamplona
478b2d12eb Speeding up the parsing of relay urls 2025-08-12 17:16:14 -04:00
Vitor Pamplona
c14d976ad1 Minor refactoring 2025-08-12 17:15:23 -04:00
Vitor Pamplona
d0f3dde08b Migrates to a more obvious open/close subscription model for NostrClient 2025-08-11 10:34:10 -04:00
Vitor Pamplona
d5b9d5e80b Closes subscription when finished by timeout. 2025-08-11 10:33:21 -04:00
Vitor Pamplona
51d7fa3aac Fixes missing method on build 2025-08-07 10:09:43 -04:00
Vitor Pamplona
23b3ff9fe8 Adds missing methods to display as Public message 2025-08-06 18:09:14 -04:00
Vitor Pamplona
1b043603f9 Adds a method to create nprofiles without creating a relay list first 2025-08-06 17:54:34 -04:00
Vitor Pamplona
726f9e2f4f Moves target compatibility to java 21 2025-08-06 14:07:51 -04:00
Vitor Pamplona
e237853a8f Making the new signer work for readonly accounts 2025-08-05 16:06:52 -04:00