Tobias Kaminsky
879286d05f
Merge pull request #9666 from nextcloud/fix/favorites-selection-breaking
...
FileOperationsHelper: fix aliasing when toggling favorite files
2022-01-10 07:44:54 +01:00
Nextcloud bot
67da5e0a6f
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-08 03:50:50 +00:00
rakekniven
065d19163f
l10n: fixed grammar
...
Reported at Transifex.
Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
2022-01-07 21:33:51 +01:00
Álvaro Brey Vilas
0f9e4feb79
FileOperationsHelper: fix aliasing when toggling favorite files
...
Don't modify the original collection of files. Instead filter a clone.
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-01-07 18:27:55 +01:00
Nextcloud bot
6faceec5a5
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-07 14:05:13 +00:00
Álvaro Brey
d3502b7bba
Merge pull request #9572 from nextcloud/provider-uri-permissions
...
URI permissions
2022-01-07 13:26:03 +01:00
Álvaro Brey
afaa537a45
Merge pull request #9646 from nextcloud/run-contacts-backup-only-when-network-is-connected
...
Run contacts backup job only when network is connected
2022-01-07 11:07:59 +01:00
Álvaro Brey
3a72604a78
Merge pull request #9591 from nextcloud/fix/settings-activity-it
...
SettingsActivityIT: fix showMnemonic running on wrong thread
2022-01-07 09:40:06 +01:00
Álvaro Brey
ebd608c179
Merge pull request #9607 from nextcloud/fix/accesing-result-data
...
AuthenticatorAsyncTask: check if user info result is success before proceeding
2022-01-07 08:47:48 +01:00
Nextcloud bot
e9029b28ed
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-07 03:53:42 +00:00
Nextcloud bot
8acf55d0f1
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-06 03:53:53 +00:00
Chris Narkiewicz
b6ceec7904
Run contacts backup job only when network is connected
...
Apply network constrains to prevent daily backup
job being started without network.
Backup job restart is required to apply new constraints.
Similar migration has been applied in the past, but migration
manager does not support re-applying steps again.
Migrations manager has been refactored to make migration
step re-applying easier, as more job restarts can be
required in the future.
Fixes #9632
Signed-off-by: Chris Narkiewicz <hello@ezaquarii.com>
2022-01-05 22:01:41 +00:00
Tobias Kaminsky
7d4fa2994c
Merge pull request #9644 from nextcloud/cleanUpAccountRemoval
...
Clean up AccountRemovalWork
2022-01-05 15:05:32 +01:00
Álvaro Brey Vilas
4265f06160
FileOperationsHelper: remove duplicated flags in openFile
...
Already set for all intents a bit below
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-01-04 15:32:32 +01:00
tobiasKaminsky
90d66c4339
Clean up AccountRemovalWork
...
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2022-01-04 13:08:44 +01:00
Nextcloud bot
6d6445a1f6
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-04 03:52:56 +00:00
Álvaro Brey Vilas
29d9ba4e52
AuthenticatorAsyncTask: check if user info result is success before proceeding
...
This will not fix failed logins but at least it will not crash the app.
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-01-03 18:32:11 +00:00
Álvaro Brey
a3a8170151
Merge pull request #9582 from nextcloud/fix/media-return-after-pause
...
Player: don't try to pause a non-running media player
2022-01-03 16:56:37 +01:00
Álvaro Brey Vilas
1a7ee3e179
ChooseTemplateDialog: Fix crash on prefillFilenameIfEmpty
...
Don't do anything if the filename is not empty.
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-01-03 09:43:24 +01:00
Nextcloud bot
a3b3f18abd
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-01 03:52:26 +00:00
sandeepyadav
eaf605b2be
fixed the visibility of slider of dark theme
...
issue# 9170
2021-12-27 13:35:40 +05:30
Nextcloud bot
042b93766e
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-27 03:52:10 +00:00
Nextcloud bot
5d32890848
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-25 03:52:43 +00:00
Nextcloud bot
552a657350
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-24 03:55:33 +00:00
Nextcloud bot
afc83b8310
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-23 03:53:42 +00:00
Álvaro Brey Vilas
130c004945
FileDataStorageManager: remove obsolete TODO
...
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-12-22 09:52:09 +01:00
Álvaro Brey
98465ab3fb
Merge pull request from GHSA-vjp2-f63v-w479
...
Harden FileContentProvider's public Uri paths
2021-12-22 09:43:11 +01:00
Álvaro Brey Vilas
9c7d212d52
Fix for too many thumbnails in autoupload settings
...
This patch is twofold:
- Keep using SQL limit until android 11 (which is where it becomes mandatory to not use it)
- Force MediaProvider to stop querying images after limit has been reached, even if cursor contains more.
This handles the edge case of Android versions over 11 which don't properly implement the limit argument
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-12-21 17:22:10 +01:00
Álvaro Brey Vilas
bc90eb3db1
Remove obsolete TODO
...
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-12-21 16:02:50 +01:00
Álvaro Brey Vilas
724b75d5d3
FileContentProvider: Use SQLiteTokenizer for sortOrder verification too
...
More reliable than just splitting by spaces.
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-12-21 15:06:05 +01:00
Álvaro Brey Vilas
b3aeab9004
FileContentProvider: prevent injection through selection parameters (where)
...
For this, I've backported the SQLiteTokenizer class from AOSP, use it to get tokens from the query,
and filter out invalid tokens.
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-12-21 14:15:34 +01:00
Nextcloud bot
c479f2fdf6
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-21 03:54:15 +00:00
Álvaro Brey Vilas
6aae8feeac
FileContentProvider: prevent injection in sortOrder argument for query()
...
For this, allow strictly only valid grammar and column names
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-12-20 18:38:50 +01:00
Álvaro Brey Vilas
830ada4617
FileContentProvider: remove unused method
...
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-12-20 18:03:56 +01:00
Álvaro Brey Vilas
43adc856a4
FileContentProvider: don't verify projectionArray in query()
...
query() is already using a projection map and strict mode for those cases, so we're just duplicating work here.
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-12-20 17:58:54 +01:00
Álvaro Brey Vilas
05371be6d7
FileContentProvider: prevent injection through Uri arguments
...
For this, ensure query arguments are used instead of segment concatenation
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-12-20 17:53:55 +01:00
tobiasKaminsky
72937cf341
FileContentProvider: prevent injection via ContentValues arguments
...
For this, verify all column names for ContentValues keys. Values are safe by default.
Co-authored-by: Tobias Kaminsky <tobias.kaminsky@nextcloud.com>
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-12-20 17:40:11 +01:00
Álvaro Brey Vilas
87e859858b
SettingsActivityIT: fix showMnemonic running on wrong thread
...
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-12-20 15:24:21 +01:00
Nextcloud bot
4183ee59f8
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-20 03:56:38 +00:00
Nextcloud bot
14a6324c05
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-19 03:59:20 +00:00
Nextcloud bot
26f80ddcbf
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-18 03:53:54 +00:00
Álvaro Brey Vilas
37dfb5eb2c
Player: don't try to pause a non-running media player
...
Fixes an issue triggered by pausing, and then minimizing and coming back to the app.
Right now state is still lost (file returns to the beginning) but as a stopgap it's OK.
In the future, the state machine and how it interacts with the fragment should be reworked.
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-12-17 16:22:39 +01:00
Álvaro Brey Vilas
b1aa3dcdaf
Centralize creation of ACTION_SEND intents and explicitly grant READ_URI permission to them
...
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-12-16 15:22:16 +01:00
Álvaro Brey
3de9432651
Merge pull request #9534 from gabmert/naming-conflicts
...
Change naming in conflicts to location instead of date
2021-12-16 09:35:43 +01:00
Nextcloud bot
d3db0af0f5
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-16 03:53:43 +00:00
gabriel
5500585c1a
naming in conflicts by location instead of date
...
Signed-off-by: gabriel <74419649+gabmert@users.noreply.github.com>
2021-12-15 23:13:42 +01:00
Álvaro Brey
6fc583b4cd
Merge pull request #9362 from nextcloud/dependabot/gradle/workRuntime-2.7.1
...
Bump workRuntime from 2.5.0 to 2.7.1
2021-12-15 19:49:17 +01:00
Álvaro Brey
369f62fc92
Merge pull request #9162 from nextcloud/dependabot/gradle/androidx.lifecycle-lifecycle-viewmodel-ktx-2.4.0
...
Bump lifecycle-viewmodel-ktx from 2.3.1 to 2.4.0
2021-12-15 19:23:03 +01:00
Álvaro Brey Vilas
8a445be869
Manifest: update code to disable WorkManagerInitializer
...
See: https://developer.android.com/jetpack/androidx/releases/work#version_260_3
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-12-15 19:01:36 +01:00
Álvaro Brey Vilas
14fbc2ab78
ViewModelFactory: fix compile errors for viewmodel-ktx changes
...
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-12-15 18:45:06 +01:00
Álvaro Brey Vilas
f5132af345
Fix mockito imports
...
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-12-15 16:08:36 +01:00
Álvaro Brey
508c193dfa
Merge pull request #9448 from nextcloud/fix/share-open-in
...
Sharing: better way to send files from file details view
2021-12-15 13:48:42 +01:00
Álvaro Brey
3b947b981b
Merge pull request #9435 from nextcloud/fix/multi-tap-overflow
...
OcFileListFragment: throttle overflow menu clicks
2021-12-15 13:08:16 +01:00
Álvaro Brey
82a53642a9
Merge pull request #9528 from nextcloud/huaweiFlavor
...
Huawei flavor
2021-12-15 13:07:32 +01:00
Álvaro Brey Vilas
13ddc3ddc6
Delete unused string
...
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-12-15 12:59:58 +01:00
Álvaro Brey Vilas
a86aa19851
Fix tests
...
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-12-15 12:59:13 +01:00
Álvaro Brey Vilas
7d258f9793
FileMenuFilter: Allow "Send" for single files if in file detail fragment
...
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-12-15 12:33:26 +01:00
Álvaro Brey Vilas
038ac7b3c5
FileDetailSharingFragment: remove misleading "Open in..." option
...
This only triggered the share file dialog, which should be opened elsewhere.
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-12-15 12:33:15 +01:00
Álvaro Brey Vilas
23815a4b6d
Fix ktlint
...
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-12-15 12:21:04 +01:00
Álvaro Brey
587b371e76
Merge pull request #9545 from nextcloud/fix/autoupload-check-crash
...
UploadFilesActivity: don't attempt to check selectAll if selectAll is not visible in menu
2021-12-15 11:28:32 +01:00
Álvaro Brey
143455b42a
Merge pull request #9427 from nextcloud/fix/triplicated-search-events
...
Fix issue where favorites where loaded by triplicate when opening from Media or other search
2021-12-15 11:06:39 +01:00
Álvaro Brey
a9671d9e85
Merge pull request #9434 from nextcloud/fix/unified-search-no-connection
...
Unified search: show error when there's no connection
2021-12-15 11:05:34 +01:00
Álvaro Brey Vilas
e7d8870b07
Move Throttler to proper package
...
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-12-15 10:59:08 +01:00
Álvaro Brey Vilas
11b6420446
Write tests for Throttler
...
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
Write tests for Throttler
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-12-15 10:56:57 +01:00
Álvaro Brey
b5e36d25be
Merge pull request #9547 from nextcloud/fix/favorite-state-lost
...
OCFileListFragment: don't delete search event if resuming a search fragment
2021-12-15 09:43:50 +01:00
Nextcloud bot
3f8adc1016
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-15 03:53:06 +00:00
Álvaro Brey Vilas
d503623d1d
OCFileListFragment: don't delete search event if resuming a search fragment
...
This fixes a bug where favorites screen seemed empty after coming back from a share fragment.
This took WAY too long to figure out, this class needs a big refactor.
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-12-14 17:52:52 +01:00
tobiasKaminsky
40796f7612
Add huawei build flavor
...
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-12-14 08:42:01 +01:00
Álvaro Brey
157f62a775
Merge pull request #9541 from nextcloud/fixUploadFromApps
...
"last modified" column might not exist, thus it shall never fail to upload
2021-12-13 13:04:28 +01:00
Álvaro Brey Vilas
662f15d250
UploadFilesActivity: don't attempt to check selectAll if selectAll is not visible in menu
...
This was crashing autoupload settings.
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-12-13 12:50:17 +01:00
Álvaro Brey
e9b13fe45f
Merge pull request #9537 from nextcloud/fix-npe-in-file-uploader
...
Do not set notification manager to null in uploader service
2021-12-13 12:25:41 +01:00
Álvaro Brey
0e45a8611c
Merge pull request #9535 from nextcloud/prevent-player-service-stop-from-using-foreground-service-api
...
When stopping PlayerService, do not use foreground service api
2021-12-13 11:43:57 +01:00
Álvaro Brey
d9874c788c
Merge pull request #8730 from nextcloud/migrate-file-activity-extra-account-to-extra-user
...
Migrate FileActivity.EXTRA_ACCOUNT to EXTRA_USER and use User model as well
2021-12-13 11:37:44 +01:00
tobiasKaminsky
86a5c930b0
"last modified" column may not exist, thus it shall never fail to upload
...
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-12-13 09:47:49 +01:00
Nextcloud bot
45b591f3d2
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-13 03:52:57 +00:00
Chris Narkiewicz
0c087012d7
Do not set notification manager to null in uploader service
...
NPE is most likely caused by a race condition, when
file upload update arrives after onDestroy().
Do not set notification manager to null - it does not
make any sense anyway, as it's a system service.
Fixes #9390
Signed-off-by: Chris Narkiewicz <hello@ezaquarii.com>
2021-12-12 14:41:48 +00:00
Chris Narkiewicz
989b8aeddb
When stopping PlayerService, do not use foreground service api
...
Sending async message to the service using foreground API
requires setting foreground flag. This won't happen if
the service is being stopped, so we must use startService()
API instead.
This API will throw IllegalStateException when app is banned
from running a service due to power management constraints.
Since stopping a service under such condition is not needed
anyway (it is not running), we can safely catch and ignore it.
This happens when app is woken up after long inactivity and
UI is recreated from cache.
Fixes #9491
Signed-off-by: Chris Narkiewicz <hello@ezaquarii.com>
2021-12-12 13:15:20 +00:00
Nextcloud bot
a284b6fcde
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-12 03:54:58 +00:00
Chris Narkiewicz
883857db32
Migrate FileActivity.EXTRA_ACCOUNT to EXTRA_USER
...
Migrate FileActivity.EXTRA_ACCOUNT to EXTRA_USER and pass
User model around instead of Account.
Signed-off-by: Chris Narkiewicz <hello@ezaquarii.com>
2021-12-12 00:23:40 +00:00
Nextcloud bot
06e1c41884
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-11 03:53:44 +00:00
Álvaro Brey
489eb75858
Merge pull request #9523 from nextcloud/fix/media-preview-navigation
...
FileDisplayActivity: Preserve title bar after resume
2021-12-10 10:33:31 +01:00
Álvaro Brey
8b63aaf2f9
Merge pull request #9522 from nextcloud/fix/search-landscape
...
Unified search: clear focus from search view on open
2021-12-10 10:26:35 +01:00
Nextcloud bot
9358e7d407
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-10 03:57:24 +00:00
Álvaro Brey Vilas
46669cc1d8
FileDisplayActivity: Preserve title bar after resume
...
Fixes title bar reverting to searchbar even if the resumed fragment is the preview or the details fragments
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-12-09 18:32:59 +01:00
Álvaro Brey Vilas
30091a7aa4
Unified search: clear focus from search view on open
...
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-12-09 16:58:36 +01:00
Álvaro Brey
0edba984be
Merge pull request #9426 from nextcloud/fix/unified-search-apps
...
UnifiedSearch: Fix opening non-file results with relative URLs
2021-12-09 15:59:31 +01:00
Álvaro Brey
76210ada17
Merge pull request #9494 from nextcloud/fix/calendar-dialog-style
...
DatePickerDialog: fix theme
2021-12-09 15:59:11 +01:00
Álvaro Brey
451c629a44
Merge pull request #9418 from nextcloud/fix/sharing-note-mandatory
...
Don't make note mandatory for sharing
2021-12-09 15:58:46 +01:00
Álvaro Brey
515e3f7089
Merge pull request #9449 from nextcloud/fix/fdf-binding-npe
...
FileDetailFragment: prevent NullPointerException if fileDetailSharingFragment is called too soon
2021-12-09 15:57:52 +01:00
Álvaro Brey
301543455f
Merge pull request #9476 from nextcloud/storeFavoriteAfterFavoritingIt
...
After favorite/unfavorite store this also in db, not only change it in UI
2021-12-09 15:39:05 +01:00
Álvaro Brey
840ec88f57
Merge pull request #9475 from nextcloud/renameFix
...
Rename remote path upon renaming
2021-12-09 15:38:46 +01:00
Álvaro Brey
16d2aa2554
Merge pull request #9474 from nextcloud/fixGallerySearch
...
Fix vanishing files after gallery search
2021-12-09 15:38:28 +01:00
Álvaro Brey
b38905fff7
Merge pull request #9469 from nextcloud/darkModeBackgronud
...
Explicitly set background for fragments
2021-12-09 15:37:58 +01:00
Álvaro Brey
2872f8167e
Merge branch 'master' into translateError
2021-12-09 15:36:57 +01:00
Álvaro Brey
22c308f69a
Merge pull request #9467 from nextcloud/fileSizeInShareDialog
...
update file size upon opening share dialog
2021-12-09 15:36:00 +01:00
Álvaro Brey
4381f7e33c
Merge pull request #9478 from nextcloud/emptyNotCentered
...
Empty list is not centered and in landscape cut off
2021-12-09 15:35:11 +01:00
Álvaro Brey
739364dd63
Merge pull request #9466 from nextcloud/enhancePlayIcon
...
Play button as overlay on videos is now more sharpe on large displays
2021-12-09 15:34:22 +01:00
Álvaro Brey
ad781a4b34
Merge pull request #9465 from nextcloud/trashbinCount
...
Update footer upon restore/delete of a deleted file
2021-12-09 15:34:02 +01:00
Álvaro Brey
aa0914011d
Merge pull request #9464 from nextcloud/drawerHighlight
...
highlight correct menu drawer icon
2021-12-09 15:33:28 +01:00
Álvaro Brey
60aa2becf3
Merge pull request #9463 from nextcloud/highlightSortOrder
...
Correctly highlight selected sort order
2021-12-09 15:33:02 +01:00
Álvaro Brey
ad5c73f5ea
Merge pull request #9462 from nextcloud/expandSendShareDialog
...
Expand send share dialog when in landscape mode
2021-12-09 15:32:37 +01:00
Álvaro Brey
6a3dd84ba1
Merge branch 'master' into unifiedSearch_showNoResults
2021-12-09 15:31:32 +01:00
Álvaro Brey
42212e410e
Merge pull request #9460 from nextcloud/mediaEmpty
...
Show correct empty screen if gallery search returns empty
2021-12-09 15:30:20 +01:00
Álvaro Brey
e33419eb75
Merge pull request #9485 from nextcloud/fixSetPictureAs
...
"set picture as" needs temporary read permission
2021-12-09 15:27:23 +01:00
Álvaro Brey
98319b40d0
Merge pull request #9484 from nextcloud/fix401whenReloggingIn
...
when re-logging in too fast, we stored an empty auth token
2021-12-09 15:27:06 +01:00
Álvaro Brey
63cbb9f2d9
Merge pull request #9483 from nextcloud/audioCoverArt
...
Better positioning of preview media fragment
2021-12-09 15:26:47 +01:00
Álvaro Brey
d0038c6a3b
Merge pull request #9482 from nextcloud/fullscreenToggle
...
Fullscreen toggle
2021-12-09 15:26:13 +01:00
Álvaro Brey
7f6acfc590
Merge pull request #9480 from nextcloud/hideNextButton
...
On video player hide next button, as it is always disabled
2021-12-09 15:26:02 +01:00
Álvaro Brey
ad946c2f73
Merge pull request #9479 from nextcloud/uponMoveUpdateFolderSize
...
Upon move update folder size
2021-12-09 15:25:48 +01:00
Álvaro Brey
0fe6c436ab
Merge pull request #9459 from nextcloud/uploadAskForPermission
...
Ask for permission in UploadFilesActivity
2021-12-09 15:25:32 +01:00
Álvaro Brey Vilas
8a8c7a098f
Remove TODO
...
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-12-09 14:57:33 +01:00
Álvaro Brey Vilas
ded48ddba9
Don't make note mandatory for sharing
...
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-12-09 13:42:55 +00:00
Álvaro Brey Vilas
bcafbbbd5b
DatePickerDialog: fix theme
...
Extend from Dialog, not Dialog.Alert.
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-12-09 14:36:01 +01:00
Álvaro Brey Vilas
af32084d1e
Fix upload button not active unless select all is clicked
...
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-12-09 08:16:59 +00:00
Nextcloud bot
694b8fda56
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-09 03:57:08 +00:00
tobiasKaminsky
76547ca06d
"set picture as" needs temporary read permission
...
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-12-08 15:31:39 +01:00
tobiasKaminsky
1036eaa01f
when re-logging in too fast, we stored an empty auth token
...
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-12-08 14:58:21 +01:00
tobiasKaminsky
57f21e50ce
Better positioning of preview media fragment
...
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-12-08 10:03:52 +01:00
tobiasKaminsky
09a02767bc
Better fullscreen toggle
...
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-12-08 08:44:35 +01:00
Nextcloud bot
b7de19236f
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-08 04:05:40 +00:00
tobiasKaminsky
c7bcc349d0
On video player hide next button, as it is always disabled
...
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-12-07 17:31:42 +01:00
tobiasKaminsky
7d3db7c9c3
Upon move update folder size
...
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-12-07 16:52:03 +01:00
tobiasKaminsky
e1399f0135
Empty list is not centered and in landscape cut off.
...
Therefore as a quick win, moved all up, so that user does not think it should be centered.
This also then works in landscape.
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-12-07 13:30:45 +01:00
tobiasKaminsky
dd366ec494
After favorite/unfavorite store this also in db, not only change it in UI
...
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-12-07 09:13:26 +01:00
tobiasKaminsky
ef25d41342
Rename remote path upon renaming
...
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-12-07 08:54:21 +01:00
tobiasKaminsky
036e339b07
Fix vanishing files after gallery search
...
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-12-07 08:15:49 +01:00
Nextcloud bot
a22e97db73
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-07 05:10:21 +00:00
tobiasKaminsky
40e8ac7c58
Explicitly set background for fragments
...
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-12-06 17:35:16 +01:00
tobiasKaminsky
417365f7ea
Extract string to get translated
...
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-12-06 16:57:52 +01:00
tobiasKaminsky
4a0ec4ece7
update file size upon opening share dialog
...
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-12-06 16:32:41 +01:00
tobiasKaminsky
c85a733190
Play button as overlay on videos is now more sharpe on large displays
...
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-12-06 16:04:11 +01:00
tobiasKaminsky
0996702fd9
Update footer upon restore/delete of a deleted file
...
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-12-06 15:12:27 +01:00
tobiasKaminsky
b557061410
highlight correct menu drawer icon
...
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-12-06 15:03:10 +01:00
tobiasKaminsky
8d94a44066
- correctly highlight selected sort order
...
- combine uploadFilesView and localFilesListView enum, as both are the same
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-12-06 13:08:50 +01:00
tobiasKaminsky
9e1001a53c
Expand send share dialog when in landscape mode
...
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-12-06 12:45:45 +01:00
tobiasKaminsky
07ece764f9
If no search results from any provider, show it
...
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-12-06 12:21:31 +01:00
tobiasKaminsky
599956370a
fix tests
...
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-12-06 10:30:35 +01:00
tobiasKaminsky
70cb9367ae
Show correct empty screen if gallery search returns empty
...
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-12-06 10:10:29 +01:00
tobiasKaminsky
5ebf79697d
Ask for permission in UploadFilesActivity
...
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-12-06 08:34:23 +01:00
Nextcloud bot
b3b1b8dbc0
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-05 04:08:45 +00:00
Álvaro Brey Vilas
b7d51e573a
FileDetailFragment: prevent NullPointerException if fileDetailSharingFragment is called too soon
...
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-12-03 16:50:37 +01:00
Álvaro Brey
53999c809c
Merge pull request #9433 from nextcloud/refresh
...
Refresh on favorite/shared view does search again, not showing root folder content
2021-12-03 15:31:40 +01:00
Álvaro Brey
fbfdfb02c9
Merge pull request #9431 from nextcloud/showMnemonic
...
show mnemonic only if requested
2021-12-03 15:17:04 +01:00
Álvaro Brey
8625ab9be2
Merge pull request #9425 from nextcloud/updateSelectMenu
...
upload files activity: update select all button when selected files changed
2021-12-03 12:24:14 +01:00
Álvaro Brey
6cb1578983
Merge pull request #9423 from nextcloud/rememberSelectedFilesInUpload
...
Remember selected files in upload files activity upon screen rotation
2021-12-03 12:19:37 +01:00
Álvaro Brey
540ca74eec
Merge pull request #9422 from nextcloud/uploadButtonOnSelectAll
...
Upon select all in upload files activity, enable upload button
2021-12-03 12:12:35 +01:00
Álvaro Brey
532f06a9a5
Merge pull request #9421 from nextcloud/removeUnfavoritedFile
...
Remove unfavorited file from favorited search
2021-12-03 12:00:56 +01:00
Álvaro Brey
fe18e9a710
Merge pull request #9420 from nextcloud/showTrashbinError
...
Show trashbin error in a better way
2021-12-03 11:40:22 +01:00
Álvaro Brey Vilas
42f995bb66
OcFileListFragment: throttle overflow menu clicks
...
Fixes #9319
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-12-02 17:14:59 +01:00
Álvaro Brey Vilas
a94c151228
Unified search: show error when there's no connection
...
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-12-02 13:57:06 +01:00
tobiasKaminsky
69486a5428
Refresh on favorite/shared view does search again, not showing root folder content
...
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-12-02 13:11:39 +01:00
tobiasKaminsky
552d0a2d39
show mnemonic only if requested
...
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-12-02 11:10:59 +01:00
Nextcloud bot
5171d73285
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-01 18:48:41 +00:00
Álvaro Brey Vilas
62df4ff414
OCFileListFragment: Solve triplicated search events
...
Most visible when going to Favorites from another search.
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-12-01 18:03:42 +01:00
Álvaro Brey Vilas
8eb2567c78
DrawerActivity: extract duplicated search launch logic to a method
...
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-12-01 17:56:02 +01:00
Álvaro Brey Vilas
94e73ba716
UnifiedSearch: Fix opening non-file results with relative URLs
...
Most notable in Apps results (Deck, Music...)
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-12-01 16:33:37 +01:00
tobiasKaminsky
5511a23748
upload files activity: update select all button when selected files changed
...
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-12-01 16:28:38 +01:00
tobiasKaminsky
15674167fb
Remember selected files in upload files activity upon screen rotation
...
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-12-01 15:25:31 +01:00
tobiasKaminsky
5b18cf972e
Upon select all in upload files activity, enable upload button
...
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-12-01 15:03:17 +01:00
tobiasKaminsky
f4e7bf3ed5
Remove unfavorited file from favorited search
...
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-12-01 14:55:01 +01:00
tobiasKaminsky
729d053b9a
Show trashbin error in a better way
...
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-12-01 14:14:33 +01:00
Álvaro Brey
b17db63964
Merge pull request #9354 from nextcloud/fix/ip-port-login
...
Fix crashes during scheme normalization on login
2021-12-01 10:55:31 +01:00
Álvaro Brey
0f2011c16a
Merge pull request #9395 from nextcloud/fix/delete-media-refresh
...
Refresh gallery screen when deleting a file
2021-12-01 10:48:12 +01:00
Tobias Kaminsky
aa946dc311
Merge pull request #9385 from nextcloud/fix/side-menu-logo-crash
...
DrawerActivity: resize server logo if it's too big
2021-12-01 10:30:51 +01:00
Nextcloud bot
404ad2f9f0
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-01 04:01:35 +00:00
Nextcloud bot
3da0ad2027
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-30 03:59:11 +00:00
Álvaro Brey Vilas
63f1654ebf
Refresh gallery screen when deleting a file
...
Fixes #9370
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-11-29 17:48:17 +01:00
Álvaro Brey
77dfd96e91
Merge pull request #9286 from Toover/master
...
Fix dialog template chooser when new file has no extension #9282
2021-11-29 16:24:29 +01:00
Álvaro Brey
58828dbc8b
Merge pull request #9249 from nextcloud/compile-sdk-31
...
Bump compileSDK to 31
2021-11-29 14:12:41 +01:00
Nextcloud bot
1c911b15b4
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-29 03:53:31 +00:00
Nextcloud bot
2cee938227
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-27 03:55:21 +00:00
Álvaro Brey Vilas
ff0cb45c03
DrawerActivity: resize server logo if it's too big
...
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-11-26 21:03:04 +01:00
tobiasKaminsky
4c62ee6c5a
favorite/unfavorite in details view
...
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-11-26 12:29:14 +01:00
Nextcloud bot
ebaced6d34
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-26 04:16:06 +00:00
Álvaro Brey
a98bdd69ce
Merge pull request #9287 from liam-p-23/master
...
File rename input warning message
2021-11-25 14:14:37 +01:00
Álvaro Brey Vilas
8ee7bfd557
Fix lint issues with cursor indexes on compileSdk 31
...
Ref: https://stackoverflow.com/a/69979270
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-11-25 12:57:17 +01:00
Álvaro Brey Vilas
dd07ea17dd
Fix another NPE in FileDownloader
...
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-11-25 07:47:24 +00:00
Chris Narkiewicz
a84fc6297d
Fix NPE regression in FileDownloader
...
Fixes #9349
Signed-off-by: Chris Narkiewicz <hello@ezaquarii.com>
2021-11-25 07:47:24 +00:00
Nextcloud bot
6361c19386
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-25 03:54:26 +00:00
Liam P
549750aa73
Changed error color of TextInputLayoutInputWarning
...
Signed-off-by: Liam P <89549210+liam-p-23@users.noreply.github.com>
2021-11-24 15:11:06 -05:00
Nextcloud bot
9ebc2f2b9e
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-24 03:56:08 +00:00
Álvaro Brey
f0cd5c2aec
Merge pull request #9335 from nextcloud/remove-account-from-arbitrary-data-provider
...
Remove Account from ArbitraryDataProvider
2021-11-23 10:08:42 +01:00
Álvaro Brey
1572ca7e00
Merge pull request #9342 from nextcloud/fix/davdroid-login
...
AndroidManifest: allow querying for davdroid app.
2021-11-23 10:03:29 +01:00
Nextcloud bot
0997251cd3
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-23 03:57:31 +00:00
Chris Narkiewicz
feb9d6a87f
Remove Account from ArbitraryDataProvider
...
Signed-off-by: Chris Narkiewicz <hello@ezaquarii.com>
2021-11-22 22:50:07 +00:00
Álvaro Brey
de79c93991
Merge pull request #9333 from nextcloud/migrate-ocupload-to-user
...
Migate OCUpload to User
2021-11-22 16:43:39 +01:00
Álvaro Brey
1e5b4604fb
Merge pull request #9330 from nextcloud/remove-account-from-file-data-storage-manager-implementation
...
Remove platform Account from FileDataStorageManager implementation
2021-11-22 16:37:58 +01:00
Álvaro Brey Vilas
cac884f6c2
AndroidManifest: allow querying for davdroid app.
...
Fixes #9339
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-11-22 16:16:04 +01:00
Nextcloud bot
679b3ae029
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-22 04:13:44 +00:00
Nextcloud bot
fb10543c87
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-21 03:53:48 +00:00
Chris Narkiewicz
c8f61f76f5
Migate OCUpload to User
...
Signed-off-by: Chris Narkiewicz <hello@ezaquarii.com>
2021-11-20 22:19:59 +00:00
Chris Narkiewicz
12e09e8c28
Remove platform Account from FileDataStorageManager implementation
...
Signed-off-by: Chris Narkiewicz <hello@ezaquarii.com>
2021-11-20 14:37:35 +00:00
Nextcloud bot
8eff4f7ddf
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-20 04:13:56 +00:00
Liam P
b0cf10b88a
Changed input warning to use TextInputLayout setError
...
Signed-off-by: Liam P <89549210+liam-p-23@users.noreply.github.com>
2021-11-19 19:24:48 -05:00
Liam P
8daf760107
Updated input warning message functionality
...
Signed-off-by: Liam P <89549210+liam-p-23@users.noreply.github.com>
2021-11-19 19:24:36 -05:00
William Plefka
425966a7b8
Updated input warning message functionality
...
Signed-off-by: Liam P <89549210+liam-p-23@users.noreply.github.com>
2021-11-19 19:23:38 -05:00
William Plefka
b3056188e5
Added Javadoc comments
...
Signed-off-by: Liam P <89549210+liam-p-23@users.noreply.github.com>
2021-11-19 19:23:27 -05:00
William Plefka
8d5d7cccc8
Added hidden file warning message to the rename file dialog. Resolves #7722
...
Signed-off-by: William Plefka <wplefka2@illinois.edu>
Signed-off-by: Liam P <89549210+liam-p-23@users.noreply.github.com>
2021-11-19 19:23:11 -05:00
tobiasKaminsky
66459bcfbc
fix FDSM call
...
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-11-19 09:00:05 +01:00
Nextcloud bot
38eeebf9ae
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-19 04:37:18 +00:00
Álvaro Brey
373fec8b45
Merge pull request #9073 from nextcloud/remove-deprecated-calls-to-storage-manager-constructor
...
Remove deprecated calls to storage manager constructor
2021-11-18 14:36:03 +01:00
Nextcloud bot
951377de46
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-18 03:50:24 +00:00
Andy Scherzinger
29846c718d
improve detekt score
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-11-17 18:15:01 +01:00
Andy Scherzinger
72d81ad06a
Merge pull request #9292 from nextcloud/bugfix/9291/brandedThemedPermissionDialog
...
Make permission dialog brandable and themed
2021-11-17 18:02:22 +01:00
Andy Scherzinger
abce95fd8c
make permission dialog brandable and themed
...
Fixes #9291
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-11-17 16:23:56 +01:00
Andy Scherzinger
5fd8843c1d
use padding instead of margin for SSO dialog whitespace
...
Fixes #9284
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-11-17 15:46:50 +01:00
Nextcloud bot
be72eb7429
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-17 05:59:22 +00:00
Toover
1b62ae6847
Fix dialog template chooser when new file has no extension #9282
2021-11-16 19:21:24 +01:00
Álvaro Brey
778736427d
Merge pull request #9248 from nextcloud/fix/unified_seach_crash
...
Unified search: fix createNextcloudClient called from main thread
2021-11-15 19:49:35 +01:00
Álvaro Brey
8646a625b6
Merge pull request #9127 from LisaKirchhofer/status-bar-bugfix
...
Bugfix: Issue #9060 (Status bar with sorting/view mode disappears aft…
2021-11-15 17:16:23 +01:00
Álvaro Brey Vilas
d720ae7f3f
Unified search: createNextcloudClient should not be called from main thread
...
Fixes #9244
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-11-15 16:40:08 +01:00
Álvaro Brey Vilas
18c6baaff0
manifest: Even more intent queries
...
Fixes #9270
These are hard to find, man
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-11-15 13:37:39 +01:00
Álvaro Brey Vilas
fa432834e7
Expand intent query declarations in AndroidManifest
...
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-11-15 13:37:29 +01:00
Álvaro Brey
f6a1f4a0f1
Merge pull request #9262 from gmotzespina/master
...
Prevent app crash when listening to audio files.
2021-11-15 11:41:07 +01:00
Álvaro Brey Vilas
a6f3bdceeb
Keep track of PlayerService state instead of restarting it before closing
...
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-11-15 10:31:20 +01:00
Guillermo Mtz Espina
12b75dce7b
Starts foreground service before stopping it to avoid app crash when listening to an audio file
...
Signed-off-by: Guillermo Mtz Espina <gmotzespina@icloud.com>
2021-11-14 11:40:40 +00:00
tobiasKaminsky
9751de3934
Query Param needs serial uid
...
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-11-14 08:17:42 +01:00
Nextcloud bot
507f0ae9be
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-13 03:50:49 +00:00
Nextcloud bot
7a8845777c
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-12 03:45:57 +00:00
Nextcloud bot
a1ce4fd57e
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-11 03:50:41 +00:00
Tobias Kaminsky
cce56c4b2f
Merge pull request #9237 from nextcloud/fix/view-files
...
Manifest: allow app to query for apps that can resolve VIEW or SEND intents
2021-11-10 07:56:36 +01:00
Nextcloud bot
e25c82126f
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-10 03:54:32 +00:00
Álvaro Brey Vilas
80f3f09bd1
Manifest: allow app to query for apps that can resolve VIEW or SEND intents
...
This is otherwise limited by default in sdk 30 and above
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-11-09 16:28:12 +01:00
Álvaro Brey Vilas
fc7f91add8
Remove some unused resources
...
Slipped through on MANAGE_EXTERNAL_STORAGE pr
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-11-09 14:08:08 +01:00
Álvaro Brey
38e78b3f37
Merge pull request #9228 from nextcloud/manage-all-files
...
Ditch scoped storage in favor of MANAGE_EXTERNAL_STORAGE
2021-11-09 12:25:33 +01:00
Álvaro Brey
f0ee7d719e
Merge pull request #9186 from nextcloud/strictMode
...
Enable StrictMode during development
2021-11-09 09:59:03 +01:00
Álvaro Brey Vilas
361ed24bb4
Add dialog to inform the user of storage permission
...
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-11-09 09:46:38 +01:00
tobiasKaminsky
9b0db8a355
Enable StrictMode during development
...
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-11-09 09:04:25 +01:00
Nextcloud bot
6e9dc44e71
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-09 07:52:44 +00:00
Álvaro Brey
7bd0190c4b
Merge pull request #9225 from nextcloud/wording
...
rename "read only" -> "view only"
2021-11-09 08:30:19 +01:00
Álvaro Brey Vilas
7966fa7923
Re-try to get file management permission if user does not enable it, and show toast.
...
Does not allow any usage of the app if permission is not granted.
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-11-08 16:56:22 +01:00
Álvaro Brey Vilas
44968b20ad
PermissionUtil: fix version conditional
...
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-11-08 16:26:44 +01:00
tobiasKaminsky
f4f0c22492
rename "read only" -> "view only"
...
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-11-08 14:05:45 +01:00
Álvaro Brey Vilas
3c80a05354
Revert "Use internalTemporalPath instead of temporalPath"
...
This reverts commit 1811d040f7
.
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-11-08 13:50:43 +01:00
Álvaro Brey Vilas
41dbdaf3ed
Revert "DownloadFileOperation: use moveFile instead of File.renameTo"
...
This reverts commit f18f72abcd
.
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-11-08 13:50:26 +01:00
Álvaro Brey Vilas
5eeb8c0343
Remove What's New screens for scoped storage
...
Not needed if we get the manage permission
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-11-08 13:46:23 +01:00
Álvaro Brey Vilas
6a76372fde
GrantStoragePermissionRule: grant MANAGE_EXTERNAL_STORAGE on sdk >=30
...
Feels a bit hacky but it's the actual recommended way:
https://developer.android.com/training/data-storage/manage-all-files#enable-manage-external-storage-for-testing
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-11-08 13:40:17 +01:00
Álvaro Brey Vilas
a0b85cac71
Ditch scoped storage, try MANAGE_EXTERNAL_STORAGE
...
We _are_ a file-managing app, after all.
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-11-08 13:13:02 +01:00
Valdnet
a638101359
i18n: Minor changes to sentence
...
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2021-11-08 09:02:27 +01:00
Nextcloud bot
dce7eb713a
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-08 06:34:35 +00:00
tobiasKaminsky
915b764f36
Translation files must be one line
...
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-11-08 07:04:59 +01:00
Álvaro Brey
518343c4e4
Merge pull request #9195 from nextcloud/whats-new-sdk-30
...
Add What's New view to warn users of changes in storage after sdk 30
2021-11-04 14:35:29 +01:00
Álvaro Brey
35a2324482
Merge pull request #9175 from nextcloud/fix/url-parse-search-result
...
Unified search: skip local file check for non-file results
2021-11-04 14:27:25 +01:00
Álvaro Brey
a994ebc3f4
Merge pull request #9044 from nextcloud/target-sdk-30
...
Target SDK 30
2021-11-04 13:46:16 +01:00
Álvaro Brey Vilas
cb6d9a6c07
What's new: add second page of info for sdk30 storage update
...
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-11-04 13:03:14 +01:00
Álvaro Brey Vilas
40860d98be
AppInfo: add getVersionName, remove getFormattedVersionCode
...
Only used for WhatsNewActivity, and showing the human-readable string makes more sense.
Also convert the appinfo package to kotlin, since we're at it
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-11-04 12:44:28 +01:00
tobiasKaminsky
c15f64308b
Use package specific action
...
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-11-04 08:21:12 +00:00
Álvaro Brey Vilas
be43a629fd
Add What's New view to warn users of changes in storage after sdk 30
...
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-11-03 16:49:20 +01:00
Álvaro Brey Vilas
6d4b3b8444
Fix ktlint
...
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-11-03 10:30:10 +01:00
Álvaro Brey Vilas
5e00733912
Add missing copyright header to PermissionUtil
...
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-11-03 09:16:22 +01:00