Merge branch 'master' into qt-5.12.5-update-submodules

This commit is contained in:
Camila Ayres 2019-10-22 14:31:27 +02:00 committed by GitHub
commit 3a310f93e0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 74 additions and 59 deletions

View file

@ -237,7 +237,7 @@ name: qt-5.12
steps:
- name: build and test
image: nextcloudci/client-5.12:client-5.12-2
image: nextcloudci/client-5.12:client-5.12-3
commands:
# Install QtKeyChain
- /bin/bash -c "
@ -278,7 +278,7 @@ name: qt-5.12-clang
steps:
- name: build and test
image: nextcloudci/client-5.12:client-5.12-2
image: nextcloudci/client-5.12:client-5.12-3
commands:
# Install QtKeyChain
- /bin/bash -c "
@ -319,7 +319,7 @@ name: AppImage
steps:
- name: build
image: nextcloudci/client-5.12:client-5.12-2
image: nextcloudci/client-5.12:client-5.12-3
commands:
- /bin/bash -c "./admin/linux/build-appimage.sh"
trigger:

View file

@ -198,7 +198,7 @@ X-GNOME-Autostart-Delay=3
# Translations
Icon[de]=@APPLICATION_ICON_NAME@
Name[de]=@APPLICATION_NAME@ Client zur Desktop-Synchronisation
Comment[de]=@APPLICATION_NAME@ Client zur Desktop-Synchronisation
GenericName[de]=Synchronisationsordner
Icon[de_DE]=@APPLICATION_ICON_NAME@
Name[de_DE]=@APPLICATION_NAME@ Client zur Desktop-Synchronisation
Comment[de_DE]=@APPLICATION_NAME@ Client zur Desktop-Synchronisation
GenericName[de_DE]=Synchronisationsordner

View file

@ -10,6 +10,7 @@ Build-Depends: cmake,
libkf5kio-dev,
libcmocka-dev,
libcloudproviders-dev,
libdbus-1-dev,
libhttp-dav-perl,
libinotify-dev [kfreebsd-any],
libqt5svg5-dev,

View file

@ -11,6 +11,7 @@ Build-Depends: cmake,
kio-dev,
libcmocka-dev,
libcloudproviders-dev,
libdbus-1-dev,
libhttp-dav-perl,
libinotify-dev [kfreebsd-any],
libqt5webkit5-dev,

View file

@ -11,6 +11,7 @@ Build-Depends: cmake,
libkf5kio-dev,
libcmocka-dev,
libcloudproviders-dev,
libdbus-1-dev,
libhttp-dav-perl,
libinotify-dev [kfreebsd-any],
libqt5svg5-dev,

View file

@ -13,11 +13,19 @@ desktop client.
These instructions are updated to work with version |version| of the Nextcloud Client.
Getting Source Code
-------------------
You have two possibilities to clone the repo.
The :ref:`generic-build-instructions` pull the latest code directly from
GitHub, and work on Linux, macOS, and Windows.
First option is As [remote URL](https://help.github.com/en/articles/which-remote-url-should-i-use) you can choose between cloning with HTTPS URL's, which is recommended or cloning with SSH URL's.
[https://github.com/nextcloud/desktop.git](https://github.com/nextcloud/desktop.git)
When you don't have SSH key added to your GitHub account, than use HTTPS.
When you no part of the nextcloud organisation, clone with HTTPS:
```
$ git clone git@github.com:nextcloud/desktop.git
```
macOS
-----

View file

@ -29,12 +29,12 @@ if(NOT MSVC)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -D_FORTIFY_SOURCE=2")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -D_FORTIFY_SOURCE=2")
endif()
endif()
# Calling Qt's qCWarning(category, ...) with no params for "..." is a GNU
# extension (C++11 §16.3/4 forbids them). Silence clang's warnings.
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-gnu-zero-variadic-macro-arguments")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-gnu-zero-variadic-macro-arguments")
# Calling Qt's qCWarning(category, ...) with no params for "..." is a GNU
# extension (C++11 §16.3/4 forbids them). Silence clang's warnings.
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-gnu-zero-variadic-macro-arguments")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-gnu-zero-variadic-macro-arguments")
endif()
if(WIN32)
# Enable DEP & ASLR

View file

@ -288,7 +288,11 @@ void ExcludedFiles::addManualExclude(const QByteArray &expr)
void ExcludedFiles::addManualExclude(const QByteArray &expr, const QByteArray &basePath)
{
#if defined(Q_OS_WIN)
Q_ASSERT(basePath.size() >= 2 && basePath.at(1) == ':');
#else
Q_ASSERT(basePath.startsWith('/'));
#endif
Q_ASSERT(basePath.endsWith('/'));
auto key = basePath;

View file

@ -146,7 +146,7 @@ private slots:
mkdir(_rootPath + "/a0/b");
mkdir(_rootPath + "/a0/b/c");
touch(file);
mv(_rootPath + "/a0 ", _rootPath + "/a");
mv(_rootPath + "/a0", _rootPath + "/a");
QVERIFY(waitForPathChanged(_rootPath + "/a/b/c/empty.txt"));
}

