Commit graph

79 commits

Author SHA1 Message Date
alperozturk
7b8e3cfe0f
Fix tests
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-11 09:52:57 +02:00
Andy Scherzinger
eae3dc450c
chore: Add SPDX header
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-08-01 22:47:47 +02:00
alperozturk
d982ae2e7a
Fix test
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-07-08 15:05:55 +02:00
Andy Scherzinger
40d45bcb7a
fix: ktlint compliant kotlin formatting/code
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-06-27 20:29:23 +02:00
Alper Öztürk
a352271896
Merge pull request #13074 from nextcloud/bugfix/fix-npe-FileDataStorageManager
Bugfix Fix NPE FileDataStorageManager
2024-06-13 15:42:56 +02:00
alperozturk
fb9e2e0ef2 Account cannot be null so test is removed
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-06-12 09:24:08 +02:00
alperozturk
ae15f5c733 Remove unnecessary FileDataStorageManager initialization in SessionMixin
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-06-12 09:24:08 +02:00
tobiasKaminsky
2dc16fcc6d
new min server is NC17
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2024-06-11 08:50:24 +02:00
Jonas Mayer
46eaf83a5a add start FileSyncForAllFolders function
Signed-off-by: Jonas Mayer <jonas.a.mayer@gmx.net>
2024-05-28 20:06:28 +02:00
Andy Scherzinger
e3d57e7c42
Update SPDX header to reflect correct state
Resolves #12920

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-04-30 12:18:45 +02:00
Jonas Mayer
fef1458a06 fix unit test
Signed-off-by: Jonas Mayer <jonas.a.mayer@gmx.net>
2024-04-16 16:24:15 +02:00
Andy Scherzinger
ce8b5cdb2e
Add SPDX header
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-04-09 15:22:13 +02:00
Andy Scherzinger
40a343e895
Add SPDX header
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-04-08 13:49:07 +02:00
Andy Scherzinger
3bc5171ca1
Add SPDX header
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-04-07 16:28:00 +02:00
Andy Scherzinger
00b09048a9
Add SPDX header
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-04-07 11:09:29 +02:00
Andy Scherzinger
29c46b22e0
Add SPDX header
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-04-05 10:05:34 +02:00
Andy Scherzinger
65bca7903e
Add SPDX header
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-04-02 22:35:14 +02:00
Andy Scherzinger
a12c51931e
Add SPDX headers
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-03-30 20:14:02 +01:00
alperozturk
36e02b14c1 Fix kotlin object call
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-02-23 08:53:56 +01:00
JinWeiyang
82fc3cf217 add exclude hidden file or folder option when create custom media folder type
Signed-off-by: JinWeiyang <jwy8645@163.com>
2024-02-13 08:40:54 +01:00
alperozturk
d83844fe1f Fix imports
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-27 12:45:33 +01:00
alperozturk
02287fd80b Rebase master
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-27 12:45:33 +01:00
alperozturk
d67a87fdb4 Rebase master
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-27 12:45:33 +01:00
alperozturk
7d20b3e62a Rebase master
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-27 12:45:33 +01:00
alperozturk
0b0691a3ac Rebase master
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-27 12:45:33 +01:00
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