summaryrefslogtreecommitdiffstats
path: root/core
Commit message (Collapse)AuthorAgeFilesLines
...
| * Fix file picker not respecting hidden files settingsCarl Schwan2022-01-145-4/+14
| | | | | | | | | | | | | | | | | | This will only respect the setting inside the file app. For other apps we will either need to do an API call or add an input field with the same idea to spare a blocking api call. Signed-off-by: Carl Schwan <carl@carlschwan.eu> (cherry picked from commit 1fa58be1aa78ff6216b7a129925a7bb270ac9fe1)
* | Add version of disabled apps when availableJoas Schilling2022-01-141-2/+2
|/ | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* fix: only use jquery once it is availableAzul2022-01-111-10/+11
| | | | | | | | publicpage.js is loaded very early and cannot rely on jquery being loaded already. Move the use of `$` into the `DomContentLoaded` handler. Signed-off-by: Azul <azul@riseup.net>
* Fix JS tests after test lib updatesVincent Petry2022-01-102-6/+11
| | | | | | | Prevent XHR during load by checking window.TESTING. Adjust some expected values. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Merge pull request #30433 from nextcloud/backport/30392/stable23John Molakvoæ2022-01-073-0/+17
|\
| * Add missing index for propertypath only queries against propertiesChristoph Wurst2021-12-293-0/+17
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Merge pull request #30339 from nextcloud/backport/27403/stable23John Molakvoæ2022-01-072-103/+27
|\ \ | |/ |/|
| * Enhance and complement OPcache setup checksMichaIng2021-12-202-103/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | Fix persistent tooltip in the "new folder" input of the file pickerDaniel Calviño Sánchez2021-12-215-4/+8
|/ | | | | | | | | | | | | | | | | | | | | 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> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* Merge pull request #30252 from nextcloud/backport/30193/stable23MichaIng2021-12-191-1/+1
|\ | | | | [stable23] Fix setting up 2FA when no providers are set up but backup codes
| * Fix setting up 2FA when no providers are set up but backup codesChristoph Wurst2021-12-131-1/+1
| | | | | | | | | | | | | | | | | | | | 2FA set up is allowed when only backup codes are set up but no other provider and no provider is failing. This patch syncs up the login controller check with the challenge controller check 10 lines above. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Migrate profile_config id column to bigintChristopher Ng2021-12-151-0/+42
| | | | | | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* | Use bigint for autoincremented columnChristopher Ng2021-12-141-1/+1
|/ | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* Bump dompurify from 2.3.3 to 2.3.4dependabot[bot]2021-12-114-6/+6
| | | | | | | | | | | | | | | | Bumps [dompurify](https://github.com/cure53/DOMPurify) from 2.3.3 to 2.3.4. - [Release notes](https://github.com/cure53/DOMPurify/releases) - [Commits](https://github.com/cure53/DOMPurify/compare/2.3.3...2.3.4) --- updated-dependencies: - dependency-name: dompurify dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* Bump core-js from 3.19.2 to 3.19.3dependabot[bot]2021-12-1116-23/+23
| | | | | | | | | | | | | | | | | Bumps [core-js](https://github.com/zloirock/core-js) from 3.19.2 to 3.19.3. - [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.2...v3.19.3) --- updated-dependencies: - dependency-name: core-js dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* Use correct icon for dir-external-rootVincent Petry2021-12-101-1/+1
| | | | | | | | | | | | When an external storage mount is shared with circles, it triggers the share icon state to be rerendered. The picking of the mime type icon would use the regular file icon because there is no actual icon for "dir-external-root" that is shared. This fixes the logic to use the "folder-external" icon in such scenarios. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Merge pull request #30175 from nextcloud/backport/30168/stable23John Molakvoæ2021-12-101-6/+25
|\
| * Allow to delete non-migrated previews instead of moving themJohn Molakvoæ2021-12-091-6/+25
| | | | | | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* | Update core/Migrations/Version23000Date20211203110726.phpPytal2021-12-091-8/+4
| | | | | | | | | | Co-authored-by: John Molakvoæ <skjnldsv@users.noreply.github.com> Signed-off-by: Christopher Ng <chrng8@gmail.com>
* | Fix relation "user_id" already exists migration errorChristopher Ng2021-12-092-1/+59
|/ | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* Only add the vue exeption to actual button elementsmarco2021-12-071-7/+7
| | | | Signed-off-by: marco <marcoambrosini@pm.me>
* Bump core-js from 3.19.1 to 3.19.2dependabot[bot]2021-12-0422-101/+101
| | | | | | | | | | | | | | | | | Bumps [core-js](https://github.com/zloirock/core-js) from 3.19.1 to 3.19.2. - [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.1...v3.19.2) --- updated-dependencies: - dependency-name: core-js dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* Add an index for selecting the next jobJoas Schilling2021-12-023-0/+21
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #30021 from nextcloud/backport/30018/stable23MichaIng2021-12-021-0/+4
|\ | | | | [stable23] Fix collaborative tags styles
| * Fix collaborative tags stylesChristopher Ng2021-12-011-0/+4
| | | | | | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* | Fix profile actions menuChristopher Ng2021-12-013-6/+6
|/ | | | | Signed-off-by: Christopher Ng <chrng8@gmail.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* Set profile page titleChristopher Ng2021-11-303-3/+5
| | | | | Signed-off-by: Christopher Ng <chrng8@gmail.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* Prevent your own status from replacing another user's statusChristopher Ng2021-11-293-4/+6
| | | | | Signed-off-by: Christopher Ng <chrng8@gmail.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* Improve accessibilityChristopher Ng2021-11-264-13/+21
| | | | | Signed-off-by: Christopher Ng <chrng8@gmail.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* Adjust margin of status on profileChristopher Ng2021-11-253-4/+4
| | | | | Signed-off-by: Christopher Ng <chrng8@gmail.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* Hide user status from publicChristopher Ng2021-11-241-7/+9
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* make profile page usable on mobileszaimen2021-11-233-3/+49
| | | | | Signed-off-by: szaimen <szaimen@e.mail.de> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* Fix wording on profile pageChristopher Ng2021-11-233-5/+11
| | | | | Signed-off-by: Christopher Ng <chrng8@gmail.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* Do not print verbose info about app updates if there are noneChristoph Wurst2021-11-222-12/+0
| | | | | | | | | | | This is cosmetical but if you have a large number of apps installed then you'll see a wall of text during the server and app upgrade when it tries to update each app via the app store. In may cases nothing will be updated. For those boring cases we can hide the verbose info, but show when occ is run with -v. Any actual update will still print a few lines. Those are the important ones for the admin. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Explicitly allow some routes without 2FAChristoph Wurst2021-11-182-0/+7
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Bump bootstrap from 4.6.0 to 4.6.1dependabot[bot]2021-11-134-8/+8
| | | | | | | | | | | | | | | | Bumps [bootstrap](https://github.com/twbs/bootstrap) from 4.6.0 to 4.6.1. - [Release notes](https://github.com/twbs/bootstrap/releases) - [Commits](https://github.com/twbs/bootstrap/compare/v4.6.0...v4.6.1) --- updated-dependencies: - dependency-name: bootstrap dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* Merge pull request #29559 from ↵Joas Schilling2021-11-091-18/+40
|\ | | | | | | | | nextcloud/feat/28139/profile-respect-user-enumeration Respect user enumeration settings on profile
| * Move common logic to share managerJoas Schilling2021-11-091-29/+6
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * Respect user enumeration settings on profileChristopher Ng2021-11-051-13/+58
| | | | | | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* | Merge pull request #29572 from ↵John Molakvoæ2021-11-0822-79/+79
| | | | | | | | | | | | nextcloud/dependabot/npm_and_yarn/nextcloud/event-bus-2.1.1 Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* | [tx-robot] updated from transifexNextcloud bot2021-11-082-0/+4
| | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | Bump @nextcloud/initial-state from 1.2.0 to 1.2.1dependabot[bot]2021-11-0610-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [@nextcloud/initial-state](https://github.com/nextcloud/nextcloud-initial-state) from 1.2.0 to 1.2.1. - [Release notes](https://github.com/nextcloud/nextcloud-initial-state/releases) - [Changelog](https://github.com/nextcloud/nextcloud-initial-state/blob/master/CHANGELOG.md) - [Commits](https://github.com/nextcloud/nextcloud-initial-state/compare/v1.2.0...v1.2.1) --- updated-dependencies: - dependency-name: "@nextcloud/initial-state" dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* | [tx-robot] updated from transifexNextcloud bot2021-11-062-0/+14
|/ | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* [tx-robot] updated from transifexNextcloud bot2021-11-034-4/+16
| | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* [tx-robot] updated from transifexNextcloud bot2021-11-012-0/+6
| | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* Bump core-js from 3.18.3 to 3.19.0dependabot[bot]2021-10-3022-108/+108
| | | | | | | | | | | | | | | | | Bumps [core-js](https://github.com/zloirock/core-js) from 3.18.3 to 3.19.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.18.3...v3.19.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>
* [tx-robot] updated from transifexNextcloud bot2021-10-292-0/+118
| | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* Merge pull request #29327 from ↵John Molakvoæ2021-10-271-1/+1
|\ | | | | | | nextcloud/bugfix/noid/do-not-make-actionbuttons-spans-too-transparent
| * Do notr make action icons too transparentmarco2021-10-191-1/+1
| | | | | | | | Signed-off-by: marco <marcoambrosini@pm.me>
* | [tx-robot] updated from transifexNextcloud bot2021-10-274-2/+10
| | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>