Ben Halpern
5bd042e7d6
Prune old field tests for ongoing tests ( #6540 ) [deploy]
2020-03-09 16:22:42 -04:00
dependabot-preview[bot]
b096b19897
Bump jest-axe from 3.3.0 to 3.4.0 ( #6537 )
...
Bumps [jest-axe](https://github.com/nickcolley/jest-axe ) from 3.3.0 to 3.4.0.
- [Release notes](https://github.com/nickcolley/jest-axe/releases )
- [Changelog](https://github.com/nickcolley/jest-axe/blob/master/CHANGELOG.md )
- [Commits](https://github.com/nickcolley/jest-axe/compare/v3.3.0...v3.4.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-03-09 15:39:22 -04:00
Josh Puetz
a01d787301
Create comment ranking feed experiment ( #6511 ) [deploy]
...
* Create more comments feed experiment
* Hook up experiment, rename
* Remove flakey test assertion
2020-03-09 14:20:02 -05:00
Liz Fong-Jones
283afe291e
[honeycomb] make error reporting concise ( #6553 ) [deploy]
2020-03-09 15:01:24 -04:00
Molly Struve
3fa1287c2d
remove hypershield ( #6554 ) [deploy]
2020-03-09 13:41:20 -04:00
Anna Buianova
99cabcbf6b
Removed unused campaign settings ( #6532 ) [deploy]
2020-03-09 12:59:54 -04:00
rhymes
d7717e6eff
Re-enable correct operation of liquid tags with scripts in articles ( #6473 ) [deploy]
...
* Re-enable correct operation of liquid tags with scripts in articles
* Fix typo
2020-03-09 12:47:13 -04:00
Ben Halpern
1cd38b55fd
Skip /ahoy/ in serviceworkers ( #6547 )
2020-03-09 12:32:00 -04:00
rhymes
c7503fd0b1
Fix scripts startup check for development mode ( #6520 )
...
* Fix scripts startup check for dev mode
* Update doc
2020-03-09 17:15:21 +01:00
Fernando Valverde
0bc7b0ea21
Podcast playback update for iOS app native implementation ( #6035 ) [deploy]
...
* First experiment with supressing audio playback on native iOS
* Adds load audio message posting
* First version of refactor working on web
* handlePodcastMessages now receives messages sent into JS from native iOS app
* bump back to "v2" local storage key or playback state
* terminatePodcastBar now clears the currentAudioState
* function getMediaState now initializeMedia, fixes audioExistAndIsPlaying for web, better playAudio error management & others
* Fixes bug in playAudio() & clears audioInitialized when no Podcast was initialized
* Codeclimate tweaks
* Reorders functions to comply with codeclimate
* More codeclimate reordering & fixes
* Upgrades the audio bridge messages to JSON instead of strings
* codeclimate doh
2020-03-09 12:09:42 -04:00
Molly Struve
3556950322
store flare tag as a hash in Elasticsearch and add spec for putting json into ES ( #6538 )
2020-03-09 12:06:31 -04:00
rhymes
4c6b901b7a
Validate API OpenAPI 3 spec ( #6519 )
...
* Add @stoplight/spectral to dev dependencies for validation
* Add yarn api-docs:lint command
* Fix linting errors
* Lower severity level
* Add ibm-openapi-validator as linter, as it inspects slightly differently
2020-03-09 16:40:05 +01:00
Molly Struve
b43df4aff7
only activate hypershield in production ( #6541 ) [deploy]
2020-03-09 11:31:51 -04:00
dependabot-preview[bot]
952930eb07
Bump ddtrace from 0.32.0 to 0.33.0 ( #6534 ) [deploy]
...
Bumps [ddtrace](https://github.com/DataDog/dd-trace-rb ) from 0.32.0 to 0.33.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.32.0...v0.33.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-03-09 11:12:50 -04:00
dependabot-preview[bot]
ec93710a58
Bump oj from 3.10.3 to 3.10.5 ( #6533 )
...
Bumps [oj](https://github.com/ohler55/oj ) from 3.10.3 to 3.10.5.
- [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.3...v3.10.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-03-09 11:12:24 -04:00
Vaidehi Joshi
99c87d7a17
Replace WELCOMING_USER_ID with mascot_user_id ( #6484 ) [deploy]
...
Co-authored-by: Vaidehi Joshi <vaidehi.sj@gmail.com>
Co-authored-by: Julianna Tetreault <32834804+juliannatetreault@users.noreply.github.com>
Co-authored-by: Julianna Tetreault <32834804+juliannatetreault@users.noreply.github.com>
2020-03-09 08:08:53 -07:00
rhymes
ed66d7b181
Run BackfillColumnForBroadcasts only if the column still exists ( #6508 )
2020-03-09 15:38:34 +01:00
Alex
20b6c77875
change classified_listings to .destroy_all ( #6517 )
2020-03-09 09:42:06 -04:00
Ridhwana
813389d36a
Keeping your forked branch up to date ( #6531 )
...
* chore: updates to sync your forked ranch
* chore: use rease instead
* feat: update the script to not bomb out if you have added the remote before
* chore: add the comment back
2020-03-09 09:37:46 -04:00
Molly Struve
521cf57e63
Create Hypershield Schema to Shield Sensitive data in Production ( #6461 ) [deploy]
2020-03-09 08:54:31 -04:00
Fernando Valverde
0309bc2e17
Changes type date to string on Create/Update Listings ( #6514 )
...
Co-authored-by: rhymes <rhymesete@gmail.com>
2020-03-09 08:34:47 +01:00
rhymes
d73d0c34ab
Add CodeNewbie podcast to seeds ( #6527 )
2020-03-09 08:34:25 +01:00
Ben Halpern
1f81d1f225
Allow tag mods to approve posts even if they mod just one tag ( #6525 ) [deploy]
2020-03-08 15:42:38 -04:00
Gaute Meek Olsen
e1e75953f7
removes negative margin and adds backgroundcolor to next element instead ( #6524 )
...
* removes negative margin and adds backgroundcolor to next element instead
* using box shadow instead of ::before on next element
2020-03-08 16:59:04 +01:00
Michel
7bf4373ef4
Fix 404 page css ( #6505 )
...
* Filter page styles with main css class.
* Use class names to select page element.
2020-03-07 09:06:02 +01:00
rhymes
21fca3e0f2
Comments API: hide deleted and hidden comments (plus docs) ( #6482 ) [deploy]
...
* Modernize index test
* Hide comments body_html and user info if the comment is either deleted or hidden
* Shorten lines a bit
* Freeze repeated strings
* Document all /comments
* Document /comments/{id}
2020-03-07 09:02:10 +01:00
Molly Struve
9000a42de3
convert flare tag to json string before indexing ( #6516 ) [deploy]
2020-03-06 20:27:57 -05:00
Ben Halpern
4eb0080eee
Let mods mark articles that require approval as approved. ( #6513 ) [deploy]
...
* Initial work to add approval to regular mod flow
* Add article_approvals controller and tests
* Add check for moderatable being article
2020-03-06 19:49:41 -05:00
Molly Struve
761a961fc6
fix banish user spec ( #6515 ) [deploy]
2020-03-06 19:16:45 -05:00
Molly Struve
82526989fc
Index Articles and Podcast Episodes to Elasticsearch ( #6488 ) [deploy]
...
* Index Articles and PodcastEpisodes to Elasticsearch
* add callbacks to podcast episodes and specs
* refactor and clean up serializers
2020-03-06 16:39:36 -05:00
Michael Kohl
555cb2d69e
Consistently use cache_key_heroku_slug ( #6495 )
2020-03-06 16:35:35 -05:00
Liz Fong-Jones
48f4c2cafe
Error message & bad request on failed user update ( #6509 )
...
* Error message & bad request on failed user update
* Update users_controller.rb
2020-03-06 16:29:21 -05:00
Michael Kohl
183c24ca59
Show hidden comments on article mod page ( #6493 )
2020-03-06 16:12:07 -05:00
Andy Zhao
478d1b36a5
Hide banished users vomit confirmations and delete vomit reactions on banish ( #6507 ) [deploy]
...
* Update to hide only banished users
* Refactor and move into a model method
* Delete vomits on banished users
* Add tests for banishing users
2020-03-06 15:35:30 -05:00
Mac Siri
a08d665afa
Change sponsorClickHandler to standard function declaration ( #6502 ) [deploy]
2020-03-06 15:33:20 -05:00
Molly Struve
731b89ca26
Index users into elasticsearch ( #6489 ) [deploy]
2020-03-06 14:12:02 -05:00
Faruk Talha Özbek
063efff5f6
fixed some eslint errors ( #6476 )
2020-03-06 20:03:49 +01:00
Jacob Herrington
7ebde59b62
Convert internal listing table view to bootstrap ( #6486 )
...
* Convert internal listings index table to bootstrap
* Add some eager loading to internal listings
This should cheer bullet up some!
2020-03-06 20:03:24 +01:00
Vaidehi Joshi
273dbff099
Add explicit note about cding into Elasticsearch before starting ( #6503 ) [deploy]
2020-03-06 10:34:46 -08:00
Michael Kohl
8df0a72ce7
Move onboarding tags from public to internal API ( #6329 )
...
* Move onboarding tags from public to internal API
* Fix typo
* Undo wrong chang
2020-03-06 19:34:31 +01:00
Michael Kohl
0fd6c948d1
Move followings to internal API ( #6494 )
2020-03-06 19:33:26 +01:00
Josh Puetz
e2f190512b
Guarantee articles in main article feed ( #6490 ) [deploy]
...
* Adjust feed offset, remove time limits for main feed
* Improve offset construction readability
2020-03-06 12:29:07 -06:00
Molly Struve
36147cce28
run Elasticsearch update before update scripts ( #6504 )
2020-03-06 13:27:53 -05:00
Ben Halpern
e19a1a43be
Small fixes/adjustments ( #6501 ) [deploy]
2020-03-06 09:28:42 -05:00
Ben Halpern
afc8594dd9
Switch from cookies to localstorage for hero banner ( #6498 ) [deploy]
2020-03-06 08:54:36 -05:00
Juan Vasquez
6c610fc979
Fixed app/javascript/chat/channels.jsx eslint error ( #6492 )
2020-03-06 08:39:09 -05:00
Ridhwana
a91580c4cb
Cookie Expiry for the Campaign Hero Banner and Event Listener update ( #6496 ) [deploy]
...
* refactor: add an eventListener for click
* chore: oops
* feat: add expiry for the cookie 5 days from now
* chore: update comment
* chore: add strict back
2020-03-06 08:01:35 -05:00
Ben Halpern
2a1a675175
Changed shecoded preview template ( #6475 )
...
* Changed shecoded preview template
* Added a test for social preview template with multiple campaign tags
* feat: update some css properties to make it closer to the design (i think)
* Update to relative units
* Update spec
Co-authored-by: Ridhwana <Ridhwana.Khan16@gmail.com>
Co-authored-by: Ben Halpern <bendhalpern@gmail.com>
2020-03-05 18:26:28 -05:00
Molly Struve
5840d913cf
fix spelling for Elasticsearch user field ( #6487 ) [deploy]
2020-03-05 16:22:23 -05:00
Vaidehi Joshi
10cee2ec5c
Add a mascot_user_id to SiteConfig ( #6483 ) [deploy]
...
* Add a mascot_user_id to SiteConfig
Also allow it to be updated from /internal/config pages.
Co-authored-by: Vaidehi Joshi <vaidehi.sj@gmail.com>
Co-authored-by: Julianna Tetreault <32834804+juliannatetreault@users.noreply.github.com>
* Add spec for updating mascot_user_id
Co-authored-by: Julianna Tetreault <32834804+juliannatetreault@users.noreply.github.com>
2020-03-05 12:44:59 -08:00