Mike Mengjie Huang
2e31dce2c0
feat: Add more prominent quota warnings
...
Signed-off-by: Mike Mengjie Huang <mike0609king@gmail.com>
2025-09-18 08:24:02 +02:00
copilot-swe-agent[bot]
853d1ab78b
feat: implement UUID-based file provider domain identifiers with backward compatibility.
...
Signed-off-by: Iva Horn <iva.horn@icloud.com>
2025-09-17 08:15:44 +02:00
Baris
404723e475
fix(generalsettings): change remote pollinterval spinBox-minimum from 30 to 5 seconds, to align with configfile
...
Signed-off-by: Baris <basar.baris1209@gmail.com>
2025-08-25 08:22:09 +02:00
Camila Ayres
56e3b284c1
feat: migrate global network settings to account specific network settings.
...
Signed-off-by: Camila Ayres <hello@camilasan.com>
2025-07-16 19:21:37 +02:00
Camila Ayres
071c1efd41
fix(migration): migrate general network settings.
...
Signed-off-by: Camila Ayres <hello@camilasan.com>
2025-05-11 16:18:43 +02:00
Jyrki Gadinger
d458c2c620
chore: remove never used crashreporter
...
Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
2025-05-08 09:52:53 +02:00
Andy Scherzinger
130668c3b9
docs(reuse): Migrate to SPDX header
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2025-04-29 09:00:19 +02:00
Camila Ayres
6dc87528b6
chore: make settings keys const static member of ConfigFile class.
...
Signed-off-by: Camila Ayres <hello@camilasan.com>
2025-04-15 17:07:46 +02:00
Matthieu Gallien
4b50c1de31
use maximum chunk size to decide the size of a bulk upload request
...
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2025-04-10 14:31:07 +02:00
Jyrki Gadinger
1998d33106
feat: allow overriding the language through the configuration
...
e.g. this config entry:
```ini
; nextcloud.cfg
[General]
language=de
```
will ensure that the application will always be translated to German.
It's also possible to set the configuration option from the command
line:
```sh
# set the language to German for the next client startup
./nextcloud --set-language de
# set the language to the OS default for the next client startup
./nextcloud --set-language ""
```
partial fix for #111 , as this is not a GUI option
Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
# Date: Mon Mar 31 12:44:55 2025 +0200
#
# On branch feature/enforce-translations
# Your branch and 'origin/feature/enforce-translations' have diverged,
# and have 1 and 1 different commits each, respectively.
#
# Changes to be committed:
# modified: src/gui/application.cpp
# modified: src/gui/application.h
# modified: src/libsync/configfile.cpp
# modified: src/libsync/configfile.h
#
# Untracked files:
# .kateproject.build
# metainfo.po
# test.metainfo.xml
#
2025-04-07 15:39:31 +02:00
Pablo Ariño Muñoz
71e4de1503
Added more std::as_const and replaced types for auto, as well as other suggestions
...
Signed-off-by: Pablo Ariño Muñoz <progpabarino@gmail.com>
2025-02-25 11:54:54 +08:00
Pablo Ariño Muñoz
44f9aacda8
removed redundant qAsConst
...
Signed-off-by: Pablo Ariño Muñoz <progpabarino@gmail.com>
2025-02-25 11:54:54 +08:00
Pablo Ariño Muñoz
fc28fe95bb
Replaced foreach with range loops
...
Signed-off-by: Pablo Ariño Muñoz <progpabarino@gmail.com>
2025-02-25 11:54:54 +08:00
Camila Ayres
417f692ff5
Overwrite the user exclude list when the client is branded.
...
Enforce specific sync-exclude file to all users.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2025-02-11 10:57:01 +01:00
Matthieu Gallien
b3886ed1b6
while migrating from another version, clean updater config
...
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2025-02-11 10:57:01 +01:00
Integral
356e4f9296
refactor: replace QString() with QStringLiteral() for better performance
...
Signed-off-by: Integral <integral@member.fsf.org>
2025-01-31 15:11:02 +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
Camila Ayres
a58e64f132
Remove checks for the update channel from the getter function.
...
It should only return the value.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-10-31 13:06:02 +01:00
Camila Ayres
104e0720a3
Set promptDeleteFiles default to false.
...
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-10-24 14:31:45 +02:00
Matthieu Gallien
d31b3b068f
count the files deletion and warn if threshold is exceeded
...
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-09-30 14:33:49 +02:00
Matthieu Gallien
570749c89e
changing default chunk size to 100MB
...
goal is to have better performance and uniform behavior between all files clients
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-09-26 10:56:53 +02:00
Matthieu Gallien
274feb9587
remove deprecated code only usefull for very old Qt releases
...
we require Qt > 6.0 so any conditionnal code for older releases can be
deleted
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-08-12 11:14:26 +02:00
Claudio Cambra
c475edafd1
Fix infinite recursion caused by default value call in desktopEnterpriseChannel
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-08-04 20:37:18 +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
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
e0d7377680
Add general config setting for server hasValidSubscription.
...
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-07-04 10:16:38 +02:00
Camila Ayres
4de3107383
Enable RVO (return value optimization).
...
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-07-03 16:32:11 +02:00
Camila Ayres
364b329d55
Rename var in configfile.
...
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-07-03 16:32:10 +02:00
Camila Ayres
eb8b775f4d
Enforce the update channel based on the current client installed.
...
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-07-03 16:32:10 +02:00
Camila Ayres
3f9bf0ab9c
Add versionSuffix function to Theme.
...
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-07-03 16:32:10 +02:00
Camila Ayres
07f31f7b36
Use the value from MIRALL_VERSION_SUFFIX as the default update channel.
...
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-07-03 16:32:10 +02:00
Camila Ayres
e2f71e6fb3
Modernize ConfigFile::updateChannel and Updater::getQueryParams.
...
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-07-03 16:32:09 +02:00
Camila Ayres
60174c63d5
Add daily update channel.
...
- Set update channel options list in slotUpdateInfo.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-07-03 16:32:09 +02:00
Matthieu Gallien
634f007074
use the proper name when reading system exclude config file
...
Close #6539
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-03-22 10:40:45 +01:00
Claudio Cambra
1db59fecc1
Remove ConfigFile().macFileProviderModuleEnabled() config flag
...
Since we are going to distribute the file provider client as separate
from the normal client, this flag doesn't make any practical sense.
The user using the FileProvider desktop client will not want to not
use the file provider module
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-02-19 22:45:10 +08:00
Matthieu Gallien
b8ee9db377
partial build fix when TOKEN_AUTH_ONLY is enabled at configure time
...
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-01-29 16:56:20 +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
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
Camila
9dbb072858
Migrate legacy user defined exclude file.
...
- Refactor ConfigFile::setupDefaultExcludeFilePaths.
- Refactor ConfigFile::excludeFile.
- Fix code style.
Signed-off-by: Camila <hello@camila.codes>
2023-09-01 15:09:29 +02:00
Claudio Cambra
f46d71fdf6
Ensure default min and max chunk sizes are multiplied as long longs
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2023-08-31 15:25:00 +02:00
Claudio Cambra
cbbb4c87b8
Conform to chunk sizing restrictions introduced in Chunking V2
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2023-08-31 15:25:00 +02:00
Claudio Cambra
1342f81cab
Add config option to stop synchronising existing folders when they grow beyond size
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2023-08-04 17:44:15 +08:00
Claudio Cambra
21656cce17
Replace all manual isntancesof adding trailing slash with use of utility method
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2023-08-04 17:40:42 +08:00
Claudio Cambra
2a4ba398e2
Do not notify about folders growing beyond threshold by default
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2023-08-04 17:40:38 +08:00
Claudio Cambra
b06cbf4dce
Add config settings for notifying existing folders going over limit
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2023-08-04 17:40:37 +08:00
Dimitri Papadopoulos
9d830e94f9
Fix typos found by codespell
...
Signed-off-by: Dimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com>
2023-06-21 08:47:13 +02:00
Matthieu Gallien
b28e635368
by default disable debug log level
...
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2023-06-06 16:32:15 +02:00