Commit graph

60815 commits

Author SHA1 Message Date
Joas Schilling
43fa2d5c8c
Test with real data
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-01-03 21:43:51 -03:00
Vitor Mattos
fb6a9f308d
Add unit test
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-01-03 21:41:38 -03:00
Vitor Mattos
7b9fea85b6
Add unit test and orderBy parameter
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-01-03 12:45:00 -03:00
Vitor Mattos
79b3df00f8
Add group_concat aggregator function
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-01-03 07:48:11 -03:00
Julius Härtl
29dffd7e7f
Merge pull request #30370 from nextcloud/lint/fix-s3connectiontrait
Fix php-cs for S3ConnectionTrait.php
2021-12-23 09:03:21 +01:00
Nextcloud bot
10dca27cfe
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-23 02:27:47 +00:00
Greta
a5953c3167
Merge pull request #30338 from quentinguidee/refine-settings-groupware
Fix groupware visual issue and improve spacing
2021-12-22 14:08:29 +01:00
Carl Schwan
e8e8ad22a1
Merge pull request #30371 from quentinguidee/refine-devices-sessions-table
Devices & sessions: fix misaligned header
2021-12-22 10:02:40 +01:00
Nextcloud bot
7d1d03d5eb
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-22 02:28:07 +00:00
Quentin Guidée
de5743cfb7
Devices & sessions: fix misaligned header
Signed-off-by: Quentin Guidée <quentin.guidee@gmail.com>
2021-12-21 23:21:14 +01:00
Julius Härtl
e475dfe16c
Fix php-cs for S3ConnectionTrait.php
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-12-21 21:35:46 +01:00
John Molakvoæ
0b01103137
Merge pull request #28438 from csware/issue-1649 2021-12-21 15:10:50 +01:00
Julius Härtl
1acfbd0b06
Merge pull request #27493 from cuppett/cuppett/simplify-aws-credential-provider 2021-12-21 11:58:52 +01:00
Julius Härtl
d73fe0ccd9
Merge pull request #29879 from nextcloud/bugfix/noid/sharing-enumeration-addressbooks 2021-12-21 08:11:04 +01:00
John Molakvoæ
577fb0fcba
Merge pull request #30305 from nextcloud/fix-persistent-tooltip-in-the-new-folder-input-of-the-file-picker 2021-12-21 08:03:11 +01:00
Nextcloud bot
0cba1072c0
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-21 02:27:52 +00:00
Quentin Guidée
4449cabee6
Fix groupware visual issue: compile js files
Signed-off-by: Quentin Guidée <quentin.guidee@gmail.com>
2021-12-20 20:23:33 +01:00
Daniel Calviño Sánchez
3fa91ecf68 Fix persistent tooltip in the "new folder" input of the file picker
When a new folder is tried to be created in the file picker dialog a
tooltip is shown on the input if the folder name exists already.
However, this tooltip was not cleared, so it was still shown even if the
name was fixed, the folder was created and then the "New folder" input
was shown again.

Now the tooltip is cleared as soon as the input changes, as keeping it
shown in that case did not provide any benefit either (and it is
consistent with how the "new folder" input works in the Files app view).

The input is also cleared whenever the menu that shows the input is
opened again, as otherwise the tooltip would be still shown if the menu
was closed and opened again without changing the input (and the menu
could be opened again after changing to another directory where the new
folder name is no longer duplicated).

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-12-20 20:14:39 +01:00
MichaIng
59290060c7
Merge pull request #30128 from nextcloud/fix/bump-sabre/vobject-to-4.4.1
Bump sabre/vobject to 4.4.1
2021-12-20 18:52:18 +01:00
John Molakvoæ
c0cfd237ab
Merge pull request #30299 from nextcloud/fix/log_files 2021-12-20 17:27:05 +01:00
Côme Chilliet
057dcb567a
Bump sabre/vobject to 4.4.1
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-12-20 16:36:46 +01:00
Carl Schwan
52760a95d9
Check if directoy is writable instead of possibly missing file
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2021-12-20 15:36:52 +01:00
John Molakvoæ
a567f5d7b5
Merge pull request #30279 from nextcloud/fix/30278/script_deps 2021-12-20 15:29:33 +01:00
Quentin Guidée
314c324a93
Fix groupware visual issue: remove useless additional class
Signed-off-by: Quentin Guidée <quentin.guidee@gmail.com>
2021-12-20 12:11:04 +01:00
Jonas Meurer
822daa3c64
Further improve addScript logic, migrate to uksort()
Instead of the logic with `first` and `last`, store dependencies in an
own array and sort the scripts topologically by its dependencies later.

Signed-off-by: Jonas Meurer <jonas@freesources.org>
2021-12-20 11:45:05 +01:00
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
Quentin Guidée
2ef3a87a46
Fix groupware visual issue and improve spacing
Signed-off-by: Quentin Guidée <quentin.guidee@gmail.com>
2021-12-20 11:02:36 +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