nextcloud-desktop.git
5 years agoUse native text rendering for qml windows
Jeremy Plsek [Fri, 11 Sep 2020 00:36:28 +0000 (20:36 -0400)]
Use native text rendering for qml windows

Signed-off-by: Jeremy Plsek <jeremyplsek@gmail.com>
5 years agoMerge pull request #2441 from nextcloud/enh/server-url
Kevin Ottens [Wed, 23 Sep 2020 07:59:31 +0000 (09:59 +0200)]
Merge pull request #2441 from nextcloud/enh/server-url

Allow server URL to be pre-defined without enforcing it

5 years agoAllow server URL to be pre-defined without enforcing it to be used unmodified
Michael Schuster [Thu, 17 Sep 2020 01:38:35 +0000 (03:38 +0200)]
Allow server URL to be pre-defined without enforcing it to be used unmodified

APPLICATION_SERVER_URL can be either empty or be specified. This commit adds the new CMake option APPLICATION_SERVER_URL_ENFORCE to decide whether to enforce the
URL's unmodified use (like before, default: ON) or to allow modification by the user (new).

By default APPLICATION_SERVER_URL_ENFORCE is set to ON, to no break with the previous implementation's expectations.

If APPLICATION_SERVER_URL is empty, APPLICATION_SERVER_URL_ENFORCE will be ignored by the Account Wizard.

The previous behaviour confused me a bit with branded builds. When the URL was (usually) specified but not forced, it was simply discarded, forcing the user to
manually supply it.

Signed-off-by: Michael Schuster <michael@schuster.ms>
5 years ago[tx-robot] updated from transifex
Nextcloud bot [Wed, 23 Sep 2020 03:37:35 +0000 (03:37 +0000)]
[tx-robot] updated from transifex

5 years ago[tx-robot] updated from transifex
Nextcloud bot [Tue, 22 Sep 2020 03:37:33 +0000 (03:37 +0000)]
[tx-robot] updated from transifex

5 years agoMerge pull request #2369 from nextcloud/enh/windows-msi
Michael Schuster [Mon, 21 Sep 2020 15:35:37 +0000 (17:35 +0200)]
Merge pull request #2369 from nextcloud/enh/windows-msi

Windows: MSI support & Win32 migration tools

5 years agoWindows: Win32 migration tools code review
Michael Schuster [Wed, 9 Sep 2020 19:01:38 +0000 (21:01 +0200)]
Windows: Win32 migration tools code review

Signed-off-by: Michael Schuster <michael@schuster.ms>
5 years agoWindows MSI: Add MSI scripts and UI resources
Michael Schuster [Sat, 5 Sep 2020 05:35:53 +0000 (07:35 +0200)]
Windows MSI: Add MSI scripts and UI resources

Uses CMake to generate and install all required files in the "msi/" directory.

Signed-off-by: Michael Schuster <michael@schuster.ms>
5 years agoWindows: Add Win32 stand-alone migration tool NCNavRemove
Michael Schuster [Sat, 5 Sep 2020 04:58:48 +0000 (06:58 +0200)]
Windows: Add Win32 stand-alone migration tool NCNavRemove

Removes all Explorer Navigation Pane entries for a given ApplicationName, specified in NavRemove.ini in the working directory.

Also compiles a DLL with the same behaviour that exports:
- RemoveNavigationPaneEntries

Both tool variants are Mutex-protected.

Statically linked, optimized for binary size, no Qt dependencies.

Signed-off-by: Michael Schuster <michael@schuster.ms>
5 years agoWindows MSI: Add helper DLL and shared migration tools code
Michael Schuster [Sat, 5 Sep 2020 04:30:09 +0000 (06:30 +0200)]
Windows MSI: Add helper DLL and shared migration tools code

The helper DLL will be utilized by Windows Installer with Custom Actions defined in the NCMsiHelper.wxs WiX fragment.

Exports:
- ExecNsisUninstaller
- RemoveNavigationPaneEntries

