1
0
mirror of https://github.com/chylex/Nextcloud-Desktop.git synced 2024-10-25 03:42:48 +02:00
Commit Graph

13970 Commits

Author SHA1 Message Date
Nextcloud bot
ae33f10226
[tx-robot] updated from transifex 2020-06-23 03:29:14 +00:00
Michael Schuster
0181debae0
Fix issue #2108: Default system proxy not working with Account Wizard
Discovered on Windows in conjunction with PAC scripts:
- Already configured accounts worked
- Fresh client account setup did not work

Reason:
- Proxy was reset over and over again in Account::setCredentials

Signed-off-by: Michael Schuster <michael@schuster.ms>
(cherry picked from commit 902963fa10)
Signed-off-by: Michael Schuster <michael@schuster.ms>
2020-06-22 15:53:22 +02:00
Nextcloud bot
bd17cb0b86
[tx-robot] updated from transifex 2020-06-21 03:23:11 +00:00
Nextcloud bot
be62480d0f
[tx-robot] updated from transifex 2020-06-20 03:25:47 +00:00
Nextcloud bot
5234dea356
[tx-robot] updated from transifex 2020-06-19 03:27:07 +00:00
Michael Schuster
27a453ae1a
Fix libsync exports for proxy changes in #1886
Build failed on Windows, missing libsync export for printQNetworkProxy after
moving ClientProxy class from gui to libsync.

Signed-off-by: Michael Schuster <michael@schuster.ms>
(cherry picked from commit 92c8d6836b)
Signed-off-by: Michael Schuster <michael@schuster.ms>
2020-06-18 21:38:58 +02:00
Michael Schuster
eb55308949
Improve proxy logging: Log type string instead of abstract ID
The format in the client log was: 3://host:port
Now it is shown like:             HttpProxy://host:port

The old ID display was confusing and misleading users (and people debugging it ;p)

Signed-off-by: Michael Schuster <michael@schuster.ms>
(cherry picked from commit 0253e98041)
Signed-off-by: Michael Schuster <michael@schuster.ms>
2020-06-18 21:37:26 +02:00
Roeland Jago Douma
9d829b2933 Move the proxyfiles to libsync where they make more sense
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Signed-off-by: Michael Schuster <michael@schuster.ms>
(cherry picked from commit 50dcab5f88)
Signed-off-by: Michael Schuster <michael@schuster.ms>
2020-06-18 21:36:40 +02:00
Marcin Wilk
456e338363
Add photothumb.db to sync-exclude.lst
Add photothumb.db file that is thumbnails generated by Photoscape application (generated in every folder with graphic files).

(cherry picked from commit 299749681d)
Signed-off-by: Michael Schuster <michael@schuster.ms>
2020-06-18 20:29:54 +02:00
Nextcloud bot
24446977c8
[tx-robot] updated from transifex 2020-06-18 03:25:49 +00:00
Nextcloud bot
3a9e12f8c5
[tx-robot] updated from transifex 2020-06-17 03:23:46 +00:00
Nextcloud bot
bdede5cfc4
[tx-robot] updated from transifex 2020-06-15 03:24:41 +00:00
Nextcloud bot
e39a9ba7ae
[tx-robot] updated from transifex 2020-06-14 03:22:33 +00:00
Nextcloud bot
23c3885854
[tx-robot] updated from transifex 2020-06-13 03:23:36 +00:00
Nextcloud bot
a186ac6a29
[tx-robot] updated from transifex 2020-06-11 03:24:17 +00:00
Michael Schuster
7c7627995e
Merge pull request #2084 from nextcloud/backport/1749/stable-2.6
[stable-2.6] macOS: Use macdeployqt instead of the old admin/osx/macdeployqt.py
2020-06-11 02:55:29 +02:00
Michael Schuster
f62c0f0c0d
Merge branch 'stable-2.6' into backport/1749/stable-2.6 2020-06-11 02:54:21 +02:00
Michael Schuster
9a55396cb6
macOS: Build nextcloudcmd after gui and run macdeployqt with the -executable option
- src/CMakeLists.txt: Switch build order to build cmd before gui
- src/gui/CMakeLists.txt: Use the -executable option for a combined run of macdeployqt

