Molly Struve
0cdbf46828
[deploy] Refactor:Remove unused ReadingList Labor methods ( #10292 )
2020-09-13 13:45:14 -05:00
dependabot-preview[bot]
fcc02ff913
Bump honeycomb-beeline from 2.1.2 to 2.2.0 ( #10298 )
...
* Bump honeycomb-beeline from 2.1.2 to 2.2.0
Bumps [honeycomb-beeline](https://github.com/honeycombio/beeline-ruby ) from 2.1.2 to 2.2.0.
- [Release notes](https://github.com/honeycombio/beeline-ruby/releases )
- [Commits](https://github.com/honeycombio/beeline-ruby/compare/v2.1.2...v2.2.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* Bump honeycomb-beeline from 2.1.2 to 2.2.0 (Update vendor/cache)
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-09-13 13:44:56 -05:00
dependabot-preview[bot]
8f3f907313
Bump blazer from 2.2.6 to 2.2.7 ( #10308 )
...
* Bump blazer from 2.2.6 to 2.2.7
Bumps [blazer](https://github.com/ankane/blazer ) from 2.2.6 to 2.2.7.
- [Release notes](https://github.com/ankane/blazer/releases )
- [Changelog](https://github.com/ankane/blazer/blob/master/CHANGELOG.md )
- [Commits](https://github.com/ankane/blazer/compare/v2.2.6...v2.2.7 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* Bump blazer from 2.2.6 to 2.2.7 (Update vendor/cache)
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-09-13 13:43:10 -05:00
Vaidehi Joshi
0f74206184
Check that nginx is available before pinging it ( #10287 ) [deploy]
...
* Check that nginx is available before pinging it
Currently, we don't have a good way of knowing whether Openresty is available before
we try to bust an Nginx cache via Openresty's server. This means that we can potentially
make a request to Openresty even when it is unavailable, which causes the app to not be
able to boot up when this code path is called.
This adds a check to make sure that openresty is both configured and available before
trying to bust an Nginx cache or before making additional requests to Openresty.
Closes https://github.com/forem/InternalProjectPlanning/issues/38 .
* Add DataDog monitor if Openresty is unavailable
2020-09-11 15:28:03 -07:00
Molly Struve
313bfef28c
[deploy] Feature:Allow for Search by ID for FeedContent ( #10289 )
2020-09-11 14:45:23 -05:00
Ben Halpern
3a469a99e2
[deploy] Enable admin-configured app_domain ( #10206 )
...
* Move app_domain from env var to siteconfig *within app area*
* Fix SiteConfig
* Don't change URL.domain yet
* Not use in fastly cache purge yet
* Session store magoo
* Revert domain issue
* Add SetCookie middleware
* Temporarily remove cookie middleware and release tasks
* Re-enable SetCookieDomain
* Add some more comments, get it ready for testing
* Remove host from url options and temporarily show errors
* Allow forwarded host to be cookie
* Fix typo
* Change invalidAuthenticityToken
* Properly set app domain
* Proper Fastly cache
* Remove config.app_domain
* Remove config.app_domain
* Explicitely set remember_user_token
* More play with cookies
* Fiddle with remember_user_token
* Add remember_user_token changes
* Monkeypatch devise
* Sessions controller
* Include rememberable
* Include rememberable
* Proper cookie monkeypatch
* Proper cookie monkeypatch
* Proper cookie monkeypatch
* Remove extra cookie code
* User sign in tweak
* Close the loop
* Experiment with carrierwave public_url
* Finalize carrierwave monkeypatch
* Remove async controller specs
* Change some tests
* Update domain test
* Remove temporary production.rb change
* modify cookie logic
* Remove unneeded changes
* Remove unneeded changes
* Explicitely pass host
* Fix linting
* Fix social image test
* Add some cookie tests
* Modify article url
* Fix canonical urls
* Fix typo
* Remove sessions controller
* Remove devise monkeypatch
* Add monkeypatch
* Remove elsif
* Update spec/helpers/application_helper_spec.rb
Co-authored-by: Michael Kohl <citizen428@dev.to>
* Adjust remember_cookie_sync
* Remember user token experimentation
* Fiddle with devise
* Properly configure devise
* Fix typo
* Fix formatting issue
* Add comment about middleware
* Fix typo
Co-authored-by: Vaidehi Joshi <vaidehi.sj@gmail.com>
* Remove commented-out code
Co-authored-by: Michael Kohl <citizen428@dev.to>
Co-authored-by: Vaidehi Joshi <vaidehi.sj@gmail.com>
2020-09-11 09:38:34 -04:00
Mac Siri
df245e7e84
Create codeql-analysis.yml ( #10276 )
2020-09-11 09:46:45 +02:00
Molly Struve
111dc4ea9d
[deploy] Bug Fix: Add New Migration to Remove Active from Profile Fields ( #10279 )
2020-09-11 08:49:27 +02:00
Joe Doss
a6ae0378c5
Add FOREM_BUILD_SHA and FOREM_BUILD_DATE to the container. ( #10278 )
...
In the past it was always useful to have meta data within regards to the SHA and
build date/time. This adds in two new env vars that are written to disk as flat
files and then exported to environment variables when the container starts up.
This motivation comes from this comment:
https://github.com/forem/forem/pull/9987#discussion_r476123829
2020-09-10 21:41:25 -05:00
Molly Struve
3ef7340f05
[deploy] Bug Fix:Update Text Request Email with confirm_delete Link ( #10277 )
2020-09-10 13:54:30 -05:00
Ben Halpern
244195fc92
Move mailchimp API key to app logic ( #10270 )
2020-09-10 13:25:55 -04:00
dependabot-preview[bot]
d188886546
Bump @stoplight/spectral from 5.4.0 to 5.5.0 ( #10224 )
...
Bumps [@stoplight/spectral](https://github.com/stoplightio/spectral ) from 5.4.0 to 5.5.0.
- [Release notes](https://github.com/stoplightio/spectral/releases )
- [Changelog](https://github.com/stoplightio/spectral/blob/develop/CHANGELOG.md )
- [Commits](https://github.com/stoplightio/spectral/compare/v5.4.0...v5.5.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-09-10 07:43:22 -04:00
ludwiczakpawel
009c89d843
Organizations profile header redesign ( #10258 )
...
* organizations profile header
* merge
* tests
* .
2020-09-10 12:42:36 +02:00
Kevin McGinn
3bce753303
[Documentation] Improvements to Windows installation & startup docs ( #10243 )
...
* fix elasticsearch tgz filename in windows docs
* add prereqs to running bin/startup in windows docs
* add tip for Sidekiq errors in app startup docs
2020-09-09 18:19:16 -04:00
Ben Halpern
f275204e1c
[deploy] Proper cache delete_matched ( #10267 )
2020-09-09 18:18:17 -04:00
Ben Halpern
a1f664ab5b
Fetch GA Tracking ID from SiteConfig ( #10262 )
2020-09-09 18:17:44 -04:00
Molly Struve
9c7c4e7062
[deploy] Optimization:Increase refresh_interval For Possible High Indexing Indexes ( #10215 )
2020-09-09 17:07:15 -05:00
Ben Halpern
310df39e27
Include locale in fragment cache key ( #10199 )
...
* Include locale in fragment cache key
* Adjust specs
2020-09-09 16:58:04 -04:00
Mac Siri
141df7ba03
[deploy] Bump Rails to 6.0.3.3 ( #10266 )
2020-09-09 16:16:50 -04:00
Mac Siri
9ebd742712
[deploy] Reintroduce sticky_nav changes ( ab81f36 & 7f92855) ( #10263 )
...
* Revert "[deploy] Revert removal of unneeded eager load (if needed) (#10179 )"
This reverts commit 11c7b148da .
* Revert "[deploy] Revert "Migrate ProfileImage to Images::Profile (#10055 )" (#10149 )"
This reverts commit 5657067e55 .
2020-09-09 15:33:13 -04:00
Julianna Tetreault
751c910291
Give Admins the Ability to Add Co-Authors to Posts ( #10252 ) [deploy]
...
* Adds second_user_id and third_user_id to Admin::Articles::Controller and Article model
- Add second_user_id to #update
- Add third_user_id to #update
- Add second_user_id to #article_params
- Add third_user_id to #article_params
- Add second and third user_ids to :limited_columns_internal_select
* Adds a second_user_id and third_user_id form field to _individual_article.html.erb
* Adds tests around adding a co-author and multiple co-authors to an article in articles_spec.rb
2020-09-09 10:25:25 -06:00
ludwiczakpawel
7630885783
Actions bar overlapping footer ( #10259 )
2020-09-09 12:23:24 -04:00
Michael Kohl
4ae59b56e3
Add custom profile fields ( #10202 )
...
* Add custom_profile_fields table
* Add CustomProfileField model and refactor
* Remove trailing whitespace
* Stop ignoring removed column
* Add explanatory comment
* Update service object
* Fix bug in service object
* Refactor and fix specs
* Increase limit from 3 to 5
* Update comment to reflect code changes
2020-09-09 14:37:15 +00:00
Michael Kohl
0e6dfabea1
Article refactoring ( #10256 )
...
* Rewrite query in pure AR syntax
* @citizen428
Use ActiveSupport::Duration instead of manual calculations
2020-09-09 09:47:27 -04:00
ludwiczakpawel
6c3f5d51fe
Drop containers styling ( #10203 )
...
* Refactored drag n drop functionality to a hook and component.
* Add the snackbar to the article editor.
* Now you can drag and drop images in the post body content.
* Cleaning up a few things.
* Now post cover images can be dragged and dropped.
* Removed unused empty function.
* Added @testing-library/preact-hooks so that we can test hooks.
* Some renaming, small refactor.
* Added tests
* Added more tests.
* Added more tests.
* Added message about dropping only one image in post body.
* Added message about dropping only one image for cover image.
* put onDrop into it's own meethod.
* More tests.
* Added some API documentation.
* Updated editor help with drag and drop image help.
* drag and drop styling
* .
* revert
* Fixed broken test.
Co-authored-by: Nick Taylor <nick@dev.to>
2020-09-09 09:37:16 +02:00
Rafi
ea74a3d390
Using global util function for displaying date in listing dashboard ( #10244 )
...
* Common date util function for listing dashboard
* Making dateTime required
* Fixing typo
* Fixing tests
* Fixing deletion of function in globalThis
2020-09-09 09:35:05 +02:00
Molly Struve
2bc1496bc4
Refactor: Remove Unused Figaro Gem and Temp Rake Task ( #10255 )
2020-09-09 09:24:32 +02:00
Rafi
327fe14ccb
Fixing id and class of non featured article ( #10247 )
...
* Fixing id and class of non featured article
* Adding id
* Removing extra space
* Fixing broken rspec test
2020-09-08 18:38:49 -04:00
Molly Struve
c71f179b28
Bug Fix:Fix Data Update feed_source_url Script ( #10253 )
2020-09-08 16:15:05 -05:00
Nick Taylor
e2d43c4a73
[deploy] Fixed issue with drag and drop image for cover image in editor. ( #10254 )
2020-09-08 16:43:23 -04:00
rhymes
5c7fc79507
[deploy] Add unique index on articles feed_source_url ( #10208 )
...
Co-authored-by: Molly Struve <mollylbs@gmail.com>
2020-09-08 14:34:34 -05:00
Molly Struve
6eed518404
[deploy] Feature:Add ENV to Skip Fastly Config Update ( #10251 )
2020-09-08 13:11:12 -05:00
dependabot-preview[bot]
5406ec9ab9
Bump ibm-openapi-validator from 0.29.0 to 0.29.3 ( #10226 )
...
Bumps [ibm-openapi-validator](https://github.com/IBM/openapi-validator ) from 0.29.0 to 0.29.3.
- [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.29.0...v0.29.3 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-09-08 13:21:33 -04:00
rhymes
b185dca976
[deploy] Remove draft articles with duplicate feed source URL and cleanup invalid data: take 2 ( #10239 )
2020-09-08 11:53:41 -05:00
Michael Kohl
729a17a7a3
[deploy] Add LiquidTagsController ( #10241 )
2020-09-08 12:07:33 -04:00
rhymes
2d881ef571
Routine rubocop fixes ( #10237 )
2020-09-08 12:06:47 -04:00
Michael Kohl
5aefa6279a
Change spec to use change over absolute count ( #10242 )
2020-09-08 09:18:02 +02:00
dependabot-preview[bot]
20e6e297ab
Bump jest-watch-typeahead from 0.6.0 to 0.6.1 ( #10230 )
...
Bumps [jest-watch-typeahead](https://github.com/jest-community/jest-watch-typeahead ) from 0.6.0 to 0.6.1.
- [Release notes](https://github.com/jest-community/jest-watch-typeahead/releases )
- [Changelog](https://github.com/jest-community/jest-watch-typeahead/blob/master/CHANGELOG.md )
- [Commits](https://github.com/jest-community/jest-watch-typeahead/compare/v0.6.0...v0.6.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-09-08 07:45:01 +02:00
dependabot-preview[bot]
eb761cce14
Bump twilio-ruby from 5.40.0 to 5.40.1 ( #10219 )
...
* Bump twilio-ruby from 5.40.0 to 5.40.1
Bumps [twilio-ruby](https://github.com/twilio/twilio-ruby ) from 5.40.0 to 5.40.1.
- [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.40.0...5.40.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* Bump twilio-ruby from 5.40.0 to 5.40.1 (Update vendor/cache)
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-09-08 11:12:19 +07:00
Michael Kohl
acaeba0b3e
Fix spec ( #10235 )
2020-09-08 09:10:37 +07:00
dependabot-preview[bot]
fd5decddc7
Bump stripe from 5.24.0 to 5.25.0 ( #10223 )
...
* Bump stripe from 5.24.0 to 5.25.0
Bumps [stripe](https://github.com/stripe/stripe-ruby ) from 5.24.0 to 5.25.0.
- [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.24.0...v5.25.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* Bump stripe from 5.24.0 to 5.25.0 (Update vendor/cache)
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-09-07 11:43:11 +02:00
dependabot-preview[bot]
78fd6539f4
Bump rubocop-performance from 1.7.1 to 1.8.0 ( #10229 )
...
* Bump rubocop-performance from 1.7.1 to 1.8.0
Bumps [rubocop-performance](https://github.com/rubocop-hq/rubocop-performance ) from 1.7.1 to 1.8.0.
- [Release notes](https://github.com/rubocop-hq/rubocop-performance/releases )
- [Changelog](https://github.com/rubocop-hq/rubocop-performance/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rubocop-hq/rubocop-performance/compare/v1.7.1...v1.8.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* Bump rubocop-performance from 1.7.1 to 1.8.0 (Update vendor/cache)
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Ben Halpern <bendhalpern@gmail.com>
2020-09-07 10:59:21 +07:00
dependabot-preview[bot]
0abd96f9d2
Bump jsonapi-serializer from 2.0.0 to 2.1.0 ( #10225 )
...
* Bump jsonapi-serializer from 2.0.0 to 2.1.0
Bumps [jsonapi-serializer](https://github.com/jsonapi-serializer/jsonapi-serializer ) from 2.0.0 to 2.1.0.
- [Release notes](https://github.com/jsonapi-serializer/jsonapi-serializer/releases )
- [Changelog](https://github.com/jsonapi-serializer/jsonapi-serializer/blob/master/CHANGELOG.md )
- [Commits](https://github.com/jsonapi-serializer/jsonapi-serializer/compare/v2.0.0...v2.1.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* Bump jsonapi-serializer from 2.0.0 to 2.1.0 (Update vendor/cache)
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-09-07 09:10:20 +07:00
dependabot-preview[bot]
8efd73661a
Bump puma from 4.3.5 to 4.3.6 ( #10220 )
...
* Bump puma from 4.3.5 to 4.3.6
Bumps [puma](https://github.com/puma/puma ) from 4.3.5 to 4.3.6.
- [Release notes](https://github.com/puma/puma/releases )
- [Changelog](https://github.com/puma/puma/blob/master/History.md )
- [Commits](https://github.com/puma/puma/compare/v4.3.5...v4.3.6 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* Bump puma from 4.3.5 to 4.3.6 (Update vendor/cache)
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-09-06 18:10:11 -04:00
dependabot-preview[bot]
325052f45d
Bump rubocop from 0.89.1 to 0.90.0 ( #10232 )
...
* Bump rubocop from 0.89.1 to 0.90.0
Bumps [rubocop](https://github.com/rubocop-hq/rubocop ) from 0.89.1 to 0.90.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.89.1...v0.90.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* Bump rubocop from 0.89.1 to 0.90.0 (Update vendor/cache)
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-09-06 18:09:10 -04:00
dependabot-preview[bot]
8f8ff9353e
[deploy] Bump oj from 3.10.13 to 3.10.14 ( #10231 )
...
* Bump oj from 3.10.13 to 3.10.14
Bumps [oj](https://github.com/ohler55/oj ) from 3.10.13 to 3.10.14.
- [Release notes](https://github.com/ohler55/oj/releases )
- [Changelog](https://github.com/ohler55/oj/blob/develop/CHANGELOG.md )
- [Commits](https://github.com/ohler55/oj/compare/v3.10.13...v3.10.14 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* Bump oj from 3.10.13 to 3.10.14 (Update vendor/cache)
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-09-06 18:01:27 -04:00
dependabot-preview[bot]
0c7538ac6b
Bump jest-axe from 3.5.0 to 4.0.0 ( #10228 )
...
Bumps [jest-axe](https://github.com/nickcolley/jest-axe ) from 3.5.0 to 4.0.0.
- [Release notes](https://github.com/nickcolley/jest-axe/releases )
- [Changelog](https://github.com/nickcolley/jest-axe/blob/main/CHANGELOG.md )
- [Commits](https://github.com/nickcolley/jest-axe/compare/v3.5.0...v4.0.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-09-06 18:01:03 -04:00
dependabot-preview[bot]
9eda7dae41
Bump rubocop-rails from 2.7.1 to 2.8.0 ( #10221 )
...
* Bump rubocop-rails from 2.7.1 to 2.8.0
Bumps [rubocop-rails](https://github.com/rubocop-hq/rubocop-rails ) from 2.7.1 to 2.8.0.
- [Release notes](https://github.com/rubocop-hq/rubocop-rails/releases )
- [Changelog](https://github.com/rubocop-hq/rubocop-rails/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rubocop-hq/rubocop-rails/compare/v2.7.1...v2.8.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* Bump rubocop-rails from 2.7.1 to 2.8.0 (Update vendor/cache)
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-09-06 17:26:37 -04:00
dependabot-preview[bot]
211692348a
Bump sass-loader from 9.0.3 to 10.0.2 ( #10222 )
...
Bumps [sass-loader](https://github.com/webpack-contrib/sass-loader ) from 9.0.3 to 10.0.2.
- [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.3...v10.0.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-09-06 17:26:21 -04:00
dependabot-preview[bot]
ef340f6ec7
Bump knapsack_pro from 2.1.1 to 2.2.1 ( #10218 )
...
* Bump knapsack_pro from 2.1.1 to 2.2.1
Bumps [knapsack_pro](https://github.com/KnapsackPro/knapsack_pro-ruby ) from 2.1.1 to 2.2.1.
- [Release notes](https://github.com/KnapsackPro/knapsack_pro-ruby/releases )
- [Changelog](https://github.com/KnapsackPro/knapsack_pro-ruby/blob/master/CHANGELOG.md )
- [Commits](https://github.com/KnapsackPro/knapsack_pro-ruby/compare/v2.1.1...v2.2.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* Bump knapsack_pro from 2.1.1 to 2.2.1 (Update vendor/cache)
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-09-06 17:25:53 -04:00