Commit Graph

8061 Commits

Author SHA1 Message Date
Vitor Pamplona
1c0766cc76 Merge pull request #1480 from davotoula/add-feed-indicator-to-live-bubbles
Add feed indicator to live bubbles
2025-09-23 07:58:26 -04:00
KotlinGeekDev
5175c61171 Merge branch 'upstream-main' into profiles-list-management 2025-09-23 12:24:28 +01:00
KotlinGeekDev
3f8abd74ba Merge branch 'main' of https://github.com/vitorpamplona/amethyst into upstream-main 2025-09-23 12:22:45 +01:00
KotlinGeekDev
04b8f6cca2 Move Fab back action button to separate component. Adjust colors for the fabs in CustomListsScreen. 2025-09-23 12:19:04 +01:00
KotlinGeekDev
ec10d53195 Add menu option for adding an author to a follow set from a note. 2025-09-23 12:16:58 +01:00
davotoula
ccc5d03d84 converted VideoCompressionHelper to singleton 2025-09-23 11:28:09 +02:00
davotoula
e5df870ace move framerate adjustment into getBitrateMbpsInt to prevent ,precision errors
Clean up logging
2025-09-23 10:24:48 +02:00
davotoula
b030486e7e fixes after rebase 2025-09-23 09:55:03 +02:00
davotoula
544d6d3933 remove plan 2025-09-23 09:25:20 +02:00
davotoula
db9160a6c2 finally block ensures release() is called even if exceptions occur 2025-09-23 09:25:20 +02:00
davotoula
41a233d175 fix for library bug. Temp file name with "_temp" is returned instead of final file name 2025-09-23 09:25:19 +02:00
davotoula
b6dd6a988b change to enum for video resolutions 2025-09-23 09:25:19 +02:00
davotoula
9af1e10ec2 refactor:
Safe file size lookup using OpenableColumns.SIZE
if (continuation.isActive) before resuming.
Better logging levels (Log.e for errors, Log.w for warnings).
Configurable compression timeout
2025-09-23 09:25:19 +02:00
davotoula
ed758ef13e remove unused code 2025-09-23 09:25:18 +02:00
davotoula
947f59fa6f add bitrate multiplier for 60fps content
fix toast when new file larger than old
2025-09-23 09:25:18 +02:00
davotoula
524ead2eac move video compression into helper 2025-09-23 09:25:16 +02:00
davotoula
49dc63c876 Sanity check: if compressed file is larger than original, return original 2025-09-23 09:24:25 +02:00
davotoula
8588c9a6fc update plan 2025-09-23 09:24:25 +02:00
davotoula
f805b70ec0 added log statements and a toast 2025-09-23 09:24:22 +02:00
davotoula
f5202dd8a9 added log statements 2025-09-23 09:22:13 +02:00
davotoula
97d6c791c0 determine resizer and bitrate from input source combined with our compression rules
use 1 as lowest BitrateMbps
2025-09-23 09:22:09 +02:00
davotoula
87f224b6b8 get video resolution, framerate and rotation 2025-09-23 09:21:32 +02:00
davotoula
931c6681c6 added compression rules 2025-09-23 09:21:32 +02:00
davotoula
96b8c77bcd there is a plan 2025-09-23 09:21:32 +02:00
David Kaspar
366534d1d5 Merge pull request #1488 from vitorpamplona/l10n_crowdin_translations
New Crowdin Translations
2025-09-23 08:11:41 +01:00
Crowdin Bot
054cfa0de9 New Crowdin translations by GitHub Action 2025-09-23 00:07:59 +00:00
Vitor Pamplona
d93a8d94d2 Reduces number of Notifications from random relays. 2025-09-22 20:05:07 -04:00
Vitor Pamplona
0026668aca Merging with upstream 2025-09-22 19:49:26 -04:00
Vitor Pamplona
7a280a3cde - Migrates Quartz from Android to CommonMain
- Fully converts OpenTimestamp Java codebase to Kotlin, migrating the sync and async HTTP call interfaces to OkHttp and coroutines
- Redesigns parsing of relay commands, messages and filters for performance in Jackson.
- Starts the use of KotlinX Serialization when speed is not a requirement
- Migrates all Jackson field annotations to Kotlin Serialization
- Migrates Regex use in Quarts to Kotlin's Regex class
- Migrates Base64 from Android to Kotlin
- Migrates UUID from Android/Java to Kotlin
- Migrates LRUCache usage from Android/Java to Kotlin collections
- Migrates all String to bytearray conversions to Kotlin methods
- Migrates all System.arraycopy calls to kotlin native ones.
- Separates parsing code from the data classes Companion objects
- Exposes Rfc3986 normalizations to each platform.
- Exposes URI parsing classes to each platform.
- Exposes URL Encoders to each platform.
- Exposes BigDecimal to each platform.
- Exposes the Url Detector to each platform.
- Exposes MacInstances to each platform
- Exposes Diggest instances to each platform.
- Exposes a BitSet to each platform.
- Exposes GZip to each platform.
- Exposes Secp256k1 to each platform.
- Exposes SecureRandom to each platform.
- Exposes Time in seconds to each platform.
- Exposes the LargeCache to each platform.
- Exposes AES CBC and AES GCM encryption/decryption to each platform
- Migrate test assertions to Kotlin Tests
- Exposes Address class to each platform because of the Parceleable
- Creates our own ByteArrayOutputStream.
- Removes Lock features inside the Bloomfilters because we don't need data consistency/
- Migrates UserMetadata parser from Jackson to Kotlin serialization
- Removes the need for Static methods in each tag.
- Adds an event template serializer
- Adds KotlinX Datetime to migrate some of the date-based logs
- Adds support for LibSodium in the JVM platform
- Creates a shared test build for iOS targets
- Fixes several usages of Reflection when serializing classes
- Fixes a bug on loading RelayDB for the HintBloom filter test
- Increases the Bloom filter space to better use hints in the app.
- Removes support for iOS in x86
- Creates a Jackson mapper just for NIP-55, which stays in the Android build only.
- Keeps the event store in the android build as well.
- Removes @Syncronized tags in favor of Mutexes.
- Improved sendAndWaitForResponse NostrClient method to properly account for returns from each relay.
- Removes the need for GlobalScope and async calls in the downloadFirstEvent method.
- Restructures the parser and serialization of the relay messages and commands for performance with Jackson
- Removes the dependency on Jackson's error classes across the codebase.
- Moves the hint to quote tag extension methods to their own packages.
- Speeds up the generation of Bech32 addresses
- Migrates NIP-6 and Blossom uploads to use Kotlin Serialization
2025-09-22 19:44:51 -04:00
KotlinGeekDev
3eb02cbbd8 implement a fix for when a follow set becomes empty(or is empty), which is probably a Nostr limitation. 2025-09-22 15:44:11 +01:00
KotlinGeekDev
1e18edfc02 Refactor FollowSetsManagementDialog UI to correctly adapt to follow set state. Small adjustment in the NostrUserListFeedViewModel. 2025-09-22 15:41:17 +01:00
KotlinGeekDev
9f5301d30a Make a different menu style for new list creation in FollowSetsManagementDialog. Use toBestDisplayName() instead of manual method(which was the same anyways). 2025-09-22 14:24:15 +01:00
KotlinGeekDev
a07ebc6e12 Update addFollowSet() method to optionally create a list with first member. 2025-09-22 14:20:59 +01:00
KotlinGeekDev
3301371d82 Fix color of Fabs in CustomListsScreen. 2025-09-22 14:19:10 +01:00
Vitor Pamplona
7949fc66b2 Fixes test case cast 2025-09-22 09:17:54 -04:00
davotoula
1d0f584c3e use produceState instead of LaunchedEffect 2025-09-22 13:58:48 +02:00
KotlinGeekDev
6a3ebc1d95 Move FollowSetsManagementDialog to correct package. Refactor accordingly. 2025-09-19 18:22:41 +01:00
KotlinGeekDev
e10c429de0 Completely change the UI for list management when adding/removing a profile from lists. 2025-09-19 18:15:18 +01:00
KotlinGeekDev
e4a8a512d2 Merge branch 'vitorpamplona:main' into profiles-list-management 2025-09-19 15:23:13 +00:00
David Kaspar
8373f6ba19 Merge branch 'vitorpamplona:main' into add-feed-indicator-to-live-bubbles 2025-09-18 21:12:14 +01:00
Vitor Pamplona
d2d5ade84e Merge pull request #1485 from davotoula/fix-for-orientation-issue-following-removing-windowSizeClass-from-global-settings
Fix for properly switch between single and two-pane layouts on rotation
2025-09-18 14:45:23 -04:00
Vitor Pamplona
3acdde7c53 Merge pull request #1483 from davotoula/reduce-sonar-code-quality-warnings
Reduce sonar code quality warnings
2025-09-18 14:45:02 -04:00
Vitor Pamplona
897396ff24 Merge pull request #1484 from davotoula/remove-void-cat-from-default-servers
remove void.cat from default servers
2025-09-18 14:44:00 -04:00
davotoula
ee39b3ae18 Fix for properly switch between single and two-pane layouts on rotation 2025-09-18 20:37:56 +02:00
David Kaspar
6c892ba733 Merge branch 'vitorpamplona:main' into add-feed-indicator-to-live-bubbles 2025-09-18 15:55:20 +01:00
davotoula
64cf81b523 remove void.cat from default servers 2025-09-18 16:33:32 +02:00
KotlinGeekDev
acade3c762 Merge branch 'vitorpamplona:main' into profiles-list-management 2025-09-18 13:32:24 +00:00
davotoula
4cd86c8b1c return the boolean results from file(npub).delete() 2025-09-18 15:16:40 +02:00
davotoula
fdf372719c Replace with interface delegation using "by" in the class header
Replace abstract class with an interface
2025-09-18 15:16:40 +02:00
davotoula
50f173e406 replace repeated text string with top-level constant 2025-09-18 15:16:40 +02:00