Commit graph

16580 commits

Author SHA1 Message Date
Jani Uusitalo
f4b1ba45b8 Document --background
Fix [#3374](https://github.com/nextcloud/desktop/issues/3374).

Signed-off-by: Jani Uusitalo <jani@mummila.net>
2021-06-02 21:22:59 +03:00
allexzander
e4553252e0
Merge pull request #3393 from nextcloud/feature/unit-tests-for-isPathWindowsDrivePartitionRoot
Added unit tests for Utility::isPathWindowsDrivePartitionRoot.
2021-06-02 10:58:37 +03:00
allexzander
fe9f934277 Added unit tests for Utility::isPathWindowsDrivePartitionRoot.
Signed-off-by: allexzander <blackslayer4@gmail.com>
2021-06-02 10:30:27 +03:00
Nextcloud bot
0944468ed9
[tx-robot] updated from transifex 2021-06-02 04:02:19 +00:00
allexzander
da586b719c
Merge pull request #3352 from nextcloud/bugfix/openssl-crash-when-no-e2ee-mnemonic
Bugfix. Crash when printing OpenSSL decryption errors with no e2ee mnemonic,
2021-06-01 17:48:03 +03:00
Matthieu Gallien
6b20092017
Merge pull request #3386 from nextcloud/ci/fixNeedsInfoHelperAction
fix needs info label remover action by providing github token
2021-06-01 16:17:16 +02:00
allexzander
bf39f053c4 Fix review comments.
Signed-off-by: allexzander <blackslayer4@gmail.com>
2021-06-01 13:51:02 +00:00
allexzander
a80c58f367 Bugfix. Crash when printing OpenSSL decryption errors with no e2ee mnemonic.
Signed-off-by: allexzander <blackslayer4@gmail.com>
2021-06-01 13:51:02 +00:00
Matthieu Gallien
8b98dfcabb fix needs info label remover action by providing github token
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2021-06-01 09:35:19 +02:00
Nextcloud bot
65a92e746a
[tx-robot] updated from transifex 2021-06-01 04:02:08 +00:00
Nextcloud bot
8abd4ce948
[tx-robot] updated from transifex 2021-05-30 04:00:14 +00:00
Nextcloud bot
5ef031d219
[tx-robot] updated from transifex 2021-05-29 04:16:47 +00:00
Nextcloud bot
7286e71c3a
[tx-robot] updated from transifex 2021-05-28 04:03:59 +00:00
Matthieu Gallien
b07f855976
Merge pull request #3341 from nextcloud/ci/needsInfoHelper
automate removal of needs info labels when the issue is commented
2021-05-27 10:16:13 +02:00
Matthieu Gallien
dbeba16919 ensure we do not remove needs info label when stale bot comment
we could have an issue with bug and needs info label

when it is detected as staled by the bot, a comment is added

we should ensure that the automated comment is not taken as answer to
the needs info

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2021-05-27 08:06:53 +00:00
Matthieu Gallien
a9aef22acb remove use of checkout action as per review comments
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2021-05-27 08:06:53 +00:00
Matthieu Gallien
b327522670 automate removal of needs info labels when the issue is commented
should help handling needs info label in a more efficient way

Signed-off-by: Matthieu Gallien <matthieu_gallien@yahoo.fr>
2021-05-27 08:06:53 +00:00
Matthieu Gallien
e0b1ff95e4
Merge pull request #3364 from nextcloud/ci/needsInfoStaleBotConflicts
use a specific stale label for needs info handling to solve conflict
2021-05-27 10:04:20 +02:00
Matthieu Gallien
92146b0c8d use a specific stale label for needs info handling to solve conflict
each stale bot needs to have its own stale label such that it does not
remove the label added by the other bot

that can happen due to needs info bot removing stale label on issues
that have both bug and needs info labels

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2021-05-27 07:46:59 +00:00
Matthieu Gallien
a807263ce3
Merge pull request #3346 from nextcloud/bugfix/e2ee-warning-vfs-dialog
Set button on QMessageBox before changing the text
2021-05-27 09:45:13 +02:00
Felix Weilbach
03610cb706 Set button on QMessageBox before changing the text
Signed-off-by: Felix Weilbach <felix.weilbach@nextcloud.com>
2021-05-27 07:39:50 +00:00
Matthieu Gallien
ba5f517417
Merge pull request #3338 from nextcloud/bug/checkPublicPrivateKey
check e2ee public key against private one
2021-05-27 09:38:12 +02:00
Matthieu Gallien
7fb09a8163 check e2ee public key against private one
should ensure we have matching private/public keys

Signed-off-by: Matthieu Gallien <matthieu_gallien@yahoo.fr>
2021-05-27 07:26:48 +00:00
Nextcloud bot
2c1644e676
[tx-robot] updated from transifex 2021-05-27 04:01:51 +00:00
Felix Weilbach
d3e07e8f57
Merge pull request #3344 from nextcloud/bugfix/remove-obsolete-add-app-icon-macro
Remove obsolete AddAppIconMacro
2021-05-26 11:10:31 +02:00
Felix Weilbach
cf616abc46 Remove obsolete AddAppIconMacro
Signed-off-by: Felix Weilbach <felix.weilbach@nextcloud.com>
2021-05-26 08:54:12 +00:00
Matthieu Gallien
f171eec278
Merge pull request #3330 from nextcloud/ci/updateQtVersionsInCi
update most docker images to use Qt 5.12.10 in Drone
2021-05-26 10:49:18 +02:00
Matthieu Gallien
9144ece89d update most docker images to use Qt 5.12.10 in Drone
Signed-off-by: Matthieu Gallien <matthieu_gallien@yahoo.fr>
2021-05-26 08:18:35 +00:00
Nextcloud bot
01f432cf67
[tx-robot] updated from transifex 2021-05-26 04:05:48 +00:00
Camila
5d2cfd8429
Merge pull request #3182 from nextcloud/bugfix/user-status
Bugfix/user status
2021-05-25 09:45:05 +02:00
Camila
f758157973 Fix aligment emoji + message on Windows.
Signed-off-by: Camila <hello@camila.codes>
2021-05-25 06:55:53 +00:00
Camila
8d2264e027 Display the user status emoji separated from the message.
It allows to align the emoji with the message.

Signed-off-by: Camila <hello@camila.codes>
2021-05-25 06:55:53 +00:00
Camila
1cb7f63575 Remove signal refreshCurrentUserGui.
Use only QML property bindings to refresh the UI.

Signed-off-by: Camila <hello@camila.codes>
2021-05-25 06:55:53 +00:00
Camila
46f7cd3884 User property isConnected instead of a invokable.
Remove unnecessary connection to refreshCurrentUserGui signal.

Signed-off-by: Camila <hello@camila.codes>
2021-05-25 06:55:53 +00:00
Camila
1adde8d547 serverUserStatus => serverHasUserStatus.
Signed-off-by: Camila <hello@camila.codes>
2021-05-25 06:55:53 +00:00
Camila
2caa9ccfc6 Add Q_UNREACHABLE() after switch statements in UserStatus.
Signed-off-by: Camila <hello@camila.codes>
2021-05-25 06:55:53 +00:00
Camila
73da14040b Rename ServerUserStatusRole to ServerHasUserStatusRole.
- serverHasUserStatus Q_PROPERTY is CONSTANT.
- Fix code style.

Signed-off-by: Camila <hello@camila.codes>
2021-05-25 06:55:53 +00:00
Camila
828881d82a Do not display the folder status if there are no folders being synced.
Signed-off-by: Camila <hello@camila.codes>
2021-05-25 06:55:53 +00:00
Camila
4326eb53ba Fix margins and sizes to align both avatar + user status displays.
Signed-off-by: Camila <hello@camila.codes>
2021-05-25 06:55:52 +00:00
Camila
dc01b76066 Fix code style.
Signed-off-by: Camila <hello@camila.codes>
2021-05-25 06:55:52 +00:00
Camila
93227ab08b Check if new value is different from the current one.
In AccountState::setDesktopNotificationsAllowed.

Signed-off-by: Camila <hello@camila.codes>
2021-05-25 06:55:52 +00:00
Camila
f7e9e31bc9 Rename isDesktopNotificationsAllowed property to desktopNotificationsAllowed.
- User !== instead of !=.
- Fix code style.

Signed-off-by: Camila <hello@camila.codes>
2021-05-25 06:55:52 +00:00
Camila
820e97cd9b Do not display the user status if there is no pre defined message.
Display the server url instead.

Signed-off-by: Camila <hello@camila.codes>
2021-05-25 06:55:52 +00:00
Camila
c793cbe593 Always display the server url in the drop down account menu.
Signed-off-by: Camila <hello@camila.codes>
2021-05-25 06:55:52 +00:00
Camila
419595ce5e Use DesktopNotificationsAllowedRole to check if user is online.
Rename ServerUserStatus to ServerUserStatusRole.

Signed-off-by: Camila <hello@camila.codes>
2021-05-25 06:55:52 +00:00
Camila
bd65eee278 Remove unused methods in UserModel.
Signed-off-by: Camila <hello@camila.codes>
2021-05-25 06:55:52 +00:00
Camila
671b099c98 Check if the user is connected and if the server supports user status.
Signed-off-by: Camila <hello@camila.codes>
2021-05-25 06:55:52 +00:00
Camila
e3b96ddc85 Move stringToEnum and enumToString to an anonymous namespace.
Signed-off-by: Camila <hello@camila.codes>
2021-05-25 06:55:52 +00:00
Camila
1f61d258bb Fix user status message alignment.
Signed-off-by: Camila <hello@camila.codes>
2021-05-25 06:55:52 +00:00
Nextcloud bot
c684191a2d
[tx-robot] updated from transifex 2021-05-25 04:05:36 +00:00