alperozturk
da6477fd4d
Optimize imports
...
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-12-18 14:47:12 +00:00
alperozturk
eadfb83f54
Fix tests
...
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-12-12 15:49:33 +01:00
alperozturk
e8fb0f1dfc
Fix code analytics
...
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-12-11 20:31:24 +01:00
alperozturk
15efff1804
Fix register broadcast
...
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-12-11 20:31:24 +01:00
Andy Scherzinger
273b7e547b
Update test for sdk=34
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2023-11-16 12:33:30 +01:00
Alper Ozturk
3ab49e4acc
Fix spotlessKotlinCheck
...
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:33 +02:00
Alper Ozturk
a3014ad1d3
Fix Static code analysis warnings
...
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:33 +02:00
Alper Ozturk
6ae12b0e49
Add extensions package under utils
...
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:32 +02:00
Dean Birch
d30980ddee
Fix broken unit tests
...
Signed-off-by: Dean Birch <dean.birch0@gmail.com>
2023-08-30 11:30:21 +02:00
Dean Birch
dcabaf2a7d
Extra options for uploading subfolders
...
Adds some extra options for uploading photos into various patterns of
subfolders. yyyy or yyyy/MM or yyyy/MM/dd supported.
Currently just adds an extra field for this, and has to be used in
conjunction with the "use subfolder" checkbox, the new option is greyed
out and disabled when "use subfolder" is not checked.
Signed-off-by: Dean Birch <dean.birch0@gmail.com>
2023-08-30 11:30:20 +02:00
tobiasKaminsky
b1daecac70
Set minSdkVersion to 24 + remove checks
...
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-08-03 10:53:51 +02:00
Andy Scherzinger
2a53a783de
fix formatting for spotless version bump
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2023-07-24 17:56:36 +02:00
Andy Scherzinger
c7d0d0f47d
reformat code
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2023-05-30 13:56:12 +02:00
Christian Paul
e51c0f7471
Comment Typo: it's capacity -> its capacity
...
Signed-off-by: Christian Paul <info@jaller.de>
2023-05-24 22:49:54 +02:00
tobiasKaminsky
73d87f164a
package rename
...
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-05-13 18:32:04 +02:00
tobiasKaminsky
9f49e0dbc4
moved to common package
...
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-05-13 18:32:04 +02:00
A200073727
6d5d7bf5a1
Fixed imports in existing test cases.
...
Commit id- 0db2944
from branch feature/NMC-832
Fixed imports in existing test cases.
2023-05-13 18:32:03 +02:00
tobiasKaminsky
385d0e9d46
add inject for SyncedFolderProvider
...
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-05-08 10:07:53 +02:00
tobiasKaminsky
1af18ad3cd
Secure filedrop
...
add tests
Rename .java to .kt
only show secure filedrop / sharing on NC26+
Refactor EncryptionUtils to avoid having test arguments on public method
Added secure filedrop
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
Signed-off-by: Tobias Kaminsky <tobias@nextcloud.com>
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-02-07 09:44:07 +01:00
Álvaro Brey
6d24c960a5
Fix BackgroundJobFactoryTest
...
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-01-27 11:55:35 +01:00
tobiasKaminsky
4f1d0347f4
Uses: https://github.com/nextcloud/android-library/pull/968
...
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-01-25 09:58:50 +01:00
tobiasKaminsky
b78e991d54
use localID everywhere
...
Co-authored-by: Álvaro Brey <alvaro.brey@nextcloud.com>
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-01-18 12:23:37 +01:00
Álvaro Brey
df0089ed1d
PassCodeManager: add some logic to avoid counting the same activity twice
...
This is very specific to the case where an activity extending from AuthenticatorActivity _and_ running as `singleTask`
gets restarted, in which case it calls `PassCodeManager.onActivityResumed` twice (once on `onResume` and once on `onNewIntent`).
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-01-10 14:38:16 +01:00
Álvaro Brey
6d4a65b45c
FolderPickerActivity: also disable action when trying to move or copy a folder to a descendant of itself
...
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-12-15 17:22:11 +01:00
Álvaro Brey
4118cd69c1
Cache walled check for 10 minutes
...
Tentative cache time, accepting other proposals. My rationale for 10 minutes was that 6 checks an hour seems like not too much,
while not locking the app for too long in case there's an error and the cache is not cleared on network change.
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-11-16 14:17:56 +01:00
tobiasKaminsky
54c6d519ff
Upload in background with WorkManager
...
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-17 17:22:52 +02:00
tobiasKaminsky
66d8756bec
Add tile view to media view
...
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2022-10-14 20:58:34 +02:00
Álvaro Brey
8ad0263f23
Move theme utils back to the theme package
...
No need for an extra package anymore
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:30:05 +02:00
Álvaro Brey
898d655886
Clear some uses of old color utils
...
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:30:04 +02:00
Álvaro Brey
29c2e8758f
Remove a bunch of unused injections and parameters for old theme utils
...
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:27:59 +02:00
Álvaro Brey
6ae4ac22e7
OCFileListDelegate: remove unused theme utils
...
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:27:59 +02:00
Álvaro Brey
d0a9fa2c72
Fix tints in user lists
...
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:27:58 +02:00
Álvaro Brey
e39ad8867c
Material3 theming for snackbars
...
Lots of Dagger and static code workarounds unfortunately
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:23:44 +02:00
Andy Scherzinger
6bf79d5a5f
Migrate primate drawable tinting
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:23:28 +02:00
Álvaro Brey
b3a4a5f29f
Replace ThemeAvatarUtils with common material3 utils
...
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:23:07 +02:00
Álvaro Brey
2755c78bbd
Replace ThemeButtonUtils with utils from common lib
...
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:22:04 +02:00
tobiasKaminsky
efa886b455
Add dashboard widgets
...
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2022-10-14 10:25:35 +02:00
Álvaro Brey
41a3a06a53
Fix previously undetected ktlint issues
...
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-07 17:49:23 +02:00
Álvaro Brey
43bf5b982a
TextDrawable: handle spaces at start/end of displayNames
...
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-09-23 17:13:15 +02:00
Chris Narkiewicz
98230e1296
Fix flaky Logger overflow test
...
Load event is processed before overlow condition check can
result in warning log line being appended. This resulted
in a race condition.
We simply poll the log file until we either find interesting
log line or we give up after several seconds.
Fixes #10416
Signed-off-by: Chris Narkiewicz <hello@ezaquarii.com>
2022-07-04 00:30:30 +01:00
Ole Bittner
58cc417ea7
fix ktlint error
...
Signed-off-by: Ole Bittner <dev@oleb.it>
2022-06-16 18:03:58 +02:00
Ole Bittner
53ce285aac
test onResume account check in SessionMixin
...
Signed-off-by: Ole Bittner <dev@oleb.it>
2022-06-13 23:28:35 +02:00
Álvaro Brey
91efa194c1
Merge pull request #10191 from nextcloud/fix/some-detekt
...
Fix a bunch of Detekt issues
2022-05-09 10:04:47 +02:00
Álvaro Brey
a6dc89a8e5
ShareeListAdapterTest: refactor to fix detekt issues
...
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-05-06 17:57:56 +02:00
Álvaro Brey
02f23f326d
DocumentsStorageProvider: hash the accountName for rootId map
...
This should handle the fact that accountNames are of arbitrary length
MD5 is fine for this, as it should be quicker than SHA and the chance of collisions here is very low
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-05-06 17:05:53 +02:00
Álvaro Brey Vilas
6d40f25f29
Add unit tests for FileLockingHelper
...
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-05-02 12:49:43 +02:00
Álvaro Brey Vilas
e023cedd7f
Fix GalleryAdapterTest
...
GalleryAdapter needs theme stuff now
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-04-29 06:38:14 +00:00
tobiasKaminsky
349a045b46
Move all Theme classes to DI
...
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
Move all Theme classes to DI
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
Move all Theme classes to DI
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2022-04-29 06:38:13 +00:00
Álvaro Brey Vilas
d79b20dbc5
ActivitiesPresenterTest: Activity no longer has empty constructor
...
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-04-27 19:02:43 +02:00
Álvaro Brey Vilas
fb12a65949
Fix unit test for GalleryAdapter
...
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-04-19 10:59:14 +02:00