Signed-off-by: Michael Schuster <michael@schuster.ms>
5 years agoWindows MSI: Let CMake install Shell Extensions WiX fragment to "msi/"
Michael Schuster [Sat, 5 Sep 2020 02:39:05 +0000 (04:39 +0200)]
Windows MSI: Let CMake install Shell Extensions WiX fragment to "msi/"

Signed-off-by: Michael Schuster <michael@schuster.ms>
5 years agoWindows MSI: Add Upgrade Code and migration tool build options to NEXTCLOUD.cmake
Michael Schuster [Sat, 5 Sep 2020 02:25:49 +0000 (04:25 +0200)]
Windows MSI: Add Upgrade Code and migration tool build options to NEXTCLOUD.cmake

The Upgrade Code is a GUID (specified without brackets) for the MSI package to allow Windows Installer identify existing installations.

New build options (default: OFF):
- BUILD_WIN_MSI: Build all MSI scripts and a required helper DLL (to uninstall NSIS legacy installations and remove Explorer Navigation Pane entries)
- BUILD_WIN_TOOLS: Build additional migration tools (currently NCNavRemove, a stand-alone tool for Explorer entries removal)

The helper DLL and migration tools are set to be statically linked and optimized for binary size.

Signed-off-by: Michael Schuster <michael@schuster.ms>
5 years agoMerge pull request #2431 from jplsek/remove-this-includes
Kevin Ottens [Mon, 21 Sep 2020 13:40:37 +0000 (15:40 +0200)]
Merge pull request #2431 from jplsek/remove-this-includes

Remove "This includes" due to tooltip order

5 years agoRemove "This includes" due to tooltip order
Jeremy Plsek [Tue, 15 Sep 2020 21:13:36 +0000 (17:13 -0400)]
Remove "This includes" due to tooltip order

Signed-off-by: Jeremy Plsek <jeremyplsek@gmail.com>
5 years ago[tx-robot] updated from transifex
Nextcloud bot [Mon, 21 Sep 2020 03:32:07 +0000 (03:32 +0000)]
[tx-robot] updated from transifex

5 years ago[tx-robot] updated from transifex
Nextcloud bot [Sun, 20 Sep 2020 03:31:45 +0000 (03:31 +0000)]
[tx-robot] updated from transifex

5 years ago[tx-robot] updated from transifex
Nextcloud bot [Sat, 19 Sep 2020 03:34:11 +0000 (03:34 +0000)]
[tx-robot] updated from transifex

5 years agoMerge pull request #2437 from nextcloud/remove_no_description_available_messages_in_a...
Michael Schuster [Fri, 18 Sep 2020 18:41:34 +0000 (20:41 +0200)]
Merge pull request #2437 from nextcloud/remove_no_description_available_messages_in_activity_list

If there's no description just say nothing

5 years agoIf there's no description just say nothing
Kevin Ottens [Wed, 16 Sep 2020 11:38:52 +0000 (13:38 +0200)]
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>
5 years agoMerge pull request #2445 from nextcloud/fix-mac-catalina-login
Michael Schuster [Fri, 18 Sep 2020 04:44:11 +0000 (06:44 +0200)]
Merge pull request #2445 from nextcloud/fix-mac-catalina-login

Entitlement to sign the QtWebEngineProcess with an exception.

5 years agoEntitlement to sign the QtWebEngineProcess with an exception.
Camila San [Thu, 17 Sep 2020 18:06:52 +0000 (20:06 +0200)]
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>
5 years ago[tx-robot] updated from transifex
Nextcloud bot [Fri, 18 Sep 2020 03:30:59 +0000 (03:30 +0000)]
[tx-robot] updated from transifex

5 years agoMerge pull request #2439 from nextcloud/fix-subfolder-missing-contentsync
Dominique Fuchs [Thu, 17 Sep 2020 14:04:12 +0000 (16:04 +0200)]
Merge pull request #2439 from nextcloud/fix-subfolder-missing-contentsync

