Jean-Philippe Lang
cdcf813fa7
Adds membership ids to /users/:id API response.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8805 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-06 16:32:50 +00:00
Jean-Philippe Lang
e4ef0b04ef
Adds specific css class for information in forms.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8754 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-02 20:07:37 +00:00
Toshi MARUYAMA
f9b0cfb63e
code layout clean up app/views/users/_memberships.html.erb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8611 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-10 08:43:32 +00:00
Jean-Philippe Lang
091de63f30
Use explicit path name.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8504 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-04 18:24:28 +00:00
Jean-Philippe Lang
3dcd71a082
REST urls for user memberships.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8146 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-10 08:37:48 +00:00
Jean-Philippe Lang
ede9a03405
Removed TabularFormBuilder references in views.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8142 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-09 18:40:28 +00:00
Jean-Philippe Lang
35e8f0d25d
User forms cleanup.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7889 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-22 21:43:11 +00:00
Toshi MARUYAMA
26313afd5a
[ #9489 ] added invisible label for mail notification, linked label where possible
...
Contributed by Romano Licker.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7692 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-29 01:22:31 +00:00
Toshi MARUYAMA
21d74ecead
[ #9489 ] linked labels to their element
...
Contributed by Romano Licker.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7688 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-29 01:20:28 +00:00
Etienne Massip
4ecd65c465
Remove unecessary page title HTML escaping from views ( #9252 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7565 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-02 18:45:17 +00:00
Toshi MARUYAMA
6b7f4a21a6
remove trailing white-spaces from app/views/users/index.html.erb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7375 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-18 01:57:49 +00:00
Toshi MARUYAMA
bcd3a9bf6f
replace tabs to spaces at app/views/users/_memberships.html.erb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7366 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-17 23:11:25 +00:00
Toshi MARUYAMA
8b9f0c290a
replace tabs to spaces at app/views/users/index.html.erb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7365 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-17 23:11:01 +00:00
Toshi MARUYAMA
397652321d
replace tabs to spaces at app/views/users/new.html.erb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7361 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-17 23:09:15 +00:00
Toshi MARUYAMA
efbd527692
replace tabs to spaces at app/views/users/_general.html.erb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7271 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-17 01:12:56 +00:00
Toshi MARUYAMA
d0155bba61
replace tabs to spaces at app/views/users/show.html.erb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7270 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-17 01:11:56 +00:00
Toshi MARUYAMA
205369616a
replace tabs to spaces and remove trailing white-spaces at app/views/users/_form.html.erb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7260 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-16 23:55:07 +00:00
Toshi MARUYAMA
cfb020a066
remove trailing white-spaces from app/views/users/show.api.rsb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7254 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-16 14:10:40 +00:00
Toshi MARUYAMA
b3869e00fc
rename .rhtml to .html.erb of app/views/users/index.rhtml.
...
:rhtml and :rxml were finally removed as template handlers at Rails 3.1 RC4.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7055 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-02 04:42:28 +00:00
Toshi MARUYAMA
6b298ca377
rename .rhtml to .html.erb of app/views/users/show.rhtml.
...
:rhtml and :rxml were finally removed as template handlers at Rails 3.1 RC4.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7054 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-02 04:41:44 +00:00
Toshi MARUYAMA
265810bab8
rename .rhtml to .html.erb of app/views/users/edit.rhtml.
...
:rhtml and :rxml were finally removed as template handlers at Rails 3.1 RC4.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7053 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-02 04:41:12 +00:00
Toshi MARUYAMA
9d7a93349c
rename .rhtml to .html.erb of app/views/users/_memberships.rhtml.
...
:rhtml and :rxml were finally removed as template handlers at Rails 3.1 RC4.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7049 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-02 04:19:50 +00:00
Toshi MARUYAMA
8285ede0b1
rename .rhtml to .html.erb of app/views/users/_form.rhtml.
...
:rhtml and :rxml were finally removed as template handlers at Rails 3.1 RC4.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7048 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-02 04:19:02 +00:00
Toshi MARUYAMA
7bdce08d70
rename .rhtml to .html.erb of app/views/users/_general.rhtml.
...
:rhtml and :rxml were finally removed as template handlers at Rails 3.1 RC4.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7047 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-02 04:18:20 +00:00
Toshi MARUYAMA
c3c6e6f405
rename .rhtml to .html.erb of app/views/users/_groups.rhtml.
...
:rhtml and :rxml were finally removed as template handlers at Rails 3.1 RC4.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7046 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-02 04:17:32 +00:00
Toshi MARUYAMA
4a291287d9
HTML escape at app/views/users/show.rhtml.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6387 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-02 13:16:08 +00:00
Toshi MARUYAMA
187a39a84c
HTML escape at app/views/users/edit.rhtml.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6386 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-02 13:15:24 +00:00
Jean-Philippe Lang
37aba18c8f
Do not show 'Send information' checkbox if email delivery is not configured.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6167 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-03 12:28:54 +00:00
Jean-Philippe Lang
c19e3e0627
Replaced h3+div with fieldsets on my account and user form.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6165 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-03 12:21:37 +00:00
Jean-Philippe Lang
6424155f59
Makes the user form look like account form.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5172 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-20 11:49:29 +00:00
Jean-Philippe Lang
a08c64e11f
Adds links to reset filters on users and projects list.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5151 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-16 18:23:51 +00:00
Jean-Philippe Lang
899d410e0b
Adds a Group filter on the admin users list ( #7893 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5150 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-16 18:20:08 +00:00
Jean-Philippe Lang
17591a3ea5
Warning on leaving a page with unsaved content in textarea ( #2910 ).
...
The warning can be turned off in the user's preference.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4900 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-02-21 09:53:29 +00:00
Jean-Philippe Lang
e9f62d1209
Enable ability for administrators to delete users ( #7296 ).
...
User's personal data (eg. preferences, tokens, private queries...) are deleted, public data (eg. issues, wiki edits, attachments...) are reassigned to the anonymous user.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4729 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-01-16 15:23:11 +00:00
Jean-Baptiste Barth
f9f1bd58d6
Fixed bad html generated in users/memberships partial (multiple </tbody> tags)
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4508 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-12-12 21:21:57 +00:00
Jean-Philippe Lang
2066b2f666
Code cleanup.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4497 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-12-12 14:25:23 +00:00
Jean-Philippe Lang
9e2d401f43
Moves mail_notification param to user hash param so that it can be set using the User API.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4496 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-12-12 14:19:24 +00:00
Jean-Philippe Lang
1d4f28a54d
Removed no longer needed to_sym.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4495 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-12-12 14:05:19 +00:00
Jean-Philippe Lang
cde02954c8
Moves password param to user hash param so that it can be set using the User API.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4493 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-12-12 13:39:55 +00:00
Jean-Philippe Lang
00d50157d3
Restores object count and adds offset/limit attributes to API responses for paginated collections ( #6140 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4489 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-12-11 13:13:49 +00:00
Jean-Philippe Lang
5f57bceabb
Makes some attributes optional in API response to get faster/lightweight responses.
...
These attributes are not required for common uses case (eg. updating an object). They can be requested in the reponse using the 'include' parameter. Example GET /issues/1.xml?include=journals. The list of attributes that can be included in responses will be documented in the wiki.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4486 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-12-11 10:19:11 +00:00
Jean-Philippe Lang
0e19aa4362
Fixed: error when serializing back objects with custom fields using ActiveResource ( #6403 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4480 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-12-10 10:12:19 +00:00
Jean-Philippe Lang
224921460a
Adds a pseudo format to api template names and overrides ActionController#default_template so that api templates are chosen automatically.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4466 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-12-04 17:43:39 +00:00
Jean-Philippe Lang
e9775097ec
Adds xml/json REST API for Users ( #6260 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4453 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-12-03 11:28:44 +00:00
Jean-Philippe Lang
475530e59f
Adds a "visible" option on User and Project custom fields ( #1738 ).
...
If set to false, the custom field won't be display on user profile/project overview.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4382 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-11-07 14:15:01 +00:00
Jean-Baptiste Barth
71dd4b8a7d
Fixed bad markup in users/general partial
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4249 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-10-11 20:34:33 +00:00
Eric Davis
a034172b24
Refactor: convert UsersController to resource
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4231 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-10-04 15:36:16 +00:00
Eric Davis
86ba692bf5
Refactor: split UsersController#edit into #edit and #update
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4230 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-09-30 18:22:46 +00:00
Eric Davis
d06a1a7fa4
Refactor: rename UsersController#add to #new
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4229 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-09-29 16:00:45 +00:00
Eric Davis
437690119b
Allow admins to edit user's email notifications and preferences. #3503
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4223 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-09-28 22:13:06 +00:00