Signed-off-by: Michael Schuster <michael@schuster.ms>
(cherry picked from commit e6389959ce)
Signed-off-by: Michael Schuster <michael@schuster.ms>
2020-06-11 02:49:11 +02:00
Dominique Fuchs
24a989532d
Copy nextcloudcmd post-build instead of macdeployqt when building macOS bundle
Signed-off-by: Dominique Fuchs <32204802+DominiqueFuchs@users.noreply.github.com>
(cherry picked from commit a45c2e04e5)
Signed-off-by: Michael Schuster <michael@schuster.ms>
2020-06-11 02:38:40 +02:00
Michael Schuster
c3a4bccb30
macOS: Use macdeployqt instead of the old admin/osx/macdeployqt.py
In order to build the new 2.7 releases (new QML dependencies) without manually
modifying the old Python script each time, rely on Qt's standard tool instead.

This should streamline the build systems for upcoming dependency changes.

Signed-off-by: Michael Schuster <michael@schuster.ms>
(cherry picked from commit acb56be528)
Signed-off-by: Michael Schuster <michael@schuster.ms>
2020-06-11 02:35:48 +02:00
Michael Schuster
0da8951a4a
Merge pull request #2083 from nextcloud/backport/2077/stable-2.6
[stable-2.6] Simplify nullptr comparisons where appropriate
2020-06-11 02:25:57 +02:00
Michael Schuster
ad524e8a61
Simplify nullptr comparisons where appropriate
Make the codebase consistent, we already have a lot of implicit pointer comparisons.

Exception: Stay explicit on return's, example:
  return _db != nullptr;

Signed-off-by: Michael Schuster <michael@schuster.ms>
(cherry picked from commit 456c1eadbe)
Signed-off-by: Michael Schuster <michael@schuster.ms>
2020-06-11 02:19:57 +02:00
Nextcloud bot
cd9a055053
[tx-robot] updated from transifex 2020-06-10 03:27:12 +00:00
Michael Schuster
513176ae40
Merge pull request #2078 from nextcloud/backport/2057/stable-2.6
[stable-2.6] Replace NULL by nullptr in all C++ files
2020-06-10 04:57:39 +02:00
Michael Schuster
74dda92f88
Fix nullptr regression in RegistryUtil::ReadRegistry
Merging PR #2057 caused the Windows build to fail:

shell_integration\windows\OCUtil\RegistryUtil.cpp(43): error C2664: 'LSTATUS RegOpenKeyExW(HKEY,LPCWSTR,DWORD,REGSAM,PHKEY)': cannot convert argument 3 from 'nullptr' to 'DWORD'

The previous implementation prior the PR supplied NULL as the argument 3 to RegOpenKeyEx,
so it was silently accepted and translated to zero, satisfying the DWORD's type requirement.

Signed-off-by: Michael Schuster <michael@schuster.ms>
(cherry picked from commit bbe1d2e84c0201ce5aba0fedfedf94b23a546111)
Signed-off-by: Michael Schuster <michael@schuster.ms>
2020-06-10 04:14:28 +02:00
Stephan Beyer
e6236d4ef5 Replace NULL by nullptr in all C++ files
We keep NULL in the pure C files in src/csync/std and test/csync.

We also replace Doxygen documentation referring to "NULL" to
"\c nullptr" (formatted as code).

Signed-off-by: Stephan Beyer <s-beyer@gmx.net>
(cherry picked from commit 39198e4116380d577241658920d6ae213c0f5d38)
Signed-off-by: Michael Schuster <michael@schuster.ms>
2020-06-10 04:09:44 +02:00
Roeland Jago Douma
ac414c4374 Don't show a message box if the entered url returned an error
BEtter to now just display clickable links etc.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-06-09 13:44:24 +02:00
Nextcloud bot
b4e681d128
[tx-robot] updated from transifex 2020-06-09 03:24:34 +00:00
Michael Schuster
4572f96745
Merge pull request #2072 from nextcloud/stable-2.6-upgrade-qt-5.12.8
[stable-2.6] AppImage: Upgrade to Qt 5.12.8
2020-06-09 04:08:38 +02:00
Michael Schuster
d5b737ab4b
[stable-2.6] AppImage: Upgrade to Qt 5.12.8
Signed-off-by: Michael Schuster <michael@schuster.ms>
2020-06-09 04:06:06 +02:00
Michael Schuster
e06990427b
Merge pull request #2071 from nextcloud/lnx-domainname-desktopfiles-stable-2.6
[stable-2.6] Linux/Wayland: Updated .desktop file naming scheme
2020-06-09 04:00:21 +02:00
Dominique Fuchs
4fec80d4de Created wrapper variable LINUX_APPLICATION_ID to clean up code
Signed-off-by: Dominique Fuchs <32204802+DominiqueFuchs@users.noreply.github.com>

(cherry picked from commit 3ad1c0e7a8)

