Stan Hu
3715a0f29b
Fix bug preventing invite by e-mail
...
This was broken in 70f5291808
as a result of introducing the ability to filter by current user.
Closes #2320
2015-08-21 13:47:56 -07:00
Douwe Maan
87dd3f215f
Let members be invited from Add members pane.
2015-04-14 12:08:10 +02:00
Stan Hu
3d2c387840
Move current user to the top of the list in author/assignee filters
...
Closes #1321
2015-04-09 01:04:53 -07:00
Dmitriy Zaporozhets
1c2711f7e3
Refactor UsersSelect to use internal gitlab autocomplete controller
2015-03-26 19:13:38 -07:00
Ciro Santilli
2d187976be
Run user select Js only where needed
...
Transform current implementation into regular Coffescript classes
so that the same call method can be reused on the dispatcher
as for other classes.
2014-10-27 18:28:36 +01:00
Dmitriy Zaporozhets
ae564c97d4
Dont expose user email via API
...
To prevent leaking of users info we reduce amount of user information
retrieved via API for normal users.
What user can get via API:
* if not admin: only id, state, name, username and avatar_url
* if admin: all user information
* about himself: all informaion
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-06-13 17:46:48 +03:00
Marvin Frick
587502390b
fixes gitlab.com issue #229
...
Changes .js.coffe files to not use a hardcoded path to
`no_avatar.png` but instead stick with the asset pipeline.
renames coffee.erb back to coffee
2014-06-10 22:28:11 +02:00
Olaf Mandel
c18e2778b2
Fix avatar URLs in JS-lists for relative_url_root
...
In user lists created when entering a (partial) user name into
a field, the URL to the user avatar was invalid if running with
relative_url_root.
This patch is the result of:
sed -i 's/\(= *\)\(user\.avatar_url\)/\1gon.relative_url_root + \2/' \
app/assets/javascripts/*.coffee
2014-05-20 15:22:23 +02:00
Dmitriy Zaporozhets
1d48904ac8
Show avatars in ajax user selectbox
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-02-13 15:45:24 +02:00
Dmitriy Zaporozhets
348e44ef06
Dont use avatars for user select if avatar is disabled
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-02-11 15:49:39 +02:00
skv
ae3cb2d6ce
coffee interpolation for template of user select
2013-12-20 21:31:45 +04:00
Steven Thonus
65cad57a35
avatar upload on profile page
2013-10-09 09:05:09 +02:00
Dmitriy Zaporozhets
c5f56ee8a0
Restyle admin:group:show. Remove .all calls fro users, projects here
2013-06-10 15:58:51 +03:00
Dmitriy Zaporozhets
3cdac0b934
Use Api.js to handle api calls to gitlab
2013-03-20 21:55:25 +02:00
Dmitriy Zaporozhets
3b42c267a6
Dont show blocked users in autocomplete
2013-03-19 18:07:14 +02:00
Dmitriy Zaporozhets
ef05423f47
Finish select2-ajax for users. Added Select2Helper for tests
2013-03-14 10:16:27 +02:00
Dmitriy Zaporozhets
bdcaf21ea7
Allow single/multiple user select
2013-03-13 23:19:09 +02:00
Dmitriy Zaporozhets
7316055ac8
multiselect for ajax-users-select2
2013-03-13 23:19:09 +02:00
Dmitriy Zaporozhets
163908b393
user select2 javascript
2013-03-13 23:19:09 +02:00