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
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
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
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
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
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
Ben Halpern
7f37d88ce7
Add shecoded meta tags ( #1969 )
2019-03-04 08:54:31 -08:00
Ben Halpern
263b698686
Add shecoded page ( #1968 )
...
* Add shecoded page
* Fix copy
2019-03-04 07:50:49 -08:00
Anna Buianova
854c7a773c
Rubocop fixes ( #1966 )
2019-03-04 06:18:09 -08:00
Ben Halpern
044b088d4f
Switch satellite view to any: true for tags ( #1956 )
2019-03-03 18:55:39 -08:00
Ben Halpern
f280d9e266
Fix a couple things and modify dev digest logic ( #1954 )
2019-03-03 18:25:39 -08:00