summaryrefslogtreecommitdiffstats
path: root/settings/js
Commit message (Collapse)AuthorAgeFilesLines
* fix wording for apps mgmt buttonsJan-Christoph Borchardt2016-12-131-1/+1
| | | | Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
* Fix #2473John Molakvoæ (skjnldsv)2016-12-061-26/+11
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* hide token configure menu when clicking outside itRobin Appelman2016-12-061-1/+10
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* hide all other token dropdowns when showing oneRobin Appelman2016-12-061-0/+1
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Merge pull request #2509 from nextcloud/sudo-mode-for-app-enablingLukas Reschke2016-12-051-0/+10
|\ | | | | Add sudo mode to enabling and disabling apps
| * Add sudo mode to enabling and disabling appsLukas Reschke2016-12-051-0/+10
| | | | | | | | | | | | | | | | | | | | Otherwise an administrator could bypass sudo mode by installing an app that allows RCE by design. I've by intention excluded the update endpoint from the requirement because updating apps should be as unintruisive as possible. Not the cleanest approach by adding this to the AJAX endpoints instead of requiring a controller but for 11 this felt safer for me. We can clean this up together later then. (also the other AJAX endpoints in this folder do have the same logic) Ref https://github.com/nextcloud/server/issues/2487 Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* | Merge pull request #2501 from ↵Morris Jobke2016-12-051-23/+30
|\ \ | |/ |/| | | | | nextcloud/issue-2472-remove-update-notification-after-updating Remove the update warning and the notification after an successful up…
| * Remove the update warning and the notification after an successful updateJoas Schilling2016-12-051-23/+30
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Merge pull request #2502 from nextcloud/personal-settings-dead-codeMorris Jobke2016-12-051-55/+0
|\ \ | | | | | | remove dead js code from personal settings
| * | remove dead js code from personal settingsChristoph Wurst2016-12-051-55/+0
| |/ | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* / Allow emtpy values on personal page and fix saving checkmark positionChristoph Wurst2016-12-051-1/+1
|/ | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Fix password change in user managementMorris Jobke2016-11-301-0/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Fix Regex for iPhone and add iPadLukas Reschke2016-11-281-2/+4
| | | | | | | | The previous Regex worked for an iPhone with version "10.0" but not with "10.0.1" which was wrong. I modified the Regex to also match for those situations. I also added a Regex for the iPad Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Loading icon fix #2198John Molakvoæ (skjnldsv)2016-11-241-1/+1
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Merge pull request #2224 from nextcloud/fix-visibility-switcherLukas Reschke2016-11-242-2/+2
|\ | | | | Fix visibility switcher for avatar
| * Make Christoph happierLukas Reschke2016-11-211-1/+1
| | | | | | | | | | | | Apparently this failed for him as per https://github.com/nextcloud/server/pull/2224#issuecomment-262085537 Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
| * Fix visibility switcher for avatarLukas Reschke2016-11-211-1/+1
| | | | | | | | | | | | Fixes #2223 Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* | Check if data is definedLukas Reschke2016-11-221-1/+1
| | | | | | | | | | | | | | | | | | | | Otherwise when adding a user as subadmin this would throw the following JS error: ``` users.js?v=bc2aae7…:500 Uncaught TypeError: Cannot read property 'message' of undefined(…)(anonymous function) @ users.js?v=bc2aae7…:500j @ jquery.js:3099fireWith @ jquery.js:3211x @ jquery.js:8264(anonymous function) @ jquery.js:8605 ``` Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* | use date as device name if no name was givenBjoern Schiessle2016-11-211-1/+1
|/ | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* small fixesBjoern Schiessle2016-11-211-2/+2
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* Ask for password when scope is changedLukas Reschke2016-11-211-0/+8
| | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Highlight current entryLukas Reschke2016-11-212-4/+26
| | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Make JS aware of password verificationLukas Reschke2016-11-211-0/+8
| | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* fix menu positioning hackJan-Christoph Borchardt2016-11-211-1/+1
| | | | Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
* put explanatory text directly in popupJan-Christoph Borchardt2016-11-211-3/+3
| | | | Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
* Fix position of menuRoeland Jago Douma2016-11-212-6/+14
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* change scope to 'local' for display name and avatarBjoern Schiessle2016-11-212-19/+28
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* update system address book if the user change the personal settingsBjoern Schiessle2016-11-211-1/+2
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* fix profile picture fed sharing scope menuChristoph Wurst2016-11-211-6/+6
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* use PUT to update user settingsChristoph Wurst2016-11-212-2/+6
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Add federation scope to the user avatarChristoph Wurst2016-11-212-12/+23
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Persist settings on the serverChristoph Wurst2016-11-212-12/+93
| | | | | | | | | | | | Persist personal settings federated sharing scopes Show new settings fields in read-only mode too Insert values on page load Return updated values; show inline success feedback Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Add more personal information fields to the settings page for enhanced ↵Christoph Wurst2016-11-213-7/+246
| | | | | | | | | | federated sharing fix layout Add generic way of handling input change events Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Merge pull request #1447 from nextcloud/password-confirmation-for-some-actionsMorris Jobke2016-11-185-91/+230
|\ | | | | Password confirmation for some actions
| * Fix user management callbacksMorris Jobke2016-11-181-34/+43
| | | | | | | | | | | | * properly handle user management actions like display name, email or password field change Signed-off-by: Morris Jobke <hey@morrisjobke.de>
| * Fix error displaying on email and add confirmationJoas Schilling2016-11-181-21/+37
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * Require password confirmation to change the QuotaJoas Schilling2016-11-181-3/+12
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * Require confirmation to change the displaynameJoas Schilling2016-11-181-15/+31
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * Confirm on create/delete groupJoas Schilling2016-11-181-2/+13
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * More fixesJoas Schilling2016-11-181-2/+2
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * Hide and show after updatingJoas Schilling2016-11-181-4/+10
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * Require password confirmation for user managementJoas Schilling2016-11-181-14/+54
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * Require confirmation when changing the email settingsJoas Schilling2016-11-181-10/+37
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * Fix error message displayingJoas Schilling2016-11-181-1/+1
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * Require password confirmation for app passwordJoas Schilling2016-11-181-0/+5
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Merge pull request #2108 from nextcloud/properly-parse-ie-useragentLukas Reschke2016-11-181-1/+1
|\ \ | |/ |/| Properly parse IE 11 user agent
| * Properly parse IE 11 user agentMorris Jobke2016-11-141-1/+1
| | | | | | | | | | | | * fixes #2101 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Merge pull request #2146 from nextcloud/add_copy_tooltip_to_clipboardRoeland Jago Douma2016-11-161-10/+18
|\ \ | | | | | | Adds copy tooltip to clipboards
| * | Fix tooltips - they now properly change on clickMorris Jobke2016-11-161-10/+18
| |/ | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | dropdown uiRobin Appelman2016-11-161-10/+9
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>