OSDN Git Service

Added an API token for each User to use when making API requests. (#3920)
authorEric Davis <edavis@littlestreamsoftware.com>
Wed, 23 Dec 2009 06:27:28 +0000 (06:27 +0000)
committerEric Davis <edavis@littlestreamsoftware.com>
Wed, 23 Dec 2009 06:27:28 +0000 (06:27 +0000)
commitaa9951b38b27c7465a313fc72b73b819b292e9b2
treeff112e75cb81a66d7ae0568003f6bb81dc303e35
parent9f59cd64ab9fd10668cad6bbeae3c4daadb0325a
Added an API token for each User to use when making API requests. (#3920)

The API key will be displayed on My Account page with a link to reset or
generate a new one.  All existing users will have a token generated by the
migration.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3217 e93f8b46-1217-0410-a6f0-8f06a7374b81
app/controllers/my_controller.rb
app/models/user.rb
app/views/my/_sidebar.rhtml
app/views/my/account.rhtml
config/locales/en.yml
db/migrate/20091221004949_add_api_keys_for_users.rb [new file with mode: 0644]
test/functional/my_controller_test.rb
test/unit/user_test.rb