Commit graph

1094 commits

Author SHA1 Message Date
Alper Ozturk
80cf6f04bd
Use new method for get thumbnail image
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:27 +02:00
Alper Ozturk
c7cb4fa7c4
Use overlay method to get file icon
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:27 +02:00
Alper Ozturk
65461a7d87
Use folder key icon for encrypted state
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:27 +02:00
Alper Ozturk
b351c57d31
Use getFileIcon for thumbnailView
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:26 +02:00
Alper Ozturk
0358dce204
Add isAutoUploadFolder function to SyncedFolderProvider
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:26 +02:00
Alper Ozturk
22e1f7ed45
Add getFileIcon function inside OCFile
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:26 +02:00
Andy Scherzinger
4fc90f3dab
Merge pull request #11919 from PhilLab/move-to-next-image-after-deletion
When deleting image in preview activity, move to the next image
2023-09-25 16:42:36 +02:00
tobiasKaminsky
623590ba6c
show outdated warning also on very old servers
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-09-08 15:10:59 +02:00
tobiasKaminsky
add0c1acc1
hide add account if multi account is disabled
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-09-08 11:53:23 +02:00
ZetaTom
fc5994c243
Move photo pin drawable to xml layout
Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
2023-09-04 18:21:40 +02:00
ZetaTom
7212b092d6
Improve appearance of addresses in ImageDetailFragment
Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
2023-09-04 18:21:36 +02:00
tobiasKaminsky
f32cb61f59
rebased
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-08-30 12:10:01 +02:00
Andy Scherzinger
920c69dc15
remove unused variables
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2023-08-30 11:30:21 +02:00
Dean Birch
768171c37b
Hide subfolder options when not using subfolders
Instead of greying out the subfolder rules when not active, hide them.
Also reverts changes to make a function out of getAlpha.

Signed-off-by: Dean Birch <dean.birch0@gmail.com>
2023-08-30 11:30:21 +02:00
Dean Birch
13b61e82d6
Convert java to kotlin and add header
Signed-off-by: Dean Birch <dean.birch0@gmail.com>
2023-08-30 11:30:21 +02:00
Dean Birch
a687ca68d3
gradle spotless check formatting
Signed-off-by: Dean Birch <dean.birch0@gmail.com>
2023-08-30 11:30:21 +02:00
Dean Birch
dcabaf2a7d
Extra options for uploading subfolders
Adds some extra options for uploading photos into various patterns of
subfolders. yyyy or yyyy/MM or yyyy/MM/dd supported.

Currently just adds an extra field for this, and has to be used in
conjunction with the "use subfolder" checkbox, the new option is greyed
out and disabled when "use subfolder" is not checked.

Signed-off-by: Dean Birch <dean.birch0@gmail.com>
2023-08-30 11:30:20 +02:00
Tobias Kaminsky
c4d454fbc3
Merge pull request #11928 from nextcloud/spotbugsGarm
Let analysis.yml do not run on GARM
2023-08-30 11:26:24 +02:00
tobiasKaminsky
29227fc00f
fix 18n
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-08-30 10:54:23 +02:00
Tobias Kaminsky
5af5350536
Merge pull request #11522 from nextmcloud/nmc/1943-avoidSearchCollapse
Avoid search collapse after page refresh
2023-08-30 09:51:32 +02:00
ZetaTom
f57be44343
- overhaul metadata capture and processing
- exception handling in NominatimClient
- set map boundaries
- format strings according to locale
- overlay drawables for photo pin correctly
- refactored ImageDetailFragment
- add copyright notices
- add support for metadata from server
- tint icons for dark mode

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
2023-08-29 09:28:23 +02:00
A200073727
905222c930 After screen refresh search is no longer collapsing. 2023-08-29 02:31:36 +05:30
A117870935
f01aa28fc2 Avoid search collapsing after refresh. 2023-08-29 02:31:35 +05:30
Philipp Hasper
e0519e841a When deleting image in preview activity, move to the next image
Instead of closing the preview after the deletion of an image file, the
next image is shown. This allows to conveniently go through a list of
images and delete unwanted ones, without the flow being interrupted.

Closes #11918

Signed-off-by: Philipp Hasper <vcs@hasper.info>
2023-08-28 08:47:28 +02:00
Andy Scherzinger
e872d4efbc
Fix kt formatting
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2023-08-17 12:17:37 +02:00
ZetaTom
ad5379021f Fix multi-selection in shared tab
Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
2023-08-12 17:00:52 +02:00
ZetaTom
1c64a42025
Colour ecosystem app icons
Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
2023-08-08 10:21:15 +02:00
ZetaTom
591129eb3c
Clean up lint
Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
2023-08-08 10:21:15 +02:00
ZetaTom
f05ec0589a
Invert logic to hide app switcher
- add summary to toggle in preferences

Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
2023-08-08 10:21:15 +02:00
ZetaTom
8239b73e48
Colour ecosystem app icons
Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
2023-08-08 10:21:14 +02:00
ZetaTom
d158a49cb8
Refactor DrawerActivity.java
Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
2023-08-08 10:21:14 +02:00
ZetaTom
6a07bac0eb
Switch accounts on intent
Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
2023-08-08 10:21:14 +02:00
ZetaTom
88a5884b26
Use R-strings in DeepLinkLoginActivity
Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
2023-08-08 10:21:14 +02:00
ZetaTom
4a5b39ff5b
Switch accounts on intent
Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
2023-08-08 10:21:14 +02:00
ZetaTom
18ad832610
Clean up
Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
2023-08-08 10:21:13 +02:00
ZetaTom
2e1f756210
Add preference to hide ecosystem apps
Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
2023-08-08 10:21:13 +02:00
ZetaTom
f1c76614c2
Fix intent to open ecosystem apps
Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
2023-08-08 10:21:12 +02:00
ZetaTom
b978e03f9f
Adapt layout in drawer_header
Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
2023-08-08 10:21:12 +02:00
ZetaTom
8506251cb6
Add actions for ecosystem apps
Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
2023-08-08 10:21:12 +02:00
ZetaTom
2b1b163b53
Add ecosystem apps to drawer_header.xml
- introduce is_branded_client variable
  - ecosystem apps will only be displayed in vanilla client
