Commit graph

4536 commits

Author SHA1 Message Date
Molly Struve
4a4d83a6cf
Add Feed Content Backend Search Code (#6699) [deploy]
* Add search code for feed content to the backend

* add search for class_name
2020-03-18 15:51:26 -04:00
Vaidehi Joshi
00ea4c4924
Remove broken image from seeded welcome thread (#6698) 2020-03-18 09:58:23 -07:00
Nick Taylor
8c235c3211
Revert "Get those devDeps back! (#6690)" [deploy] (#6696)
This reverts commit 432e2c4f29.
2020-03-18 11:40:00 -04:00
Ben Halpern
fa494418eb
Fix /connect message composer style bugs (#6695) [deploy] 2020-03-18 11:19:04 -04:00
Nick Taylor
432e2c4f29
Get those devDeps back! [deploy] (#6690)
Fixed the issue with a dev dependency having to be a dependency in package.json so that deploys work on Heroku.
2020-03-18 10:28:07 -04:00
rhymes
a333da23d1
Move dev/mascot account to class methods (#6694) 2020-03-18 14:42:40 +01:00
Molly Struve
ea70d4c4b9
refactor query builders but pulling out common logic into a base class (#6678) 2020-03-18 08:34:20 -05:00
Molly Struve
92a8d624c3
move pagination methods to base search class (#6683) [deploy] 2020-03-18 09:14:07 -04:00
Jacob Herrington
a11d2bf907
Remove unused SCSS file (#6677) 2020-03-18 08:26:47 -04:00
Jacob Herrington
4630413acd
Add internal sidebar navigation (#6686)
The navbar in internal is a bit too much for a horizontal nav.

Because we aren't using breadcrumbs, it also indicates to users where
they are, so it needs to be visible and not collapsed.

Making this a sidebar fixes both of those problems. In this state, it is
definitely a barebones implmentation, but it is also an improvement over
the hornizontal nav.

Co-authored-by: MichaelaHunter <michaela1234@gmail.com>

Co-authored-by: MichaelaHunter <michaela1234@gmail.com>
2020-03-18 08:26:27 -04:00
Andy Zhao
3412883342
Upgrade recaptcha to 5.4.1 to fix production error (#6681) [deploy]
* Use legacy 5.3.0 response param name

* Use latest recaptcha gem

* Remove additional space

* Revert verify_recaptcha workaround
2020-03-18 10:27:48 +01:00
rhymes
20fd8cdb92
Replace observers with callbacks and remove rails-observers (#6675)
* Add test for vomit reactions ping

* Remove reaction observer

* Add tests for new published article ping

* Remove reaction observer

* Remove comment observer

* Fix specs

* Remove rails-observer gem
2020-03-18 09:58:36 +01:00
Vaidehi Joshi
9376892265
Add welcome thread to seeds file (#6687)
This will be super useful for some of the work we're doing around welcome notifications!
2020-03-17 20:14:36 -07:00
Ben Halpern
0a1c6fe82f
Adjust tag rendering (#6689) [deploy] 2020-03-17 22:45:29 -04:00
Ben Halpern
e977f4c357
Fix homepage back button flicker (#6688) [deploy]
* Fix homepage back button flicker

* Update tags
2020-03-17 22:40:49 -04:00
Nick Taylor
adc83f7175
Moved devDependencies to dependencies to attempt fixing deploy (#6685) [deploy] 2020-03-17 17:38:24 -04:00
Molly Struve
51bb16adee
specify yarn version in package.json (#6680) [deploy] 2020-03-17 14:05:47 -05:00
Jacob Herrington
243e9b5524
Add a form to email users from internal (#6668)
Co-authored-by: MichaelaHunter <michaela1234@gmail.com>

Co-authored-by: MichaelaHunter <michaela1234@gmail.com>
2020-03-17 11:19:42 -04:00
rhymes
b8b321c13d
Fix VCR warnings and use initializers (#6672) 2020-03-17 15:51:07 +01:00
Michael Kohl
3b3808f2f6
Remove leading whitespace in tags during RSS import (#6671) 2020-03-17 10:48:39 -04:00
Molly Struve
c2b9c7a7d0
remove unused followed articles javascript (#6669) [deploy] 2020-03-17 09:44:26 -05:00
Nick Taylor
ccf7e6e5bf
Upgrade to webpacker/webpack 4 and Babel 7 (#6664)
Upgraded to webpacker 4/webpack 4 and Babel 7
2020-03-17 08:20:36 -04:00
Michael Kohl
8f768a0cbc
Allow KaTeX to render inline (#6670) [deploy] 2020-03-17 10:42:41 +01:00
Jacob Herrington
19b91129d8
Denote previously reported and suspended users in vomit reactions (#6619) [deploy]
* Break feedback_messages view into partials

* Standardize capitalization

* Add visual cues for banned and vommitted users

* Use helper methods to construct urls

* Rename vomitted? to vomitted_on?

vomitted_on? is a slightly more clear method name. This change takes
Rhymes' suggestion to use the AR method exists? over where(...).exists?
2020-03-16 18:22:00 -04:00
Ben Halpern
8b0cfaf48a
Add two new experiments and one new conversion event (#6633) [deploy]
* Add two new experiments and one new conversion event

* change hours in 7 to 24
2020-03-16 18:16:02 -04:00
Ben Halpern
de27e7ed34
Allow community admins to alter site description (#6662) [deploy]
* Allow community admins to alter site description

* Fix typo
2020-03-16 15:34:49 -04:00
Molly Struve
066e2885e8
Only Enable Hypershield if ENV variable is present (#6666) [deploy]
* only enable hypershield if ENV variable is present

* enable hypershield if in production
2020-03-16 15:28:46 -04:00
dependabot-preview[bot]
1d9c8a8e11
Bump sdoc from 1.0.0 to 1.1.0 (#6655) [deploy] 2020-03-16 14:06:00 -04:00
dependabot-preview[bot]
a5523584df
Bump ibm-openapi-validator from 0.24.1 to 0.25.0 (#6653) 2020-03-16 13:16:54 -04:00
dependabot-preview[bot]
730f76cf9b
Bump jsdom from 16.2.0 to 16.2.1 (#6654) 2020-03-16 13:16:28 -04:00
dependabot[bot]
a0c959e02a
Bump administrate from 0.12.0 to 0.13.0 (#6631) [deploy]
Bumps [administrate](https://github.com/thoughtbot/administrate) from 0.12.0 to 0.13.0.
- [Release notes](https://github.com/thoughtbot/administrate/releases)
- [Changelog](https://github.com/thoughtbot/administrate/blob/master/CHANGELOG.md)
- [Commits](https://github.com/thoughtbot/administrate/compare/v0.12.0...v0.13.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-03-16 12:45:44 -04:00
dependabot-preview[bot]
3282c90e6f
Bump ddtrace from 0.33.0 to 0.33.1 (#6661) [deploy] 2020-03-16 12:13:07 -04:00
dependabot-preview[bot]
339696b305
Bump honeybadger from 4.5.6 to 4.6.0 (#6656) 2020-03-16 12:12:47 -04:00
dependabot-preview[bot]
badb179038
Bump rubyzip from 2.2.0 to 2.3.0 (#6658) 2020-03-16 12:10:42 -04:00
dependabot-preview[bot]
9a6579cf50
Bump aws-sdk-lambda from 1.36.0 to 1.37.0 (#6660) [deploy] 2020-03-16 11:51:14 -04:00
dependabot-preview[bot]
1da77e462c
Bump recaptcha from 5.3.0 to 5.4.0 (#6657) 2020-03-16 11:50:53 -04:00
dependabot-preview[bot]
e2de95b94a
Bump parallel_tests from 2.31.0 to 2.32.0 (#6659) 2020-03-16 11:50:22 -04:00
Mac Siri
d0c1467ab0
Extract Onboarding into its own controller (#6620)
* Extract onboarding into it's own controller

* Pluralize controller

* Create Onboarding spec
2020-03-16 15:49:28 +01:00
Molly Struve
bd10c9086c
Enable Hypershield in Production Take 2 (#6628) [deploy] 2020-03-16 09:10:01 -05:00
dependabot-preview[bot]
a191123c85
Bump jest-fetch-mock from 3.0.2 to 3.0.3 (#6652)
Bumps [jest-fetch-mock](https://github.com/jefflau/jest-fetch-mock) from 3.0.2 to 3.0.3.
- [Release notes](https://github.com/jefflau/jest-fetch-mock/releases)
- [Commits](https://github.com/jefflau/jest-fetch-mock/commits)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-16 10:00:17 -04:00
dependabot-preview[bot]
dfc3171fae
Bump eslint-config-airbnb-base from 14.0.0 to 14.1.0 (#6651) [deploy] 2020-03-16 09:19:29 -04:00
Anna Buianova
f675b8e4fc
A couple of rubocop fixes (#6648) 2020-03-16 16:15:52 +03:00
Ben Halpern
58e524acdc
Allow admins to define core sidebar tags in config (#6641) [deploy] 2020-03-16 08:54:32 -04:00
narender2031
c913197fac
fix cannot read privacy policy redirect to onboarding (#6636) 2020-03-16 08:53:32 -04:00
rhymes
efb0a7af56
API docs: cleanup parameters (#6625)
* Add ranges and defaults for numeric params

* Refactor page and per_page params with common schema

* Group common id parameters
2020-03-16 11:42:54 +01:00
Andy Zhao
d08f830d86
Add response templates model and table (#6615)
* Add response templates model and table

* Add missing factory oops

* Remove response templates on delete

* Remove moderator_id column from comments for now

* Use constants and add spec for response templates
2020-03-16 09:52:03 +07:00
Ben Halpern
079ec96d99
Fix a couple margins (#6637) [deploy] 2020-03-14 20:35:14 -04:00
Ben Halpern
8a1d327469
Fix editor jump (#6635) [deploy] 2020-03-14 12:58:54 -04:00
Mac Siri
6da511917b
Render DEV's ASCII art as stdout (#6465)
* Use STDOUT logger in seeds.rb

* Introduce a stand-alone logger for seeds.rb

* Revert "Use STDOUT logger in seeds.rb"

This reverts commit eebc1e4f19ea4819de97bbd7178f1eada0607c32.

* Use put instead of logger for ASCII art
2020-03-13 19:58:34 -04:00
rhymes
ae1f4faf3a
Upgrade octokit and rouge (#6623)
* Bump octokit to 4.17.0

* Bump rouge to 3.17.0
2020-03-13 15:15:05 -04:00