Commit Graph

1180 Commits

Author SHA1 Message Date
Vitor Pamplona f665bec63d adds basic support for NIP85 Polls 2026-02-17 16:00:54 -05:00
KotlinGeekDev 460be8cbf3 Foundations(iOS Sourceset): Provide implementation for AESCBC. 2026-02-17 01:03:19 +01:00
KotlinGeekDev bb5d785cb3 Enable running tests with resources for the androidHostTest sourceset, specifically HintIndexerTest. Replace non-null assertion with exception throw, to precisely identify test resource errors. 2026-02-12 15:02:02 +01:00
KotlinGeekDev 68c7f5e884 Linter fixes, plus a lint suppression for Buffer.kt. 2026-02-12 14:28:59 +01:00
KotlinGeekDev 3f9614dd8f Merge branch 'main' of https://github.com/vitorpamplona/amethyst into upstream-main
# Conflicts:
#	gradle/libs.versions.toml
2026-02-11 13:57:01 +01:00
nrobi144 5f15f0c3b1 fix: address Copilot review comments
- ChessPosition: include all fields in equals/hashCode
- AcceptedGamesRegistry: add thread safety with synchronized
- ChessEventBroadcaster: use valid filter for connection trigger
- ChessEventBroadcaster: fix misleading relayResults
- Remove println debug logging from ChessSubscription/Broadcaster
- UserProfileScreen: use proper JSON parsing via MetadataEvent

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-10 16:39:24 +02:00
nrobi144 8d098cf86d feat(chess): focused polling, promotion fix, and game end celebration
- Add focused game mode to ChessPollingDelegate: when viewing a game,
  only that game is polled instead of all active games
- Fix pawn promotion by parsing promotion suffix in publishMove
  (e.g., "e8q" -> "e8" + QUEEN)
- Add game end overlay with victory/defeat/draw celebration
- Remove all debug println statements for production readiness

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-10 12:14:34 +02:00
nrobi144 42b33ca04c feat(chess): add platform adapters and enhance lobby state (steps 5-6)
- Add ChessLobbyState with completedGames, replaceGameState(), moveToCompleted()
- Add challengerAvatarUrl to ChessChallenge
- Add CompletedGame data class for game history

Platform Adapters:
- AndroidChessAdapter: AndroidChessPublisher, AndroidRelayFetcher, AndroidMetadataProvider
- DesktopChessAdapter: DesktopChessPublisher, DesktopRelayFetcher, DesktopMetadataProvider

Shared Infrastructure:
- ChessRelayFetchHelper for one-shot relay queries
- IUserMetadataProvider interface for platform-specific metadata
- ChessFilterBuilder with simple filter methods for fetchers
- ChessSubscriptionController interface for subscription management