- fix layout of drawer_header.xml

Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
2023-08-08 10:21:11 +02:00
tobiasKaminsky
b1daecac70
Set minSdkVersion to 24 + remove checks
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-08-03 10:53:51 +02:00
ZetaTom
0aeda68451
Fix preview of previously offline images
Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
2023-08-01 16:10:03 +02:00
Andy Scherzinger
e7ee6534d9
Merge pull request #11769 from nextcloud/fix/back-icon
Fix back arrow appearing as hamburger icon
2023-07-28 17:47:55 +02:00
ZetaTom
db3a38a4c7 Fix 'Host your own server' button
Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
2023-07-28 17:02:58 +02:00
ZetaTom
9ad31fd707 Update branch
Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
2023-07-28 17:02:58 +02:00
ZetaTom
2387e2ff75 Minor refactoring
- use DisplayUtils.startLinkIntent instead of DisplayUtils.startIntentIfAppAvailable where applicable

Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
2023-07-28 17:02:58 +02:00
ZetaTom
0e13fe2c4d
Fix typo
Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
2023-07-28 16:58:13 +02:00
ZetaTom
0b28a889ea
Fix file actions available in BottomSheet
- reintroduce isSingleFileFragment
  - hides *Select all* and *Deselect all*
- hide *Pin to Home screen* where not applicable
- generally prefer *Send/Share* option over *Send*
  - only show *Send* when all files are downloaded

Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
2023-07-28 16:58:13 +02:00
Andy Scherzinger
8f18be1333
Merge pull request #11689 from nextcloud/fix/folderpicker-actions
Fix actions in folder picker
2023-07-28 16:41:30 +02:00
ZetaTom
83df8c5ed7 Move error snackbars to parent activity.
Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
2023-07-28 15:34:13 +02:00
ZetaTom
cb59aeb875 Show dialogue when creating document from template
Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
2023-07-28 15:34:13 +02:00
Dean Birch
5c32938f34 When entering fullscreen, allow for paused state
When entering fullscreen, check if the video is paused and ensure to
display the play button instead.

Signed-off-by: Dean Birch <dean.birch0@gmail.com>
2023-07-28 10:11:50 +02:00
ZetaTom
acfe6e66d8
Remove unnecessary call to clear title in UnifiedSearchFragment
Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
2023-07-25 16:26:01 +02:00
ZetaTom
e71bcb72fa
Hide search close button when search input is cleared
Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
2023-07-25 11:32:20 +02:00
ZetaTom
5f7941219e
Hide actionbar title when search input field is opened
Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
2023-07-25 11:32:20 +02:00
Andy Scherzinger
db5b312b3f
Merge pull request #11817 from nextcloud/nmc/fixMediaViewEmptyState
Fix empty state for media view
2023-07-24 18:08:03 +02:00
Andy Scherzinger
2a53a783de
fix formatting for spotless version bump
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2023-07-24 17:56:36 +02:00
A117870935
d91661cb4a
Persist last selected media folder for media view. 2023-07-24 17:40:19 +02:00
A117870935
a24418cf50 Fix folder picker empty state headline text. 2023-07-20 10:33:47 +05:30
A117870935
6c32bbf8a8 Fix empty state for media view. 2023-07-19 22:23:14 +05:30
Andy Scherzinger
408a7475ef
Merge pull request #11804 from nextcloud/nmc/fixShareFavCrash
Crash fix for shared and fav section
2023-07-14 17:53:12 +02:00
A117870935
5c0805af45 Fix preview media file update for file action. 2023-07-13 23:05:36 +05:30
A117870935
e290a0a240 Fix shared and fav section crash by avoiding multiple api calls. 2023-07-13 19:57:43 +05:30
Andy Scherzinger
c26496874e
Merge pull request #11799 from nextcloud/fix/texteditor-external-links
Fix external links in texteditor
2023-07-11 19:26:31 +02:00
Álvaro Brey
d0d080d400 refactor: Dedplicate code to handle nonexisting folder
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-07-11 18:28:59 +02:00
Álvaro Brey
44f06068b0 fix: Reset last upload path when it doesn't exist anymore
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-07-11 18:28:59 +02:00
Álvaro Brey
f3b3dc4fdd fix: Crash when last upload folder does not exist anymore
- When browsing back from a folder, directly browse to root if parent does not exist
- When initially opening a folder, directly browse to root if it doesn't exist

Fixes #11207

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-07-11 18:28:59 +02:00
ZetaTom
f5d03dbcbc
Improve wording and clean up
Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
2023-07-11 15:06:26 +02:00
ZetaTom
dfcbce5d49
Open links in browser instead of webview
- links in text-editor will now open in external browser by default
- fixed a few warnings/deprecations

Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
2023-07-11 14:54:31 +02:00
Andy Scherzinger
62893533ca
Merge pull request #11568 from nextcloud/nmc/folderNewShareUpdatePermission
Fix: new folder/file share permission
2023-07-10 21:44:20 +02:00
Andy Scherzinger
8011494337
Format code
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2023-07-10 18:57:44 +02:00
ZetaTom
f811ab679e
Request POST_NOTIFICATION permission after onboarding is completed
Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
2023-07-10 18:57:44 +02:00
ZetaTom
8617954cff
Reformat PermissionUtil.kt
Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
2023-07-10 18:57:44 +02:00
ZetaTom
c6bfb73e39
Utilise granular media permissions
Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
2023-07-10 18:57:44 +02:00
A117870935
a0457d8eb1 Fix: take user selected permission for newly folder share instead of default (view only) permission. 2023-07-10 21:08:05 +05:30
A117870935
1f8bff5f8e Migrated Owncloud to NextCloud client for EmptyTrashbinRemoteOperation to fix crash. 2023-07-04 18:38:02 +02:00
Andy Scherzinger
d58edd4dce
Merge pull request #11774 from nextcloud/updatePermissions
After successful upload update permission to have correct resharing info
2023-07-04 18:36:47 +02:00
Andy Scherzinger
3511dc1d9c
Merge pull request #11759 from nextcloud/e2e_hideStream
Do not show "stream with" option for encrypted files
2023-07-04 18:35:53 +02:00
Andy Scherzinger
d6158a549f
Merge pull request #11765 from nextcloud/fix/trashbin
Fix crash when emptying bin
2023-07-04 18:28:39 +02:00
Andy Scherzinger
8ca7b1d8e3
Merge pull request #11761 from nextcloud/fix/download-PreviewMediaFragment
PreviewMediaFragment: UI/UX improvements
2023-07-04 18:27:58 +02:00
ZetaTom
d337013616 Fix actions in folder picker
- removed *Select all*
- show create folder icon instead of single item overflow menu
- adjust theming in *Choose upload folder* dialogue

Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
2023-07-03 23:40:25 +02:00
ZetaTom
bc16cebfa1
Move strings to strings.xml
Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
2023-06-29 15:33:48 +02:00
ZetaTom
85311d5afd
Fix SpotBugs increase
- remove background colour from rounded_rect.xml

Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
2023-06-29 14:41:52 +02:00
ZetaTom
0d2c34dbde
Fix formatting and suppress magic number
- added some comments

Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
2023-06-29 14:41:52 +02:00
ZetaTom
f8430b34a0
Add contentDescription to image editor controls
- reduce bottom margin of image editor control strip

Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
2023-06-29 14:41:52 +02:00
ZetaTom
c113861e63
Add image editor
Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
2023-06-29 14:41:52 +02:00
ZetaTom
a767dee94c
Only colour logo of non-branded client in PreviewMediaFragment
Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
2023-06-28 14:19:19 +02:00
ZetaTom
71cbe4f5e0
Fix deprecation
Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
2023-06-28 14:19:19 +02:00
ZetaTom
30230d37eb
UX fixes for PreviewMediaFragment
- only autoplay videos once
  - e.g. not when returning from external app
