Commit graph

20945 commits

Author SHA1 Message Date
Camila Ayres
0ae7695d5c
Fix: remove failure to import legacy account notification.
- It was being displayed even on a fresh install.
- We are already displaying a notification when there are accounts to be
imported and we ask the user on what to do.

Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-01-25 12:23:37 +01:00
Matthieu Gallien
81847f9020
Merge pull request #6378 from nextcloud/feature/enableXCodeHardenedRuntime
globally enable use of the xcode hardened runtime
2024-01-24 18:26:57 +01:00
Matthieu Gallien
ad14e10fbb globally enable use of the xcode hardened runtime
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-01-24 12:12:43 +01:00
Nextcloud bot
de878649c5
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-24 02:36:53 +00:00
Nextcloud bot
a60b339e22
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-23 02:45:45 +00:00
Matthieu Gallien
9f9c9fc0f3
Merge pull request #6342 from nextcloud/bugfix/autostart
Bugfix/autostart
2024-01-22 11:52:41 +01:00
Camila Ayres
2089fb168b
Remove if TOKEN_AUTH_ONLY because the build will fail without it in all cases.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-01-22 11:35:58 +01:00
Camila Ayres
30883785e4
Save the value of 'Launch on system startup' in the config files.
Make sure to migrate older configs to have the value set to true.

Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-01-22 11:35:55 +01:00
Camila Ayres
d677664f9d
Clean up logic when setting up auto start for user.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-01-22 11:28:00 +01:00
Erik Verbruggen
07063c9c9d
macOS: Fix restart-after-quit
Instead of using a dictionary for the value of KeepAlive, setting it to
@NO will keep launchd from relaunching the client.

Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-01-22 11:28:00 +01:00
Erik Verbruggen
31559faa35
Creaate LaunchAgents directory if it doesn't exist
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-01-22 11:28:00 +01:00
Erik Verbruggen
74c7487314
Mac: do not restart after crash
When the crash is due to a library load failure while starting, having
this turned on would result in an endless loop of crash-restarts.

Fixes: #9800

Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-01-22 11:27:59 +01:00
Erik Verbruggen
1f046ccd5e
macOS: Do case-insensitive compare in auto-launch code
Case-sensitive compares will give problems when a launchd plist file
exists, but the executable gets upated, and the name only has a
different case (e.g.: owncloud -> ownCloud).

Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-01-22 11:27:59 +01:00
Erik Verbruggen
76cf707934
macOS: Modernise Utility::setupFavLink
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-01-22 11:27:59 +01:00
Erik Verbruggen
fb13eb7203
macOS: Simplify Utility::hasDarkSystray()
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-01-22 11:27:59 +01:00
Erik Verbruggen
a616fbf189
Mac: Move launch-on-login to use launchd
Previously, deprecated API was used to tell macOS to launch the GUI when
the user logs in. This has now been moved to launchd, which uses the
contents of the file
~/Library/LaunchAgents/com.owncloud.desktopclient.plist to determine
what to do. This comes with the added benefit that wel now tell launchd
to relaunch the client when it crashes.

Fixes: #9037
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-01-22 11:27:59 +01:00
Erik Verbruggen
8da94b6509
Turn utility_* into stand-alone files
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-01-22 11:27:59 +01:00
Hannah von Reth
3762e410f8
Log if setting up launch on start fails on mac
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-01-22 11:27:59 +01:00
Camila
c4095d698a
Autostart does not depend on how many accounts are configured.
Set autostart default to true.

Signed-off-by: Camila <hello@camila.codes>
2024-01-22 11:27:58 +01:00
allexzander
3bcc17b942
Merge pull request #6354 from nextcloud/bugfix/e2ee-errors-spell-correction
Spell-correction for e2e_errors
2024-01-22 10:59:45 +01:00
Nextcloud bot
8a02625ea4
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-22 02:37:00 +00:00
Nextcloud bot
7269efe235
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-21 02:56:07 +00:00
Nextcloud bot
e94db5d6ed
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-20 02:44:37 +00:00
Matthieu Gallien
15a771e9bb
Merge pull request #6275 from tintou/master
Avoid duplicate declarations with latest libcloudproviders
2024-01-19 13:01:38 +01:00
Corentin Noël
2238dab3f9 Avoid duplicate declarations with latest libcloudproviders
Only install the .ini if the target version doen't support the .desktop file
declaration.

Signed-off-by: Corentin Noël <corentin.noel@collabora.com>
2024-01-19 12:31:03 +01:00
Matthieu Gallien
97ac36e614
Merge pull request #6261 from SUNET/master
GUI/LIBSYNC: force login flow V2 with config setting
2024-01-19 11:37:33 +01:00
Micke Nordin
6ca4ace09f OwncloudWizard: Move implementation to cpp-file
Signed-off-by: Micke Nordin <kano@sunet.se>
2024-01-19 11:05:18 +01:00
Micke Nordin
42012a0efb Apply suggestions from code review
Formatting fixes

