Commit Graph

7582 Commits

Author SHA1 Message Date
Crowdin Bot 6cffda09bb New Crowdin translations by GitHub Action 2025-09-23 11:59:59 +00:00
Vitor Pamplona 1c0766cc76 Merge pull request #1480 from davotoula/add-feed-indicator-to-live-bubbles
Add feed indicator to live bubbles
2025-09-23 07:58:26 -04:00
David Kaspar 366534d1d5 Merge pull request #1488 from vitorpamplona/l10n_crowdin_translations
New Crowdin Translations
2025-09-23 08:11:41 +01:00
Crowdin Bot 054cfa0de9 New Crowdin translations by GitHub Action 2025-09-23 00:07:59 +00:00
Vitor Pamplona d93a8d94d2 Reduces number of Notifications from random relays. 2025-09-22 20:05:07 -04:00
Vitor Pamplona 0026668aca Merging with upstream 2025-09-22 19:49:26 -04:00
Vitor Pamplona 7a280a3cde - Migrates Quartz from Android to CommonMain
- Fully converts OpenTimestamp Java codebase to Kotlin, migrating the sync and async HTTP call interfaces to OkHttp and coroutines
- Redesigns parsing of relay commands, messages and filters for performance in Jackson.
- Starts the use of KotlinX Serialization when speed is not a requirement
- Migrates all Jackson field annotations to Kotlin Serialization
- Migrates Regex use in Quarts to Kotlin's Regex class
- Migrates Base64 from Android to Kotlin
- Migrates UUID from Android/Java to Kotlin
- Migrates LRUCache usage from Android/Java to Kotlin collections
- Migrates all String to bytearray conversions to Kotlin methods
- Migrates all System.arraycopy calls to kotlin native ones.
- Separates parsing code from the data classes Companion objects
- Exposes Rfc3986 normalizations to each platform.
- Exposes URI parsing classes to each platform.
- Exposes URL Encoders to each platform.
- Exposes BigDecimal to each platform.
- Exposes the Url Detector to each platform.
- Exposes MacInstances to each platform
- Exposes Diggest instances to each platform.
- Exposes a BitSet to each platform.
- Exposes GZip to each platform.
- Exposes Secp256k1 to each platform.
- Exposes SecureRandom to each platform.
- Exposes Time in seconds to each platform.
- Exposes the LargeCache to each platform.
- Exposes AES CBC and AES GCM encryption/decryption to each platform
- Migrate test assertions to Kotlin Tests
- Exposes Address class to each platform because of the Parceleable
- Creates our own ByteArrayOutputStream.
- Removes Lock features inside the Bloomfilters because we don't need data consistency/
- Migrates UserMetadata parser from Jackson to Kotlin serialization
- Removes the need for Static methods in each tag.
- Adds an event template serializer
- Adds KotlinX Datetime to migrate some of the date-based logs
- Adds support for LibSodium in the JVM platform
- Creates a shared test build for iOS targets
- Fixes several usages of Reflection when serializing classes
- Fixes a bug on loading RelayDB for the HintBloom filter test
- Increases the Bloom filter space to better use hints in the app.
- Removes support for iOS in x86
- Creates a Jackson mapper just for NIP-55, which stays in the Android build only.
- Keeps the event store in the android build as well.
- Removes @Syncronized tags in favor of Mutexes.
- Improved sendAndWaitForResponse NostrClient method to properly account for returns from each relay.
- Removes the need for GlobalScope and async calls in the downloadFirstEvent method.
- Restructures the parser and serialization of the relay messages and commands for performance with Jackson
- Removes the dependency on Jackson's error classes across the codebase.
- Moves the hint to quote tag extension methods to their own packages.
- Speeds up the generation of Bech32 addresses
- Migrates NIP-6 and Blossom uploads to use Kotlin Serialization
2025-09-22 19:44:51 -04:00
Vitor Pamplona 7949fc66b2 Fixes test case cast 2025-09-22 09:17:54 -04:00
davotoula 1d0f584c3e use produceState instead of LaunchedEffect 2025-09-22 13:58:48 +02:00
David Kaspar 8373f6ba19 Merge branch 'vitorpamplona:main' into add-feed-indicator-to-live-bubbles 2025-09-18 21:12:14 +01:00
Vitor Pamplona d2d5ade84e Merge pull request #1485 from davotoula/fix-for-orientation-issue-following-removing-windowSizeClass-from-global-settings
Fix for properly switch between single and two-pane layouts on rotation
2025-09-18 14:45:23 -04:00
Vitor Pamplona 3acdde7c53 Merge pull request #1483 from davotoula/reduce-sonar-code-quality-warnings
Reduce sonar code quality warnings
2025-09-18 14:45:02 -04:00
Vitor Pamplona 897396ff24 Merge pull request #1484 from davotoula/remove-void-cat-from-default-servers
remove void.cat from default servers
2025-09-18 14:44:00 -04:00
davotoula ee39b3ae18 Fix for properly switch between single and two-pane layouts on rotation 2025-09-18 20:37:56 +02:00
David Kaspar 6c892ba733 Merge branch 'vitorpamplona:main' into add-feed-indicator-to-live-bubbles 2025-09-18 15:55:20 +01:00
davotoula 64cf81b523 remove void.cat from default servers 2025-09-18 16:33:32 +02:00
davotoula 4cd86c8b1c return the boolean results from file(npub).delete() 2025-09-18 15:16:40 +02:00
davotoula fdf372719c Replace with interface delegation using "by" in the class header
Replace abstract class with an interface
2025-09-18 15:16:40 +02:00
davotoula 50f173e406 replace repeated text string with top-level constant 2025-09-18 15:16:40 +02:00
Vitor Pamplona edc7f49ce2 Merge pull request #1482 from davotoula/investigate-disappearing-ping-in-ms-on-relays-screen
Fix disappearing stats on relay screen
2025-09-18 08:12:06 -04:00
davotoula b20eb860ff Increase LruCache max size from 100 to 1,000 since we have so many more relays active with outbox 2025-09-17 20:38:40 +02:00
Vitor Pamplona aba60a87d6 Merge pull request #1481 from davotoula/remove-unused-imports
Remove unused imports and fix a test
2025-09-17 12:16:04 -04:00
davotoula 4f3b7b24f2 remove unused imports 2025-09-17 16:19:40 +02:00
davotoula 6f44d7c28a remove unused imports amethyst
Fix ThreadDualAxisChartAssemblerTest (not sure how it was not breaking the build)
2025-09-17 16:10:23 +02:00
Vitor Pamplona a96ab764b3 Updates all dependencies 2025-09-17 09:08:49 -04:00
Vitor Pamplona 1be46b7167 Merge pull request #1478 from davotoula/reduce-max-requets-when-in-emulator
Reduce max requests when in emulator
2025-09-17 09:06:14 -04:00
Vitor Pamplona 5c601d74b9 Merge branch 'main' into reduce-max-requets-when-in-emulator 2025-09-17 09:06:00 -04:00
davotoula 2027c7d77d use default settings (64) when in emulator 2025-09-17 15:01:46 +02:00
Vitor Pamplona faffe2a936 About 30-40% event hashing performance boost 2025-09-17 08:40:06 -04:00
Vitor Pamplona c375fa0ab8 Adds another catch to get object errors when parsing NIP-28 metadata 2025-09-17 08:40:06 -04:00
Vitor Pamplona 123eca1f90 Fixes NPE on the invoice parser 2025-09-17 08:40:06 -04:00
Vitor Pamplona 83e87c2cf4 Adds an event id hash check that doesn't create a separate bytearray to compare between the incoming hex from the relay and the recalculated byte array from SHA256. 2025-09-17 08:40:06 -04:00
davotoula f4501d799d Added withContext(Dispatchers.IO) for network call 2025-09-17 14:29:42 +02:00
davotoula 5796052f36 added live/offline status indicator for the DisplayLiveBubbles method
Checks streaming URLs for LiveActivitiesChannel and relay URLs for both channel types
2025-09-17 14:29:42 +02:00
davotoula c1012bd859 let's remove the maxRequestsPerHost increase, can be done in a separate PR 2025-09-17 11:22:28 +02:00
davotoula 6440b86a5e remove commented out code 2025-09-17 11:10:40 +02:00
davotoula dddf65e60f Added test for emulator to set maxRequests to 32 to prevent crashing emulator
Increased maxRequestsPerHost in release version to 20 from default 5 to allow for more concurrent connections to a relay (subscribing to timeline + mentions + DMs + profile updates + notifications, etc..)
2025-09-17 11:10:10 +02:00
David Kaspar 80c884a4d1 Merge pull request #1477 from vitorpamplona/l10n_crowdin_translations
New Crowdin Translations
2025-09-17 06:10:11 +01:00
Crowdin Bot 497b019093 New Crowdin translations by GitHub Action 2025-09-16 20:57:54 +00:00
Vitor Pamplona 03b320e5b7 Merge pull request #1476 from davotoula/fix-benchmark-apk-location
resolve intermittent CI build failures - fix benchmark apk location
2025-09-16 16:56:43 -04:00
davotoula 00c0472155 remove second identical(?) test run 2025-09-16 18:38:46 +02:00
davotoula 8a66276755 fix benchmark apk location 2025-09-16 18:06:14 +02:00
Vitor Pamplona eaf8cb3384 Don't check for the max size in string anymore 2025-09-15 17:25:47 -04:00
Vitor Pamplona cd0b1b65fb Merge expanding and checking Hmac functions to avoid re-creating the Mac instance. 2025-09-15 17:25:36 -04:00
Vitor Pamplona e329b096ba Moves the message key to the HKDF function 2025-09-15 16:21:11 -04:00
Vitor Pamplona 239cac430e Adds a test for native vs libsodium chacha20 2025-09-15 16:15:07 -04:00
Vitor Pamplona 24a5750155 Generalizes fixed key setup 2025-09-15 16:14:43 -04:00
Vitor Pamplona cb5299e265 Simple refactoring 2025-09-15 16:14:09 -04:00
Vitor Pamplona c3c8b87b91 Merge branch 'main' of https://github.com/vitorpamplona/amethyst 2025-09-15 15:15:56 -04:00
Vitor Pamplona 98aaef61c7 Faster Hkdf functions with less array copying and allocations (which can be impactful if the ciphertext is large) 2025-09-15 15:15:44 -04:00