- remember playback position on stop
- colour logo to be visible when no audio thumbnail is available

Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
2023-06-28 14:19:19 +02:00
ZetaTom
fee634623a
Fix download action in PreviewMediaFragment
- allow to download file from actions menu
- hide pin to home screen
- fix exception when returning from external player

Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
2023-06-28 14:19:19 +02:00
tobiasKaminsky
d772fe54f5
After successful upload update permission to have correct resharing info
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-06-26 10:31:24 +02:00
ZetaTom
55bd8cbd9c
Fix back icon when returning from build-in pdf viewer
Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
2023-06-23 16:55:21 +02:00
ZetaTom
391ffa5b1d Fix back arrow appearing as hamburger icon
Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
2023-06-23 09:10:06 +02:00
ZetaTom
a75af065f9 Fix crash when emptying bin
Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
2023-06-21 15:59:20 +02:00
tobiasKaminsky
e0ada449b4
Do not show "stream with" option for encrypted files
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-06-21 08:01:45 +02:00
ZetaTom
9124ae8763 Apply requested changes from #11523
Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
2023-06-20 17:00:33 +02:00
A117870935
9390ad33e8 Added copyright. 2023-06-20 18:18:57 +05:30
A117870935
385320df78 Fixed e2ee dialog crash due to null context. 2023-06-20 18:18:54 +05:30
Andy Scherzinger
e70e262778
Merge pull request #11756 from nextcloud/fix/encrypted-folder-icon
Fix encrypted folder icon
2023-06-20 13:13:38 +02:00
ZetaTom
464543dcaa
Open bottom sheet as expanded by default
Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
2023-06-20 11:01:52 +02:00
ZetaTom
d987cfa0e0 Update encryption flag on newly encrypted folder
Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
2023-06-20 10:57:16 +02:00
tobiasKaminsky
3ef9e626de
E2E setup is only possible with internet connection
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-06-08 21:25:07 +02:00
A117870935
97210f804e
Fixed opening Passcode screen two times.
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2023-06-08 15:14:57 +02:00
Andy Scherzinger
25b61a38ac
enable "logo-only" splashscreen
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2023-06-08 15:14:56 +02:00
Andy Scherzinger
5e4e5a7e85
Add copyrights and replace logo for splash screen
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2023-06-08 15:14:56 +02:00
tobiasKaminsky
34a7b2c022
bold
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2023-06-08 15:14:56 +02:00
A117870935
aa199088df
Splash text updated, logo removed and test cases updated.
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2023-06-08 15:14:56 +02:00
A117870935
2182f12311
Splash screen migrated to android 31+ and warning removed.
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2023-06-08 15:14:55 +02:00
A117870935
1565e68be0
Added splash screen.
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2023-06-08 15:14:55 +02:00
Andy Scherzinger
0d98f2993b
Make all non-primary buttons borderless/non-tonal
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2023-06-08 15:12:48 +02:00
Andy Scherzinger
09c7aa2d0a
move timestamp below message, move buttons back to the left
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2023-06-08 15:12:48 +02:00
Andy Scherzinger
06388ba539
Move to Material 3 color theming for notification items
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2023-06-08 15:12:47 +02:00
Andy Scherzinger
d94f9acd11
Implement theming of 2-action notification item's buttons
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2023-06-08 15:12:47 +02:00
A117870935
ca491452e2
Copyright added.
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2023-06-08 15:12:47 +02:00
A117870935
86383b3fd6
Notification list action button customized.
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2023-06-08 15:12:47 +02:00
A117870935
4bce2d3e34 Triggering one email for newly created share. 2023-06-07 18:16:06 +02:00
Andy Scherzinger
2996cfbe4f
Merge pull request #11694 from nextcloud/rememberMnemonic
Remember mnemonic on device rotation
2023-06-06 09:19:10 +02:00
tobiasKaminsky
405725daf8
Remember mnemonic on device rotation
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-06-05 15:08:29 +02:00
Tobias Kaminsky
4c6768a43e
Merge pull request #11684 from nextcloud/conflictNotification
Show conflict notification with newer API
2023-06-05 14:42:28 +02:00
tobiasKaminsky
cd0aa47855 Use resultData for Push and Notifications
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-06-02 15:04:50 +02:00
tobiasKaminsky
01cc5c72c8
upon update reset capabilities
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-06-02 08:24:50 +02:00
tobiasKaminsky
8ec5994151
Show conflict notification with newer API
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-06-01 16:01:28 +02:00
tobiasKaminsky
df750bf93a
add missing import
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-06-01 11:27:43 +02:00
Tobias Kaminsky
94dcb8ecbb
Update app/src/main/java/com/nextcloud/ui/fileactions/FileActionsBottomSheet.kt
Co-authored-by: Tom <70907959+ZetaTom@users.noreply.github.com>
Signed-off-by: Tobias Kaminsky <tobias@nextcloud.com>
2023-06-01 11:27:43 +02:00
tobiasKaminsky
1ecbf84505
Prevent having double entries after rotate
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-06-01 11:27:43 +02:00
Tobias Kaminsky
8e86617177
Merge pull request #11673 from nextcloud/fixShowingOneGroupfolder
fix showing only one groupfolder
2023-06-01 10:48:44 +02:00
Tobias Kaminsky
8cd3edffff
Merge pull request #11672 from nextcloud/groupfolderCapability
Store groupfolder capability
2023-05-31 08:56:19 +02:00
Tobias Kaminsky
1e5d1e85da
Merge pull request #11286 from afflux/documentsstorageprovider-emptypath
handle files that have just been uploaded in DocumentStorageProvider
2023-05-31 08:32:11 +02:00
tobiasKaminsky
40d8ea8673 fix showing only one groupfolder
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-05-30 18:55:02 +02:00
Andy Scherzinger
58fce22ab6
Merge pull request #11675 from nextcloud/fix/password-protected-pdfs
Fix crash when opening password-protected pdfs.
2023-05-30 18:53:29 +02:00
ZetaTom
00904fbcf0
Fix crash when opening password-protected pdfs.
Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
2023-05-30 15:22:17 +02:00
Andy Scherzinger
c7d0d0f47d
reformat code
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2023-05-30 13:56:12 +02:00
tobiasKaminsky
095c5c6766
Store groupfolder capability
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-05-30 10:40:18 +02:00
Kjell Braden
d0db9427cd handle files that have just been uploaded in DocumentStorageProvider
fixes #11283

