Commit graph

6961 commits

Author SHA1 Message Date
Sarthak Sharma
83b3baeac3
[deploy] 🚀 Feature: Draw Command for connect with image annotations (#10136)
* 🚀 Draw Command ready for connect [Rebase]

* revert schema changes

* fix & replace Button with theme button

* fix UI

* add test cases

* fix travis issue

* on image upload enable send button

* revert schema.db changes

* revert UI changes

* fix suggestions

* Update app/javascript/chat/draw/index.jsx

Co-authored-by: Nick Taylor <nick@iamdeveloper.com>

* update test cases

* remove commented code

* Trigger Travis CI

Co-authored-by: Narender Singh <narender2031@gmail.com>
Co-authored-by: Nick Taylor <nick@iamdeveloper.com>
2020-10-07 16:06:22 +02:00
Ben Halpern
b800b81c45
Skip service workers in development by default (#10617) 2020-10-07 14:23:11 +07:00
Julianna Tetreault
0a5babc10e
Add Recent Reactions to the Admin Users' Page (#10680)
* Adds Recent Reations back to the Admin Users page...UGH rebasing :(
  - Render negative_reactions partial in admin/edit.html.erb
  - Add #set_related_reactions back to Admin::UsersController
  - Refacotors JS to target #reports-row in _reports.html.erb

* Alphabetizes reports and reactions partials in edit.html.erb

* Adds tests around Recent Reports and Recent Reactions sections to users_spec.rb
2020-10-07 14:21:10 +07:00
Jacob Herrington
1a8fa3b182
Add logo_svg to mandatory config fields (#10671) 2020-10-07 08:29:13 +02:00
dependabot-preview[bot]
9c4254612b
Bump @storybook/preact from 6.0.22 to 6.0.26 (#10619)
Bumps [@storybook/preact](https://github.com/storybookjs/storybook/tree/HEAD/app/preact) from 6.0.22 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/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-10-07 08:11:34 +02:00
Brunno Souza
120bd7940f
Move method #approved_liquid_tags to user service (#10663) 2020-10-07 12:04:08 +07:00
Michael Kohl
511496c593
Update BatchRewarder::REPOSITORIES (#10593)
* Update BatchRewarder::Repositories

* Sort constant alphabetically
2020-10-07 09:00:26 +07:00
Vaidehi Joshi
52fd043c33
[deploy] Limit articles created by newer users (#10686)
* Limit articles created by newer users

* Fix typo in test
2020-10-06 21:02:05 -04:00
Ben Halpern
98b600da5c
[deploy] Move spam check to after save (#10685) 2020-10-06 19:54:30 -04:00
Ben Halpern
6cb68f134e
[deploy] Allow pattern match for spam terms (#10684) 2020-10-06 19:18:29 -04:00
Ben Halpern
c77a13c0d0
[deploy] Auto-suspend multiple-spammers (#10679)
* Auto-ban multiple-spammers

* Fix xit
2020-10-06 18:07:48 -04:00
Ben Halpern
f87e9eace1
[deploy] Add feed_strategy config (#10245)
* Add feed_strategy config

* Add configs spec

* Fix specs

* Fix field test scenario

* Linting

* A couple small changes

* Rename Optimized and objects

* Add proper namespace

* Fix codeclimate

* Add docs

* Update docs/technical-overview/readme.md
2020-10-06 17:36:27 -04:00
Mac Siri
95eaedc4a2
Add additional startup checks for imgproxy (#10681) 2020-10-06 16:18:52 -04:00
Vaidehi Joshi
f83062a9dd
Remove community_action from SiteConfig (#10678) 2020-10-06 15:46:04 -04:00
Lito
70bd93d940
feedback_message.message is required on backend but not required on view (#10612) 2020-10-06 14:41:32 -04:00
Drew Bragg
1fa54e33c2
Return if receive own message (#10618) 2020-10-06 14:33:29 -04:00
dependabot-preview[bot]
a8b3d1272c
Bump @storybook/addon-knobs from 6.0.22 to 6.0.26 (#10608)
Bumps [@storybook/addon-knobs](https://github.com/storybookjs/storybook/tree/HEAD/addons/knobs) from 6.0.22 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/knobs)

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-06 14:14:42 -04:00
Vaidehi Joshi
3d169b5e6f
Do not require SiteConfig.tagline (#10623) [deploy]
* Fix incorrect formatting in admin/configs/show.html.erb

* Only render SiteConfig.tagline if it exists

* Fix typo in _signup_modal.html.erb

* Remove tagline from VerifySetupCompleted::MANDATORY_CONFIGS

* Improve signup_modal tagline specs

* Tiny fixes to address @citizen428's comments
2020-10-06 10:34:34 -07:00
Sarthak Sharma
a282994e24
Clipboard Text Paste Issue Fixed (#10630) 2020-10-06 11:08:25 -04:00
Ben Halpern
cbcd60a17e
[deploy] Fix spam trigger keyword input text (#10665) 2020-10-06 10:47:04 -04:00
Ben Halpern
eefbe25bd3
[deploy] Add ability for admin to add anti-spam terms (#10615)
* Add ability for admin to add anti-spam terms

* Fix specs

* Fix tests

* Fix typo

* Fix test
2020-10-06 10:10:30 -04:00
Josh Puetz
c0272357c0
Add default admin to seeds file (#10620)
* Add default admin to seeds file

* Docs
2020-10-06 08:25:25 -05:00
ludwiczakpawel
d444ef3397
fixing padding on notifications navigation (#10632) 2020-10-06 11:08:38 +02:00
Jacob Herrington
5ecc3f6880
Mention Facebook in authentication docs (#10622)
Setting up more auth options locally and noticed this
2020-10-06 08:22:15 +02:00
rhymes
13bc3fc402
Removed unused CodeMirror CSS class (#10611) 2020-10-06 10:02:10 +07:00
dependabot-preview[bot]
f1b0ab6a96
Bump cloudinary from 1.17.1 to 1.18.1 (#10553) 2020-10-05 15:28:17 -04:00
dependabot-preview[bot]
32a7b4047f
Bump stripe from 5.25.0 to 5.26.0 (#10559) 2020-10-05 15:27:18 -04:00
dependabot-preview[bot]
db304bcd82
Bump brakeman from 4.9.1 to 4.10.0 (#10562) 2020-10-05 15:26:56 -04:00
dependabot-preview[bot]
ee66a061fd
Bump @storybook/addons from 6.0.25 to 6.0.26 (#10607) 2020-10-05 15:26:21 -04:00
dependabot-preview[bot]
e8fce9bea1
Bump @testing-library/preact-hooks from 1.0.6 to 1.1.0 (#10557) 2020-10-05 15:25:45 -04:00
dependabot-preview[bot]
8f043c1c84
Bump @stoplight/spectral from 5.5.0 to 5.6.0 (#10552) 2020-10-05 15:25:17 -04:00
Ben Halpern
c60566b8a5
[deploy] Modify code to deal with flaky tests (#10616)
* Modify code to deal with flaky tests

* Remove uneeded x
2020-10-05 14:54:11 -04:00
Rachael Wright-Munn
348aa3df15
[deploy] Add twitch liquid tags (#10577)
* Add a Liquid Tag specifically for Twitch clips.

These will embed Twitch Clips in articles and comments.

* Update documentation to incorporate Twitch clip liquid tags.

* Include Twitch Clips in video embed logic

* Making a small change to rebuild
2020-10-05 11:55:27 -04:00
Michael Kohl
640f124033
Don't use "not_to raise_error" with specific class (#10602) 2020-10-05 17:29:01 +02:00
dependabot-preview[bot]
18672f24f0
Bump twilio-ruby from 5.40.2 to 5.40.4 (#10555) 2020-10-05 11:19:51 -04:00
dependabot-preview[bot]
725e1fac35
Bump ddtrace from 0.40.0 to 0.41.0 (#10551) 2020-10-05 11:04:34 -04:00
dependabot-preview[bot]
13be9027d7
Bump exifr from 1.3.7 to 1.3.8 (#10549) 2020-10-05 11:04:01 -04:00
Ben Halpern
c0d5486023
[deploy] Fix current_user cache issue in comments (#10609) 2020-10-05 10:52:12 -04:00
dependabot-preview[bot]
6b125dc4b2
Bump sidekiq-unique-jobs from 6.0.23 to 6.0.24 (#10548) 2020-10-05 10:37:01 -04:00
dependabot-preview[bot]
c41fc1d51f
Bump @storybook/addon-links from 6.0.22 to 6.0.25 (#10564) 2020-10-05 10:31:18 -04:00
dependabot-preview[bot]
b18ad2a155
Bump better_errors from 2.8.1 to 2.8.3 (#10550) 2020-10-05 10:13:09 -04:00
James Cote
4687707de1
Remove code link style so it uses the default link color (#10578) 2020-10-05 14:51:47 +02:00
ludwiczakpawel
1375e8a4df
[deploy] Redesigned Comment Form (#10355)
* init

* .

* .

* better

* last bits

* specs

* merge

* fix response templates for replies

* copy

* active inactive buttons + cleanup

* labels

* specs

* specs

* response templates fix

* ....

* wtf

* .
2020-10-05 12:01:48 +02:00
Brunno Souza
e5973ebf9c
Refactoring user_controller separating some classes to service (#10384)
* Refactoring user_controller separating some classes to service

* Replace service Credit::Manager and improve yours specs

* improve method with memoize
2020-10-05 10:41:59 +02:00
dependabot-preview[bot]
07c69b35ef
Bump eslint-config-prettier from 6.11.0 to 6.12.0 (#10554)
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) from 6.11.0 to 6.12.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.11.0...v6.12.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-04 15:31:33 +02:00
dependabot-preview[bot]
eea6ebb928
Bump eslint from 7.9.0 to 7.10.0 (#10561)
Bumps [eslint](https://github.com/eslint/eslint) from 7.9.0 to 7.10.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.9.0...v7.10.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-04 15:31:03 +02:00
dependabot-preview[bot]
442cf0e9ce
Bump style-loader from 1.2.1 to 1.3.0 (#10565)
Bumps [style-loader](https://github.com/webpack-contrib/style-loader) from 1.2.1 to 1.3.0.
- [Release notes](https://github.com/webpack-contrib/style-loader/releases)
- [Changelog](https://github.com/webpack-contrib/style-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/style-loader/compare/v1.2.1...v1.3.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-04 15:30:29 +02:00
dependabot-preview[bot]
3afbedfb4b
Bump eslint-plugin-import from 2.22.0 to 2.22.1 (#10566)
Bumps [eslint-plugin-import](https://github.com/benmosher/eslint-plugin-import) from 2.22.0 to 2.22.1.
- [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/v2.22.0...v2.22.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-10-04 15:30:11 +02:00
ludwiczakpawel
9d384e1a93
CSS Cleanups, part 2 (#10527)
* padding-top on body

* padding-top on body

* move cheese around

* .

* :(

* rename
2020-10-03 06:57:57 +02:00
Molly Struve
cf443c3ae7
Refactor:Remove Screenshot Monkey Patch (#10520) 2020-10-02 16:53:26 -05:00