Commit Graph

7979 Commits

Author SHA1 Message Date
Vitor Pamplona
200db73ce4 remove fmt.wiz.biz from bootstrap relays 2025-10-20 20:22:58 -04:00
Vitor Pamplona
2d1fd4a48a Remove companions 2025-10-20 20:22:37 -04:00
Vitor Pamplona
a0cb2a7db6 Creates a default relay list for indexers in new accounts 2025-10-20 20:22:20 -04:00
Vitor Pamplona
382319addf Adds a declared follows state 2025-10-20 20:21:18 -04:00
Vitor Pamplona
37625987c1 Only listens to notification changes when the UI is visible 2025-10-20 19:41:27 -04:00
Vitor Pamplona
63bd0b6cae Watches the okHttp client for web calls (only active when screen is visible) 2025-10-20 19:40:04 -04:00
Vitor Pamplona
48a69f1d26 Watches the correct OKHttp for relays 2025-10-20 19:39:33 -04:00
Vitor Pamplona
f663bb78aa Reduce error log sizes 2025-10-20 18:41:43 -04:00
Vitor Pamplona
a163c4188f Adjustments to the lazy initialization of the app 2025-10-20 18:41:00 -04:00
Vitor Pamplona
fabec35593 Merge branch 'main' of https://github.com/vitorpamplona/amethyst 2025-10-20 17:13:25 -04:00
Vitor Pamplona
e4ce7415a3 Don't use "when" when just one line is needed 2025-10-20 17:13:11 -04:00
Vitor Pamplona
911fdffa95 Turns the EOSE class into a mutable map for speed 2025-10-20 17:12:36 -04:00
Vitor Pamplona
3a73de6828 Separates the new GaleryParser from Composables so that later we can cache it and parse it on the Default thread. 2025-10-20 17:12:12 -04:00
Vitor Pamplona
c4653b147c Adds new benchmark cases 2025-10-20 17:10:08 -04:00
Vitor Pamplona
cbba2fe423 Merge pull request #1525 from vitorpamplona/l10n_crowdin_translations
New Crowdin Translations
2025-10-18 18:14:05 -04:00
Crowdin Bot
8aa7c57a24 New Crowdin translations by GitHub Action 2025-10-18 22:13:15 +00:00
Vitor Pamplona
e45b4b11dc Restructuring Relay systems to:
- Maintain order of incoming messages for relay listeners
- Defers all processing of incoming messages to coroutines via channels, freeing OkHttp's thread as soon as possible.
- Simplifies the main relay class by using attached listener modules for each function of the relay client.
- Migrate defaultOnConnect calls to become listener based and moved to NostrClients
- Treat counts as query only, not subscriptions.
- Coordinates REQs so that if an update is required to be sent but the server has not finished processing events, waits for it to finish and sends it later as soon as EOSE or Close arrives
- Correctly sustain the local state of each Req.
- Creates an Account follow list per Relay state that only includes shared relays as a better source of functioning relays
- Changes UserLoading features in a tentative to make them faster since they are used by all functions in the app.
- Correctly marks EOSE for filters that are aligned with the Req State from NostrClient
- Avoid subsequent REQ updates before EOSE or CLOSE calls.
- Refactoring RelayClient listener to be not dependent of which module is active for a relay client.
- Refactors authenticators to do complete operation as a module
- Breaks down Relay Client modules (Auth, Reqs, Counts, Event submissions) in the Relay Pool class.
- Creates listeners just for special REQ situations
- Move statistics to outside the base relay class as a listener
- Move logs to outside the base relay class as a listener
- Better structures a Standalone Relay client
- More appropriately communicate errors to the listeners
- Remove relay state on listeners
2025-10-18 18:10:45 -04:00
Vitor Pamplona
e20afd39a3 Removing onClosing listener because it isn't being used. 2025-10-18 17:12:10 -04:00
Vitor Pamplona
4c633c7dec Merge branch 'main' of https://github.com/vitorpamplona/amethyst 2025-10-18 08:44:21 -04:00
Vitor Pamplona
97fc10d6ea Increases local video disk cache to 1GB 2025-10-17 18:00:38 -04:00
Vitor Pamplona
b8d0f057c5 Adds a way to remove everyone but some keys from the list of EOSEs 2025-10-17 14:30:13 -04:00
Vitor Pamplona
990cca3d64 Moving the EmptyOTS resolver to Quartz for test cases 2025-10-17 14:29:46 -04:00
Vitor Pamplona
4a0c924d4f Merge pull request #1524 from davotoula/use-runTest-instead-of-runBlocking
change from runBlocking to runTest where appropriate
2025-10-15 18:57:42 -04:00
davotoula
5d6e7d1921 change from runBlocking to runTest where appropriate 2025-10-15 21:00:00 +02:00
Vitor Pamplona
563e985a2b Merge branch 'main' of https://github.com/vitorpamplona/amethyst 2025-10-14 16:13:16 -04:00
David Kaspar
50adf82d90 Merge pull request #1523 from vitorpamplona/l10n_crowdin_translations
New Crowdin Translations
2025-10-14 22:11:49 +02:00
Vitor Pamplona
7a05f527dd Moving Log.java to Log.kt 2025-10-14 15:18:45 -04:00
Vitor Pamplona
0668f2caa4 Updates Compose, Firebase, GMS, JNA, mock, okhttp, secp256, spotless, vico, zoomable, androidXCamera 2025-10-14 14:38:28 -04:00
Vitor Pamplona
4af576f5f4 Merge branch 'main' of https://github.com/vitorpamplona/amethyst 2025-10-14 14:15:38 -04:00
Crowdin Bot
fdbf261455 New Crowdin translations by GitHub Action 2025-10-14 17:43:52 +00:00
Vitor Pamplona
e422dcda50 Merge pull request #1519 from davotoula/1516-Private-Public-Bookmark-Removal-Issue
Private public bookmark removal issue
2025-10-14 13:42:42 -04:00
David Kaspar
a210bd1c8f Merge pull request #1522 from davotoula/update-translations
Updated cs, se, de, pt
2025-10-14 19:23:26 +02:00
davotoula
49f77af3e8 Updated cs, se, de, pt 2025-10-14 18:59:54 +02:00
David Kaspar
7d22ef0d12 Merge pull request #1521 from vitorpamplona/l10n_crowdin_translations
New Crowdin Translations
2025-10-14 17:58:02 +02:00
Crowdin Bot
deee1a1c85 New Crowdin translations by GitHub Action 2025-10-14 13:50:15 +00:00
Vitor Pamplona
7a1dcbc76e Merge pull request #1520 from vitorpamplona/l10n_crowdin_translations
New Crowdin Translations
2025-10-14 09:49:15 -04:00
Vitor Pamplona
68264f2c7f Merge pull request #1518 from davotoula/bugfix-dont-render-gallery-for-mixed-images-and-videos
Bugfix: dont render gallery for mixed images and videos
2025-10-14 09:49:06 -04:00
Vitor Pamplona
b1d3aa968d Merge branch 'main' into bugfix-dont-render-gallery-for-mixed-images-and-videos 2025-10-14 09:48:58 -04:00
Crowdin Bot
2ebdedafaa New Crowdin translations by GitHub Action 2025-10-14 13:47:57 +00:00
Vitor Pamplona
4ffc121003 Merge pull request #1517 from davotoula/fix-streamable-videos
Use latest LightCompressor-enhanced
2025-10-14 09:46:37 -04:00
Vitor Pamplona
a4f1e45aac Merge pull request #1507 from KotlinGeekDev/followset-improvements
More follow set improvements.
2025-10-14 09:46:07 -04:00
davotoula
3a3d1a6f25 bugfix: don't remove from public bookmarks when removing from private 2025-10-14 13:31:27 +02:00
davotoula
85bdf67ac3 added failing test: Public tags should be preserved when removing from private bookmarks 2025-10-14 13:21:46 +02:00
KotlinGeekDev
9e991f8a49 Fix user removal functions, by updating them to take into account backend modifications made earlier. 2025-10-13 21:31:22 +01:00
KotlinGeekDev
e6c841373b String resources. Remove unused string resource in other locale-specific files, to avoid much work. 2025-10-13 21:04:42 +01:00
KotlinGeekDev
ba756c9acd Take into account profile membership when removing profile. 2025-10-13 20:30:18 +01:00
davotoula
349156f380 fix: Only render as gallery if all segments are images 2025-10-13 19:32:25 +02:00
davotoula
133c897731 Added junit and mockK for androidTest UI dependencies
Added failing androidTest for mixed image/video parsing
2025-10-13 18:38:14 +02:00
davotoula
13402fa5d4 Use lightcompressor-enhanced 1.6.0 release 2025-10-13 09:25:11 +02:00
davotoula
2a3c31cc5b Use latest LightCompressor-enhanced:
Fix for Progressive download
Replaced obsolete MP4 parser libraries with native MediaMuxer/MediaCodec
2025-10-12 21:13:12 +02:00