Commit Graph

1062 Commits

Author SHA1 Message Date
Vitor Pamplona 058e8ab833 Merge pull request #1555 from greenart7c3/nip46
Support for nip 46
2025-11-20 14:53:17 -05:00
Vitor Pamplona a36d35912a Manages the pool state without having to loop through relays, saving some milliseconds of processing. 2025-11-18 17:12:39 -05:00
greenart7c3 a6f3e09a6c add a convertExeptions function 2025-11-17 07:07:49 -03:00
greenart7c3 7dce71d8fa added response helper 2025-11-17 07:07:49 -03:00
greenart7c3 c2f2dc46d9 check for error result 2025-11-17 07:07:49 -03:00
greenart7c3 e02dfce152 create a RemoteSignerManager 2025-11-17 07:07:48 -03:00
greenart7c3 55b4ddc453 add a fromBunkerUri helper 2025-11-17 07:07:48 -03:00
greenart7c3 8d529e1ea9 add a signer result interface for remote signer 2025-11-17 07:07:48 -03:00
greenart7c3 b2f2a409c3 implement the functions of nip46 2025-11-17 07:07:48 -03:00
greenart7c3 aee6ffdbf5 return BunkerResponse from connect 2025-11-17 07:07:48 -03:00
greenart7c3 da85e59424 - Add connect, getPublivKey and ping
- send NostrConnectEvent to relays
2025-11-17 07:07:47 -03:00
greenart7c3 e6f109de74 - Add connect, getPublivKey and ping
- send NostrConnectEvent to relays
2025-11-17 07:07:47 -03:00
greenart7c3 df1bf82e76 Create NostrSignerRemote 2025-11-17 07:07:46 -03:00
Vitor Pamplona ae6f37a52f v1.04.2 to appease the PlayStore 2025-11-15 17:28:55 -05:00
Vitor Pamplona 5264bd2cbc v1.04.1 2025-11-15 16:51:45 -05:00
Vitor Pamplona 7742e27780 Moves all hashtags to lowercase and unfollows with ignore case just in case some other client added in uppercase 2025-11-15 15:20:56 -05:00
Vitor Pamplona a1879a93df sending a new version for quartz 2025-11-15 12:26:38 -05:00
KotlinGeekDev 37b6f84d9f Merge remote-tracking branch 'origin/labeled-bookmarks' into labeled-bookmarks 2025-11-15 03:36:28 +01:00
KotlinGeekDev 822d464a6e Add support for LabeledBookmarkListEvent in the LocalCache, and EventFactory(to prevent crashes when creating one). 2025-11-14 19:45:32 +01:00
Vitor Pamplona c9370f8d02 Better parse multiple imetas with multiple urls into appropriate properties 2025-11-13 10:45:28 -05:00
Vitor Pamplona f186b78ca9 Adds test case for empty d-tags in naddr1 2025-11-13 10:30:26 -05:00
KotlinGeekDev 5068247807 Merge branch 'vitorpamplona:main' into labeled-bookmarks 2025-11-13 09:15:43 +00:00
Vitor Pamplona 29d11c8281 Moves the List/Pack creation Dialog to a screen and adds an Image upload option 2025-11-12 17:17:22 -05:00
Vitor Pamplona 6c64297415 Adds an update method for changes in current Event 2025-11-12 12:33:35 -05:00
Vitor Pamplona 90330165d2 Prepares to create follow packs 2025-11-12 12:33:10 -05:00
Vitor Pamplona 8554257329 Change reqResultsInOrderAsFlow to reqAsFlow 2025-11-12 08:29:05 -05:00
Vitor Pamplona 9eee5d9e1e slight performance improvement on the reqflow 2025-11-12 08:27:59 -05:00
Vitor Pamplona 8c3ab80e47 More correctly parses null and default values from NIP-55 using Jackson 2025-11-11 14:00:17 -05:00
Vitor Pamplona 17fdf05847 Fixes the author of the highlight 2025-11-10 18:00:32 -05:00
KotlinGeekDev d5a2910029 Add support for descriptions in LabeledBookmarkListEvent. Make function names clearer, and add modification functions. 2025-11-09 22:11:12 +01:00
Vitor Pamplona 948180157f pushes exception upward if triggered 2025-11-07 17:37:34 -05:00
Vitor Pamplona 6ccec0681a Marks address as stable 2025-11-07 17:23:53 -05:00
KotlinGeekDev e2df96ea4b Introduce LabeledBookmarkListEvent. 2025-11-05 17:51:12 +01:00
Vitor Pamplona 7dfa343ad8 Merge branch 'main' of https://github.com/vitorpamplona/amethyst
* 'main' of https://github.com/vitorpamplona/amethyst:
  New Crowdin translations by GitHub Action
  code simplification and deduplication
  code simplification and deduplication
  Add blurhash and dim to Nip96Uploader.kt
  added blurhash to blossom upload
  New Crowdin translations by GitHub Action
  Update README to mark video capture as complete
  Parse for video segments and exclude them from image gallery
  add VideoSegment and failing tests
  Fix location being added to note even after deselecting it
  optimise imports
  New Crowdin translations by GitHub Action
  update cs, de, sv, pt translations
  Revert "update buffer to 64kb"
  update buffer to 64kb
  Change length to Long from Int: avoids potential overflow, Long seems to be used everywhere else
  Create a CountingInputStream utility to avoid duplication Prevent INT overflow in BlossomUploader.kt Connection Cleanup in ImageDownloader.kt Added try-finally in Sha256Hasher.jvmAndroid.kt
  Add streaming hash utility function to quartz multiplatform, follow the existing pool/worker design Change hashing in ImageDownloader.kt to use streaming
  stream file to calculate both hash and size without loading it all at once