View file

@ -107,27 +107,27 @@
<message>
<location filename="../src/gui/wizard/flow2authcredspage.ui" line="14"/>
<source>Browser Authentication</source>
<translation type="unfinished"/>
<translation>Selaintunnistautuminen</translation>
</message>
<message>
<location filename="../src/gui/wizard/flow2authcredspage.ui" line="36"/>
<source>Please switch to your browser to proceed.</source>
<translation type="unfinished"/>
<translation>Vaihda selaimeen jatkaaksesi.</translation>
</message>
<message>
<location filename="../src/gui/wizard/flow2authcredspage.ui" line="46"/>
<source>An error occurred while connecting. Please try again.</source>
<translation type="unfinished"/>
<translation>Yhdistäessä tapahtui virhe. Yritä uudelleen.</translation>
</message>
<message>
<location filename="../src/gui/wizard/flow2authcredspage.ui" line="56"/>
<source>Re-open Browser</source>
<translation type="unfinished"/>
<translation>Avaa selain uudelleen</translation>
</message>
<message>
<location filename="../src/gui/wizard/flow2authcredspage.ui" line="70"/>
<source>Copy link</source>
<translation type="unfinished"/>
<translation>Kopioi linkki</translation>
</message>
</context>
<context>
@ -135,27 +135,27 @@
<message>
<location filename="../src/gui/wizard/flow2authwidget.ui" line="26"/>
<source>Browser Authentication</source>
<translation type="unfinished"/>
<translation>Selaintunnistautuminen</translation>
</message>
<message>
<location filename="../src/gui/wizard/flow2authwidget.ui" line="48"/>
<source>Please switch to your browser to proceed.</source>
<translation type="unfinished"/>
<translation>Vaihda selaimeen jatkaaksesi.</translation>
</message>
<message>
<location filename="../src/gui/wizard/flow2authwidget.ui" line="58"/>
<source>An error occurred while connecting. Please try again.</source>
<translation type="unfinished"/>
<translation>Yhdistäessä tapahtui virhe. Yritä uudelleen.</translation>
</message>
<message>
<location filename="../src/gui/wizard/flow2authwidget.ui" line="68"/>
<source>Re-open Browser</source>
<translation type="unfinished"/>
<translation>Avaa selain uudelleen</translation>
</message>
<message>
<location filename="../src/gui/wizard/flow2authwidget.ui" line="82"/>
<source>Copy link</source>
<translation type="unfinished"/>
<translation>Kopioi linkki</translation>
</message>
</context>
<context>
@ -974,17 +974,17 @@ If this action was unintended you can restore the lost data now.</source>
<message>
<location filename="../src/gui/folder.cpp" line="1091"/>
<source>Delete all files?</source>
<translation type="unfinished"/>
<translation>Poistetaanko kaikki tiedostot?</translation>
</message>
<message>
<location filename="../src/gui/folder.cpp" line="1094"/>
<source>Delete all files</source>
<translation type="unfinished"/>
<translation>Poista kaikki tiedostot</translation>
</message>
<message>
<location filename="../src/gui/folder.cpp" line="1095"/>
<source>Restore deleted files</source>
<translation type="unfinished"/>
<translation>Palauta poistetut tiedostot</translation>
</message>
<message>
<location filename="../src/gui/folder.cpp" line="1112"/>
@ -1569,17 +1569,17 @@ Continuing the sync as normal will cause all your files to be overwritten by an
<message>
<location filename="../src/gui/ignorelisttablewidget.ui" line="49"/>
<source>Add</source>
<translation type="unfinished"/>
<translation>Lisää</translation>
</message>
<message>
<location filename="../src/gui/ignorelisttablewidget.ui" line="59"/>
<source>Remove</source>
<translation type="unfinished"/>
<translation>Poista</translation>
</message>
<message>
<location filename="../src/gui/ignorelisttablewidget.ui" line="66"/>
<source>Remove all</source>
<translation type="unfinished"/>
<translation>Poista kaikki</translation>
</message>
<message>
<location filename="../src/gui/ignorelisttablewidget.cpp" line="24"/>
@ -1591,7 +1591,7 @@ Items where deletion is allowed will be deleted if they prevent a directory from
<message>
<location filename="../src/gui/ignorelisttablewidget.cpp" line="93"/>
<source>Could not open file</source>
<translation type="unfinished"/>
<translation>Tiedoston avaaminen ei onnistunut</translation>
</message>
<message>
<location filename="../src/gui/ignorelisttablewidget.cpp" line="94"/>
@ -2777,7 +2777,7 @@ Osoitteen käyttäminen ei ole suositeltavaa.</translation>
<message>
<location filename="../src/gui/sharelinkwidget.cpp" line="224"/>
<source>Add another link</source>
<translation type="unfinished"/>
<translation>Lisää toinen linkki</translation>
</message>
<message>
<location filename="../src/gui/sharelinkwidget.cpp" line="403"/>
@ -2945,12 +2945,12 @@ Osoitteen käyttäminen ei ole suositeltavaa.</translation>
<location filename="../src/gui/socketapi.cpp" line="666"/>
<location filename="../src/gui/socketapi.cpp" line="668"/>
<source>Copy public link</source>
<translation type="unfinished"/>
<translation>Kopioi julkinen linkki</translation>
</message>
<message>
<location filename="../src/gui/socketapi.cpp" line="672"/>
<source>Copy internal link</source>
<translation type="unfinished"/>
<translation>Kopioi sisäinen linkki</translation>
</message>
<message>
<location filename="../src/gui/socketapi.cpp" line="722"/>
@ -3060,7 +3060,7 @@ Osoitteen käyttäminen ei ole suositeltavaa.</translation>
<message>
<location filename="../src/gui/sslbutton.cpp" line="191"/>
<source>Server version: %1</source>
<translation type="unfinished"/>
<translation>Palvelimen versio: %1</translation>
</message>
<message>
<location filename="../src/gui/sslbutton.cpp" line="205"/>
@ -3075,7 +3075,7 @@ Osoitteen käyttäminen ei ole suositeltavaa.</translation>
<message>
<location filename="../src/gui/sslbutton.cpp" line="244"/>
<source>The connection is not secure</source>
<translation type="unfinished"/>
<translation>Tämä yhteys ei ole turvallinen</translation>
</message>
<message>
<location filename="../src/gui/sslbutton.cpp" line="177"/>
@ -3140,12 +3140,12 @@ Osoitteen käyttäminen ei ole suositeltavaa.</translation>
<message>
<location filename="../src/gui/sslerrordialog.cpp" line="194"/>
<source>Fingerprint (SHA-256): &lt;tt&gt;%1&lt;/tt&gt;</source>
<translation type="unfinished"/>
<translation>Sormenjälki (SHA-256): &lt;tt&gt;%1&lt;/tt&gt;</translation>
</message>
<message>
<location filename="../src/gui/sslerrordialog.cpp" line="195"/>
<source>Fingerprint (SHA-512): &lt;tt&gt;%1&lt;/tt&gt;</source>
<translation type="unfinished"/>
<translation>Sormenjälki (SHA-512): &lt;tt&gt;%1&lt;/tt&gt;</translation>
</message>
<message>
<location filename="../src/gui/sslerrordialog.cpp" line="197"/>
@ -3806,7 +3806,7 @@ Osoitteen käyttäminen ei ole suositeltavaa.</translation>
<message>
<location filename="../src/gui/wizard/owncloudoauthcredspage.ui" line="69"/>
<source>Copy link</source>
<translation type="unfinished"/>
<translation>Kopioi linkki</translation>
</message>
</context>
<context>

