Commit graph

66257 commits

Author SHA1 Message Date
Glandos
528e66859b
Use proc_open to avoid spawning a shell
The use of `exec` will spawn a shell, using `/bin/sh` on POSIX platforms. But in restricted environment, such as AppArmor, this means giving execution to `/bin/sh`, which renders the execution restriction quite useless.
Using an array with `proc_open` reduces this, and paved the way for file streaming instead of temporary file.

Signed-off-by: Glandos <bugs-github@antipoul.fr>
2023-02-15 23:37:13 +01:00
MichaIng
b36a31c918
Merge pull request #35365 from nextcloud/enh/check-opcache-file_cache_only
Check for opcache.file_cache_only=1
2023-02-15 19:40:37 +01:00
Christoph Wurst
364e7693b9
Merge pull request #36639 from nextcloud/userbackend-local-cache
also cache backend for user in memory instead of always going to redis
2023-02-15 19:33:29 +01:00
Christoph Wurst
a2422c937a
Merge pull request #36698 from nextcloud/db-profile-start-time
log start time of queries for profiler
2023-02-15 19:29:56 +01:00
MichaIng
7e725c5d94
Check for opcache.file_cache_only=1
which disables shared memory based OPcache with disk file cache used only, if enabled. In this case, "opcache.memory_consumption" and others do not apply, so show the correct performance recommendation to enable memory cache.

