Commit Graph

20399 Commits (8367b02785acd920db244ecb745517820ed9ff91)

Author SHA1 Message Date
Nextcloud bot 8367b02785
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-04-29 02:28:31 +07:00
Joas Schilling 42b98d01bd
Merge pull request #32212 from nextcloud/bugfix/noid/make-the-order-of-reactions-reliable
Make the order of reactions reliable
2022-04-28 19:37:58 +07:00
Joas Schilling 7c85f8dea4
Make the order of reactions reliable
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-04-28 16:13:41 +07:00
Côme Chilliet b865722ac0
Remove deprecated occ app:check-code command
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-04-28 15:08:01 +07:00
John Molakvoæ a50b4caafd
Merge pull request #32202 from nextcloud/fix/layout-theme-array 2022-04-28 11:04:43 +07:00
John Molakvoæ 05d743570a
Fix `Undefined array key "enabledThemes"` on layout.user.php
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-04-28 08:55:46 +07:00
Valdnet 71e31c3b86
l10n: Correct a typo
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2022-04-28 08:30:49 +07:00
Nextcloud bot f0df06ed31
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-04-28 02:28:47 +07:00
Carl Schwan dbdb9f6f11
Merge pull request #32034 from nextcloud/bugfix/noid/satisfy-binary-operation-order
Make the binary operation order explicit
2022-04-27 11:53:18 +07:00
Valdnet cb18220147
l10n: Fix code
Issue: #32171.

Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2022-04-27 09:04:00 +07:00
John Molakvoæ 036f871d01
Merge pull request #31492 from nextcloud/fix/check-secret-configured 2022-04-26 17:28:51 +07:00
Joas Schilling 26882a4b59
Fix translations with trailing colons
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-04-26 11:06:00 +07:00
John Molakvoæ 8a3f8b07a8
Merge pull request #32147 from nextcloud/fix/css-default-load-setup-guest
Fix default fallback theme on setup any guests pages
2022-04-26 09:49:08 +07:00
John Molakvoæ 6ec0dfeece
Fix default fallback theme on setup ang guests pages
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-04-26 08:50:41 +07:00
John Molakvoæ 1f92440b79
Fix mexitek/phpcolors
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-04-26 07:58:57 +07:00
Vincent Petry 6935baa568
Merge pull request #32084 from nextcloud/root-setup-groupfolders
only need to setup root for groupfolders
2022-04-25 19:35:59 +07:00
Carl Schwan 59e0402691
Merge pull request #32069 from nextcloud/cleanup/allconfig-sql
Cleanup AllConfig
2022-04-25 18:56:15 +07:00
Vincent Petry 407fb8c22b
Merge pull request #32033 from nextcloud/fix/metadata-scan-app-data
Fix scanning app data with metadata
2022-04-25 15:50:31 +07:00
Robin Appelman f7413b9afc
Merge pull request #32074 from nextcloud/mysql-search-ignore-index-2
tell mysql to ignore the sort index for search queries
2022-04-25 11:23:51 +07:00
Vincent Petry ff385dc679
Merge pull request #32082 from nextcloud/directory-content-lazy-owner
use a lazy user for the file owner when listing a directory
2022-04-25 11:44:44 +07:00
Vincent Petry e693781c21
Merge pull request #32079 from nextcloud/directory-listing-optimize-add-submount
optimize adding submount info to directory content
2022-04-25 11:44:26 +07:00
Vincent Petry 9718254285
Merge pull request #32112 from nextcloud/bugfix/noid/add-missing-index
Add missing index for oc_mounts queries
2022-04-25 11:38:48 +07:00
Joas Schilling d2633c3ad6
Fix older migrations to the version pattern
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-04-25 09:39:56 +07:00
Joas Schilling 5cacc594a0
Add missing index
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-04-25 09:38:31 +07:00
Kirill Popov 0b27b9e658 Get not only time-sensitive next job from list but any
Before the change webcron used to select
**only** time-sensitive tasks.

