Commit graph

62648 commits

Author SHA1 Message Date
Carl Schwan
e71db40492 Wrap multiple inserts inside a transation
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-05-12 21:02:53 +02:00
Carl Schwan
eef973e85b Minor optimizations for saving user personal information
* Remove double hook: the OC_User::changeUser triggers an
OC\AccountManager::userUpdated and the app is already listening to this
signal in its Application definition

* Make createCard not check if an card exists if we already checked
  previously. We also don't try to get the card if the user is disabled
  as we don't use the card in this case

We this change we go from 100 DB requests to 80 DB requests when saving
an user email address.

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
(cherry picked from commit c6fd482edf33214a9ad4787e4cac278f871fa7c8)
2022-05-12 21:02:52 +02:00
Carl Schwan
eb45a6ca40
Merge pull request #32008 from nextcloud/fix/getSize-bool
Fix Call to a member function getSize() on bool
2022-05-12 21:00:27 +02:00
Carl Schwan
febbd21814
Merge pull request #32335 from nextcloud/storage-info-dont-unjail
Don't unjail the path when getting the storage info
2022-05-12 20:59:06 +02:00
Carl Schwan
5c84d3781e
Merge pull request #32185 from nextcloud/fix/default-share-provider-oracle
Fix getting shares in a folder on Oracle
2022-05-12 20:58:05 +02:00
Carl Schwan
23771f0587
Merge pull request #32077 from nextcloud/cleanup/lock
Cleanup lock related code
2022-05-12 20:57:38 +02:00
Carl Schwan
9e1d4d17ec
Merge pull request #32362 from nextcloud/fix-buttons-workflow
Fix buttons in workflow
2022-05-12 19:01:26 +02:00
rakekniven
bcb849475d
Merge pull request #32358 from nextcloud/Valdnet-patch-2
l10n: Delete space
2022-05-12 18:29:55 +02:00
Vanessa Pertsch
dd8fc35396 add vue button component in workflow rule.vue
Signed-off-by: Vanessa Pertsch <vanessa.pertsch@nextcloud.com>
2022-05-12 16:16:59 +02:00
Vanessa Pertsch
d6698c160a add vue button component in workflow operation.vue
Signed-off-by: Vanessa Pertsch <vanessa.pertsch@nextcloud.com>
2022-05-12 16:16:59 +02:00
Joas Schilling
32139610c5
Merge pull request #32355 from nextcloud/bugfix/noid/prevent-invalid-length
Validate requested length is random string generator
2022-05-12 15:45:58 +02:00
Carl Schwan
1c97611fa2 Fix Call to a member function getSize() on bool
getFileInfo might return false, handle this case by ignoring the result

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-05-12 15:11:46 +02:00
Carl Schwan
fcae6a68c3 Cleanup lock related code
- Port to QueryBuilder
- Improve the doc a bit
- Add type hinting

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-05-12 15:09:58 +02:00
Carl Schwan
81500bf837 Fix getting shares in a folder on Orache
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-05-12 15:03:25 +02:00
Valdnet
e3653c9e06
l10n: Delete space
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2022-05-12 14:51:51 +02:00
Vincent Petry
01dbd22c9c
Validate requested length is random string generator
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-05-12 13:58:18 +02:00
blizzz
33ffaad14b
Merge pull request #32328 from nextcloud/automated/noid/psalm-baseline-update-1652242827
[Automated] Update psalm-baseline.xml
2022-05-12 12:09:50 +02:00
Joas Schilling
7d218bfb0a
Merge pull request #32344 from nextcloud/fix/always-free-db-result-qbmapper-find-entities
Always free the DB result in QBMapper::findEntities
2022-05-12 11:05:03 +02:00
Carl Schwan
fc1db22629
Merge pull request #32339 from nextcloud/appdatafactory-public
Make it possible to get the appdata folder using the public API
2022-05-12 10:45:38 +02:00
John Molakvoæ
be49f79503
Merge pull request #32278 from nextcloud/remove-default-php 2022-05-12 10:05:46 +02:00
Christoph Wurst
1cd05a06fa
Always free the DB result in QBMapper::findEntities
Without this patch it only happened if the code ran through without any
errors. Now the result is also freed in the case of an error.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2022-05-12 09:51:37 +02:00
Carl Schwan
a392cd70fb Make it possible to get the appdata folder using the public API
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-05-11 23:28:37 +02:00
Joas Schilling
e11c5f21cf
Merge pull request #32336 from nextcloud/feature/noid/talk-poll-ROS
Add talk-poll to the ROS definitions
2022-05-11 17:14:05 +02:00
Joas Schilling
d18a293ee5
Add talk-poll to the ROS definitions
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-05-11 14:37:26 +02:00
Robin Appelman
643ef06efc
don't unjail the path when getting the storage info
the original reason for adding it no longer exist.

