docbrown/spec/policies
Timothy Ng 84bd3a69d7 ApiSecret model for Developer API (#1369)
* Add ApiSecret model scaffold

* Add relationships between ApiSecret, User, Organization

* Add placeholder template to account tab

* Add description column to ApiSecrets

* Add very basic access token generation

* Add basic access token deletion

* Show access token on success flash

* Add placeholder message when user has no secrets

* Use cta style on token generation button

* Add presence validation for ApiSecret description

* Add ApiSecrets factory

* Add pundit policy for ApiSecret

* Nest form field within api_secret hash to allow rails strong params

* Use pundit to authorize ApiSecretController actions

* Add error message flash for ApiSecretsController actions

* Add specs for ApiSecretsController

* Add length validation to api secret description

* Flash model error instead of generic message on save failure

* Truncate ApiSecret factory objects descriptions to prevent validation error

* Remove length restriction on ApiSecret.description

* Use darker font color for token creation date

* Consolidate ApiSecret migrations
2019-01-08 12:30:54 -05:00
..
admin_policy_spec.rb Code cleanups (#659) 2018-08-07 11:00:13 -04:00
api_secret_policy_spec.rb ApiSecret model for Developer API (#1369) 2019-01-08 12:30:54 -05:00
article_policy_spec.rb Update analytics controller with new policy (#630) 2018-09-11 16:45:27 -04:00
block_policy_spec.rb Migrate to Travis CI --skip-ci (#588) 2018-07-16 17:11:42 -04:00
chat_channel_membership_policy_spec.rb Code cleanups (#659) 2018-08-07 11:00:13 -04:00
chat_channel_policy_spec.rb Code cleanups (#659) 2018-08-07 11:00:13 -04:00
comment_policy_spec.rb Rubocop cleanups (#1415) 2019-01-02 11:20:02 -05:00
follow_policy_spec.rb [Done] Add BDEFGI Policies and Specs (#487) 2018-06-26 09:23:07 -04:00
github_repo_policy_spec.rb [Done] Add BDEFGI Policies and Specs (#487) 2018-06-26 09:23:07 -04:00
html_variant_policy_spec.rb Rubocop cleanups (#1415) 2019-01-02 11:20:02 -05:00
image_upload_policy_spec.rb Code cleanups (#659) 2018-08-07 11:00:13 -04:00
organization_policy_spec.rb Rubocop cleanups (#1415) 2019-01-02 11:20:02 -05:00
reaction_policy_spec.rb Code cleanups (#659) 2018-08-07 11:00:13 -04:00
stripe_active_card_policy_spec.rb Add stripe policies and specs (#529) 2018-07-02 17:19:25 -04:00
stripe_subscription_policy_spec.rb Add stripe policies and specs (#529) 2018-07-02 17:19:25 -04:00
tag_policy_spec.rb Add pundit policy for several controllers (#476) 2018-06-21 18:26:35 -04:00
user_policy_spec.rb Finalize merge accounts (#820) 2018-10-04 12:27:37 -04:00
video_policy_spec.rb Code cleanups (#659) 2018-08-07 11:00:13 -04:00