##// END OF EJS Templates
User custom fields can now be set as editable so that users can edit them on 'My account'....
User custom fields can now be set as editable so that users can edit them on 'My account'. For existing user custom fields, this new attribute is set to false by default to preserve the prior behaviour (it can turned on by editing the custom field in admin area). Note: on the registration form, *required* custom fields will be displayed even if they are not defined as editable so that the account can be created. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2276 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r1812:cc643ce932b2
r2274:12792d8068d0
Show More
sys_api.rb
33 lines | 1.3 KiB | text/x-ruby | RubyLexer
Jean-Philippe Lang
Initial commit for svn repository management and access control:...
r393 # redMine - project management software
# Copyright (C) 2006-2007 Jean-Philippe Lang
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
Jean-Philippe Lang
Merged nbc branch @ r1812 (commit access permission and reposman improvements)....
r1812 class AWSProjectWithRepository < ActionWebService::Struct
member :id, :int
member :identifier, :string
member :name, :string
member :is_public, :bool
member :repository, Repository
end
Jean-Philippe Lang
Initial commit for svn repository management and access control:...
r393 class SysApi < ActionWebService::API::Base
Jean-Philippe Lang
Merged nbc branch @ r1812 (commit access permission and reposman improvements)....
r1812 api_method :projects_with_repository_enabled,
Jean-Philippe Lang
Initial commit for svn repository management and access control:...
r393 :expects => [],
Jean-Philippe Lang
Merged nbc branch @ r1812 (commit access permission and reposman improvements)....
r1812 :returns => [[AWSProjectWithRepository]]
Jean-Philippe Lang
Initial commit for svn repository management and access control:...
r393 api_method :repository_created,
Jean-Philippe Lang
Merged nbc branch @ r1812 (commit access permission and reposman improvements)....
r1812 :expects => [:string, :string, :string],
Jean-Philippe Lang
Initial commit for svn repository management and access control:...
r393 :returns => [:int]
end