Commit graph

22424 commits

Author SHA1 Message Date
Claudio Cambra
caf06d4dfd Rename horizontalLayout with duplicate name
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-22 09:14:00 +01:00
Claudio Cambra
f4871eaacd Fix broken general setting UI file
Looks like it was originally caused at some point by a bad rebase
conflict resolution

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-22 09:14:00 +01:00
Nextcloud bot
d64a94f8bb
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-22 02:52:48 +00:00
Claudio Cambra
bd23f5e3b3
Merge pull request #7548 from nextcloud/bugfix/mac-crafter-woes-pt-100000
Only sign main executable at end (mac-crafter)
2024-11-22 02:43:19 +08:00
Claudio Cambra
bd7c78300a
Skip main executable during first binary codesign round
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-22 02:30:04 +08:00
Claudio Cambra
cc37aa14bc
Add ability to skip certain files in recursive codesign
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-22 02:29:49 +08:00
Claudio Cambra
4e0e2f4a24
Merge pull request #7545 from nextcloud/bugfix/final-final-mc-fix-pls
Fix mac-crafter codesign executable check path building
2024-11-22 00:58:12 +08:00
Claudio Cambra
07d6456d5b
Ensure we sign the app bundle's main executable last
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-22 00:36:25 +08:00
Claudio Cambra
d4b9405870
Only define enumeratedItemPath once
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-22 00:36:12 +08:00
Claudio Cambra
8d01462c80
Ensure path passed to codesigning is absolute when using mac-crafter codesign
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-21 23:09:13 +08:00
Claudio Cambra
119883965a
Do not take current dir pth for filemanager for recursive codesign executable path check
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-21 23:08:38 +08:00
Matthieu Gallien
3378126833
Merge pull request #7540 from nextcloud/ci/fixWindowsAutomatedTests
remove this call that is probably useless and crashing tests
2024-11-21 12:32:18 +01:00
Matthieu Gallien
e4cd55130a remove this call that is probably useless and crashing tests
we initialize all colors in the palette, so this init methos is most
probably not doing anything useful

crashes when doing in automated tests

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-11-21 12:32:10 +01:00
Matthieu Gallien
52f066d20d
Merge pull request #5433 from nextcloud/feature/disable-talk-notifications
Feature/disable talk chat notifications
2024-11-21 12:31:32 +01:00
Claudio Cambra
e66135a59a Remove unneeded check for DnD status when showing desktop talk notification
The server will not deliver it anyway

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-21 12:31:23 +01:00
Claudio Cambra
2608016995 Do not use const for POD type in setShowCallNotifications declaration
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-21 12:31:23 +01:00
Claudio Cambra
babdbd1e3e Only notify talk chat notifications if this is enabled
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-21 12:31:23 +01:00
Claudio Cambra
918d79f5cd Add the chat notification toggle setting logic in generalsettings
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-21 12:31:23 +01:00
Claudio Cambra
e7d1f5f092 Add setting for showing chat notifications to configfile
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-21 12:31:23 +01:00
Claudio Cambra
5f10acb331 Add checkbox to disable general talk notifications in general settings
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-21 12:31:23 +01:00
Matthieu Gallien
1e378a9b4a
Merge pull request #7532 from nextcloud/bugfix/narrowDownPermissionsDuringSync
Bugfix/narrow down permissions during sync
2024-11-21 12:07:07 +01:00
Matthieu Gallien
1417e8cb60 better logs and factor common code in folder permissions handling
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-11-21 12:06:57 +01:00
Matthieu Gallien
5b2af166d3 ensure no any user writable permissions in Nextcloud sync folder
past versions may have wrongly set the write permissions for other users
(UNIX style permissions)

remove this under the hypothesis that newly created files or folders
gets more restrictive permissions and that past files or folders should
be updated to get the same permissions

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-11-21 12:06:57 +01:00
Matthieu Gallien
4923873ac8 ensure folder permissions are read-only when needed
a folder item must be set read-only if files or sub-folders cannot be
created

