Commit Graph

386 Commits

Author SHA1 Message Date
01816b0389 Adds a check to make sure the NIP-96 uploader is a url before adding to the list.
Solves NPE on the model if they are not urls
2024-07-02 17:29:16 -04:00
Believethehype
d1ed73f78b Gallery: get rid of dtag, 2024-07-02 11:36:26 +02:00
Believethehype
7a76bf2ae5 remove unneeded dtag from 10011 2024-07-02 11:31:06 +02:00
believethehype
a0a8010305
Merge branch 'main' into gallery 2024-07-02 08:50:44 +02:00
Believethehype
0ed87db3b3 moved to gallery tag 2024-07-01 22:45:50 +02:00
20bc814211 Fixes tag. From "relay" to "server" on kind 10096 2024-07-01 16:40:37 -04:00
Believethehype
8421dbfa4c use r tag instead of g (reserved for geotag) 2024-07-01 22:06:40 +02:00
Believethehype
557f2e1a83 Merge remote-tracking branch 'upstream/main' into gallery 2024-06-30 18:02:43 +02:00
66317f5593 Better nip44 error messages for notifications 2024-06-29 16:20:49 -04:00
Believethehype
45df7713ce remove text preview from images 2024-06-28 23:38:41 +02:00
Believethehype
f331398316 gallery is visualised 2024-06-28 21:13:52 +02:00
Believethehype
e073e58241 Update GalleryListEvent.kt 2024-06-28 16:51:09 +02:00
Believethehype
91caacd36d added first attempt to add user galleries. can read 10011 events and shows profile tab
What works:
- can load existing 10011 lists and show images in profile tab

