Commit graph

16550 commits

Author SHA1 Message Date
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
Nextcloud bot
755d672476
[tx-robot] updated from transifex 2021-05-24 03:58:58 +00:00
Nextcloud bot
e59413edc3
[tx-robot] updated from transifex 2021-05-23 04:00:59 +00:00
Nextcloud bot
97103da677
[tx-robot] updated from transifex 2021-05-22 04:04:35 +00:00
Nextcloud bot
30b7803661
[tx-robot] updated from transifex 2021-05-21 04:07:09 +00:00
rakekniven
de07319ec6
Merge pull request #3279 from nextcloud/Valdnet-patch-3
l10n: Replace apostrophe with double quotation
2021-05-20 08:04:54 +02:00
rakekniven
793c211232
Merge branch 'master' into Valdnet-patch-3 2021-05-20 07:47:17 +02:00
Nextcloud bot
b4a655124b
[tx-robot] updated from transifex 2021-05-20 04:18:16 +00:00
Felix Weilbach
3ec2ac3a5f
Merge pull request #3257 from nextcloud/feature/store-last-sync-run
Track time of last sync
2021-05-19 10:01:43 +02:00
Felix Weilbach
78f1943d76 Add a key value store to the sync journal
This key value store should help to keep track of important events,
that can not be store in the logs, because the logs are deleted too fast.

Signed-off-by: Felix Weilbach <felix.weilbach@nextcloud.com>
2021-05-19 09:04:43 +02:00
Nextcloud bot
4f915e9b53
[tx-robot] updated from transifex 2021-05-19 04:19:03 +00:00
Matthieu Gallien
79e6459bd1
Merge pull request #3183 from nextcloud/bugfix/warn-if-e2ee-with-vfs
Warn user if using e2ee and vfs together
2021-05-18 14:08:53 +02:00
Felix Weilbach
32b7e62359 Warn user if using e2ee and vfs together
Signed-off-by: Felix Weilbach <felix.weilbach@nextcloud.com>
2021-05-18 11:50:18 +00:00
Matthieu Gallien
701e106aa3
Merge pull request #3286 from Dimon4eg/use_folders_in_cmake
use folders in CMake
2021-05-18 12:17:37 +02:00
Dmytro Korchynskyi
8b6b3023ea use folders in CMake
Signed-off-by: Dmytro Korchynskyi <kdl.dima@gmail.com>
2021-05-18 09:59:17 +03:00
Nextcloud bot
9a43755daa
[tx-robot] updated from transifex 2021-05-18 04:01:01 +00:00
allexzander
cdadb00cc8
Merge pull request #3311 from nextcloud/bugfix/rename-issue-for-custom-sync-root
Add remote folder prefix for renaming in a non-root local folder.
2021-05-17 15:25:57 +03:00
allexzander
76be5dce73 Add remote folder prefix for renaming in a non-root local folder.
Signed-off-by: allexzander <blackslayer4@gmail.com>
2021-05-17 12:19:58 +00:00
Felix Weilbach
47ec726cae
Merge pull request #3171 from nextcloud/feature/enable-addr-sanitizer
Enable address sanitizer
2021-05-17 13:58:01 +02:00
Felix Weilbach
e2d0481c64 Add CMake option to enable address sanitizers
Signed-off-by: Felix Weilbach <felix.weilbach@nextcloud.com>
2021-05-17 11:43:55 +00:00
Matthieu Gallien
31179131f2
Merge pull request #3308 from nextcloud/ci/upgradeSqlite
upgrade SQLite3 to 3.35.5
2021-05-17 11:58:16 +02:00
Matthieu Gallien
89be02f8e7 upgrade SQLite3 to 3.35.5
Signed-off-by: Matthieu Gallien <matthieu_gallien@yahoo.fr>
2021-05-17 09:48:15 +00:00
Nextcloud bot
c0bf12ec26
[tx-robot] updated from transifex 2021-05-17 03:59:33 +00:00
Nextcloud bot
a2b4cfe355
[tx-robot] updated from transifex 2021-05-16 04:02:19 +00:00
Nextcloud bot
5210ad8bdc
[tx-robot] updated from transifex 2021-05-14 03:53:16 +00:00
Nextcloud bot
dc8502e47d
[tx-robot] updated from transifex 2021-05-13 03:50:15 +00:00
Valdnet
a3b2dc669c
One more apostrophe change
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2021-05-12 12:45:33 +02:00
Valdnet
dadddd7ea2 l10n: Replace apostrophe with double quotation
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2021-05-12 12:34:22 +02:00
Felix Weilbach
96c80487a4
Merge pull request #3299 from nextcloud/bugfix/remove-unnecessary-cfapi-logging
Remove unnecessary cfapi logging statements
2021-05-12 11:54:58 +02:00
Felix Weilbach
c3a2587a91 Remove unnecessary cfapi logging statements
For big files that can add a lot lines to the log files.

Signed-off-by: Felix Weilbach <felix.weilbach@nextcloud.com>
2021-05-12 08:49:13 +00:00
Nextcloud bot
c528a41389
[tx-robot] updated from transifex 2021-05-12 03:54:55 +00:00