Commit Graph

43 Commits

Author SHA1 Message Date
255b48d126 - Creates a Quartz Module for Nostr Events
- Creates a Benchmark Module to test Performance
- Migrates from GSon to Jackson for Performance Gains, adapts all serializers accordingly
- Recreates Hex encoding/decoding classes for Performance.
- Migrates NIP24 to the new ByteArray Concat encoding.
- Removes support for Lenient choices in the. events.
- Reorganizes Nostr Events dependencies.
- Refactors TLV's and NIP-19 dependencies.
- Adds a Large DB for signature checks.
2023-08-16 17:58:25 -04:00
1ad1d233cd Refactoring TLV's code 2023-08-15 11:13:01 -04:00
Fernando Martins
9573b4abec fix signed byte used for array slice with + added test 2023-08-07 11:56:11 +02:00
d68b14532d Fixing Test cases 2023-07-24 11:54:09 -04:00
899b4f7c90 Quick fix for multiple emoji's in one line 2023-07-13 11:19:07 -04:00
84600c016e Fixing for emoji families 2023-07-06 17:36:11 -04:00
64d96ab1d7 Fixes Emoji Joining issues. 2023-07-06 17:24:42 -04:00
71517dc454 Formatting 2023-06-28 18:54:42 -04:00
949301d58f Mocking Looper to use the checkMainThread in tests 2023-06-28 18:54:33 -04:00
33454cc2f8 Fixes UTF-32 Reactions 2023-06-23 09:21:34 -04:00
165678f118 formatting 2023-06-05 18:22:09 -04:00
David Kaspar
7f6b44cd0b spelling fix 2023-05-27 23:51:13 +01:00
David Kaspar
88bad1e308 added additional trivial tests 2023-05-27 22:35:34 +01:00
David Kaspar
b0a61cce42 Added failing test
(a bit dirty using a spy for the actual "system under test" but it is the quickest way to test added functionality and mocking out complexity around coroutines and httpclient)
2023-05-27 21:42:12 +01:00
fc56f3988e Support for NIP-30 2023-05-15 21:26:59 -04:00
c87b246a4e Fixing tests 2023-05-10 11:19:32 -04:00
b4373ae1ed Deprecating #[]s tags 2023-04-24 17:58:35 -04:00
eed62c36b9 Creates a Loading screen to get events before redirecting them to the appropriate screen (DMs, Channels, Threads) 2023-03-24 09:58:28 -04:00
cb20e14822 Sending Addressable notes to Habla.news: Fixes: https://github.com/vitorpamplona/amethyst/issues/295 2023-03-22 15:47:01 -04:00
c6906c42fd Mocking Android.Log for test classes 2023-03-17 09:47:47 -04:00
Chemaclass
ffed3e7e22 Fix KeyParseTest 2023-03-08 18:32:32 +00:00
5055afd979 Fixes the build 2023-03-08 13:14:06 -05:00
Chemaclass
26b5061042 Rename Utils to Tlv 2023-03-08 14:21:52 +00:00
Chemaclass
49199fe892 Change Nip19 from class to object 2023-03-08 14:21:52 +00:00
Chemaclass
c9b859610e Format last files with conflicts 2023-03-07 20:43:34 +01:00
Chemaclass
f1b6927bb3 Merge branch 'main' into add-ktlint
Conflicts:
	app/src/main/java/com/vitorpamplona/amethyst/model/LocalCache.kt
	app/src/main/java/com/vitorpamplona/amethyst/model/Note.kt
	app/src/main/java/com/vitorpamplona/amethyst/model/ThreadAssembler.kt
	app/src/main/java/com/vitorpamplona/amethyst/service/Nip19.kt
	app/src/main/java/com/vitorpamplona/amethyst/service/NostrUserProfileDataSource.kt
	app/src/main/java/com/vitorpamplona/amethyst/service/model/ATag.kt
	app/src/main/java/com/vitorpamplona/amethyst/service/model/LnZapEvent.kt
	app/src/main/java/com/vitorpamplona/amethyst/service/model/LnZapRequestEvent.kt
	app/src/main/java/com/vitorpamplona/amethyst/service/model/ReactionEvent.kt
	app/src/main/java/com/vitorpamplona/amethyst/service/model/ReportEvent.kt
	app/src/main/java/com/vitorpamplona/amethyst/service/model/RepostEvent.kt
	app/src/main/java/com/vitorpamplona/amethyst/ui/components/ClickableRoute.kt
	app/src/main/java/com/vitorpamplona/amethyst/ui/components/RichTextViewer.kt
	app/src/test/java/com/vitorpamplona/amethyst/NIP19ParserTest.kt
2023-03-07 20:42:38 +01:00
1919dc5c81 1. Moves AddressableNote index from NAddr to aTag format due to the presence of a preferred relay inside NAddr, which is an optional field and should not be part of the idex.
2. Parses relay information for Addressable Notes
2023-03-07 13:48:05 -05:00
Chemaclass
eff8dbbafa Run linter 2023-03-07 19:47:38 +01:00
Chemaclass
1424267628 Rename UserZaps.forProfileFeed() 2023-03-05 23:56:11 +01:00
Chemaclass
6aa7c229b0 create failing test aggregate_zap_amount_group_by_user 2023-03-05 23:30:24 +01:00
Chemaclass
53e520ee8a Add test avoid duplicates with same zap request 2023-03-05 23:28:39 +01:00
Chemaclass
b8937594bc Create EventInterface 2023-03-05 22:42:19 +01:00
Chemaclass
657f99a65a Remove non-used imports in Nip19 2023-03-03 23:40:09 +01:00
Chemaclass
b35a59372c Prepare move unit tests for uri_to_route behaviour 2023-03-03 23:23:42 +01:00
Chemaclass
c1113f9df9 Add test uri_to_route_npub 2023-03-03 23:19:05 +01:00
Chemaclass
bd3d7e1aa3 Prepare test parse_TLV 2023-03-03 22:58:24 +01:00
Chemaclass
47f3fe5cc6 refactor Nip19Test introduce byteArrayOfInts() 2023-03-03 22:46:15 +01:00
Chemaclass
b6e16ad470 Create Nip19Test testing toInt32() 2023-03-03 22:40:46 +01:00
d05d0f0829 Fixing test cases 2023-03-03 12:00:27 -05:00
f4d5785710 Support for Replaceable Events (NIP-33) 2023-03-03 11:35:29 -05:00
d31c11f70d Checking HexKeys across the board.. Too many errors in tags. 2023-02-20 20:49:54 -05:00
a8dd13e13b Supports Private Messages 2023-01-14 18:02:28 -05:00
7ccae7b7c3 Base code for Amethyst 2023-01-11 13:31:20 -05:00