Commit graph

17631 commits

Author SHA1 Message Date
Álvaro Brey Vilas
e898965dc1
Unified search: transform results in ViewModel and fix "load more" behaviour
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-10-25 15:17:52 +02:00
Álvaro Brey Vilas
484a506688
Unified search: do not show "load more" if there are no more results
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-10-25 15:17:52 +02:00
Álvaro Brey Vilas
c816aee5b1
CI: screenshotTests: always delete old comments
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-10-25 15:17:51 +02:00
Álvaro Brey Vilas
e8feb412a4
Unified search: basic "Load more" functionality
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-10-25 15:17:51 +02:00
Álvaro Brey Vilas
02d133a1c7
Unified search: always show files results first
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-10-25 15:17:51 +02:00
Álvaro Brey Vilas
6c98b4cb8d
Unified seach: allow querying different providers asynchronously, and get their IDs in the result
First step towards getting "Load more" working for a single provider

Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-10-25 15:17:50 +02:00
Álvaro Brey Vilas
b0b9d3a3e3
Unified search: get search to fetch and show multiple providers
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-10-25 15:17:50 +02:00
Álvaro Brey Vilas
decfc91d58
FileDisplayActivity: Restore showFile function that was lost in the rebase
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-10-25 15:17:50 +02:00
Álvaro Brey Vilas
7d3fbe47d0
Suppress detekt at UnifiedSearchItemViewHolder
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-10-25 15:17:49 +02:00
Álvaro Brey Vilas
276b8d7b28
Fix build errors after rebase
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-10-25 15:17:49 +02:00
Andy Scherzinger
57732aceb9
ktlint: proper code formatting
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-10-25 15:17:49 +02:00
tobiasKaminsky
1136aa3748
wip
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-10-25 15:17:48 +02:00
tobiasKaminsky
232ffe7d5c
wip
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-10-25 15:17:48 +02:00
tobiasKaminsky
96ea22525e
wip
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-10-25 15:17:48 +02:00
tobiasKaminsky
3a39b041de
wip
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-10-25 15:17:46 +02:00
Álvaro Brey Vilas
dc5756246a
Sharing dialog: fix spotbugs
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-10-25 15:13:08 +02:00
Álvaro Brey Vilas
295c24aa78
File sharing: remove unused background parameters that were triggering lint
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-10-25 15:13:07 +02:00
Álvaro Brey Vilas
80327fc3b9
Sharing dialog IT: add retries and sleeps
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-10-25 15:13:07 +02:00
Álvaro Brey Vilas
5afcad3fed
FileSharingFragmentIT: fix test and delete unused variables
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-10-25 15:13:07 +02:00
tobiasKaminsky
891146eb8a
Reduce lint
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-10-25 15:13:06 +02:00
Álvaro Brey Vilas
b367684e21
Patch up integration tests for file sharing
This requires a lot of dodgy code, unfortunately. A refactor is greatly needed here.

Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-10-25 15:13:06 +02:00
Álvaro Brey Vilas
42ac3bcb11
Sharing dialog: fix accessibility in bottom sheet
Add min height for touchable area.

Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-10-25 15:13:06 +02:00
tobiasKaminsky
80b8173e45
fix ktlint
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-10-25 15:13:06 +02:00
A117870935
df6d590196
Sharing dialog improvement
changed overflow menu items for sharing files and folders

completed NMCLOUD-350 for share permissions and fixed test cases as per new changes

permission menu code optimisation

added permission display to share fragment list items

fixed permission issue for files, added strings for german

changed sharing process for internal and external share by creating new full screen permission and note ui.
created new remote operation to share the file/folder with permissions

changed sharing menu options from popup to bottom sheet for all shares, modified options for link share

test cases written for updated sharing process

updated PR as per Tobias feedback:
1. Failed test cases reverted
2. Quick permissions sheet modified
3. Minor UI changes done.
4. Commented code removed

