Commit graph

4791 commits

Author SHA1 Message Date
rhymes
ee594a657f
Misc rubocop fixes (#7044)
* Fix violations

* rubocop autogen config
2020-04-03 11:48:47 -04:00
rhymes
6bede2a92b
Upgrade to Ruby 2.7.0 (#5281) [deploy]
* Upgrade to Ruby 2.7.0

* Upgrade Travis's Ruby as well

* Fix conflict

* Silence all Ruby 2.7 deprecation warnings in dev mode

* Silence dev and test unless CI
2020-04-03 17:36:19 +02:00
Nick Taylor
4d3278a21e
Created the <ButtonGroup /> Preact Component (#7048)
* Created the <ButtonGroup /> component.

* Removed comment for children proptypes.

* Updated <ButtonGroup /> SB story and tests.
2020-04-03 11:29:24 -04:00
Molly Struve
2ef17099ed
By Default Search for Users that are not Banned (#7052)
Co-authored-by: Mac Siri <krairit.siri@gmail.com>
2020-04-03 10:03:24 -05:00
rhymes
f2b0be2043
Add Slack messengers: part 2 (#6916)
* Add Slack::Messengers::ArticlePublished

* Add Slack::Messengers::ReactionVomit

* Add Slack::Messengers::CommentUserWarned

* Add missing URL helpers

* Add Slack::Messengers::ArticleFetchedFeed

* Remove callback condition

* Build, don't create
2020-04-03 17:00:06 +02:00
Nick Taylor
d6e5808dec
Created Crayons Button Preact component (#6987)
* wip <Button > component.

* wip button components.

* Fixed issue when icon does not exist.

* Removed subfolder JSX for Preact components in Storybook sidebar.

* Touched up some Storybook stories.

* Now <Button /> component supports a or button for HTML.

* Now the <Button /> component supports the disabled prop

* A nice little refactor.

* Added onClick, onMouseOver, onMouseOut, onFocus and onBlur events to the <Button /> component.

* Set the cursor to default when a <Button /> component is disabled.

* Added tests for <Button /> component.

* Added tests for <SecondaryButton />, <OutlineButton /> and <DangerButton />.

* Updated disabled cursor.

* Removed link href when button is disabled and is an <a />.

* Added the icon alone option for the <Button /> component.

* Now active and hover states are disabled for <Button /> when an HTML button is rendered.

* Now the disabled <Button /> component deactivates hover/active states properly.

* Removed global button hover styling as per @ludwiczakpawel's request.

* Renamed the as prop to tagName.

* Removed components that were wrapping different variants.
2020-04-03 10:49:01 -04:00
Guilherme Vinicius Moreira
806075dbe7
Refactor internal mods page (#7002)
* Refactor internal mods page

* Refactor code style suggestions
2020-04-03 10:41:09 -04:00
rhymes
857de5ebb9
[deploy] Remove unused tags columns (#6977) 2020-04-03 10:40:45 -04:00
ludwiczakpawel
f87df426ca
[deploy] 8 --> 5 (#7062) 2020-04-03 10:08:45 -04:00
Molly Struve
44d0be9c76
[deploy] Setup User Elasticsearch Doc Syncing (#7049)
* sync related Elasticsearch docs when a user is updated

* check for changes in all user nested keys

* put user fields into a constant for easy access
2020-04-03 10:07:32 -04:00
Molly Struve
2f57952a1a
[deploy] Revert "serialize search score for articles (#7053)" (#7065)
This reverts commit e16a0f8c34.
2020-04-03 09:04:27 -05:00
Michael Kohl
1d069d8ed1
Unset DATABASE_URL in .gitpod.yml (#7059)
* Unset DATABASE_URL in .gitpod.yml

* Only run bin/setup once

* Try alternative approach for unsetting DATABASE_URL

* Update bin/setup

* Consistently use db_url

* Fix bug caused by typo (= instead of ==)
2020-04-03 15:56:43 +02:00
rhymes
990abc5eb2
Fix flaky credis buyer spec (#7061) 2020-04-03 15:55:09 +02:00
Ben Halpern
c1cf1df7a9
[deploy] Fix up connect group issues (#7051)
* Fix up connect group issues

* Fix spec

* Fix spec
2020-04-02 21:58:59 -04:00
ludwiczakpawel
19da53450e
[deploy] Profile link fix (#7019)
* wtf

* fix

* gitattributes

* test ???
2020-04-02 19:33:17 -04:00
Molly Struve
40f15e68d0
[deploy] Delete all users via the DeleteWorker for consistency (#7013) 2020-04-02 19:26:58 -04:00
Ben Halpern
6904854629
Share your project (#7055) 2020-04-02 19:22:27 -04:00
Vaidehi Joshi
a3d12e03a3
Add set_up_profile notification, check for active broadcasts (#7054) [deploy]
* Replace current onboarding notification with set_up_profile welcome notification

Also ensure that only "active" set_up_profile welcome notification is sent, and that "inactive" ones are ignored.

* Notify only if broadcast active, log error if broadcast not found

* Reports to Honeybadger if an active broadcast cannot be found

* Reorganize order of generator specs

* Ensure welcome_broadcast can be written to in spec

* Remove redundant spec
2020-04-02 15:56:29 -07:00
rhymes
cf1f6cc209
Make sure there is no empty <p> in the badge email (#7043) 2020-04-02 18:25:51 -04:00
Mac Siri
b72fe0f03c
Disable Travis alert on pull request (#7046) 2020-04-02 18:21:31 -04:00
Molly Struve
e16a0f8c34
[deploy] serialize search score for articles (#7053) 2020-04-02 17:34:03 -04:00
Molly Struve
98ca3bbe39
[deploy] index articles after ratings are updated (#7050) 2020-04-02 17:30:13 -04:00
Mac Siri
b5fa02bf33
Create Broadcasts.rake (#7010) 2020-04-02 17:24:39 -04:00
dependabot-preview[bot]
ac3b88ccb0
Bump @rails/webpacker from 5.0.0 to 5.0.1 (#7026) 2020-04-02 16:05:42 -04:00
dependabot-preview[bot]
ac2d343521
Bump eslint-plugin-import from 2.20.1 to 2.20.2 (#7034) 2020-04-02 16:05:14 -04:00
dependabot-preview[bot]
6aca7f0782
Bump jest from 25.2.0 to 25.2.6 (#7031) 2020-04-02 16:04:43 -04:00
dependabot-preview[bot]
c317479795
Bump lint-staged from 10.0.9 to 10.1.1 (#7032) 2020-04-02 16:04:21 -04:00
dependabot-preview[bot]
139be5c45e
Bump aws-sdk-lambda from 1.37.0 to 1.38.0 (#7038)
Bumps [aws-sdk-lambda](https://github.com/aws/aws-sdk-ruby) from 1.37.0 to 1.38.0.
- [Release notes](https://github.com/aws/aws-sdk-ruby/releases)
- [Changelog](https://github.com/aws/aws-sdk-ruby/blob/master/gems/aws-sdk-lambda/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-ruby/compare/v1.37.0...v1.38.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-04-02 16:02:01 -04:00
Ben Halpern
e97cacef1e
Allow published/approved campaign html variant to be edited (#7045) 2020-04-02 16:01:41 -04:00
rhymes
abca674c15
Remove mutationobserver-shim (#7041) 2020-04-02 15:53:06 -04:00
Molly Struve
0d3bde3452
[deploy] Index User Roles to use to Filter out banned users (#7014) 2020-04-02 14:11:33 -05:00
Ben Halpern
6131c4f03c
[deploy] Remove hardcoded banner exit code (#7018)
* Remove hardcoded banner exit code

* Fix issues with html variant name

* Fix html call logic
2020-04-02 12:08:13 -04:00
Anna Buianova
0468f091c4
Removed unused pages routes (#7022) 2020-04-02 18:43:43 +03:00
Molly Struve
bdd4e59f0f
[deploy] return fields needed to populate the view for podcast episodes (#6986) 2020-04-02 09:21:25 -05:00
dependabot-preview[bot]
4208efd6b6
[deploy] Bump recaptcha from 5.4.1 to 5.5.0 (#7037)
Bumps [recaptcha](https://github.com/ambethia/recaptcha) from 5.4.1 to 5.5.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.4.1...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-04-02 09:20:30 -05:00
dependabot-preview[bot]
3ab6014030
Bump rubocop-rails from 2.5.0 to 2.5.1 (#7035)
Bumps [rubocop-rails](https://github.com/rubocop-hq/rubocop-rails) from 2.5.0 to 2.5.1.
- [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.5.0...v2.5.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-04-02 09:19:58 -05:00
dependabot-preview[bot]
47c20a9b41
Bump ddtrace from 0.33.1 to 0.34.0 (#7036)
Bumps [ddtrace](https://github.com/DataDog/dd-trace-rb) from 0.33.1 to 0.34.0.
- [Release notes](https://github.com/DataDog/dd-trace-rb/releases)
- [Changelog](https://github.com/DataDog/dd-trace-rb/blob/master/CHANGELOG.md)
- [Commits](https://github.com/DataDog/dd-trace-rb/compare/v0.33.1...v0.34.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-04-02 09:19:13 -05:00
rhymes
2926f6be12
[deploy] Strengthen badge achievement code and fix badge email (#7000)
* Add badges and badge achievements to seeds

* Strengthen BadgeAchievement code and fix mailer bug

* Add indentation
2020-04-02 09:14:10 -04:00
dependabot-preview[bot]
34dd9a1dd4
Bump jsdom from 16.2.1 to 16.2.2 (#7033)
Bumps [jsdom](https://github.com/jsdom/jsdom) from 16.2.1 to 16.2.2.
- [Release notes](https://github.com/jsdom/jsdom/releases)
- [Changelog](https://github.com/jsdom/jsdom/blob/master/Changelog.md)
- [Commits](https://github.com/jsdom/jsdom/compare/16.2.1...16.2.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-04-02 09:11:34 -04:00
Nick Taylor
8053f1ba5b
Dependabot can't merge these as they all have to have the same version when merged. (#7039) 2020-04-02 09:11:17 -04:00
Ben Halpern
ac49cc5a4c
[deploy] Update style for tag social preview (#7017) 2020-04-02 08:23:14 -04:00
dependabot-preview[bot]
07cc39a9d7
Bump capybara from 3.31.0 to 3.32.0 (#7025)
Bumps [capybara](https://github.com/teamcapybara/capybara) from 3.31.0 to 3.32.0.
- [Release notes](https://github.com/teamcapybara/capybara/releases)
- [Changelog](https://github.com/teamcapybara/capybara/blob/master/History.md)
- [Commits](https://github.com/teamcapybara/capybara/compare/3.31.0...3.32.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-04-02 08:21:15 -04:00
dependabot-preview[bot]
0bdb3997a2
Bump @storybook/preact from 5.3.17 to 5.3.18 (#7029)
Bumps [@storybook/preact](https://github.com/storybookjs/storybook/tree/HEAD/app/preact) from 5.3.17 to 5.3.18.
- [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/v5.3.18/app/preact)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-04-02 08:20:21 -04:00
Anna Buianova
0457fa4e9d
Removed unused scholarships code (#7023) 2020-04-02 08:15:00 -04:00
ludwiczakpawel
e16d13f5f8
Topbar icons states (#7012)
* topbar

* little update

* whoops

* gitattributes
2020-04-02 11:50:05 +02:00
ludwiczakpawel
3a17fd2aa9
Crayons Cards and Links (#6997)
* updating links

* fixing exisitng links

* reogranizing links

* update variables

* more variable updates

* .

* rename

* themes adjustments

* whoops

* contrast fix for ben

* little fixes
2020-04-02 10:48:18 +02:00
Molly Struve
7240ccd372
remove user search from chat channel settings (#7015) 2020-04-02 09:13:51 +02:00
Vaidehi Joshi
9cebaa53e7
Avoid clobbering user attributes with empty params during onboarding (#7016) [deploy] 2020-04-01 16:56:10 -07:00
rhymes
1dcc9ff189
Ignore unused polls and poll_options columns (#6945) 2020-04-01 19:34:18 -04:00
Arit Amana
01465efcb2
Make slight updates to the Technical Docs (#7011) 2020-04-01 19:26:52 -04:00