Arthur Schiwon
b15a5a7ca0
undo lastLogin changes in base and user/user as this has now been properly done in #8681
2014-06-02 12:55:45 +02:00
Arthur Schiwon
75cc16f2bd
remove debug output
2014-06-02 12:53:59 +02:00
Arthur Schiwon
2d83c68f05
make search parameter optional, which is already the case in the medthod it is passed to
2014-06-02 12:53:59 +02:00
Arthur Schiwon
28a012410a
polish JSDoc
2014-06-02 12:53:59 +02:00
Arthur Schiwon
92b8344489
replace setTimeout and clearTimeout handling by _.debounce
2014-06-02 12:53:59 +02:00
Arthur Schiwon
ec572607e1
remove group rename stuff, there is not support in the backends yet. to do for oc8.
2014-06-02 12:53:59 +02:00
Arthur Schiwon
7b63c2c036
cleanup
2014-06-02 12:53:59 +02:00
Arthur Schiwon
a9e8d53c8f
fix PHPDoc
2014-06-02 12:53:59 +02:00
Arthur Schiwon
122ebf28f7
typo
2014-06-02 12:53:59 +02:00
Arthur Schiwon
d030c28d69
bind undo to current deleteHandler
2014-06-02 12:53:59 +02:00
Jan-Christoph Borchardt
29ef2f7a2f
user mgmt: hide group rename function because it’s not supported in the backend yet
2014-06-02 12:53:59 +02:00
ringmaster
fc7438b221
Fix UserList.empty(), use _.defer() instead of setTimeout()
2014-06-02 12:53:58 +02:00
ringmaster
4de14fe6da
Javascript cleanup for groups.
2014-06-02 12:53:58 +02:00
ringmaster
c38548a1aa
Rebase cleanup.
...
Removing code that should not have been restored.
Originally removed in 45fd8f6d.
2014-06-02 12:53:58 +02:00
ringmaster
ad1c34db45
Revisions from review.
...
* 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.
2014-06-02 12:53:58 +02:00
ringmaster
1115d68f25
Fix broken span.
2014-06-02 12:53:58 +02:00
ringmaster
097887a659
Add the admin group to the group list data.
...
Fixes the admin group disappearing from the list when updating the display as the result of a search.
This group data should probably be managed on the page entirely by the javascript GroupList object, but this seems like the interim method.
2014-06-02 12:53:58 +02:00
ringmaster
747c011615
More specific selectors, javascript cleanup.
...
* 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.
2014-06-02 12:53:58 +02:00
Thomas Müller
f324aa7b24
fix some jshint errors
2014-06-02 12:53:58 +02:00
Jan-Christoph Borchardt
1abf69893d
user management: display table at full width
2014-06-02 12:53:58 +02:00
Jan-Christoph Borchardt
57cc51d21d
user management: remove autocompletion of user/password fields, fix #8464
2014-06-02 12:53:58 +02:00
Jan-Christoph Borchardt
66d00cf782
user management: remove unneeded and erroneous user filter reset function
2014-06-02 12:53:57 +02:00
ringmaster
1ae8ec698b
Make sure group data is returned.
2014-06-02 12:53:57 +02:00
Arthur Schiwon
f9f9550969
small fixes / cleanup
2014-06-02 12:53:57 +02:00
Lukas Reschke
f2fed6de4e
Rename $accessiblegroups to $accessibleGroups
2014-06-02 12:53:57 +02:00
Lukas Reschke
8141b9181c
Add space
2014-06-02 12:53:57 +02:00
Lukas Reschke
59fef54e92
Rename $accessibleusers to $accessibleUsers
2014-06-02 12:53:57 +02:00
Lukas Reschke
0067306fd6
Remove uneeded last comma
2014-06-02 12:53:57 +02:00
Lukas Reschke
b56d14260d
Rename $isadmin to $isAdmin
2014-06-02 12:53:57 +02:00
Arthur Schiwon
a9bd416643
add reset button for the filter field
2014-06-02 12:53:57 +02:00
Arthur Schiwon
3ff123f247
more appropriate label
2014-06-02 12:53:57 +02:00
Arthur Schiwon
dea7f45782
stick with current group when the filter is used
2014-06-02 12:53:57 +02:00
Arthur Schiwon
7b8935abda
show users whose username starts with the search pattern first
...
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
2014-06-02 12:53:56 +02:00
Arthur Schiwon
734dd7013e
add MetaData class for groups
2014-06-02 12:53:56 +02:00
Arthur Schiwon
5444a1114d
cleanup
2014-06-02 12:53:56 +02:00
Arthur Schiwon
3e411c82a5
unify and consolidate group fetching method for initial template fill and ajax request
2014-06-02 12:53:56 +02:00
Arthur Schiwon
d87347e64e
update GroupList when a users is added or removed to a group
2014-06-02 12:53:56 +02:00
Thomas Müller
3c9788d40c
js cleanup + typos
2014-06-02 12:53:56 +02:00
Thomas Müller
d779db5aba
js cleanup
2014-06-02 12:53:56 +02:00
Arthur Schiwon
08ad073cf5
make string translatable
2014-06-02 12:53:56 +02:00
Arthur Schiwon
cbcda49ee3
get translations from settings, not core
2014-06-02 12:53:56 +02:00
Arthur Schiwon
2a8afb0ad9
add PHP doc
2014-06-02 12:53:56 +02:00
Arthur Schiwon
249e42c4cd
enable group filtering
2014-06-02 12:53:55 +02:00
Arthur Schiwon
dbc854d8b8
Fire up server request only on typing printed or modifying characters and when the string actually changed
2014-06-02 12:53:55 +02:00
Arthur Schiwon
8df50acce7
some documentation
2014-06-02 12:53:55 +02:00
Arthur Schiwon
68dc665c65
dynamically decide whether to load 10 or 30 users
2014-06-02 12:53:55 +02:00
Arthur Schiwon
5b8ba79356
make filter work on server-side
2014-06-02 12:53:55 +02:00
Arthur Schiwon
19fd7cd9c7
When emptying a list, a hidden entry remains. If the user uid is the same as of a user being to be loaded, it will not be appended but removed. Thus, add a random user name to avoid such happenings.
2014-06-02 12:53:55 +02:00
Arthur Schiwon
5f57d72b93
kick out deprecated and dislodged OC.Router
2014-06-02 12:53:55 +02:00
raghunayyar
fe4b1f8b10
Enhancement: Adds Group to grouplist when added via multiselect
2014-06-02 12:53:55 +02:00