Jonas Meurer
8dd119402a
Improve unit testing for Util::addScript() and Util::getScript()
...
Instead of checking for a predefined order of the scripts, test the
logic: core first, dependencies before their children, no duplicates and
all scripts still listed.
Signed-off-by: Jonas Meurer <jonas@freesources.org>
2021-12-20 11:40:17 +01:00
Jonas Meurer
7ec1317b1b
Sort app scripts by dependencies ( Fixes : #30278 )
...
Signed-off-by: Jonas Meurer <jonas@freesources.org>
2021-12-20 11:40:10 +01:00
Louis
e60ae8aaf2
Merge pull request #30322 from nextcloud/enh/noid/fix-help-settings-overlapping
...
fix overlapping in the help settings section
2021-12-20 10:27:38 +01:00
John Molakvoæ
b5ae67ac2a
Merge pull request #29329 from nextcloud/fix/noid/groups-unwarranted-members
2021-12-20 10:07:55 +01:00
Nextcloud bot
dcc6dfaafa
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-20 02:29:39 +00:00
MichaIng
e56d1dd02b
Merge pull request #27403 from nextcloud/enh/opcache-usage-based-recommendations
...
Enhance and complement OPcache setup checks
2021-12-20 01:07:34 +01:00
MichaIng
82c1beaacb
Enhance and complement OPcache setup checks
...
The current OPcache recommendations match the PHP defaults, but the values are much higher than required to run Nextcloud, even with a high number of installed apps. On the other hand, when other applications use the same OPcache instance, the recommended values might not be sufficient. Accurate recommendations need to take into account actual OPcache usage.
With this commit, recommendations are shown to raise the config value if more than 90% of max cache size or number of keys is used.
The checks whether the module is loaded and whether the OPcache is properly configured have been merged into a single function. This allowed to reduce the overhead of OPcache configuration checks when the module is not loaded.
A check has been added whether Nextcloud is permitted to use the OPcache API. Without this, inconsistencies during core or app upgrades may cause errors and OPcache usage cannot be determined for the new usage based checks.
OPcache usage based checks are skipped when Nextcloud is not permitted to use the API.
Signed-off-by: MichaIng <micha@dietpi.com>
2021-12-19 23:38:21 +01:00
MichaIng
d98e31a872
Merge pull request #30218 from nextcloud/dependabot/npm_and_yarn/build/puppeteer-13.0.0
...
Bump puppeteer from 12.0.1 to 13.0.0 in /build
2021-12-19 19:08:59 +01:00
dependabot[bot]
bd643b169c
Bump puppeteer from 12.0.1 to 13.0.0 in /build
...
Bumps [puppeteer](https://github.com/puppeteer/puppeteer ) from 12.0.1 to 13.0.0.
- [Release notes](https://github.com/puppeteer/puppeteer/releases )
- [Changelog](https://github.com/puppeteer/puppeteer/blob/main/CHANGELOG.md )
- [Commits](https://github.com/puppeteer/puppeteer/compare/v12.0.1...v13.0.0 )
---
updated-dependencies:
- dependency-name: puppeteer
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-12-19 14:15:52 +01:00
MichaIng
705494a821
Merge pull request #30304 from nextcloud/automated/noid/psalm-baseline-update-1639714304
...
[Automated] Update psalm-baseline.xml
2021-12-19 04:56:10 +01:00
Nextcloud bot
b72a85b59b
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-19 02:29:19 +00:00
dependabot[bot]
de12815b6a
Merge pull request #30324 from nextcloud/dependabot/npm_and_yarn/core-js-3.20.0
2021-12-18 16:26:36 +00:00
dependabot[bot]
712f3e1311
Bump core-js from 3.19.3 to 3.20.0
...
Bumps [core-js](https://github.com/zloirock/core-js ) from 3.19.3 to 3.20.0.
- [Release notes](https://github.com/zloirock/core-js/releases )
- [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md )
- [Commits](https://github.com/zloirock/core-js/compare/v3.19.3...v3.20.0 )
---
updated-dependencies:
- dependency-name: core-js
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-12-18 15:42:58 +00:00
dependabot[bot]
08e6a2bdb0
Merge pull request #30326 from nextcloud/dependabot/composer/build/integration/sabre/dav-4.3.0
2021-12-18 05:46:09 +00:00
dependabot[bot]
b1912ae7d2
Update sabre/dav requirement from 4.2.3 to 4.3.0 in /build/integration
...
Updates the requirements on [sabre/dav](https://github.com/sabre-io/dav ) to permit the latest version.
- [Release notes](https://github.com/sabre-io/dav/releases )
- [Changelog](https://github.com/sabre-io/dav/blob/master/CHANGELOG.md )
- [Commits](https://github.com/sabre-io/dav/compare/4.2.3...4.3.0 )
---
updated-dependencies:
- dependency-name: sabre/dav
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-12-18 04:08:53 +00:00
Nextcloud bot
454fd68437
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-18 02:27:28 +00:00
szaimen
526f2a140f
fix overlapping in the help settings section
...
Signed-off-by: szaimen <szaimen@e.mail.de>
2021-12-17 21:35:46 +01:00
Christoph Wurst
4b36f9d92f
Merge pull request #30130 from nextcloud/fix/config_is_read_only
...
Don't write to config file if `config_is_read_only` is set
2021-12-17 14:39:40 +01:00
Vincent Petry
e231338876
Merge pull request #30281 from nextcloud/bugfix/30280/fix-confused-notifier-with-null-group
...
Ignore non-existing groups when notifying group shares
2021-12-17 08:01:55 +01:00
nextcloud-command
be219153dd
Update psalm baseline
...
Signed-off-by: GitHub <noreply@github.com>
2021-12-17 04:11:44 +00:00
Nextcloud bot
194981318c
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-17 02:28:52 +00:00
azul
f001cc73e7
Merge pull request #30119 from nextcloud/bugfix/noid/direct-editor-translation
...
Use proper translation source for direct editing
2021-12-16 19:09:59 +01:00
Azul
8535dc4255
fix translation source in directEditing templates
...
The 'Empty file' string is translated in `lib` - not in `core`.
Signed-off-by: Azul <azul@riseup.net>
2021-12-16 16:30:50 +01:00
Côme Chilliet
9a37ca9b48
Merge pull request #29862 from nextcloud/fix/support-php-8.1-2
...
Support PHP 8.1 - Second batch
2021-12-16 14:24:47 +01:00
Joas Schilling
1fdc97bb13
Merge pull request #30283 from nextcloud/enhancement/two-factor-code-owners
...
Specify code owners for 2FA
2021-12-16 13:37:54 +01:00
Vincent Petry
6c424fb9fc
Merge pull request #30111 from nextcloud/enh/29973/option-disallow-local-storage
...
Add option to disallow creation of local storages
2021-12-16 11:12:31 +01:00
Côme Chilliet
c3a1a66eae
Avoid deprecation warnings about libxml_disable_entity_loader in PHP 8.1
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-12-16 10:35:03 +01:00
Côme Chilliet
ec4fff20e8
Avoid Deprecation warning from Zip tests on PHP 8.1
...
It is not allowed anymore to open an empty file as a new zip archive.
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-12-16 09:58:40 +01:00
Côme Chilliet
e053feb5db
Fix PHP deprecation warning in File/ViewTest
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-12-16 09:43:32 +01:00
Côme Chilliet
72baee9698
Allow minor release of PHP 8.1 to be used as well
...
No reason to allow 8.1.0 and not 8.1.1.
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-12-16 09:43:31 +01:00
Côme Chilliet
4f7b9cc6b2
Add 8.1 tests to CI
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-12-16 09:43:31 +01:00
Côme Chilliet
743267eba4
Fix LDAP related docblocks types
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-12-16 09:43:31 +01:00
Côme Chilliet
24e9a29b3c
Add PHP 8.1 LDAP classes to ignored missing classes in psalm for docblocks
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-12-16 09:43:30 +01:00
Côme Chilliet
dc8b79c4d2
Fix OCA\Settings\Tests\Settings\Admin\SharingTest
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-12-16 09:43:30 +01:00
Côme Chilliet
f3dcbfe146
Fix PHP 8.1 support for user_ldap application
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-12-16 09:43:30 +01:00
Côme Chilliet
37f8f7a5a1
Fix tests on PHP 8.1 for encryption, files_sharing, files_version,
...
files_trashbin and theming apps
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-12-16 09:43:29 +01:00
Côme Chilliet
6b770eb579
Fix theming tests on PHP 8.1
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-12-16 09:43:29 +01:00
Côme Chilliet
260be93a14
Allow running Nextcloud with PHP 8.1
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-12-16 09:43:22 +01:00
John Molakvoæ
55219acb4e
Merge pull request #30266 from nextcloud/fix/share-not-being-displayed-tab
2021-12-16 08:50:48 +01:00
Nextcloud bot
f567f6afae
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-16 02:27:47 +00:00
Christoph Wurst
459f73e96a
Specify code owners for 2FA
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-12-15 15:47:56 +01:00
Vincent Petry
4559a46c8d
Discard share notification for non-existing groups
...
Group shares might exist even after a group got deleted.
This fix catches the situation and discards the notification for the
obsolete group.
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Co-authored-by: Joas Schilling <coding@schilljs.com>
2021-12-15 14:55:27 +01:00
Vincent Petry
ea30297552
Add option to disallow creation of local storages
...
Introduce a new config option to prevent web UI admins to create
or edit external storages of type "local".
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-12-15 09:15:31 +01:00
Nextcloud bot
0fc8b55bf1
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-15 02:27:52 +00:00
Carl Schwan
9c4cf7367a
Fix share owner not being displayed in sharing tab
...
This only concerns subfolder and files inside a shared folder and is
used as fallback when the OCS api returns a empty result, because it
only works on the shared folder and not the content inside of it.
This unify the tab with the folder list.
This offers a less descriptive share information but making the
OCS api returns all the details even for the subfolder would very
probably be bad for performance (since we would need to fetch the shares
for all the parent folders until we found one or are in the root folder).
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-12-14 21:59:58 +00:00
Pytal
98b637f291
Merge pull request #30254 from nextcloud/fix/30239/use-bigint
2021-12-14 13:31:26 -08:00
Christoph Wurst
5613ff365b
Merge pull request #30048 from nextcloud/fix/caldav-search-time-range-recurrence
...
Carefully filter out non matching time ranges for CalDAV search
2021-12-14 14:50:31 +01:00
Louis
069fe1c12e
Merge pull request #30256 from nextcloud/fix/allow_edit_folder
...
Fix ShareLink Upload UI for Folders
2021-12-14 13:06:25 +01:00
Christoph Wurst
4be7c3faa8
Merge pull request #30259 from nextcloud/deprecate/entity-slug
...
Deprecate entity slugs
2021-12-14 13:02:44 +01:00
Christoph Wurst
3e078ffa1b
Deprecate entity slugs
...
They are only used a single time in the whole Nextcloud Github
organization. We can inline the code there and slim down the public API.
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-12-14 09:50:29 +01:00