Fix ChessSubscription.kt to remove broken dataSources().chess reference
(subscriptions now managed by ChessLobbyLogic)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-10 12:14:34 +02:00
nrobi144 e0d0e33408 refactor impl 2026-02-10 12:14:05 +02:00
nrobi144 06accf5831 full chess implementation 2026-02-10 11:58:00 +02:00
nrobi144 18c8156ab2 integrate chess events 2026-02-10 11:56:43 +02:00
nrobi144 19c36c2979 initial nip64 implementation 2026-02-10 11:54:36 +02:00
KotlinGeekDev 295f980584 Merge remote-tracking branch 'origin/kmp-completeness' into kmp-completeness 2026-02-10 00:23:37 +01:00
KotlinGeekDev dcb10b249a Foundations(iOS Sourceset): Provide implementation for MacInstance(using external library). Bring some tests into commonTest to make sure it works. 2026-02-09 21:57:54 +01:00
KotlinGeekDev aa4d586025 Linter fixes for GZip.ios.kt 2026-02-09 20:42:18 +01:00
KotlinGeekDev 656af17b1c Implement fix for URLs with absolute paths. 2026-02-09 20:41:18 +01:00
Vitor Pamplona eb66182211 - Updates several libraries
- Reformats code to the newest Klint
- Fixes isEmpty bug on Filters
2026-02-09 14:06:07 -05:00
Vitor Pamplona 710f15f790 - Fixes copyright using KDoc patterns instead of simpler comments
- Moves spotless and git-hooks to hidden folders
2026-02-09 13:06:41 -05:00
Vitor Pamplona 6125394354 Migrates to AGP 9 2026-02-08 16:33:39 -05:00
Vitor Pamplona 913b694f78 Clean up on unnecessary methods on Note 2026-02-08 11:35:26 -05:00
Vitor Pamplona 2e85d1356e Fixes Addressable vs Replaceable bases 2026-02-07 17:48:37 -05:00
Vitor Pamplona 03e8316db4 Moves lud06 to lud16 mapping to Quartz 2026-02-07 12:29:13 -05:00
Vitor Pamplona ec629ff081 Migrates contact list management to addressable notes
Creates new observable flows for LocalCache.
2026-02-06 16:12:11 -05:00
Vitor Pamplona e97a30fcb1 Migrates to use "title" instead of "name" tags for NIP-51 lists. 2026-02-05 18:20:04 -05:00
Vitor Pamplona d2f77ed521 Merge branch 'main' of https://github.com/vitorpamplona/amethyst
* 'main' of https://github.com/vitorpamplona/amethyst: (48 commits)
  Use accountViewModel.viewModelScope instead of rememberCoroutineScope() to allow download/share to finish even when controls auto-close.
  Add content parameter to allow sharing of video from video player
  New Crowdin translations by GitHub Action
  - use a valid hex key - check the value of the tags
  Fixed NullPointerException when filter contain tags
  Fix assertEquals order
  fix Jackson deserialization for empty Filters and add regression test
  New Crowdin translations by GitHub Action
  Consume File.delete() return values Extract duplicated "https://" literal into a private const val HTTPS_PREFIX
  New Crowdin translations by GitHub Action
  New Crowdin translations by GitHub Action
  New Crowdin translations by GitHub Action
  Load and save payment targets
  refactor(commons): migrate from Moko to Compose Multiplatform Resources
  feat(broadcast): Enhance retry, multi-broadcast UI, and post tracking (#1682)
  wip: Add BroadcastTracker to AccountViewModel (#1682)
  feat(broadcast): Add transparent event broadcasting feedback (#1682)
  Enabled the reactions expand control for zapraisers even when there are no zaps
  New Crowdin translations by GitHub Action
  refactor to reduce complexity encodePcmToAac
  ...

# Conflicts:
#	amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/notifications/CardFeedState.kt
2026-02-04 14:35:35 -05:00
Vitor Pamplona 7bc7265757 Refactors the old NIP-05 code on Quartz
New Caching system for User metadata
New Caching system for NIP-05 verifications
2026-02-04 14:31:30 -05:00
KotlinGeekDev 1f94602404 Merge branch 'vitorpamplona:main' into kmp-completeness 2026-02-02 16:43:30 +01:00
greenart7c3 577b4c0e0a - use a valid hex key
- check the value of the tags
2026-01-30 09:38:09 -03:00
greenart7c3 f2d7b115d9 Fixed NullPointerException when filter contain tags 2026-01-30 09:00:52 -03:00
greenart7c3 8bfd670f8b Fix assertEquals order 2026-01-30 08:50:09 -03:00
greenart7c3 247e30beed fix Jackson deserialization for empty Filters and add regression test 2026-01-30 07:31:38 -03:00
KotlinGeekDev b965ff1cc6 Merge remote-tracking branch 'origin/kmp-completeness' into kmp-completeness 2026-01-28 15:09:57 +01:00
KotlinGeekDev 3ee600ea28 Merge branch 'vitorpamplona:main' into kmp-completeness 2026-01-28 00:09:19 +01:00
KotlinGeekDev 506996b382 Foundations(iOS Sourceset): Provide implementation for GZip compression/decompression. Some small fixes in URLs.ios.kt . 2026-01-27 20:52:43 +01:00
KotlinGeekDev 3f9f496c8b Foundations(iOS Sourceset): Provide implementation for UnicodeNormalizer. 2026-01-27 17:14:32 +01:00
KotlinGeekDev 4e2f779b54 Foundations(iOS Sourceset): Provide implementation for UrlEncoder. 2026-01-27 16:31:04 +01:00
KotlinGeekDev fb5288d5f1 Foundations(iOS Sourceset): Provide implementation for makeAbsoluteIfRelativeUrl() in ServerInfoParser.ios.kt 2026-01-26 20:08:44 +01:00
KotlinGeekDev 94a5237eaa Foundations(iOS Sourceset): Provide implementation for fastFindURLs(). Make a test for it. 2026-01-26 16:56:11 +01:00
greenart7c3 058cdc782a Load and save payment targets 2026-01-26 11:18:48 -03:00
KotlinGeekDev 893d363a03 Merge remote-tracking branch 'origin/kmp-completeness' into kmp-completeness 2026-01-16 16:11:23 +01:00
KotlinGeekDev db536289c4 Make linter happy, I guess. 2026-01-16 16:10:58 +01:00
KotlinGeekDev f2ac68ccf8 Merge branch 'vitorpamplona:main' into kmp-completeness 2026-01-15 20:53:38 +01:00
davotoula 505a6583ee remove unused imports 2026-01-15 14:20:05 +01:00
Vitor Pamplona 92d4654b20 Removes the memory counter methods because they are not the best way to measure the size in memory of these objects, since we intern strings all the time. 2026-01-14 16:49:11 -05:00
Vitor Pamplona 3d0b0c01b9 Finishes editing quartz event store readme 2026-01-14 15:36:32 -05:00
Vitor Pamplona adb2f48fb5 Updates event store readme 2026-01-14 15:29:13 -05:00
Vitor Pamplona 6097a0b5b7 Removes the need for an extra object for the tag array in the custom emoji nip 2026-01-13 17:32:38 -05:00
Vitor Pamplona 7c1053df2d Moves reports to common
Adds support for additional information
2026-01-13 14:37:32 -05:00
KotlinGeekDev a9f6ebde83 Merge branch 'vitorpamplona:main' into kmp-completeness 2026-01-12 15:25:11 +01:00
KotlinGeekDev f5bb0dbc1d Move cachemap dependency to version catalog. 2026-01-12 15:06:57 +01:00