Commit graph

7089 commits

Author SHA1 Message Date
Molly Struve
bd96abcd1e
[deploy] Fix Reading List Counter Without last_reacted_at Default (#10933) 2020-10-19 13:26:19 -05:00
Molly Struve
4dbfc21407
[deploy] Revert "Fix reading list counter (#10763)" (#10932)
This reverts commit 1f17451c8e.
2020-10-19 12:54:31 -05:00
ludwiczakpawel
95619a9c92
Adding admin link for admins (#10926)
* adding admin link for admins

* ok, workaround
2020-10-19 12:44:17 -04:00
Takuma
1f17451c8e
[deploy] Fix reading list counter (#10763) 2020-10-19 11:22:57 -05:00
dependabot-preview[bot]
522696742f
Bump lint-staged from 10.4.0 to 10.4.2 (#10915)
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 10.4.0 to 10.4.2.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](https://github.com/okonet/lint-staged/compare/v10.4.0...v10.4.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-10-19 12:13:18 -04:00
ludwiczakpawel
0da2907abf
disable logo resizing on small resolutions (#10929) 2020-10-19 12:04:22 -04:00
dependabot-preview[bot]
b8cd343d05
Bump focus-visible from 5.1.0 to 5.2.0 (#10913)
Bumps [focus-visible](https://github.com/WICG/focus-visible) from 5.1.0 to 5.2.0.
- [Release notes](https://github.com/WICG/focus-visible/releases)
- [Commits](https://github.com/WICG/focus-visible/compare/v5.1.0...v5.2.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-10-19 12:01:14 -04:00
Molly Struve
ef561e034e
Flaky Spec Fix:Don't Hard Code Comment Date (#10930) 2020-10-19 10:46:18 -05:00
dependabot-preview[bot]
e1e13806e9
[deploy] Bump webmock from 3.9.1 to 3.9.3 (#10902)
* Bump webmock from 3.9.1 to 3.9.3

Bumps [webmock](https://github.com/bblimke/webmock) from 3.9.1 to 3.9.3.
- [Release notes](https://github.com/bblimke/webmock/releases)
- [Changelog](https://github.com/bblimke/webmock/blob/master/CHANGELOG.md)
- [Commits](https://github.com/bblimke/webmock/compare/v3.9.1...v3.9.3)

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

* Bump webmock from 3.9.1 to 3.9.3 (Update vendor/cache)

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-10-19 10:53:22 -04:00
dependabot-preview[bot]
9019428f4b
Bump @storybook/addon-links from 6.0.25 to 6.0.26 (#10905)
Bumps [@storybook/addon-links](https://github.com/storybookjs/storybook/tree/HEAD/addons/links) from 6.0.25 to 6.0.26.
- [Release notes](https://github.com/storybookjs/storybook/releases)
- [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md)
- [Commits](https://github.com/storybookjs/storybook/commits/v6.0.26/addons/links)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-10-19 10:43:06 -04:00
dependabot-preview[bot]
4e1e5a4562
Bump eslint-config-prettier from 6.12.0 to 6.13.0 (#10911)
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) from 6.12.0 to 6.13.0.
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases)
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v6.12.0...v6.13.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-10-19 10:33:26 -04:00
Ridhwana
3ccecfbbb7
Make the footer links dynamic (#10921)
* fix: end tag not in the correct place :(

* feat: update the footer links to be dynamic

* feat: make the layout dynamic as well

* spec: update

* fix: column flow rather than row
2020-10-19 10:31:44 -04:00
Molly Struve
c55bd0948f
[deploy] Flaky Spec Fix:Set TimeZone For All Spec Requests to Match Zonebie (#10891) 2020-10-19 09:24:58 -05:00
Michael Kohl
adb41a0a15
Uncheck email preferences by default (#10919)
* Uncheck email preferences by default

* Fix specs

* Update app/javascript/onboarding/components/__tests__/EmailPreferencesForm.test.jsx

Co-authored-by: Molly Struve <mollylbs@gmail.com>

Co-authored-by: Molly Struve <mollylbs@gmail.com>
2020-10-19 10:20:03 -04:00
Nick Taylor
51c35ee6e8
Added back overflow-y scroll to allow users to scroll through chat messages. (#10923) 2020-10-19 10:16:13 -04:00
dependabot-preview[bot]
0e7d4b260b
Bump recaptcha from 5.5.0 to 5.6.0 (#10910)
* Bump recaptcha from 5.5.0 to 5.6.0

Bumps [recaptcha](https://github.com/ambethia/recaptcha) from 5.5.0 to 5.6.0.
- [Release notes](https://github.com/ambethia/recaptcha/releases)
- [Changelog](https://github.com/ambethia/recaptcha/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ambethia/recaptcha/compare/v5.5.0...v5.6.0)

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

* Bump recaptcha from 5.5.0 to 5.6.0 (Update vendor/cache)

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-10-19 09:47:43 -04:00
dependabot-preview[bot]
165e6fa7fc
Bump amazing_print from 1.2.1 to 1.2.2 (#10908)
* Bump amazing_print from 1.2.1 to 1.2.2

Bumps [amazing_print](https://github.com/amazing-print/amazing_print) from 1.2.1 to 1.2.2.
- [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.1...v1.2.2)

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

* Bump amazing_print from 1.2.1 to 1.2.2 (Update vendor/cache)

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-10-19 08:13:22 -05:00
dependabot-preview[bot]
4b58daf4e3
Bump timecop from 0.9.1 to 0.9.2 (#10899)
* Bump timecop from 0.9.1 to 0.9.2

Bumps [timecop](https://github.com/travisjeffery/timecop) from 0.9.1 to 0.9.2.
- [Release notes](https://github.com/travisjeffery/timecop/releases)
- [Changelog](https://github.com/travisjeffery/timecop/blob/master/History.md)
- [Commits](https://github.com/travisjeffery/timecop/compare/v0.9.1...v0.9.2)

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

* Bump timecop from 0.9.1 to 0.9.2 (Update vendor/cache)

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-10-19 08:12:15 -05:00
dependabot-preview[bot]
4729fd0a48
Bump rubocop from 0.93.0 to 0.93.1 (#10900)
* Bump rubocop from 0.93.0 to 0.93.1

Bumps [rubocop](https://github.com/rubocop-hq/rubocop) from 0.93.0 to 0.93.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.93.0...v0.93.1)

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

* Bump rubocop from 0.93.0 to 0.93.1 (Update vendor/cache)

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-10-19 08:11:22 -05:00
dependabot-preview[bot]
d7b3a7c70a
Bump oj from 3.10.14 to 3.10.15 (#10906)
* Bump oj from 3.10.14 to 3.10.15

Bumps [oj](https://github.com/ohler55/oj) from 3.10.14 to 3.10.15.
- [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.14...v3.10.15)

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

* Bump oj from 3.10.14 to 3.10.15 (Update vendor/cache)

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-10-19 07:20:19 -05:00
dependabot-preview[bot]
349ba7e375
[deploy] Bump twilio-ruby from 5.40.4 to 5.41.0 (#10912)
* Bump twilio-ruby from 5.40.4 to 5.41.0

Bumps [twilio-ruby](https://github.com/twilio/twilio-ruby) from 5.40.4 to 5.41.0.
- [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.4...5.41.0)

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

* Bump twilio-ruby from 5.40.4 to 5.41.0 (Update vendor/cache)

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-10-19 07:09:37 -05:00
dependabot-preview[bot]
ed6b422d42
Bump stripe from 5.26.0 to 5.28.0 (#10898)
* Bump stripe from 5.26.0 to 5.28.0

Bumps [stripe](https://github.com/stripe/stripe-ruby) from 5.26.0 to 5.28.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.26.0...v5.28.0)

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

* Bump stripe from 5.26.0 to 5.28.0 (Update vendor/cache)

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-10-19 07:09:11 -05:00
dependabot-preview[bot]
e53bf5a57c
Bump rails-settings-cached from 2.2.0 to 2.3.5 (#10904)
* Bump rails-settings-cached from 2.2.0 to 2.3.5

Bumps [rails-settings-cached](https://github.com/huacnlee/rails-settings-cached) from 2.2.0 to 2.3.5.
- [Release notes](https://github.com/huacnlee/rails-settings-cached/releases)
- [Changelog](https://github.com/huacnlee/rails-settings-cached/blob/master/CHANGELOG.md)
- [Commits](https://github.com/huacnlee/rails-settings-cached/compare/v2.2.0...v2.3.5)

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

* Bump rails-settings-cached from 2.2.0 to 2.3.5 (Update vendor/cache)

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-10-19 07:08:52 -05:00
Nick Taylor
57f3863d09
Added the <ConnectStateProvider /> (#9799)
* Added the <ConnectStateProvider />

* Moved <ConnectStateProvider /> to chat/components.
2020-10-19 05:18:04 -04:00
narender2031
72c7aedd1f
fix bug on chat input (#10755) 2020-10-18 21:57:59 -04:00
dependabot-preview[bot]
eedab1d823
Bump preact from 10.5.4 to 10.5.5 (#10901)
Bumps [preact](https://github.com/preactjs/preact) from 10.5.4 to 10.5.5.
- [Release notes](https://github.com/preactjs/preact/releases)
- [Commits](https://github.com/preactjs/preact/compare/10.5.4...10.5.5)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-10-18 18:59:41 -04:00
dependabot-preview[bot]
30f726b378
Bump eslint-import-resolver-webpack from 0.12.2 to 0.13.0 (#10909)
Bumps [eslint-import-resolver-webpack](https://github.com/benmosher/eslint-plugin-import) from 0.12.2 to 0.13.0.
- [Release notes](https://github.com/benmosher/eslint-plugin-import/releases)
- [Changelog](https://github.com/benmosher/eslint-plugin-import/blob/master/CHANGELOG.md)
- [Commits](https://github.com/benmosher/eslint-plugin-import/compare/v0.12.2...v0.13.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-10-18 18:58:45 -04:00
dependabot-preview[bot]
dfb43bb662
Bump css-loader from 4.3.0 to 5.0.0 (#10914)
Bumps [css-loader](https://github.com/webpack-contrib/css-loader) from 4.3.0 to 5.0.0.
- [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.3.0...v5.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-10-18 18:57:59 -04:00
Ben Halpern
5b063552e5
Allow admins to change user email (#10916) 2020-10-18 16:28:11 -04:00
Josh Puetz
69f49f88b9
Remove attempt to allow empty auth providers (#10885) [deploy] 2020-10-17 07:32:18 -05:00
Shubhankar Kanchan Gupta
a60c923539
new liquid tag - dotnetfiddle (#10788)
* new liquid tag - dotnetfiddle

* 1. Moved the hack into controller
2. Use URI to check if Widget keyword doesn't exist, then insert Widget using URI

* 1. Fixed tests
2. Updated code to eliminate xss_attacks

* Update app/liquid_tags/dotnet_fiddle_tag.rb to match pr comment

Co-authored-by: Michael Kohl <me@citizen428.net>

Co-authored-by: Michael Kohl <me@citizen428.net>
2020-10-16 14:47:52 -04:00
Mac Siri
dd8745ca33
[deploy] Store Article's main_image path unprocessed (#10867) 2020-10-16 14:46:37 -04:00
Alexis Moody
f4a10e4a44
[deploy] Adds a new admin setting for experience levels. (#10870)
* Adds a new admin setting for experience levels.

This is used in the post management UI to determine the range of experience. These values fallback to the ones we currently see in DEV, Total Newbies and Senior Devs. There is also a removal of the word coding when talking about experience level, since the context for each forem instance should be implied when referencing experience.

* Cleans up experience defaults

* Fixes instance_of usage
2020-10-16 12:40:25 -06:00
Mac Siri
c45080c737
[deploy] Account for missing feed_url in RssReader (#10844) 2020-10-16 14:29:35 -04:00
Shubhankar Kanchan Gupta
fccb866903
Add rails dbconsole (#10861)
* Add rails dbconsole

* Transfer note at bottom of steps as in PR comment
2020-10-16 14:13:57 -04:00
Alex
0cd1319df2
Update feed docs (#10881)
* Update feed docs

* Update README for typos and clarity

Co-authored-by: Jacob Herrington <jacobherringtondeveloper@gmail.com>

* Update feed style summary line

Co-authored-by: Jacob Herrington <jacobherringtondeveloper@gmail.com>
2020-10-16 12:51:52 -04:00
Ridhwana
6a7b78e4a0
Allow admins to turn "some" hardcoded pages into a "Page" (#10877)
* feat: allow a page to override the code_of_conduct, terms and privacy page

* feat: let privacy policy also use a partial for its contents like coc and terms

* feat: show the defaults or the pages

* specs: add tests for the overrides

* feat: update some styles and make use crayons buttons

* fix: update order of test items

* spec: fix

* reactor: move this whole section in the if

* feat: updates

* fix: code climate + travis

* more codeeclimate
2020-10-16 12:37:06 -04:00
Josh Puetz
91c3ef4f44
Allow all third party auth providers to be deactivated (#10812) [deploy]
* Tests and refactor

* Adapt to empty params, tests

* Removed duplicated spec

* Constantize

* Extract method

* Typo fix!

* Spec change
2020-10-16 10:08:10 -05:00
Michael Kohl
c4a05587f9
User color fields in admin (#10875) 2020-10-16 10:37:16 -04:00
Josh Puetz
04f1260bf5
System test (#10854)
* System test

* Update spec/system/authentication/user_logs_in_with_email_spec.rb

Removed commented out line

Co-authored-by: Jacob Herrington <jacobherringtondeveloper@gmail.com>

* Update spec/system/authentication/user_logs_in_with_email_spec.rb

Co-authored-by: Jacob Herrington <jacobherringtondeveloper@gmail.com>

* Update spec/system/authentication/user_logs_in_with_email_spec.rb

Co-authored-by: Jacob Herrington <jacobherringtondeveloper@gmail.com>

Co-authored-by: Jacob Herrington <jacobherringtondeveloper@gmail.com>
2020-10-16 00:10:56 -05:00
Karin Hendrikse
270c044698
replace Envfile with env_sample and reference env file in auth docs (#10864)
Co-authored-by: khendrikse <k.hendrikse@youngcapital.nl>
2020-10-16 00:09:16 -05:00
Michael Kohl
1a44d717fc
[deploy] Move settings tabs to constant (#10859) 2020-10-16 08:30:58 +07:00
Molly Struve
ba65b04cc8
Optimization/Flaky Fix:Combine Spec Assertions and Use Timecop for Datetime Assertion (#10866)
Co-authored-by: Andy Zhao <17884966+Zhao-Andy@users.noreply.github.com>
2020-10-15 16:48:12 -05:00
Ben Halpern
0e712f77b0
Add all new functionality for trusted (#10816) 2020-10-15 17:00:49 -04:00
Mac Siri
dc06625502
Ignore /images in service_worker (#10852) 2020-10-15 11:49:32 -04:00
Molly Struve
fe1869ff7a
[deploy] Refactor/Feature:Use SiteConfig video_encoder_key For Processing Videos (#10848) 2020-10-15 10:16:50 -05:00
Ben Halpern
0a3f848472
Begin cleaning up and generalizing events (#10837)
* Begin cleaning up and generalizing events

* Change from h3 to notice
2020-10-15 11:07:42 -04:00
narender2031
2461069254
fix request center UI (#10824)
* fix request center UI

* remove not require css

* removed not used classes
2020-10-15 10:46:26 -04:00
narender2031
735adeb7e3
Chat ui bug fix (#9466)
* 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 chat ui height

* fix no console

Co-authored-by: Sarthak Sharma <7lovesharma7@gmail.com>
2020-10-15 16:21:03 +02:00
Akshay Mahajan
ff918daa20
Remove flare tag from title and hightlight it within the tags row (#10528)
* Remove flare tag from title and hightlight it within the tags row

* wrap flare tag # in a span with class crayons-tag__prefix

* updated buildArticleHTML.js to show flare tag in the tags row

* updated _single_story.html.erb to show flare tag in the tags row

* fixed missing opening tag

* removed crayons-story__flare-tag class and containers

* added .crayons-story__flare-tag back to stories.scss for search results

* added check for undefined tagList in buildArticleHTML.js
2020-10-15 16:09:14 +02:00