Commit graph

645 commits

Author SHA1 Message Date
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
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