Directly after upload, UploadFileOperation may change paths to the empty
string (see commit a7304351b1). Most accessors of OCFile handle this, so
DocumentStorageProvider must use one that does.

Signed-off-by: Kjell Braden <afflux@pentabarf.de>
2023-05-29 11:29:21 +02:00
tobiasKaminsky
cfe41aced6 correct check for groupfolder entry
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-05-26 17:20:04 +02:00
tobiasKaminsky
99f5941a60 use TrashbinFile
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-05-26 09:04:31 +02:00
Andy Scherzinger
2c4d5e5a0d
Merge pull request #11658 from tanganellilore/fix_app_videoplayer_agent
Add user agent on Exoplayer
2023-05-25 19:01:36 +02:00
Andy Scherzinger
ae2c57ba46
Merge pull request #11655 from nextcloud/dependabot/gradle/io.coil-kt-coil-2.4.0
Build(deps): Bump io.coil-kt:coil from 2.2.2 to 2.4.0
2023-05-25 15:22:25 +02:00
Lorenzo Tanganelli
7b0669f65e move import at the end
Signed-off-by: Lorenzo Tanganelli <lorenzo.tanganelli@hotmail.it>
Signed-off-by: lorenzo.tanganelli <lorenzo.tanganelli@staff.aruba.it>
2023-05-25 15:14:58 +02:00
Lorenzo Tanganelli
649950fe23 add useragent on Exoplayer
Signed-off-by: lorenzo.tanganelli <lorenzo.tanganelli@staff.aruba.it>
2023-05-25 15:14:58 +02:00
Andy Scherzinger
ff6feca39c Migrate Transformations use to Kotlin extension method syntax
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2023-05-25 15:07:39 +02:00
tobiasKaminsky
8d0faaeca5
Migration is needed, otherwise it drops database 😨
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-05-25 14:09:35 +02:00
tobiasKaminsky
6f1461e0e6 Rotate new folder dialog led to crash
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-05-24 20:01:50 +02:00
ZetaTom
604b4e030b
Fix text duplication when using TextEditorWebView
Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
2023-05-19 09:24:41 +02:00
tobiasKaminsky
d9c71edba0
fix test
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-05-17 12:01:49 +02:00
tobiasKaminsky
bbb0dbefed
cleanup
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-05-17 12:01:40 +02:00
tobiasKaminsky
5492a99e38
E2E v1.2
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-05-17 12:01:40 +02:00
Andy Scherzinger
4d4c9e9c9a
Merge pull request #11565 from nextcloud/noRequestedOrientation
Do not enforce orientation change
2023-05-16 15:10:33 +02:00
tobiasKaminsky
3fcee5798b
Fix crash when changing orientation when bottom sheet dialog in preview image is open
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-05-16 09:24:36 +02:00
tobiasKaminsky
1b732bdc6e Do not enforce orientation change
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-05-14 21:52:02 +02:00
Álvaro Brey
f07b222a1d
Fix types after kotlin port of some library classes
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-05-14 19:19:33 +02:00
Andy Scherzinger
be28bc8c61
Merge pull request #11349 from nextcloud/dependabot/gradle/com.googlecode.ez-vcard-ez-vcard-0.12.0
Build(deps): Bump com.googlecode.ez-vcard:ez-vcard from 0.11.3 to 0.12.0
2023-05-13 22:53:19 +02:00
tobiasKaminsky
73d87f164a
package rename
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-05-13 18:32:04 +02:00
tobiasKaminsky
9f49e0dbc4
moved to common package
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-05-13 18:32:04 +02:00
tobiasKaminsky
331f5b2371
moved to gplay only
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-05-13 18:32:04 +02:00
A117870935
b89df5a405
Feature non-related code reverted. 2023-05-13 18:32:04 +02:00
A200073727
cf002699af
Implemented Google Play In-App Review.
Commit id-  51336eb,  0db2944,  fdffa0b
from feature/NMCLOUD-832 Implemented Google Play In-App Review.
2023-05-13 18:32:03 +02:00
A200073727
19cf84fd75
added Compilation Fix for type mismatch
Commit id-fdffa0b
from branch feature/NMC-832
added Compilation Fix for type mismatch
2023-05-13 18:32:03 +02:00
A200073727
6d5d7bf5a1
Fixed imports in existing test cases.
Commit id- 0db2944
from branch feature/NMC-832
Fixed imports in existing test cases.
2023-05-13 18:32:03 +02:00
A200073727
5787fcba14
Google Play In-App Review.
Commit id-51336eb
from branch feature/NMCLOUD-832
Google Play In-App Review.
2023-05-13 18:32:03 +02:00
Andy Scherzinger
36b49c01ba
use new input stream creation when API level allows it
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2023-05-13 18:31:24 +02:00
Andy Scherzinger
f525affb13
Adapt to chanegd ezvCard implementation
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2023-05-13 18:31:24 +02:00
Andy Scherzinger
ceb6cd6f2f
Merge pull request #11607 from nextcloud/shareLinkMissing
show share link in shared overview for folders
2023-05-13 11:28:25 +02:00
Andy Scherzinger
26fe49ab4a
Add theming for Tags
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2023-05-12 14:22:40 +02:00
tobiasKaminsky
d6aea60f7c
show share link in shared overview for folders
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-05-11 07:31:44 +02:00
tobiasKaminsky
08f25a3505
add test
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-05-09 08:53:56 +02:00
tobiasKaminsky
1b2572fc5c
use group folder icon
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-05-09 08:53:55 +02:00
tobiasKaminsky
4760cce257
wip
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-05-09 08:53:55 +02:00
tobiasKaminsky
464a6ad1b6
wip
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-05-09 08:53:54 +02:00
tobiasKaminsky
aeac90881d
wip
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-05-09 08:53:54 +02:00
A117870935
a56e62a49c
Unnecessary code revert.
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2023-05-08 18:11:55 +02:00
A117870935
f9761628fe
Copyright added.
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2023-05-08 18:11:55 +02:00
A117870935
16c957c834
Configurable calendar backup.
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2023-05-08 18:11:55 +02:00
Andy Scherzinger
ddb632de69
chore: remove unused variable
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2023-05-08 16:17:32 +02:00
tobiasKaminsky
d12718f2b1
Bottom sheet expands fully on landscape
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-05-08 16:16:05 +02:00
Andy Scherzinger
3e1f61afc9
Merge pull request #11515 from nextcloud/tags
Support for viewing tags
2023-05-08 10:57:24 +02:00
tobiasKaminsky
385d0e9d46
add inject for SyncedFolderProvider
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-05-08 10:07:53 +02:00
tobiasKaminsky
da2676bd31
add inject for SyncedFolderProvider, more to come
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-05-08 10:07:52 +02:00
Andy Scherzinger
c5a705d58f
add return value documentation
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2023-05-08 10:07:52 +02:00
Andy Scherzinger
a43d3befec
Update auto upload folder icon
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2023-05-08 10:07:52 +02:00
A117870935
ec816b8b8f
Folder icon for AutoUpload folder.
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2023-05-08 10:07:52 +02:00
A117870935
3db2c7db04
Fixed errors while running.
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2023-05-08 10:07:51 +02:00
A117870935
a8abd516e1
auto upload folder icon implementation.
Commit id: 8c5ddaa from feature/NMCLOUD-629.

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2023-05-08 10:07:51 +02:00
tobiasKaminsky
b3154703eb
Exoplayer: forward 5s
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-05-05 14:04:02 +02:00
tobiasKaminsky
96868215fb
fix
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-05-04 13:15:11 +02:00
tobiasKaminsky
3ab8cc3d17
empty array list for tags
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-05-04 13:15:11 +02:00
tobiasKaminsky
f6e3bcc8f3
wip
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-05-04 13:15:10 +02:00
tobiasKaminsky
31560bf1e8
wip
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-05-04 13:15:10 +02:00
tobiasKaminsky
d484a88506
fix NPE, polish
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-05-04 13:15:10 +02:00
tobiasKaminsky
c72354bd3e
show two tags
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-05-04 13:15:10 +02:00
tobiasKaminsky
eaf8462fe1
correct background color in detail view
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-05-04 13:15:09 +02:00
tobiasKaminsky
d262b699ef
show tags in file details
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-05-04 13:15:09 +02:00
tobiasKaminsky
f196bfd874
Support for viewing tags
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-05-04 13:15:08 +02:00
tobiasKaminsky
3b5d2a0391
Show empty message for gallery view
added tests

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-05-04 10:17:46 +02:00
Tobias Kaminsky
fa8c72a0e2
Merge pull request #10621 from nextcloud/fix/shared-selection
SharedListFragment: replace file in adapter when fetching the complete data
2023-05-03 16:44:34 +02:00
Andy Scherzinger
a139938300
Merge pull request #11567 from nextcloud/nmc/fileOwnerNameIgnoreCase
Fix file owner and account name check ignore case.
2023-05-03 15:24:17 +02:00
A117870935
0dd1872027
File icon handled and added for mime type analytics.
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2023-05-02 10:56:15 +02:00
Tobias Kaminsky
b45dbbd553
Merge pull request #11566 from nextcloud/nmc/accountSetupBindingNull
Handling account setup binding null.
2023-05-02 08:31:29 +02:00
Tobias Kaminsky
98774d3735
Merge pull request #11564 from nextcloud/nmc/avoidShowingMultipleShareDialog
Fixed showing multiple send share dialog
2023-05-02 08:30:21 +02:00
A117870935
8703995ca0 Copyright added. 2023-04-28 11:14:05 +05:30
A117870935
0c9ddf02f2 Fix file owner and account name check ignore case. 2023-04-28 00:48:10 +05:30
A117870935
4e00894f8b Copyright updated. 2023-04-27 17:34:06 +05:30
A117870935
4624d6d308 Handling account setup binding null. 2023-04-27 17:30:51 +05:30
Tobias Kaminsky
ba8a8a3a5b
Merge pull request #11548 from nextmcloud/templateDialogErrorHandling
Handling empty state for rich document dialog.
2023-04-27 13:29:43 +02:00
A117870935
3e527e3b26 Copyright updated. 2023-04-27 15:57:20 +05:30
A117870935
bcb2d6b282 Fix showing share send dialog multiple times by rapidly clicking share icon. 2023-04-27 15:56:57 +05:30
Tobias Kaminsky
212b288d4b
Merge pull request #11519 from nextmcloud/nmc/1940-favShownTwice
Favourite shown twice
2023-04-21 15:20:06 +02:00
Tobias Kaminsky
043f6306dd
Merge pull request #11518 from nextmcloud/nmc/1939-syncFolderRuntimeException
User check added when sync folder runs after user clears the data.
2023-04-21 15:19:46 +02:00
A117870935
792dd572c0 Copyright added. 2023-04-21 00:00:43 +05:30
A117870935
4f690d1e51 Handling empty state for rich document dialog. 2023-04-20 23:40:01 +05:30
Andy Scherzinger
0d58f2d82c
improve spotbug score
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2023-04-19 12:56:22 +02:00
Andy Scherzinger
86942792d9
Use local for date formattings
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2023-04-19 12:56:21 +02:00
tobiasKaminsky
0b2665682d
not used static final
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-04-19 12:21:25 +02:00
A200073727
8b41d3133e Code optimization for favorites shown twice in menu. 2023-04-18 19:48:31 +05:30
A117870935
fe08ba12dd Copyright added. 2023-04-13 19:39:17 +05:30
A117870935
4c1581131e Fixed favourites shown twice. 2023-04-13 19:38:34 +05:30
A117870935
b1a1cf3c36 Copyright updated. 2023-04-13 19:28:16 +05:30
A117870935
157872886e User check added when sync folder runs after user clears the data. 2023-04-13 19:24:44 +05:30
Tobias Kaminsky
10034e6bf9
Merge pull request #11402 from nextcloud/loadNotes
when resuming note directly after creating, url is not working anymore, thus we need a new one
2023-04-13 14:43:01 +02:00
Tobias Kaminsky
426669816d
Merge pull request #11321 from eraser2021999/master
Fix issues with Media Tab & performance improvement.
2023-04-12 12:40:03 +02:00
tobiasKaminsky
2c9da26f68 Adopt to latest version
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-03-28 16:59:53 +00:00
DESKTOP-EMSE65H\Archontis
40bfca1a06 add my name to license comment
Signed-off-by: DESKTOP-EMSE65H\Archontis <arxontisk02@gmail.com>
2023-02-27 14:05:01 +02:00
DESKTOP-EMSE65H\Archontis
3de35d2996 Refactor onCreate: extract initTaskRetainerFragment method
This commit extracts the logic to initialize a fragment without UI on a seperate method called `initTaskRetainerFragment`.

