Commit graph

21397 commits

Author SHA1 Message Date
Alper Ozturk
8105a02766
Add default folder icon function added due to apply color primary
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:30 +02:00
Alper Ozturk
15f5856646
Move getFileIcon into the MimeTypeUtil
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:30 +02:00
Alper Ozturk
6ccefc4e44
Remove unused icons from project directory
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:30 +02:00
Alper Ozturk
c570c4f2a5
Add viewThemeUtils for different primary colors
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:30 +02:00
Alper Ozturk
651908af93
Todo comment added
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:30 +02:00
Alper Ozturk
48bdbac2a3
Replace null check with assert due to ContextCompat.getDrawable nullability
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:30 +02:00
Alper Ozturk
6fc9970329
Rename getFileOverlayIcon to getFileOverlayIconId
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:29 +02:00
Alper Ozturk
6ed626d8b3
Remove Mockito from OCFileIconTests
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:29 +02:00
Alper Ozturk
7aa837fb8c
Add tests for each different folder icon type
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:29 +02:00
Alper Ozturk
bfd80793bc
Add OCFileIconTests
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:29 +02:00
Alper Ozturk
f745db1188
Extract getFileOverlayIcon function from getFileIcon
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:29 +02:00
Alper Ozturk
23cd9f91c7
Rename OCFile function name to getFileIcon
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:29 +02:00
Alper Ozturk
29e934fdce
Add DrawableUtilTests for testing overlaying icons
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:29 +02:00
Alper Ozturk
1f391397c1
Mark failed tests
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:29 +02:00
Alper Ozturk
ca09000327
Use overlay method for GroupfolderListAdapter
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:28 +02:00
Alper Ozturk
9870a80e87
Remove duplicated default folder icon func from MimeTypeUtil
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:28 +02:00
Alper Ozturk
3aa9c8aa32
Remove ViewThemeUtils usage to provide correct folder color
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:28 +02:00
Alper Ozturk
44e38c671f
Use overlay method for EditorWebView
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:28 +02:00
Alper Ozturk
aee3ffd7da
Change drawable to layer drawable
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:28 +02:00
Alper Ozturk
16db8c01b6
Use overlay method for ShareActivity
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:28 +02:00
Alper Ozturk
929b704425
Use overlay method for ShortcutUtil
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:28 +02:00
Alper Ozturk
bbea0e00d0
Apply color changes for folder
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
4b35088377
Use overlay method for UploadAdapter
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
32b8993331
Add DrawableUtil
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
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
e4dd05c6aa
Add folder overlay icons
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
2dc0d561fd
Add folder_encrypted 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
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
Nextcloud bot
9513ddecaa
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-06 02:46:19 +00:00
Nextcloud bot
ba51488d2a
Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-06 02:45:51 +00:00
Nextcloud bot
3ea2c74331
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-05 03:00:01 +00:00
Nextcloud bot
67f38b63cc
Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-05 02:59:34 +00:00
Nextcloud bot
90b46dbf6a
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-04 02:46:56 +00:00
Nextcloud bot
762f297d8f
Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-04 02:46:29 +00:00
Nextcloud bot
b282f1c4ba
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-03 02:44:53 +00:00
Nextcloud bot
d845526576
Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-03 02:44:25 +00:00
Andy Scherzinger
eedbdc0dfa
Merge pull request #11998 from nextcloud/dependabot/github_actions/gradle/gradle-build-action-2.9.0
Build(deps): Bump gradle/gradle-build-action from 2.8.0 to 2.9.0
2023-10-02 17:25:35 +02:00
dependabot[bot]
23038031cb
Build(deps): Bump gradle/gradle-build-action from 2.8.0 to 2.9.0
Bumps [gradle/gradle-build-action](https://github.com/gradle/gradle-build-action) from 2.8.0 to 2.9.0.
- [Release notes](https://github.com/gradle/gradle-build-action/releases)
- [Commits](ef76a971e2...842c587ad8)

---
updated-dependencies:
- dependency-name: gradle/gradle-build-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-02 11:39:46 +00:00
Nextcloud bot
0b5c828235
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-02 02:45:01 +00:00
Nextcloud bot
8ede587f08
Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-02 02:44:33 +00:00
Nextcloud bot
4cc8743547
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-01 02:51:51 +00:00
Nextcloud bot
96cc159139
Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-01 02:51:23 +00:00
Nextcloud bot
aabcb979a2
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-30 02:43:29 +00:00
Nextcloud bot
d0e2c1568a
Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-30 02:43:01 +00:00
Nextcloud bot
5b5402b5e1
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-29 02:45:08 +00:00
Nextcloud bot
8a7be770ba
Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-29 02:44:40 +00:00