docbrown/spec/models
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
..
api_secret_spec.rb ApiSecret model for Developer API (#1369) 2019-01-08 12:30:54 -05:00
article_spec.rb [WIP] Really simple calculate reading time function (#1283) 2018-12-09 13:42:32 -05:00
badge_achievement_spec.rb Clean up spec outputs (#450) 2018-06-19 16:27:15 -04:00
badge_spec.rb Implement Badge & BadgeAchievement model (#273) 2018-05-07 13:35:16 -04:00
block_spec.rb Code cleanups (#659) 2018-08-07 11:00:13 -04:00
buffer_update_spec.rb Rubocop cleanups (#1415) 2019-01-02 11:20:02 -05:00
chat_channel_spec.rb Code cleanups (#659) 2018-08-07 11:00:13 -04:00
comment_spec.rb Rubocop cleanups (#1415) 2019-01-02 11:20:02 -05:00
display_ad_spec.rb Code cleanups (#659) 2018-08-07 11:00:13 -04:00
event_spec.rb Use timezone aware methods (#893) 2018-10-18 16:26:29 -04:00
feedback_message_spec.rb Rubocop cleanups (#1415) 2019-01-02 11:20:02 -05:00
follow_spec.rb Notifications part 2 (#1156) 2018-11-19 18:14:24 -05:00
github_issue_spec.rb Bump octokit from 4.8.0 to 4.12.0 (#744) [ci skip] 2018-09-25 17:04:58 -04:00
github_repo_spec.rb Use timezone aware methods (#893) 2018-10-18 16:26:29 -04:00
html_variant_spec.rb Rubocop cleanups (#1415) 2019-01-02 11:20:02 -05:00
html_variant_success_spec.rb Rubocop cleanups (#1415) 2019-01-02 11:20:02 -05:00
html_variant_trial_spec.rb Rubocop cleanups (#1415) 2019-01-02 11:20:02 -05:00
job_opportunity_spec.rb Code cleanups (#659) 2018-08-07 11:00:13 -04:00
mention_spec.rb WIP Refactor/notifications (#1131) 2018-11-19 16:09:02 -05:00
mentor_relationship_spec.rb Update mentor matching page (#1218) 2018-11-28 19:02:47 -05:00
message_spec.rb Fix rubocop lint (#583) 2018-09-10 11:19:11 -04:00
note_spec.rb Add slack notifications to notes for reports (#660) 2018-09-25 14:36:54 -04:00
notification_spec.rb Add guard to stop negative notifications (#1200) 2018-11-26 12:34:38 -05:00
organization_spec.rb Initial commit 2018-02-28 16:11:08 -05:00
podcast_episode_spec.rb Fix Rubocop Style/MixinUsage and cleanup prefix_all_images (#1451) 2019-01-04 14:20:53 -05:00
push_notification_subscription_spec.rb Clean up spec outputs (#450) 2018-06-19 16:27:15 -04:00
reaction_spec.rb Refactor Reaction (#1320) 2018-12-13 14:24:33 -05:00
search_keyword_spec.rb Code cleanups (#659) 2018-08-07 11:00:13 -04:00
tag_adjustment_spec.rb Rubocop cleanups (#1415) 2019-01-02 11:20:02 -05:00
tag_spec.rb Code cleanups (#659) 2018-08-07 11:00:13 -04:00
tweet_spec.rb Fix rubocop lints (#794) 2018-10-03 13:00:09 -04:00
user_spec.rb ApiSecret model for Developer API (#1369) 2019-01-08 12:30:54 -05:00