docbrown/spec
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
..
controllers Add headings to header tags (#1003) 2018-12-19 16:47:44 -05:00
factories ApiSecret model for Developer API (#1369) 2019-01-08 12:30:54 -05:00
features Add list-style to Widget (#1448) 2019-01-04 17:48:12 -05:00
labor Rubocop cleanups (#1415) 2019-01-02 11:20:02 -05:00
lib/acts_as_taggable_on Code cleanups (#659) 2018-08-07 11:00:13 -04:00
liquid_tags Fix liquid tag parsing error (#1481) 2019-01-07 15:54:57 -05:00
mailers Add tag moderation info page (#1360) 2018-12-19 09:27:55 -05:00
models ApiSecret model for Developer API (#1369) 2019-01-08 12:30:54 -05:00
observers Add slack message for warned user activity (#1077) 2018-11-07 13:29:05 -05:00
policies ApiSecret model for Developer API (#1369) 2019-01-08 12:30:54 -05:00
requests ApiSecret model for Developer API (#1369) 2019-01-08 12:30:54 -05:00
routing Code cleanups (#659) 2018-08-07 11:00:13 -04:00
services Rubocop cleanups (#1415) 2019-01-02 11:20:02 -05:00
support Fix liquid tag parsing error (#1481) 2019-01-07 15:54:57 -05:00
views Apply rubocop some rule (#295) 2018-08-13 16:32:11 -04:00
rails_helper.rb Notifications part 2 (#1156) 2018-11-19 18:14:24 -05:00
spec_helper.rb Use timezone aware methods (#893) 2018-10-18 16:26:29 -04:00