Commit Graph

  • edc7f49ce2 Merge pull request #1482 from davotoula/investigate-disappearing-ping-in-ms-on-relays-screen main Vitor Pamplona 2025-09-18 08:12:06 -04:00
  • b20eb860ff Increase LruCache max size from 100 to 1,000 since we have so many more relays active with outbox davotoula 2025-09-17 20:38:40 +02:00
  • aba60a87d6 Merge pull request #1481 from davotoula/remove-unused-imports Vitor Pamplona 2025-09-17 12:16:04 -04:00
  • 4f3b7b24f2 remove unused imports davotoula 2025-09-17 16:19:40 +02:00
  • 6f44d7c28a remove unused imports amethyst Fix ThreadDualAxisChartAssemblerTest (not sure how it was not breaking the build) davotoula 2025-09-17 16:09:54 +02:00
  • a96ab764b3 Updates all dependencies Vitor Pamplona 2025-09-17 09:08:49 -04:00
  • 1be46b7167 Merge pull request #1478 from davotoula/reduce-max-requets-when-in-emulator Vitor Pamplona 2025-09-17 09:06:14 -04:00
  • 5c601d74b9 Merge branch 'main' into reduce-max-requets-when-in-emulator Vitor Pamplona 2025-09-17 09:06:00 -04:00
  • 2027c7d77d use default settings (64) when in emulator davotoula 2025-09-17 15:01:46 +02:00
  • faffe2a936 About 30-40% event hashing performance boost Vitor Pamplona 2025-09-17 08:36:53 -04:00
  • c375fa0ab8 Adds another catch to get object errors when parsing NIP-28 metadata Vitor Pamplona 2025-09-16 18:50:19 -04:00
  • 123eca1f90 Fixes NPE on the invoice parser Vitor Pamplona 2025-09-16 18:49:36 -04:00
  • 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. Vitor Pamplona 2025-09-16 17:06:01 -04:00
  • c1012bd859 let's remove the maxRequestsPerHost increase, can be done in a separate PR davotoula 2025-09-17 11:22:28 +02:00
  • 6440b86a5e remove commented out code davotoula 2025-09-17 11:10:40 +02:00
  • 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..) davotoula 2025-09-17 11:10:10 +02:00
  • 80c884a4d1 Merge pull request #1477 from vitorpamplona/l10n_crowdin_translations David Kaspar 2025-09-17 06:10:11 +01:00
  • 497b019093 New Crowdin translations by GitHub Action Crowdin Bot 2025-09-16 20:57:54 +00:00
  • 03b320e5b7 Merge pull request #1476 from davotoula/fix-benchmark-apk-location Vitor Pamplona 2025-09-16 16:56:43 -04:00
  • 00c0472155 remove second identical(?) test run davotoula 2025-09-16 18:38:46 +02:00
  • 8a66276755 fix benchmark apk location davotoula 2025-09-16 12:55:06 +02:00
  • eaf8cb3384 Don't check for the max size in string anymore Vitor Pamplona 2025-09-15 17:25:47 -04:00
  • cd0b1b65fb Merge expanding and checking Hmac functions to avoid re-creating the Mac instance. Vitor Pamplona 2025-09-15 17:25:36 -04:00
  • e329b096ba Moves the message key to the HKDF function Vitor Pamplona 2025-09-15 16:21:11 -04:00
  • 239cac430e Adds a test for native vs libsodium chacha20 Vitor Pamplona 2025-09-15 16:15:07 -04:00
  • 24a5750155 Generalizes fixed key setup Vitor Pamplona 2025-09-15 16:14:43 -04:00
  • cb5299e265 Simple refactoring Vitor Pamplona 2025-09-15 16:14:09 -04:00
  • c3c8b87b91 Merge branch 'main' of https://github.com/vitorpamplona/amethyst Vitor Pamplona 2025-09-15 15:15:56 -04:00
  • 98aaef61c7 Faster Hkdf functions with less array copying and allocations (which can be impactful if the ciphertext is large) Vitor Pamplona 2025-09-15 15:15:44 -04:00
  • bd70058f78 Avoids creating a byte array and recreating it again inside of the Mac instance. Vitor Pamplona 2025-09-15 12:30:56 -04:00
  • 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. Vitor Pamplona 2025-09-15 12:30:26 -04:00
  • 689066fd44 Benchmark for NIP-44 operations Vitor Pamplona 2025-09-15 12:29:26 -04:00
  • cdd5995513 Merge pull request #1474 from vitorpamplona/l10n_crowdin_translations David Kaspar 2025-09-15 17:11:16 +01:00
  • 0c4cd4f940 New Crowdin translations by GitHub Action Crowdin Bot 2025-09-15 16:09:54 +00:00
  • c84554576c Fixes flow.value warnings. Vitor Pamplona 2025-09-15 12:08:04 -04:00
  • 7616d01166 Implements NIP-44 extension for bigger payloads https://github.com/nostr-protocol/nips/pull/1907 Vitor Pamplona 2025-09-15 11:58:43 -04:00
  • 60b71a5561 Merge branch 'main' of https://github.com/vitorpamplona/amethyst Vitor Pamplona 2025-09-15 08:51:41 -04:00
  • a7b89cb778 Removing unused imports Vitor Pamplona 2025-09-15 08:50:16 -04:00
  • 6b18711fe6 Merge pull request #1473 from vitorpamplona/l10n_crowdin_translations David Kaspar 2025-09-15 13:49:59 +01:00
  • f0b95a3593 New Crowdin translations by GitHub Action Crowdin Bot 2025-09-15 12:42:18 +00:00
  • 52cf9e1576 Merge pull request #1468 from davotoula/gallery-view-for-multiple-media Vitor Pamplona 2025-09-15 08:40:48 -04:00
  • 43f8053b30 Extracted Parsing logic into helper class davotoula 2025-09-14 13:17:19 +02:00
  • 74cc9535ac Added a data structure for ParagraphImageAnalysis Single pass analysis All image-related decisions are made based on the single analysis result davotoula 2025-09-14 12:10:59 +02:00
  • 7e80ed2af9 Fix for images are mixed with text in a single paragraph nevent1qqs04pmdf8guxpyhjuvpeg72ccwuzje7vhlm09szxl2d8x28cse5fzgpz9mhxue69uhkummnw3ezuamfdejj7q3qwl89d7yazg500lehg08p45dj2jzhhyqg2erj067458e3wd30djnsxpqqqqqqzmdjgxd davotoula 2025-09-14 11:40:20 +02:00
  • 1788dfc0b9 Merge branch 'refs/heads/main' into gallery-view-for-multiple-media davotoula 2025-09-13 23:32:49 +02:00
  • 8f0a829a4d Optimised collectConsecutiveImageParagraphs: continue statements for early loop continuation davotoula 2025-09-13 23:32:17 +02:00
  • bfc920ca04 Added logging of image gallery computation time davotoula 2025-09-13 21:09:27 +02:00
  • a21b6115c7 Single pass to avoid multiple intermediate lists O(n) traversal (no drop/takeWhile/filter allocations) Mutable buffer for collecting images davotoula 2025-09-13 20:44:00 +02:00
  • 8e39da347a don't use image gallery for secret message davotoula 2025-09-13 18:16:43 +02:00
  • 58277cf717 Merge branch 'main' of https://github.com/vitorpamplona/amethyst Vitor Pamplona 2025-09-13 10:51:28 -04:00
  • 7ef6da1a17 Merge pull request #1470 from davotoula/fix-for-trying-to-share-when-image-not-loaded Vitor Pamplona 2025-09-13 10:51:11 -04:00
  • ec48977a6f Merge pull request #1471 from vitorpamplona/l10n_crowdin_translations Vitor Pamplona 2025-09-13 10:50:29 -04:00
  • c5b60c3bd8 Refactor the UISharedPreferences into two files Vitor Pamplona 2025-09-13 10:50:19 -04:00
  • 613978d7ba New Crowdin translations by GitHub Action Crowdin Bot 2025-09-13 14:48:30 +00:00
  • afd20d3f8f Avoids using JSON parsers with DataStore to speed up loading time (loading the parser itself takes ~300ms) Vitor Pamplona 2025-09-13 10:46:27 -04:00
  • da469754c4 Adds a All User Follows to fix: https://github.com/vitorpamplona/amethyst/issues/1431 Vitor Pamplona 2025-09-12 16:18:12 -04:00
  • 6dd2f47fc9 catch exception when sharing image Show toast davotoula 2025-09-12 21:39:57 +02:00
  • 47d201f936 Fixes unnecessary typecasting from long to int in created ats Vitor Pamplona 2025-09-12 15:08:10 -04:00
  • 46fec1d480 Adds a payment failed enum Vitor Pamplona 2025-09-12 14:24:11 -04:00
  • 557ba959e2 Fixes crash on dont translate from Vitor Pamplona 2025-09-12 14:17:41 -04:00
  • e121b2849c Fixes subject calculations on rendering Vitor Pamplona 2025-09-12 13:58:37 -04:00
  • 2e16a1dca6 Fixes a bug when comparing int and long in the comparator Vitor Pamplona 2025-09-12 13:36:25 -04:00
  • 33155efa99 Bugfix in loading communities from Global Vitor Pamplona 2025-09-12 12:52:36 -04:00
  • bd3eed4a29 No need to duplicate these relays anymore Vitor Pamplona 2025-09-12 12:52:13 -04:00
  • ac48705980 Fixes showing blog posts in the future Vitor Pamplona 2025-09-12 12:39:12 -04:00
  • bc10d7184f Fixes mark as read when drafts are the latest message in the chat Vitor Pamplona 2025-09-12 11:37:58 -04:00
  • 0886af4386 Migrates memory counters from Long to Int Vitor Pamplona 2025-09-12 11:11:16 -04:00
  • 3628091511 Applying Memory trimming service to all logged in accounts. Vitor Pamplona 2025-09-12 10:09:25 -04:00
  • cb3bc605bc Merge pull request #1469 from vitorpamplona/l10n_crowdin_translations David Kaspar 2025-09-12 11:49:40 +01:00
  • 16e3cba651 found a place where image gallery was used for single images davotoula 2025-09-12 12:14:05 +02:00
  • ee9e102eb2 removed lazy component from 20+ images case to avoid nesting lazy components davotoula 2025-09-12 10:54:17 +02:00
  • f01895b3e9 New Crowdin translations by GitHub Action Crowdin Bot 2025-09-11 23:05:11 +00:00
  • 00a3918d20 Fixes F-droid build Vitor Pamplona 2025-09-11 19:02:58 -04:00
  • 35a123a185 No need for this log Vitor Pamplona 2025-09-11 18:53:03 -04:00
  • c9dc30d976 - Only shows live stream bubbles that are not 24/7 - Only shows user pictures of the active users in the past 15 minutes. Vitor Pamplona 2025-09-11 18:52:14 -04:00
  • c06c03928e Fixes the use of index relays and search relays to load users and events as well as become the default for global feeds. Vitor Pamplona 2025-09-11 18:36:42 -04:00
  • 1f8d0295d5 - Separates Application dependencies into an AppModules class to create only after the OnCreate event. - Switches TorSettings to be per Application and not per Account anymore - Since TorSettings is now global, moves the okHttpClient determinations out of the Account-based classes into the Application. - Since TorSettings is now global, set's up Coil's image loader only once when creating the Application - Moves UISettings state to App Modules instead of viewmodel - Migrates TorSettings and UISettings to DataStore - Accounts now have their own coroutine scopes to allow cancellation when they are unloaded/logged off - New tor evaluator service for relay connections now uses all account's trusted relays and dm relays at the same time. - Migrates composable-state-based UISettings to Flow-based UI settings, while observing connectivity status - Removes the displayFeatures and windowSizeClass from the shared model - Fixes not requesting Notification Permissions for APIs older than Tiramisu in the FDroid flavor - Moves the NIP-11 document cache from singleton to the App Modules - Avoids using AccountViewModel to check NIP-11 Relay documents - Moves the UI Settings usage in composables to functions that do not observe the state since they don't need to refresh the screen when changed. - Refactors UI Settings screen to separate components and remove the sharedViewModel - Only starts Internal Tor if that option is selected in the TorSettings. - Turn TorSettings into a data class to observe changes to it - Drops the SharedPreferences ViewModel to use UISettingsFlow directly from App Modules - Reorganizes OTS Events after simplification of the OkHttp based on TorSettings. Vitor Pamplona 2025-09-11 18:04:10 -04:00
  • 8f1027b55d refactor Removed duplicate GalleryImage boilerplate. Use .chunked() Pull out constants (ASPECT_RATIO, IMAGE_SPACING). davotoula 2025-09-11 21:52:36 +02:00
  • 4dace5aaf8 refactor using takeWhile Fix edge case with white space before images davotoula 2025-09-11 21:03:06 +02:00
  • 8cb9d13567 Use constrained LazyVerticalGrid with calculated height for more than 20 images for performance reasons added vertical spacing for some padding Fixing scrollable gallery issue davotoula 2025-09-11 21:01:12 +02:00
  • f092326dcd Fixing scrollable gallery issue davotoula 2025-09-10 20:55:25 +02:00
  • 1f6d7d3fd2 Simplify RenderRegularWithGallery Simplify collectConsecutiveImageParagraphs: just return the end index Extracting common signature parameters into a RenderContext data class Extracting GalleryImage helper function davotoula 2025-09-11 20:58:15 +02:00
  • 062182a7ec fix for when images are separated by empty lines refactor to reduce duplication: Extract RenderParagraphWithFlowRow Extract collectConsecutiveImageParagraphs davotoula 2025-09-11 20:50:21 +02:00
  • 9534582141 Collect batches of images Send them to new image gallery davotoula 2025-09-11 20:25:05 +02:00
  • a078df6159 Fixes parameters on the findEarliestOtsForNote Vitor Pamplona 2025-09-11 11:28:46 -04:00
  • 90a5c15ee9 Moves the OTS processor from Account's decrypt process to Application since it doesn't need the account information. Vitor Pamplona 2025-09-11 11:27:29 -04:00
  • bb9a03ec5b Fixes invalid hexes on preview Vitor Pamplona 2025-09-11 11:23:45 -04:00
  • 825d890921 Removes the otsFinding method from accountViewModel, since it is not account dependent. Vitor Pamplona 2025-09-11 11:19:27 -04:00
  • 05c364eff4 removes unnecessary import Vitor Pamplona 2025-09-11 11:17:08 -04:00
  • 404d0ab40e Removes the dependency on windowSizeClass and displayFeatures to be passed in the global settings of the app (which is activity independenty) Vitor Pamplona 2025-09-11 11:16:26 -04:00
  • bf88e376de Generalizes the dependencies from Application to Context Vitor Pamplona 2025-09-11 11:12:20 -04:00
  • 1e74a5769d Passes appcontext down on MediaSession Pool to avoid the direct dependency on Amethyst Vitor Pamplona 2025-09-11 11:09:36 -04:00
  • e1f7fae70e Removes dependency in the Amethyst class from Playback calculator Vitor Pamplona 2025-09-11 11:08:04 -04:00
  • 5127907acd Makes the root okhttp client for an Empty manager a lazy property to allow loading in Preview screens Vitor Pamplona 2025-09-11 11:07:00 -04:00
  • 2eda4d40e8 Makes max exoplayer pool size to a variable in the class Vitor Pamplona 2025-09-11 11:06:09 -04:00
  • 7f428a9976 Switches account cache to a flow Vitor Pamplona 2025-09-11 11:05:03 -04:00
  • 4347a1b104 Generalizes the type of OtsResolver needed by OtsState Vitor Pamplona 2025-09-11 11:03:05 -04:00
  • abd6e6f2ac Makes the torControl option nullable to allow an Orbot-based Active flow Vitor Pamplona 2025-09-11 11:02:25 -04:00
  • 1af5daffcf Fixes the default Tor Settings Vitor Pamplona 2025-09-11 10:58:35 -04:00
  • 0e04425095 Fixes the option switching animations when loading the screen. Vitor Pamplona 2025-09-11 10:57:49 -04:00