copyright header added

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-10-25 15:12:58 +02:00
Tobias Kaminsky
215c1c90db
Merge pull request #9015 from nextcloud/calendarSync
Calendar backup/import
2021-10-25 15:09:11 +02:00
Tobias Kaminsky
d544e18960
Merge pull request #9112 from nextcloud/profilePage
Profile page
2021-10-25 15:07:32 +02:00
Tobias Kaminsky
765e2ca442
Merge pull request #9125 from eckR/bugfix/fix-email-type
Bugfix/fix email type
2021-10-25 14:33:56 +02:00
tobiasKaminsky
6d07584a54
Profile page
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-10-25 14:05:33 +02:00
tobiasKaminsky
042c413569
Calendar backup/import
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-10-25 13:02:12 +02:00
Tobias Kaminsky
2693c103b3
Merge pull request #9139 from nextcloud/suppress-walled-network-test-on-metered-wifi
Suppress walled network check when on metered wifi
2021-10-25 09:55:55 +02:00
Tobias Kaminsky
344a12d95a
Merge pull request #8916 from tom-bowles/master
Handle 'Stream with...' option in PreviewMediaFragment
2021-10-25 09:18:05 +02:00
tobiasKaminsky
d064352011
Fix test
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-10-25 09:10:21 +02:00
Tobias Kaminsky
6bdfe17bc8
Merge pull request #9124 from nextcloud/ignore_EI_EXPOSE_REP2
Disable spotbugs: EI_EXPOSE_REP2
2021-10-25 08:18:43 +02:00
drone
8b53b54d48 Drone: update FindBugs results to reflect reduced error/warning count [skip ci]
Signed-off-by: drone <drone@nextcloud.com>
2021-10-25 06:02:10 +00:00
tobiasKaminsky
6a57af4c90 I think we can disable this, as we only pass objects from our code / Android
https://spotbugs.readthedocs.io/en/stable/bugDescriptions.html#ei2-may-expose-internal-representation-by-incorporating-reference-to-mutable-object-ei-expose-rep2
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-10-25 06:02:10 +00:00
Tobias Kaminsky
aa1f1add49
Merge pull request #9137 from nextcloud/fix-npe-in-conflict-resolution-activity
Fix NPE in ConflictsResolveActivity
2021-10-25 07:59:01 +02:00
Tobias Kaminsky
9f64cba2b9
Merge pull request #9138 from nextcloud/fix-npe-during-contacts-backup
Fix NPE during contacts backup
2021-10-25 07:57:30 +02:00
Nextcloud bot
b423b42b89
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-10-25 03:47:09 +00:00
Chris Narkiewicz
57b2a8ef1a
Removed deprecated FileDataStorageManager constructors entirely
Signed-off-by: Chris Narkiewicz <hello@ezaquarii.com>
2021-10-25 03:41:59 +01:00
Chris Narkiewicz
8cf4ed7b71
Suppress walled network check when on metered wifi
Signed-off-by: Chris Narkiewicz <hello@ezaquarii.com>
2021-10-25 03:34:56 +01:00
Chris Narkiewicz
8e5c8dd840
Fix NPE during contacts backup
Fixes #9080

Signed-off-by: Chris Narkiewicz <hello@ezaquarii.com>
2021-10-25 02:00:17 +01:00
Chris Narkiewicz
53eea6d08e Deprecate FileDataStorageManager constructors depending on legacy Account
This commit deprecates constructors using legacy platform Account type
and wraps them using new API accepting User model.

All calls to FileDataStorageManager constructors that were trivially
portable without are updated as well. Places where passing new type
requires more risku work were left out for now.

FileDataStorageManager still uses Account internally - modifying this
requires getting rid of all legacy constructors first.

Signed-off-by: Chris Narkiewicz <hello@ezaquarii.com>
2021-10-25 00:30:11 +01:00
Chris Narkiewicz
b3e280bce5
Fix NPE in ConflictsResolveActivity
Fixes #9133

Signed-off-by: Chris Narkiewicz <hello@ezaquarii.com>
2021-10-24 23:23:17 +01:00
Nextcloud bot
ea92f8432c
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-10-24 03:49:18 +00:00
Andy Scherzinger
fdb231e1ea
Merge pull request #9131 from nextcloud/fix-npe-when-uploading-files
Fix NPE crash when uploading files
2021-10-23 19:02:59 +02:00
Chris Narkiewicz
130c05e4ca Fix NPE crash when uploading files
Fixes #9099
2021-10-23 14:26:29 +01:00
Nextcloud bot
7c03e0f453
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-10-23 03:53:17 +00:00
Lisa Kirchhofer
0051189017 Bugfix: Issue #9060 (Status bar with sorting/view mode disappears after playing video)
Signed-off-by: Lisa Kirchhofer <lisa.kirchhofer@bawagpsk.com>
2021-10-22 16:12:09 +02:00
Harald Ecker
b5825d73c4 remove icon mapping
Signed-off-by: Harald Ecker <harald.ecker@squer.at>
2021-10-22 14:48:07 +02:00
Harald Ecker
1217466fa5 add rfc822 to mimetypeutil
Signed-off-by: Harald Ecker <harald.ecker@squer.at>
2021-10-22 14:48:07 +02:00