Commit graph

17654 commits

Author SHA1 Message Date
Álvaro Brey Vilas
a5afe1ec41
Bump minSdk version to 23
22 is under 0.5% of users

Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-10-25 15:35:52 +02:00
Álvaro Brey Vilas
16b83131c8
Bump OUTDATED_SERVER_VERSION to 19
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-10-25 15:25:44 +02:00
tobiasKaminsky
0cdfd7a906
Optimize imports
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-10-25 15:18:31 +02:00
tobiasKaminsky
3965f22e7c
remove unused foreground (which was working only on API23+)
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-10-25 15:17:58 +02:00
Álvaro Brey Vilas
6fe72782fe
FileDisplayActivity: fix new spotbugs warning
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-10-25 15:17:58 +02:00
Álvaro Brey Vilas
d7d3157410
Unified search: solve RTL symmetry warnings
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-10-25 15:17:58 +02:00
Álvaro Brey Vilas
631db66da7
Unified search: show context leak in UnifiedSearchViewModel
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-10-25 15:17:57 +02:00
Álvaro Brey Vilas
8cadb2b5de
Unified search: add placeholder icon for Deck
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-10-25 15:17:57 +02:00
Álvaro Brey Vilas
c51df6fb5b
Unified search: better placeholder icons
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-10-25 15:17:57 +02:00
Álvaro Brey Vilas
16100677bb
Unified search: fix inverted success value for "load more"
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-10-25 15:17:56 +02:00
Álvaro Brey Vilas
f927cfe2d8
Unified search: Round thumbnails when requested by server
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-10-25 15:17:56 +02:00
Álvaro Brey Vilas
b6cd8af18a
GetRemoteFileTask: pass User directly instead of account
Needed after model changes in master

Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-10-25 15:17:56 +02:00
Álvaro Brey Vilas
149c701682
Restore master branch for library
Unified search has already been merged

Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-10-25 15:17:55 +02:00
Álvaro Brey Vilas
2387545119
Unified search: Fix broken integration test
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-10-25 15:17:55 +02:00
Álvaro Brey Vilas
18cbdfa93c
Unified search: minor UI improvements
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-10-25 15:17:55 +02:00
Álvaro Brey Vilas
61c2242896
Unified search: cleanup viewmodel usage with interface
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-10-25 15:17:54 +02:00
Álvaro Brey Vilas
fdf1abd0fd
Unified search: fix opening non-file results (open in a browser)
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-10-25 15:17:54 +02:00
Álvaro Brey Vilas
c3a1656781
Unified search: fix existing tests to make CI happy
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-10-25 15:17:54 +02:00
tobiasKaminsky
73e4f3cf05
fix loading message
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-10-25 15:17:53 +02:00
Álvaro Brey Vilas
146650c0c6
Unified search: bind search view on US fragment to allow subsequent searches
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-10-25 15:17:53 +02:00
Álvaro Brey Vilas
361e81ea9c
Unified search: set toolbar title to search query
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-10-25 15:17:53 +02:00
Álvaro Brey Vilas
3fc6fc8bdf
Unified search: several UI and navigation improvements
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-10-25 15:17:53 +02:00
Álvaro Brey Vilas
fac2958788
Unified search: Show error messages, loading anim, click animations. Implement refresh.
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-10-25 15:17:52 +02:00
Á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