summaryrefslogtreecommitdiffstats
path: root/settings/js/users/users.js
Commit message (Collapse)AuthorAgeFilesLines
* fix user loadingArthur Schiwon2015-02-041-1/+6
|
* Add value if restore of data is possible for a userMorris Jobke2015-01-271-1/+16
| | | | | | | | | | | * reason: nice to know before password change in user management * restore is possible: * encryption is disabled * encryption is enabled, admin and user has checked the restore option * if not possible: * highlight users row in red once the admin wants to change the password * show also a little tipsy
* do not clear fields until request return successSugaroverdose2015-01-201-1/+2
|
* Drop the hide and show of new users in user listMorris Jobke2015-01-161-7/+0
| | | | | | | * causes the first load after the initial load to hide some users in the viewport and showing them again, but with a scrolled up viewport * causes higher load for nearly never visible effects * fixes #12962
* Mail address of users is now changable in the user managementMorris Jobke2014-12-181-38/+96
| | | | | | | | | | | * introduced new route settings/users/{id}/mailAddress * kept old responses * better error messages * dropped lostpassword.php from settings/ajax * cleaned up the UserList.add() and hand in user object instead of each attribute as another parameter * check for change permission of mail address * proper response messages
* Merge pull request #12870 from owncloud/send-mail-new-userThomas Müller2014-12-181-2/+21
|\ | | | | Send mail for new users
| * Send mail for new usersMorris Jobke2014-12-161-2/+21
| | | | | | | | | | | | * supply mail address * send mail with username and URL to that mail address * option to temporary enable this feature
* | fix initial loading limit of user management on large screensMorris Jobke2014-12-121-4/+16
|/
* Show user backend in user managementMorris Jobke2014-12-121-11/+20
| | | | | | | * add switch to settings to show user backend * user classes for headers and rows to unify the show/hide statement * add user backend to response of user create request * proper markup in settings area
* add comments to user list JS for better understandingMorris Jobke2014-12-121-0/+26
|
* remove PHP generated user list and move all to the existing JS partMorris Jobke2014-12-121-4/+13
|
* Expose backend type via REST APILukas Reschke2014-12-091-27/+26
| | | | | | | | | This change will expose the user backend via the REST API which is a pre-requisite for https://github.com/owncloud/core/issues/12620. For example: ````json [{"name":"9707A09E-CA9A-4ABE-A66A-3F632F16C409","displayname":"Document Conversion User Account","groups":[],"subadmin":[],"quota":"default","storageLocation":"\/Users\/lreschke\/Programming\/core\/data\/9707A09E-CA9A-4ABE-A66A-3F632F16C409","lastLogin":0,"backend":"OCA\\user_ldap\\USER_LDAP"},{"name":"ED86733E-745C-4E4D-90CB-278A9737DB3C","displayname":"Hacker","groups":[],"subadmin":[],"quota":"default","storageLocation":"\/Users\/lreschke\/Programming\/core\/data\/ED86733E-745C-4E4D-90CB-278A9737DB3C","lastLogin":0,"backend":"OCA\\user_ldap\\USER_LDAP"},{"name":"71CDF45B-E125-450D-983C-D9192F36EC88","displayname":"admin","groups":[],"subadmin":[],"quota":"default","storageLocation":"\/Users\/lreschke\/Programming\/core\/data\/71CDF45B-E125-450D-983C-D9192F36EC88","lastLogin":0,"backend":"OCA\\user_ldap\\USER_LDAP"},{"name":"admin","displayname":"admin","groups":["admin"],"subadmin":[],"quota":"default","storageLocation":"\/Users\/lreschke\/Programming\/core\/data\/admin","lastLogin":"1418057287","backend":"OC_User_Database"},{"name":"test","displayname":"test","groups":[],"subadmin":[],"quota":"default","storageLocation":"\/Users\/lreschke\/Programming\/core\/data\/test","lastLogin":0,"backend":"OC_User_Database"}] ```
* React on other statuscodes than 200Lukas Reschke2014-12-081-32/+27
|
* Add REST route for user & group managementLukas Reschke2014-12-081-3/+3
| | | | First step of a somewhat testable user management. - I know, the JSON returns are in an ugly format but the JS expects it that way. So let's keep it that way until we have time to fix the JS in the future.
* changed default dropdown contentSebastian Bolt2014-11-071-1/+1
| | | | to fix issue #11959
* "Group admin" default label (issue #7706)Sebastian Bolt2014-10-221-1/+1
| | | | | | Changed the column header to "Group Admin for" and the default value of the multiselect box to "no group" if user is not a groupadmin for any group.
* restrict $div to local scopemichag862014-10-071-1/+1
|
* variable for found avatar divmichag862014-10-071-4/+5
|
* fix for issue #10483michag862014-10-061-2/+4
|
* Merge pull request #7254 from owncloud/core-sortalgoLukas Reschke2014-09-161-1/+3
|\ | | | | Fixed JS sort comparator to be consistent between JS and PHP
| * Fixed file list sortingVincent Petry2014-08-111-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | Now using a natural sort algorithm that is more consistent between JS and PHP (although not perfect in some corner cases) - added OC.Util.naturalSortComparator that uses the same algo that was used for the user list - changed user list and files list to use OC.Util.naturalSortComparator - removed toLowerCase() and changed the comparator to use String.localeCompare() - added unit tests - added OC_NaturalSort that is used by OCP\Util::naturalSortCompare()
* | Adds 2 checkboxes at the top of userlist in the settings, to display/hide ↵Stephane V2014-08-281-0/+23
| | | | | | | | | | | | optional columns This fixes #9367.
* | Implementing moment.jsClark Tomlinson2014-08-281-3/+2
| | | | | | | | | | | | | | | | Updating Usages Removing unused method Adding JS Doc
* | Fix default quota settings fieldVincent Petry2014-08-121-30/+52
|/ | | | | | | | | | | The default quota settings field is initially hidden which makes it impossible for singleSelect() to make its width measurements. This fix uses the app navigation slide "show" event to defer the singleSelect() initialization on the default quota field. Refactored setQuota() into UserList._updateQuota(). Refactored duplicate event handler code into UserList.onQuotaSelect().
* $.unique works only for DOM elementsArthur Schiwon2014-07-181-1/+3
|
* Fixed JS and CSS issues in users pageVincent Petry2014-07-171-1/+1
| | | | | | - Renamed "delete" to "deleteEntry" to make IE8 happy. - Added missing "svg" class for the "+" button - Added height to "+" button but was unable to properly align it
* Strinct comparsion fixDeLtAfOx2014-07-151-2/+2
|
* Userlist: async load doesnt fill checked group/subadmin arrayDeLtAfOx2014-07-151-2/+12
|
* use .filterAttr()Thomas Müller2014-07-091-4/+4
|
* use .filterAttr()Thomas Müller2014-07-091-7/+8
|
* some more cleanupThomas Müller2014-07-091-38/+36
|
* remove the group in case the last user has removed from that groupThomas Müller2014-07-091-0/+12
|
* fixing JS synatx errorsThomas Müller2014-07-091-2/+2
|
* increase/decrease everyone count on user creation/deletionArthur Schiwon2014-07-091-6/+25
|
* decrease user count in affected groups after user deleteArthur Schiwon2014-07-091-0/+14
|
* increment group counters when a user is createdArthur Schiwon2014-07-091-2/+8
|
* Fixes #9497Stephane V2014-07-071-0/+1
|
* Revert "hides table header while users load."Arthur Schiwon2014-07-021-2/+0
| | | | This reverts commit 0dc12a3737127aad28be12f9417d2a63601a88ff.
* hides table header while users load.raghunayyar2014-07-011-0/+2
|
* Make sure last seen tooltip always appears even after searching and filteringArthur Schiwon2014-06-191-3/+13
|
* fix split translationsVolkan Gezer2014-06-061-2/+2
|
* cleanupArthur Schiwon2014-06-021-1/+0
|
* Rebase cleanup.ringmaster2014-06-021-1/+0
| | | | | Removing code that should not have been restored. Originally removed in 45fd8f6d.
* Revisions from review.ringmaster2014-06-021-47/+54
| | | | | | * Explicit toString()-based getters for uid and displayname data. * Restored user check for group multiselect in new user creation form. * Removed jQuery colon expr for uid.
* More specific selectors, javascript cleanup.ringmaster2014-06-021-249/+273
| | | | | | | | | | | | | | | * Assigned jQuery selector results to variables for speed. * Moved all .attr('data') calls to .data() calls. * Added :data(uid) selector. * Split the multiselect checkhandlers into separate functions. * De-duped click event on password change/img. * Used fluent interface on jQuery object for event binding. * Removed redundant tag names in class selectors. * Fixed incorrect date display for last login. * Added Userlist.has() to search for uid. * General code convention compliance fixes. to-do: Group dropdowns currently don't add the admin group after the search result, not sure why yet.
* fix some jshint errorsThomas Müller2014-06-021-23/+23
|
* user management: remove unneeded and erroneous user filter reset functionJan-Christoph Borchardt2014-06-021-1/+0
|
* Remove uneeded last commaLukas Reschke2014-06-021-1/+1
|
* add reset button for the filter fieldArthur Schiwon2014-06-021-0/+1
|
* show users whose username starts with the search pattern firstArthur Schiwon2014-06-021-4/+37
| | | | We may want to switch or extend it to display name. I leave it like this for now, continued work on this needs to have sortable columns in mind