Commit Graph

7495 Commits

Author SHA1 Message Date
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
64f46a55f9 Because the indexer processes Notes in bulk and after the fact, it could be the case where a new draft and a deletion event happen one after the other. If we don't re-check for deletions, the app will reindex the old draft that was already deleted by the LocalCache, creating a memory leak. 2025-08-19 18:54:28 -04:00
Vitor Pamplona
5662eda54c Finishes the routing for note edits for live, public and ephemeral chats as well as public messages. 2025-08-19 18:21:27 -04: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
d539eca8bb Avoids chats going behind the status bar up top 2025-08-19 10:42:42 -04:00
Vitor Pamplona
415bf9f522 Corrects some of the keys for Launched effects 2025-08-19 09:02:15 -04:00
Vitor Pamplona
667c15b3a1 Checks if the relay list in NIP-28 groups is empty and uses default when needed. 2025-08-18 19:24:57 -04:00
Vitor Pamplona
f31fa4a9c6 Adds notes to channels to facilitate their loading. 2025-08-18 19:24:23 -04:00
Vitor Pamplona
3bf6e80650 update kotlin, serialization plugin, tor 2025-08-18 19:22:56 -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
d4d60cb1ff Merge branch 'main' of https://github.com/vitorpamplona/amethyst 2025-08-18 15:21:06 -04:00
Vitor Pamplona
b2932cd7e3 Updates agp 2025-08-18 15:07:35 -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
Vitor Pamplona
3520fe89ae Merge pull request #1414 from davotoula/1413-use-pubkeyhex-for-lazy-column-key
Use pubkeyhex for lazy column key instead of Address
2025-08-18 11:13:23 -04:00
Vitor Pamplona
01ed0f3fc1 Merge pull request #1415 from davotoula/target-field-specifically-for-constructor-params-for-serialization
Use explicit field annotation target for constructor params
2025-08-18 11:13:08 -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
David Kaspar
b38e9247ce Use pubkeyhex for lazy column key instead of Address 2025-08-17 23:02:25 +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
Vitor Pamplona
fca4aee5f5 Adds a user list to each connected relay to know where this is coming from 2025-08-16 13:21:10 -04: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
e867571ea6 Improves version finder 2025-08-15 14:39:53 -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
1392833179 no need for the scope on the cache connector 2025-08-15 09:18:42 -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
Vitor Pamplona
81db455bfb Updates compose and fragment 2025-08-15 08:36:08 -04:00
Vitor Pamplona
c017b9cace Merge pull request #1410 from greenart7c3/main
Fix non ssl connections
2025-08-15 06:57:29 -04:00
greenart7c3
25f5551a98 Fix non ssl connections 2025-08-15 07:35:01 -03:00
Vitor Pamplona
d8461c2a74 Growing the number of possibilities to download profile information from 2025-08-14 19:47:20 -04:00
Vitor Pamplona
25dec49e97 Reactivates event log 2025-08-14 18:58:33 -04:00
Vitor Pamplona
424d5ccc9c Refactoring 2025-08-14 17:32:28 -04:00