Vaidehi Joshi
178ee374ff
Notify Honeybadger when no id can be found for a welcome notification ( #8831 )
...
* Notify Honeybadger when no id can be found for a welcome notification
Also add the event's target's text to the tracking data for a welcome notification's click event.
* Destructure text and title from event.target
2020-06-22 13:52:16 -04:00
Michael Kohl
019ce5e0d8
Add overflow-x to KaTeX liquid tag ( #8818 )
...
* Add overflow-x to KaTeX liquid tag
* Update approval snapshot
* Update approved file
Co-authored-by: rhymes <rhymesete@gmail.com>
2020-06-22 13:24:53 -04:00
dependabot-preview[bot]
160129dc14
Bump lint-staged from 10.2.10 to 10.2.11 ( #8803 )
...
Bumps [lint-staged](https://github.com/okonet/lint-staged ) from 10.2.10 to 10.2.11.
- [Release notes](https://github.com/okonet/lint-staged/releases )
- [Commits](https://github.com/okonet/lint-staged/compare/v10.2.10...v10.2.11 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-06-22 13:11:45 -04:00
dependabot-preview[bot]
9211dac462
Bump twilio-ruby from 5.36.0 to 5.37.0 ( #8798 )
...
* Bump twilio-ruby from 5.36.0 to 5.37.0
Bumps [twilio-ruby](https://github.com/twilio/twilio-ruby ) from 5.36.0 to 5.37.0.
- [Release notes](https://github.com/twilio/twilio-ruby/releases )
- [Changelog](https://github.com/twilio/twilio-ruby/blob/master/CHANGES.md )
- [Commits](https://github.com/twilio/twilio-ruby/compare/5.36.0...5.37.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* Bump twilio-ruby from 5.36.0 to 5.37.0 (Update vendor/cache)
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-06-22 13:09:31 -04:00
ludwiczakpawel
8c83aa3365
Table component & Dashboard update ( #8778 )
...
* flare tag line height
* .
* .
* .
* .
* specs
* spec
* .
* spec
2020-06-22 18:47:17 +02:00
Vaidehi Joshi
912c3148fe
Remove outdated comment in scaffolds.scss ( #8827 )
...
The PR being referenced by this comment has been merged, but I think
we actually _do_ want these styles to stay here after testing this feature locally
both with and without the explicit position and z-index properties.
2020-06-22 09:32:02 -07:00
dependabot-preview[bot]
d1a840e7c4
Bump @testing-library/jest-dom from 5.9.0 to 5.10.1 ( #8801 )
...
Bumps [@testing-library/jest-dom](https://github.com/testing-library/jest-dom ) from 5.9.0 to 5.10.1.
- [Release notes](https://github.com/testing-library/jest-dom/releases )
- [Changelog](https://github.com/testing-library/jest-dom/blob/master/CHANGELOG.md )
- [Commits](https://github.com/testing-library/jest-dom/compare/v5.9.0...v5.10.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-06-22 12:30:42 -04:00
dependabot-preview[bot]
d595719b86
Bump @babel/core from 7.10.2 to 7.10.3 ( #8797 )
...
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core ) from 7.10.2 to 7.10.3.
- [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.10.3/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>
2020-06-22 12:30:28 -04:00
dependabot-preview[bot]
1d7046b557
Bump autoprefixer-rails from 9.7.6 to 9.8.1 ( #8796 )
...
* Bump autoprefixer-rails from 9.7.6 to 9.8.1
Bumps [autoprefixer-rails](https://github.com/ai/autoprefixer-rails ) from 9.7.6 to 9.8.1.
- [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.7.6...9.8.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* Bump autoprefixer-rails from 9.7.6 to 9.8.1 (Update vendor/cache)
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-06-22 12:26:11 -04:00
Molly Struve
3d4a079572
[deploy] Refactor: Remove Additional Content Box Code ( #8776 )
2020-06-22 10:36:23 -05:00
dependabot-preview[bot]
7447353e92
[deploy] Bump factory_bot_rails from 5.2.0 to 6.0.0 ( #8802 )
...
* Bump factory_bot_rails from 5.2.0 to 6.0.0
Bumps [factory_bot_rails](https://github.com/thoughtbot/factory_bot_rails ) from 5.2.0 to 6.0.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/v5.2.0...v6.0.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* Bump factory_bot_rails from 5.2.0 to 6.0.0 (Update vendor/cache)
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-06-22 09:38:29 -05:00
Nick Taylor
b03cd5e515
Created the spinner for the image uploader ( #8781 )
2020-06-22 10:35:42 -04:00
rhymes
36786cf554
Rails 6: enable zeitwerk autoloader ( #8766 )
...
* More loading fixes
* Go back to OpenStruct
* Shuffle things around
* Remove obsolete patches and unneeded requires
* Disable config.add_autoload_paths_to_load_path
* Fix pre-require errors
* Config not reloader
2020-06-22 16:27:55 +02:00
dependabot-preview[bot]
b8352c5333
Bump cloudinary from 1.14.0 to 1.15.0 ( #8795 )
...
* Bump cloudinary from 1.14.0 to 1.15.0
Bumps [cloudinary](https://github.com/cloudinary/cloudinary_gem ) from 1.14.0 to 1.15.0.
- [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.14.0...1.15.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* Bump cloudinary from 1.14.0 to 1.15.0 (Update vendor/cache)
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-06-22 09:27:03 -05:00
dependabot-preview[bot]
246af10349
[deploy] Bump elasticsearch from 7.7.0 to 7.8.0 ( #8800 )
...
* Bump elasticsearch from 7.7.0 to 7.8.0
Bumps [elasticsearch](https://github.com/elastic/elasticsearch-ruby ) from 7.7.0 to 7.8.0.
- [Release notes](https://github.com/elastic/elasticsearch-ruby/releases )
- [Changelog](https://github.com/elastic/elasticsearch-ruby/blob/master/CHANGELOG.md )
- [Commits](https://github.com/elastic/elasticsearch-ruby/compare/7.7.0...v7.8.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* Bump elasticsearch from 7.7.0 to 7.8.0 (Update vendor/cache)
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-06-22 08:46:43 -05:00
dependabot-preview[bot]
5d9f839aea
Bump amazing_print from 1.2.0 to 1.2.1 ( #8811 )
...
* Bump amazing_print from 1.2.0 to 1.2.1
Bumps [amazing_print](https://github.com/amazing-print/amazing_print ) from 1.2.0 to 1.2.1.
- [Release notes](https://github.com/amazing-print/amazing_print/releases )
- [Changelog](https://github.com/amazing-print/amazing_print/blob/master/CHANGELOG.md )
- [Commits](https://github.com/amazing-print/amazing_print/compare/v1.2.0...v1.2.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* Bump amazing_print from 1.2.0 to 1.2.1 (Update vendor/cache)
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-06-22 08:46:21 -05:00
dependabot-preview[bot]
91a93cf443
Bump web-console from 4.0.2 to 4.0.3 ( #8808 )
...
* Bump web-console from 4.0.2 to 4.0.3
Bumps [web-console](https://github.com/rails/web-console ) from 4.0.2 to 4.0.3.
- [Release notes](https://github.com/rails/web-console/releases )
- [Changelog](https://github.com/rails/web-console/blob/master/CHANGELOG.markdown )
- [Commits](https://github.com/rails/web-console/compare/v4.0.2...v4.0.3 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* Bump web-console from 4.0.2 to 4.0.3 (Update vendor/cache)
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-06-22 08:45:47 -05:00
Michael Kohl
359f2cb2c5
Style hide link with Crayons ( #8820 )
2020-06-22 08:27:38 -04:00
ludwiczakpawel
e56bb3ade5
Progress bar fix ( #8821 )
2020-06-22 08:22:27 -04:00
Nick Taylor
618fc4f902
Since we've added more testing, coverage thresholds can be bumped up a bit. ( #8824 )
2020-06-22 14:16:22 +02:00
Anurag Hazra
7d73872afb
style: fixed z-indexing bug in sidebar reactions ( #8793 )
...
* style: fixed z-indexing bug in sidebar reactions
* chore: set z-index: unset
* Travis where are thou?
Co-authored-by: rhymes <rhymesete@gmail.com>
2020-06-22 13:26:11 +02:00
Nick Taylor
52ac36dd0a
Added a11y Storybook addon. ( #8814 )
2020-06-22 10:56:03 +02:00
Nick Taylor
7fa3068e70
webpack aliases resolve properly for eslint now. ( #8816 )
2020-06-22 10:26:01 +02:00
Nick Taylor
568ada8fe6
Cleaned up some tests. ( #8817 )
2020-06-22 10:25:39 +02:00
Nick Taylor
be9a880e81
Fix eslint files for prettier ( #8815 )
...
* Fixed lint extends so that prettier is the last extends to override all other extends (recommended).
* Added prettier to extends of base eslint file.
2020-06-22 10:25:05 +02:00
Ben Halpern
4aa3240fde
[deploy] Fix comment/reaction count hiding issue on small screens ( #8786 )
2020-06-18 21:37:27 -04:00
Ben Halpern
6f735a5a27
[deploy] Fix div/aside mismatch ( #8784 )
2020-06-18 20:58:16 -04:00
Ben Halpern
e9a60d9f77
[deploy] Check for snackbar ( #8783 )
2020-06-18 19:51:21 -04:00
Vaidehi Joshi
ded5e245fd
Turn off ahoy visit tracking ( #8782 ) [deploy]
2020-06-18 15:31:31 -07:00
Julianna Tetreault
426d3191e8
Add a Broadcast Show View ( #8769 ) [deploy]
...
* Add #show to the Broadcasts::Controller and to routes.rb
- Adds a show method to the Broadcasts Controller
- Adds a show route to routes.rb
* Add a show view for Broadcasts
- Adds show.html.erb to /internal/broadcasts
- Repurposes code from index.html.erb for show view
- Repurposes code from edit.html.erb for show view
* Rewrite /internal/broadcasts index to use a table
- Formats /internal/broadcasts with a table
- Removes on-hover functionality from show.html.erb
* Refactor Broadcast resources in routes.rb
* Redirect to #show on create and update for Broadcasts
* Add the Destroy Broadcast button to the Broadcast show view
* Remove style preventing Broadcast preview
* Add Broadcast styling back and add display: block to stylesheet
* Add display: flex to .broadcast-wrapper in layout.scss
* Remove superfluous slashes from opening tags
2020-06-18 15:51:45 -06:00
Vaidehi Joshi
904f0dac78
Add ahoy + welcome notification tracking ( #8758 ) [deploy]
...
* Set up ahoy gem, add ahoy-js
* Import ahoy.js into base.js.erb
* Add trackNotification function to notifications/index.html.erb
* Add sanitized_broadcast_id helper
* Use sanitized_broadcast_id in broadcast partial
* Add specs around tracking welcome notifications
* Remove optional fields from Ahoy::Visit migration + table
* Fiddle with trait to see if it helps with CI failures
* Disable geocode tracking in ahoy
* Stub out SiteConfig in notifications page spec
2020-06-18 13:40:14 -07:00
Ben Halpern
0e765b47de
[deploy] Modify articles below content for SEO and efficiency ( #8755 )
...
* Modify articles below content for SEO and efficiency
* fix Travis and code climate failures
Co-authored-by: mstruve <mollylbs@gmail.com>
2020-06-18 15:04:29 -04:00
Alex
1890f393a2
[deploy] Add subscriber_email to user_subscriptions & more backend updates ( #8723 )
...
* Add migrations for subscriber_email column
* Add new schema
* Update relationships, specs, and factory
* Use unless index_exists? over if !index_exists?
* Fix typo in last fix for migration
* Rename authored_user_subscriptions
- to source_authored_user_subcriptions
* Add factory methods and specs
- UserSubscription.make
- UserSubscription.make_new
- Article.new_user_subscription
- Article.create_user_subscription
* Remove self and &
* Change make_new to build
* new_user_subscription --> build_user_subscription
* Come on, Travis
2020-06-18 14:40:08 -04:00
Nick Taylor
e117c7b766
nickytonline/comment subscription fix ( #8768 )
2020-06-18 11:26:48 -04:00
Joe Doss
3ba1692eab
Don't seed in production when using db:prepare ( #8754 )
...
* We don't want to do devel seeding in production mode when using db:prepare. This
PR fixes that. We can also use seeds.rb to do production seeding for new Forems
in the future.
* Just return if in production instead of wrapping the entire file in an if statement.
2020-06-18 10:39:20 -04:00
Nick Taylor
653ec12300
Upgrade to Preact 10.4.4 ( #8739 )
...
Co-authored-by: Nick Taylor <nick@iamdeveloper.com>
Co-authored-by: Ridhwana <Ridhwana.Khan16@gmail.com>
2020-06-18 10:07:17 -04:00
ludwiczakpawel
cb1f03ce9f
[deploy] CSS fixes ( #8764 )
...
* flare tag line height
* .
* fix editor overflow issue
* fix editor overflow issue
* themable actions colors
* name position
2020-06-18 09:16:13 -04:00
Michael Kohl
158b3f1307
Display 'Originally published' for canonical URLs ( #8761 )
2020-06-18 08:10:47 -04:00
rhymes
2fff21f652
Add email panel to settings/account ( #8727 )
...
* Use crayons
* Add spec for Identity.email
* Refactor panels and ifs
* Update app/views/users/_account_providers_emails.html.erb
Co-authored-by: ludwiczakpawel <ludwiczakpawel@gmail.com>
* Update app/views/users/_account_providers_emails.html.erb
Co-authored-by: ludwiczakpawel <ludwiczakpawel@gmail.com>
* Update app/views/users/_account_providers_emails.html.erb
Co-authored-by: ludwiczakpawel <ludwiczakpawel@gmail.com>
Co-authored-by: ludwiczakpawel <ludwiczakpawel@gmail.com>
2020-06-18 13:08:46 +02:00
Dmitry Maksyoma
be07697d6d
Adapt dev env to run on a remote box ( #8232 )
...
* Adapt dev env to run on a remote box
* webpack-dev-server ignores CLI arguments, so switched to environment
variables.
* Dynamically determine remote webpack host via APP_DOMAIN environment
variable, defined in application.yml.
* Setup content security policy to allow connecting to webpack on a
remote box, defined by APP_DOMAIN environment variable.
* Make Webpacker listen on 0.0.0.0
* Account for APP_DOMAIN port
* Add support for URI scheme and tests
* Fix a spec by disabling a Rubocop linter
2020-06-18 13:01:49 +02:00
ludwiczakpawel
9c471640b6
Footer redesign ( #8684 )
...
* flare tag line height
* .
* init
* moar
* user siteconfig for mascot
* .
2020-06-18 12:52:03 +02:00
Ben Halpern
478b048fc5
[deploy] Fix article preamble style ( #8756 )
...
* Fix article preamble style
* Proper tests
2020-06-17 20:10:41 -04:00
Josh Puetz
62fdf6f897
Let's try this again ( #8747 )
2020-06-17 18:34:40 -04:00
Ben Halpern
fc667e5177
[deploy] Small css fixes ( #8743 )
...
* Small css fixes
* Update app/views/articles/_org_branding.html.erb
Co-authored-by: ludwiczakpawel <ludwiczakpawel@gmail.com>
Co-authored-by: ludwiczakpawel <ludwiczakpawel@gmail.com>
2020-06-17 16:11:36 -04:00
Ben Halpern
2deadc2385
Change three-dots svg ( #8746 )
2020-06-17 15:53:55 -04:00
Andy Zhao
0a41ff658b
Only render div if the user is able to connect another auth ( #8730 )
...
* Only render div if the user is able to connect another auth
* Use generalized auth provider size instead
* Hide blank div in account page too
2020-06-17 14:57:20 -04:00
Fernando Valverde
5320f533ad
[deploy] Makes the dropdown on comments display correctly on small screens ( #8742 )
2020-06-17 12:46:58 -06:00
Molly Struve
0761ba4b11
[deploy] Upgrade Rails to 6.0.3.2 To Fix CVE-2020-8185 ( #8736 )
2020-06-17 11:29:54 -05:00
ludwiczakpawel
cd97ce10f0
[deploy] Ludwiczakpawel/hotfix article ( #8738 )
...
* flare tag line height
* .
* .'
'
2020-06-17 12:14:03 -04:00
Ben Halpern
82bb422124
[deploy] hotfix safari code issue ( #8737 )
2020-06-17 11:59:11 -04:00