Commit Graph

8803 Commits

Author SHA1 Message Date
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
David Kaspar 85e9984153 Merge pull request #1692 from vitorpamplona/l10n_crowdin_translations
New Crowdin Translations
2026-01-29 07:46:29 +00:00
Crowdin Bot 781da12475 New Crowdin translations by GitHub Action 2026-01-29 07:23:27 +00:00
David Kaspar 0f286f68c8 Merge pull request #1691 from davotoula/sonar-fixes
chore: sonar fixes
2026-01-29 07:21:57 +00:00
davotoula 7793d2e2a3 Consume File.delete() return values
Extract duplicated "https://" literal into a private const val HTTPS_PREFIX
2026-01-28 23:02:38 +01:00
Vitor Pamplona 53d0aa8e42 Merge pull request #1689 from vitorpamplona/l10n_crowdin_translations
New Crowdin Translations
2026-01-26 10:02:02 -05:00
Crowdin Bot f2c27dbdc8 New Crowdin translations by GitHub Action 2026-01-26 15:00:22 +00:00
Vitor Pamplona e52817f8e9 Merge pull request #1688 from vitorpamplona/l10n_crowdin_translations
New Crowdin Translations
2026-01-26 09:58:01 -05:00
Vitor Pamplona 596b8aafba Merge pull request #1683 from nrobi144/feat/1682-transparent-broadcast-feedback
add transparent event broadcasting feedback
2026-01-26 09:57:41 -05:00
Crowdin Bot 6fff7dc17b New Crowdin translations by GitHub Action 2026-01-26 14:55:12 +00:00
Vitor Pamplona c3f09987aa Merge pull request #1676 from nrobi144/nrobi144/phase-2A
Desktop: Basic Search + Bookmarks + Zaps
2026-01-26 09:53:35 -05:00
Vitor Pamplona 671a102c7c Merge pull request #1673 from davotoula/share-videos-to-other-apps
Share videos to other apps (via intent)
2026-01-26 09:47:14 -05:00
Vitor Pamplona c91bacaa91 Merge pull request #1687 from vitorpamplona/l10n_crowdin_translations
New Crowdin Translations
2026-01-26 09:46:11 -05:00
Vitor Pamplona e8cf5fb60d Merge pull request #1686 from greenart7c3/payto_part2
Payment targets part two
2026-01-26 09:45:54 -05:00
Crowdin Bot f618741211 New Crowdin translations by GitHub Action 2026-01-26 14:44:00 +00:00
Vitor Pamplona 7a4386da81 Merge pull request #1684 from nrobi144/feat/1675-migrate-moko-to-cmp-resources
refactor(commons): migrate from Moko to Compose Multiplatform Resources
2026-01-26 09:42:12 -05:00
greenart7c3 058cdc782a Load and save payment targets 2026-01-26 11:18:48 -03:00
nrobi144 71e68dc35b refactor(commons): migrate from Moko to Compose Multiplatform Resources
Remove Moko Resources dependency that blocks AGP 9.0 migration.
Migrate to built-in Compose Multiplatform Resources which is compatible
with the new KMP Android plugin.

- Remove moko-resources plugin and libraries from commons module
- Move strings.xml from moko-resources/ to composeResources/values/
- Update imports from SharedRes.strings.* to Res.string.*
- Add compose.components.resources dependency to desktopApp
- Configure resource package as com.vitorpamplona.amethyst.commons.resources

