docbrown/docs/backend
Alex cc6249beff
[deploy] Update whitelisted params on Fastly on deployments (#7279)
* Add Fastly whitelisted params

* Create FastlyVCL::WhitelistedParams.update service

* Add specs

* Create rake task to call new service

* Add rake task to setup script

* Add documentatoin

* Move sort inside params_to_array method

* Rename VCL_REGEX to VCL_DELIMITER

* Add PR URL to docs

* Move snippet name to SNIPPET_NAME constant

* Refactor setting content

* Rename params_to_array to params_to_sorted_array

* Change guard and log success on update

- Return early if params are equal
- Log success message to Rails.logger on update
- Log params diff to Datadog

* Return true explicitly

* Move rake task execution from to release-tasks

* Remove unnecessary environment guard in task

* Remove duplicate code param

* Refactor string from build_content

* Remove reliance on sort

* Reorder logging to implicitly return true

* Update docs to reference release-script.sh

* Update docs

* Update whitelisted params

* Fix params_updated? bug and add more specs

* Remove duplicate param...oopsie!
2020-04-16 15:11:57 -04:00
..
admin.md Improve the clarity of the docs and fix Prettier config (#4899) 2019-11-26 08:40:53 -05:00
algolia.md Include instructions to set Algolia plan (#5941) 2020-02-06 17:21:05 -06:00
auth-github.md Remove unused Envfile variables (#5474) 2020-01-14 12:05:35 -05:00
auth-twitter.md Adding info about disappearing tokens (#5523) 2020-01-17 08:46:55 -05:00
authentication.md Improve the clarity of the docs and fix Prettier config (#4899) 2019-11-26 08:40:53 -05:00
authorization.md Improve the clarity of the docs and fix Prettier config (#4899) 2019-11-26 08:40:53 -05:00
configuration.md Add documentation for ENVied & SiteConfig (#5841) 2020-02-04 11:41:25 -06:00
data-update-scripts.md Make bin/setup predictable and repeatable and remove bin/update (#6566) 2020-03-10 15:46:23 +01:00
fastly.md [deploy] Update whitelisted params on Fastly on deployments (#7279) 2020-04-16 15:11:57 -04:00
notification.md remove rake jobs:work references from code (#6082) [deploy] 2020-02-14 15:18:08 -05:00
previewing-emails.md Improvements on dev docs (#2616) 2019-04-29 18:54:29 -04:00
pusher.md Adds Pusher Beams docs for Android PN (#7121) 2020-04-07 16:36:37 +02:00
readme.md [deploy] Update whitelisted params on Fastly on deployments (#7279) 2020-04-16 15:11:57 -04:00
roles.md feat: add per-user Open Dyslexic font setting (#5037) [deploy] 2020-01-20 18:23:57 -05:00
scheduled-jobs.md Improve the clarity of the docs and fix Prettier config (#4899) 2019-11-26 08:40:53 -05:00

title items
Backend Guide
authentication.md
auth-twitter.md
auth-github.md
authorization.md
configuration.md
data-update-scripts.md
fastly.md
roles.md
algolia.md
pusher.md
admin.md
previewing-emails.md
notification.md
scheduled-jobs.md

Backend Guide