summaryrefslogtreecommitdiffstats
path: root/core/js
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #3936 from nextcloud/downstream-27253Christoph Wurst2017-03-201-0/+2
|\ | | | | Add extensionpoint to sharedialogview
| * Add extensionpoint to sharedialogviewFelix Heidecke2017-03-191-0/+2
| | | | | | | | | | | | | | | | | | | | Write method overriding extension Add a list of unknowns while inputting a search term Rename OCA.Share extension point Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Clear onpopstate handlers after unit testsVincent Petry2017-03-191-0/+4
|/ | | | | | Fixes issue when running Karma tests in Firefox. Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* shares-circlesMaxence Lange2017-03-173-2/+23
| | | Signed-off-by: Maxence Lange <maxence@nextcloud.com>
* Merge pull request #3881 from nextcloud/downstream-26842Joas Schilling2017-03-171-5/+41
|\ | | | | Backbone Webdav Adapter MKCOL support
| * Backbone Webdav Adapter MKCOL supportVincent Petry2017-03-171-5/+41
| | | | | | | | | | | | | | | | | | | | Usually Backbone collections cannot be created and just simply exists. But in the Webdav world they need to be creatable. This enhancement makes it possible to use a Backbone Model to represent such collections and when creating it, it will use MKCOL instead of PUT. Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Merge pull request #3874 from nextcloud/harden-js-by-disabling-eval-executionRoeland Jago Douma2017-03-171-0/+9
|\ \ | |/ |/| Harden JS by disabling jQuery eval
| * Harden JS by disabling jQuery evalLukas Reschke2017-03-161-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | Disable execution of eval in jQuery. We do require an allowed eval CSP configuration at the moment for handlebars et al. But for jQuery there is not much of a reason to execute JavaScript directly via eval. This thus mitigates some unexpected XSS vectors. As example try to insert `$('.fileinfo').html('<a href="asd"><script>alert(1)</script></a>');` with and without this patch in your browsers JS console when the file list is opened. Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* | Merge pull request #3679 from nextcloud/socialsharingLukas Reschke2017-03-163-10/+173
|\ \ | |/ |/| Add social sharing
| * Fix layout of sharing buttonsMorris Jobke2017-03-141-13/+18
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
| * Fix testsRoeland Jago Douma2017-03-061-0/+1
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * Make sure copy tooltip remains when we have no social providersRoeland Jago Douma2017-03-031-5/+22
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * Move social buttons to menuRoeland Jago Douma2017-03-033-149/+96
| | | | | | | | | | | | | | | | | | * If there are social sharing buttons move them and the copy action to a menu * If there are no social sharing buttons just leave the copy action where it is directly Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * Add social sharingRoeland Jago Douma2017-03-033-1/+194
| | | | | | | | | | | | | | * Add socialshare manager * Add social share field under link share Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Merge pull request #3008 from nextcloud/appmenu-experimentMorris Jobke2017-03-161-2/+13
|\ \ | | | | | | Show apps in header
| * | Fix popover positioning after window resizeJulius Haertl2017-03-161-5/+13
| | | | | | | | | | | | Signed-off-by: Julius Haertl <jus@bitgrid.net>
| * | Fix menu issuesJulius Haertl2017-03-161-1/+4
| | | | | | | | | | | | Signed-off-by: Julius Haertl <jus@bitgrid.net>
| * | Show app icons in the headerJulius Haertl2017-03-161-2/+2
| | | | | | | | | | | | Signed-off-by: Julius Haertl <jus@bitgrid.net>
* | | Harden t() with DOMPurifyLukas Reschke2017-03-164-17/+23
| | | | | | | | | | | | | | | | | | This mitigates issues where developers pass untrusted user-input through t() which may lead to XSS issues. Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* | | Fix unit tests of masterRoeland Jago Douma2017-03-161-0/+38
| | | | | | | | | | | | | | | | | | Follow up to #3802 Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Merge pull request #3802 from Ko-/masterRoeland Jago Douma2017-03-161-0/+8
|\ \ \ | |/ / |/| | Check that set_time_limit is not disabled before calling it
| * | Add warning on admin screen when set_time_limit is unavailableKo-2017-03-161-0/+8
| |/
* | Merge pull request #3624 from marncz/masterRoeland Jago Douma2017-03-161-2/+15
|\ \ | | | | | | Update.js: countdown feedback before redirect
| * | SpacingMarcin Czarnecki2017-03-151-1/+1
| | | | | | | | | Signed-off-by: marncz <M.Czarnecki1@uni.brighton.ac.uk>
| * | Update: feedback before redirectMarcin Czarnecki2017-03-141-8/+9
| | | | | | | | | Signed-off-by: marncz <M.Czarnecki1@uni.brighton.ac.uk>
| * | Update: feedback before redirectMarcin Czarnecki2017-02-251-2/+14
| | | | | | | | | Signed-off-by: marncz <M.Czarnecki1@uni.brighton.ac.uk>
* | | Remove the double password confirmation on changing cronJoas Schilling2017-03-131-0/+1
| |/ |/| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Merge pull request #3643 from nextcloud/replace-deprecated-tipsyLukas Reschke2017-02-282-8/+8
|\ \ | | | | | | Replace deprecated $.tipsy(...) by $.tooltip(...)
| * | Replace deprecated $.tipsy(...) by $.tooltip(...)Christoph Wurst2017-02-272-8/+8
| |/ | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Merge pull request #3635 from individual-it/fix_quota_validationMorris Jobke2017-02-282-12/+34
|\ \ | |/ |/| better quota validation
| * make values with white spaces possibleArtur Neumann2017-02-282-1/+8
| | | | | | | | | | | | a user might enter values with white spaces, and that should be possible and valid Signed-off-by: Artur Neumann <info@individual-it.net>
| * better quota validationArtur Neumann2017-02-282-11/+26
| | | | | | | | | | | | | | | | | | | | this fixes #3634 1. fixed computerFileSize to be more picky about incorrect values 2. more tests for computerFileSize 3. use computerFileSize to validate user quota Signed-off-by: Artur Neumann <info@individual-it.net>
* | Merge pull request #3489 from nextcloud/give-hint-about-opcacheMorris Jobke2017-02-242-0/+49
|\ \ | | | | | | Show info in admin settings about PHP opcache if disabled
| * | Show info in admin settings about PHP opcache if disabledMorris Jobke2017-02-222-0/+49
| | | | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | Merge pull request #2602 from ↵Lukas Reschke2017-02-231-1/+1
|\ \ \ | | | | | | | | | | | | | | | | nextcloud/resize-the-controls-after-the-sidebar-slided-in Increase debounce time to make sure controls are resized after the sidebar disappeared
| * | | Increase debounce time to make sure controls are resized after the sidebar ↵Marius Blüm2017-01-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | disappeared Signed-off-by: Marius Blüm <marius@lineone.io>
* | | | fix typoBjoern Schiessle2017-02-221-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* | | | Use intval() for validation of config optionsMorris Jobke2017-02-211-1/+4
| | | | | | | | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | | Improve the UX for sharing settingsMorris Jobke2017-02-211-8/+44
| |/ / |/| | | | | | | | | | | | | | | | | * shows a info when list is potentially truncated * shows a warning when characters length is not enough Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | Always enable avatarsMorris Jobke2017-02-134-50/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | * we introduced this setting in the begining because our avatar support caused some performance issues, but we fixed them and should only provide one way how Nextcloud looks Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | Fix indentation and l10n compliance.m3ntalsp00n2017-02-081-3/+3
| | | | | | | | | | | | Signed-off-by: m3ntalsp00n <m3ntalsp00n@gmail.com>
* | | fix tests, longer wait time, update notification stubm3ntalsp00n2017-02-041-2/+4
| | | | | | | | | | | | Signed-off-by: m3ntalsp00n <m3ntalsp00n@gmail.com>
* | | showUpdate funciton allows updated messagesm3ntalsp00n2017-02-041-2/+36
| | | | | | | | | | | | Signed-off-by: m3ntalsp00n <m3ntalsp00n@gmail.com>
* | | allow editing single files shared as public linkBjoern Schiessle2017-01-242-1/+54
|/ / | | | | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* / Fix #3174John Molakvoæ (skjnldsv)2017-01-211-4/+4
|/ | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Merge pull request #3060 from nextcloud/cleanup-js-testsJoas Schilling2017-01-132-1/+10
|\ | | | | Cleanup js tests
| * expect warning to be shownChristoph Wurst2017-01-131-1/+3
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
| * add spies for l10n warningsChristoph Wurst2017-01-131-0/+7
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | create new encryption keys on password reset and backup the old oneBjoern Schiessle2017-01-101-1/+1
|/ | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* Merge pull request #2512 from nextcloud/cleanup-system-tag-usageRoeland Jago Douma2017-01-062-18/+76
|\ | | | | Only allow admins to delete tags