Commit graph

4761 commits

Author SHA1 Message Date
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
Michael Kohl
e78b3d8ac6
Add .gitattributes (#6993) 2020-04-01 19:14:36 -04:00
Molly Struve
19d31bea03
delegate published in Elasticsearch to podcast to avoid showing ALL PDEs (#7006) 2020-04-01 16:02:14 -04:00
Molly Struve
a396660986
Remove Comment and Article docs From Elasticsearch During User Delete (#7008)
* remove comment and article docs when they are deleted

* fix banish user spec to handle ES deletes

* remove comments from elasticsearch when deleted via delete comments service
2020-04-01 16:01:16 -04:00
Vaidehi Joshi
e23e69d4b2
Prompt users to ask a question/start a discussion (#7007) [deploy]
* Add a discuss/ask notification(s) to seeds + factories

* Add a start discussion/ask question welcome notification

* Add a scope for finding articles published by a user + with a certain tag.

* Some clean up/refactoring in the generator

* Reorganize welcome notification sending, add specs for discuss/ask notification
2020-04-01 11:57:50 -07:00
Molly Struve
ef358c0213
[deploy] update articles when touched by reactions (#7001) 2020-04-01 13:26:56 -05:00
Ben Halpern
be63775a46
[deploy] Fix erb output on sitemaps (#7009) 2020-04-01 14:24:12 -04:00
Arit Amana
6ce09c2c87
Delete non-existing method "organization" from user_dashboard model (#6989) 2020-04-01 13:59:13 -04:00
Mac Siri
217ee6c3f4
Organize rake tasks (#7005) 2020-04-01 12:39:40 -04:00
jituraj98
e2edf960dc
[deploy] Connect: move settings to sidecar iframe, improve invitations and remove experimental features (#6903)
* 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

* Move channel settings to sidecar

* added spec for chat_channels_memberships_controller.rb (#6539)

* added spec for chat_channels_memberships_controller.rb

* simplified record not found error for membership

* error message formatting updated

* added error key in flash message

Co-authored-by: jitendra <jitendrarajpurohit@skynox.tech>

* Refining "Move sidecar to iframe" branch (#6634)

* added spec for chat_channels_memberships_controller.rb

* simplified record not found error for membership

* error message formatting updated

* added error key in flash message

* 🐞 Bug Fix: Open sidecar of clicking @all

* 🐞 Bug Fix: adding space after selecting the username from suggestion box

* added remove channel member functionality for moderators

* 🔩 Small Tweaks: Hover issue fixed

* 🐞 Bug Fix: Remove sidecar toggle on @all tag (for now)

* updated manually constructed urls with rails path helpers

* mod users cannot remove members of other channel

Co-authored-by: jitendra <jitendrarajpurohit@skynox.tech>

* 🚀 Finalising the connect group/channel feature.  (#6829)

* added spec for chat_channels_memberships_controller.rb

* simplified record not found error for membership

* error message formatting updated

* added error key in flash message

* 🐞 Bug Fix: Open sidecar of clicking @all

* 🐞 Bug Fix: adding space after selecting the username from suggestion box

* added remove channel member functionality for moderators

* 🔩 Small Tweaks: Hover issue fixed

* 🐞 Bug Fix: Remove sidecar toggle on @all tag (for now)

* updated manually constructed urls with rails path helpers

* mod users cannot remove members of other channel

* mod members can now invite user who have left the channel

* 🐞 Bug Fix: Ability to open sidecar on mention all properly

* Eslint Changes

* send email notification on inviting user feature added

* 🛠  Email design enhancements for channel invitation

* send invitation to mod user added from internal

* 🛠  Gif changes for Mod

* spec fixed

* inviter name issue fixed

* 🚀 Open sidecar when automatically if you use link from email

Co-authored-by: jitendra <jitendrarajpurohit@skynox.tech>

* review changes

* added spec for channel_invite_email

* Bug🐞: Design problem with sidecar after merge

* Bug🐞: Design problem with invitation alert box

* replaced instance variables with local variable

* Bug🐞: Wrong css classes fixed

* Bug🐞: Edit option bug

* yarn.lock file updated

* code review changes

* updated manually constructed urls with rails path helpers in spec

* user name url issue fix in invite email

* user url corrected

Co-authored-by: Sarthak Sharma <7lovesharma7@gmail.com>
Co-authored-by: benhalpern <bendhalpern@gmail.com>
2020-04-01 12:13:26 -04:00
Molly Struve
05b6220e2d
[deploy] reindex articles to Elasticsearch in places where relations are updated or update_column is used (#7003) 2020-04-01 10:59:30 -05:00
Catalin Pit
06767da52d
Replaced themeable with body-color (#6999) [deploy] 2020-04-01 13:54:33 +02:00
rhymes
b34c2d62be
Ignore unused users columns (#6954) [deploy] 2020-04-01 10:11:40 +02:00
rhymes
5d9a046ac3
Remove non unique SVG ids (#6978) 2020-04-01 09:45:50 +02:00
rhymes
f507b8835e
Avoid requesting reaction counts for draft articles (#6931)
* Avoid requesting reaction counts for drafts

* Remove double condition check
2020-04-01 09:24:46 +02:00
rhymes
cca97df218
Add rel noopener, noreferrer, nofollow to docs header links (#6944) 2020-04-01 10:15:58 +07:00
Mac Siri
95f18b4592
Create alias for User's welcome_notification (#6991) 2020-03-31 20:22:55 -04:00
ludwiczakpawel
3b14bc10f7
[deploy] Fixing Crayons indicators (#6957)
* fixing indicators a little

* little update

* fixing padding on indicators
2020-03-31 19:25:41 -04:00
Mac Siri
fc728af0cd
Prompt new users to customize their feed (#6979) 2020-03-31 17:32:11 -04:00
Molly Struve
d1fc988ed0
[deploy] Revert "Serve Feed Content From Elasticsearch (#6847)" (#6983)
This reverts commit d7cc1da280.
2020-03-31 16:25:48 -05:00
Molly Struve
eabc51eac1
Revert "set search cache header using the current_user id if present (#6982)" (#6984)
This reverts commit da916ae8e6.
2020-03-31 16:24:44 -05:00
Ben Halpern
8df3213de3
[deploy] Rearrange order to fix iframe logic (#6980) 2020-03-31 16:26:34 -04:00
Molly Struve
da916ae8e6
[deploy] set search cache header using the current_user id if present (#6982) 2020-03-31 15:01:06 -05:00
Andy Zhao
d192188e82
[deploy] Remove ignored column (#6981) 2020-03-31 14:44:32 -04:00
Molly Struve
d7cc1da280
[deploy] Serve Feed Content From Elasticsearch (#6847)
Co-authored-by: Nick Taylor <nick@iamdeveloper.com>
2020-03-31 13:30:36 -05:00
Guilherme Vinicius Moreira
52f8e8512a
Refactor internal user page (#6940)
* Refactor internal user page

* Refactor forms and conditions
2020-03-31 13:43:07 -04:00
Molly Struve
ed90ddad10
Index Reading List Reactions (#6953)
* Index reactions when they are created and updated, remove when destroyed

* update reading list reactions when related article fields are updated

* create indexable method and use for indexing to elasticsearch
2020-03-31 12:23:43 -04:00
Mac Siri
1cb51780cb
Update feed_spec's use of NON_DEFAULT_EXPERIMENTS (#6975) 2020-03-31 11:43:34 -04:00
Arit Amana
1310218633
Add my name to Core Team list (#6974) 2020-03-31 11:11:59 -04:00
Molly Struve
61ac8218dd
report only changes in master branch status (#6973) 2020-03-31 10:00:24 -05:00
swyx
c5e543591d
Hide API keys in details/summary tag (#6941) [deploy]
* hide api keys in details/summary tag

hide api keys in details/summary tag

* update to directly use summary tag
2020-03-31 16:58:08 +02:00