Ben Halpern
bd95c6a8bf
Fix human language detection ( #2338 )
...
* Update language detection
* Modify feed to account for languages
2019-04-08 15:47:29 -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
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
Ben Halpern
532903c688
Add experience level averaging to articles ( #1922 )
...
* Add experience level averaging to articles
* Adjust copy on /mod ratings page
2019-02-28 08:17:29 -08:00
Mac Siri
2e647cedb4
Add more test coverage ( #1829 )
...
* Create github repos request spec
* Create article_mutes_spec.rb
* Create moderation_service_spec.rb
* Create push notification subscriptions spec
* Add PodcastEpisodeDecorator specs
* Remove randomness in test
* Create specs for ArticleWithVideoCreationService
* Update spec/decorators/podcast_episode_decorator_spec.rb
Co-Authored-By: maestromac <krairit.siri@gmail.com>
2019-02-22 09:16:57 -08:00
rhymes
51a9e8be0a
Order my tags by weight, popularity and name ( #1583 )
2019-01-20 11:29:37 -05:00
rhymes
6553f08d94
Rubocop cleanups ( #1415 )
...
* Update rubocop-todo.yml with new violations
* Fix Layout/EmptyLine* rules
* Fix Layout/Indentation* rules
* Fix remaining Layout/* rules
* Fix Lint/DuplicateMethods by removing unused accessor
* Fix Lint/IneffectiveAccessModifier
* Fix Lint/MissingCopEnableDirective
* Re-run rubocop auto gen config
* Fix Layout/RescueEnsureAlignment
* Fix Naming/* rules
* Fix some RSpec/* rules
* Fix typos
* Fix RSpec/LetBeforeExamples
* Series should only be an attr_writer, not an attr_accessor
* Fix RSpec/InstanceVariable
* Fix RSpec/InstanceVariable
* Fix RSpec/RepeatedDescription and RSpec/RepeatedExample
* Fix Style/ClassAndModuleChildren
* Fix Style/ConditionalAssignment
* Fix some Style/* rules
* Trigger Travis CI build because failing tests are not failing locally
* Revert "Fix Style/ClassAndModuleChildren"
This reverts commit 1686801d8a1516ba1894f79e24401a20dea65f99.
2019-01-02 11:20:02 -05:00
Ben Halpern
651ab3ce35
Add point weights for tag follows ( #1229 )
...
* Add point weights for tag follows
* Adjust num articles to initially show up on home page
* Fix schema.rb
* Adjust follow policy spec
* Adjust dashboard styling for follow points form
2018-11-30 15:36:58 -05:00
Ben Halpern
c5807205b5
Adjust dashboard analytics to be more reliable ( #1115 )
...
* Update analytics
* Remove analytics file
* Remove unused files
* Add delete button back in on dashboard
2018-11-13 20:37:29 -05:00
Ben Halpern
8b1755a2b3
Add organization to feed and adjust page styling ( #1089 )
...
* Add organization to feed and adjust page styling
* Add conditional indexing to article agolia
* Early return in algolia org logic
* Make org optional in algolia
* Modify org cta styling
2018-11-12 12:28:51 -05:00
Ben Halpern
221c363af0
Reduce queries in typical stories#show response + small fixes ( #903 )
...
* Reduce queries in typical stories#show response + small fixes
* Change const to git in non-es6 code
2018-10-13 19:38:38 -04:00
Maksim Litvinov
33db32e5f4
Fix rubocop lints ( #794 )
2018-10-03 13:00:09 -04:00
rhymes
e588fa7ece
Code cleanups ( #659 )
...
* Initial automatic cleanup with rubocop
* Fix syntax error introduced by rubocop
* Cleanup seeds file
* Cleanup lib folder
* Exclude bin folder because it contains auto generated files
* Make Rubocop a little bit more chatty
* Block length should not include comments in the count
* Cleanup config folder
* Cleanup specs
* Updated Rubocop version and generated a todo file
* Fix broken ArticlesApi spec
* Fix tests
* Restored rubocop pre-commit hook
2018-08-07 11:00:13 -04:00
Ben Halpern
13a92d17cb
Add a couple basic request specs ( #478 )
2018-06-21 18:35:34 -04:00
Andy Zhao
263a74bcb6
Add more request specs ( #460 )
...
* Remove email blank onboarding redirect
* Add authorization specs for video upload
* Add registration spec
* Remove skip before actions for signup complete
* Use new param for abuse reports
* Remove else because it never runs
* Add more dashboard request specs
* Use let with no bang in case there are errors
2018-06-20 17:46:23 -04:00
Ben Halpern
0941b2e4fb
Add some tests around model validations ( #459 )
...
* Modify sample_application.yml and write test
* Add ahrefs verification
* Add some tests around model validations
* Indent an end
* Add a few tests
* Add tests and reserved words
* Fix live articles spec typo
* Modify ga_events_controller
2018-06-20 17:14:08 -04:00
Ben Halpern
04aa888d5c
Add inline moderation buttons ( #401 )
2018-06-07 12:47:31 -04:00
Mac Siri
301c6080e3
Initial commit
2018-02-28 16:11:08 -05:00