Julianna Tetreault
4a0784f080
Hotfix: Fix Typo in backfill_broadcastable_type_for_broadcasts ( #9292 ) [deploy]
...
* Fix typo and replace .each with .find_each in broadcastable_type data_update script
* Adjust data_update script name to trigger script rerun
2020-07-13 10:50:29 -06:00
Julianna Tetreault
5f143c4308
Add Polymorphism to Broadcasts (Part 1) ( #9231 ) [deploy]
...
* Add polymorphism to Broadcasts table
- Adds a broadcastable_id column to Broadcasts
- Adds a broadcastable_type column to Broadcasts
* Create Announcements and Welcome Notifications tables
- Adds an Announcements table
- Adds a Welcome Notifications table
- Adds timestamps to both tables
- Adds banner_style column to Announcements table
* Adds Announcement and Welcome Notification models
- Adds an Announcement model in prep for polymorphism
- Adds a WelcomeNotification model in prep for polymorphism
* Add data_update script to backfill type_of column for Broadcasts
* Add unique index on broadcastable_type and broadcastable_id on the Broadcasts table
* Add update! to the data_update script to backfill broadcastable_type
2020-07-13 09:36:19 -06:00
rhymes
5affc7c08c
[deploy] Revert "Rubocop: fix Performance/OpenStruct ( #9241 )" ( #9291 )
...
This reverts commit 101cca4a68 .
2020-07-13 17:22:58 +02:00
dependabot-preview[bot]
fafad16ff2
Bump rubocop from 0.86.0 to 0.87.1 ( #9282 )
...
* Bump rubocop from 0.86.0 to 0.87.1
Bumps [rubocop](https://github.com/rubocop-hq/rubocop ) from 0.86.0 to 0.87.1.
- [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.86.0...v0.87.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* Bump rubocop from 0.86.0 to 0.87.1 (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-07-13 11:09:22 -04:00
dependabot-preview[bot]
4a472d4a12
[deploy] Bump cloudinary from 1.16.0 to 1.16.1 ( #9283 )
...
* Bump cloudinary from 1.16.0 to 1.16.1
Bumps [cloudinary](https://github.com/cloudinary/cloudinary_gem ) from 1.16.0 to 1.16.1.
- [Release notes](https://github.com/cloudinary/cloudinary_gem/releases )
- [Changelog](https://github.com/cloudinary/cloudinary_gem/blob/master/CHANGELOG.md )
- [Commits](https://github.com/cloudinary/cloudinary_gem/compare/1.16.0...1.16.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* Bump cloudinary from 1.16.0 to 1.16.1 (Update vendor/cache)
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-07-13 10:02:16 -05:00
dependabot-preview[bot]
bbba35868a
Bump rubocop-performance from 1.6.1 to 1.7.0 ( #9284 )
...
* Bump rubocop-performance from 1.6.1 to 1.7.0
Bumps [rubocop-performance](https://github.com/rubocop-hq/rubocop-performance ) from 1.6.1 to 1.7.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.6.1...v1.7.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* Bump rubocop-performance from 1.6.1 to 1.7.0 (Update vendor/cache)
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-07-13 10:01:34 -05:00
dependabot-preview[bot]
53fc6ee756
[deploy] Bump autoprefixer-rails from 9.8.4 to 9.8.5 ( #9274 )
...
* Bump autoprefixer-rails from 9.8.4 to 9.8.5
Bumps [autoprefixer-rails](https://github.com/ai/autoprefixer-rails ) from 9.8.4 to 9.8.5.
- [Release notes](https://github.com/ai/autoprefixer-rails/releases )
- [Changelog](https://github.com/ai/autoprefixer-rails/blob/master/CHANGELOG.md )
- [Commits](https://github.com/ai/autoprefixer-rails/compare/9.8.4...9.8.5 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* Bump autoprefixer-rails from 9.8.4 to 9.8.5 (Update vendor/cache)
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-07-13 08:37:36 -05:00
dependabot-preview[bot]
71a9adb674
Bump factory_bot_rails from 6.0.0 to 6.1.0 ( #9276 )
...
* Bump factory_bot_rails from 6.0.0 to 6.1.0
Bumps [factory_bot_rails](https://github.com/thoughtbot/factory_bot_rails ) from 6.0.0 to 6.1.0.
- [Release notes](https://github.com/thoughtbot/factory_bot_rails/releases )
- [Changelog](https://github.com/thoughtbot/factory_bot_rails/blob/master/NEWS.md )
- [Commits](https://github.com/thoughtbot/factory_bot_rails/compare/v6.0.0...v6.1.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* Bump factory_bot_rails from 6.0.0 to 6.1.0 (Update vendor/cache)
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-07-13 08:37:10 -05:00
dependabot-preview[bot]
dc00b322c5
Bump sidekiq from 6.0.7 to 6.1.0 ( #9273 )
...
* Bump sidekiq from 6.0.7 to 6.1.0
Bumps [sidekiq](https://github.com/mperham/sidekiq ) from 6.0.7 to 6.1.0.
- [Release notes](https://github.com/mperham/sidekiq/releases )
- [Changelog](https://github.com/mperham/sidekiq/blob/master/Changes.md )
- [Commits](https://github.com/mperham/sidekiq/compare/v6.0.7...v6.1.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* Bump sidekiq from 6.0.7 to 6.1.0 (Update vendor/cache)
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-07-13 08:36:49 -05:00
rhymes
5a1c842b6f
API: add docs for get published article by path ( #9261 )
2020-07-13 15:33:30 +02:00
Molly Struve
fde4d3f189
Update Docs, Travis, and Containers to Use Postgres 11 ( #9232 )
...
* Update Docs and Containers to Use Postgres 11<, Bump Travis to 10
* Update installation docs as well
Co-authored-by: rhymes <rhymes@hey.com>
2020-07-13 15:09:26 +02:00
dependabot-preview[bot]
d4466c0196
Bump nokogiri from 1.10.9 to 1.10.10 ( #9280 )
...
* Bump nokogiri from 1.10.9 to 1.10.10
Bumps [nokogiri](https://github.com/sparklemotion/nokogiri ) from 1.10.9 to 1.10.10.
- [Release notes](https://github.com/sparklemotion/nokogiri/releases )
- [Changelog](https://github.com/sparklemotion/nokogiri/blob/master/CHANGELOG.md )
- [Commits](https://github.com/sparklemotion/nokogiri/compare/v1.10.9...v1.10.10 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* Bump nokogiri from 1.10.9 to 1.10.10 (Update vendor/cache)
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-07-12 10:37:30 -04:00
Ashik Paul
5094f6be9c
Fixed some minor typos ( #9260 )
2020-07-11 15:56:02 -05:00
rhymes
ba82e72aa4
Fix Rails/OutputSafety violations ( #9244 )
2020-07-11 11:36:24 +02:00
rhymes
101cca4a68
Rubocop: fix Performance/OpenStruct ( #9241 )
...
* Fix Performance/OpenStruct in Article and Organization
* Fix Performance/OpenStruct in Notifications::Reactions::Send
* Add missing rubocop disable for Performance/OpenStruct
* Fix serialization
2020-07-11 10:13:18 +02:00
Molly Struve
25f739b389
[deploy] Optimization:Change Log Level in Prod to Info ( #9257 )
2020-07-10 15:51:11 -05:00
Mac Siri
f6e2b4e034
[deploy] Update RssReader::Assembler#get_content hash syntax ( #9255 )
2020-07-10 16:45:39 -04:00
Molly Struve
628c16fd79
[deploy] Bug Fix: Setup STDOUT Logger bc we need it ( #9256 )
2020-07-10 14:25:21 -05:00
rhymes
8126c5c2c1
Rubocop: Address Metrics/BlockLength violations ( #9246 )
...
* Address Metrics/BlockLength violations
* Add jbuilder to package auto correct
2020-07-10 13:53:32 -04:00
Molly Struve
8377620e31
[deploy] Refactor:Use if/else When Selecting Production Log Strategy ( #9224 )
2020-07-10 11:53:48 -05:00
Rembrandt Reyes
14b410cb39
Article page: edit and manage button spacing ( #9230 )
2020-07-10 11:54:57 -04:00
Brunno Souza
b5de27f1a6
Refactoring comments_controller#create reducing lines ( #9162 )
2020-07-10 17:24:36 +02:00
Ben Halpern
879e0ae1c8
Remove arrow-left-... from github issue embed ( #9236 )
2020-07-10 10:17:50 -04:00
Alex
3b1c813db7
[deploy] Revert "Add number_with_delimiter to post count ( #9225 )" ( #9242 )
...
This reverts commit 47b363bed7 .
2020-07-10 09:45:35 -04:00
rhymes
3722355e8c
Rubocop: fix Metrics/CyclomaticComplexity and disable Metrics/AbcSize ( #9221 )
...
* Fix Metrics/CyclomaticComplexity
* Disable Metrics/AbcSize
* Refactored Articles::Builder a bit
2020-07-10 15:26:05 +02:00
Vaidehi Joshi
35b516a60d
Add metrics around welcome notifications + their click events ( #9239 )
...
* Log to DataDog when a welcome notification is created
* Fix typo in Metrics::RecordDailyUsageWorker
* Add Metrics::RecordDailyNotificationsWorker to log notification counts to DataDog
* Add specs around DataDog logging for welcome notifications + click events
* Call Metrics::RecordDailyNotificationsWorker from within log_daily_usage_measurables task
* Use user_id instead of user, move notification title into tags
2020-07-10 12:30:45 +02:00
rhymes
b3060bc475
Fix Style/SingleLineBlockParams, RSpec/MultipleExpectations and remaining Layout/LineLength ( #9204 )
...
* Fix Style/SingleLineBlockParams
* Fix RSpec/MultipleExpectations and Layout/LineLength
* Restore test to previous version for speed
* Remove useless params
2020-07-10 11:23:02 +02:00
Molly Struve
0a51540a4c
[deploy] Hotfix: Disable Article Sinking ( #9237 )
2020-07-09 17:19:06 -05:00
bravemaster619
7fb7b179d9
[deploy] Add markdown version for DEV badge link ( #9227 )
2020-07-09 17:34:03 -04:00
Alex
47b363bed7
[deploy] Add number_with_delimiter to post count ( #9225 )
2020-07-09 15:55:11 -04:00
Mac Siri
aa8e6e29ab
[deploy] Log instantClick errors ( #9226 )
2020-07-09 14:32:22 -04:00
rhymes
b42a843b78
Add Github CodeQL code scanner for JavaScript ( #9217 )
...
GitHub released a code analysis engine that scans the code for potential issues called CodeQL.
Among the list of supported languages we only use JavaScript
2020-07-09 14:16:48 -04:00
Molly Struve
6cfbbaeb39
[deploy] Refactor:Send a Couple More Errors to Honeybadger ( #9223 )
2020-07-09 10:53:16 -05:00
Molly Struve
fad259b1c8
[deploy] Bug Fix: Remove Rails Validation for Follow Uniqueness, Guard against dup Follow Jobs ( #9222 )
2020-07-09 09:50:06 -05:00
rhymes
ffc96db209
Rubocop: fix additional violations in todo file ( #9218 )
2020-07-09 10:25:44 -04:00
Ridhwana
f37ffc0be9
[deploy] Replace hardcoded logo with secondary logo config ( #9219 )
...
* chore: replace the logo with secondary logo
* update the html classes
2020-07-09 09:58:28 -04:00
rhymes
d3c58ced86
Create SECURITY.md file ( #9216 )
...
Add SECURITY.md through GitHub Security overview page: https://github.com/thepracticaldev/dev.to/security
2020-07-09 15:02:57 +02:00
Molly Struve
074fe8626d
Refactor: Report Pusher Errors to Honeybadger, Remove Comment Error Logging ( #9208 )
2020-07-09 08:49:48 +02:00
Molly Struve
e03f337c9c
Refactor: Send RSS Reader and Payment Errors to Honeybadger ( #9209 )
...
* Refactor: Send RSS Reader and Payment Errors to Honeybadger
* remove old VCR cassettes
2020-07-09 08:48:52 +02:00
dependabot-preview[bot]
b2c0ee2c92
Bump @babel/plugin-transform-react-jsx from 7.10.3 to 7.10.4 ( #9139 )
2020-07-08 17:50:09 -04:00
dependabot-preview[bot]
3a0f30277e
Bump @babel/preset-env from 7.10.3 to 7.10.4 ( #9137 )
2020-07-08 17:35:58 -04:00
dependabot-preview[bot]
2ce39594a6
Bump babel-jest from 26.0.1 to 26.1.0 ( #8956 )
2020-07-08 17:34:25 -04:00
dependabot-preview[bot]
385dc3a97d
Bump eslint-plugin-react from 7.20.0 to 7.20.3 ( #9138 )
2020-07-08 17:20:42 -04:00
dependabot-preview[bot]
914c0e81af
Bump @babel/plugin-proposal-class-properties from 7.10.1 to 7.10.4 ( #9140 )
2020-07-08 17:19:22 -04:00
dependabot-preview[bot]
3ac6e45bdf
Bump eslint from 7.3.1 to 7.4.0 ( #9136 )
2020-07-08 17:18:51 -04:00
Ridhwana
6029948c1a
[deploy] Make the mobile Navigation icons configurable ( #9056 )
...
* chore: make the icons dynamic from site config
* feat: update the navbar icons
* feat: update the descriptions
* chore: update the icons
* chore: update the names to be more reflective
* chore: freeze mutable objects assigned to constants
* chore: update Line is too long.
* icons
* update lightning icon
* chore: read from file
* path here is relative, so use Rails root
* revert to original icons and run svgo on it
* no newline
* feat: update height, width
2020-07-08 20:09:48 +02:00
Alex
bac350e877
[deploy] Add role and docs for user subscription liquid tag ( #9170 )
...
* Create new restriced_liquid_tag role
* Update role spec
* Use new role over admin
* Add documentation for user_subscription_liquid_tag
* Stub roles to help avoid flaky specs
* Add user approved liquid tags to edit view
* Remove "simply". Coding is hard, yo!
* Update liquid_help
* Update liquid help
* Update and refactor dashboard specs
* Refactor role check for liquid tag docs
* Improve docs wording
2020-07-08 14:07:53 -04:00
Molly Struve
d7f17c71ba
[deploy] Refactor: Remove Unnecessary logging from Video States, Stripe, and GA Events ( #9207 )
2020-07-08 11:59:31 -05:00
Molly Struve
5fcb788561
[deploy] Refactor: Remove Omniauth Error Logs, Send to Honeybadger ( #9205 )
2020-07-08 11:21:57 -05:00
Ben Halpern
b3f97f95e5
[deploy] Remove unnecessary ?url= param from report-abuse ( #9203 )
2020-07-08 10:50:21 -04:00