Ben Halpern
b6fa936e36
Customize ahoy email to track clicks async without redirect ( #20809 )
...
* Initial controller creation
* Ahoy custom clicks initial WIP
* Add test for success and failure
* Adjust some tests
* Adjust test
* Adjust tests and some code
* Update app/views/mailers/digest_mailer/digest_email.html.erb
* Remove s/t/u from safe params
* Add simple test
* Update app/controllers/ahoy/custom_email_clicks_controller.rb
Co-authored-by: Mac Siri <mac@forem.com>
* Change to just email clicks
* Email clicks controller test
---------
Co-authored-by: Mac Siri <mac@forem.com>
2024-04-01 15:05:04 -04:00
Ben Halpern
60598a0c4c
Update URL parameter safelist ( #20759 )
2024-03-11 16:15:45 -04:00
Philip How
d615fcef56
Add new members filter to mod center ( #20542 )
...
* fix jest
* Update safe_params_list.vcl
---------
Co-authored-by: Ben Halpern <bendhalpern@gmail.com>
2024-01-23 16:07:45 -05:00
Ben Halpern
5c2723a04e
Update safe params and billboard cache config ( #20530 )
2024-01-16 12:13:29 -05:00
Ben Halpern
0ddb133c49
Add ability for admins to request specific billboards for inspection ( #20311 )
2023-11-02 16:58:28 -04:00
Ben Halpern
eb17b73690
Add new countries to edge cache dictionary ( #20084 )
2023-09-12 12:05:34 -04:00
Ridhwana
991472e4d6
Update vcl list with query params ( #19918 )
...
* chore: update list with the new query parameters added. Fastly ignores stuff we don't add to that list.
* Skip problematic comment spec (#19919 )
---------
Co-authored-by: Mac Siri <mac@forem.com>
2023-08-11 00:06:24 +02:00
PJ
c202afdec6
Show billboards to users by location (async requests) ( #19886 )
...
* use HTTP_CLIENT_GEO in billboards show action
* limit targeting to signed in users
* re-add cypress test
* simplify billboards request spec
* fix header problems hopefully?
* whoops
* Squash filleduchaos/caching-billboards-by-location
* export ISO 3166-2 regions
* wip
* remove ISO 3166-2 regions
* finally, a VCL config that...works?
* update billboard controller & specs
* fix specs
* clean up and document VCL some more
* remove vcl_init sub
* remove billboard fragment caching
2023-08-09 19:07:57 +01:00
PJ
a9fbb83be0
Add VCL snippet for client geo header ( #19780 )
...
* add VCL snippet for client geo header
* update snippet with docs + covering more edge cases
2023-07-31 14:15:40 +01:00
Ben Halpern
56c914cc8a
Add billboard to safe param list in Fastly vcl ( #19515 )
2023-05-22 12:04:10 -04:00
Ridhwana
0771a5cd2e
Load post_comments billboard asynchronously ( #19285 )
...
* feat: add a route to the async_info for display ads
* feat: load the billboard asyncronously
* feat: move the methods to the display_ads controller
* feat: handle params better
* feat: cache control headers
* feat: test fastly caching headers on display ads
* fix: surrogate key test
* feat: use safe navigation operator to handle cases where there is no article id
* fix: article id present then find the article
* feat: add a response test
* Fragment caching
* feat: update the article decorator
* feat: update cache keys for fragment
* feat: remove an empty line
* feat: add article id
* feat: bust cache
* feat: setup dropdown for billboard
* chore: add chunk to same line
* feat: add to safe params for caching
* Update app/controllers/display_ads_controller.rb
Co-authored-by: Joshua Wehner <joshua@forem.com>
* feat: remove the cache deletion
* feat: update the routes to follow a new scope
* feat: update the cache params
---------
Co-authored-by: Joshua Wehner <joshua@forem.com>
2023-04-12 18:15:15 +02:00
Ben Halpern
9f44530491
Add "comments_sort" to safe params list ( #17083 )
2022-04-01 18:27:49 -04:00
Ben Halpern
050976af25
Add "period" to safe params list ( #17079 )
2022-04-01 14:18:07 -04:00
Daniel Uber
7f5247d427
Remove block on Chrome/74 ( #16519 )
...
Observed the (beneficial) wayback machine was sending this user agent
string when making archive requests, but has been reporting 403's when
interacting with DEV recently.
2022-02-09 18:15:43 -05:00
Jamie Gaskins
329f33448f
Disallow null user agent and obsolete browser ( #15817 )
...
We were previously disallowing empty user agents, but we weren't
blocking requests where the User-Agent header wasn't set at all. This
commit blocks those requests.
This commit also blocks Chrome 74. It's a 2.5-year-old version of an
evergreen browser that releases every 6 weeks, so this is clearly a bot
spoofing this header.
2021-12-17 15:02:30 -05:00
Jamie Gaskins
e188eac55d
Fix Fastly bot block for Ruby Net::HTTP clients ( #15713 )
...
I was using the wrong VCL request property. It's `req.url`, not `req.http.url`.
https://developer.fastly.com/reference/vcl/variables/client-request/req-url/
2021-12-08 12:32:04 -05:00
Jamie Gaskins
172906271c
Block more bots ( #15626 )
2021-12-01 13:06:28 -05:00
Michael Kohl
09828853f6
✂✂✂ Remove Connect ( #14734 )
...
* Remove Connect
* Remove more Connect specs
* Remove a lot more Connect code
* 🚮
* It all has to go
* Explicitly add httpclient
* Update application layout
* Remove messages association from User
* Start fixing specs
* reintroduce util function and refactor references
* Remove Connect Cypress test
* Fix more specs
* Remove Connect from listings
* Ignore contact_via_connect column on listings
* Remove contact_via_connect usages
* Ignore mod_chat_channel_id on tags
* Drop Connect tables
* Remove email_connect_messages from user notification settings
* Re-add httpclient 2.8.3
This was mistakenly removed as a merge conflict
* Don't need to exclude removed chat channel file
* Remove unneeded style for chat channels
* Remove unneeded channel list prop type
* Remove chat channels index/connect-link from getPageEntries
* Re-add comment from httpclient in Gemfile
* Remove connect references from mailers
Tag Moderators no longer have a chat channel
No longer will users be notified about new messages (there won't be
any)
No longer will users be notified about channel invites (you can't
invite anyone anymore)
* Don't configure Pusher and remove PUSHER_* from .env_sample
since it's removed from gemfile, the Pusher constant will not resolve, if this is
configured in the environment variables we'll fail to boot.
Co-authored-by: Suzanne Aitchison <suzanne@forem.com>
Co-authored-by: Dan Uber <dan@forem.com>
2021-11-18 08:21:00 -06:00
Michael Kohl
5a9fdd4e01
Fix search param cache leak ( #14848 )
2021-09-30 10:43:23 +07:00
Ben Halpern
686b174012
Add onboarding param to safe list ( #11814 )
2020-12-08 13:34:53 -05:00
Ben Halpern
034b049e3d
Add email to safe_params ( #11135 )
2020-10-28 13:46:54 -04:00
Alex
7e9447ccd1
Add forem_owner_secret to params ( #10938 )
...
* Add forem_owner_secret to params
* Add forem_owner_secret to safe_params_list
2020-10-19 16:43:21 -04:00
jkrsn98
8639e3b748
API: retrieve podcast episodes comments ( #9677 )
...
* modified index to allow retreival of comments belonging to either articles or podcast episodes
* updated comments section in api documentation to include info on podcast comments
* Remove DEV badge link (#9675 )
* [deploy] Profile Admin UI Setup Screen Refactor (v1.5) (#9649 )
* implement some suggestions from https://github.com/forem/forem/pull/9610
* chore: update the errors based on suggestions
* feat: make query readable on blazer
* added new parameter p_id to safe parameters
* Remove forward slash from br tags in pages partial (#9678 )
* [deploy] Change lingering `/internal` paths to `/admin` (#9673 )
* Change lingering `/internal` paths to `/admin`
* Fix multiline test expectation
* [deploy] Add new support admin role (#9681 )
* Add new support admin role
* Allow support admins to banish users
* Fix spec order for new support admin role
* Migrate serialization to jsonapi-serializer (#9682 )
This replaces the abandoned fast_jsonapi.
* [deploy] Async Handle Notifications for Comments When Saved (#9680 )
* [deploy] Optimization: Change Large Table Primary Keys to Bigints (#9476 )
* [deploy] Revert "Async Handle Notifications for Comments When Saved (#9680 )" (#9686 )
This reverts commit 852223dd86 .
* Bump ddtrace from 0.38.0 to 0.39.0 (#9695 )
* Bump ddtrace from 0.38.0 to 0.39.0
Bumps [ddtrace](https://github.com/DataDog/dd-trace-rb ) from 0.38.0 to 0.39.0.
- [Release notes](https://github.com/DataDog/dd-trace-rb/releases )
- [Changelog](https://github.com/DataDog/dd-trace-rb/blob/master/CHANGELOG.md )
- [Commits](https://github.com/DataDog/dd-trace-rb/compare/v0.38.0...v0.39.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* Bump ddtrace from 0.38.0 to 0.39.0 (Update vendor/cache)
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
* Bump vault from 0.14.0 to 0.15.0 (#9697 )
* Bump vault from 0.14.0 to 0.15.0
Bumps [vault](https://github.com/hashicorp/vault-ruby ) from 0.14.0 to 0.15.0.
- [Release notes](https://github.com/hashicorp/vault-ruby/releases )
- [Changelog](https://github.com/hashicorp/vault-ruby/blob/master/CHANGELOG.md )
- [Commits](https://github.com/hashicorp/vault-ruby/compare/v0.14.0...v0.15.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* Bump vault from 0.14.0 to 0.15.0 (Update vendor/cache)
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
* [deploy] Optimization:Set Honeybadger send_data_at_exit to False (#9687 )
* Travis Optimization:Bundle from Bash File to Use Cache (#9705 )
* Bump stripe from 5.22.0 to 5.23.1 (#9692 )
* Bump stripe from 5.22.0 to 5.23.1
Bumps [stripe](https://github.com/stripe/stripe-ruby ) from 5.22.0 to 5.23.1.
- [Release notes](https://github.com/stripe/stripe-ruby/releases )
- [Changelog](https://github.com/stripe/stripe-ruby/blob/master/CHANGELOG.md )
- [Commits](https://github.com/stripe/stripe-ruby/compare/v5.22.0...v5.23.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* Bump stripe from 5.22.0 to 5.23.1 (Update vendor/cache)
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
* [deploy] Bump ancestry from 3.0.7 to 3.1.0 (#9689 )
* Bump ancestry from 3.0.7 to 3.1.0
Bumps [ancestry](https://github.com/stefankroes/ancestry ) from 3.0.7 to 3.1.0.
- [Release notes](https://github.com/stefankroes/ancestry/releases )
- [Changelog](https://github.com/stefankroes/ancestry/blob/master/CHANGELOG.md )
- [Commits](https://github.com/stefankroes/ancestry/compare/v3.0.7...v3.1.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* Bump ancestry from 3.0.7 to 3.1.0 (Update vendor/cache)
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
* Bump rubocop from 0.88.0 to 0.89.0 (#9699 )
* Bump rubocop from 0.88.0 to 0.89.0
Bumps [rubocop](https://github.com/rubocop-hq/rubocop ) from 0.88.0 to 0.89.0.
- [Release notes](https://github.com/rubocop-hq/rubocop/releases )
- [Changelog](https://github.com/rubocop-hq/rubocop/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rubocop-hq/rubocop/compare/v0.88.0...v0.89.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* Bump rubocop from 0.88.0 to 0.89.0 (Update vendor/cache)
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
* Bump twilio-ruby from 5.39.2 to 5.39.3 (#9690 )
* Bump twilio-ruby from 5.39.2 to 5.39.3
Bumps [twilio-ruby](https://github.com/twilio/twilio-ruby ) from 5.39.2 to 5.39.3.
- [Release notes](https://github.com/twilio/twilio-ruby/releases )
- [Changelog](https://github.com/twilio/twilio-ruby/blob/main/CHANGES.md )
- [Commits](https://github.com/twilio/twilio-ruby/compare/5.39.2...5.39.3 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* Bump twilio-ruby from 5.39.2 to 5.39.3 (Update vendor/cache)
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
* Bump ibm-openapi-validator from 0.28.0 to 0.28.1 (#9703 )
Bumps [ibm-openapi-validator](https://github.com/IBM/openapi-validator ) from 0.28.0 to 0.28.1.
- [Release notes](https://github.com/IBM/openapi-validator/releases )
- [Changelog](https://github.com/IBM/openapi-validator/blob/master/CHANGELOG.md )
- [Commits](https://github.com/IBM/openapi-validator/compare/v0.28.0...v0.28.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
* Bump sass-loader from 9.0.2 to 9.0.3 (#9702 )
Bumps [sass-loader](https://github.com/webpack-contrib/sass-loader ) from 9.0.2 to 9.0.3.
- [Release notes](https://github.com/webpack-contrib/sass-loader/releases )
- [Changelog](https://github.com/webpack-contrib/sass-loader/blob/master/CHANGELOG.md )
- [Commits](https://github.com/webpack-contrib/sass-loader/compare/v9.0.2...v9.0.3 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
* Bump jsdom from 16.3.0 to 16.4.0 (#9701 )
Bumps [jsdom](https://github.com/jsdom/jsdom ) from 16.3.0 to 16.4.0.
- [Release notes](https://github.com/jsdom/jsdom/releases )
- [Changelog](https://github.com/jsdom/jsdom/blob/master/Changelog.md )
- [Commits](https://github.com/jsdom/jsdom/compare/16.3.0...16.4.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
* Bump eslint-plugin-react from 7.20.3 to 7.20.5 (#9694 )
Bumps [eslint-plugin-react](https://github.com/yannickcr/eslint-plugin-react ) from 7.20.3 to 7.20.5.
- [Release notes](https://github.com/yannickcr/eslint-plugin-react/releases )
- [Changelog](https://github.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md )
- [Commits](https://github.com/yannickcr/eslint-plugin-react/compare/v7.20.3...v7.20.5 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
* Flaky Spec Fix:HTML Escape Special Characters in Assertion like Template (#9708 )
* Bump redoc-cli from 0.9.9 to 0.9.10 (#9698 )
Bumps [redoc-cli](https://github.com/Redocly/redoc ) from 0.9.9 to 0.9.10.
- [Release notes](https://github.com/Redocly/redoc/releases )
- [Changelog](https://github.com/Redocly/redoc/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Redocly/redoc/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
* Bump css-loader from 4.2.0 to 4.2.1 (#9700 )
Bumps [css-loader](https://github.com/webpack-contrib/css-loader ) from 4.2.0 to 4.2.1.
- [Release notes](https://github.com/webpack-contrib/css-loader/releases )
- [Changelog](https://github.com/webpack-contrib/css-loader/blob/master/CHANGELOG.md )
- [Commits](https://github.com/webpack-contrib/css-loader/compare/v4.2.0...v4.2.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
* Bump brakeman from 4.8.2 to 4.9.0 (#9691 )
* Bump brakeman from 4.8.2 to 4.9.0
Bumps [brakeman](https://github.com/presidentbeef/brakeman ) from 4.8.2 to 4.9.0.
- [Release notes](https://github.com/presidentbeef/brakeman/releases )
- [Changelog](https://github.com/presidentbeef/brakeman/blob/main/CHANGES.md )
- [Commits](https://github.com/presidentbeef/brakeman/compare/v4.8.2...v4.9.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* Bump brakeman from 4.8.2 to 4.9.0 (Update vendor/cache)
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
* Bump @babel/core from 7.11.0 to 7.11.1 (#9693 )
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core ) from 7.11.0 to 7.11.1.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.11.1/packages/babel-core )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
* Bump preact from 10.4.6 to 10.4.7 (#9696 )
Bumps [preact](https://github.com/preactjs/preact ) from 10.4.6 to 10.4.7.
- [Release notes](https://github.com/preactjs/preact/releases )
- [Commits](https://github.com/preactjs/preact/compare/10.4.6...10.4.7 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
* Enable Rubocop 0.89 cops and fix Lint/ violations (#9709 )
* Enable new Lint/ cops and run rubocop -a
* Fixing last remaining things with rubocop -a
* Enable and fix Style/ExplicitBlockArgument and Style/GlobalStdStream
* Forgot parenthesis
* changed variable name from article to commentable
* [deploy] Bug Fix:Dont Set Active Channel if ChatChannel Does Not Exist (#9704 )
* Rubocop: Enable and fix Style/OptionalBooleanParameter cop (#9711 )
* Enable and fix Style/OptionalBooleanParameter cop
* Keep regular parameters for workers
* Keep regular parameters for workers
* Fix spec
* Trigger Travis correctly
* Fix Netlify catch all redirections (#9717 )
* added test for get comments by podcast episode
* [deploy] Upgrade Chartkick to fix CVE-2020-16254 Vulnerability (#9718 )
* [deploy] Redirect /internal to /admin (#9716 )
* Update docs with details on where to install Elasticsearch (#9670 ) [deploy]
* Gitignore elasticsearch installations
* Add a note to explain that ES should be installed at the root level
Remove `/elasticsearch/*` from .gitignore as well!
* Update reference to home directory in mac + windows installation guides
* [deploy] Improve clean up of user language settings (#9671 )
* modified index to allow retreival of comments belonging to either articles or podcast episodes
* updated comments section in api documentation to include info on podcast comments
* changed variable name from article to commentable
* added test for get comments by podcast episode
* added new parameter p_id to safe parameters
* modified index to allow retreival of comments belonging to either articles or podcast episodes
* changed variable name from article to commentable
* Trigger Travis correctly
Co-authored-by: Ben Halpern <bendhalpern@gmail.com>
Co-authored-by: Ridhwana <Ridhwana.Khan16@gmail.com>
Co-authored-by: Julianna Tetreault <32834804+juliannatetreault@users.noreply.github.com>
Co-authored-by: Josh Puetz <joshpuetz@gmail.com>
Co-authored-by: Andy Zhao <17884966+Zhao-Andy@users.noreply.github.com>
Co-authored-by: Jan Klimo <jan.klimo@gmail.com>
Co-authored-by: Molly Struve <mollylbs@gmail.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: rhymes <rhymes@hey.com>
Co-authored-by: Vaidehi Joshi <vaidehi.sj@gmail.com>
Co-authored-by: Alex <alexandersmith223@gmail.com>
2020-08-11 14:36:49 +02:00
Ben Halpern
c5dd5179df
Change /internal/ to /admin/ in vcl param safelist ( #9672 )
2020-08-07 14:12:13 -04:00
Alex
e9dc639351
[deploy] Add source_type and source_id to safe params list ( #9413 )
2020-07-21 09:23:05 -04:00
Sarthak Sharma
3addb64326
[deploy] 🚀 Feature: Chat channel membership manager component ( #8945 )
...
* Feature 🚀 : Ability to delete messages in chat channels
- Sending message ID to frontend
- Deleting Message
- Use pusher to delete message realtime
* Minor Bug 🐞 : Show message action only for current user
- User can delete or edit their own messages
* Test cases added
* Bug 🐞 : Update message id for receiver
Message id was not sent to receiver by pusher
* Refactoring🛠: Message controller refactoring
* Test Cases📝 : Specs for Delete message added
* Feature 🚀 : Ability to edit messages
* Test Cases📝 : Specs for Edit message added
* Merge conflict resolved
* fix video content issue
* add UI for membership management
* add api to update memberahip role
* add methods for manage membership
* Add integration test cases
* add emoji for admin
* Open member profile in sidecar only
* 🐞 Problem with direct channel sidecar
* 🐞 Few other UI enhancements
* fix mod typo
* add limit upto 4 for display active memberships
* fix UI issues
* fix action ui for membership
* fix sidebar redirection issue
* fix svg buttons
* add test cases
* fixed broken spec
* fix PR suggestions
* remove not used code
* fix typo
* fix PR suggestion
* fix typos
* add invitation url expiry
* fix specs
* fix PR suggestions
* removed unused gem
* remove presenter format
* handle invitation link expiry with redis
* fix PR suggestions
* user can view non-discoverable channel invitation link
* fix typos
* remove commented code
* add spacing
* PR suggestions
* remove class from button
* replace componentDidMount with commen function
* remove action button for single membership
* add chat message on update role
* add spece between lines
Co-authored-by: Narender Singh <narender2031@gmail.com>
Co-authored-by: Fernando Valverde <fdov88@gmail.com>
2020-07-20 08:08:31 -04:00
Ben Halpern
da6a6739e5
[deploy] Invite users to join and create password ( #9294 )
...
* Initial invitation work
* Add more invitation code
* Add proper registration page
* Fix up tests
* Fix failings
* Fix spec
* Add self-serve auth config
* Add registered condition
* Change profile image call and registered_at test
* Change comment
* Fix copy test
* Stub emojipedia
* Linting
* Add registered at to factory
* Ensure registered for user tag
* Update app/views/internal/invitations/index.html.erb
Co-authored-by: Michael Kohl <citizen428@dev.to>
* Update app/controllers/internal/invitations_controller.rb
Co-authored-by: Michael Kohl <citizen428@dev.to>
* Slight changes
* Update recover password flow
* Update app/views/internal/invitations/index.html.erb
Co-authored-by: Michael Kohl <citizen428@dev.to>
* Update app/controllers/internal/invitations_controller.rb
Co-authored-by: Michael Kohl <citizen428@dev.to>
* Update db/schema.rb
Co-authored-by: Michael Kohl <citizen428@dev.to>
2020-07-15 11:37:19 -04:00
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