- added oauth support again (this time with no duplication)
authorMarcus Huewe <suse-tux@gmx.de>
Wed, 30 Mar 2011 20:05:25 +0000 (22:05 +0200)
committerSascha Peilicke <saschpe@suse.de>
Thu, 31 Mar 2011 08:53:41 +0000 (10:53 +0200)
commit1fa933cb536f6058476c728a6d5fa6a2b998ac79
tree338e6b78bbe06eb1a9816ef30d70f0f8f8dc3361
parent70c3badc5f02f8e003e3935c28adc19060750617
- added oauth support again (this time with no duplication)
110 files changed:
src/api/app/controllers/application_controller.rb
src/api/app/controllers/oauth_applications_controller.rb [new file with mode: 0644]
src/api/app/controllers/oauth_controller.rb [new file with mode: 0644]
src/api/app/helpers/oauth_clients_helper.rb [new file with mode: 0644]
src/api/app/helpers/oauth_helper.rb [new file with mode: 0644]
src/api/app/models/access_token.rb [new file with mode: 0644]
src/api/app/models/client_application.rb [new file with mode: 0644]
src/api/app/models/oauth_nonce.rb [new file with mode: 0644]
src/api/app/models/oauth_token.rb [new file with mode: 0644]
src/api/app/models/request_token.rb [new file with mode: 0644]
src/api/app/models/user.rb
src/api/app/views/oauth/authorize.rhtml [new file with mode: 0644]
src/api/app/views/oauth/edit.rhtml [new file with mode: 0644]
src/api/app/views/oauth/index.rhtml [new file with mode: 0644]
src/api/app/views/oauth/new.rhtml [new file with mode: 0644]
src/api/app/views/oauth/show_verifier.rhtml [new file with mode: 0644]
src/api/app/views/oauth_applications/_form.rhtml [new file with mode: 0644]
src/api/app/views/oauth_applications/edit.rhtml [new file with mode: 0644]
src/api/app/views/oauth_applications/index.rhtml [new file with mode: 0644]
src/api/app/views/oauth_applications/new.rhtml [new file with mode: 0644]
src/api/app/views/oauth_applications/show.rhtml [new file with mode: 0644]
src/api/config/environments/development_base.rb
src/api/config/routes.rb
src/api/db/migrate/048_create_oauth_tables.rb [new file with mode: 0644]
src/api/db/migrate/049_add_ttl.rb [new file with mode: 0644]
src/api/db/migrate/050_upgrade_oauth.rb [new file with mode: 0644]
src/api/db/migrate/051_add_description.rb [new file with mode: 0644]
src/api/db/migrate/052_add_client_application.rb [new file with mode: 0644]
src/api/spec/controllers/oauth_clients_controller_spec.rb [new file with mode: 0644]
src/api/spec/controllers/oauth_controller_spec.rb [new file with mode: 0644]
src/api/spec/controllers/oauth_controller_spec_helper.rb [new file with mode: 0644]
src/api/spec/fixtures/client_applications.yml [new file with mode: 0644]
src/api/spec/fixtures/oauth_nonces.yml [new file with mode: 0644]
src/api/spec/fixtures/oauth_tokens.yml [new file with mode: 0644]
src/api/spec/models/client_application_spec.rb [new file with mode: 0644]
src/api/spec/models/oauth_nonce_spec.rb [new file with mode: 0644]
src/api/spec/models/oauth_token_spec.rb [new file with mode: 0644]
src/api/vendor/plugins/oauth-plugin/.gitignore [new file with mode: 0644]
src/api/vendor/plugins/oauth-plugin/CHANGELOG [new file with mode: 0644]
src/api/vendor/plugins/oauth-plugin/MIT-LICENSE [new file with mode: 0644]
src/api/vendor/plugins/oauth-plugin/README.rdoc [new file with mode: 0644]
src/api/vendor/plugins/oauth-plugin/Rakefile [new file with mode: 0644]
src/api/vendor/plugins/oauth-plugin/VERSION [new file with mode: 0644]
src/api/vendor/plugins/oauth-plugin/generators/oauth_consumer/USAGE [new file with mode: 0644]
src/api/vendor/plugins/oauth-plugin/generators/oauth_consumer/oauth_consumer_generator.rb [new file with mode: 0644]
src/api/vendor/plugins/oauth-plugin/generators/oauth_consumer/templates/consumer_token.rb [new file with mode: 0644]
src/api/vendor/plugins/oauth-plugin/generators/oauth_consumer/templates/controller.rb [new file with mode: 0644]
src/api/vendor/plugins/oauth-plugin/generators/oauth_consumer/templates/index.html.erb [new file with mode: 0644]
src/api/vendor/plugins/oauth-plugin/generators/oauth_consumer/templates/index.html.haml [new file with mode: 0644]
src/api/vendor/plugins/oauth-plugin/generators/oauth_consumer/templates/migration.rb [new file with mode: 0644]
src/api/vendor/plugins/oauth-plugin/generators/oauth_consumer/templates/oauth_config.rb [new file with mode: 0644]
src/api/vendor/plugins/oauth-plugin/generators/oauth_consumer/templates/show.html.erb [new file with mode: 0644]
src/api/vendor/plugins/oauth-plugin/generators/oauth_consumer/templates/show.html.haml [new file with mode: 0644]
src/api/vendor/plugins/oauth-plugin/generators/oauth_provider/USAGE [new file with mode: 0644]
src/api/vendor/plugins/oauth-plugin/generators/oauth_provider/lib/insert_routes.rb [new file with mode: 0644]
src/api/vendor/plugins/oauth-plugin/generators/oauth_provider/oauth_provider_generator.rb [new file with mode: 0644]
src/api/vendor/plugins/oauth-plugin/generators/oauth_provider/templates/_form.html.erb [new file with mode: 0644]
src/api/vendor/plugins/oauth-plugin/generators/oauth_provider/templates/_form.html.haml [new file with mode: 0644]
src/api/vendor/plugins/oauth-plugin/generators/oauth_provider/templates/access_token.rb [new file with mode: 0644]
src/api/vendor/plugins/oauth-plugin/generators/oauth_provider/templates/authorize.html.erb [new file with mode: 0644]
src/api/vendor/plugins/oauth-plugin/generators/oauth_provider/templates/authorize.html.haml [new file with mode: 0644]
src/api/vendor/plugins/oauth-plugin/generators/oauth_provider/templates/authorize_failure.html.erb [new file with mode: 0644]
src/api/vendor/plugins/oauth-plugin/generators/oauth_provider/templates/authorize_failure.html.haml [new file with mode: 0644]
src/api/vendor/plugins/oauth-plugin/generators/oauth_provider/templates/authorize_success.html.erb [new file with mode: 0644]
src/api/vendor/plugins/oauth-plugin/generators/oauth_provider/templates/authorize_success.html.haml [new file with mode: 0644]
src/api/vendor/plugins/oauth-plugin/generators/oauth_provider/templates/client_application.rb [new file with mode: 0644]
src/api/vendor/plugins/oauth-plugin/generators/oauth_provider/templates/client_application_spec.rb [new file with mode: 0644]
src/api/vendor/plugins/oauth-plugin/generators/oauth_provider/templates/client_application_test.rb [new file with mode: 0644]
src/api/vendor/plugins/oauth-plugin/generators/oauth_provider/templates/client_applications.yml [new file with mode: 0644]
src/api/vendor/plugins/oauth-plugin/generators/oauth_provider/templates/clients_controller.rb [new file with mode: 0644]
src/api/vendor/plugins/oauth-plugin/generators/oauth_provider/templates/clients_controller_spec.rb [new file with mode: 0644]
src/api/vendor/plugins/oauth-plugin/generators/oauth_provider/templates/clients_controller_test.rb [new file with mode: 0644]
src/api/vendor/plugins/oauth-plugin/generators/oauth_provider/templates/controller.rb [new file with mode: 0644]
src/api/vendor/plugins/oauth-plugin/generators/oauth_provider/templates/controller_spec.rb [new file with mode: 0644]
src/api/vendor/plugins/oauth-plugin/generators/oauth_provider/templates/controller_spec_helper.rb [new file with mode: 0644]
src/api/vendor/plugins/oauth-plugin/generators/oauth_provider/templates/controller_test.rb [new file with mode: 0644]
src/api/vendor/plugins/oauth-plugin/generators/oauth_provider/templates/controller_test_helper.rb [new file with mode: 0644]
src/api/vendor/plugins/oauth-plugin/generators/oauth_provider/templates/edit.html.erb [new file with mode: 0644]
src/api/vendor/plugins/oauth-plugin/generators/oauth_provider/templates/edit.html.haml [new file with mode: 0644]
src/api/vendor/plugins/oauth-plugin/generators/oauth_provider/templates/index.html.erb [new file with mode: 0644]
src/api/vendor/plugins/oauth-plugin/generators/oauth_provider/templates/index.html.haml [new file with mode: 0644]
src/api/vendor/plugins/oauth-plugin/generators/oauth_provider/templates/migration.rb [new file with mode: 0644]
src/api/vendor/plugins/oauth-plugin/generators/oauth_provider/templates/new.html.erb [new file with mode: 0644]
src/api/vendor/plugins/oauth-plugin/generators/oauth_provider/templates/new.html.haml [new file with mode: 0644]
src/api/vendor/plugins/oauth-plugin/generators/oauth_provider/templates/oauth_nonce.rb [new file with mode: 0644]
src/api/vendor/plugins/oauth-plugin/generators/oauth_provider/templates/oauth_nonce_spec.rb [new file with mode: 0644]
src/api/vendor/plugins/oauth-plugin/generators/oauth_provider/templates/oauth_nonce_test.rb [new file with mode: 0644]
src/api/vendor/plugins/oauth-plugin/generators/oauth_provider/templates/oauth_nonces.yml [new file with mode: 0644]
src/api/vendor/plugins/oauth-plugin/generators/oauth_provider/templates/oauth_token.rb [new file with mode: 0644]
src/api/vendor/plugins/oauth-plugin/generators/oauth_provider/templates/oauth_token_spec.rb [new file with mode: 0644]
src/api/vendor/plugins/oauth-plugin/generators/oauth_provider/templates/oauth_token_test.rb [new file with mode: 0644]
src/api/vendor/plugins/oauth-plugin/generators/oauth_provider/templates/oauth_tokens.yml [new file with mode: 0644]
src/api/vendor/plugins/oauth-plugin/generators/oauth_provider/templates/request_token.rb [new file with mode: 0644]
src/api/vendor/plugins/oauth-plugin/generators/oauth_provider/templates/show.html.erb [new file with mode: 0644]
src/api/vendor/plugins/oauth-plugin/generators/oauth_provider/templates/show.html.haml [new file with mode: 0644]
src/api/vendor/plugins/oauth-plugin/init.rb [new file with mode: 0644]
src/api/vendor/plugins/oauth-plugin/install.rb [new file with mode: 0644]
src/api/vendor/plugins/oauth-plugin/lib/oauth-plugin.rb [new file with mode: 0644]
src/api/vendor/plugins/oauth-plugin/lib/oauth/controllers/application_controller_methods.rb [new file with mode: 0644]
src/api/vendor/plugins/oauth-plugin/lib/oauth/controllers/consumer_controller.rb [new file with mode: 0644]
src/api/vendor/plugins/oauth-plugin/lib/oauth/controllers/provider_controller.rb [new file with mode: 0644]
src/api/vendor/plugins/oauth-plugin/lib/oauth/models/consumers/service_loader.rb [new file with mode: 0644]
src/api/vendor/plugins/oauth-plugin/lib/oauth/models/consumers/services/agree2_token.rb [new file with mode: 0644]
src/api/vendor/plugins/oauth-plugin/lib/oauth/models/consumers/services/fireeagle_token.rb [new file with mode: 0644]
src/api/vendor/plugins/oauth-plugin/lib/oauth/models/consumers/services/twitter_token.rb [new file with mode: 0644]
src/api/vendor/plugins/oauth-plugin/lib/oauth/models/consumers/token.rb [new file with mode: 0644]
src/api/vendor/plugins/oauth-plugin/oauth-plugin.gemspec [new file with mode: 0644]
src/api/vendor/plugins/oauth-plugin/rails/init.rb [new file with mode: 0644]
src/api/vendor/plugins/oauth-plugin/tasks/oauth_tasks.rake [new file with mode: 0644]
src/api/vendor/plugins/oauth-plugin/uninstall.rb [new file with mode: 0644]