Fix missing subdirectory discovery on move operations in macOS

5 years agoFix missing subdirectory discovery on move operations in macOS.
Dominique Fuchs [Wed, 16 Sep 2020 17:50:16 +0000 (19:50 +0200)]
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>
5 years ago[tx-robot] updated from transifex
Nextcloud bot [Thu, 17 Sep 2020 04:13:19 +0000 (04:13 +0000)]
[tx-robot] updated from transifex

5 years agoMerge pull request #2435 from nextcloud/fix-journal-upgrade-multiple-syncconnections
Kevin Ottens [Wed, 16 Sep 2020 11:21:42 +0000 (13:21 +0200)]
Merge pull request #2435 from nextcloud/fix-journal-upgrade-multiple-syncconnections

Fix incomplete journal upgrade from 2.x to 3.x

5 years agoDo not break out of outer loop when upgrading folders, continue instead
Dominique Fuchs [Wed, 16 Sep 2020 07:54:36 +0000 (09:54 +0200)]
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>
5 years agoMerge pull request #2432 from nextcloud/fix/nsis-language-encoding
Kevin Ottens [Wed, 16 Sep 2020 07:13:26 +0000 (09:13 +0200)]
Merge pull request #2432 from nextcloud/fix/nsis-language-encoding

Windows: Fix NSIS language encoding (use UTF-8)

5 years agoWindows: Remove unused and outdated NSIS Transifex settings
Michael Schuster [Wed, 16 Sep 2020 00:53:57 +0000 (02:53 +0200)]
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>
5 years agoWindows: Fix NSIS language encoding (use UTF-8 instead of Win code pages)
Michael Schuster [Wed, 16 Sep 2020 00:38:12 +0000 (02:38 +0200)]
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>
5 years ago[tx-robot] updated from transifex
Nextcloud bot [Wed, 16 Sep 2020 03:27:56 +0000 (03:27 +0000)]
[tx-robot] updated from transifex

5 years agoMerge pull request #2424 from nextcloud/enable_ci_for_stable_branches
Kevin Ottens [Tue, 15 Sep 2020 13:24:58 +0000 (15:24 +0200)]
Merge pull request #2424 from nextcloud/enable_ci_for_stable_branches

Try to enable the CI on stable branches as well

5 years agoTry to enable the CI on stable branches as well
Kevin Ottens [Tue, 15 Sep 2020 11:44:12 +0000 (13:44 +0200)]
Try to enable the CI on stable branches as well

Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
5 years agoMerge pull request #2423 from nextcloud/disable_bugprone_forward_declaration_namespac...
Kevin Ottens [Tue, 15 Sep 2020 12:45:29 +0000 (14:45 +0200)]
Merge pull request #2423 from nextcloud/disable_bugprone_forward_declaration_namespace_clang_tidy_check

Disable bugprone-forward-declaration-namespace check

5 years agoDisable bugprone-forward-declaration-namespace check
Kevin Ottens [Tue, 15 Sep 2020 11:21:38 +0000 (13:21 +0200)]
Disable bugprone-forward-declaration-namespace check

Turns out this clang-tidy check can give false positives coming from
headers outside the project while it shouldn't.

Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
5 years agoMerge pull request #2412 from jplsek/tooltip-update
Kevin Ottens [Tue, 15 Sep 2020 11:50:39 +0000 (13:50 +0200)]
Merge pull request #2412 from jplsek/tooltip-update

Include list info in tooltip

5 years agoInclude list info in tooltip
Jeremy Plsek [Fri, 11 Sep 2020 21:59:03 +0000 (17:59 -0400)]
Include list info in tooltip

Also extend the tooltip timeout

Signed-off-by: Jeremy Plsek <jeremyplsek@gmail.com>
5 years agoMerge pull request #2417 from nextcloud/fix_menu_popup_in_main_dialog
Kevin Ottens [Tue, 15 Sep 2020 09:03:07 +0000 (11:03 +0200)]
Merge pull request #2417 from nextcloud/fix_menu_popup_in_main_dialog

