Commit Graph

7547 Commits

Author SHA1 Message Date
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
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
Vitor Pamplona bd70058f78 Avoids creating a byte array and recreating it again inside of the Mac instance. 2025-09-15 12:30:56 -04:00
Vitor Pamplona 67f9557081 Reduces the need to keep the memory for checking the Mac and decrypting at the same time, allowing the GC to run after the check was correct. 2025-09-15 12:30:26 -04:00
Vitor Pamplona 689066fd44 Benchmark for NIP-44 operations 2025-09-15 12:29:26 -04:00
David Kaspar cdd5995513 Merge pull request #1474 from vitorpamplona/l10n_crowdin_translations
New Crowdin Translations
2025-09-15 17:11:16 +01:00
Crowdin Bot 0c4cd4f940 New Crowdin translations by GitHub Action 2025-09-15 16:09:54 +00:00
Vitor Pamplona c84554576c Fixes flow.value warnings. 2025-09-15 12:08:04 -04:00
Vitor Pamplona 7616d01166 Implements NIP-44 extension for bigger payloads https://github.com/nostr-protocol/nips/pull/1907 2025-09-15 11:58:43 -04:00
Vitor Pamplona 60b71a5561 Merge branch 'main' of https://github.com/vitorpamplona/amethyst 2025-09-15 08:51:41 -04:00
Vitor Pamplona a7b89cb778 Removing unused imports 2025-09-15 08:50:16 -04:00
David Kaspar 6b18711fe6 Merge pull request #1473 from vitorpamplona/l10n_crowdin_translations
New Crowdin Translations
2025-09-15 13:49:59 +01:00
Crowdin Bot f0b95a3593 New Crowdin translations by GitHub Action 2025-09-15 12:42:18 +00:00
Vitor Pamplona 52cf9e1576 Merge pull request #1468 from davotoula/gallery-view-for-multiple-media
Gallery view for multiple images
2025-09-15 08:40:48 -04:00
davotoula 43f8053b30 Extracted Parsing logic into helper class 2025-09-14 13:19:12 +02:00
davotoula 74cc9535ac Added a data structure for ParagraphImageAnalysis
Single pass analysis
All image-related decisions are made based on the single analysis result
2025-09-14 12:12:44 +02:00
davotoula 7e80ed2af9 Fix for images are mixed with text in a single paragraph
nevent1qqs04pmdf8guxpyhjuvpeg72ccwuzje7vhlm09szxl2d8x28cse5fzgpz9mhxue69uhkummnw3ezuamfdejj7q3qwl89d7yazg500lehg08p45dj2jzhhyqg2erj067458e3wd30djnsxpqqqqqqzmdjgxd
2025-09-14 11:40:20 +02:00
davotoula 1788dfc0b9 Merge branch 'refs/heads/main' into gallery-view-for-multiple-media 2025-09-13 23:32:49 +02:00
davotoula 8f0a829a4d Optimised collectConsecutiveImageParagraphs: continue statements for early loop continuation 2025-09-13 23:32:17 +02:00
davotoula bfc920ca04 Added logging of image gallery computation time 2025-09-13 21:09:27 +02:00
davotoula a21b6115c7 Single pass to avoid multiple intermediate lists
O(n) traversal (no drop/takeWhile/filter allocations)
Mutable buffer for collecting images
2025-09-13 20:44:00 +02:00
davotoula 8e39da347a don't use image gallery for secret message 2025-09-13 18:16:43 +02:00
Vitor Pamplona 58277cf717 Merge branch 'main' of https://github.com/vitorpamplona/amethyst 2025-09-13 10:51:28 -04:00
Vitor Pamplona 7ef6da1a17 Merge pull request #1470 from davotoula/fix-for-trying-to-share-when-image-not-loaded
Fix for crash when attempting to share an image that is still loading
2025-09-13 10:51:11 -04:00
Vitor Pamplona ec48977a6f Merge pull request #1471 from vitorpamplona/l10n_crowdin_translations
New Crowdin Translations
2025-09-13 10:50:29 -04:00
Vitor Pamplona c5b60c3bd8 Refactor the UISharedPreferences into two files 2025-09-13 10:50:19 -04:00
Crowdin Bot 613978d7ba New Crowdin translations by GitHub Action 2025-09-13 14:48:30 +00:00
Vitor Pamplona afd20d3f8f Avoids using JSON parsers with DataStore to speed up loading time (loading the parser itself takes ~300ms) 2025-09-13 10:46:27 -04:00
Vitor Pamplona da469754c4 Adds a All User Follows to fix: https://github.com/vitorpamplona/amethyst/issues/1431 2025-09-12 16:18:12 -04:00
davotoula 6dd2f47fc9 catch exception when sharing image
Show toast
2025-09-12 21:39:57 +02:00
Vitor Pamplona 47d201f936 Fixes unnecessary typecasting from long to int in created ats 2025-09-12 15:08:10 -04:00
Vitor Pamplona 46fec1d480 Adds a payment failed enum 2025-09-12 14:24:11 -04:00
Vitor Pamplona 557ba959e2 Fixes crash on dont translate from 2025-09-12 14:17:41 -04:00
Vitor Pamplona e121b2849c Fixes subject calculations on rendering 2025-09-12 13:58:37 -04:00
Vitor Pamplona 2e16a1dca6 Fixes a bug when comparing int and long in the comparator 2025-09-12 13:36:25 -04:00
Vitor Pamplona 33155efa99 Bugfix in loading communities from Global 2025-09-12 12:52:36 -04:00
Vitor Pamplona bd3eed4a29 No need to duplicate these relays anymore 2025-09-12 12:52:13 -04:00