Solved conflicts (2020-06-09):
- No modifications needed for: admin/linux/build-appimage.sh

Signed-off-by: Michael Schuster <michael@schuster.ms>
2020-06-09 03:29:20 +02:00
Dominique Fuchs
6cba316ab5
Updated AppImage instructions w/ new desktop file name
Signed-off-by: Dominique Fuchs <32204802+DominiqueFuchs@users.noreply.github.com>

(cherry picked from commit a8ecf486d1)

Solved conflicts while cherry-picking (2020-06-09):
- Modified to match with master's newer version, so we also don't need to
  cherry-pick 0c4c5c5f8b

Signed-off-by: Michael Schuster <michael@schuster.ms>
2020-06-09 03:20:22 +02:00
Dominique Fuchs
b642574751
Corrected new .desktop file location in forgotten function
Signed-off-by: Dominique Fuchs <32204802+DominiqueFuchs@users.noreply.github.com>
(cherry picked from commit 83918619cf)
Signed-off-by: Michael Schuster <michael@schuster.ms>
2020-06-09 03:01:19 +02:00
Dominique Fuchs
8f909a0de4
Updated .desktop file naming scheme
Signed-off-by: Dominique Fuchs <32204802+DominiqueFuchs@users.noreply.github.com>
(cherry picked from commit 96da4674f9)
Signed-off-by: Michael Schuster <michael@schuster.ms>
2020-06-09 03:00:27 +02:00
Dominique Fuchs
43f2826622
Fixed wrongly formatted define statement
Signed-off-by: Dominique Fuchs <32204802+DominiqueFuchs@users.noreply.github.com>
(cherry picked from commit e5f0ee3b92)
Signed-off-by: Michael Schuster <michael@schuster.ms>
2020-06-09 02:59:39 +02:00
Michael Schuster
7b8b9742f4
Merge pull request #2069 from nextcloud/nicolasfella-autostarticon
[stable-2.6] Use APPLICATION_ICON_NAME for autostart icon
2020-06-09 01:59:59 +02:00
Nicolas Fella
531af5bb31
Use APPLICATION_ICON_NAME for autostart icon
Signed-off-by: Nicolas Fella <nicolas.fella@gmx.de>
(cherry picked from commit bce93b052b)
Signed-off-by: Michael Schuster <michael@schuster.ms>
2020-06-08 21:48:13 +02:00
Michael Schuster
9357fb981e
Merge pull request #2064 from nextcloud/backport/2063/stable-2.6
[stable-2.6] macOS: Opt In to Dark Mode for building against older macOS SDKs < 10.14
2020-06-07 16:40:31 +02:00
Michael Schuster
115bef589b macOS: Opt In to Dark Mode for building against older macOS SDKs < 10.14
Required for our build server that uses an older SDK to support previous macOS versions.

See: https://developer.apple.com/documentation/appkit/nsappearancecustomization/choosing_a_specific_appearance_for_your_macos_app

Signed-off-by: Michael Schuster <michael@schuster.ms>
2020-06-07 14:39:18 +00:00
Michael Schuster
69b9c4715e
Merge pull request #2062 from nextcloud/backport/2061/stable-2.6
[stable-2.6] Improve command line version info and help display (gui & cmd)
2020-06-07 15:51:59 +02:00
Michael Schuster
0ff93727b2 Improve command line version info and help display to streamline gui and cmd
Signed-off-by: Michael Schuster <michael@schuster.ms>
2020-06-07 12:44:09 +00:00
Nextcloud bot
3b28d9471a
[tx-robot] updated from transifex 2020-06-07 03:24:21 +00:00
Nextcloud bot
688512cc8c
[tx-robot] updated from transifex 2020-06-06 03:26:32 +00:00
Nextcloud bot
c2bb7446aa
[tx-robot] updated from transifex 2020-06-05 03:23:27 +00:00
Nextcloud bot
dd03eddb38
[tx-robot] updated from transifex 2020-06-04 03:23:36 +00:00
Nextcloud bot
3ec89ccc5d
[tx-robot] updated from transifex 2020-06-03 03:24:04 +00:00
Nextcloud bot
19f2a43ef4
[tx-robot] updated from transifex 2020-06-02 03:23:57 +00:00
Nextcloud bot
0a791acd10
[tx-robot] updated from transifex 2020-06-01 03:23:38 +00:00
Michael Schuster
1976471543
Merge pull request #2052 from nextcloud/backport/2051/stable-2.6
[stable-2.6] Remove Submodule binary (old upstream binaries)
2020-05-31 16:10:02 +02:00