Signed-off-by: DESKTOP-EMSE65H\Archontis <arxontisk02@gmail.com>
2023-02-27 14:05:01 +02:00
DESKTOP-EMSE65H\Archontis
8b571bb58c Refactor onCreate: extract initUI method
This commit:
- Creates a `initUI()` method to handle the setup of the toolbar and UI components
- Removes corresponding code from `onCreate()` and replaced it with a call to the new method
- Improves readability of `onCreate()` method

This change does not affect the functionality of the original code.

Signed-off-by: DESKTOP-EMSE65H\Archontis <arxontisk02@gmail.com>
2023-02-27 14:05:01 +02:00
DESKTOP-EMSE65H\Archontis
4cdfa994e9 Refactor onCreate method: extract initLayout method
This commit refactors the onCreate() method by exctracting a new method to handle the layout inflation and setting of the content view. The readability of onCreate method is improved.

This change does not affect the functionality of the original code.

Signed-off-by: DESKTOP-EMSE65H\Archontis <arxontisk02@gmail.com>
2023-02-27 14:05:01 +02:00
DESKTOP-EMSE65H\Archontis
3316726a1d Refactor onCreate() to extract method for loading saved instance state
This commit refactors the onCreate() method by extracting the code responsible for loading the saved instance state into a separate method named loadSavedInstanceState(). This improves the readability and maintainability of the code by reducing the complexity of the onCreate() method and separating concerns. The loadSavedInstanceState() method simply takes a Bundle parameter and initializes the relevant instance variables based on the saved state. The onCreate() method now simply calls the super.onCreate() method, sets the default theme, and initializes the sync broadcast receiver.

