Joas Schilling
f3a3ece9cc
Merge pull request #39888 from nextcloud/less-container-queries
...
Reduce the number of container queries
2023-08-18 18:01:47 +02:00
Robin Appelman
b6c3507aa0
only determine quota_include_external_storage once for quota wrapper
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-08-18 14:25:28 +02:00
Joas Schilling
be41dc4fa7
Merge pull request #39867 from nextcloud/login-less
...
Add a separate event for login page rendering
2023-08-18 13:54:15 +02:00
Robin Appelman
80b001f82e
better caching in storage stats calculations
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-08-18 11:14:52 +02:00
Robin Appelman
9ea03a9534
reuse dependencies from wrapped cache
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-08-18 11:14:52 +02:00
max-nextcloud
4b7aa65192
Merge pull request #39770 from nextcloud/fix/always-use-displayname-from-correct-backend
...
fix: always use display name from correct backend
2023-08-17 23:10:38 +02:00
Joas Schilling
a98748e519
Merge pull request #39910 from nextcloud/bugfix/noid/fix-memcache-class-handling
...
fix(memcache): Fix comparison of Memcache configs to classes
2023-08-17 22:53:55 +02:00
John Molakvoæ
28725c46a8
feat: redirect to the mime icon if no preview available
...
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-08-17 18:56:38 +02:00
Julius Härtl
45595a8417
Merge pull request #39481 from nextcloud/fix/transfer-ownersip
2023-08-17 13:23:04 +02:00
Ferdinand Thiessen
1406eecf6c
Merge pull request #39906 from nextcloud/fix/prevent-warnings-if-attr-unset
...
Prevent PHP warning when CacheEntry extension keys are not set
2023-08-17 11:31:53 +02:00
Robin Appelman
1df33256be
add core fileclient script before others
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-08-17 11:18:26 +02:00
Robin Appelman
37e3115cb4
don't always add core/common and core/main during "sorting"
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-08-17 10:57:56 +02:00
Robin Appelman
ccf57e0715
add separate event for rendering login page template
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-08-17 10:57:56 +02:00
Robin Appelman
222ed1f849
move core script loading from static template to event listener
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-08-17 10:57:56 +02:00
Anna Larch
556f29bef5
fix: don't emit Hooks when hookpaths are empty
...
Signed-off-by: Anna Larch <anna@nextcloud.com>
2023-08-17 09:32:14 +02:00
Nextcloud bot
daf3b29572
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-08-17 00:33:49 +00:00
Joas Schilling
93f0399a92
fix(memcache): Fix comparison of Memcache configs to classes
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-08-16 16:05:50 +02:00
jld3103
12f8543815
Rewrite OCS CSRF check to be readable
...
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-08-16 15:52:36 +02:00
Ferdinand Thiessen
9c04c07622
fix: Prevent PHP warnings when optional CacheEntry attributes are unset
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-08-16 14:12:51 +02:00
Nextcloud bot
091c1edd21
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-08-16 00:25:37 +00:00
Max
99a4a9cd09
fix: always use display name from correct backend
...
Overwrite the display name after the account is initialized
when using an instacne of IGetDisplayNameBackend.
Before when using a variation of user_oidc and registering
a Backend.php implementing IGetDisplayNameBackend
the personal setting page shows 'uid'.
The UserManager/AccountManager seems not to use consistently
the correct backend.
The correct backend is used in this sequence:
server/lib/private/TemplateLayout.php
$userDisplayName = \OC_User::getDisplayName();
$this->assign(user_displayname, $userDisplayName);
In the settings page, it definitely not calls the registered backend,
but seems to fall back to default Backend and shows (usually) uid
or a value from the standard account property table.
Signed-off-by: Max <max@nextcloud.com>
2023-08-15 14:55:03 +02:00
Robin Appelman
658aed27ea
select the fileid first when looking for incomplete files
...
this seems to improve mariadbs index selection
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-08-14 18:08:01 +02:00
Daniel
2ea6c5364d
Merge pull request #39644 from nextcloud/fix/noid/copy-delete-fallback-for-files
...
fix: copy-and-delete fallback should use unlink
2023-08-14 12:29:40 +02:00
Daniel
433cb70738
Merge pull request #39850 from nextcloud/nulCoalSimpl
...
Code simplification using null coalescing
2023-08-14 12:02:37 +02:00
Nextcloud bot
dfbc0d8572
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-08-14 00:25:59 +00:00
Git'Fellow
6083fe3c9b
Code simplification using null coalescing
...
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2023-08-13 16:26:24 +02:00
Daniel
51a73d8e80
Merge pull request #39846 from nextcloud/pgSQLCheckRemove
...
Remove check for very old PGsql version
2023-08-13 14:49:59 +02:00
Nextcloud bot
4a2fbf7280
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-08-13 00:24:58 +00:00
Git'Fellow
7306960f2c
Fix lint
...
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2023-08-13 00:21:54 +02:00
Git'Fellow
9237fba27b
Remove check for very old PGsql
...
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2023-08-13 00:15:18 +02:00
Nextcloud bot
5dfef033b5
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-08-12 00:27:39 +00:00
Joas Schilling
9fb08f506f
Merge pull request #38082 from nextcloud/allow-wasm-unsafe-eval-in-csp
...
Allow "wasm-unsafe-eval" in CSP
2023-08-11 14:04:49 +02:00
Nextcloud bot
f0db3d0de1
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-08-11 00:30:07 +00:00
Andy Scherzinger
a38a86e5c4
Merge pull request #39655 from nextcloud/appecosystem-auth
...
AppEcosystem Authentification
2023-08-10 19:11:43 +02:00
Daniel
51833a50b8
Merge pull request #39723 from nextcloud/removed-apc-extension-version-check
...
chore: remove version check for apc extension
2023-08-10 18:17:31 +02:00
Andrey Borysenko
f7b2dc8ccc
Merge branch 'master' into appecosystem-auth
2023-08-10 17:21:35 +03:00
Daniel Kesselberg
7cab58237d
chore: remove version check for apc extension
...
APC is gone since PHP 7.0.
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-08-10 15:02:19 +02:00
Daniel Kesselberg
32303b6ed5
docs: remove superfluous phpdocs
...
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-08-10 15:01:56 +02:00
Simon L
b53d54ce25
Merge pull request #39780 from nextcloud/enh/noid/imaginary
...
log imaginary errors as info to not spam the server logs
2023-08-10 14:31:56 +02:00
Daniel Calviño Sánchez
41f2d912d2
Allow "wasm-unsafe-eval" in CSP
...
If a page has a Content Security Policy header and the `script-src` (or
`default-src`) directive does not contain neither `wasm-unsafe-eval` nor
`unsafe-eval` loading and executing WebAssembly is blocked in the page
(although it is still possible to load and execute WebAssembly in a
worker thread).
Although the Nextcloud classes to manage the CSP already supported
allowing `unsafe-eval` this affects not only WebAssembly, but also the
`eval` operation in JavaScript.
To make possible to allow WebAssembly execution without allowing
JavaScript `eval` this commit adds support for allowing
`wasm-unsafe-eval`.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2023-08-10 02:38:41 +02:00
Nextcloud bot
9fda40f92a
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-08-10 00:26:45 +00:00
Simon L
46dfb84bca
log imaginary errors as info to not spam the server logs
...
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-08-09 16:10:27 +02:00
Nextcloud bot
40af8c0f93
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-08-09 00:25:21 +00:00
Nextcloud bot
d7e2813eca
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-08-08 00:29:26 +00:00
Julius Härtl
fca1c309a0
feat: Add delete task API
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-08-07 13:27:53 +02:00
Julien Veyssier
05a6a799a7
change sql where order to match index order
...
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-08-07 13:27:53 +02:00
Julien Veyssier
41b19cf969
allow anon text processing scheduling
...
add a textprocessing_tasks index
convert anotations to method attributes
refactor TP manager
add mapper methods
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-08-07 13:27:53 +02:00
Julien Veyssier
9986e02097
start implementing ocs endpoint to get task list from user+appId+identifier
...
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-08-07 13:27:53 +02:00
Nextcloud bot
97ad1fbd96
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-08-07 00:30:25 +00:00
Nextcloud bot
c5f72f0761
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-08-06 00:25:27 +00:00