summaryrefslogtreecommitdiffstats
path: root/core/js
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #31634 from nextcloud/backport/31470/stable23blizzz2022-04-142-0/+172
|\ | | | | [stable23] improve imagick, bcmath and gmp extension warnings
| * fix testsszaimen2022-04-141-0/+154
| | | | | | | | Signed-off-by: szaimen <szaimen@e.mail.de>
| * allow to disable the imagick warningszaimen2022-04-141-0/+18
| | | | | | | | | | Signed-off-by: szaimen <szaimen@e.mail.de> Co-Authored-By: MichaIng <micha@dietpi.com>
* | Bump moment from 2.29.1 to 2.29.2dependabot[bot]2022-04-144-14/+14
|/ | | | | | | | | | | | | | | | | Bumps [moment](https://github.com/moment/moment) from 2.29.1 to 2.29.2. - [Release notes](https://github.com/moment/moment/releases) - [Changelog](https://github.com/moment/moment/blob/develop/CHANGELOG.md) - [Commits](https://github.com/moment/moment/compare/2.29.1...2.29.2) --- updated-dependencies: - dependency-name: moment 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>
* improve overwrite cli url setup checkszaimen2022-03-211-1/+1
| | | | Signed-off-by: szaimen <szaimen@e.mail.de>
* Merge pull request #31490 from nextcloud/backport/30828/stable23Pytal2022-03-083-3/+3
|\
| * Center dialog new file menuszaimen2022-03-083-3/+3
| | | | | | | | | | | | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com> Signed-off-by: szaimen <szaimen@e.mail.de> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* | Add Nextcloud docs link to OPcache recommendsMichaIng2022-03-062-8/+4
|/ | | | | | | | A link to the Nextcloud documentation is currently only shown when the OPcache module is not loaded at all. This commit moves the link to the generic text above the individual recommendations list. Additionally remove the obsolete phpOpcacheDocumentation entry from test data arrays, which is not passed anymore by the backend. Signed-off-by: MichaIng <micha@dietpi.com>
* Bump backbone from 1.4.0 to 1.4.1dependabot[bot]2022-02-284-4/+4
| | | | | | | | | | | | | | | | Bumps [backbone](https://github.com/jashkenas/backbone) from 1.4.0 to 1.4.1. - [Release notes](https://github.com/jashkenas/backbone/releases) - [Commits](https://github.com/jashkenas/backbone/compare/1.4.0...1.4.1) --- updated-dependencies: - dependency-name: backbone 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 clipboard from 2.0.9 to 2.0.10dependabot[bot]2022-02-192-3/+3
| | | | | | | | | | | | | | | | Bumps [clipboard](https://github.com/zenorocha/clipboard.js) from 2.0.9 to 2.0.10. - [Release notes](https://github.com/zenorocha/clipboard.js/releases) - [Commits](https://github.com/zenorocha/clipboard.js/compare/v2.0.9...v2.0.10) --- updated-dependencies: - dependency-name: clipboard 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 dompurify from 2.3.5 to 2.3.6dependabot[bot]2022-02-174-6/+6
| | | | | | | | | | | | | | | | Bumps [dompurify](https://github.com/cure53/DOMPurify) from 2.3.5 to 2.3.6. - [Release notes](https://github.com/cure53/DOMPurify/releases) - [Commits](https://github.com/cure53/DOMPurify/compare/2.3.5...2.3.6) --- 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>
* Remove spaces around linkszaimen2022-02-151-3/+3
| | | | | | See https://github.com/nextcloud/server/pull/31003 Signed-off-by: szaimen <szaimen@e.mail.de>
* add a test for wasEmailTestSuccessfulszaimen2022-02-151-0/+56
| | | | Signed-off-by: szaimen <szaimen@e.mail.de>
* fix testsszaimen2022-02-151-0/+18
| | | | Signed-off-by: szaimen <szaimen@e.mail.de>
* show if the mail server settings are not set or verifiedszaimen2022-02-151-0/+8
| | | | Signed-off-by: szaimen <szaimen@e.mail.de>
* Setup warning for invalid LDAP user or group UUIDs.Arthur Schiwon2022-02-101-0/+1
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Bump jquery-ui from 1.13.0 to 1.13.1dependabot[bot]2022-01-312-14/+14
| | | | | | | | | | | | | | | | Bumps [jquery-ui](https://github.com/jquery/jquery-ui) from 1.13.0 to 1.13.1. - [Release notes](https://github.com/jquery/jquery-ui/releases) - [Commits](https://github.com/jquery/jquery-ui/compare/1.13.0...1.13.1) --- updated-dependencies: - dependency-name: jquery-ui 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 clipboard from 2.0.8 to 2.0.9dependabot[bot]2022-01-312-3/+3
| | | | | | | | | | | | | | | | Bumps [clipboard](https://github.com/zenorocha/clipboard.js) from 2.0.8 to 2.0.9. - [Release notes](https://github.com/zenorocha/clipboard.js/releases) - [Commits](https://github.com/zenorocha/clipboard.js/compare/v2.0.8...v2.0.9) --- updated-dependencies: - dependency-name: clipboard 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 dompurify from 2.3.4 to 2.3.5dependabot[bot]2022-01-304-6/+6
| | | | | | | | | | | | | | | | Bumps [dompurify](https://github.com/cure53/DOMPurify) from 2.3.4 to 2.3.5. - [Release notes](https://github.com/cure53/DOMPurify/releases) - [Commits](https://github.com/cure53/DOMPurify/compare/2.3.4...2.3.5) --- 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>
* Improve installation pagesChristopher Ng2022-01-1920-69/+69
| | | | | | Signed-off-by: Christopher Ng <chrng8@gmail.com> (cherry picked from commit 22768769c3f29f9952110f86a032e4bf3a4bf460) Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* Fix file picker not respecting hidden files settingsCarl Schwan2022-01-144-4/+4
| | | | | | | | | 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)
* 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 #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-214-4/+4
|/ | | | | | | | | | | | | | | | | | | | | 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>
* 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>
* 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>
* Fix profile actions menuChristopher Ng2021-12-012-3/+3
| | | | | 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-302-3/+3
| | | | | 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-292-3/+3
| | | | | Signed-off-by: Christopher Ng <chrng8@gmail.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* Improve accessibilityChristopher Ng2021-11-262-9/+9
| | | | | 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-252-3/+3
| | | | | Signed-off-by: Christopher Ng <chrng8@gmail.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* make profile page usable on mobileszaimen2021-11-232-3/+3
| | | | | 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-232-3/+3
| | | | | Signed-off-by: Christopher Ng <chrng8@gmail.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* 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 #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>
* 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>
* 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>
* Merge pull request #27949 from CarlSchwan/work/carl/password-reset-autocompleteLouis2021-10-252-2/+2
|\ | | | | Add autocompletion for password reset
| * Add autocompletion for password resetCarl Schwan2021-10-222-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Using autocomplete="current-password" and autocomplete="new-password" will help browser with integrated password managers to generate safe password for the users. See https://developer.apple.com/documentation/security/password_autofill/enabling_password_autofill_on_an_html_input_element and https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Input/password#allowing_autocomplete. Also unify autocapitalize="none" autocorrect="off" behavior in a few other places for password input fields. Close #27885 Signed-off-by: Carl Schwan <carl@carlschwan.eu> Co-Authored-By: Julien Veyssier <eneiluj@posteo.net> Co-Authored-By: Pytal <24800714+Pytal@users.noreply.github.com>
* | Show warning on admin settings pageVitor Mattos2021-10-232-0/+25
|/ | | | Signed-off-by: Vitor Mattos <vitor@php.rio>
* Merge pull request #28751 from nextcloud/feat/28139/profile-pagePytal2021-10-1820-153/+543
|\
| * Profile frontendChristopher Ng2021-10-1920-153/+543
| | | | | | | | | | Signed-off-by: Christopher Ng <chrng8@gmail.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* | Deprecate PHP7.3 for Nextcloud 23Christoph Wurst2021-10-181-2/+2
|/ | | | | | | * 7.3 reaches EOL shortly after the release of 23.0.0 * Nextcloud 24 will require PHP7.4 Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Bump core-js from 3.18.2 to 3.18.3dependabot[bot]2021-10-1715-39/+39
| | | | | | | | | | | | | | | | | Bumps [core-js](https://github.com/zloirock/core-js) from 3.18.2 to 3.18.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.18.2...v3.18.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>
* Switch to the "new" jcropChristoph Wurst2021-10-142-2/+2
| | | | | | | | The old one didn't work with recent versions of node. The patched one does. This also replaces the github dep with a real npm registry one. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* Merge pull request #29157 from nextcloud/enh/opendocumentJulius Härtl2021-10-141-0/+7
|\