dependabot[bot]
94de21db3d
Bump eslint-plugin-import from 2.14.0 to 2.15.0 ( #1661 ) [ci skip]
...
Bumps [eslint-plugin-import](https://github.com/benmosher/eslint-plugin-import ) from 2.14.0 to 2.15.0.
- [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.14.0...v2.15.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-28 13:20:58 -05:00
dependabot[bot]
3664af6280
Bump eslint-plugin-jsx-a11y from 6.1.2 to 6.2.0 ( #1662 ) [ci skip]
...
Bumps [eslint-plugin-jsx-a11y](https://github.com/evcohen/eslint-plugin-jsx-a11y ) from 6.1.2 to 6.2.0.
- [Release notes](https://github.com/evcohen/eslint-plugin-jsx-a11y/releases )
- [Changelog](https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/CHANGELOG.md )
- [Commits](https://github.com/evcohen/eslint-plugin-jsx-a11y/compare/v6.1.2...v6.2.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-28 12:45:53 -05:00
dependabot[bot]
668fb9ae9a
Bump sitemap_generator from 6.0.1 to 6.0.2 ( #1658 ) [ci skip]
...
Bumps [sitemap_generator](https://github.com/kjvarga/sitemap_generator ) from 6.0.1 to 6.0.2.
- [Release notes](https://github.com/kjvarga/sitemap_generator/releases )
- [Changelog](https://github.com/kjvarga/sitemap_generator/blob/master/CHANGES.md )
- [Commits](https://github.com/kjvarga/sitemap_generator/compare/v6.0.1...v6.0.2 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-28 12:33:19 -05:00
dependabot[bot]
1087e4f847
Bump web-console from 3.5.1 to 3.7.0 ( #1659 ) [ci skip]
...
Bumps [web-console](https://github.com/rails/web-console ) from 3.5.1 to 3.7.0.
- [Release notes](https://github.com/rails/web-console/releases )
- [Changelog](https://github.com/rails/web-console/blob/master/CHANGELOG.markdown )
- [Commits](https://github.com/rails/web-console/compare/v3.5.1...v3.7.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-28 12:25:16 -05:00
dependabot[bot]
8c93e93b35
Bump prettier from 1.16.0 to 1.16.1 ( #1665 ) [ci skip]
...
Bumps [prettier](https://github.com/prettier/prettier ) from 1.16.0 to 1.16.1.
- [Release notes](https://github.com/prettier/prettier/releases )
- [Changelog](https://github.com/prettier/prettier/blob/master/CHANGELOG.md )
- [Commits](https://github.com/prettier/prettier/compare/1.16.0...1.16.1 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-28 12:24:06 -05:00
dependabot[bot]
7936755cb6
Bump eslint-config-prettier from 3.6.0 to 4.0.0 ( #1666 ) [ci skip]
...
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier ) from 3.6.0 to 4.0.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/v3.6.0...v4.0.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-28 12:23:31 -05:00
dependabot[bot]
9fb592c3b7
Bump jsdom from 13.1.0 to 13.2.0 ( #1667 ) [ci skip]
...
Bumps [jsdom](https://github.com/jsdom/jsdom ) from 13.1.0 to 13.2.0.
- [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/13.1.0...13.2.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-28 12:21:35 -05:00
dependabot[bot]
823d0ac8e6
Bump libhoney from 1.10.1 to 1.11.0 ( #1660 )
...
Bumps [libhoney](https://github.com/honeycombio/libhoney-rb ) from 1.10.1 to 1.11.0.
- [Release notes](https://github.com/honeycombio/libhoney-rb/releases )
- [Commits](https://github.com/honeycombio/libhoney-rb/compare/v1.10.1...v1.11.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-28 10:09:39 -05:00
Mario See
1404f0da5e
adjust width calculations ( #1652 )
2019-01-26 13:08:32 -05:00
Andrew Bone
613d3d49c3
Coding style consistency (stackblitz liquid tag) ( #1649 )
...
* Style consistancy
Make style more consistent with other liquid tags
* Style consistency
Make style more consistent with other liquid tags
* Style consistency
Make style more consistent with other liquid tags
* rubocop compliance
* rubocop compliance
2019-01-25 12:03:01 -05:00
Andrew Bone
5f5beabcab
Make initializeUserSidebar shorter ( #1640 )
...
Make initializeUserSidebar() shorter to meet codeclimate requirements.
2019-01-24 18:42:19 -05:00
Ben Halpern
049a7b7b73
Fix article taken redirect issue ( #1645 )
2019-01-24 18:16:35 -05:00
Ben Halpern
5b77b779a3
Comment muting tweaks ( #1646 )
2019-01-24 18:16:13 -05:00
Andy Zhao
c4677071a7
Mute notifications for a comment thread ( #1636 )
...
* Use idempotent update instead of toggle
* Update editor guide with new comment instructions
* Render the settings button on page load
* Add settings button to comment dropdown
* Update styles to properly render
* Add comment mute function and settings page
* Clean up erb spacing
* Remove unneccessary user_id param
* Add receive_notifications for policy spec
* Update name for accuracy
* Add request spec for comments_mute
* Remove unused permitted attributes
* Add actually used permitted attributes
2019-01-24 17:20:38 -05:00
Jess Lee
9d72091f42
add mailchimp unsub when deleting or banishing user ( #1644 )
2019-01-24 16:14:10 -05:00
Ben Halpern
a0d90874a9
Move org admin privilege check into controller ( #1642 )
2019-01-24 13:35:39 -05:00
Ben Halpern
ea2eead9e3
Remove unnecessary save from follows controller ( #1638 )
2019-01-23 17:58:05 -05:00
Ben Halpern
2e667d0810
Lower number of comments showing on first page of article show ( #1637 )
2019-01-23 17:57:51 -05:00
Jess Lee
0eb5402926
Delete User Functionality ( #1615 )
...
* add full delete route and update banisher
* add user deletion spec
* enhance styling
* remove availability if banned from mentorship
* add specs
* do not show banned mentors
* delete addiional associations
* include more associations for deletion
* simplify activity deletion wtih delete_all
2019-01-23 16:57:32 -05:00
Vinicius Stock
ec2ce5d6e6
Upgrade rubocop and fix offenses ( #1635 )
2019-01-23 16:12:03 -05:00
Ben Halpern
ae44cc4865
Modify org admin logic for changing article author ( #1634 )
...
* Adjust org user_id change logic
* Fix test
2019-01-23 16:10:31 -05:00
Andy Zhao
2ac05b4c9b
Use safe navigation for edge cases ( #1632 )
2019-01-23 15:31:15 -05:00
Jess Lee
d0b17f2a77
Adds internal/articles input to update author ( #1628 )
...
* adds input to change article author
* remove link
* remove unnecessary attribute
2019-01-23 11:58:11 -05:00
Mario See
0a1454dc97
quick css hiccup fix ( #1523 )
...
* remove max-width cap on .home
* remove max-width cap on .home
* Revert "Merge branch 'master' into article-css-extra-wide"
This reverts commit 3eff6e456e11f5fc74e30d25d6e01c237c3b0d83, reversing
changes made to 5e064676029f9ce630b5580e46b9d64c6f43e838.
* revert max-width and add max-width to article-show
based on andrew bone's suggestion. looks good thus far both on home and article page in various screen sizes
* Removed a modified file from pull request
* Removed a modified file from pull request
* Removed a modified file from pull request
* Removed a modified file from pull request
* Removed a modified file from pull request
* Update article-show.scss
2019-01-22 16:23:15 -05:00
Michał Krzysztof Feiler
73b909a1fd
Add "101010.pl" to Mastodon list ( #1612 )
2019-01-22 15:37:56 -05:00
Mac Siri
338ad0a6b5
Enable require_dependency for Liquid tags in prod ( #1613 )
2019-01-22 14:57:17 -05:00
Ben Halpern
ff405c0e90
Add occasional random fetches to article page_views_count ( #1625 )
2019-01-22 14:39:34 -05:00
Andy Zhao
300291ed70
Use proper formats for env hash variables ( #1624 )
...
* Use proper formats for env hash variables
* Use .to_s instead of .name
2019-01-22 14:15:50 -05:00
Andy Zhao
9f6d00118f
Mute notifications for your own article ( #1594 )
...
* Use a slightly faster call for user_id
* Remove unused file
* Test receive notifications functionality
* Notify when receive_notifications is true
* Test receiving reaction notifications
* Do not notify if receive_notifications is false
* Fix test for parent comment notification
* Add article mute notifications feature
* Remove deprecated specs
* Prevent email when receive_notification is false
* Update button messaging
* Use RESTful /article_mutes patch request
* Use parent or root article instead
2019-01-22 13:12:48 -05:00
Ali Spittel
cfd84d73f8
Bug/v2 editor tag typing ( #1614 )
...
* Add myself to core contributors
* add myself to the core contributors
* fix to issue 1574 with the V2 editor
* fix tag bug in v2 editor
* fix v2 editor bug
* remove unused code
2019-01-21 18:23:20 -05:00
Andy Zhao
2c2bafa350
Add logging if oauth fails ( #1619 )
2019-01-21 18:17:36 -05:00
Michał Krzysztof Feiler
5ff204c4ed
Add "bsd.network" to Mastodon list ( #1611 )
2019-01-21 17:39:32 -05:00
Dave Follett
03bdf63ce4
Added the 'initalpath' and 'module' options to the codesandbox embed ( #1545 )
...
* Added the 'initalpath' and 'module' options to the codesandbox embed and updated the help page.
* Fixed spelling errors.
* Rework from previous PR: Improved exception text. Improved regex for detecting invalid options. Changed logic to raise an exception if any invalid options are found by moving the exception raising to be inside the valid_option() method.
* Added unit tests for codesandbox_tag.rb.
2019-01-21 17:39:09 -05:00
Mac Siri
77dc803998
Update _article_followable_area.html.erb ( #1618 )
2019-01-21 16:57:22 -05:00
Ken Bellows
0ce46b637a
Fix for issue #1608 ( #1609 )
...
Update the regexp in `def valid_option(option)` to match whole tab names in the `default-tab` option instead of just single characters.
2019-01-21 13:55:31 -05:00
dependabot[bot]
a9f16d8bbf
Bump eslint-plugin-react from 7.12.3 to 7.12.4 ( #1604 ) [ci skip]
...
Bumps [eslint-plugin-react](https://github.com/yannickcr/eslint-plugin-react ) from 7.12.3 to 7.12.4.
- [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.12.3...v7.12.4 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-21 13:31:36 -05:00
dependabot[bot]
f68f7efa77
Bump eslint-config-prettier from 3.4.0 to 3.6.0 ( #1603 ) [ci skip]
...
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier ) from 3.4.0 to 3.6.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/v3.4.0...v3.6.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-21 13:31:07 -05:00
Ben Halpern
fe26ad5778
Add additional home page caching ( #1610 )
2019-01-21 12:45:09 -05:00
dependabot[bot]
6c4f5ad454
Bump webpacker from 3.5.3 to 3.5.5 ( #1605 )
...
Bumps [webpacker](https://github.com/rails/webpacker ) from 3.5.3 to 3.5.5.
- [Release notes](https://github.com/rails/webpacker/releases )
- [Changelog](https://github.com/rails/webpacker/blob/v3.5.5/CHANGELOG.md )
- [Commits](https://github.com/rails/webpacker/compare/v3.5.3...v3.5.5 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-21 12:36:30 -05:00
dependabot[bot]
c712748bb8
Bump prettier from 1.15.3 to 1.16.0 ( #1602 ) [ci skip]
...
Bumps [prettier](https://github.com/prettier/prettier ) from 1.15.3 to 1.16.0.
- [Release notes](https://github.com/prettier/prettier/releases )
- [Changelog](https://github.com/prettier/prettier/blob/master/CHANGELOG.md )
- [Commits](https://github.com/prettier/prettier/compare/1.15.3...1.16.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-21 11:22:24 -05:00
dependabot[bot]
d44af321e1
Bump eslint from 5.12.0 to 5.12.1 ( #1601 ) [ci skip]
...
Bumps [eslint](https://github.com/eslint/eslint ) from 5.12.0 to 5.12.1.
- [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/v5.12.0...v5.12.1 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-21 10:38:19 -05:00
Ben Halpern
cc8eaa1e68
Modify side stickies and comment.rb caching/touching ( #1599 )
2019-01-20 21:09:27 -05:00
Ben Halpern
84e2e79239
Add a couple cache optimizations and query guards ( #1598 )
...
* Add a couple cache optimizations
* Fix failed test, add a couple optimizations
* Move if statement inside proper div
2019-01-20 19:57:28 -05:00
Ben Halpern
865a1a6fdf
Remove article collection area caching ( #1597 )
2019-01-20 17:13:12 -05:00
Ben Halpern
6e4259baaf
Cache collection so it doesn't have to be re-fetched ( #1576 )
...
* Cache collection so it doesn't have to be re-fetched
* Update app/views/articles/show.html.erb
Co-Authored-By: benhalpern <bendhalpern@gmail.com>
* Update app/views/articles/show.html.erb
Co-Authored-By: benhalpern <bendhalpern@gmail.com>
* Update app/views/articles/show.html.erb
Co-Authored-By: benhalpern <bendhalpern@gmail.com>
2019-01-20 15:50:57 -05:00
Kyle Boe
36b42b2ccd
Feature/spotify liquid tag ( #1573 )
...
* WIP spotify liquid tags and specs - #1546
* update naming for clarity
* update for rubocop styling
* drop url support - #1546
* bugfix and add correct heights - #1546
* update specs to reflect url removal - #1546
* update standard error message in spec - #1573
2019-01-20 14:01:33 -05:00
Ben Halpern
c28e3a4d54
Modify cache keys which have low hit rate. ( #1596 )
...
* Change worker line in procfile
* mod buildpacks
* Add bin/start-pgbouncer
* Modify procfile
* Remove bin/start-pgbouncer
* Make artice show caching more effective
2019-01-20 12:30:26 -05:00
Anna Buianova
9ccf0a07cb
Refactored stories views ( #1584 )
2019-01-20 11:57:24 -05:00
rhymes
51a9e8be0a
Order my tags by weight, popularity and name ( #1583 )
2019-01-20 11:29:37 -05:00
rhymes
c989cbf301
Super small queries optimizations ( #1586 )
...
* Replace find_by().nil? with exists?
find_by asks the DB and the ORM to load the entire object in memory, then it is discarded just know if it exists or not. Exists will just return true or false
* Use present? in lieu of any? when it is proper
A request for any? followed by each in a most likely full collection results in two SQL queries. present? preloads the objects, so it results in one single connection because the objects are already in memory.
2019-01-19 17:28:02 -05:00