a folder item must be set read-write in all other situations

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-11-21 12:06:57 +01:00
Matthieu Gallien
728cff383e
Merge pull request #7495 from nextcloud/feature/smartFlushOfLogs
flush logs every 5 lines written
2024-11-21 12:06:19 +01:00
Matthieu Gallien
fac4cedd2b flush logs every 5 lines written
should help not loosing too much logs in case of a crash or similar not
nominal stop of the client

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-11-21 12:06:06 +01:00
Matthieu Gallien
ea94e4490d
Merge pull request #7517 from nextcloud/feature/noDefaultShareLinks
Feature/no default share links
2024-11-21 12:04:58 +01:00
Matthieu Gallien
ba4138a13d improve files explorer context menu by removing obsolete commands
remove any commands related to publi share links because they either got
replaced by the use of the share dialog or are better achieved by
showing the share dialog

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-11-21 12:04:47 +01:00
Claudio Cambra
b0057a7f77
Merge pull request #7541 from nextcloud/bugfix/final-mac-crafter-fix-istg
Fix mac-crafter codesign executable detection
2024-11-21 18:52:33 +08:00
Claudio Cambra
a8c0eca6ba
Do not do final bundle codesign
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-21 18:47:32 +08:00
Claudio Cambra
e8ac221769
Do not rely on FileManager's isExecutableFile, check manually for Mach-O executable type
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-21 18:47:32 +08:00
Claudio Cambra
92f0cd96ef
Allow using an external task for running commands in mac-crafter run command
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-21 18:46:59 +08:00
Matthieu Gallien
0208ec6b79
Merge pull request #7512 from nextcloud/bugfix/search-view-on-focus
Pull up the unified search view immediately on unified search field focus
2024-11-21 10:14:51 +01:00
Claudio Cambra
f7ae0254fc Unify definition of unified seach placeholder views fonts
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-21 10:13:00 +01:00
Claudio Cambra
1a052a42f2 Clean up ids of internal components of placeholder views
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-21 10:13:00 +01:00
Claudio Cambra
a50074362e Place unified search placeholder view in main tray window view when in focus and no text is entered
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-21 10:13:00 +01:00
Claudio Cambra
5fdc8a236f Add a UnifiedSearchPlaceholderView
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-21 10:13:00 +01:00
Claudio Cambra
baedf1502e On escape pressed of unified search placeholder view, diable activeSearchFocus
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-21 10:13:00 +01:00
Claudio Cambra
e8eb8adf5f Fix keyboard tab behaviour when focus reaches unified search bar
Do not activate search if the focus reason is tab as otherwise the user
will never be able to access elements that depend on search being
inactive via the keyboard

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-21 10:13:00 +01:00
Claudio Cambra
02372d9237 Add a mouse area to allow de-focusing the unified search text field on click elsewhere
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-21 10:13:00 +01:00
Claudio Cambra
3f26947525 Make the unified search input being focused a valid active reason
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-21 10:13:00 +01:00
Matthieu Gallien
b421b35dff
Merge pull request #7375 from nextcloud/bugfix/filetag-fetching-path
Fix file tag fetching for files in sync folders that have non-root remote target
2024-11-21 09:58:19 +01:00
Claudio Cambra
2769ae8a53 Remove unused includes in filetagmodel
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-21 09:57:39 +01:00
Claudio Cambra
f159f40ec9 Add missing nodiscards in folder methods
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-21 09:57:39 +01:00
Claudio Cambra
8ef972211b Move setup of server relative path used in FileTagModel into FileDetails
This fixes the build breakages in the file tag model tests

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-21 09:57:39 +01:00
Claudio Cambra
bf2303cd6c Ensure we are checking for tags in correct server path regardless of the particular local path
Fixes issues with users who are using remote non-root sync folders

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-21 09:57:39 +01:00
Claudio Cambra
b8b8b480aa Simply pass AccountPtr to updateFileTagModel
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-21 09:57:39 +01:00
Claudio Cambra
20a4915e7c Store fetched folder as private member in filedetails
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-21 09:57:39 +01:00
Claudio Cambra
fd769adb05 Mark non-const getters in Folder definition as const
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-21 09:57:39 +01:00
Claudio Cambra
92d0dca614
Merge pull request #7537 from nextcloud/bugfix/exec-detection-mac-crafter
Do not treat bundles as executables in codesign check
2024-11-21 16:26:39 +08:00