Alex
|
49d4ec8d1c
|
[deploy] Revert "Update safe params for Array params (#7914)" (#8018)
This reverts commit 4eba14f150.
|
2020-05-21 12:39:55 -04:00 |
|
Alex
|
4eba14f150
|
[deploy] Update safe params for Array params (#7914)
|
2020-05-19 13:01:50 -04:00 |
|
Molly Struve
|
ea1d38d3b8
|
[deploy] Bulk Fetch Follow Button Data for Users (#7676)
|
2020-05-08 13:58:58 -05:00 |
|
Alex
|
b74b035e22
|
[deploy] Add new VCL snippets for Fastly (#7654)
* Add new VCL snippets
* Fix specs
* Partial match Fuzz Faster
* Remove PHP
|
2020-05-04 10:18:19 -04:00 |
|
Alex
|
7149070bca
|
[deploy] Create FastlyConfig & refactor params safe list (#7630)
* Fastly refactor
- Create FastlyConfig
- Create FastlyConfig::Base
- Create FastlyConfig::Snippets
- Move safe_params to its own VCL file
- Rescue unauthorized errors in development
- Add FastlyConfig errors
* Move active version to method
* Update naming option --> config
* Refactor InvalidConfigsFormat msg to Error class
* Refactor active version logic
* Fix log_to_datadog call
* Move get_active_version logic back into method
* Add some specs ¯\_(ツ)_/¯
* Update Fastly rake task
* Remove old Fastly way
* Update docs for Fastly
* Move snippets to config/ & remove old config
* Change update_config to upsert_config
* Change error type to SubclassResponsibility
* Refactor get_updated_files with filter_map
* Refactor update
* Cleanup update_config --> upsert_config
* Fix updater specs
|
2020-05-01 11:23:48 -04:00 |
|
rhymes
|
2d26318cf9
|
[deploy] Replace (black|white)list with more inclusive language (#7459)
* Replace isBlacklisted
* Update fastly.rake task
* More renames
* Rename Faslty config file
* More changes
* Replace isForbiddenFromPreloading with isNotPreloadable
* Skip problematic test
* Re-enable
|
2020-04-27 18:00:12 +02:00 |
|
Andy Zhao
|
2343785927
|
[deploy] Add type_of param to whitelist (#7342)
|
2020-04-16 16:52:32 -04:00 |
|
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 |
|