summaryrefslogtreecommitdiffstats
path: root/core/js
Commit message (Collapse)AuthorAgeFilesLines
* Fix federated link sharing permissionsDaniel Calviño Sánchez2020-06-253-3/+5
| | | | | | | | | If a link share has read permissions it may have too share permissions (depending on whether federated shares are allowed or not). Therefore the share permission needs to be ignored when checking the permissions to determine the public upload status. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Do not disable send password by Talk without setting new password in UIDaniel Calviño Sánchez2020-06-013-14/+8
| | | | | | | | | Before it was possible to disable "send password by Talk" without setting a new password, so the UI allowed that. Now that the server prevents it the UI had to be adjusted to not update the share until a new password is set when "send password by Talk" is disabled. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Add text restore after restore iconGretaD2020-04-106-9/+9
| | | | | Signed-off-by: GretaD <gretadoci@gmail.com> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Compile AssetsGary Kim2020-04-086-9/+9
| | | | Signed-off-by: Gary Kim <gary@garykim.dev>
* Remove the tests since the library is testedRoeland Jago Douma2020-04-011-11/+0
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Move to escape-htmlRoeland Jago Douma2020-04-016-86/+86
| | | | | | | | | | | | | * If there is a package that does exactly the same then lets us use that * Import it properly in the internals (less deprecation warnings) As it is now used from the translation function this also prevents flooding the console on big file uploads with messages about "humanFileSize" being deprecated, which decreases the performance (even if the developer tools of the browser are not open) and in some cases even cause the upload to fail. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Bump bundlesJulius Härtl2020-03-042-2/+2
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Keep edit permission when updating resharing permission for file sharesJulius Härtl2020-03-031-1/+1
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Set direct login after password resetJulius Härtl2020-01-102-2/+2
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Re-open popover on link password save failureJohn Molakvoæ (skjnldsv)2020-01-024-9/+24
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Bump serialize-javascript and handlebarsChristoph Wurst2019-12-1912-359/+359
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Query lookup by defaultJohn Molakvoæ (skjnldsv)2019-12-103-2/+10
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Force save share link password if click outsideJohn Molakvoæ (skjnldsv)2019-11-083-3/+27
| | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Bump bundlesJulius Härtl2019-10-222-2/+2
| | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Fallback to directory icon based on the mount typeJulius Härtl2019-10-221-4/+5
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Fix browser back buttonRoeland Jago Douma2019-10-226-265/+287
| | | | | | | Fixes #17108 Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* [stable17] Pass on direct query parameter during loginRoeland Jago Douma2019-10-212-2/+2
| | | | | | | | If direct is set we should forward it again. This to make SAML direct login work again. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Use @nextcloud/axios to keep the CSRF token in syncChristoph Wurst2019-10-156-56/+56
| | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Emit an event when the CSRF token changesChristoph Wurst2019-10-146-151/+88
| | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com> Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Force hide tooltips on sidebar closeJohn Molakvoæ (skjnldsv)2019-10-096-6/+6
| | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Build stable17 JSRoeland Jago Douma2019-10-086-6/+6
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Bump bundlesJulius Härtl2019-09-122-2/+2
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Merge pull request #16454 from ↵Roeland Jago Douma2019-09-043-7/+2
|\ | | | | | | | | nextcloud/bugfix/noid/sharelink-shouldnt-open-menu-automatically Dont show menu automatically when share link is clicked
| * Dont show menu automatically when share link is clickedGreta Doci2019-08-293-7/+2
| | | | | | | | Signed-off-by: Greta Doci <gretadoci@gmail.com>
* | Bump webpack from 4.39.2 to 4.39.3dependabot-preview[bot]2019-09-028-58/+16
|/ | | | | | | | | Bumps [webpack](https://github.com/webpack/webpack) from 4.39.2 to 4.39.3. - [Release notes](https://github.com/webpack/webpack/releases) - [Commits](https://github.com/webpack/webpack/compare/v4.39.2...v4.39.3) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Ignore Enter key up event on menu button togglesDaniel Calviño Sánchez2019-08-286-6/+6
| | | | | | | | | | | | Like links, buttons generate a "click" event as well as the regular "keydown" and "keyup" events when pressing Enter. Due to this, if both the "click" and the "keyup" events are handled, when the menu is open and Enter is pressed in the toggle the menu is first hidden when the first event is handled, but then shown again when the second event is handled. To prevent that only the "click" event should be handled when the toggle is a button, like it is already done with links. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Bump sass-loader from 7.2.0 to 7.3.1dependabot-preview[bot]2019-08-254-4/+4
| | | | | | | | | | Bumps [sass-loader](https://github.com/webpack-contrib/sass-loader) from 7.2.0 to 7.3.1. - [Release notes](https://github.com/webpack-contrib/sass-loader/releases) - [Changelog](https://github.com/webpack-contrib/sass-loader/blob/master/CHANGELOG.md) - [Commits](https://github.com/webpack-contrib/sass-loader/compare/v7.2.0...v7.3.1) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* adviced should be advisedVictor Goff2019-08-232-2/+2
| | | | Signed-off-by: Victor Goff <keeperotphones@gmail.com>
* Properly handle failures and allow choosing folders for projectsJulius Härtl2019-08-216-6/+6
| | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Merge pull request #16781 from nextcloud/bug/fix-password-resetRoeland Jago Douma2019-08-192-2/+2
|\ | | | | Send new password instead of empty string
| * Update bundlesJulius Härtl2019-08-192-2/+2
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Bump css-vars-ponyfill from 2.0.2 to 2.1.1dependabot-preview[bot]2019-08-182-4/+4
|/ | | | | | | | | | Bumps [css-vars-ponyfill](https://github.com/jhildenbiddle/css-vars-ponyfill) from 2.0.2 to 2.1.1. - [Release notes](https://github.com/jhildenbiddle/css-vars-ponyfill/releases) - [Changelog](https://github.com/jhildenbiddle/css-vars-ponyfill/blob/master/CHANGELOG.md) - [Commits](https://github.com/jhildenbiddle/css-vars-ponyfill/commits) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Bump webpack from 4.39.1 to 4.39.2dependabot-preview[bot]2019-08-188-15/+15
| | | | | | | | | Bumps [webpack](https://github.com/webpack/webpack) from 4.39.1 to 4.39.2. - [Release notes](https://github.com/webpack/webpack/releases) - [Commits](https://github.com/webpack/webpack/compare/v4.39.1...v4.39.2) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Bump style-loader from 0.23.1 to 1.0.0dependabot-preview[bot]2019-08-118-42/+42
| | | | | | | | | | Bumps [style-loader](https://github.com/webpack-contrib/style-loader) from 0.23.1 to 1.0.0. - [Release notes](https://github.com/webpack-contrib/style-loader/releases) - [Changelog](https://github.com/webpack-contrib/style-loader/blob/master/CHANGELOG.md) - [Commits](https://github.com/webpack-contrib/style-loader/compare/v0.23.1...v1.0.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Bump css-loader from 3.1.0 to 3.2.0dependabot-preview[bot]2019-08-112-2/+2
| | | | | | | | | | Bumps [css-loader](https://github.com/webpack-contrib/css-loader) from 3.1.0 to 3.2.0. - [Release notes](https://github.com/webpack-contrib/css-loader/releases) - [Changelog](https://github.com/webpack-contrib/css-loader/blob/master/CHANGELOG.md) - [Commits](https://github.com/webpack-contrib/css-loader/compare/v3.1.0...v3.2.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Bump blueimp-md5 from 2.11.0 to 2.11.1dependabot-preview[bot]2019-08-111-1/+1
| | | | | | | | | Bumps [blueimp-md5](https://github.com/blueimp/JavaScript-MD5) from 2.11.0 to 2.11.1. - [Release notes](https://github.com/blueimp/JavaScript-MD5/releases) - [Commits](https://github.com/blueimp/JavaScript-MD5/compare/v2.11.0...v2.11.1) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Fix ie app menu loading clickJohn Molakvoæ (skjnldsv)2019-08-062-2/+2
| | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Bump webpack from 4.38.0 to 4.39.1dependabot-preview[bot]2019-08-048-35/+35
| | | | | | | | | Bumps [webpack](https://github.com/webpack/webpack) from 4.38.0 to 4.39.1. - [Release notes](https://github.com/webpack/webpack/releases) - [Commits](https://github.com/webpack/webpack/compare/v4.38.0...v4.39.1) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Move actual password reset to vueJulius Härtl2019-07-316-41/+41
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Add unit tests for "OC.Notification.hide()"Daniel Calviño Sánchez2019-07-261-0/+56
| | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Fix default timeouts in OC.NotificationDaniel Calviño Sánchez2019-07-267-10/+36
| | | | | | | | | | | | | | | | | | | | | | When no timeout was given "show()" used the default timeout of "OCP.Toast", which is 7 seconds instead of indefinitely as stated in the documentation of "show()". "showHtml()" should also indefinitely show the notification if no timeout is given, but due to the strict comparison the notification was indefinitely shown only when a timeout of 0 was explicitly given. Now both methods show the notification indefinitely (or until it is explicitly hidden) when no timeout is given. The unit tests did not catch this error because "showHtml()" had no tests (as before the move to Toastify it was called from "show()" and thus implicitly tested), and because "show()" verified that "hide()" was not called after some time; "hide()" is no longer called from "show()" since "OCP.Toast" is used internally, so the test always passed even if the notification was indeed hidden. Now the test is based on whether the element is found or not, and explicit tests were added too for "showHtml()". Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Fix mixed test for "show" and "showTemporary"Daniel Calviño Sánchez2019-07-261-1/+19
| | | | | | | | "showTemporary()" when a timeout was given was being tested along with the "show()" tests; now there are two separate tests when a timeout is given, one for "showTemporary()" and one for "show()". Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Check number of elements instead of if the jQuery object is definedDaniel Calviño Sánchez2019-07-261-4/+4
| | | | | | | | Tje jQuery object created through "$('#testArea .toastify')" will be always defined even if no elements were found, so the check does not really work; instead, it should be checked the number of elements found. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Bump blueimp-md5 from 2.10.0 to 2.11.0dependabot-preview[bot]2019-07-211-1/+1
| | | | | | | | | Bumps [blueimp-md5](https://github.com/blueimp/JavaScript-MD5) from 2.10.0 to 2.11.0. - [Release notes](https://github.com/blueimp/JavaScript-MD5/releases) - [Commits](https://github.com/blueimp/JavaScript-MD5/compare/v2.10.0...v2.11.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Rename parameter in OCP.Toast for consistency with OC.NotificationDaniel Calviño Sánchez2019-07-127-13/+18
| | | | | | | | This fixes HTML messages in "OC.Notification.showTemporary" (as "showHtml" was not set based on "isHTML"), and also makes OCP.Toast to keep the old OC.Notification API when used directly. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Merge pull request #15881 from PhieF/toggle-password-loginRoeland Jago Douma2019-07-092-2/+2
|\ | | | | adding toggle password to be able to see it when login
| * adding toggle password to be able to see itPhie2019-07-092-2/+2
| | | | | | | | Signed-off-by: Phie <phie@phie.ovh>
* | Bump marked to 0.7.0Roeland Jago Douma2019-07-092-2/+2
|/ | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Bump webpack from 4.35.0 to 4.35.2dependabot-preview[bot]2019-07-086-36/+36
| | | | | | | | | Bumps [webpack](https://github.com/webpack/webpack) from 4.35.0 to 4.35.2. - [Release notes](https://github.com/webpack/webpack/releases) - [Commits](https://github.com/webpack/webpack/compare/v4.35.0...v4.35.2) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Update core/src/components/login/ResetPassword.vueAkshala Bhatnagar2019-07-072-2/+2
| | | | Co-Authored-By: Julius Härtl <jus@bitgrid.net>