What doesn't work:
- gallery view is broken
- can't load notes to click images to get to original note
- adding media to gallery crashes amethyst atm
- no functionality to delete media from gallery yet.
2024-06-28 16:01:56 +02:00
6c0b22f129 Fixes error when trying to decrypt the PrivateOutboxRelayList event for an account that is not currently active. 2024-06-27 16:51:33 -04:00
a89440cba2 Moves to non-deterministic signatures 2024-06-27 15:28:09 -04:00
greenart7c3
e358387ba1
check for localhost when adding a new relay 2024-06-26 16:33:24 -03:00
5e417dd890 Fixes the rendering of highlights when no user is present and includes options to render by e tags 2024-06-25 18:19:14 -04:00
a8a2bda9af rearranges the crypto package into separate nips and reduces the amount of circular dependencies. 2024-06-25 12:13:17 -04:00
accad0c77a Adds a Share option with NIP-19 nprofile icon on the User Profile screen
Moves to NProfile instead of NPub to cite users.
Adds Npub or NIP-05 to the QR Screen
2024-06-21 12:49:35 -04:00
35a9c07636 Adds pubkey to the host filter in live events. 2024-06-21 09:24:01 -04:00
b39ac214a5 Limits the amount of zaps on the user profile 2024-06-20 16:30:12 -04:00
0d956c2f39 Removes the need to exclude byte-buddy due to jackson's earlier version bug. 2024-06-20 09:47:43 -04:00
08869ac350 removes derived states and some remember functions for performance. 2024-06-18 09:11:32 -04:00
5d5c3ae3e3 Faster calculation of uncited hashtags. 2024-06-17 17:22:39 -04:00
0fa6dce42c Fixes giftwrap date mismatch 2024-06-17 16:20:40 -04:00
ca8d32b837 Moves chatroom user group away from immutable sets 2024-06-14 08:22:24 -04:00
42408978c4 - Moves away from persistent collections (slower)
- Adds a hashcode cash for spam and blocked user public keys
- Adds a cache for isHidden
- Moves isHidden composable from LiveData to Flow
2024-06-12 15:05:46 -04:00
a716d13c69 Slightly faster is content sensitive method 2024-06-12 14:56:51 -04:00
31e8782b1a adds a native map for tags in the Event class to avoid creating sublists before mapping tags 2024-06-11 18:19:52 -04:00
cafad6a003 Refactoring 2024-06-11 18:19:07 -04:00
7b2da8312d Adds two extra nevent test cases. 2024-06-11 13:31:45 -04:00
bd6202f8e1 - Adds support for AVIF images
- Removes gray border in image urls that couldn't be loaded.
2024-06-11 10:25:11 -04:00
723e575b4b Fixes the LazyColumn for Hashtags on Profile 2024-06-07 19:28:20 -04:00
d10b4c6bde - Re-normalizes all relays urls before connecting to reduce duplications
- Normalizes all new relays in the edit screens.
2024-06-04 18:30:01 -04:00
f1e516662c Adds flare.pub videos to the media tab on Amethyst 2024-06-04 17:12:14 -04:00
5d4fa0d732 Adds the incoming relays to the request. 2024-06-03 14:15:12 -04:00
fb5f1e738b Adds a user and max result params to the DVM request. 2024-06-03 11:47:00 -04:00
f26fa71e49 improves the speed of the kind filter for DVMs 2024-06-01 15:20:26 -04:00
a38346c7d3 Adds private outbox relays to save Draft events. 2024-05-30 16:02:21 -04:00
4a43b57f79 Uses NIP-65 preferably for zap requests. 2024-05-30 13:51:14 -04:00
ff94f45d04 Enabling download and creation of NIP-96 file servers. 2024-05-30 09:38:33 -04:00
f6a16e4394 Fixes date format's year 2024-05-29 12:28:22 -04:00
288aafc3a2 Adds support for search relay lists 2024-05-29 12:06:45 -04:00
13eb8b1abc Merge branch 'main' of https://github.com/vitorpamplona/amethyst 2024-05-28 11:49:20 -04:00
6a17a8a871 Refactors GiftWrap caching to delete encrypted text and reload the wrap if necessary.
- Changes host to a host stub to reduce memory use
- Only download GiftWraps form 2 days past the last EOSE
2024-05-28 11:48:20 -04:00
greenart7c3
ea891367e9
add signString method 2024-05-27 07:56:02 -03:00
0c22e66e8f Overrides pubkey to avoid impersonators on seals. 2024-05-24 19:27:14 -04:00
04c449072a Adds support for NIP-06 seed word key derivation (bip32 and bip39) 2024-05-24 14:54:38 -04:00
1cd5845960 Fixes the rendering of replies on wikipages. 2024-05-23 17:09:16 -04:00
c78c00acd9 Adds method to create the NIP-65 list 2024-05-22 18:23:52 -04:00
599fddb369 Adds a card to setup the DM relay list if the user doesn't have one. 2024-05-22 17:46:39 -04:00
566ca0e390 Moves Relay URL formatter to Quartz 2024-05-22 17:44:18 -04:00
7acdf56e68 Slightly improving the threading for badges. 2024-05-21 14:50:36 -04:00
9ceb8866ed Refactoring the DVM payment code. 2024-05-20 12:37:55 -04:00
01016525d3 Fixes missing parameter 2024-05-17 18:30:48 -04:00
9fb8d4821e Refactoring the DVM codebase
Allows pull to refresh to request the job again.
2024-05-17 17:02:04 -04:00
5c88e7993f Fixes some of the missing classes due to R8 2024-05-16 15:14:51 -04:00
edca55b0b6 must not use crypto tools on the benchmark 2024-05-16 13:10:38 -04:00
738187d32b Making generateID public for testing 2024-05-16 13:05:15 -04:00
d9de0d2798 Merge branch 'main' of https://github.com/vitorpamplona/amethyst 2024-05-16 13:04:17 -04:00
e6d8291f07 Trying to unify NIP01 Serialization with SHA-256 procedures to reduce creation of several bytearray at every verification. 2024-05-16 13:03:30 -04:00
283d52ac2f
Merge pull request #856 from believethehype/NIP90-ContentDiscovery
Nip90 Content Discovery
2024-05-15 10:17:10 -04:00
d1646761d2 Starts the process of adding a DM Relay list card to setup relays for GiftWraps 2024-05-15 10:00:54 -04:00
Believethehype
142aca40ce add NIP90 status events, update NIP90 feeds based on request id 2024-05-15 12:06:12 +02:00
Believethehype
f09b00ff01 adding 5301 events to be handled 2024-05-15 00:14:15 +02:00
Believethehype
ceaae398c2 Merge remote-tracking branch 'upstream/main' into NIP90-ContentDiscovery 2024-05-14 23:16:49 +02:00
a34a3cbc83 Fixes GirtWrap test 2024-05-14 16:34:43 -04:00
f8afb4b783 Refactor the relay list for chat message event kind 2024-05-14 16:34:32 -04:00
Believethehype
0245c907ff add nip90 events to factory 2024-05-14 18:51:38 +02:00
1f45a63081 Makes NIP-17 the default messaging mode
Migrates code from old NIP-24 to NIP-17
2024-05-14 11:34:36 -04:00
Believethehype
52e79580bf attempt to add own filters and event kinds for NIP90 content related events 2024-05-14 17:03:13 +02:00
Believethehype
baaa984d0d add nip90 content discovery request 2024-05-13 22:43:38 +02:00
Believethehype
334b948900 app meta data, show content dvms 2024-05-13 17:27:34 +02:00
72018dc208 Base support for Relay lists for DMs. 2024-04-24 17:04:13 -04:00
0fccfd7f80 clean up 2024-04-12 11:02:25 -04:00
32b9b6c37a Speeds up id calculations for Amber's Intent call.
Only assembles an id if necessary.
2024-04-12 11:01:32 -04:00
2342da114d Increases Amber signing cache. 2024-04-12 11:00:16 -04:00
ef0d77f8eb Removes hardcoded amber packages as default 2024-04-12 10:59:59 -04:00
9ce14e08fd Fixes a bug with signature-null in the sig of events. 2024-04-12 10:56:38 -04:00
b046fd91cb Only logs external signer calls on debug 2024-04-11 18:30:28 -04:00
bbbb614718 Moves added charts after NIP19 uris to being nullable. 2024-04-08 18:32:37 -04:00
1738a775ef Fixes the lack of the Comparator interface for the Deletion Index. 2024-04-05 14:05:04 -04:00
89dbe82191 Merge branch 'main' of https://github.com/vitorpamplona/amethyst 2024-04-05 11:19:23 -04:00
7bb72d0c2d Adds a Deletion event cache. 2024-04-05 11:19:15 -04:00
greenart7c3
6b15a0db8e fix draft decryption error 2024-04-05 05:41:03 -03:00
7fd37367fc refactoring of cache methods in GiftWraps 2024-04-04 14:59:49 -04:00
e898d58239 Finishing the rendering of card notes for DMs and live chats 2024-04-01 17:07:27 -04:00
7fc43c96d6
Merge pull request #819 from jiftechnify/meta-parser-benchmark
Add benchmark for MetaTagsParser
2024-03-29 17:46:35 -04:00
d079d511e8 Fixes markers for DMs 2024-03-29 17:40:51 -04:00
6e1418cd54 - Adds a Draft Screen
- Migrating drafts to new architecture where the Draft Event is sent to the screen instead of the inner event.
- Fixes lots of deletion and indexing bugs
2024-03-29 17:38:31 -04:00
cd84c07fcc Adds k-tag to the Deletion events. 2024-03-28 19:02:23 -04:00
jiftechnify
fc6f460063
fix contact link in relay information dialog 2024-03-27 22:52:16 +09:00
d3f54a7082 Removes the Draft dependency for signer implementations 2024-03-26 16:56:58 -04:00
d3a0ae743a
Merge pull request #749 from greenart7c3/main
save a draft while you are typing the post
2024-03-26 15:24:59 -04:00
75ac17b57d increases the time to notify to 15 minutes 2024-03-26 08:35:15 -04:00
9ade18e1c1 Adds a bot field to the user info 2024-03-25 17:57:27 -04:00
5deb9af477 Avoids publishing with two equal hashtags. 2024-03-25 16:41:52 -04:00
greenart7c3
a2316b6ed0
Merge branch 'main' into main 2024-03-25 07:08:08 -03:00
102a34afca
Merge pull request #814 from tyiu/fix-nip44-encrypt-decrypt-test
Fix NIP-44 encryptDecryptTest to decrypt with swapped private and public keys to follow NIP-44 documentation
2024-03-23 08:20:24 -04:00
Terry Yiu
c843e07709
Fix Kotlin encryptDecryptTest to decrypt with swapped private and public keys to follow NIP-44 documentation 2024-03-22 23:51:57 -04:00