Commit graph

2409 commits

Author SHA1 Message Date
Eduardo Alencar
6d800da4d4 Increase tag length from 20 to 30 chars (#3299)
This commit increases the tag length from 20 to 30 chars and also increases the cached_tag_list length to maintain the limit of 4 tags. Specs were adapted to respect the changes.
2019-06-24 16:43:21 -04:00
Ben Halpern
dcbb188cf1
Add pinned articles box to profiles (#3269)
* Initial pins work

* Add pin box to profiles

* Fix test snapshot spacing and optimize svg

* Fix listings spacing
2019-06-24 15:18:29 -04:00
cyrillefr
0267d4e829 Move bust_cache methods in own jobs (#3071) 2019-06-24 13:28:25 -04:00
Nick Taylor
ef08fa8505 Add the dependabot badge. (#3268) [ci skip] 2019-06-24 12:38:48 -04:00
dependabot-preview[bot]
5ff491f57a Bump focus-visible from 5.0.0 to 5.0.1 (#3283) [ci skip]
Bumps [focus-visible](https://github.com/WICG/focus-visible) from 5.0.0 to 5.0.1.
- [Release notes](https://github.com/WICG/focus-visible/releases)
- [Commits](https://github.com/WICG/focus-visible/compare/v5.0.0...v5.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-24 12:33:59 -04:00
rhymes
6cdc604333 Rubocop: disable style rule and fix some issues (#3278) [ci skip] 2019-06-24 12:20:29 -04:00
rhymes
808b8f285c Comments: remove double stripping undoing escaping (#3270) 2019-06-24 12:00:36 -04:00
dependabot-preview[bot]
0aadc090ac Bump @storybook/addon-links from 5.1.8 to 5.1.9 (#3285) [ci skip]
Bumps [@storybook/addon-links](https://github.com/storybookjs/storybook/tree/HEAD/addons/links) from 5.1.8 to 5.1.9.
- [Release notes](https://github.com/storybookjs/storybook/releases)
- [Changelog](https://github.com/storybookjs/storybook/blob/v5.1.9/CHANGELOG.md)
- [Commits](https://github.com/storybookjs/storybook/commits/v5.1.9/addons/links)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-24 10:46:42 -04:00
dependabot-preview[bot]
c30f7a26f9 Bump eslint-plugin-react from 7.13.0 to 7.14.1 (#3284) [ci skip]
Bumps [eslint-plugin-react](https://github.com/yannickcr/eslint-plugin-react) from 7.13.0 to 7.14.1.
- [Release notes](https://github.com/yannickcr/eslint-plugin-react/releases)
- [Changelog](https://github.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yannickcr/eslint-plugin-react/compare/v7.13.0...v7.14.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-24 10:25:53 -04:00
dependabot-preview[bot]
4aabfadefc Bump codemirror from 5.47.0 to 5.48.0 (#3281) [ci skip]
Bumps [codemirror](https://github.com/codemirror/CodeMirror) from 5.47.0 to 5.48.0.
- [Release notes](https://github.com/codemirror/CodeMirror/releases)
- [Changelog](https://github.com/codemirror/CodeMirror/blob/master/CHANGELOG.md)
- [Commits](https://github.com/codemirror/CodeMirror/compare/5.47.0...5.48.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-24 10:09:39 -04:00
dependabot-preview[bot]
f8ba70076a Bump stripe from 4.18.1 to 4.19.0 (#3286)
Bumps [stripe](https://github.com/stripe/stripe-ruby) from 4.18.1 to 4.19.0.
- [Release notes](https://github.com/stripe/stripe-ruby/releases)
- [Changelog](https://github.com/stripe/stripe-ruby/blob/master/CHANGELOG.md)
- [Commits](https://github.com/stripe/stripe-ruby/compare/v4.18.1...v4.19.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-24 10:04:58 -04:00
dependabot-preview[bot]
ed9db2828b Bump counter_culture from 2.2.2 to 2.2.3 (#3287) [ci skip]
Bumps [counter_culture](https://github.com/magnusvk/counter_culture) from 2.2.2 to 2.2.3.
- [Release notes](https://github.com/magnusvk/counter_culture/releases)
- [Changelog](https://github.com/magnusvk/counter_culture/blob/master/CHANGELOG.md)
- [Commits](https://github.com/magnusvk/counter_culture/compare/v2.2.2...v2.2.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-24 09:55:33 -04:00
dependabot-preview[bot]
af761eceea Bump inline_svg from 1.5.0 to 1.5.2 (#3290) [ci skip]
Bumps [inline_svg](https://github.com/jamesmartin/inline_svg) from 1.5.0 to 1.5.2.
- [Release notes](https://github.com/jamesmartin/inline_svg/releases)
- [Changelog](https://github.com/jamesmartin/inline_svg/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jamesmartin/inline_svg/compare/v1.5.0...v1.5.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-24 09:44:48 -04:00
dependabot-preview[bot]
a258c0c41c Bump derailed_benchmarks from 1.3.5 to 1.3.6 (#3291) [ci skip]
Bumps [derailed_benchmarks](https://github.com/schneems/derailed_benchmarks) from 1.3.5 to 1.3.6.
- [Release notes](https://github.com/schneems/derailed_benchmarks/releases)
- [Changelog](https://github.com/schneems/derailed_benchmarks/blob/master/CHANGELOG.md)
- [Commits](https://github.com/schneems/derailed_benchmarks/compare/v1.3.5...v1.3.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-24 09:37:02 -04:00
dependabot-preview[bot]
c27487b24e Bump aws-sdk-lambda from 1.26.0 to 1.27.0 (#3293) [ci skip]
Bumps [aws-sdk-lambda](https://github.com/aws/aws-sdk-ruby) from 1.26.0 to 1.27.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/1.26.0...1.27.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-24 09:29:45 -04:00
dependabot-preview[bot]
22a3b9256b Bump faker from 1.9.3 to 1.9.4 (#3288) [ci skip]
Bumps [faker](https://github.com/stympy/faker) from 1.9.3 to 1.9.4.
- [Release notes](https://github.com/stympy/faker/releases)
- [Changelog](https://github.com/stympy/faker/blob/master/CHANGELOG.md)
- [Commits](https://github.com/stympy/faker/compare/v1.9.3...1.9.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-24 09:28:20 -04:00
dependabot-preview[bot]
de363cf3b9 Bump rubocop-performance from 1.3.0 to 1.4.0 (#3292) [ci skip]
Bumps [rubocop-performance](https://github.com/rubocop-hq/rubocop-performance) from 1.3.0 to 1.4.0.
- [Release notes](https://github.com/rubocop-hq/rubocop-performance/releases)
- [Changelog](https://github.com/rubocop-hq/rubocop-performance/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop-hq/rubocop-performance/compare/v1.3.0...v1.4.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-24 09:27:38 -04:00
Andy Zhao
a265ab6b90 Return original body instead of nil for new comment push notifications (#3273) 2019-06-24 08:33:35 -04:00
Ben Halpern
d48ad63aea
Add comment context for notifications and comment pages (#3262)
* Add comment context for notifications and comment pages

* Fix comment spec and adjust css
2019-06-22 14:50:15 -04:00
Anna Buianova
bfa1bdc37f More specs and refactoring podcasts fetching (#3245)
* More specs and refactoring podcasts fetching

* Fixed PodcastFeed references in tests

* Pass podcast_id instead of podcast to CreateEpisode
2019-06-21 21:31:15 -04:00
rhymes
91de529705 Remove code for legacy mentoring feature (#3186) 2019-06-21 17:18:11 -04:00
Anna Buianova
f79b3cb12a Fixed rubocop issues, new .rubocop_todo.yml (#3255)
* Fixed rubocop issues, new .rubocop_todo.yml

* Refined and fixed indentation
2019-06-21 14:26:39 -04:00
Andy Zhao
cf8b4e37d3 Add context data to comment notifications (#3258)
* Add db relationship for comment and notifications

* Use delete instead of destroy

* Add comment's ancestors' data

* Delete descendant notification data appropriately

* Update notifications for comments up the tree as well

* Update descendant notifications appropriately

* Fix apostrophe edge case

* Make ancestor_data method private
2019-06-21 14:26:19 -04:00
Ben Halpern
e46bd26223
Fix logic and adjust copy for tag rewarding (#3251)
* Fix logic and adjust copy for tag rewarding

* Check for whether published
2019-06-20 20:28:33 -04:00
dependabot-preview[bot]
1639773832 Bump focus-visible from 4.1.5 to 5.0.0 (#3208) [ci skip]
Bumps [focus-visible](https://github.com/WICG/focus-visible) from 4.1.5 to 5.0.0.
- [Release notes](https://github.com/WICG/focus-visible/releases)
- [Commits](https://github.com/WICG/focus-visible/compare/v4.1.5...v5.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-20 18:18:18 -04:00
cyrillefr
cf3f997c98 Move HtmlVariantTrial.create delay calls to ActiveJob (#3173) (#3239) 2019-06-20 18:14:20 -04:00
dependabot-preview[bot]
35f3e3b1db Bump jquery-rails from 4.3.3 to 4.3.5 (#3196)
Bumps [jquery-rails](https://github.com/rails/jquery-rails) from 4.3.3 to 4.3.5.
- [Release notes](https://github.com/rails/jquery-rails/releases)
- [Changelog](https://github.com/rails/jquery-rails/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rails/jquery-rails/compare/v4.3.3...v4.3.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-20 17:40:46 -04:00
Andy Zhao
4ca7197696 Delete a comment's title if it is deleted (#3249)
* Remove cursor pointer for notification cards

* Delete the comment title if deleted

* Update title to use comment's title
2019-06-20 15:48:21 -04:00
Mac Siri
8ec4e338ed Update RssReader's liquid & youtube parsing logic (#3229)
* Loosen up Liquid::Variable

* Improve RssReader's youtube id detection

* Revert "Loosen up Liquid::Variable"

This reverts commit fd385c6649a9e0ca3786588a29a3ff2b8fe98218.

* RSS: Wrap liquid variable in backtick

* User inner_html intead of text
2019-06-20 15:26:39 -04:00
Mac Siri
de2bf910fd
Update doc on statement_timeout errors (#3248) [ci skip] 2019-06-20 13:36:40 -04:00
Thanawat Senawat
6fc17a29cb Feature/reading list loadmore button (#3221)
* Add Load More Button to Reading List

* Set state showLoadMoreButton is false
2019-06-20 13:33:02 -04:00
Jess Lee
f00c28adf0 Update internal's listings buffer text (#3247) 2019-06-20 13:18:00 -04:00
Andy Zhao
1e61634499 Add backend functionality for muting users you follow (#3240)
* Add backend func. for muting users you follow

* Remove comment

* Add validations and update default value

* Send notifications to followers with all_articles
2019-06-20 11:28:50 -04:00
Mario See
abbc3e85d6 Manage listings as organization admin (#3228)
* adjust validations to allow org admins to edit listings

also adjusted presented elements based on bumped_at dates and published boolean status

* allow org admins to edit listings under diff user_id

adjust statement in edit so that it has to be admin not just member

* pluck via attribute not string of attribute name

* update policy for org admins

* make authorizing org admin for listing private

* update classified listing spec

user_id is required for classified listing
2019-06-20 09:39:54 -04:00
Jess Lee
464d37310e add buffered checkbox to individual articles (#3238) 2019-06-20 09:34:03 -04:00
dependabot-preview[bot]
7fbaadd100 Bump recaptcha from 4.14.0 to 5.0.0 (#3191) [ci skip]
Bumps [recaptcha](https://github.com/ambethia/recaptcha) from 4.14.0 to 5.0.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/v4.14.0...v5.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-19 19:09:33 -04:00
Jess Lee
f4097714af Add missing Dev Listing logo (#3237) 2019-06-19 18:52:57 -04:00
rhymes
d74aa46bc5 Add article pro stats button in dashboard (#3230) 2019-06-19 10:13:18 -04:00
Ben Halpern
d2a78f051f
Remove hardcoded image from chat channel images (#3235) 2019-06-19 10:12:58 -04:00
rhymes
55634ad68f Display stats for organization article (#3232)
There was a bug where the frontend was not passing the organization id to the backend, and thus the fetching of the stats failed for organization articles.

This also adds a bit of error handling for `fetch` API
2019-06-19 09:17:35 -04:00
rhymes
6ce6b265df Fixed a couple of queries (#3233) 2019-06-19 09:17:03 -04:00
cyrillefr
c413cf8235 Move HtmlVariantSuccess.create delay calls to ActiveJob (#3173)
- add AJ job + job spec
  - refactor call
2019-06-18 21:36:33 -04:00
Anna Buianova
a3e246a327 Fix mention validation when validating an empty instance (#3188)
* Fix mention validation when validating an empty instance

* Fix NotifyMailer spec
2019-06-18 21:36:01 -04:00
Mazen Touati
b284c1e9df Allow stackoverflow subcommunities profiles (#3215) 2019-06-18 21:35:16 -04:00
Anna Buianova
24328417ab Don't try to register webhook when twitch returns empty data (#3219) 2019-06-18 21:34:06 -04:00
rhymes
2bf54edb9c Pro: History (#3220)
* Add base history support

* Add tags and ranking and make it work

* Fix styling

* Add article title and text excerpt to the index

* Add pagination support

* Debounce the search to 300ms

* Show history only to pro users

* Use routing helpers instead of hardcoding

* Raise the page size to 100

* Remove console log

* A bit of regrouping
2019-06-18 14:58:24 -04:00
Mario See
9e616de9f8 Listings Dashboard (#3014)
* init wip react components

* wip add dashboard to listing views

- create a html.erb view to hold listing/dashboard with javascript_pack_tag
- create listingDashboard.jsx in packs
- create listingDashboard component and dashboard folder with smaller components
- added view to controller and routes

* slowly adding some formatting

adjusted styling, info

* remove listing body from dashboard

* add some styling and adjust info

* wip adding org listings

* wip multi org in dashboard

* adjust for multi org

* add styling and better multi org support

* comment out bump and delete -- save for upcoming PR

* reduce lines

* listing form has link to listings dashboard instead of listings

* adjust header boxes flex direction for mobile

* fix organization id query

* WIP testing

needs more rigorous tests

* finalize tests
2019-06-18 14:52:59 -04:00
Anna Buianova
bd3125bcfd Update slack channel name (#3218) 2019-06-18 14:47:53 -04:00
Clara
351c1425bd Changed timestamp to creation of notifiable instead of notification itself (#3076) 2019-06-17 18:26:44 -04:00
dependabot-preview[bot]
1b794eb59c Bump @storybook/addon-actions from 5.1.3 to 5.1.8 (#3205) [ci skip]
Bumps [@storybook/addon-actions](https://github.com/storybookjs/storybook/tree/HEAD/addons/actions) from 5.1.3 to 5.1.8.
- [Release notes](https://github.com/storybookjs/storybook/releases)
- [Changelog](https://github.com/storybookjs/storybook/blob/v5.1.8/CHANGELOG.md)
- [Commits](https://github.com/storybookjs/storybook/commits/v5.1.8/addons/actions)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-17 16:52:37 -04:00