Commit Graph

8889 Commits

Author SHA1 Message Date
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
davotoula 76a05f7d71 moved re-record button inline and added to VoiceMessagePreview.kt 2026-01-15 13:58:14 +01:00
davotoula 5be1633843 limit voice recording to 180s 2026-01-15 13:58:14 +01:00
davotoula db75a7c910 preallocate list capacity 2026-01-15 13:58:14 +01:00
davotoula 50b0e8bd17 Moved processingPreset = preset to execute synchronously before launching the coroutine 2026-01-15 13:58:14 +01:00
davotoula 0b233f3a3f use colorScheme.onSurfaceVariant instead of Gray 2026-01-15 13:58:14 +01:00
davotoula 001dce8fef guard for null inputFile.parentFile 2026-01-15 13:58:14 +01:00
davotoula 708c6da9fe add docs 2026-01-15 13:58:14 +01:00
davotoula c6d437b98e confirmed: <1 results in Higher pitch. Adjusted NEUTRAL to slightly lower pitch 2026-01-15 13:58:14 +01:00
davotoula 5ce4391db4 guard encoder / decoder .stop 2026-01-15 13:58:13 +01:00
Vitor Pamplona 6f62e2c7b1 Merge pull request #1671 from vitorpamplona/l10n_crowdin_translations
New Crowdin Translations
2026-01-14 17:58:41 -05:00
Crowdin Bot 208f57830f New Crowdin translations by GitHub Action 2026-01-14 22:56:07 +00: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