Co-authored-by: Claudio Cambra <developer@claudiocambra.com>
Signed-off-by: Micke Nordin <mickenordin@users.noreply.github.com>
2024-01-19 11:05:07 +01:00
Micke Nordin
772d44c66d GUI/LIBSYNC: force login flow V2 with config setting
This patch allows a user to set the config variable:

forceLoginV2=true

This will make the client use the browser login flow instead of the
webview. This is useful for making the user experience equal on
Windows, Linux and Mac. Currently only Macs use the v2 flow and it
was only possible to get this behaviour in the Windows and Linux
clients at build time using a CMAKE flag.

The default behaviour is kept the same, and nothing changes for the
user unless the flag is manually set in the config file. A setter is
included in this patch, although it is not yet used in the GUI.

Signed-off-by: Micke Nordin <kano@sunet.se>
2024-01-19 11:03:36 +01:00
Matthieu Gallien
c4f2537418
Merge pull request #6286 from nextcloud/add/terabyte
Display terabyte again
2024-01-19 10:17:05 +01:00
Camila
8f628f808c Modernize Utility::octetsToString function.
- Add {} to single line if.
- Use const and auto.
- Use constexpr.
- Rename variables for readability.

Signed-off-by: Camila <hello@camila.codes>
2024-01-19 10:15:38 +01:00
Camila
a06b88c1b4 Utility: Fix the storage string to display terabytes.
Signed-off-by: Camila <hello@camila.codes>
2024-01-19 10:15:38 +01:00
Matthieu Gallien
4b10038dcc
Merge pull request #6352 from nextcloud/dependabot/github_actions/cpp-linter/cpp-linter-action-2.7.6
Build(deps): Bump cpp-linter/cpp-linter-action from 2.7.5 to 2.7.6
2024-01-19 10:14:59 +01:00
dependabot[bot]
cdac0cf90f Build(deps): Bump cpp-linter/cpp-linter-action from 2.7.5 to 2.7.6
Bumps [cpp-linter/cpp-linter-action](https://github.com/cpp-linter/cpp-linter-action) from 2.7.5 to 2.7.6.
- [Release notes](https://github.com/cpp-linter/cpp-linter-action/releases)
- [Commits](https://github.com/cpp-linter/cpp-linter-action/compare/v2.7.5...v2.7.6)

---
updated-dependencies:
- dependency-name: cpp-linter/cpp-linter-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-19 10:14:51 +01:00
Matthieu Gallien
3523875159
Merge pull request #6360 from nextcloud/bugfix/nextcloudkit
full git path
2024-01-19 10:14:01 +01:00
Tobias Kaminsky
71c5327c98 full git path
Signed-off-by: Tobias Kaminsky <tobias@kaminsky.me>
2024-01-19 10:13:53 +01:00
Nextcloud bot
7da66f0aee
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-19 02:37:02 +00:00
allexzander
8bb36566c7
Merge pull request #6347 from nextcloud/feature/filelocking-keep-user-lock
Feature/filelocking keep user lock
2024-01-18 20:30:42 +01:00
alex-z
2eaecb6400 File locking. Manual lock should never be modified without user intervention. Set token lock instead of user lock when locking office files automatically.
Signed-off-by: alex-z <blackslayer4@gmail.com>
2024-01-18 10:21:09 +01:00
alex-z
6791cc6365 Spell-correction for e2e_errors
Signed-off-by: alex-z <blackslayer4@gmail.com>
2024-01-17 15:27:55 +01:00
Nextcloud bot
049d3e9df3
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-17 02:37:15 +00:00
Nextcloud bot
416bf8a109
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-14 02:37:40 +00:00
Nextcloud bot
419b015279
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-13 02:41:22 +00:00
Nextcloud bot
df5094d299
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-12 02:34:46 +00:00
Nextcloud bot
f797d22f04
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-10 02:38:46 +00:00
Nextcloud bot
d45ad02430
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-07 02:41:07 +00:00
Nextcloud bot
c7dd7dc841
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-06 02:42:15 +00:00
Matthieu Gallien
8e37f434f7
Merge pull request #6314 from nextcloud/dependabot/github_actions/cpp-linter/cpp-linter-action-2.7.5
Build(deps): Bump cpp-linter/cpp-linter-action from 2.7.2 to 2.7.5
2024-01-05 16:47:19 +01:00
dependabot[bot]
761bdb09ee Build(deps): Bump cpp-linter/cpp-linter-action from 2.7.2 to 2.7.5
Bumps [cpp-linter/cpp-linter-action](https://github.com/cpp-linter/cpp-linter-action) from 2.7.2 to 2.7.5.
- [Release notes](https://github.com/cpp-linter/cpp-linter-action/releases)
- [Commits](https://github.com/cpp-linter/cpp-linter-action/compare/v2.7.2...v2.7.5)

---
updated-dependencies:
- dependency-name: cpp-linter/cpp-linter-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-05 16:46:55 +01:00
Matthieu Gallien
008afa8061
Merge pull request #6316 from nextcloud/automated/update-workflows/default
chore: update workflows from templates
2024-01-05 16:46:21 +01:00