# Conflicts:
#	amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/lists/followsets/FollowSetScreen.kt
2025-11-04 19:28:45 -05:00
Vitor Pamplona be804092d7 - Refactors people lists
- Adds people and follow list cache on the account class
- Updates TopNav to use the new caching
- Removes redundant viewModels for list feeds
- Adds the ability to add and remove users from the List screen
2025-11-04 19:24:24 -05:00
davotoula 5ce184d400 Merge branch 'main' into optimise-imports 2025-11-03 19:45:12 +01:00
Vitor Pamplona f14b545947 Merge pull request #1531 from davotoula/1530-added-streaming-hashing-utility-to-avoid-OOM-on-large-files
Fix OutOfMemoryError for Large File Uploads
2025-11-03 12:38:38 -05:00
Vitor Pamplona 1411de32a0 Adds search of events and addresses in the Deletion Event 2025-10-31 18:43:45 -04:00
Vitor Pamplona 3eb662851b Adds a flatten to set utility 2025-10-31 18:36:05 -04:00
davotoula c3c75b46a7 optimise imports 2025-10-30 19:20:02 +01:00
Vitor Pamplona 95cc0783fd Adds a req that returns the list of events in order of arrival 2025-10-29 18:30:00 -04:00
Vitor Pamplona f9f7cdf12f Renames internal Req objects 2025-10-29 18:29:23 -04:00
Vitor Pamplona 40d417038e adds a Start request to the req listener 2025-10-29 18:28:59 -04:00
Vitor Pamplona b8511b5ac3 Adds simplified methods to create Requests from NostrClient 2025-10-29 16:51:49 -04:00
greenart7c3 fb7610cafd Fix DecryptZapRequest CommandType 2025-10-29 14:38:54 -03:00
Vitor Pamplona 0705ee9581 Unifying the parser for the tag array 2025-10-28 13:05:57 -04:00
Vitor Pamplona bf664ea0c5 Avoids interning of large strings and objects where the duplication is not common 2025-10-28 12:18:19 -04:00
Vitor Pamplona 39f3aef7b5 Don't intern signatures, content and tags since they are not usually duplicated 2025-10-28 12:11:34 -04:00
davotoula 7254dce3a9 Revert "update buffer to 64kb"
This reverts commit 4e31a9a5ac.
2025-10-26 10:25:40 +01:00
davotoula 4e31a9a5ac update buffer to 64kb 2025-10-26 00:09:17 +02:00