Fix menu popup in main dialog

5 years agoMake sure menu are closed when button is clicked again
Kevin Ottens [Mon, 14 Sep 2020 16:03:57 +0000 (18:03 +0200)]
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>
5 years agoDelay binding on the menu width
Kevin Ottens [Mon, 14 Sep 2020 15:36:08 +0000 (17:36 +0200)]
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>
5 years agoRemove pre-QQC2.3 workaround
Kevin Ottens [Mon, 14 Sep 2020 15:25:20 +0000 (17:25 +0200)]
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>
5 years agoMerge pull request #2418 from nextcloud/use_primary_screen_as_fallback_when_qcursor_p...
Kevin Ottens [Tue, 15 Sep 2020 08:44:54 +0000 (10:44 +0200)]
Merge pull request #2418 from nextcloud/use_primary_screen_as_fallback_when_qcursor_pos_search_failed

Use QGuiApplication::primaryScreen() as fallback for Systray::currentScreen()

5 years agoUse QGuiApplication::primaryScreen() as fallback for Systray::currentScreen()
Kevin Ottens [Mon, 14 Sep 2020 16:22:56 +0000 (18:22 +0200)]
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>
5 years ago[tx-robot] updated from transifex
Nextcloud bot [Tue, 15 Sep 2020 03:22:14 +0000 (03:22 +0000)]
[tx-robot] updated from transifex

5 years ago[tx-robot] updated from transifex
Nextcloud bot [Sat, 12 Sep 2020 03:19:44 +0000 (03:19 +0000)]
[tx-robot] updated from transifex

5 years ago[tx-robot] updated from transifex
Nextcloud bot [Fri, 11 Sep 2020 03:20:37 +0000 (03:20 +0000)]
[tx-robot] updated from transifex

5 years agoDon't use a confusing "royal you" in the sync messages
Kevin Ottens [Wed, 9 Sep 2020 15:43:22 +0000 (17:43 +0200)]
Don't use a confusing "royal you" in the sync messages

Users get rightfully confused with the "You changed ..." messages in the
activity list for syncs. Indeed, some of those changes might be coming
from the server in which case we don't really know who did the change.

So now we use the old "Synced ..." messages for changes pulled from the
server and we have a more precise "You changed ..." (renamed, deleted,
created) when the changes were initiated locally (since there we know
the user reading the message did it).

Also changed how the messages are constructed so that they can be
properly translated.

Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
5 years ago[tx-robot] updated from transifex
Nextcloud bot [Thu, 10 Sep 2020 03:25:52 +0000 (03:25 +0000)]
[tx-robot] updated from transifex

5 years agoClick on activity list in systray open file in the file manager.
Camila [Wed, 9 Sep 2020 15:10:16 +0000 (17:10 +0200)]
Click on activity list in systray open file in the file manager.

Clean up code, add more const and auto.

Signed-off-by: Camila <hello@camila.codes>
5 years agoFix tooltip for activity info.
Camila [Tue, 8 Sep 2020 14:43:45 +0000 (16:43 +0200)]
Fix tooltip for activity info.

Also improves readability of the items in the list.

Signed-off-by: Camila <hello@camila.codes>
5 years agol10n: Add a period
Valdnet [Mon, 7 Sep 2020 13:57:22 +0000 (15:57 +0200)]
l10n: Add a period

5 years ago[tx-robot] updated from transifex
Nextcloud bot [Wed, 9 Sep 2020 03:19:56 +0000 (03:19 +0000)]
[tx-robot] updated from transifex

5 years agol10n: Extract the button name
Valdnet [Tue, 8 Sep 2020 10:33:10 +0000 (12:33 +0200)]
l10n: Extract the button name

