Dominique Fuchs
c3b0e98e3e
Fix missing subdirectory discovery on move operations in macOS.
...
Signed-off-by: Dominique Fuchs <32204802+DominiqueFuchs@users.noreply.github.com>
Add qAsConst to avoid detaching
Signed-off-by: Dominique Fuchs <32204802+DominiqueFuchs@users.noreply.github.com>
Changed callchain to find and return possibly coalesced paths
Signed-off-by: Dominique Fuchs <32204802+DominiqueFuchs@users.noreply.github.com>
Removed another qAsConst remnant, more func const-correctness.
Signed-off-by: Dominique Fuchs <32204802+DominiqueFuchs@users.noreply.github.com>
2020-09-21 13:52:55 +00:00
Kevin Ottens
5ac3b98dfb
Merge pull request #2455 from nextcloud/backport/2431/stable-3.0
...
[stable-3.0] Remove "This includes" due to tooltip order
2020-09-21 15:50:38 +02:00
Jeremy Plsek
c8ca587130
Remove "This includes" due to tooltip order
...
Signed-off-by: Jeremy Plsek <jeremyplsek@gmail.com>
2020-09-21 13:41:24 +00:00
Nextcloud bot
f9ae321353
[tx-robot] updated from transifex
2020-09-21 03:31:12 +00:00
Nextcloud bot
b7f7366d3a
[tx-robot] updated from transifex
2020-09-20 03:30:53 +00:00
Nextcloud bot
67d815a4c5
[tx-robot] updated from transifex
2020-09-19 03:33:17 +00:00
Michael Schuster
2170d72aec
Merge pull request #2448 from nextcloud/backport/2437/stable-3.0
...
[stable-3.0] If there's no description just say nothing
2020-09-18 22:03:27 +02:00
Kevin Ottens
bd3e246ce7
If there's no description just say nothing
...
Otherwise we get lots of "No description available" lines in the
activity list which is basically noise. Also trains the user to ignore
the secondary line.
Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
2020-09-18 18:42:30 +00:00
Camila San
2da9edecbe
Entitlement to sign the QtWebEngineProcess with an exception.
...
Fix for #1793 : The problem seems to be related enabling hardened runtime.
This exception allows the webview to load.
Signed-off-by: Camila San <hello@camila.codes>
2020-09-18 15:02:54 +02:00
Nextcloud bot
c287b668d3
[tx-robot] updated from transifex
2020-09-18 03:29:55 +00:00
Nextcloud bot
568b738fa9
[tx-robot] updated from transifex
2020-09-17 04:11:58 +00:00
Michael Schuster
5125724e87
[stable-3.0] Add missing Polish.nsh from PR #2434 Windows: Fix NSIS language encoding (use UTF-8)
...
Signed-off-by: Michael Schuster <michael@schuster.ms>
2020-09-16 16:12:18 +02:00
Kevin Ottens
b0f67d2e0d
Merge pull request #2436 from nextcloud/backport/2435/stable-3.0
...
[stable-3.0] Fix incomplete journal upgrade from 2.x to 3.x
2020-09-16 14:23:10 +02:00
Dominique Fuchs
0fe6f075f1
Do not break out of outer loop when upgrading folders, continue instead
...
Signed-off-by: Dominique Fuchs <32204802+DominiqueFuchs@users.noreply.github.com>
Remove awkward debug line a.k.a. whoops
Signed-off-by: Dominique Fuchs <32204802+DominiqueFuchs@users.noreply.github.com>
2020-09-16 11:22:25 +00:00
Kevin Ottens
c3b6d3f04a
Merge pull request #2434 from nextcloud/backport/2432/stable-3.0
...
[stable-3.0] Windows: Fix NSIS language encoding (use UTF-8)
2020-09-16 09:31:23 +02:00
Michael Schuster
ae57c1c752
Windows: Remove unused and outdated NSIS Transifex settings
...
The last translation update from Transifex was done in 2017, so the scripts and settings were never used for Nextcloud.
This commit removes the unused scripts and "Auto-generated" comments in the translation files.
Some files have been modified over time either way and MSI will replace NSIS soon.
Signed-off-by: Michael Schuster <michael@schuster.ms>
2020-09-16 07:14:10 +00:00
Michael Schuster
e6975840a7
Windows: Fix NSIS language encoding (use UTF-8 instead of Win code pages)
...
The old conversion to specific code pages caused display errors (see issue #2393 for Russian).
Based on bin/l10n.sh, the files in this commit were converted to UTF-8 using iconv with the following parameters:
iconv -f CP1252 -t UTF-8 -o German.nsh German.nsh
iconv -f CP1252 -t UTF-8 -o Galician.nsh Galician.nsh
iconv -f CP1253 -t UTF-8 -o Greek.nsh Greek.nsh
iconv -f CP1250 -t UTF-8 -o Slovenian.nsh Slovenian.nsh
iconv -f CP1257 -t UTF-8 -o Estonian.nsh Estonian.nsh
iconv -f CP1252 -t UTF-8 -o Italian.nsh Italian.nsh
iconv -f CP1252 -t UTF-8 -o PortugueseBR.nsh PortugueseBR.nsh
iconv -f CP1252 -t UTF-8 -o Spanish.nsh Spanish.nsh
iconv -f CP1252 -t UTF-8 -o Dutch.nsh Dutch.nsh
iconv -f CP1252 -t UTF-8 -o Finnish.nsh Finnish.nsh
iconv -f CP932 -t UTF-8 -o Japanese.nsh Japanese.nsh
iconv -f CP1250 -t UTF-8 -o Slovak.nsh Slovak.nsh
iconv -f CP1254 -t UTF-8 -o Turkish.nsh Turkish.nsh
iconv -f CP1252 -t UTF-8 -o Norwegian.nsh Norwegian.nsh
iconv -f CP852 -t UTF-8 -o Czech.nsh Czech.nsh
The installer script nextcloud.nsi in the client-building repo needs the following line (to be added on top):
Unicode true
Signed-off-by: Michael Schuster <michael@schuster.ms>
2020-09-16 07:14:10 +00:00
Nextcloud bot
f15c627c82
[tx-robot] updated from transifex
2020-09-16 03:27:00 +00:00
Kevin Ottens
d0b19559d3
Merge pull request #2430 from nextcloud/backport/2351/stable-3.0
...
[stable-3.0] Fix clang tidy errors in csync tests
2020-09-15 16:18:30 +02:00
Kevin Ottens
c9fe7fa735
Switch to newer CI image to build csync tests
...
This new image brings the cmocka dependency and thus will make the CI
build the csync tests which depend on it.
Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
2020-09-15 14:03:44 +00:00
Kevin Ottens
d6b057e7e8
Fix bugprone-narrowing-conversion errors in csync tests
...
Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
2020-09-15 14:03:44 +00:00
Kevin Ottens
e8c92ec50f
Fix modernize-use-nullptr errors in csync tests
...
Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
2020-09-15 14:03:44 +00:00
Kevin Ottens
ce55a4678c
Fix modernize-use-auto errors in csync tests
...
Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
2020-09-15 14:03:44 +00:00
Kevin Ottens
e4004035fe
Fix modernize-deprecated-headers errors in csync tests
...
Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
2020-09-15 14:03:44 +00:00
Kevin Ottens
6125aca847
Merge pull request #2429 from nextcloud/backport/2247/stable-3.0
...
[stable-3.0] Improve drone config
2020-09-15 16:02:39 +02:00
Kevin Ottens
ddd1552047
Make sure wget looks for the certificates at the right place
...
Might happen because we got too many copies of OpenSSL around
Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
2020-09-15 13:53:01 +00:00
Kevin Ottens
de38a1e309
Switch to Ninja for the clang build
...
Clang is generally slower to compile than GCC so use a faster Make for
that build variant. This also allows us to verify our CMake files don't
do anything Make specific.
Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
2020-09-15 13:53:01 +00:00
Kevin Ottens
3afa836744
Parallelize the clang-tidy runs
...
Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
2020-09-15 13:53:01 +00:00
Kevin Ottens
66a19e533a
Split cmake and compile into separate pipeline steps
...
Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
2020-09-15 13:53:01 +00:00
Kevin Ottens
00fa184507
Switch to actual commands inside of the steps
...
Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
2020-09-15 13:53:00 +00:00
Kevin Ottens
169bf7f032
Split the CI pipelines into proper steps
...
Will make it easier to navigate the logs
Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
2020-09-15 13:53:00 +00:00
Kevin Ottens
771263aa25
Now make sure we're not picking up generated headers
...
This could happen (and started to happen more with clang-tidy 10) that
clang-tidy picked up errors in headers from the build directory. Now
that we moved the build directory out of source, we can simply filter
headers based on the pwd.
Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
2020-09-15 13:53:00 +00:00
Kevin Ottens
a6cab38ebd
Move the build in a volume to be reused between steps
...
Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
2020-09-15 13:53:00 +00:00
Kevin Ottens
9b08f287d3
Remove unneeded environment variables
...
Those are set by the base CI image anyway, no need to do the work again.
Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
2020-09-15 13:53:00 +00:00
Kevin Ottens
82e42c6f78
Switch to the newer base CI image
...
We can now spare building QtKeychain over and over shortening a bit the
build. We also update to latest gcc and clang.
Note that I didn't switch the AppImage pipeline to the newer image to
keep the binary compatibility promise required by linuxdeployqt.
Probably would make sense to do a specific image for AppImage with some
other of the cleanups I did there (in particular to avoid building
qtkeychain every time).
Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
2020-09-15 13:53:00 +00:00
Kevin Ottens
1003b0745f
Parallelize the CI build
...
Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
2020-09-15 13:53:00 +00:00
Kevin Ottens
4af3e3f7ec
Merge pull request #2428 from nextcloud/backport/2424/stable-3.0
...
[stable-3.0] Try to enable the CI on stable branches as well
2020-09-15 15:52:17 +02:00
Kevin Ottens
0a11df6824
Try to enable the CI on stable branches as well
...
Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
2020-09-15 13:25:42 +00:00
Kevin Ottens
b3776b622c
Merge pull request #2426 from nextcloud/backport/2412/stable-3.0
...
[stable-3.0] Include list info in tooltip
2020-09-15 13:51:49 +02:00
Jeremy Plsek
30f84c3e35
Include list info in tooltip
...
Also extend the tooltip timeout
Signed-off-by: Jeremy Plsek <jeremyplsek@gmail.com>
2020-09-15 11:51:19 +00:00
Kevin Ottens
161be14dc6
Merge pull request #2422 from nextcloud/backport/2417/stable-3.0
...
[stable-3.0] Fix menu popup in main dialog
2020-09-15 12:02:42 +02:00
Kevin Ottens
d4809ebe4c
Make sure menu are closed when button is clicked again
...
This way we also made sure all the Menu are currently on the same close
policy.
Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
2020-09-15 09:03:55 +00:00
Kevin Ottens
ee1096f802
Delay binding on the menu width
...
Indee the MenuItem might not be linked to its Menu at creation time
which will make the binding fail and give a warning. Delay for the menu
availability.
Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
2020-09-15 09:03:55 +00:00
Kevin Ottens
89113db3ce
Remove pre-QQC2.3 workaround
...
Now that we depend on Qt 5.12 anyway, the count property is available
just fine on the Menu item.
Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
2020-09-15 09:03:55 +00:00
Kevin Ottens
020d8761bf
Merge pull request #2421 from nextcloud/backport/2418/stable-3.0
...
[stable-3.0] Use QGuiApplication::primaryScreen() as fallback for Systray::currentScreen()
2020-09-15 10:47:00 +02:00
Kevin Ottens
1dd53d3797
Use QGuiApplication::primaryScreen() as fallback for Systray::currentScreen()
...
Under Wayland QCursor::pos() is unlikely to give us anything meaningful,
so fallback to the primary screen information.
Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
2020-09-15 08:46:04 +00:00
Nextcloud bot
3c7cc7c0a9
[tx-robot] updated from transifex
2020-09-15 03:21:23 +00:00
Kevin Ottens
e98911503c
Merge pull request #2415 from nextcloud/backport/2357/stable-3.0
...
[stable-3.0] syncjournaldb: index e2eMangledName column in metadata
2020-09-14 09:33:25 +02:00
Jan Schmidt
e41a000db8
syncjournaldb: index e2eMangledName column in metadata
...
Add an index on the e2eMangledName column in the metadata table
to speed up file sync by orders of magnitude on directories with
a large number of files.
Signed-off-by: Jan Schmidt <jan@centricular.com>
2020-09-14 07:25:00 +00:00
Nextcloud bot
1918e7f6be
[tx-robot] updated from transifex
2020-09-12 03:18:46 +00:00