View file

@ -107,12 +107,12 @@
<message>
<location filename="../src/gui/wizard/flow2authcredspage.ui" line="14"/>
<source>Browser Authentication</source>
<translation type="unfinished"/>
<translation>Аутентификация с использованием браузера</translation>
</message>
<message>
<location filename="../src/gui/wizard/flow2authcredspage.ui" line="36"/>
<source>Please switch to your browser to proceed.</source>
<translation>Чтобы продолжить, перейдите в ваш браузер.</translation>
<translation>Чтобы продолжить, перейдите в браузер.</translation>
</message>
<message>
<location filename="../src/gui/wizard/flow2authcredspage.ui" line="46"/>
@ -135,7 +135,7 @@
<message>
<location filename="../src/gui/wizard/flow2authwidget.ui" line="26"/>
<source>Browser Authentication</source>
<translation type="unfinished"/>
<translation>Аутентификация с использованием браузера</translation>
</message>
<message>
<location filename="../src/gui/wizard/flow2authwidget.ui" line="48"/>
@ -145,12 +145,12 @@
<message>
<location filename="../src/gui/wizard/flow2authwidget.ui" line="58"/>
<source>An error occurred while connecting. Please try again.</source>
<translation type="unfinished"/>
<translation>Ошибка во время установления соединения, попробуйте ещё раз.</translation>
</message>
<message>
<location filename="../src/gui/wizard/flow2authwidget.ui" line="68"/>
<source>Re-open Browser</source>
<translation type="unfinished"/>
<translation>Повторно открыть браузер</translation>
</message>
<message>
<location filename="../src/gui/wizard/flow2authwidget.ui" line="82"/>
@ -313,7 +313,7 @@
<location filename="../src/gui/accountsettings.cpp" line="620"/>
<location filename="../src/gui/accountsettings.cpp" line="656"/>
<source>Edit Ignored Files</source>
<translation type="unfinished"/>
<translation>Список исключений синхронизации</translation>
</message>
<message>
<location filename="../src/gui/accountsettings.cpp" line="660"/>
@ -579,7 +579,7 @@
<message>
<location filename="../src/gui/activitylistmodel.cpp" line="229"/>
<source>Files from the ignore list as well as symbolic links are not synced. This includes:</source>
<translation type="unfinished"/>
<translation>Из синхронизации исключены символьные ссылки и следующие файлы:</translation>
</message>
</context>
<context>
@ -760,25 +760,25 @@
<location filename="../src/gui/creds/flow2auth.cpp" line="76"/>
<location filename="../src/gui/creds/flow2auth.cpp" line="145"/>
<source>Error returned from the server: &lt;em&gt;%1&lt;/em&gt;</source>
<translation type="unfinished"/>
<translation>Сервер сообщил об ошибке: &lt;em&gt;%1&lt;/em&gt;</translation>
</message>
<message>
<location filename="../src/gui/creds/flow2auth.cpp" line="79"/>
<location filename="../src/gui/creds/flow2auth.cpp" line="148"/>
<source>There was an error accessing the &apos;token&apos; endpoint: &lt;br&gt;&lt;em&gt;%1&lt;/em&gt;</source>
<translation type="unfinished"/>
<translation>При доступе к конечной точке токена произошла ошибка: &lt;br&gt;&lt;em&gt;%1&lt;/em&gt;</translation>
</message>
<message>
<location filename="../src/gui/creds/flow2auth.cpp" line="82"/>
<location filename="../src/gui/creds/flow2auth.cpp" line="151"/>
<source>Could not parse the JSON returned from the server: &lt;br&gt;&lt;em&gt;%1&lt;/em&gt;</source>
<translation type="unfinished"/>
<translation>Не удалось разобрать ответ сервера в формате JSON: &lt;br&gt;&lt;em&gt;%1&lt;/em&gt;</translation>
</message>
<message>
<location filename="../src/gui/creds/flow2auth.cpp" line="85"/>
<location filename="../src/gui/creds/flow2auth.cpp" line="154"/>
<source>The reply from the server did not contain all expected fields</source>
<translation type="unfinished"/>
<translation>В ответе сервера содержатся не все ожидаемые поля</translation>
</message>
</context>
<context>
@ -786,17 +786,17 @@
<message>
<location filename="../src/gui/wizard/flow2authcredspage.cpp" line="46"/>
<source>Connect to %1</source>
<translation type="unfinished"/>
<translation>Подключение к %1</translation>
</message>
<message>
<location filename="../src/gui/wizard/flow2authcredspage.cpp" line="47"/>
<source>Login in your browser (Login Flow v2)</source>
<translation type="unfinished"/>
<translation>Выполнить вход в браузере (процедура входа версии 2)</translation>
</message>
<message>
<location filename="../src/gui/wizard/flow2authcredspage.cpp" line="83"/>
<source>Unable to open the Browser, please copy the link to your Browser.</source>
<translation type="unfinished"/>
<translation>Не удалось открыть браузер, скопируйте ссылку и перейдите по ней в своём браузере.</translation>
</message>
</context>
<context>
@ -804,7 +804,7 @@
<message>
<location filename="../src/gui/wizard/flow2authwidget.cpp" line="67"/>
<source>Unable to open the Browser, please copy the link to your Browser.</source>
<translation type="unfinished"/>
<translation>Не удалось открыть браузер, скопируйте ссылку и перейдите по ней в своём браузере.</translation>
</message>
</context>
<context>

View file

@ -2922,7 +2922,7 @@ Uporaba ni priporočljiva.</translation>
<location filename="../src/gui/socketapi.cpp" line="625"/>
<location filename="../src/gui/socketapi.cpp" line="655"/>
<source>Share options</source>
<translation type="unfinished"/>
<translation>Možnosti souporabe</translation>
</message>
<message>
<location filename="../src/gui/socketapi.cpp" line="626"/>

View file

@ -579,7 +579,7 @@
<message>
<location filename="../src/gui/activitylistmodel.cpp" line="229"/>
<source>Files from the ignore list as well as symbolic links are not synced. This includes:</source>
<translation type="unfinished"/>
<translation>Yok sayma listesindeki dosyalar ve sembolik bağlantılar eşitlenmez. Şunlar bulunur:</translation>
</message>
</context>
<context>