5 years agol10n: Delete unnecessary sentence
Valdnet [Tue, 8 Sep 2020 09:53:45 +0000 (11:53 +0200)]
l10n: Delete unnecessary sentence

5 years agol10n: A few more fixes
Valdnet [Tue, 8 Sep 2020 09:49:16 +0000 (11:49 +0200)]
l10n: A few more fixes

5 years agol10n: Word correction
Valdnet [Tue, 8 Sep 2020 09:16:54 +0000 (11:16 +0200)]
l10n: Word correction

5 years agol10n: Corrected translation
Valdnet [Mon, 7 Sep 2020 13:53:39 +0000 (15:53 +0200)]
l10n: Corrected translation

5 years agoLeave the implicit uint to int cast
Kevin Ottens [Thu, 3 Sep 2020 15:02:08 +0000 (17:02 +0200)]
Leave the implicit uint to int cast

I wrongly (and stupidly) assumed the int in QBitArray was treated as a
hash as well but it is an index so it must be positive. Also to make
things even worse I misread on which expression clang-tidy was
complaining regarding the implementation specific narrowing
conversion... This is happening after the modulo operator and not
before. We're in a safe range of values at that point, so it's fine to
let the narrowing happen.

Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
5 years agoMerge pull request #2387 from nextcloud/update-troubleshooting
Kevin Ottens [Tue, 8 Sep 2020 13:46:55 +0000 (15:46 +0200)]
Merge pull request #2387 from nextcloud/update-troubleshooting

Update troubleshooting

5 years agoAdd README with instructions on how to build the documentation.
Camila [Tue, 8 Sep 2020 13:09:31 +0000 (15:09 +0200)]
Add README with instructions on how to build the documentation.

Signed-off-by: Camila <hello@camila.codes>
5 years agoUpdate troubleshooting instructions with the newly added config file options.
Camila [Tue, 8 Sep 2020 13:00:28 +0000 (15:00 +0200)]
Update troubleshooting instructions with the newly added config file options.

Signed-off-by: Camila <hello@camila.codes>
5 years ago[tx-robot] updated from transifex
Nextcloud bot [Tue, 8 Sep 2020 03:19:49 +0000 (03:19 +0000)]
[tx-robot] updated from transifex

5 years ago[tx-robot] updated from transifex
Nextcloud bot [Sun, 6 Sep 2020 03:28:59 +0000 (03:28 +0000)]
[tx-robot] updated from transifex

5 years ago[tx-robot] updated from transifex
Nextcloud bot [Sat, 5 Sep 2020 03:29:13 +0000 (03:29 +0000)]
[tx-robot] updated from transifex

5 years ago[tx-robot] updated from transifex
Nextcloud bot [Fri, 4 Sep 2020 03:29:47 +0000 (03:29 +0000)]
[tx-robot] updated from transifex

5 years agoMerge pull request #2357 from thaytan/metadata-index-e2eMangledName
Kevin Ottens [Thu, 3 Sep 2020 14:20:48 +0000 (16:20 +0200)]
Merge pull request #2357 from thaytan/metadata-index-e2eMangledName

syncjournaldb: index e2eMangledName column in metadata

5 years agosyncjournaldb: index e2eMangledName column in metadata
Jan Schmidt [Thu, 3 Sep 2020 12:51:58 +0000 (22:51 +1000)]
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>
5 years ago[tx-robot] updated from transifex
Nextcloud bot [Thu, 3 Sep 2020 03:29:13 +0000 (03:29 +0000)]
[tx-robot] updated from transifex

5 years agoMerge pull request #2351 from nextcloud/fix_clang_tidy_errors_in_csync_tests
Kevin Ottens [Wed, 2 Sep 2020 06:25:24 +0000 (08:25 +0200)]
Merge pull request #2351 from nextcloud/fix_clang_tidy_errors_in_csync_tests

Fix clang tidy errors in csync tests

