Commit graph

1617 commits

Author SHA1 Message Date
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
Glenn Carremans
14f8e8888e Use latest Node.js LTS Dubnium version (#1998) [ci skip] 2019-03-07 18:45:30 -05:00
Gabriel Lebec
5626fbe622 Fix runkit's strict preamble (#1938) 2019-03-07 16:41:14 -05:00
Ben Halpern
825aa9be91
Add page_view model (#1985)
* Add page_view model

* Uncomment DJ routes

* Add time on site max and don't update article page views every time
2019-03-07 11:53:33 -08:00
Mac Siri
a18a4523a1
Specify node version to v10.15.0 (#1997) 2019-03-07 13:25:25 -05:00
Mikhail Korolev
7f94b2c2e5 Clean relative paths for both anchors and images in GitHub liquid embeds. Fixes #1976 (#1987) 2019-03-07 07:38:59 -08:00
Glenn Carremans
cb7ee46e35 Fix Mixed Content error in O RLY Parody Book Generator (#1993)
* Fixed image not loading + hide invalid gif

* Replaced other URLs with HTTPS
2019-03-07 07:10:58 -08:00
Andy Zhao
5c116c4881 Update tag admin page(#1990) 2019-03-06 14:28:30 -05:00
Mac Siri
9c6a567556
Update Stale.yml [ci skip] 2019-03-06 12:20:38 -05:00
Ben Halpern
a17cfe7d33
Add time ago to recent posts in feed (#1981)
* Add time ago to recent posts in feed

* Modify time details
2019-03-05 13:40:27 -08:00
Ali Spittel
0c7690333b change media query to 950 instead of 800px (#1983) 2019-03-05 11:49:15 -08:00
Andy Zhao
d94f11fbf7 Add ability to add pro role to internal (#1980)
* Add ability to add pro role in internal

* Remove debug statement
2019-03-05 10:44:56 -08:00
Ben Halpern
3f25d52aba
Adjust rankings to squash lingering popular stuff (#1982) 2019-03-05 10:43:40 -08:00
Conlin Durbin
14beb68fd3 Add new gifs to random_gif.rb (#1944)
* Add new gifs to random_gif.rb

* Update app/labor/random_gif.rb

Co-Authored-By: wuz <conlindurbin@protonmail.com>
2019-03-05 08:09:06 -08:00
Anna Buianova
0ac8eb1f73 Make less queries when displaying articles flare tags (#1957)
* Make less queries when displaying flare tag

* Make less sql queries to display articles flare tags
2019-03-05 07:27:51 -08:00
Ben Halpern
e491cf1f65
Allow non-logged-in proper redirect for template posts (#1977) 2019-03-04 15:50:36 -08:00
Ben Halpern
b271e96965
Add shecoded social preview template (#1975) 2019-03-04 13:18:32 -08:00
Ali Spittel
99f2383ded update shecoded copy (#1974) 2019-03-04 12:42:06 -08:00
Ben Halpern
fd83b33603
Add shecoded template to v2 (#1972) 2019-03-04 12:41:37 -08:00
Ben Halpern
8d0f0946a0
Basics of pro dashboard (#1971) 2019-03-04 12:10:09 -08:00
Anna Buianova
7e568921a8 Enable delayed_job web interface for admins (#1967)
* Enable delayed_job web interface for admins

* Fix delayed_job web interface spec descs
2019-03-04 10:12:42 -08:00
Ben Halpern
7f37d88ce7
Add shecoded meta tags (#1969) 2019-03-04 08:54:31 -08:00
dependabot[bot]
91b77b068b Bump devise from 4.6.0 to 4.6.1 (#1961)
Bumps [devise](https://github.com/plataformatec/devise) from 4.6.0 to 4.6.1.
- [Release notes](https://github.com/plataformatec/devise/releases)
- [Changelog](https://github.com/plataformatec/devise/blob/master/CHANGELOG.md)
- [Commits](https://github.com/plataformatec/devise/compare/v4.6.0...v4.6.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-03-04 11:47:38 -05:00
dependabot[bot]
934ed6279f Bump lint-staged from 8.1.4 to 8.1.5 (#1965) [ci skip]
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 8.1.4 to 8.1.5.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](https://github.com/okonet/lint-staged/compare/v8.1.4...v8.1.5)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-03-04 11:46:44 -05:00
dependabot[bot]
ba92a373a0 Bump eslint from 5.14.1 to 5.15.0 (#1963) [ci skip]
Bumps [eslint](https://github.com/eslint/eslint) from 5.14.1 to 5.15.0.
- [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.14.1...v5.15.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-03-04 11:45:21 -05:00
dependabot[bot]
cbc1167ea5 Bump pundit from 2.0.0 to 2.0.1 (#1962) [ci skip]
Bumps [pundit](https://github.com/varvet/pundit) from 2.0.0 to 2.0.1.
- [Release notes](https://github.com/varvet/pundit/releases)
- [Changelog](https://github.com/varvet/pundit/blob/master/CHANGELOG.md)
- [Commits](https://github.com/varvet/pundit/compare/v2.0.0...v2.0.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-03-04 11:44:17 -05:00
Ben Halpern
263b698686
Add shecoded page (#1968)
* Add shecoded page

* Fix copy
2019-03-04 07:50:49 -08:00
dependabot[bot]
a08b6f18a6 Bump eslint-config-prettier from 4.0.0 to 4.1.0 (#1964)
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) from 4.0.0 to 4.1.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/v4.0.0...v4.1.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-03-04 07:49:56 -08:00
Anna Buianova
854c7a773c Rubocop fixes (#1966) 2019-03-04 06:18:09 -08:00
dependabot[bot]
9226ca8be8 Bump skylight from 2.0.2 to 3.1.4 (#1959)
Bumps [skylight](https://github.com/skylightio/skylight-ruby) from 2.0.2 to 3.1.4.
- [Release notes](https://github.com/skylightio/skylight-ruby/releases)
- [Changelog](https://github.com/skylightio/skylight-ruby/blob/master/CHANGELOG.md)
- [Commits](https://github.com/skylightio/skylight-ruby/compare/v2.0.2...v3.1.4)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-03-04 06:16:49 -08:00