Commit graph

96 commits

Author SHA1 Message Date
ZetaTom
f57be44343
- overhaul metadata capture and processing
- exception handling in NominatimClient
- set map boundaries
- format strings according to locale
- overlay drawables for photo pin correctly
- refactored ImageDetailFragment
- add copyright notices
- add support for metadata from server
- tint icons for dark mode

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
2023-08-29 09:28:23 +02:00
ZetaTom
050cd94418
Split test case and improve comments
Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
2023-07-28 16:58:13 +02:00
ZetaTom
f39170bc0d
Add test case for (de)select when in single file fragment
Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
2023-07-28 16:58:13 +02:00
Andy Scherzinger
8f18be1333
Merge pull request #11689 from nextcloud/fix/folderpicker-actions
Fix actions in folder picker
2023-07-28 16:41:30 +02:00
Andy Scherzinger
d58edd4dce
Merge pull request #11774 from nextcloud/updatePermissions
After successful upload update permission to have correct resharing info
2023-07-04 18:36:47 +02:00
ZetaTom
a273b6ae2f Screenshot test for multiple accounts
- remove account

Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
2023-07-03 23:40:25 +02:00
ZetaTom
b264a86dd9 Implement screenshot test for multiple accounts
Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
2023-07-03 23:40:25 +02:00
tobiasKaminsky
d772fe54f5
After successful upload update permission to have correct resharing info
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-06-26 10:31:24 +02:00
tobiasKaminsky
e0ada449b4
Do not show "stream with" option for encrypted files
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-06-21 08:01:45 +02:00
tobiasKaminsky
3df7900596
fix test on non google emulator (only with google api)
add groupfolder capability

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-06-07 15:53:28 +02:00
tobiasKaminsky
405725daf8
Remember mnemonic on device rotation
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-06-05 15:08:29 +02:00
Tobias Kaminsky
8e86617177
Merge pull request #11673 from nextcloud/fixShowingOneGroupfolder
fix showing only one groupfolder
2023-06-01 10:48:44 +02:00
Tobias Kaminsky
1e5d1e85da
Merge pull request #11286 from afflux/documentsstorageprovider-emptypath
handle files that have just been uploaded in DocumentStorageProvider
2023-05-31 08:32:11 +02:00
tobiasKaminsky
40d8ea8673 fix showing only one groupfolder
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-05-30 18:55:02 +02:00
Andy Scherzinger
c7d0d0f47d
reformat code
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2023-05-30 13:56:12 +02:00
Kjell Braden
5127f12a45 add test for successive write in DocumentsStorageProvider
Signed-off-by: Kjell Braden <afflux@pentabarf.de>
2023-05-29 11:29:21 +02:00
tobiasKaminsky
99f5941a60 use TrashbinFile
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-05-26 09:04:31 +02:00
tobiasKaminsky
d9c71edba0
fix test
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-05-17 12:01:49 +02:00
tobiasKaminsky
bbb0dbefed
cleanup
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-05-17 12:01:40 +02:00
tobiasKaminsky
5492a99e38
E2E v1.2
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-05-17 12:01:40 +02:00
Álvaro Brey
f07b222a1d
Fix types after kotlin port of some library classes
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-05-14 19:19:33 +02:00
tobiasKaminsky
f313a8317f
empty test not needed
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-05-12 14:12:24 +02:00
tobiasKaminsky
906137bf2a
add test
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-05-12 08:41:28 +02:00
tobiasKaminsky
f792a8b679
add test
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-05-12 08:10:36 +02:00
tobiasKaminsky
08f25a3505
add test
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-05-09 08:53:56 +02:00
tobiasKaminsky
d12718f2b1
Bottom sheet expands fully on landscape
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-05-08 16:16:05 +02:00
Andy Scherzinger
3e1f61afc9
Merge pull request #11515 from nextcloud/tags
Support for viewing tags
2023-05-08 10:57:24 +02:00
Andy Scherzinger
6204e8edc2
Add shortWait to ensure all galelry images are loaded
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2023-05-08 10:07:53 +02:00
tobiasKaminsky
f196bfd874
Support for viewing tags
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-05-04 13:15:08 +02:00
tobiasKaminsky
3b5d2a0391
Show empty message for gallery view
added tests

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-05-04 10:17:46 +02:00
tobiasKaminsky
860113e842
mTime: use typed parameter (long) instead of String
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-02-22 14:48:03 +01: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
tobiasKaminsky
f18225eda6
Show "unset encryption" only when E2E is setup
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-01-25 09:56:55 +01:00
Álvaro Brey
daafa24905 Fix tets that need a 8-length remote ID
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-01-18 12:23:37 +01:00
Álvaro Brey
0287e34cdc Fix wrong initialization for FileDataStorageManagerContentProviderClientIT
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-01-18 12:23:37 +01:00
tobiasKaminsky
b293ece7b4 fix test -> we need to have a 8 digit remote id for proper testing
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-01-18 12:23:37 +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
443e6984f6
Move test helper classes to a consistent package (com.nextcloud.test)
Avoids having them mixed up with the tests

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-01-12 09:36:27 +01:00
Álvaro Brey
81db4f7b54
PasscodeManagerIT: use actual actitivy for test
Can't mock PowerManager on Android < 9

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-01-11 15:37:48 +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
66e19849cb
Use RSAPublicKey interface instead of OpenSSLRsaPublicKey to avoid conscrypt version conflicts
OpenSSLRsaPublicKey has a different package when using the open-source conscrypt vs. the one inserted
by Play Services.

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-01-05 09:04:25 +01:00
tobiasKaminsky
7abef86169
Check CSR
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-01-05 09:04:23 +01:00
tobiasKaminsky
1d62ee7835
Encrypted folder cannot be deleted, must first unset encryption
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2022-12-05 09:43:40 +01:00
Álvaro Brey
ec4067c199 ArbitraryDataProvider: distinguish between null value and nonexisting entities
Not the same thing!

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-11-18 10:39:41 +01:00
Álvaro Brey
f490823e4e Extract interface from ArbitraryDataProvider for better decoupling and testing
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-11-18 10:39:41 +01:00
Álvaro Brey
c71ce3a3ee
Add screenshot test for FileActionsBottomSheet
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-11-17 09:13:59 +01:00
Álvaro Brey
829c10f9de
Fix FileMenuFilterIT for real
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-11-17 09:13:59 +01:00
Álvaro Brey
6b470f86bb
Fix mock order for FileMenuFilter
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-11-17 09:13:58 +01:00
Álvaro Brey
263d139fe2
FileMenuFilter: simplify and remove unneeded stuff for new approach
We're always starting from the full list and removing stuff now, so toShow makes no sense

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-11-17 09:13:57 +01:00
Álvaro Brey
689a4bda6a
Extract responsibilities from FileMenuFilter static methods to utility classes.
God class count -= 1

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-11-17 09:13:56 +01:00