Signed-off-by: MichaIng <micha@dietpi.com>
2023-02-15 18:55:50 +01:00
Simon L
228911cbcd
Merge pull request #36691 from nextcloud/fix/25175/fix-config-truncating
add a disk_free_space check before writing config
2023-02-15 18:25:37 +01:00
Simon L
a747be3544
Merge pull request #36443 from nextcloud/fix/23063/fix-login-log-entry
fix the login log entry
2023-02-15 18:13:59 +01:00
Julius Härtl
63696fe2e3
Merge pull request #36465 from nextcloud/bugfix/trashbin-concurrency 2023-02-15 17:04:37 +01:00
nextcloud-command
d662092a5f Compile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-02-15 12:49:05 +00:00
Simon L
3757b345bc address review by Joas
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-02-15 13:43:54 +01:00
Nextcloud bot
54954cc374
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-02-15 02:25:45 +00:00
blizzz
e764ee84c9
Merge pull request #36700 from nextcloud/bugfix/noid/bruteforce-protection-not-working
Also copy meta data when converting DataResponse to JSONRe…
2023-02-14 16:56:48 +01:00
Joas Schilling
6f3ce5c319
Also copy bruteforce meta data when converting DataResponse to JSONResponse
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-02-14 16:00:10 +01:00
Robin Appelman
426b3429f7
log start time of queries for profiler
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-02-14 15:16:15 +01:00
Robin Appelman
c2cc3afd61
Merge pull request #36603 from nextcloud/imagick-cache-formats
cache formats supported by imagick
2023-02-14 13:30:44 +01:00
Julius Härtl
a705132c8d
Merge pull request #36656 from nextcloud/route-instrumentation 2023-02-14 10:12:19 +01:00
Joas Schilling
39b13e096c
Merge pull request #36675 from nextcloud/rakekniven-patch-3
l10n: Fixed grammar
2023-02-14 06:06:19 +01:00
Nextcloud bot
e01936efa8
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-02-14 02:25:52 +00:00
Robin Appelman
b911da3e1e
DI for Router
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-02-13 22:51:14 +01:00
Simon L
9b6e5c6674 add a disk_free_space check before writing config
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-02-13 16:26:19 +01:00
Robin Appelman
382432d4e1
cache formats supported by imagick
turns out this can be quite slow

Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-02-13 14:57:06 +01:00
Robin Appelman
936f634069
Merge pull request #36643 from nextcloud/fs-setup-instrimuntion
more filesystem setup performance instrumentation
2023-02-13 14:37:57 +01:00
blizzz
e0b2c932c9
Merge pull request #36670 from nextcloud/automated/noid/master-update-psalm-baseline
[master] Update psalm-baseline.xml
2023-02-13 14:36:24 +01:00
Anna
c05ae61576
Merge pull request #36674 from nextcloud/rakekniven-patch-2
l10n: Fixed grammar
2023-02-13 14:19:16 +01:00
Julia Kirschenheuter
9160b3791f
Merge pull request #36633 from nextcloud/fix/36632-create_an_accessible_name_for_logo
Create an accessible name for logo on logged in page
2023-02-13 10:32:42 +01:00
Julius Härtl
610a203d31
Merge pull request #36525 from nextcloud/fix/noid/params-put
fix: Only get params from PUT content if possible
2023-02-13 10:25:52 +01:00
Julius Härtl
73495b0fc4
Merge pull request #36646 from nextcloud/perf/files-setupfs 2023-02-13 10:24:59 +01:00
rakekniven
f4b7917ca6 l10n: Fixed grammar
Reported at Transifex.

Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>

Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-02-13 09:09:53 +00:00
Côme Chilliet
8e1403a180
Merge pull request #36641 from nextcloud/instrument-app-register
Add more profiler instrumentation to app loading
2023-02-13 09:42:51 +01:00
julia.kirschenheuter
2b39261b62 Create an accessible name for logo on logged in page
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-02-13 09:17:24 +01:00
Julius Härtl
8f0849a317
Merge pull request #36568 from nextcloud/perf/flow-events
perf(workflowengine): Cache query that is performed on every request
2023-02-13 08:01:18 +01:00
nextcloud-command
59b0abdcd6 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2023-02-13 04:13:24 +00:00
Nextcloud bot
c3d00095c0
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-02-13 02:25:07 +00:00
Simon L
5912e8378b
Merge pull request #36673 from nextcloud/rakekniven-patch-1
l10n: Fixed grammar
2023-02-12 11:20:58 +01:00
Nextcloud bot
4774637b5f
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-02-12 02:25:57 +00:00
rakekniven
421df8d456
l10n: Fixed grammar
Reported at Transifex.

Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>


Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
2023-02-11 22:09:26 +01:00
rakekniven
9d10607551
l10n: Fixed grammar
Reported at Transifex.

Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>


Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
2023-02-11 21:54:06 +01:00
Pytal
b59b8fd808
Merge pull request #36232 from nextcloud/enh/a11y-user-menu
Port user menu to Vue
2023-02-10 19:22:45 -08:00
Nextcloud bot
fd2d91a77d
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-02-11 02:26:15 +00:00
Julius Härtl
aebf654214
perf(workflowengine): Cache query that is performed on every request
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-02-10 14:33:07 +01:00
Robin Appelman
853ec60f3e also cache backend for user in memory instead of always going to redis
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-02-10 12:25:23 +01:00
Julius Härtl
e0946a1608
Merge pull request #36608 from nextcloud/storageinfo-no-explicit-setup 2023-02-10 12:18:39 +01:00
Robin Appelman
b68be79464 more routing performance instrumentation
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-02-10 11:12:26 +01:00
Robin Appelman
91d5f6a826 more filesystem setup performance instrumentation
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-02-10 11:11:13 +01:00
Julius Härtl
d9cd8b1d37
Merge pull request #36610 from nextcloud/folder-lazy-submounts 2023-02-10 09:09:08 +01:00
Nextcloud bot
524db1c6dc
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-02-10 02:26:36 +00:00
Christopher Ng
c77998209f Port user menu to Vue
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-02-09 17:54:59 -08:00
Joas Schilling
e47d56ac36
Merge pull request #36621 from nextcloud/perf/noid/only-check-for-token-when-it-can-actually-be
fix(performance): Only search for auth tokens when the provided login…
2023-02-10 01:29:30 +01:00
Julius Härtl
0040d9b9fd
perf: No need to setup the full filesystem for getting storage info
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-02-09 22:58:35 +01:00
Joas Schilling
f0b6a6f307
Merge pull request #36637 from nextcloud/fix/noid/file-ref-provider-safer-match 2023-02-09 22:42:58 +01:00