This was added with #30985 since then the share source storage was also used, however this was changed with #32076

Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-05-11 11:42:13 +02:00
John Molakvoæ
5a0b28d603
Merge pull request #32326 from nextcloud/fix/icons-cacher 2022-05-11 09:28:58 +02:00
John Molakvoæ
18f2340a40
Merge pull request #32149 from nextcloud/fix-transferring-groupfolders 2022-05-11 08:40:28 +02:00
John Molakvoæ
cb73fe26b8
Compile theming
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-05-11 08:35:23 +02:00
nextcloud-command
e712ea139d Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2022-05-11 04:20:27 +00:00
John Molakvoæ
3c6253f965
Remove old legacy SvgController and IconsCacher
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-05-10 23:24:07 +02:00
John Molakvoæ
c59c3b5c1f
Migrate to static icons colours
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-05-10 23:24:06 +02:00
Carl Schwan
da64a3a7e8
Merge pull request #31900 from nextcloud/feat/server-container-public
Add a public replacement for OC::$server->get
2022-05-10 23:23:06 +02:00
Vincent Petry
b2fa8a0b53
Merge pull request #31664 from nextcloud/fix/232/keyboard-focus
keyboard focus on login input fields
2022-05-10 20:10:33 +02:00
Carl Schwan
f945c0cbc6 Add a public replacement for OC::$server->get
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-05-10 18:51:12 +02:00
Vanessa Pertsch
c714c3380a fix for transferring ownership of groupfolders
Signed-off-by: Vanessa Pertsch <vanessa.pertsch@nextcloud.com>
2022-05-10 16:54:22 +02:00
Vanessa Pertsch
721b2597bc keyboard focus on login input fields
Signed-off-by: Vanessa Pertsch <vanessa.pertsch@nextcloud.com>
2022-05-10 16:29:17 +02:00
Carl Schwan
f0f2a07f85
Merge pull request #32318 from nextcloud/increase-waitForS3-delay
Increase retry delay on 'Wait for S3' CI job
2022-05-10 10:22:26 +02:00
John Molakvoæ
0863a3d423
Merge pull request #32315 from nextcloud/fix/noid/preview-duplicate-folder-creation 2022-05-10 10:11:24 +02:00
John Molakvoæ
8f989bb489
Merge pull request #32274 from nextcloud/tooltip-overflow 2022-05-10 08:26:03 +02:00
Nextcloud bot
799cb624c9
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-05-10 02:36:28 +00:00
Git'Fellow
d8c7099cc9
Increase retry delay on 'Wait for S3' CI job
1 second means 10 seconds before failure (1x10). Increasing to 10x10 before failure.
2022-05-09 18:44:46 +02:00
Richard Steinmetz
982c846b11
Fix preview generator trying to recreate an existing folder
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2022-05-09 17:30:07 +02:00
Alexander F
00505c9a51 Set loglevel for IMagick Thumbnail error to info
Issue #32263

Signed-off-by: Alexander Fleischer <Alexander.Fleischer@tu-ilmenau.de>
2022-05-09 17:09:40 +02:00
Joas Schilling
697cca9913
Merge pull request #32288 from nextcloud/techdebt/noid/fix-json-error
Fix JSON error when comment has no reactions
2022-05-09 17:08:53 +02:00
Joas Schilling
4e0595fb0f
Fix JSON error when comment has no reactions
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-05-09 09:53:49 +02:00
Nextcloud bot
4f55ba2a88
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-05-09 02:28:55 +00:00
Nextcloud bot
cec6d64598
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-05-08 02:28:52 +00:00
MichaIng
5a8595fbdd
Merge pull request #32096 from nextcloud/dependabot/npm_and_yarn/testing-library/user-event-14.1.1
Bump @testing-library/user-event from 14.1.0 to 14.1.1
2022-05-07 13:54:12 +02:00
Nextcloud bot
03554060d7
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-05-07 02:28:23 +00:00
Nextcloud bot
9c42717216
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-05-06 02:28:40 +00:00