Michael Schuster [Wed, 20 May 2020 01:27:45 +0000 (03:27 +0200)]
Merge pull request #1989 from nextcloud/remove_redundant_virtual
Remove useless virtual, better use override only
Michael Schuster [Wed, 20 May 2020 00:55:15 +0000 (02:55 +0200)]
Merge pull request #1988 from nextcloud/nullptr_everywhere
Use nullptr when appropriate
Michael Schuster [Wed, 20 May 2020 00:53:00 +0000 (02:53 +0200)]
Merge pull request #1992 from NeroBurner/patch-1
Update github links to desktop repository
Michael Schuster [Wed, 20 May 2020 00:30:45 +0000 (02:30 +0200)]
Use the default parameter: QUrl::path(QUrl::PrettyDecoded = 0x000000)
Change it to path() to be consistent with the other usages in the project :)
See: https://doc.qt.io/qt-5/qurl.html#path
Signed-off-by: Michael Schuster <michael@schuster.ms>
Kevin Ottens [Mon, 18 May 2020 18:39:16 +0000 (20:39 +0200)]
Use nullptr when appropriate
Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
Michael Schuster [Tue, 19 May 2020 23:31:34 +0000 (01:31 +0200)]
Merge pull request #1986 from nextcloud/properly_handle_denormalized_href_path
Properly handle denormalized href
Reinhold Gschweicher [Tue, 19 May 2020 15:23:42 +0000 (17:23 +0200)]
Update github links to desktop repository
Update the issue and open PR links with the new repository URL.
The old URL is forwarded, but feels not completely right.
Signed-off-by: Reinhold Gschweicher <pyro4hell@gmail.com>
Michael Schuster [Tue, 19 May 2020 18:45:05 +0000 (20:45 +0200)]
Merge pull request #1994 from nextcloud/cleanup_stale_files
Remove now unused Qt patch files
Kevin Ottens [Tue, 19 May 2020 18:21:40 +0000 (20:21 +0200)]
Merge pull request #1991 from sbeyer/improve-sanitizer-support
Improve sanitizer support
Kevin Ottens [Tue, 19 May 2020 17:42:26 +0000 (19:42 +0200)]
Remove now unused files
Those files all refer to Qt version older than 5.12, also they seemed
unused for a while now.
Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
Michael Schuster [Tue, 19 May 2020 16:57:28 +0000 (18:57 +0200)]
Merge pull request #1979 from nextcloud/bump_qt_dependency_to_5_12
Stop supporting Qt older than 5.12
Stephan Beyer [Mon, 18 May 2020 17:54:09 +0000 (19:54 +0200)]
Add -fno-sanitize=vptr for SANITIZE_UNDEFINED=ON
The UndefinedBehaviorSanitizer includes the "vptr" check. This
check, however, needs typeinfo for OCC::AccountManager because
otherwise its stub for FileManTest leads to undefined references
when linking. Adding the -frtti flag to enable run-time typeinfo
did not solve the problem. I do not know another solution, so this
commit disables the vptr check.
Signed-off-by: Stephan Beyer <s-beyer@gmx.net>
Stephan Beyer [Fri, 15 May 2020 23:52:29 +0000 (01:52 +0200)]
Make sanitizer options more fine-grained
The SANITIZE_ADDRESS option of our CMake configuration activates the
AddressSanitizer (and UBSan in a non-working way) for the whole project
(although, by the way, its documentation pretends that it is only enabled
for tests).
This commit introduces new options SANITIZE_LEAK, SANITIZE_MEMORY,
SANITIZE_UNDEFINED, SANITIZE_THREAD. Each of these options (including
SANITIZE_ADDRESS) enables only the corresponding sanitizer.
Moreover, we mark all sanitizer options as advanced options, because these
options are only interesting for developers.
Note that some sanitizers are conflicting, that is, not all options can
be enabled simultaneously. Also, not all sanitizers are available for
all compilers and versions. We, however, do not check for this, instead
we let the compiler throw its errors in such cases.
The explicit usage of the Google Linker is removed, because it is not
necessary and can lead to problems with clang.
The commit can be considered a rewrite of cmake/modules/SanitizerFlags.cmake.
Signed-off-by: Stephan Beyer <s-beyer@gmx.net>
Nextcloud bot [Tue, 19 May 2020 03:24:08 +0000 (03:24 +0000)]
[tx-robot] updated from transifex
Kevin Ottens [Mon, 18 May 2020 18:45:20 +0000 (20:45 +0200)]
Remove useless virtual, better use override only
Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
Kevin Ottens [Mon, 18 May 2020 17:22:41 +0000 (19:22 +0200)]
Properly handle denormalized href
In case of denormalized paths in the dav href (presence of . or .. in
the path) simple string startsWith comparison wasn't enough to know if
said href ended up in the right namespace. That's why we're now using
QUrl (pretending local file since we don't have a full URL in the href)
to normalize the path before comparison.
This could happen with broken proxies for instance where we would
wrongly validate the dav information resulting in potentially surprising
syncing and name collisions.
Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
Nextcloud bot [Mon, 18 May 2020 03:22:51 +0000 (03:22 +0000)]
[tx-robot] updated from transifex
Nextcloud bot [Sun, 17 May 2020 03:23:33 +0000 (03:23 +0000)]
[tx-robot] updated from transifex
Nextcloud bot [Sat, 16 May 2020 03:24:46 +0000 (03:24 +0000)]
[tx-robot] updated from transifex
Nextcloud bot [Fri, 15 May 2020 03:24:34 +0000 (03:24 +0000)]
[tx-robot] updated from transifex
Kevin Ottens [Thu, 14 May 2020 19:15:45 +0000 (21:15 +0200)]
Stop supporting Qt older than 5.12
This both removes older Qt from the CI and also adjust all the
find_package calls in CMakeLists.txt
Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
Nextcloud bot [Thu, 14 May 2020 03:25:33 +0000 (03:25 +0000)]
[tx-robot] updated from transifex
Nextcloud bot [Wed, 13 May 2020 03:24:15 +0000 (03:24 +0000)]
[tx-robot] updated from transifex
Michael Schuster [Tue, 12 May 2020 17:29:54 +0000 (19:29 +0200)]
Merge pull request #1974 from nextcloud/dont_silently_kill_debug
Don't silently kill debug messages
Michael Schuster [Tue, 12 May 2020 15:33:24 +0000 (17:33 +0200)]
Merge pull request #1972 from nextcloud/fix_fileutil_leak
Fix leak in FileUtil::IsChildFile
Kevin Ottens [Tue, 12 May 2020 15:33:13 +0000 (17:33 +0200)]
Don't silently kill debug messages
The message handler globally installed by the logger silently drop
messages if the logger is not logging. On top of it, it doesn't log
debug messages by default.
Anything not logged is currently silently discarded. This can come as a
surprise to a developer trying to contribute for the first time and
adding some debug message for some reason.
We're thus trying to strike a middle ground which is that debug messages
get a regular output if the logger isn't interested in them.
Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
Kevin Ottens [Tue, 12 May 2020 12:32:34 +0000 (14:32 +0200)]
Fix leak in FileUtil::IsChildFile
Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
Nextcloud bot [Tue, 12 May 2020 03:23:08 +0000 (03:23 +0000)]
[tx-robot] updated from transifex
Nextcloud bot [Mon, 11 May 2020 03:24:25 +0000 (03:24 +0000)]
[tx-robot] updated from transifex
Nextcloud bot [Sun, 10 May 2020 03:25:39 +0000 (03:25 +0000)]
[tx-robot] updated from transifex
Michael Schuster [Fri, 8 May 2020 18:11:09 +0000 (20:11 +0200)]
Merge pull request #1965 from ivaradi/drop-xenial
Do not build for Xenial anymore
István Váradi [Thu, 7 May 2020 15:02:27 +0000 (17:02 +0200)]
Do not build for Xenial anymore.
Signed-off-by: István Váradi <ivaradi@varadiistvan.hu>
Kevin Ottens [Thu, 7 May 2020 11:05:40 +0000 (13:05 +0200)]
Merge pull request #1961 from nextcloud/tray_window_is_dialog
Indicate this is a dialog and not a regular window
Kevin Ottens [Wed, 6 May 2020 13:50:28 +0000 (15:50 +0200)]
Indicate this is a dialog and not a regular window
This is necessary with some window managers which would otherwise
consider they can reposition and resize the tray window as they wish
(yes, even though the user can't do it directly).
This is for instance the case if you use the tiling mode scripts of
KWin. It automatically ignores dialogs but might force windows to be
fullscreen (which would badly break the layout in our case).
Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
Kevin Ottens [Thu, 7 May 2020 05:26:39 +0000 (07:26 +0200)]
Merge pull request #1962 from nextcloud/fix_svg_icon_loading
Force the default QQC2 style
Nextcloud bot [Thu, 7 May 2020 03:24:41 +0000 (03:24 +0000)]
[tx-robot] updated from transifex
Kevin Ottens [Wed, 6 May 2020 18:04:58 +0000 (20:04 +0200)]
Force the default QQC2 style
This works around a bug in KDE's qqc2-desktop-style which breaks buttons
with icons not based on a name. By forcing a style name the KDE Plasma
platformtheme plugin won't try to force qqc2-desktops-style anymore.
Can be removed once the bug in qqc2-desktop-style is gone.
Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
Michael Schuster [Wed, 6 May 2020 23:45:46 +0000 (01:45 +0200)]
Merge pull request #1963 from nextcloud/drone-remove-qt-5.7-and-5.8
Drone: Remove CI builds for Qt 5.7 and 5.8
Michael Schuster [Wed, 6 May 2020 23:14:18 +0000 (01:14 +0200)]
Drone: Remove CI builds for Qt 5.7 and 5.8
Housekeeping and the new 2.7 Tray builds need at least Qt 5.9
Signed-off-by: Michael Schuster <michael@schuster.ms>
Michael Schuster [Mon, 4 May 2020 18:41:42 +0000 (20:41 +0200)]
Merge pull request #1957 from nextcloud/backport/1954/master
[master] Fix typos.
Michael Schuster [Mon, 4 May 2020 18:17:48 +0000 (20:17 +0200)]
Merge pull request #1949 from veddox/master
Resolve symlinks when checking for registered paths.
Sandro Knauß [Sun, 3 May 2020 20:54:50 +0000 (22:54 +0200)]
Fix typos.
Debian has a list of known typos in their checking tools.
Signed-off-by: Sandro Knauß <hefee@debian.org>
Michael Schuster [Mon, 4 May 2020 17:57:19 +0000 (19:57 +0200)]
Merge pull request #1955 from ivaradi/debian-cleanup
Remove unnecessary Debian build files
Michael Schuster [Mon, 4 May 2020 17:42:28 +0000 (19:42 +0200)]
Merge pull request #1956 from nextcloud/update-changelog
Update ChangeLog with 2.6 series.
Camila San [Mon, 4 May 2020 15:45:13 +0000 (17:45 +0200)]
Update ChangeLog with 2.6 series.
István Váradi [Mon, 4 May 2020 14:38:31 +0000 (16:38 +0200)]
Remove unnecessary Debian build files
Signed-off-by: István Váradi <ivaradi@varadiistvan.hu>
Nextcloud bot [Mon, 4 May 2020 03:22:43 +0000 (03:22 +0000)]
[tx-robot] updated from transifex
Nextcloud bot [Sun, 3 May 2020 03:22:41 +0000 (03:22 +0000)]
[tx-robot] updated from transifex
Daniel Vedder [Sat, 2 May 2020 15:01:35 +0000 (17:01 +0200)]
Fixed symlink resolution for menu items.
Signed-off-by: Daniel Vedder <d.vedder@web.de>
Daniel Vedder [Sat, 2 May 2020 12:41:54 +0000 (14:41 +0200)]
Resolve symlinks when checking for registered paths.
Fixes issue #1948: https://github.com/nextcloud/desktop/issues/1948
The client already resolves symlinks when adding new paths to the
sync-list, but the Nautilus plugin did not do this yet, causing it
to not recognise synced folders if they were accessed via a symlink.
Signed-off-by: Daniel Vedder <d.vedder@web.de>
Nextcloud bot [Sat, 2 May 2020 03:23:10 +0000 (03:23 +0000)]
[tx-robot] updated from transifex
István Váradi [Fri, 1 May 2020 09:15:07 +0000 (11:15 +0200)]
Merge pull request #1896 from ivaradi/debian-new
Reorganize Debian build
Nextcloud bot [Fri, 1 May 2020 03:27:29 +0000 (03:27 +0000)]
[tx-robot] updated from transifex
Nextcloud bot [Thu, 30 Apr 2020 03:26:57 +0000 (03:26 +0000)]
[tx-robot] updated from transifex
Nextcloud bot [Wed, 29 Apr 2020 03:23:26 +0000 (03:23 +0000)]
[tx-robot] updated from transifex
Nextcloud bot [Tue, 28 Apr 2020 03:24:02 +0000 (03:24 +0000)]
[tx-robot] updated from transifex
István Váradi [Mon, 27 Apr 2020 17:17:30 +0000 (19:17 +0200)]
Add Groovy build
Signed-off-by: István Váradi <ivaradi@varadiistvan.hu>
István Váradi [Wed, 25 Mar 2020 18:13:07 +0000 (19:13 +0100)]
Allow specifying the base commit and version in the configuration file
Signed-off-by: István Váradi <ivaradi@varadiistvan.hu>
István Váradi [Tue, 24 Mar 2020 19:09:43 +0000 (20:09 +0100)]
Change Debian build to the new more Debian-y way
Signed-off-by: István Váradi <ivaradi@varadiistvan.hu>
István Váradi [Mon, 27 Apr 2020 15:00:37 +0000 (17:00 +0200)]
Merge pull request #1895 from ivaradi/debian-version
Debian versioning updates
Nextcloud bot [Mon, 27 Apr 2020 03:22:26 +0000 (03:22 +0000)]
[tx-robot] updated from transifex
István Váradi [Sun, 26 Apr 2020 14:42:04 +0000 (16:42 +0200)]
Merge pull request #1943 from ivaradi/groovy
Add Groovy-specific files
István Váradi [Sun, 26 Apr 2020 08:08:58 +0000 (10:08 +0200)]
Add Groovy-specific files
Signed-off-by: István Váradi <ivaradi@varadiistvan.hu>
István Váradi [Sun, 26 Apr 2020 07:24:53 +0000 (09:24 +0200)]
Merge pull request #1942 from ivaradi/disco-groovy
Remove Ubuntu Disco, add Groovy
István Váradi [Sun, 26 Apr 2020 06:40:37 +0000 (08:40 +0200)]
Remove Ubuntu Disco, add Groovy
Signed-off-by: István Váradi <ivaradi@varadiistvan.hu>
Nextcloud bot [Sun, 26 Apr 2020 03:23:13 +0000 (03:23 +0000)]
[tx-robot] updated from transifex
Dominique Fuchs [Sat, 25 Apr 2020 12:57:32 +0000 (14:57 +0200)]
Merge pull request #1884 from nicolasfella/menuaction
[dolphin] Use menuAction() instead of manual creation
Dominique Fuchs [Sat, 25 Apr 2020 11:43:42 +0000 (13:43 +0200)]
Merge pull request #1919 from taaem/fix-dbus-activation
CloudProviders: Use absolute path in dbus file
Dominique Fuchs [Sat, 25 Apr 2020 11:37:29 +0000 (13:37 +0200)]
Merge pull request #1922 from taaem/fix-recent-files
Fix cloudprovider crashing - don't clear the _recentMenu pointer
Dominique Fuchs [Sat, 25 Apr 2020 11:18:10 +0000 (13:18 +0200)]
Merge branch 'master' into menuaction
Dominique Fuchs [Sat, 25 Apr 2020 10:23:25 +0000 (12:23 +0200)]
Merge pull request #1937 from ivaradi/xenial-compat
Qt 5.5 compatibility #ifdef
Dominique Fuchs [Sat, 25 Apr 2020 10:18:56 +0000 (12:18 +0200)]
Merge pull request #1893 from nicolasfella/override
override specifier missing
Dominique Fuchs [Sat, 25 Apr 2020 10:17:29 +0000 (12:17 +0200)]
Merge pull request #1887 from nicolasfella/colon
[dolphin] Fix overlays when filename has a colon
Dominique Fuchs [Sat, 25 Apr 2020 10:15:33 +0000 (12:15 +0200)]
Merge pull request #1889 from nicolasfella/applicationengine
Use QQmlApplicationEngine instead of QQmlEngine
Nextcloud bot [Fri, 24 Apr 2020 03:39:24 +0000 (03:39 +0000)]
[tx-robot] updated from transifex
István Váradi [Sun, 19 Apr 2020 15:11:38 +0000 (17:11 +0200)]
Qt 5.5 compatibility #ifdef
Signed-off-by: István Váradi <ivaradi@varadiistvan.hu>
Nextcloud bot [Thu, 23 Apr 2020 03:29:16 +0000 (03:29 +0000)]
[tx-robot] updated from transifex
Nextcloud bot [Wed, 22 Apr 2020 03:25:56 +0000 (03:25 +0000)]
[tx-robot] updated from transifex
Nextcloud bot [Tue, 21 Apr 2020 03:24:07 +0000 (03:24 +0000)]
[tx-robot] updated from transifex
Nextcloud bot [Sat, 18 Apr 2020 03:23:49 +0000 (03:23 +0000)]
[tx-robot] updated from transifex
Michael Schuster [Fri, 17 Apr 2020 18:03:47 +0000 (20:03 +0200)]
Merge pull request #1933 from nicolasfella/fixdolphin
Fix build of Dolphin integration
Nicolas Fella [Fri, 17 Apr 2020 10:44:25 +0000 (12:44 +0200)]
Fix build of Dolphin integration
config.h needs to be included in the header already since we use APPLICATION_ICON_NAME there. This got introduced in
6fc877577c84e2ed3b175ee1425255e52d1d37b4
Signed-off-by: Nicolas Fella <nicolas.fella@gmx.de>
Nextcloud bot [Fri, 17 Apr 2020 03:24:03 +0000 (03:24 +0000)]
[tx-robot] updated from transifex
Nextcloud bot [Thu, 16 Apr 2020 03:27:37 +0000 (03:27 +0000)]
[tx-robot] updated from transifex
Michael Schuster [Thu, 16 Apr 2020 01:47:24 +0000 (03:47 +0200)]
[dolphin] Use CMake env vars for App Name and Icon strings
Signed-off-by: Michael Schuster <michael@schuster.ms>
Michael Schuster [Thu, 16 Apr 2020 00:52:34 +0000 (02:52 +0200)]
Merge pull request #1883 from nicolasfella/contexticon
[dolphin] Add icon to context menu
Michael Schuster [Wed, 15 Apr 2020 19:28:51 +0000 (21:28 +0200)]
Merge pull request #1882 from nicolasfella/detach
Fix container detaching
Michael Schuster [Wed, 15 Apr 2020 15:52:09 +0000 (17:52 +0200)]
Merge pull request #1881 from nicolasfella/envempty
Use qEnvironmentVariableIsEmpty
Michael Schuster [Wed, 15 Apr 2020 15:28:02 +0000 (17:28 +0200)]
Merge pull request #1880 from nicolasfella/timeout
Remove timeout parameter from showMessage
Michael Schuster [Wed, 15 Apr 2020 15:15:48 +0000 (17:15 +0200)]
Merge pull request #1879 from nicolasfella/desktopentry
Add desktop-entry hint to notifications
Nextcloud bot [Wed, 15 Apr 2020 03:28:13 +0000 (03:28 +0000)]
[tx-robot] updated from transifex
Nicolas Fella [Tue, 14 Apr 2020 19:37:49 +0000 (21:37 +0200)]
Use LINUX_APPLICATION_ID
Signed-off-by: Nicolas Fella <nicolas.fella@gmx.de>
Nextcloud bot [Tue, 14 Apr 2020 03:27:25 +0000 (03:27 +0000)]
[tx-robot] updated from transifex
Nextcloud bot [Mon, 13 Apr 2020 03:42:45 +0000 (03:42 +0000)]
[tx-robot] updated from transifex
Nextcloud bot [Sat, 11 Apr 2020 03:30:49 +0000 (03:30 +0000)]
[tx-robot] updated from transifex
Tim Klocke [Fri, 10 Apr 2020 10:47:30 +0000 (12:47 +0200)]
CloudProviders: Use absolute path in dbus file
Tim Klocke [Fri, 10 Apr 2020 17:03:15 +0000 (19:03 +0200)]
CloudProviders: Don't clear the _recentMenu pointer
The _recentMenu pointer ref should not be freed, when building the
menu.
This fixes #1920 and #1818
Nextcloud bot [Fri, 10 Apr 2020 03:31:12 +0000 (03:31 +0000)]
[tx-robot] updated from transifex
Nextcloud bot [Thu, 9 Apr 2020 03:31:03 +0000 (03:31 +0000)]
[tx-robot] updated from transifex
Nextcloud bot [Wed, 8 Apr 2020 03:31:13 +0000 (03:31 +0000)]
[tx-robot] updated from transifex