Signed-off-by: Kirill Popov <kirill.s.popov@gmail.com>
2022-04-24 21:55:53 +07:00
Nextcloud bot 20d7bf8a88
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-04-24 02:28:28 +07:00
Nextcloud bot d36b3e5644
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-04-23 02:27:54 +07:00
Carl Schwan b7be8f5c22
Merge pull request #32076 from nextcloud/cache-storage-info-failed-share
use and cache root storage info if a share can't be resolved
2022-04-22 21:26:05 +07:00
Robin Appelman b36dfd8f11 Only need to setup root for groupfolders
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-04-22 17:47:08 +07:00
Julius Härtl fb59875071
Merge pull request #32040 from nextcloud/full-setup-only-new
only register mounts that are new from providers that are new during a full setup
2022-04-22 17:03:09 +07:00
Robin Appelman 7a6c724a81 Use a lazy user for the file owner when listing a directory
Only getUID and getDisplayName are called on the file owner objects anyway
and we can get this information often without DB request

Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-04-22 17:02:37 +07:00
Carl Schwan 8bbdd9ea0c Cleanup AllConfig
- Port to QueryBuilder
- More typing when possible
- Import classes with 'use'

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-04-22 16:03:29 +07:00
Robin Appelman 9f0ba3adc2
optimize adding submount info to directory content
no need to loop when we can do a hashtable lookup

Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-04-22 15:50:14 +07:00
Robin Appelman e50d78e11a
use and cache root storage info if a share can't be resolved
as is a broken share will never be cached

Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-04-22 15:29:27 +07:00
Carl Schwan 6b6f24cafd Fix scanning app data with metadata
Previously we were listening to change in the appdata folder but an
appdata scan didn't setup the file system, so the view was unavailable.

**Test plan:**

1. rm -rf data/appdata_...../preview data/<user>/Media
2. occ files:scan-app-data
3. occ files:scan <user>

No errors and the files and metadata are correctly removed from the
database too.

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-04-22 15:14:59 +07:00
Robin Appelman a4e120c203
tell mysql to ignore the sort index for search queries
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-04-22 13:42:33 +07:00
Robin Appelman 674c0bec2c
cache display names in local memory before external memcache
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-04-22 13:02:30 +07:00
John Molakvoæ 9a76f06eca
Merge pull request #31751 from nextcloud/theming-providers 2022-04-22 12:32:14 +07:00
blizzz e1cb1bdce9
Merge pull request #32045 from nextcloud/cache-fullSetupRequired
cache fullSetupRequired locally
2022-04-22 11:32:21 +07:00
John Molakvoæ 850d8ac1cd
Add default theming disabled fallback
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-04-22 11:24:25 +07:00
Carl Schwan ed4c1e584f Update cache when display name change
This improve the correctness of the data

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-04-22 10:29:18 +07:00
Carl Schwan 4333c215cb Cache display name
This should saves some query in the share backend when displaying the
owner and it's not important if the display name is 10 minutes outdated
as it is very rare that this gets changed.

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-04-22 10:22:15 +07:00
John Molakvoæ 3f55108227
Merge pull request #32048 from nextcloud/cache-storage-info
cache storage info in memcache for 5m
2022-04-22 08:15:40 +07:00
Nextcloud bot 3eb7c9d717
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-04-22 02:28:58 +07:00
John Molakvoæ 48381b8913
Ship mexitek/phpcolors
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-04-21 19:00:28 +07:00
Robin Appelman bdfef2dbd1
cache storage info in memcache for 5m
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-04-21 16:48:01 +07:00
Robin Appelman bbf283f818
cache fullSetupRequired locally
no need to hit redis every time

Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-04-21 16:00:28 +07:00
Robin Appelman 561a2071e4
only register mounts that are new from providers that are new during a full setup
this fixes cases where during the (partial) setup of a shared mount a full setup is triggered

Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-04-21 12:53:50 +07:00
Joas Schilling 49e62149d8
Make the binary operation order explicit
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-04-21 10:47:26 +07:00
Julius Härtl f4135c72f5
Merge pull request #31047 from nextcloud/enh/preferences-index
Additional index on oc_preferences to make queries without a user filter faster
2022-04-21 09:59:04 +07:00