Closes #1675

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-25 13:29:55 +02:00
nrobi144 dedfd59d0b feat(broadcast): Enhance retry, multi-broadcast UI, and post tracking (#1682)
- Add Retrying state to RelayResult for in-flight retry tracking
- Implement synced 360° rotating animation for pending/retrying icons
- Refactor BroadcastDetailsSheet for multi-broadcast sections (max 2 expanded)
- Add overflow summary for additional broadcasts beyond 2
- Fix sheet text colors using theme colors for better visibility
- Make sheet fully expandable (skipPartiallyExpanded)
- Add event cache to BroadcastTracker for retry support
- Implement retry that updates existing broadcast in-place
- Add tracked broadcasting for posts and quotes via createPostEvent/consumePostEvent
- Fix relay list computation for new posts (use event-based, not empty note)
- Make post editor close immediately, broadcast continues in background
- Style CompletedBroadcastIndicator consistently with BroadcastBanner

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-23 16:27:29 +02:00
David Kaspar 8ebba994e8 Merge pull request #1681 from davotoula/feature/display-zapraise
Enabled the reactions expand control for zapraisers even when there are no zaps
2026-01-23 06:35:13 +00:00
nrobi144 c5d9fc3c15 wip: Add BroadcastTracker to AccountViewModel (#1682)
Phase 2 progress - added BroadcastTracker instance to AccountViewModel.
Integration with reaction buttons pending.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-23 06:55:13 +02:00
nrobi144 3ac8ba669b feat(broadcast): Add transparent event broadcasting feedback (#1682)
Phase 1 - Core infrastructure:
- BroadcastModels: BroadcastEvent, RelayResult, BroadcastStatus data classes
- BroadcastTracker: State management with live progress updates
- BroadcastBanner: Global progress indicator (animated)
- BroadcastSnackbar: Result notifications with actions
- BroadcastDetailsSheet: Relay status detail bottom sheet

Refs: #1682

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-23 06:50:25 +02:00
davotoula 1e611a3fb5 Enabled the reactions expand control for zapraisers even when there are no zaps 2026-01-22 18:32:37 +01:00
David Kaspar 8bbeb9aadb Merge pull request #1679 from vitorpamplona/l10n_crowdin_translations
New Crowdin Translations
2026-01-22 09:28:08 +00:00
Crowdin Bot 5f75d5a48b New Crowdin translations by GitHub Action 2026-01-22 09:25:17 +00:00
David Kaspar b39a3d1911 Merge pull request #1678 from davotoula/sonar-fixes
Sonar fixes - reduce Cognitive Complexity in VoiceAnonymizer.kt
2026-01-22 09:23:22 +00:00
davotoula 1a736f1c8a refactor to reduce complexity encodePcmToAac 2026-01-21 17:41:54 +01:00
davotoula b8ecb03ddd refactor to reduce complexity decodeAudioToPcm 2026-01-21 17:41:53 +01:00
nrobi144 ff47080cf1 fix: Resolve API mismatches after merge with upstream
- Fix import paths to use desktop.subscriptions instead of commons.subscriptions
- Update DesktopLocalCache to match ICacheProvider interface changes
- Use correct commons.relayClient paths for ComposeSubscriptionManager
- Add missing justConsumeMyOwnEvent and getOrCreateAddressableNote methods

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-21 06:23:58 +02:00
nrobi144 d08aed47e8 Merge upstream/main into nrobi144/phase-2A
Resolved import conflicts caused by package reorganization:
- upstream moved classes to amethyst/service/relayClient/*
- upstream moved models to commons/model/*
- kept our desktop additions (zaps, bookmarks, search)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-21 06:04:13 +02:00
davotoula 80c946be44 rename method to reflect new functionality 2026-01-20 22:42:48 +01:00
davotoula ac4a1de0cd Block share menu from closing while downloading video 2026-01-20 22:31:14 +01:00
davotoula d542e4d6a0 change to 2 minutes delay before cleaning up temp shared file 2026-01-20 19:55:19 +01:00
davotoula 6257b6dd80 Merge branch 'main' into share-videos-to-other-apps 2026-01-20 19:35:41 +01:00
David Kaspar 29faa7882d Increase max voice record duration to 600 seconds 2026-01-20 18:27:20 +00:00
David Kaspar 5401a89356 Merge pull request #1677 from vitorpamplona/l10n_crowdin_translations
New Crowdin Translations
2026-01-20 18:21:28 +00:00
Crowdin Bot c801e9ce86 New Crowdin translations by GitHub Action 2026-01-20 13:34:58 +00:00
Vitor Pamplona f134f815d0 Merge pull request #1672 from davotoula/voice-notes-code-review-fixes
Voice notes enhancements and code review fixes
2026-01-20 08:33:11 -05:00
nrobi144 8155cfee9d update metadata loading 2026-01-20 15:18:11 +02:00
nrobi144 8f6de1d304 zap updates 2026-01-19 16:32:01 +02:00
davotoula 4897aa4d09 Use coroutine instead of Handler for temp file cleanup 2026-01-18 22:51:00 +01:00
davotoula 5450c7670f update translations 2026-01-18 22:31:31 +01:00
davotoula 1a04f16d1a Safer temp video handling
Cleanup deletes the actual shared file (and on error) instead of the old temp path in
Guard against empty response.body
Gate media-type detection so image sharing only checks image headers
Added unit test for rename-failure fallback
2026-01-18 22:28:55 +01:00
davotoula f2e484b18e URL videos: Downloads video to temp file using streaming (avoids OOM), shows progress indicator, shares via Intent, cleans up after 60 seconds
Local videos: Shares directly without downloading
Video format detection: Supports MP4, WebM, MKV, AVI, MOV based on file magic numbers
2026-01-18 20:09:00 +01:00
davotoula 505a6583ee remove unused imports 2026-01-15 14:20:05 +01:00
davotoula 40d6943439 sonar fixes 2026-01-15 14:12:09 +01:00
davotoula 835fbb90b7 Do something with the "Boolean" value returned by "delete". 2026-01-15 14:00:13 +01:00