Commit graph

6733 commits

Author SHA1 Message Date
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
dependabot-preview[bot]
878d31731d
Bump test-prof from 0.12.0 to 0.12.2 (#10227)
* Bump test-prof from 0.12.0 to 0.12.2

Bumps [test-prof](https://github.com/test-prof/test-prof) from 0.12.0 to 0.12.2.
- [Release notes](https://github.com/test-prof/test-prof/releases)
- [Changelog](https://github.com/test-prof/test-prof/blob/master/CHANGELOG.md)
- [Commits](https://github.com/test-prof/test-prof/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Bump test-prof from 0.12.0 to 0.12.2 (Update vendor/cache)

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-09-06 17:00:05 -04:00
Mac Siri
94869bc816
[deploy] Remove all attempts to delete cookies (#10211) 2020-09-04 15:48:52 -04:00
rhymes
99b239bb80
[deploy] Add unique index on articles canonical_url (#10161) 2020-09-04 14:19:13 -05:00
rhymes
ff0edc3540
[deploy] Remove draft articles with a duplicate canonical_url (#10138) 2020-09-04 13:40:53 -05:00
Joe Doss
31bedc2335
Install and enable jemalloc to help improve memory usage in Ruby. (#10195) 2020-09-04 13:31:03 -05:00
Nick Taylor
f0963c1bfa
Drag and drop an image in the editor (#10145)
* 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.

* Changed wording.

* Now the alt text for markdown removes the file extension.

* Updated help wording. Thanks @rhymes

* Now the image markdown adds a new line at the end as we currently do not support inline images.
2020-09-04 14:12:59 -04:00
Molly Struve
2f36630ff0
Revert "Remove draft articles with duplicate feed source URL and cleanup invalid data (#10205)" (#10209)
This reverts commit 375f79099e.
2020-09-04 12:22:06 -05:00
rhymes
375f79099e
[deploy] Remove draft articles with duplicate feed source URL and cleanup invalid data (#10205) 2020-09-04 11:20:59 -05:00
Mac Siri
9e2207ab25
[deploy] Update JS sub-dependencies (#10207) 2020-09-04 11:46:17 -04:00
Josh Puetz
7ab262b205
Add OAuth callback configuration to facebook docs (#10041)
* Add OAuth callback configuration to facebook docs

* Add screenshots
2020-09-04 09:56:17 -05:00
Ben Halpern
b3f1e53ec7
[deploy] Add ga tracking to config (#10150)
* Add ga tracking to config

* Remove empty line

* Remove console.log

* Fix typo

* Update app/assets/javascripts/initializers/initializeBaseTracking.js.erb

* Add google tracking id example
2020-09-04 09:37:16 -04:00
Michael Kohl
27faf0a667
Add profiles controller (#10181)
# Conflicts:
#	config/routes.rb
2020-09-04 14:54:39 +02:00
Lisa Sy
b05c319c2f
Update nav menu in Notification to use crayons-link styling (#10196) [deploy]
* Move nav code into partials

* Update small styling with new nav menu
2020-09-03 17:32:44 -07:00
Ben Halpern
ee1af652c0
Don't include locale in service workers (#10198) 2020-09-03 17:54:01 -04:00
Molly Struve
70b5a3530c
[deploy] Optimization:Limit Column Select for Sticky Nav Articles (#10197) 2020-09-03 16:46:28 -05:00
Alex
2a5a933ed1
Add routes for i18n (#10193)
* Add routes

* Update all_routes spec

* Add i18n route specs

* Add docs

* Docs cleanup

* Add note about fragment caching
2020-09-03 17:11:07 -04:00
Mark Mead
8099a91611
Strip tags from short_summary (#10157) 2020-09-03 16:47:05 -04:00
Molly Struve
dcc43c0715
Optimization:Select Only Necessary Columns from Ahoy Messages For Digest Emails (#10194) 2020-09-03 16:46:33 -04:00
Vaidehi Joshi
d7d29c1bb2
[deploy] Move deletion of legacy cookie higher in omniauth callback (#10190)
* Move deletion of legacy cookie higher in omniauth callback

* Add specific date to hotfix TODO note

* Fix inverted logic that looked for wrong cookie domain
2020-09-03 16:17:34 -04:00
Molly Struve
d0d3c2a2ab
[deploy] Bug Fix:Sort Reactions by created_at (#10171) 2020-09-03 14:18:02 -05:00
Molly Struve
d6449cab26
[deploy] Bug Fix:Comment out content security policy (#10192) 2020-09-03 13:30:10 -05:00
Julianna Tetreault
31990b3d3b
Add Recent Reports to Users' Admin User Page (#10058) [deploy]
* Adds _reports partial and renders _reports.html.erb in /admin/users/edit.html.erb

* Adds a Recent Reports sections and a toggle function to /admin/users/_reports

* WIP: display feedback_messages in _reports.html.erb

* Adds #set_feedback_messages to Admin::Users::Controller and adjusts _reports.html.erb

* Adjusts #set_feedback_messages to look for message ids and adds to _reports.html.erb data

* Remove accidental dead code from Admin::Users::Controller

* Adjusts the else statement wording to be more fun

* Adjusts style of recent reports to mirror style of recent reactions

* Implement Admin UI changes to Recent Reports section of admin/users/:id/edit

* Adds a link to the admin_feedback_messages_path for each report in _reports.html.erb

* Adjusts the path used when a report is clicked on in _reports.html.erb

* Adds #user_types check to feedback_message.rb to determine Affected, Offender, or Reporter in _reports
2020-09-03 12:06:15 -06:00
rhymes
f49ca8909a
[deploy] Revert "Enable CSP in report only mode and use Honeybadger to track violations (#10155)" (#10191)
This reverts commit 1df3e96652.
2020-09-03 12:43:11 -05:00
Jacob Herrington
00c75d0bb2
Add sponsorships to seed data (#10189) 2020-09-03 13:34:00 -04:00
Molly Struve
636eddb1a9
[deploy] Optimization:Add Index for User ID and Mailer to Ahoy Messages (#10175) 2020-09-03 12:18:07 -05:00
rhymes
1df3e96652
[deploy] Enable CSP in report only mode and use Honeybadger to track violations (#10155) 2020-09-03 18:45:31 +02:00