docbrown/spec/factories
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_secrets.rb ApiSecret model for Developer API (#1369) 2019-01-08 12:30:54 -05:00
articles.rb WIP Refactor/notifications (#1131) 2018-11-19 16:09:02 -05:00
badge_achievements.rb Bump factorybot rails (#475) 2018-08-24 17:28:26 -04:00
badges.rb Code cleanups (#659) 2018-08-07 11:00:13 -04:00
blocks.rb Bump factorybot rails (#475) 2018-08-24 17:28:26 -04:00
broadcasts.rb Bump factorybot rails (#475) 2018-08-24 17:28:26 -04:00
chat_channel_memberships.rb Add initial invitation framework for chat channels (#528) 2018-07-02 16:31:20 -04:00
chat_channels.rb Bump factorybot rails (#475) 2018-08-24 17:28:26 -04:00
comments.rb Finalize merge accounts (#820) 2018-10-04 12:27:37 -04:00
display_ads.rb Bump factorybot rails (#475) 2018-08-24 17:28:26 -04:00
events.rb Use timezone aware methods (#893) 2018-10-18 16:26:29 -04:00
feedback_messages.rb Bump factorybot rails (#475) 2018-08-24 17:28:26 -04:00
github_repos.rb Bump factorybot rails (#475) 2018-08-24 17:28:26 -04:00
html_variants.rb Add HTML variants for cta optimization and other nav bar adjustments (#970) 2018-10-22 17:03:57 -04:00
identities.rb Bump factorybot rails (#475) 2018-08-24 17:28:26 -04:00
mentions.rb Bump factorybot rails (#475) 2018-08-24 17:28:26 -04:00
messages.rb Implement chatroom (#308) 2018-05-14 12:50:32 -04:00
notifications.rb Notifications part 2 (#1156) 2018-11-19 18:14:24 -05:00
organizations.rb Add badges and org cta (#324) 2018-05-17 18:22:37 -04:00
podcast_episodes.rb Stories views reorganization (#1317) 2018-12-13 14:54:02 -05:00
podcasts.rb Rubocop cleanups (#1415) 2019-01-02 11:20:02 -05:00
reactions.rb Fixes #708 the reading list pagination (#1149) 2018-11-19 09:09:10 -05:00
search_keywords.rb Add search_keywords record and associated functionality (#494) 2018-06-25 11:58:07 -04:00
tag_adjustments.rb [WIP] Allow mods to remove tags and send user notification (#1252) 2018-12-04 16:45:32 -05:00
tags.rb Bump factorybot rails (#475) 2018-08-24 17:28:26 -04:00
users.rb Use timezone aware methods (#893) 2018-10-18 16:26:29 -04:00