5 years agoSwitch to newer CI image to build csync tests
Kevin Ottens [Tue, 1 Sep 2020 16:19:31 +0000 (18:19 +0200)]
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>
5 years agoFix bugprone-narrowing-conversion errors in csync tests
Kevin Ottens [Tue, 1 Sep 2020 16:17:10 +0000 (18:17 +0200)]
Fix bugprone-narrowing-conversion errors in csync tests

Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
5 years agoFix modernize-use-nullptr errors in csync tests
Kevin Ottens [Tue, 1 Sep 2020 15:52:49 +0000 (17:52 +0200)]
Fix modernize-use-nullptr errors in csync tests

Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
5 years agoFix modernize-use-auto errors in csync tests
Kevin Ottens [Tue, 1 Sep 2020 15:51:32 +0000 (17:51 +0200)]
Fix modernize-use-auto errors in csync tests

Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
5 years agoFix modernize-deprecated-headers errors in csync tests
Kevin Ottens [Tue, 1 Sep 2020 15:49:17 +0000 (17:49 +0200)]
Fix modernize-deprecated-headers errors in csync tests

Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
5 years ago[tx-robot] updated from transifex
Nextcloud bot [Wed, 2 Sep 2020 03:31:47 +0000 (03:31 +0000)]
[tx-robot] updated from transifex

5 years agoMerge pull request #2283 from nextcloud/enable_bugprone_clang_tidy_checks
Kevin Ottens [Tue, 1 Sep 2020 06:47:41 +0000 (08:47 +0200)]
Merge pull request #2283 from nextcloud/enable_bugprone_clang_tidy_checks

Enable bugprone clang tidy checks

5 years agoEnable all the other bugprone clang-tidy checks
Kevin Ottens [Tue, 18 Aug 2020 20:15:31 +0000 (22:15 +0200)]
Enable all the other bugprone clang-tidy checks

Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
5 years agoEnable bugprone-terminating-continue clang-tidy check
Kevin Ottens [Tue, 18 Aug 2020 19:58:51 +0000 (21:58 +0200)]
Enable bugprone-terminating-continue clang-tidy check

Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
5 years agoEnable bugprone-too-small-loop-variable clang-tidy check
Kevin Ottens [Tue, 18 Aug 2020 19:54:20 +0000 (21:54 +0200)]
Enable bugprone-too-small-loop-variable clang-tidy check

Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
5 years agoEnable bugprone-narrowing-conversions clang-tidy check
Kevin Ottens [Tue, 18 Aug 2020 19:46:30 +0000 (21:46 +0200)]
Enable bugprone-narrowing-conversions clang-tidy check

Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
5 years agoEnable bugprone-macro-parentheses clang-tidy check
Kevin Ottens [Tue, 18 Aug 2020 17:29:35 +0000 (19:29 +0200)]
Enable bugprone-macro-parentheses clang-tidy check

Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
5 years agoEnable bugprone-forward-declaration-namespace clang-tidy check
Kevin Ottens [Tue, 18 Aug 2020 16:15:21 +0000 (18:15 +0200)]
Enable bugprone-forward-declaration-namespace clang-tidy check

Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
5 years agoEnable the bugprone-branch-clone clang-tidy check
Kevin Ottens [Tue, 18 Aug 2020 15:41:02 +0000 (17:41 +0200)]
Enable the bugprone-branch-clone clang-tidy check

Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
5 years agoEnable the bugprone-argument-comment clang-tidy check
Kevin Ottens [Tue, 18 Aug 2020 14:51:16 +0000 (16:51 +0200)]
Enable the bugprone-argument-comment clang-tidy check

Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
5 years ago[tx-robot] updated from transifex
Nextcloud bot [Tue, 1 Sep 2020 03:26:29 +0000 (03:26 +0000)]
[tx-robot] updated from transifex

5 years agoMerge pull request #2345 from nextcloud/use_httpd_unix-directory_mimetype_for_e2ee_fo...
Kevin Ottens [Mon, 31 Aug 2020 11:11:51 +0000 (13:11 +0200)]
Merge pull request #2345 from nextcloud/use_httpd_unix-directory_mimetype_for_e2ee_folders

