Commit graph

1646 commits

Author SHA1 Message Date
Jess Lee
9c1e10cd9f Improve Internal Dashboards features(#2043) 2019-03-18 16:29:11 -04:00
Ben Halpern
c901c7138d
Fix possible race condition with page view tracking (#2103)
* Fix possible race condition with page view tracking

* Change min number to check for html variant calculation
2019-03-18 15:53:13 -04:00
Ben Halpern
2b2ecaa115
Add proper css vars to user style config (#2105) 2019-03-18 15:22:23 -04:00
dependabot[bot]
2658185389 Bump @storybook/addons from 3.4.11 to 5.0.3 (#2102) [ci skip]
Bumps [@storybook/addons](https://github.com/storybooks/storybook/tree/HEAD/lib/addons) from 3.4.11 to 5.0.3.
- [Release notes](https://github.com/storybooks/storybook/releases)
- [Changelog](https://github.com/storybooks/storybook/blob/v5.0.3/CHANGELOG.md)
- [Commits](https://github.com/storybooks/storybook/commits/v5.0.3/lib/addons)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-03-18 15:11:39 -04:00
Andy Zhao
f2e05fb74c Use proper folder structure for pro (#2104) 2019-03-18 13:17:45 -04:00
dependabot[bot]
8812e4d3e8 Bump @storybook/addon-links from 5.0.1 to 5.0.3 (#2101) [ci skip]
Bumps [@storybook/addon-links](https://github.com/storybooks/storybook/tree/HEAD/addons/links) from 5.0.1 to 5.0.3.
- [Release notes](https://github.com/storybooks/storybook/releases)
- [Changelog](https://github.com/storybooks/storybook/blob/v5.0.3/CHANGELOG.md)
- [Commits](https://github.com/storybooks/storybook/commits/v5.0.3/addons/links)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-03-18 11:59:10 -04:00
Andy Zhao
8a3d3ae765 Enable Org Pro Dashboard View (#2060) 2019-03-18 11:58:44 -04:00
dependabot[bot]
6524817621 Bump chart.js from 2.7.3 to 2.8.0 (#2094)
Bumps [chart.js](https://github.com/chartjs/Chart.js) from 2.7.3 to 2.8.0.
- [Release notes](https://github.com/chartjs/Chart.js/releases)
- [Commits](https://github.com/chartjs/Chart.js/compare/v2.7.3...v2.8.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-03-18 11:21:55 -04:00
dependabot[bot]
afc92b84fb Bump eslint from 5.15.1 to 5.15.2 (#2093) [ci skip]
Bumps [eslint](https://github.com/eslint/eslint) from 5.15.1 to 5.15.2.
- [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.15.1...v5.15.2)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-03-18 11:21:09 -04:00
dependabot[bot]
261ff9116f Bump @storybook/addon-actions from 5.0.1 to 5.0.2 (#2092) [ci skip]
Bumps [@storybook/addon-actions](https://github.com/storybooks/storybook/tree/HEAD/addons/actions) from 5.0.1 to 5.0.2.
- [Release notes](https://github.com/storybooks/storybook/releases)
- [Changelog](https://github.com/storybooks/storybook/blob/next/CHANGELOG.md)
- [Commits](https://github.com/storybooks/storybook/commits/v5.0.2/addons/actions)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-03-18 11:18:25 -04:00
dependabot[bot]
b339a2ed03 Bump email_validator from 1.6.0 to 2.0.1 (#2098) [ci skip]
Bumps [email_validator](https://github.com/balexand/email_validator) from 1.6.0 to 2.0.1.
- [Release notes](https://github.com/balexand/email_validator/releases)
- [Changelog](https://github.com/balexand/email_validator/blob/master/Changes.md)
- [Commits](https://github.com/balexand/email_validator/compare/v1.6.0...v2.0.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-03-18 11:17:56 -04:00
Periklis Gkolias
05c714db46 Update addl-tech.md (#2078) 2019-03-18 10:06:28 -04:00
dependabot[bot]
3641334810 Bump sinatra from 2.0.4 to 2.0.5 (#2097)
Bumps [sinatra](https://github.com/sinatra/sinatra) from 2.0.4 to 2.0.5.
- [Release notes](https://github.com/sinatra/sinatra/releases)
- [Changelog](https://github.com/sinatra/sinatra/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sinatra/sinatra/compare/v2.0.4...v2.0.5)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-03-18 10:05:29 -04:00
dependabot[bot]
51eca18aaa Bump libhoney from 1.11.0 to 1.12.1 (#2100)
Bumps [libhoney](https://github.com/honeycombio/libhoney-rb) from 1.11.0 to 1.12.1.
- [Release notes](https://github.com/honeycombio/libhoney-rb/releases)
- [Commits](https://github.com/honeycombio/libhoney-rb/compare/v1.11.0...v1.12.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-03-18 10:04:59 -04:00
Ben Halpern
158640e3f0
Add originally published at migration (#2085) 2019-03-16 21:15:29 -04:00
Ben Halpern
e3760fc215
Add originally_published_at for more accurate crossposted info (#2076) 2019-03-16 18:11:39 -04:00
Keshav Biswa
8d57d45ecc Rubocop Style cops enabled (#2056)
* Rubocop enabled style/alias

* Enabled Style/ArrayJoin Cop

* Enabled Style/Attr

* Enabled Case Equality

* Enabled CharacterLiteral

*  Enabled ColonMethodCall Cop

* Enabled CommentAnnotation cop

* Enabled PreferredHashMethods Cop

*  Enabled DoubleNegation Cop

* Enabled EachWithObject Cop

* Enabled EmptyLiteral Cop

* Enabled EvenOdd Cop

* Enabled IfWithSemicolon Cop

* Enabled Lambda and LambdaCall Cop

* Enabled LineEndConcatenation Cop

* Enabled ModuleFunction Cop;

* Enable NegatedIf and NegatedWhile Cop

* Enabled NilComparison Cop

* Enabled Not Cop

* Enabled NumericLiterals Cop

* Enabled OneLineConditional Cop

* Enabled PercentLiteralDelimiters Cop

* Excluded internal/users_controller from negated_if cop

* Reverted the double negation change from github_issue_tag and github_issue.rb"

* Enabled PerlBackrefs Cop

* Changed Regexp.last_match(1) to Regexp.last_match(0)

* Enabled proc cop

* Enabled RaiseArgs Cop

* Reverted Regexp.last_match(0) to Regexp.last_match(1)

* Enabled SelfAssignment Cop

* Enabled SingleLineMethods Cop

* Enabled SpecialGlobalVars Cop

* Enabled VariableInterpolation Cop

* Enabled WhenThen Cop

* Enabled WhileUntilModifier Cop

* Enabled WordArray Cop

* Enabled IfUnlessModifier Cop

* Enabled GuardClause Cop
2019-03-15 18:33:54 -04:00
Mario See
d8709c0334 Implement open inbox for dev-connect (#1563) 2019-03-15 14:39:57 -04:00
Ali Spittel
18a111418b a couple bug fixes for the pro dashboard! (#2070)
* give the pro dashboard a dashboard-y makeover

* make background color for the cards white

* fix a couple bugs, make greater greator or equal

* add markup and styling for skip link (#2062)

* fix a couple bugs, make greater greator or equal
2019-03-15 13:59:23 -04:00
Ben Halpern
73f5873e5e
Quick css adjustment on sans-serif config (#2073) 2019-03-15 13:48:18 -04:00
Ben Halpern
d6ab255a45
Allow users to configure to use night mode (beta) and sans-serif article body (#2072)
* Initial work for config

* Add config for users

* Fix schema
2019-03-15 13:11:53 -04:00
Ryan Killeen
365a3513dc add markup and styling for skip link (#2062) 2019-03-15 10:46:09 -04:00
Andy Zhao
f93af16fbe Remove notifications when banishing and deleting a user (#2039)
* Make remove_notifications a public method

* Remove notifications when banishing or deleting
2019-03-13 17:54:47 -04:00
Ali Spittel
e45f9cca03 give the pro dashboard a dashboard-y makeover (#2058)
* give the pro dashboard a dashboard-y makeover

* make background color for the cards white
2019-03-13 17:34:40 -04:00
Ben Halpern
be0f55f9f4
Remove shecoded sidebar (#2059) 2019-03-13 17:34:02 -04:00
James Turner
01ee5ab926 Fixed typo on notifications state (#2047) 2019-03-13 15:57:33 -04:00
rhymes
6a9b97b30d Use numerical input for tags points (#2057) 2019-03-13 15:34:37 -04:00
Mac Siri
f0eba30d5c Bump Rails to 5.1.6.2 2019-03-13 13:36:02 -04:00
Anna Buianova
96de5a4f60 Don't send new follower notification when followable is a tag #2041 (#2050)
* Enable djs to confirm follow spec fail

* Don't send new follower notification when followable is a tag
2019-03-13 08:16:20 -07:00
Keshav Biswa
bc5fa55d90 Fixed time ago bug. (#2015)
* changed the element[i] to element[0]

* Added comments

* repositioned comments
2019-03-13 08:15:01 -07:00
Anna Buianova
343f109c0f Optimize stories (#1988)
* Add db index to articles path

* Slight stories optimizations

* Select only needed fields for the flare tag

* Revert the last commit (to check builds)

* Return selecting only needed fields for tag
2019-03-12 16:38:22 -07:00
Andy Zhao
4e120b8a8e Add more logging to sign in failures (#2038)
* Actually redirect when rescuing an error

* Use inspect to view class as string

* Use a slightly more descriptive flash message
2019-03-12 16:33:10 -07:00
Andy Zhao
be8e139e3e Fix charts and add nav buttons (#2044)
* Add navigation links for pro dashboard

* Move styles to stylesheet

* Use the correct dates for charts
2019-03-12 13:31:00 -07:00
Andy Zhao
1922a55739 Add initial charts implementation to pro dashboard (#2037)
* Refactor and optimize article ids a bit

* Add chartJS to package.json

* Add new queries for charts

* Add past week charts for rxns and comments

* Use real data oops

* Round followers percent to 2 decimals

Co-Authored-By: Zhao-Andy <andyzhao.zhao@gmail.com>

* Round all percentages to 2 decimals

Co-Authored-By: Zhao-Andy <andyzhao.zhao@gmail.com>
2019-03-12 10:21:12 -07:00
James Turner
a9254eac40 Fix typo in surrogate key header (#2013) 2019-03-11 17:40:45 -04:00
dependabot[bot]
50ee937e3f Bump @storybook/addon-actions from 3.4.11 to 5.0.1 (#2023) [ci skip]
Bumps [@storybook/addon-actions](https://github.com/storybooks/storybook/tree/HEAD/addons/actions) from 3.4.11 to 5.0.1.
- [Release notes](https://github.com/storybooks/storybook/releases)
- [Changelog](https://github.com/storybooks/storybook/blob/next/CHANGELOG.md)
- [Commits](https://github.com/storybooks/storybook/commits/v5.0.1/addons/actions)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-03-11 17:40:20 -04:00
dependabot[bot]
2bd6c38ab7 Bump @storybook/addon-links from 3.4.11 to 5.0.1 (#2022) [ci skip]
Bumps [@storybook/addon-links](https://github.com/storybooks/storybook/tree/HEAD/addons/links) from 3.4.11 to 5.0.1.
- [Release notes](https://github.com/storybooks/storybook/releases)
- [Changelog](https://github.com/storybooks/storybook/blob/next/CHANGELOG.md)
- [Commits](https://github.com/storybooks/storybook/commits/v5.0.1/addons/links)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-03-11 17:19:28 -04:00
dependabot[bot]
0b84ae9acb Bump jsdom from 13.2.0 to 14.0.0 (#2027) [ci skip]
Bumps [jsdom](https://github.com/jsdom/jsdom) from 13.2.0 to 14.0.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.2.0...14.0.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-03-11 11:10:29 -04:00
dependabot[bot]
cab35a91d2 Bump eslint from 5.15.0 to 5.15.1 (#2026) [ci skip]
Bumps [eslint](https://github.com/eslint/eslint) from 5.15.0 to 5.15.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.15.0...v5.15.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-03-11 11:07:34 -04:00
dependabot[bot]
b0f0cd6ab5 Bump nokogiri from 1.10.0 to 1.10.1 (#2028) [ci skip]
Bumps [nokogiri](https://github.com/sparklemotion/nokogiri) from 1.10.0 to 1.10.1.
- [Release notes](https://github.com/sparklemotion/nokogiri/releases)
- [Changelog](https://github.com/sparklemotion/nokogiri/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sparklemotion/nokogiri/compare/v1.10.0...v1.10.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-03-11 11:01:53 -04:00
Ben Halpern
ecb9f6da3d
Remove some hardcoded shecoded stuff (#2011) 2019-03-08 18:08:48 -08:00
David Celis
1ceda51e88 Add xoxo.zone to the allowed Mastodon instances (#2009) 2019-03-08 16:00:02 -05:00
rhymes
3c6a7d4574 Display comment published timestamp according to user's locale (#1970) 2019-03-08 15:19:37 -05:00
HKrogstie
060c82aa32 Fix timeAgo's edge-case (#2002) 2019-03-08 13:07:23 -05:00
Ali Spittel
2a9421bf4b Update shecoded.html.erb (#2005) 2019-03-08 12:31:05 -05:00
rhymes
ca79dac1bc Fix sidebar widget header for she coded (#2004) 2019-03-08 12:26:53 -05:00
Ben Halpern
27662eb924
Ben/shecoded tweaks (#2007)
* A few shecoded tweaks

* Refactor code
2019-03-08 08:16:10 -08:00
Ben Halpern
cd36d097ca
Fix social card aspect ratio problem (#2006) 2019-03-08 07:12:53 -08:00
Ben Halpern
138278462a
Add shecoded sidebar/homepage decorations (#2003)
* Add shecoded sidebar/homepage decorations

* Add additional functioanlity to /shecoded

* Fix typo
2019-03-08 04:47:31 -08:00
Ben Halpern
8149a72efb
Nevertheless, She Coded (#2000) 2019-03-07 18:52:09 -08:00