Commit Graph

669 Commits

Author SHA1 Message Date
David Kaspar f21c7bd258 Lint issues: remove unused methods, use indexing operator instead of .get() 2025-08-16 11:21:19 +01:00
David Kaspar 533d8b18f0 Remove duplicate functionality from Cache implementations and use instead common methods in CacheOperations utility class
Create override for forEach and size as they are needed internally and do slightly different things
2025-08-16 10:45:37 +01:00
David Kaspar b069f283ac Move common cache operations to new utility class 2025-08-16 10:38:57 +01:00
David Kaspar eab2f96f02 remove duplicate colletors and Use collectors from new utility class 2025-08-16 10:20:52 +01:00
David Kaspar c4b71a0aea Move common collectors to new utility class 2025-08-16 10:09:56 +01:00
Vitor Pamplona f4759c283e Adds a basic OkHttp builder to Quartz (new dependency :( )
Adds some instructions to the basic readme.md
2025-08-15 14:33:05 -04:00
Vitor Pamplona 4887e6f3a1 Sends a disconnect signal to the clients 2025-08-15 09:43:37 -04:00
Vitor Pamplona 529a1f403e Merge branch 'main' of https://github.com/vitorpamplona/amethyst 2025-08-15 08:41:22 -04:00
Vitor Pamplona c9b16309e2 Clears the socket from memory upon closing. 2025-08-15 08:40:33 -04:00
greenart7c3 25f5551a98 Fix non ssl connections 2025-08-15 07:35:01 -03:00
Vitor Pamplona 424d5ccc9c Refactoring 2025-08-14 17:32:28 -04:00
Vitor Pamplona 422a018a1f Fixes when posts have published_at in milliseconds. 2025-08-14 17:32:15 -04:00
Vitor Pamplona 5b8afb6f60 Updates logging for auth 2025-08-14 17:06:26 -04:00
Vitor Pamplona dfe5f86a23 Faster PublishedAt providers 2025-08-14 11:28:03 -04:00
Vitor Pamplona 6514bacf69 Merge pull request #1409 from davotoula/1406-display-app-picture-when-clicked-on-app-picture
Display app picture when clicked on app picture
2025-08-14 09:51:06 -04:00
David Kaspar d367a1f281 Specify return type as non-nullable asJackson will either return a non-null value or throw an exception. 2025-08-14 11:23:23 +01:00
Vitor Pamplona 4c0f223673 Draft event refactoring 2025-08-13 19:11:29 -04:00
Vitor Pamplona 478b2d12eb Speeding up the parsing of relay urls 2025-08-12 17:16:14 -04:00
Vitor Pamplona c14d976ad1 Minor refactoring 2025-08-12 17:15:23 -04:00
Vitor Pamplona d0f3dde08b Migrates to a more obvious open/close subscription model for NostrClient 2025-08-11 10:34:10 -04:00
Vitor Pamplona d5b9d5e80b Closes subscription when finished by timeout. 2025-08-11 10:33:21 -04:00
Vitor Pamplona 51d7fa3aac Fixes missing method on build 2025-08-07 10:09:43 -04:00
Vitor Pamplona 23b3ff9fe8 Adds missing methods to display as Public message 2025-08-06 18:09:14 -04:00
Vitor Pamplona 1b043603f9 Adds a method to create nprofiles without creating a relay list first 2025-08-06 17:54:34 -04:00
Vitor Pamplona 726f9e2f4f Moves target compatibility to java 21 2025-08-06 14:07:51 -04:00
Vitor Pamplona e237853a8f Making the new signer work for readonly accounts 2025-08-05 16:06:52 -04:00
Vitor Pamplona 63f62167a4 Simplifying the refactoring of the DecryptAndIndexProcessor 2025-08-05 15:04:23 -04:00
Vitor Pamplona 8af955ce20 Adds an extra layer on the url normalization cache to avoid recomputing failed attempts before. 2025-08-04 18:18:39 -04:00
Vitor Pamplona 6b946a57c2 Moves the exceptions to our own signing exceptions 2025-08-01 16:09:52 -04:00
Vitor Pamplona 7e9d5d6063 Uses new tag model on the ZapEvent 2025-07-31 19:06:34 -04:00
Vitor Pamplona c5645b0ae7 Removes suspend of NostrSignerSync-based functions 2025-07-31 17:45:44 -04:00
Vitor Pamplona 14e860928b Improves names of the repost methods 2025-07-31 17:44:04 -04:00
Vitor Pamplona 2e9696745a Avoids sending filters on new connections if the client is not active 2025-07-30 18:23:02 -04:00
Vitor Pamplona 5d4b16641e Fixes count call 2025-07-30 18:11:11 -04:00
Vitor Pamplona 349dfe3d42 Slowdown updates to random relay requests. 2025-07-30 18:05:53 -04:00
Vitor Pamplona c6e103ff87 Delete unnecessary logs 2025-07-30 17:33:56 -04:00
Vitor Pamplona e70f1fedc6 Adds a coroutine to the relay class so that we can defer processing events 2025-07-30 17:33:12 -04:00
Vitor Pamplona 651ca9a3ef No need to update status on EOSE 2025-07-30 17:31:38 -04:00
Vitor Pamplona bd7dba1a31 Fixes more random relay hint errors 2025-07-30 17:31:24 -04:00
Vitor Pamplona fa53ff2c78 Adds an iMeta cache for Picture and Video kinds and speeds up the procedure to verify if a video or picture is supported. 2025-07-30 12:47:31 -04:00
Vitor Pamplona 2c6a084808 Makes sure the NostrClient stays off in the background 2025-07-30 10:37:30 -04:00
Vitor Pamplona 8abba9246c Adds support to reply to Yaks with another voice message. 2025-07-29 20:07:28 -04:00
Vitor Pamplona 35a0b04020 Adds view support for public messages 2025-07-29 15:03:44 -04:00
Vitor Pamplona 4cc5aaa49d Adds view support for YakBak 2025-07-29 15:02:16 -04:00
Vitor Pamplona 7ba2810423 Quick event store using SQLite directly. 2025-07-28 16:49:39 -04:00
Vitor Pamplona 88f9beafd3 Faster expiration calculation and tag array serialization 2025-07-28 16:48:42 -04:00
Vitor Pamplona 0116bc30e4 Creates a TagArray deserializer that interns all strings to avoid duplicated memory 2025-07-28 10:53:55 -04:00
Vitor Pamplona e6dfa07526 Fixes expiration builder 2025-07-27 16:51:59 -04:00
Vitor Pamplona 8e3594cd75 Adds a way to delete events by address only 2025-07-27 16:25:24 -04:00
Vitor Pamplona d5bbf4b00b Adds basic events to the seacheable interface 2025-07-27 16:25:09 -04:00