Commit graph

10228 commits

Author SHA1 Message Date
Andy Scherzinger
a5c8337c79
Merge pull request #7088 from nextcloud/coolLink
Collabora: click on hyperlink opens it in browser, not in webview
2020-10-20 22:28:10 +02:00
tobiasKaminsky
163422e6ff
fix tests
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-10-20 22:20:25 +02:00
tobiasKaminsky
58591832c8
As soon as we have a thumbnail we should stop shimmer.
This happens when a thumbnail is available, but one scrolls and then come back to the thumbnail, as image view is recycled

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-10-20 22:12:57 +02:00
Nextcloud bot
781ca558b5
[tx-robot] updated from transifex 2020-10-17 03:39:54 +00:00
Andy Scherzinger
b0d6f944ce
Merge pull request #7106 from o3661606/fix-7103
#7103 Remove item divider in share list
2020-10-16 20:13:46 +02:00
Michael Lam
ba5f47dbe9 #7103 Remove item divider in share list 2020-10-17 00:09:25 +08:00
Andy Scherzinger
ed3c607da5
Merge pull request #7099 from nextcloud/appCloses
Fix wrong handling of back button (#7067)
2020-10-16 18:02:07 +02:00
tobiasKaminsky
4eb9ae0947
If file is valid, then allow upload
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-10-16 10:27:54 +02:00
tobiasKaminsky
45367ee3f4
Fix wrong handling of back button (#7067)
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-10-16 06:52:09 +02:00
Nextcloud bot
4b91b23c28
[tx-robot] updated from transifex 2020-10-16 03:40:45 +00:00
Andy Scherzinger
ee01ed385e
Merge pull request #7042 from nextcloud/enh/coverArtFilter
Auto Upload: Ignore folders that have no-images or seem to be music albums
2020-10-15 15:26:44 +02:00
Andy Scherzinger
a1832eb908
Merge pull request #7086 from nextcloud/hideEmptyRichWorkspacses
Do not show rich workspace if it only contains whitespaces
2020-10-15 14:47:34 +02:00
Andy Scherzinger
0f94eefe33
codacy: remove unused variable
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2020-10-15 11:35:59 +02:00
Andy Scherzinger
e20e0dbf92
utilze TextUtils, remove unused code
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2020-10-15 11:35:58 +02:00
Andy Scherzinger
219ca5fb93
invert folder name filter check, move to standard Android view binding
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2020-10-15 11:35:58 +02:00
Andy Scherzinger
57c3f3cf2f
remove unused import
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2020-10-15 11:35:57 +02:00
Andy Scherzinger
2113ea26f2
ignore thumbnail-related data on auto upload
Resolves #7085
Resolves #4350

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2020-10-15 11:35:56 +02:00
Andy Scherzinger
608dbd998f
ignore thumbnauil folders for detection/display - related to #7085
ignore thumbdata files for detection - related to #3177

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2020-10-15 11:35:56 +02:00
Andy Scherzinger
2fe3369210
add tests
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2020-10-15 11:35:55 +02:00
Andy Scherzinger
2c5f5e43a7
ignore image-media folders that have no-images _or_ seem to be music albums (just a single cover art image)
block detection notification and hide in lists

related to #3239

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2020-10-15 11:35:51 +02:00
Andy Scherzinger
23b5f594d2
lint: use proper date format
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2020-10-15 10:51:51 +02:00
Andy Scherzinger
ec09b7cf72
Merge pull request #7094 from nextcloud/anyCamera
Any camera (front/back) is enough for scanning QR or taking an image
2020-10-15 10:06:21 +02:00
tobiasKaminsky
149dce7571
Null safe
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-10-15 10:05:39 +02:00
tobiasKaminsky
7982a9f223
add tests
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-10-15 10:01:01 +02:00
tobiasKaminsky
9b2ce0c845
Do not show rich workspace if it only contains whitespaces
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-10-15 10:01:01 +02:00
Tobias Kaminsky
a07b11df71
Merge pull request #7050 from grote/4998-cancel-notification
Ensure that upload notification gets cancelled
2020-10-15 09:54:22 +02:00
tobiasKaminsky
06a7800eb1
Any camera (front/back) is enough for scanning QR or taking an image
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-10-15 09:52:52 +02:00
Nextcloud bot
58cfa69247
[tx-robot] updated from transifex 2020-10-15 03:39:11 +00:00
Andy Scherzinger
5ebd4b007c
Merge pull request #7052 from nextcloud/resourceFix
streamline layout for user infos
2020-10-14 15:56:29 +02:00
Andy Scherzinger
7a8a08d4eb
Merge pull request #7045 from nextcloud/codacy
Codacy
2020-10-14 15:53:54 +02:00
tobiasKaminsky
7edd1f22fa
Collabora: click on hyperlink opens it in browser, not in webview
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-10-14 12:13:30 +02:00
tobiasKaminsky
7b57950abf
switch to users
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-10-14 08:44:15 +02:00
drone
0a3300c529 Merge commit '0bd091b35038841a1dc3a500dcec2ad21f95f527' 2020-10-14 06:24:02 +00:00
tobiasKaminsky
0bd091b350
use view bindings
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-10-14 08:23:36 +02:00
Nextcloud bot
baff5f2f64
[tx-robot] updated from transifex 2020-10-14 03:43:21 +00:00
Andy Scherzinger
10999af2ab
remove unused dimension value
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2020-10-13 18:02:50 +02:00
Andy Scherzinger
cec7328bcf
use correct avatar radius
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2020-10-13 18:02:41 +02:00
Andy Scherzinger
29ba8c948f
trigger save state info processing in test
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2020-10-13 18:02:41 +02:00
Andy Scherzinger
4aac2d48d3
User Info screen tests
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2020-10-13 18:02:40 +02:00
Andy Scherzinger
41056302dd
streamline layout for user infos
Fix #7047

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2020-10-13 18:02:39 +02:00
Andy Scherzinger
0417382417
codacy: Avoid appending characters as strings in StringBuffer.append
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2020-10-13 18:01:49 +02:00
Andy Scherzinger
6d33d71c0d
codacy: Avoid unused imports
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2020-10-13 18:01:48 +02:00
Andy Scherzinger
c0504e72a3
codacy: Avoid unused local variables
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2020-10-13 18:01:48 +02:00
Andy Scherzinger
8ee3664601
codacy: Avoid unused private fields
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2020-10-13 18:01:47 +02:00
Nextcloud bot
d57a6f81c0
[tx-robot] updated from transifex 2020-10-13 03:41:47 +00:00
Nextcloud bot
4999ddad80
[tx-robot] updated from transifex 2020-10-12 03:38:56 +00:00
Nextcloud bot
e264454730
[tx-robot] updated from transifex 2020-10-10 03:43:36 +00:00
Andy Scherzinger
c47dead2af
Merge pull request #7060 from nextcloud/removeOverrideLib
override lib is not needed anylonger
2020-10-07 11:11:17 +02:00
tobiasKaminsky
e187af77f0
override lib is not needed anylonger
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-10-07 09:10:17 +02:00
Nextcloud bot
250bcef15a
[tx-robot] updated from transifex 2020-10-07 03:37:44 +00:00
Andy Scherzinger
92fbc7b63b
remove unused resource
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2020-10-06 11:28:28 +02:00
Torsten Grote
931aac7345
Ensure that upload notification gets cancelled
Normally, the notification gets cancelled when the service is destroyed.
But that does not always happen in practice, so we also cancel it after
every result.

Signed-off-by: Torsten Grote <t@grobox.de>
2020-10-05 13:28:55 -03:00
Nextcloud bot
44d97594cf
[tx-robot] updated from transifex 2020-10-05 03:40:04 +00:00
Nextcloud bot
13ca0d8442
[tx-robot] updated from transifex 2020-10-04 03:40:32 +00:00
Nextcloud bot
cde3ca4cf9
[tx-robot] updated from transifex 2020-10-03 03:42:11 +00:00
Andy Scherzinger
33d26c6322
spotbugs: Method does not presize the allocation of a collection
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2020-10-02 22:43:05 +02:00
Andy Scherzinger
9a730d8c0b
use a constant for equals statement
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2020-10-02 22:43:04 +02:00
tobiasKaminsky
cfdd3d4588
Add send multiple files, if downloaded
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-10-02 22:43:03 +02:00
Andy Scherzinger
61aaba5b33
Merge pull request #7011 from dassio/skip_upload
add skip option in case of name collision
2020-10-02 22:41:33 +02:00
tobiasKaminsky
6a5f5f4c41
add tests
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-10-02 16:10:17 +02:00
Andy Scherzinger
501eb7de89
Merge pull request #7030 from nextcloud/preventFirebaseCrashes
Prevent firebase crashes
2020-10-02 10:22:32 +02:00
tobiasKaminsky
b66adb9199
Prevent firebase crashes
https://firebase.google.com/docs/analytics/configure-data-collection?platform=android

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-10-02 08:53:05 +02:00
Nextcloud bot
b83bf828f2
[tx-robot] updated from transifex 2020-10-02 03:34:02 +00:00
tobiasKaminsky
b9d84c36f1
re-add flag_secure to prevent showing content if app is locked
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-10-01 20:38:15 +02:00
Andy Scherzinger
d6a02ce765
drop Android 4.3, new min version is Android 4.4
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2020-10-01 12:06:14 +02:00
Nextcloud bot
64659dae12
[tx-robot] updated from transifex 2020-10-01 03:41:31 +00:00
Tobias Kaminsky
d782da2fe9
Merge pull request #6917 from jmue/fixStaleFileContents
DocumentsStorageProvider: prevent opening stale file contents
2020-09-30 11:35:51 +02:00
Nextcloud bot
d3c33c1f95
[tx-robot] updated from transifex 2020-09-30 03:40:57 +00:00
Nextcloud bot
c3731a3e1e
[tx-robot] updated from transifex 2020-09-29 03:42:45 +00:00
Nextcloud bot
92e28a40d2
[tx-robot] updated from transifex 2020-09-28 03:39:14 +00:00
Nextcloud bot
ca1509cda5
[tx-robot] updated from transifex 2020-09-27 03:38:27 +00:00
Nextcloud bot
f38c84f11f
[tx-robot] updated from transifex 2020-09-26 03:39:23 +00:00
dassio
b408c74b04 add skip option in case of name collision
Signed-off-by: dassio <dassio@icloud.com>
2020-09-25 11:46:49 +01:00
tobiasKaminsky
2d0a8cceee
re-add grey200
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-09-25 12:20:20 +02:00
Tobias Kaminsky
01d6ab9c91
Merge pull request #7006 from nextcloud/errorTextSelectable
Stacktrace is selectable in error activity
2020-09-25 10:52:43 +02:00
Tobias Kaminsky
b5f75494c6
Merge pull request #7001 from nextcloud/mnemonic
enhance mnemonic on dark mode
2020-09-25 10:51:43 +02:00
Tobias Kaminsky
10de257720
Merge pull request #6997 from grote/4998-single-upload-notification
Re-use the existing foreground notification for FileUploader progress notifications
2020-09-25 07:42:15 +02:00
tobiasKaminsky
a29739c6de
enhance mnemonic on dark mode
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-09-25 07:41:33 +02:00
tobiasKaminsky
52472f500e
Stacktrace is selectable in error activity
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-09-25 07:35:35 +02:00
Tobias Kaminsky
f1e7a58767
Merge pull request #6999 from nextcloud/shimmerOnlyOnMedia
Do not show shimmer on folders
2020-09-25 07:24:49 +02:00
Nextcloud bot
86c54b1d1e
[tx-robot] updated from transifex 2020-09-25 03:43:13 +00:00
Torsten Grote
6dc30d88ba
Re-use the existing foreground notification for FileUploader progress
notifications

Signed-off-by: Torsten Grote <t@grobox.de>
2020-09-24 09:35:12 -03:00
tobiasKaminsky
950c393d69
Do not show shimmer on non-media files
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-09-24 13:08:06 +02:00
Tobias Kaminsky
c781447559
Merge pull request #6504 from nextcloud/sharingPart2
Sharing part2
2020-09-24 09:11:06 +02:00
Nextcloud bot
44f1a50cdb
[tx-robot] updated from transifex 2020-09-24 03:40:06 +00:00
tobiasKaminsky
e70aedaae7
wip
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-09-23 15:52:12 +02:00
tobiasKaminsky
7fdda6ace0
use new server for tests
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-09-23 11:22:45 +02:00
tobiasKaminsky
5c9f5a5c4f
wip
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-09-23 10:08:38 +02:00
tobiasKaminsky
ed90d07a17
detekt, ktlint
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-09-23 09:39:58 +02:00
Tobias Kaminsky
750e4de407
Merge pull request #6983 from nextcloud/sso
directly go back to app if SSO is used
2020-09-23 09:27:53 +02:00
tobiasKaminsky
92070d2934
wip
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-09-23 09:26:04 +02:00
tobiasKaminsky
6a1292d690
Rename .java to .kt
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-09-23 09:26:04 +02:00
drone
b516eaf657 Merge commit 'c95615aeaa7090c5b4e6e07fdd6e790af31a5b00' 2020-09-23 06:14:57 +00:00
tobiasKaminsky
c95615aeaa
wip
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-09-23 08:14:35 +02:00
Torsten Grote
f7e711d98d
Update DocumentsProvider roots when enabling/disabling app lock feature
Signed-off-by: Torsten Grote <t@grobox.de>
2020-09-22 16:50:10 -03:00
tobiasKaminsky
c8a49d99ba
Merge remote-tracking branch 'remotes/origin/master' into sharingPart2
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-09-22 08:14:43 +02:00
tobiasKaminsky
b01fdbab1b
New media scanner: only use with valid path
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-09-21 13:22:10 +02:00
tobiasKaminsky
07e4ac28df
directly go back to app if SSO is used
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-09-21 11:19:52 +02:00
Andy Scherzinger
c11e44257a
Merge pull request #6981 from nextcloud/webviewDebugOnDev
Add debug webview when using versionDev built
2020-09-21 09:21:10 +02:00
Tobias Kaminsky
7415f7ea2c
Merge pull request #6928 from nextcloud/doNotShowListHeaderOnResume
Do not show sortList group upon resume
2020-09-21 09:05:35 +02:00
tobiasKaminsky
9e2b101663
Add debug webview when using versionDev built
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-09-21 07:33:31 +02:00
Nextcloud bot
900e6f1c8d
[tx-robot] updated from transifex 2020-09-21 03:33:27 +00:00
Nextcloud bot
8c07a92615
[tx-robot] updated from transifex 2020-09-20 03:33:04 +00:00
Nextcloud bot
c5734bc1da
[tx-robot] updated from transifex 2020-09-19 03:35:30 +00:00
Nextcloud bot
8fe5ce3ce0
[tx-robot] updated from transifex 2020-09-18 03:32:21 +00:00
Tobias Kaminsky
5f8bd7d5f0
Merge pull request #6961 from nextcloud/comment
Fix not showing comments in file detail view
2020-09-17 16:31:05 +02:00
Tobias Kaminsky
1e09ae2787
Merge pull request #6947 from nextcloud/removeDualPane2
Remove dual pane for rich workspaces
2020-09-17 16:19:07 +02:00
Nextcloud bot
074af5c104
[tx-robot] updated from transifex 2020-09-17 04:15:06 +00:00
tobiasKaminsky
ea623aa01e
Remove dual pane for rich workspaces
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-09-16 11:00:46 +02:00
tobiasKaminsky
4ca33a8438
- removed test data
- added tests

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-09-16 10:36:06 +02:00
Nextcloud bot
f50a204a79
[tx-robot] updated from transifex 2020-09-16 03:29:18 +00:00
Andy Scherzinger
19df0c9695
Merge pull request #6866 from nextcloud/2charUI
UI test: sharees in file list
2020-09-15 13:52:17 +02:00
tobiasKaminsky
e0700c376c
new tests for avatars, shares in OCFileList
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-09-15 08:47:31 +02:00
Jens Mueller
69f3f804e2 fix ktlint
Signed-off-by: Jens Mueller <tschenser@gmx.de>
2020-09-15 05:36:32 +02:00
Jens Mueller
a4b0e29d80 fix review comments
Signed-off-by: Jens Mueller <tschenser@gmx.de>
2020-09-14 20:35:20 +02:00
tobiasKaminsky
d09490eb89
fix #6818
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-09-14 15:10:18 +02:00
tobiasKaminsky
75cd055676
remove unneeded parentheses
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-09-14 14:59:30 +02:00
tobiasKaminsky
27277f1970
open PreviewTextFragment within left fragment
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-09-14 14:59:30 +02:00
tobiasKaminsky
edaffa4c0f
detect tablet mode again
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-09-14 14:59:30 +02:00
Nextcloud bot
65145ca1c5
[tx-robot] updated from transifex 2020-09-13 03:20:33 +00:00
Nextcloud bot
9a1554f650
[tx-robot] updated from transifex 2020-09-12 03:21:07 +00:00
Jens Mueller
f9a82f9ed9 add integration test
Signed-off-by: Jens Mueller <tschenser@gmx.de>
2020-09-12 00:09:51 +02:00
Jens Mueller
c00e7b3dbb fix review comments
Signed-off-by: Jens Mueller <tschenser@gmx.de>
2020-09-12 00:02:49 +02:00
Tobias Kaminsky
fe3ef767cd
Merge pull request #6918 from jmue/storageProviderCleanup
unify context access
2020-09-11 10:47:16 +02:00
Tobias Kaminsky
caabf7b5dc
Merge pull request #6880 from grote/upload-retries
Don't disable upload retries for uploads from DocumentsProvider
2020-09-11 10:36:31 +02:00
Jens Mueller
a5272c5700 fix codacy comments
Signed-off-by: Jens Mueller <tschenser@gmx.de>
2020-09-10 21:36:27 +02:00
Jens Mueller
cae0e77267 fix codacy comments
Signed-off-by: Jens Mueller <tschenser@gmx.de>
2020-09-10 21:12:03 +02:00
tobiasKaminsky
eb839c3968
do not use internal FieldSetter
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-09-10 12:46:51 +02:00
Tobias Kaminsky
7f729e630e
Merge pull request #6892 from nextcloud/richWorkspacesTest
add tests for rich workspaces
2020-09-10 08:15:00 +02:00
Nextcloud bot
23cc09bc0b
[tx-robot] updated from transifex 2020-09-10 03:27:24 +00:00
Jens Mueller
e15f8fbc6c DocumentsStorageProvider: prevent opening stale file contents
fix #6883

Signed-off-by: Jens Mueller <tschenser@gmx.de>
2020-09-09 20:27:46 +02:00
Jens Mueller
b329bc9149 unify context access
Signed-off-by: Jens Mueller <tschenser@gmx.de>
2020-09-09 20:17:30 +02:00
Torsten Grote
6699c2437a
Don't disable upload retries for uploads from DocumentsProvider
Signed-off-by: Torsten Grote <t@grobox.de>
2020-09-09 16:38:51 +02:00
tobiasKaminsky
6c7b96db53
wip
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-09-09 16:37:20 +02:00
tobiasKaminsky
be357db8f1
codacy
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-09-09 13:06:52 +02:00
tobiasKaminsky
0d942cca55
ktlint
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-09-09 13:06:52 +02:00
tobiasKaminsky
1a32e9b268
detekt
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-09-09 13:06:52 +02:00
tobiasKaminsky
a6c898d2a5
cleanup
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-09-09 13:06:52 +02:00
tobiasKaminsky
50c7635869
wip
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-09-09 13:06:49 +02:00
tobiasKaminsky
bd3f22f65d
wip
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-09-09 13:06:35 +02:00
tobiasKaminsky
d6d0c5939c
wip
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-09-09 13:06:35 +02:00
tobiasKaminsky
01f27dd08c
wip
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-09-09 13:06:35 +02:00
tobiasKaminsky
4dfefee31a
wip
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-09-09 13:06:35 +02:00
tobiasKaminsky
8b6171361a
wip
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-09-09 13:06:35 +02:00
tobiasKaminsky
7b2ed741bd
wip
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-09-09 13:06:35 +02:00
tobiasKaminsky
4f8de5731d
wip
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-09-09 13:06:35 +02:00
tobiasKaminsky
a470bd1f56
wip
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-09-09 13:06:35 +02:00
tobiasKaminsky
996b0f0e67
wip
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-09-09 13:06:35 +02:00
tobiasKaminsky
20d24d8a6d
wip
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-09-09 13:06:35 +02:00
tobiasKaminsky
82d36f0cab
wip
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-09-09 13:06:35 +02:00
tobiasKaminsky
90efc2cdfc
add tests for rich workspaces:
as we will have light/dark screenshots for all, we do not have to do this here manually

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-09-09 12:59:55 +02:00
Nextcloud bot
1c9506c86f
[tx-robot] updated from transifex 2020-09-09 03:21:19 +00:00
Tobias Kaminsky
fdeca7c5a2
Merge pull request #6900 from nextcloud/fixCheckIfEnoughSpace
Fix npe on computing enough space with non-downloaded folder content
2020-09-08 14:38:15 +02:00
tobiasKaminsky
1547bc7b16
Fix npe on computing enough space with non-downloaded folder content
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-09-08 07:07:51 +02:00
Nextcloud bot
bcb82833d7
[tx-robot] updated from transifex 2020-09-08 03:21:15 +00:00
Tobias Kaminsky
51cf63b79b
Merge pull request #6886 from nextcloud/docImage
DocumentsStorageProvider: open thumbnail directly
2020-09-07 10:02:35 +02:00
Nextcloud bot
d031185f48
[tx-robot] updated from transifex 2020-09-05 03:30:42 +00:00
tobiasKaminsky
5db18a24d3
DocumentsStorageProvider: open thumbnail directly
fix #6884

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-09-04 08:15:34 +02:00
Tobias Kaminsky
77c0d4b054
Merge pull request #6533 from nextcloud/ocFileListTest
add TestActivity to launch fragments in it
2020-09-04 07:51:43 +02:00
Nextcloud bot
a3dbd08ac2
[tx-robot] updated from transifex 2020-09-04 03:31:08 +00:00
tobiasKaminsky
3972ddf98c
do not use preview, but directly show placeholder
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-09-03 15:53:04 +02:00
Tobias Kaminsky
8af7aefd81
Merge pull request #6871 from jmue/fix-share-scrollview
fix inplace scrollview in sharing fragment
2020-09-03 10:25:04 +02:00
Tobias Kaminsky
33ece4a557
Merge pull request #6817 from nextcloud/avatar
Avatar: use display name & adapted algorithm to server one
2020-09-03 10:21:57 +02:00
tobiasKaminsky
16d839c262
use longer sleep
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-09-03 10:08:10 +02:00
tobiasKaminsky
e07c2d169a
- use display name for avatar generation
- use new server algorithm
Ref: https://github.com/nextcloud/nextcloud-vue/blob/master/src/functions/usernameToColor/usernameToColor.js

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-09-03 09:19:03 +02:00
Nextcloud bot
546907ac57
[tx-robot] updated from transifex 2020-09-03 03:30:46 +00:00
tobiasKaminsky
68adfc6c4d
removed outdated search enums
longer pause

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-09-02 15:20:47 +02:00
Tobias Kaminsky
ebd39db114
Merge pull request #6822 from nextcloud/reduceFileActivity
Reduce extend of FileActivity, use DrawerActivity instead
2020-09-02 15:15:46 +02:00
Tobias Kaminsky
3b2eb969c4
Merge pull request #6870 from nextcloud/testUploadConditions
Fix not waiting for non-metered wifi
2020-09-02 13:38:29 +02:00
Tobias Kaminsky
1381f594f7
Merge pull request #6858 from nextcloud/fixAccountWarning
Fix crashing app when adding same account for second time when using qrCode
2020-09-02 13:37:36 +02:00
Tobias Kaminsky
f807397bdd
Merge pull request #6806 from nextcloud/grote/improve-documentsprovider-add-tests
Improve DocumentsProvider and add tests
2020-09-02 12:27:17 +02:00
Tobias Kaminsky
90978dda4a
Merge pull request #6875 from nextcloud/trashbinIT
fix Trashbin IT
2020-09-02 11:02:30 +02:00
tobiasKaminsky
430a94ff0e
fix Trashbin IT
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-09-02 10:12:19 +02:00
Tobias Kaminsky
47d66d6356
Merge pull request #6748 from nextcloud/noStickyBroadcasts
no sticky broadcast
2020-09-02 09:33:42 +02:00
tobiasKaminsky
86d1a2820f
fix spotbugs
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-09-02 09:31:32 +02:00
Tobias Kaminsky
75066c8673
Merge pull request #6798 from nextcloud/ezaquarii/fix-illegal-state-exception-when-stopping-audio-player
Start audio player using foreground service API on Android 26+
2020-09-02 09:04:28 +02:00
Nextcloud bot
0efd71d62c
[tx-robot] updated from transifex 2020-09-02 05:32:13 +00:00
Jens Mueller
031e506ec0 fix inplace scrollview in sharing fragment
Signed-off-by: Jens Mueller <tschenser@gmx.de>
2020-09-01 17:17:53 +02:00
tobiasKaminsky
4e0c111395
removed unneeded layout
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-09-01 13:11:15 +02:00
tobiasKaminsky
e6a516f10a
Fix not waiting for non-metered wifi
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-09-01 12:35:20 +02:00
tobiasKaminsky
a3cb17a829
add TestActivity to launch fragments in it
fix wrong class cast exception message

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-08-31 17:05:57 +02:00
tobiasKaminsky
fc2e84a5b0
do not use scale larger than max scale
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-08-31 11:07:11 +02:00
tobiasKaminsky
ebf7097042
Fix crashing app when adding same account for second time when using qrCode
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-08-31 10:52:33 +02:00
Tobias Kaminsky
90a7e00c62
Merge pull request #6762 from nextcloud/enoughSpaceComputation
compute space: take downloaded folder into account
2020-08-31 08:25:44 +02:00
tobiasKaminsky
15dcad229c
no sticky broadcast:
- use local broadcast system instead
- no need to remove sticky broadcasts then

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-08-28 12:34:20 +02:00
Tobias Kaminsky
adff9511e9
Merge pull request #6819 from nextcloud/twoChars
Use two chars for avatars
2020-08-28 12:27:40 +02:00
Torsten Grote
27f48b331f
Instrumentation tests for DocumentsProvider
Note there's still some FIXMEs in the tests that hint at bugs discovered
by the tests.

Also this is very incomplete, but a good beginning for further tests.

Signed-off-by: Torsten Grote <t@grobox.de>
2020-08-27 11:18:14 -03:00
Torsten Grote
1fdea37c2b
Improve DocumentsProvider implementation
The initial goal was to make all operations completely synchronous,
so failures can be detected by apps using our DocumentsProvider.

However, `#openDocument()` could not be made fully synchronous,
because we need to wait for the ParcelFileDescriptor we are returning to
close before we can upload a file.
Nextcloud works with locally cached files that only get synchronized to
remote storage.

Things I have tried:

* Use the Handler from the calling I/O Thread:
  not guaranteed to have a prepared Looper,
  so can't always create Handler on that Thread
* Extend ParcelFileDescriptor and override its close() methods:
  For some reason they don't get called when the stream gets closed
* notify the content URI when the upload is complete,
  so callers can wait for the notification:
  works, but is non-standard.
  Other DPs are not doing it,
  so it requires Nextcloud specific code on caller side
  and is still hacky:
  what happens if notification doesn't come? Timeout, but for how long?
* use other ways to get a ParcelFileDescriptor on the file:
  couldn't find anything that would interface with Nextcloud's
  current architecture

Signed-off-by: Torsten Grote <t@grobox.de>
2020-08-27 11:18:13 -03:00
tobiasKaminsky
6fcc95d117
compute space: take downloaded folder into account
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-08-27 15:38:27 +02:00
Tobias Kaminsky
da2352974c
Merge pull request #6774 from nextcloud/noNullOnDataSet
arbitrary data set: store "" instead of null
2020-08-27 15:31:40 +02:00
Tobias Kaminsky
c149813e2b
Merge pull request #6805 from nextcloud/ezaquarii/fix-unresponsive-audio-player-controls-with-linear-layout
Fix unresponsive preview player controls
2020-08-27 15:31:12 +02:00
Tobias Kaminsky
8a5d58a64e
Merge pull request #6725 from grote/is-child-performance
Improve performance of DocumentsProvider#isChildDocument()
2020-08-27 15:29:15 +02:00
Nextcloud bot
9183e3c9d1
[tx-robot] updated from transifex 2020-08-27 03:31:06 +00:00
tobiasKaminsky
2a0f14231a
Reduce extend of FileActivity, use DrawerActivity instead
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-08-26 15:14:21 +02:00
tobiasKaminsky
12f827e063
Use two chars for avatars
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-08-26 10:41:27 +02:00
Tobias Kaminsky
8fc2bcdab0
Merge pull request #6807 from merttumer/master
Fix insert image file picker only opens once
2020-08-26 09:10:30 +02:00
Nextcloud bot
6b80669000
[tx-robot] updated from transifex 2020-08-26 03:31:16 +00:00
merttumer
e37635e602
Fix insert image file picker only opens once
When no image is selected from the intent we should set onReceiveValue to null and uploadMessage to null otherwise it does not open after closing it without selecting an image.
2020-08-25 22:51:12 +03:00
Chris Narkiewicz
6feedf881f
Start audio player using foreground service API on Android 26+
On API 26+ (Oreo, 8.0) running background services is restricted
by power saving mechanisms, causing occasional IllegalStateException
when service intent is rejected by the OS.

Migrate to startForegroundService API to mitigate this problem.
Audio player service is foreground by design.

Fixes #6665

Signed-off-by: Chris Narkiewicz <hello@ezaquarii.com>
2020-08-25 18:55:13 +01:00
Chris Narkiewicz
6e6f8303a8
Fix unresponsive preview player controls
Media controls view were covered by a ScrollView
stealing all touch events. By changing it to FrameLayout,
touch events can reach media controls.

Content embedded inside ScrollView should not
exceed screen boundaries. If so - content must
be changed.

This fixes immediate problem with unresponsive media controls
reported in #6796 and #6782.

Signed-off-by: Chris Narkiewicz <hello@ezaquarii.com>
2020-08-25 18:24:58 +01:00