docbrown/app
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
..
assets Snackbars Stacking (#7318) 2020-04-16 09:28:46 -04:00
black_box [deploy] Remove Google Analytics page counts (#6969) 2020-04-14 10:44:05 -04:00
controllers [deploy] Small ld+json fix (#7309) 2020-04-15 16:50:27 -04:00
dashboards Delete non-existing method "organization" from user_dashboard model (#6989) 2020-04-01 13:59:13 -04:00
decorators Use scopes for Follow instead of where all the time (#6149) [deploy] 2020-02-25 19:29:52 -05:00
errors [deploy] Authentication refactoring - step 1 (#7259) 2020-04-15 12:13:10 -04:00
fields Enables Rails cops (#2186) 2019-03-25 09:25:55 -04:00
helpers [deploy] Cleanup some more dev.to generalisation (#7263) 2020-04-14 21:30:13 -04:00
javascript Split up content of EmailListTermsConditionsForm within onboarding (#7294) [deploy] 2020-04-15 15:16:53 -07:00
labor [deploy] Copy ActiveRecord methods from fastly-rails (#7145) 2020-04-13 10:46:15 -04:00
lib ensure that when Tag and ActsAsTaggableOn::Tag are updated their respective related docs are as well (#7218) 2020-04-14 08:38:09 -05:00
liquid_tags [deploy] display link liquid tgs for articles that may have been deleted (#7305) 2020-04-15 16:28:01 -04:00
mailers [deploy] Fix up connect group issues (#7051) 2020-04-02 21:58:59 -04:00
models [deploy] Improve some validations (#7335) 2020-04-16 18:59:12 +02:00
policies [deploy] Connect: move settings to sidecar iframe, improve invitations and remove experimental features (#6903) 2020-04-01 12:13:26 -04:00
queries/internal Refactor internal mods page (#7002) 2020-04-03 10:41:09 -04:00
sanitizers Add support for mark element in markdown (#2089) 2019-03-18 17:10:58 -04:00
serializers [deploy] Add new user attributes to elasticsearch (#7123) 2020-04-07 13:16:15 -04:00
services [deploy] Update whitelisted params on Fastly on deployments (#7279) 2020-04-16 15:11:57 -04:00
uploaders Limit ALL Upload file sizes to 25 MB (#5356) [deploy] 2020-01-07 11:20:40 -05:00
view_objects Remove RedisRailsCache and replace with Rails.cache (#5059) [deploy] 2019-12-10 13:11:08 -06:00
views [deploy] Improve some validations (#7335) 2020-04-16 18:59:12 +02:00
workers no need to use search_id for indexing worker (#7304) 2020-04-15 15:35:12 -04:00