davotoula
942de50148
code simplification and deduplication
2025-11-02 20:37:20 +01:00
davotoula
76be7b0d58
code simplification and deduplication
2025-11-02 19:56:38 +01:00
davotoula
4b260cfc07
Add blurhash and dim to Nip96Uploader.kt
2025-11-02 18:25:49 +01:00
davotoula
eee1487883
added blurhash to blossom upload
2025-11-02 18:25:49 +01:00
davotoula
7254dce3a9
Revert "update buffer to 64kb"
...
This reverts commit 4e31a9a5ac .
2025-10-26 10:25:40 +01:00
davotoula
4e31a9a5ac
update buffer to 64kb
2025-10-26 00:09:17 +02:00
davotoula
d01f6a2178
Change length to Long from Int: avoids potential overflow, Long seems to be used everywhere else
2025-10-25 23:54:56 +02:00
davotoula
2332623cde
Create a CountingInputStream utility to avoid duplication
...
Prevent INT overflow in BlossomUploader.kt
Connection Cleanup in ImageDownloader.kt
Added try-finally in Sha256Hasher.jvmAndroid.kt
2025-10-25 23:43:24 +02:00
davotoula
93994564f6
Add streaming hash utility function to quartz multiplatform, follow the existing pool/worker design
...
Change hashing in ImageDownloader.kt to use streaming
2025-10-25 23:22:31 +02:00
davotoula
e1c54f52e3
stream file to calculate both hash and size without loading it all at once
2025-10-25 21:24:12 +02:00
Vitor Pamplona
371d3bf0f7
Improves paddings, language and add stickiness backgrounds
2025-10-24 19:08:26 -04:00
Vitor Pamplona
b0e7082ec6
Solves crash when the same user is in the private and public part of the list
2025-10-24 19:07:31 -04:00
Vitor Pamplona
34971211f1
Better icon padding
2025-10-24 19:06:36 -04:00
Vitor Pamplona
b065956aec
Normalize thicknesses of the divisors
2025-10-24 19:05:35 -04:00
Vitor Pamplona
36f79ca581
Correct animations for the list screens
2025-10-24 19:02:52 -04:00
Vitor Pamplona
7aeb4e7582
Enabling more threads in debug
2025-10-24 18:51:18 -04:00
Vitor Pamplona
25d6562500
Solving lack of stream name
2025-10-24 18:08:39 -04:00
Vitor Pamplona
67e3b05a42
Uses the new nostrnwc deep link for connections
2025-10-24 17:53:31 -04:00
Vitor Pamplona
a157c60697
update compose
2025-10-24 14:59:06 -04:00
Vitor Pamplona
50d63a0501
making sure the disappearing modifier is not doing anything when the top or bottom bars are not present.
2025-10-23 19:24:23 -04:00
Vitor Pamplona
e1cbfbb280
Fixes large top bars on these screens
2025-10-23 17:46:26 -04:00
Vitor Pamplona
b6aec40e9a
New Disappearing Top, Bottom and Action Scaffold
2025-10-23 17:45:21 -04:00
Vitor Pamplona
e70a191191
No need for disappearing scaffolds in these screens
2025-10-23 17:42:10 -04:00
Vitor Pamplona
59a5a15866
Merge pull request #1528 from davotoula/image-gallery-improve-layout
...
Image gallery improve layout
2025-10-23 09:13:44 -04:00
davotoula
b82145ac10
Merge branch 'main' into image-gallery-improve-layout
2025-10-23 15:01:29 +02:00
Vitor Pamplona
ee80361478
- Removes the deprecated hacks from Contact Lists
...
- Removes the use of kind 3 to show hashtags which fixes issues when people unfollowing the hashtag and it would just affect the InterestListEvent
2025-10-22 18:31:00 -04:00
Vitor Pamplona
2d551d4adf
Fixes the visual references to communities and hashtags in the top right of the post
2025-10-22 18:27:53 -04:00
Vitor Pamplona
35da3b4efe
Makes sure the list of geohashes and hashtags use lowercase words
2025-10-22 18:26:52 -04:00
Vitor Pamplona
5306dd52d7
spotless needs to clean the compiled files to compute all unused imports
2025-10-22 16:29:47 -04:00
Vitor Pamplona
2ada3855d0
Remove imports
2025-10-22 16:28:20 -04:00
Vitor Pamplona
cabdfea8f9
No need to avoid annotations with test
2025-10-22 16:28:10 -04:00
Vitor Pamplona
d9c0a9af43
Reactivates removing imports on ktint by default
2025-10-22 16:27:52 -04:00
Vitor Pamplona
a7c846f641
Removes NIP-04 DMs with hidden words from the Notification screen
2025-10-22 16:16:15 -04:00
davotoula
f7ed4d2aaa
NEEDS testing:
...
Swapped the local var orientation by remember { mutableStateOf(...) } for an explicit MutableState: we now create orientationState = remember(firstImage) { mutableStateOf(...) }, update it with
orientationState.value = …, and return orientationState.value.
2025-10-22 09:32:26 +01:00
Vitor Pamplona
031e604923
Only avoids sending a message for the request state if it is a new open request
2025-10-21 20:17:04 -04:00
Vitor Pamplona
551bd344e0
Makes sure to trigger null pointer exception on message deserializer
2025-10-21 20:15:48 -04:00
Vitor Pamplona
c21b2ca60f
Removes the choice of Dispatchers from Quartz
2025-10-21 20:15:05 -04:00
Vitor Pamplona
db1d5c7e82
Adds the user outbox relays when loading addressables by that user.
2025-10-21 20:09:13 -04:00
Vitor Pamplona
17618ac361
Fixes bug when loading users
2025-10-21 19:29:43 -04:00
Vitor Pamplona
bf94d0d91c
For reports, only use the outbox relay if the user has it. (don't use our default bootstrapping relays)
2025-10-21 19:09:58 -04:00
Vitor Pamplona
66096e5b98
Allows an empty metadata to reload everything about the user
2025-10-21 19:09:25 -04:00
Vitor Pamplona
c8a608718c
Merge
2025-10-21 18:42:11 -04:00
Vitor Pamplona
df54f7bb67
Moves all Dispatchers.Default to IO because of the amount of Synchronized code that blocks the thread underneath each coroutine and since Default only has the exact number of threads the processor offers, once they block, we lose computing power
2025-10-21 18:30:08 -04:00
David Kaspar
5b230a4c9b
Merge branch 'main' into image-gallery-improve-layout
2025-10-22 00:10:34 +02:00
Vitor Pamplona
d8907e3dfb
Caches the User object to avoid being deleted by the soft reference on Local Cache
2025-10-21 17:52:45 -04:00
Vitor Pamplona
889e3d63ff
Merge pull request #1527 from vitorpamplona/l10n_crowdin_translations
...
New Crowdin Translations
2025-10-21 16:06:01 -04:00
Crowdin Bot
5f7b318647
New Crowdin translations by GitHub Action
2025-10-21 20:04:21 +00:00
Vitor Pamplona
e2b2b10994
- Separates a relay failure tracker to a module
...
- Updates finding the outbox relay set to include the set of connected relays before all of the relays.
2025-10-21 15:55:32 -04:00
davotoula
a055f473cb
prevent race condition: Added a state-aware rememberFirstImageOrientation helper so each gallery watches the cache until the first image’s real aspect ratio is known
2025-10-21 15:56:18 +01:00
davotoula
c735c358bb
extracted common logic
2025-10-21 15:47:20 +01:00