|
Sam's fix for the API token issue (#11)
* added data structures for testing * renamed token_permission_type to plural to follow convention of fixtures * added gem to allow testing of controllers * began implimenting testing for projects controller * fixed auth to reject empty string * added data structures for testing * added data structures for testing * removed old unnecissary data structures from fixtures * added forgotten view for org-admins giving user's api permissions * updated .gitignore * added gem to allow testing of controllers * began implimenting testing for projects controller * fixed auth to reject empty string * added data structures for testing * added data structures for testing * removed old unnecissary data structures from fixtures * added forgotten view for org-admins giving user's api permissions * updated .gitignore * fixed leftover merge conflict in .gitignore * updated org-admin view of users for rails 4.2 compatability * fiexed a bug where user's api token permissions wouldnt display * fixed syntax error * changed guidance_group to guidance_groups for consistancy with api spec * fix roadmap route * bugfixing auth for api * removed token_permission as it was accidentially re-added by a merge * added gem to allow testing of controllers * began implimenting testing for projects controller * fixed auth to reject empty string * added data structures for testing * added data structures for testing * removed old unnecissary data structures from fixtures * added forgotten view for org-admins giving user's api permissions * updated .gitignore * removed old unnecissary data structures from fixtures * updated .gitignore * updated org-admin view of users for rails 4.2 compatability * fiexed a bug where user's api token permissions wouldnt display * fixed syntax error * changed guidance_group to guidance_groups for consistancy with api spec * bugfixing auth for api * modified schema * removed admin interface to token_permission, another forgotten side-effect * removed admin interface to token_permission, another forgotten side-effect |
|---|
|
|
| .gitignore |
|---|
| Gemfile |
|---|
| app/admin/token_permission.rb 100644 → 0 |
|---|
| app/controllers/api/v0/base_controller.rb |
|---|
| app/controllers/api/v0/guidance_groups_controller.rb |
|---|
| app/controllers/token_permission_types_controller.rb |
|---|
| app/mailers/user_mailer.rb |
|---|
| app/models/token_permission.rb 100644 → 0 |
|---|
| app/models/user.rb |
|---|
| app/views/api/v0/guidance_groups/index.json.jbuilder |
|---|
| app/views/users/admin_api_update.html.erb 0 → 100644 |
|---|
| app/views/users/admin_index.html.erb |
|---|
| config/routes.rb |
|---|
| db/schema.rb |
|---|
| test/fixtures/dmptemplates_guidance_groups.yml 100644 → 0 |
|---|
| test/fixtures/guidances.yml |
|---|
| test/fixtures/org_token_permissions.yml 0 → 100644 |
|---|
| test/fixtures/token_permission.yml 100644 → 0 |
|---|
| test/fixtures/token_permission_type.yml 100644 → 0 |
|---|
| test/fixtures/user_org_roles.yml |
|---|
| test/fixtures/users.yml |
|---|
| test/functional/api_projects_controller_test.rb 0 → 100644 |
|---|