Claudio Cambra
4e37ec8b4c
Move library check to separate file in mac crafter
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-07-08 15:41:45 +08:00
Claudio Cambra
82c46b7539
Codesign all crafted plugins in mac crafter
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-07-08 15:41:45 +08:00
Claudio Cambra
1dbde98598
Codesign all the crafted libraries with mac crafter
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-07-08 15:41:45 +08:00
Claudio Cambra
1ec7d0bb87
Make codesigning throw in mac crafter
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-07-08 15:41:45 +08:00
Claudio Cambra
41b62e2677
Make installIfMissing throwing in mac crafter
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-07-08 15:41:45 +08:00
Claudio Cambra
fc9c5650e0
Implement basic argumentparser in mac crafter
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-07-08 15:41:45 +08:00
Claudio Cambra
1bc7054fab
Move functions of mac crafter into different files
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-07-08 15:41:45 +08:00
Claudio Cambra
01eba19d8d
Add copyright header to main.swift
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-07-08 15:41:45 +08:00
Claudio Cambra
7b439967d3
Move build script into dedicated package
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-07-08 15:41:45 +08:00
Claudio Cambra
f45c30d3ff
Add codesign function to macos builder
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-07-08 15:41:45 +08:00
Claudio Cambra
d15dd26bda
Craft the desktop client in the mac builder script
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-07-08 15:41:45 +08:00
Claudio Cambra
156b082594
Clone craft master to craftdir in mac builder script
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-07-08 15:41:45 +08:00
Claudio Cambra
84cc6f8ada
Clone craft in mac builder script
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-07-08 15:41:45 +08:00
Claudio Cambra
1942bcf8d8
Deduplicate installation of required tools in macos builder
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-07-08 15:41:45 +08:00
Claudio Cambra
283c1c3ba0
Set up python if missing in mac builder script
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-07-08 15:41:45 +08:00
Claudio Cambra
dd496bfcc7
Configure xcode command line tools if missing in mac builder
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-07-08 15:41:45 +08:00
Claudio Cambra
eb7929ace6
Install inkscape via mac builder script if not present
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-07-08 15:41:45 +08:00
Claudio Cambra
705cb09d8d
Install brew through builder if not present
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-07-08 15:41:45 +08:00
Claudio Cambra
9e198a4546
Add convenience func to check if command exists
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-07-08 15:41:45 +08:00
Claudio Cambra
f961db3e05
Add convenience func to run shell command
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-07-08 15:41:45 +08:00
Claudio Cambra
e6d0f80465
Start working on mac builder script
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-07-08 15:41:45 +08:00
Nextcloud bot
3bd4cb8f47
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-07-08 02:39:57 +00:00
Nextcloud bot
f92d37b693
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-07-06 02:39:53 +00:00
Matthieu Gallien
25acde49f8
Merge pull request #6780 from nextcloud/bugfix/groupfolder-rename
...
Check if sync item is actually a folder before processing it
2024-07-05 13:57:14 +02:00
Camila Ayres
0160cec256
Fix renaming tests for files under group folders.
...
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-07-05 12:58:38 +02:00
Camila Ayres
e38a9f181a
Only check for external storage permissions when it is a folder.
...
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-07-05 12:58:36 +02:00
Camila Ayres
0965deaa2f
Remove commented out code.
...
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-07-05 12:56:52 +02:00
Camila Ayres
9b2780c99c
Improve logs for rename check.
...
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-07-05 12:56:52 +02:00
Camila Ayres
4afc033ee0
Add test to detect file renames in external storage.
...
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-07-05 12:56:52 +02:00
Camila Ayres
591808f25e
Check if file is already in database before processing rename.
...
- The rename check was not happening since it was hitting error "Move without permission to rename base file"
- The file was then processed as a new file
- Also check #6535 .
Possible workaround for #6549 .
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-07-05 12:56:51 +02:00
Nextcloud bot
e4c571c43b
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-07-05 02:38:36 +00:00
Camila Ayres
cb47b1b039
Merge pull request #6790 from nextcloud/feature/update-channel-2
...
Add new update channels part 2.
2024-07-04 11:15:24 +02:00
Camila Ayres
9bd4ef1b83
Translate enterprise channel explanation string.
...
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-07-04 10:16:41 +02:00
Camila Ayres
bc05dc8a18
Use NEXTCLOUD_DEV to check if client is branded instead of checking for string.
...
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-07-04 10:16:41 +02:00
Camila Ayres
cdd940f669
Remove const from POD in method declaration.
...
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-07-04 10:16:41 +02:00
Camila Ayres
7d27c53b3b
Remove resolved TO DO comment.
...
Subscription and channel are supposed to be a general setting, not per user.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-07-04 10:16:41 +02:00
Camila Ayres
ee3f2dd1f6
Extend capabilities test to include desktopEnterpriseChannel check.
...
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-07-04 10:16:40 +02:00
Camila Ayres
dd5e18e8c5
If the client is branded the default update channel is stable.
...
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-07-04 10:16:40 +02:00
Camila Ayres
52e15ff92e
Separate the list of valid update channels for enterprise and non-enterprise.
...
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-07-04 10:16:40 +02:00
Camila Ayres
e51324dc9a
Fix the logic to determine update channels available, default value and what info to show the user.
...
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-07-04 10:16:40 +02:00
Camila Ayres
0663282b2b
Update desktopEnterpriseChannel value when capabilities change.
...
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-07-04 10:16:40 +02:00
Camila Ayres
615805dd03
Save desktopEnterpriseChannel value in the config file.
...
The default should be what is returned by defaultUpdateChannel()
when desktopEnterpriseChannel is not available.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-07-04 10:16:40 +02:00
Camila Ayres
4884fbee87
Add desktopEnterpriseChannel to the capabilities check.
...
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-07-04 10:16:39 +02:00
Camila Ayres
0274cd912b
Only list enterprise for customers not running branded clients.
...
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-07-04 10:16:39 +02:00
Camila Ayres
4de91cba23
NextcloudDev is not a branded client.
...
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-07-04 10:16:39 +02:00
Camila Ayres
aa239cd7bd
Add enterprise explanation to message shown when user changes update channel.
...
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-07-04 10:16:39 +02:00
Camila Ayres
e8b823670c
Do not show enterprise channel for branded clients.
...
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-07-04 10:16:39 +02:00
Camila Ayres
e4b70c4037
Extend Capabilities tests.
...
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-07-04 10:16:39 +02:00
Camila Ayres
ee032827a1
List enterprise update channel when available.
...
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-07-04 10:16:39 +02:00
Camila Ayres
a4c114e658
Update server hasValidSubscription if capabilities change for account.
...
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-07-04 10:16:38 +02:00