This change does not affect the functionality of the original code.

Signed-off-by: DESKTOP-EMSE65H\Archontis <arxontisk02@gmail.com>
2023-02-27 14:05:01 +02:00
Álvaro Brey
f91abefc6d
Merge pull request #11149 from nextcloud/mTimestamp
mTime: use typed parameter (long) instead of String
2023-02-22 17:21:13 +01:00
Álvaro Brey
a8401a2356
Merge pull request #11411 from nextcloud/fix/fsu-encryption-npe
fix: FileStorageUtils: prevent NPE when checking encryption status
2023-02-22 16:46:37 +01:00
tobiasKaminsky
860113e842
mTime: use typed parameter (long) instead of String
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-02-22 14:48:03 +01:00
Álvaro Brey
a9e4ba9abd
fix: FileStorageUtils: prevent NPE when checking encryption status
This can happen if the parent of a file has been deleted.

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-02-21 15:14:29 +01:00
tobiasKaminsky
5c1c97efa1
when resuming note directly after creating, url is not working anymore, thus we need a new one
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-02-20 09:32:04 +01:00
Álvaro Brey
5bbb26c23c
Remove unused imports
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-02-17 11:02:45 +01:00
Álvaro Brey
a9e1609f30
feat(download): Show specific error message when download fails due to invalid local filename
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-02-17 11:02:45 +01:00
Álvaro Brey
0445eb3768
feat(download): Show specific error if download fails due to local file creation failure
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-02-17 11:02:45 +01:00
Álvaro Brey
0946399ba9
Use adaptive colors for pre-login screens (#11362)
* Use unmodified primary color as background through M3 utils for login screen

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>

* Use color utils to fix colors in AuthenticatorActivity for light primaries

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>

* WhatsNewActivity: fix for light primary color, port to viewbinding

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>

* Fix status bar colors in pre-login screens

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>

* FeatureFragment: fix spotbugs

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>

* Update login screenshot

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>

* build: Set ui dep to 0.5.0 tag

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>

---------

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-02-13 12:39:27 +01:00
tobiasKaminsky
cf28c7e7d2
After removing last favorite item show correct placeholder
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-02-09 16:18:58 +01:00
Tobias Kaminsky
08aa51c411
Merge pull request #11266 from nextcloud/secureFiledrop
Secure filedrop
2023-02-08 13:54:25 +01:00
Tobias Kaminsky
d5e3f4405d
Merge pull request #11339 from nextcloud/sharedView
Fix shared view
2023-02-08 10:49:41 +01:00
tobiasKaminsky
1af18ad3cd
Secure filedrop
add tests
Rename .java to .kt
only show secure filedrop / sharing on NC26+
Refactor EncryptionUtils to avoid having test arguments on public method

Added secure filedrop

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
Signed-off-by: Tobias Kaminsky <tobias@nextcloud.com>
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-02-07 09:44:07 +01:00
Bogdan Coticopol
3ce6a16bd8 Signed-off-by: Bogdan Coticopol <bcoticopol@gmail.com>
Minor refactoring on Media Tab.
2023-02-05 19:51:42 +02:00
tobiasKaminsky
d68e79d547
set remoteId as we need it for thumbnails
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-02-02 10:55:44 +01:00
tobiasKaminsky
395af69162
Fix toggling favorite on sharing
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-02-02 10:55:44 +01:00
tobiasKaminsky
113f974fd0
fix interrupted e2e uploads
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-02-02 08:49:33 +01:00
Álvaro Brey
36c8b404c6
Merge pull request #11267 from nextcloud/dependabot/gradle/me.zhanghai.android.fastscroll-library-1.2.0
Build(deps): Bump me.zhanghai.android.fastscroll:library from 1.1.8 to 1.2.0
2023-01-30 15:27:10 +01:00
Bogdan Coticopol
2bf3a5b142 Signed-off-by: Bogdan Coticopol <bcoticopol@gmail.com>
Fix issues with Media Tab & performance improvement.
2023-01-29 21:59:39 +02:00
Álvaro Brey
1e0d48f945
Fix compilation error for GalleryFastScrollViewHelper
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-01-27 12:09:52 +01:00
Álvaro Brey
0f51646d3c
Close scan activity if camera permission is denied
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-01-27 11:55:35 +01:00
Álvaro Brey
fc9139f4e2
Remove useless todo, handle request type event
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-01-27 11:55:34 +01:00
Álvaro Brey
1917198305
Move optional appscan feature to a separate module to avoid duplicating code between variants
This now uses a AppScanOptionalFeature injected interface that is satisfied by each module,
reducing the duplicated code to a minimum

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-01-27 11:55:32 +01:00
Álvaro Brey
9478fb15e9
Improve export type selection dialog
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-01-27 11:54:41 +01:00
Álvaro Brey
cd51c4f5df
Allow uploading document as multiple images instead of single PDF
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-01-27 11:54:41 +01:00
Álvaro Brey
41ef0614e0
Allow multi-page PDF scans
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-01-27 11:54:41 +01:00
Álvaro Brey
3d291d8fec
Bump OUTDATED_SERVER_VERSION to Nextcloud 23, as it has reached EOL
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-01-25 14:41:06 +01:00
Álvaro Brey
b30b8ebf1f
Merge pull request #10558 from nextcloud/doNotUploadFolderWhenEncryption
When uploading files to an encrypted folder do not allow to upload entire folders
2023-01-25 14:26:54 +01:00
Álvaro Brey
f115883df2
Merge pull request #11138 from nextcloud/favoriteInShares
Shows favorite state in share overview
2023-01-25 12:46:07 +01:00
tobiasKaminsky
d4e9ef203f When uploading files to an encrypted folder do not allow to upload entire folders
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-01-25 11:28:48 +00:00
tobiasKaminsky
4f1d0347f4 Uses: https://github.com/nextcloud/android-library/pull/968
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-01-25 09:58:50 +01:00
tobiasKaminsky
f18225eda6
Show "unset encryption" only when E2E is setup
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-01-25 09:56:55 +01:00
Álvaro Brey
4cedd9d30d
Merge pull request #11230 from nextcloud/e2eCorrectState
Show setup e2e only when
2023-01-25 09:55:00 +01:00
Álvaro Brey
f0003c4a56
Merge pull request #11264 from nextcloud/dependabot/gradle/com.diffplug.spotless-6.13.0
Build(deps): Bump com.diffplug.spotless from 6.12.0 to 6.13.0
2023-01-25 09:47:58 +01:00
Tobias Kaminsky
974bfbd973
Merge pull request #11287 from nextcloud/fixLocalIDafterUpgrade
upon upgrade localID may be null, better use default value
2023-01-25 07:30:10 +01:00
Álvaro Brey
21479cc912
Apply ktlint style after spotless update
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-01-24 12:02:04 +01:00
Álvaro Brey
07f744fe8f
Merge pull request #11100 from nextcloud/chore/skip-ui-refresh-when-no-changes
Refresh UI only when changes are detected on the server
2023-01-24 11:53:24 +01:00
Álvaro Brey
29bcfd07fd
NextcloudDatabase: 67 to 68 is a manual migration
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-01-24 11:21:53 +01:00
Álvaro Brey
42b4519ab1
Add room migration to change local_id to NOT NULL
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-01-24 10:58:53 +01:00
Álvaro Brey
1f0bcc74b1
Include schema and automigration
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-01-24 10:02:39 +01:00
tobiasKaminsky
a41ca26b90
upon upgrade localID may be null, better use default value
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-01-24 08:54:55 +01:00
Dariusz Olszewski
d3841cd0ca Partially revert previous commit - existence check required for directories
Signed-off-by: Dariusz Olszewski <starypatyk@users.noreply.github.com>
2023-01-23 15:54:54 +00:00
Dariusz Olszewski
08db3923cb Skip check for existing files when reading file data from local DB
Signed-off-by: Dariusz Olszewski <starypatyk@users.noreply.github.com>
2023-01-23 15:54:54 +00:00
Dariusz Olszewski
742fa45f16 Refresh UI only when changes are detected on the server
Signed-off-by: Dariusz Olszewski <starypatyk@users.noreply.github.com>
2023-01-23 15:12:21 +00:00
Tobias Kaminsky
191d7532c0
Merge pull request #11273 from nextcloud/chore/compile-sdk-33
build: Bump compileSdk to 33
2023-01-20 09:19:11 +01:00
Álvaro Brey
7dc89f1e72
Merge pull request #11269 from nextcloud/fix/10668/create-document-offline-crash
ChooseTemplateDialogFragment: check selectedTemplate is not null before attempting to get the extension
2023-01-19 20:36:11 +01:00
Álvaro Brey
863c9b72c9 EncryptionUtils: fix new lint warning
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-01-19 15:49:57 +01:00
Álvaro Brey
e236891827 Fix build errors in SDK 33
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-01-19 15:49:57 +01:00
Álvaro Brey
8200b41225 ChooseTemplateDialogFragment: check selectedTemplate is not null before attempting to get the extension
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-01-18 12:42:49 +01:00
tobiasKaminsky
0b33eaff97 Changes after rebase
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-01-18 12:23:37 +01:00
tobiasKaminsky
b78e991d54 use localID everywhere
Co-authored-by: Álvaro Brey <alvaro.brey@nextcloud.com>
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-01-18 12:23:37 +01:00
Álvaro Brey
59a13e0d4f
Merge pull request #11251 from nextcloud/chore/json-common-cases
Avoid JSON deserialization in common trivial cases
2023-01-17 15:15:50 +01:00
tobiasKaminsky
8c68953884 Show setup e2e only when
- e2e is available on server
- no keys exists yet

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-01-17 14:47:47 +01:00
Álvaro Brey
d93634aac8
Merge pull request #11250 from nextcloud/bugfix/11215
fix(EditorWebView): Move local image upload to the editor web view
2023-01-17 10:34:56 +01:00
Álvaro Brey
cdf048945f Reset search when browsing to a folder from the favorites list
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-01-16 08:22:46 +00:00
Dariusz Olszewski
49cccd1ccd Clean-up - remove commented diagnostic code
Signed-off-by: Dariusz Olszewski <starypatyk@users.noreply.github.com>
2023-01-14 23:51:21 +00:00
Dariusz Olszewski
eae9ff15c7 Avoid JSON deserialization in common, trivial cases
Signed-off-by: Dariusz Olszewski <starypatyk@users.noreply.github.com>
2023-01-14 23:51:21 +00:00
Julius Härtl
23d3dc22b5
fix(EditorWebView): Move local image upload to the editor web view
This makes sure that direct editing apps like text can also use regular
upload image methods through file input elements in the webview

fixes #11215
fixes #10744

Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-01-13 21:30:15 +01:00
dependabot[bot]
8b0deac0b4
Build(deps): Bump gradle from 7.3.1 to 7.4.0
Bumps gradle from 7.3.1 to 7.4.0.

---
updated-dependencies:
- dependency-name: com.android.tools.build:gradle
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-01-13 09:14:20 +01:00
Álvaro Brey
df0089ed1d
PassCodeManager: add some logic to avoid counting the same activity twice
This is very specific to the case where an activity extending from AuthenticatorActivity _and_ running as `singleTask`
gets restarted, in which case it calls `PassCodeManager.onActivityResumed` twice (once on `onResume` and once on `onNewIntent`).

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-01-10 14:38:16 +01:00
Álvaro Brey
1c7ffffe03
Merge pull request #11194 from nextcloud/fix/random-lint
fix/random lint
2023-01-09 15:01:45 +01:00
Álvaro Brey
805add5b69 Clear layout inflation lint issues in ReceiveExternalFilesActivity and UploaderAdapter
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-01-05 08:32:09 +00:00
Álvaro Brey
adae8d9e71 MediaControlView: move to ViewBinding to fix lint issue with inflation and clean up
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-01-05 08:32:09 +00:00
Álvaro Brey
66e19849cb
Use RSAPublicKey interface instead of OpenSSLRsaPublicKey to avoid conscrypt version conflicts
OpenSSLRsaPublicKey has a different package when using the open-source conscrypt vs. the one inserted
by Play Services.

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-01-05 09:04:25 +01:00
tobiasKaminsky
7abef86169
Check CSR
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-01-05 09:04:23 +01:00
Tobias Kaminsky
08eea65da7
Merge pull request #11098 from nextcloud/chore/room-for-filelist
Use Room for filelist table reads
2022-12-16 11:13:39 +01:00
Álvaro Brey
6d4a65b45c
FolderPickerActivity: also disable action when trying to move or copy a folder to a descendant of itself
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-12-15 17:22:11 +01:00
Álvaro Brey
04ffe37d25
FolderPickerActivity: remove EXTRA_CURRENT_FOLDER argument
It was unused (as it never reached the OCFileListFragment, which always starts at /) but was
mistakenly pre-populating the `file` variable with a wrong folder

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-12-15 11:15:31 +01:00
Álvaro Brey
a824d9a7b5
FolderPickerActivity: properly compare subfolders
Need to use File as well, otherwise trailing slashes are different

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-12-15 11:15:31 +01:00
Álvaro Brey
3cfd729b3c
FolderPickerActivity: disable copy/move to the same folder
It's a no-op anyways, right now, and causes bad UX

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-12-15 11:15:25 +01:00
Álvaro Brey
414e573ee6
Fix build failure after update in library
NextcloudVersion now has @JvmStatic in all members, so getters do no longer exist

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-12-15 10:57:33 +01:00
Dariusz Olszewski
69344bd8fb Remove TODOs as discussed
Signed-off-by: Dariusz Olszewski <starypatyk@users.noreply.github.com>
2022-12-13 23:28:15 +01:00
Dariusz Olszewski
07f61fcfa2 Apply suggestion from code review - FileDataStorageManager
Co-authored-by: Álvaro Brey <alvaro.brey@nextcloud.com>
Signed-off-by: Dariusz Olszewski <8277636+starypatyk@users.noreply.github.com>
2022-12-13 23:28:15 +01:00
Dariusz Olszewski
1a669e4eb6 Apply suggestions from code review
Co-authored-by: Álvaro Brey <alvaro.brey@nextcloud.com>
Signed-off-by: Dariusz Olszewski <8277636+starypatyk@users.noreply.github.com>
2022-12-13 23:28:15 +01:00