Use httpd/unix-directory mimetype for E2EE folders

5 years agoUse httpd/unix-directory mimetype for E2EE folders
Kevin Ottens [Mon, 31 Aug 2020 10:05:05 +0000 (12:05 +0200)]
Use httpd/unix-directory mimetype for E2EE folders

We don't do much with that mimetype on our end, but other clients
somehow don't expect inode/directory to let's lie. ;-)

Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
5 years agoEnable all the misc clang-tidy check except one
Kevin Ottens [Wed, 19 Aug 2020 14:32:57 +0000 (16:32 +0200)]
Enable all the misc clang-tidy check except one

This flagged mostly unused parameters. Didn't enable the
misc-non-private-member-variables-in-classes check as we got a lot of
those. Hopefully we'll get to fix them at some point but that feels too
early and too much work for now.

Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
5 years ago[tx-robot] updated from transifex
Nextcloud bot [Mon, 31 Aug 2020 03:25:49 +0000 (03:25 +0000)]
[tx-robot] updated from transifex

5 years ago[tx-robot] updated from transifex
Nextcloud bot [Sun, 30 Aug 2020 03:24:23 +0000 (03:24 +0000)]
[tx-robot] updated from transifex

5 years ago[tx-robot] updated from transifex
Nextcloud bot [Sat, 29 Aug 2020 03:26:40 +0000 (03:26 +0000)]
[tx-robot] updated from transifex

5 years agoMerge pull request #2336 from nextcloud/jospoortvliet-patch-1
Michael Schuster [Fri, 28 Aug 2020 22:14:16 +0000 (00:14 +0200)]
Merge pull request #2336 from nextcloud/jospoortvliet-patch-1

Some changes to the template...

5 years agoSome changes to the template...
Jos Poortvliet [Fri, 28 Aug 2020 19:54:10 +0000 (21:54 +0200)]
Some changes to the template...

5 years ago[tx-robot] updated from transifex
Nextcloud bot [Fri, 28 Aug 2020 03:26:44 +0000 (03:26 +0000)]
[tx-robot] updated from transifex

5 years ago[tx-robot] updated from transifex
Nextcloud bot [Thu, 27 Aug 2020 03:29:43 +0000 (03:29 +0000)]
[tx-robot] updated from transifex

5 years agoRemove remaining QLinkedList includes in addition to #2300
Michael Schuster [Thu, 27 Aug 2020 01:10:59 +0000 (03:10 +0200)]
Remove remaining QLinkedList includes in addition to #2300

Now the only remaining reference is in:

src/3rdparty/libcrashreporter-qt/3rdparty/drkonqi-parser/backtraceparser.cpp:269:        || line.functionName().startsWith(QLatin1String("QLinkedList")

Signed-off-by: Michael Schuster <michael@schuster.ms>
5 years agoAdapt code style in addition to #2300
Michael Schuster [Wed, 26 Aug 2020 23:31:06 +0000 (01:31 +0200)]
Adapt code style in addition to #2300

- Use "!empty()" instead of "size() > 0" in std::list
- Add comments for namespace brackets

Signed-off-by: Michael Schuster <michael@schuster.ms>
5 years agoMerge pull request #2300 from chenecharry/master
Michael Schuster [Wed, 26 Aug 2020 23:27:09 +0000 (01:27 +0200)]
Merge pull request #2300 from chenecharry/master

Support client builds on VS2019 (QLinkedList is deprecated)

5 years agoMerge branch 'master' into master
Michael Schuster [Wed, 26 Aug 2020 23:12:30 +0000 (01:12 +0200)]
Merge branch 'master' into master

5 years ago[tx-robot] updated from transifex
Nextcloud bot [Wed, 26 Aug 2020 03:29:53 +0000 (03:29 +0000)]
[tx-robot] updated from transifex