Abraham Williams
9cb40e546b
Enables Rails cops ( #2186 )
...
* Enable Rails cops
* Fix Rails/DynamicFindBy
* Fix Rails/HttpStatus
* Fix Rails/Blank
* Fix Rails/RequestReferer
* Fix Rails/ActiveRecordAliases
* Fix Rails/FindBy
* Fix Rails/Presence
* Fix Rails/Delegate
* Fix Rails/Validation
* Fix Rails/PluralizationGrammar
* Fix Rails/Present
* Fix Rails/Output
* Fix Rails/Blank
* Fix Rails/FilePath
* Fix Rails/InverseOf
* Fix Rails/LexicallyScopedActionFilter
* Add Rails/OutputSafety to TODO
* Add Rails/HasManyOrHasOneDependent to TODO
* Add Rails/SkipsModelValidations to TODO
2019-03-25 09:25:55 -04:00
rhymes
116d6b3278
Replace puts with proper logging ( #2139 )
2019-03-21 13:00:21 -04:00
Tim Lange
3494264404
Enabled rubocop/lint ( #2130 )
...
* WIP: Enabled rubocop/lint
* FIX: Fixed failing test
* FIX: Small change to return
* FIX: Changed indent
2019-03-21 10:53:44 -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
92b24a9978
Add html_variant split testing to /badge ( #1763 )
...
* Add /badge html_variant
* Fix some of the linting
2019-02-08 12:45:14 -04:00
Andy Zhao
a1010201f2
Notifications part 2 ( #1156 )
...
* Remove stream and add new notification views
* Actually remove Stream
* Move followers query to async method
* Remove unused tests and fix query
* Try using without delay instead
* Add without delay and escape HTML
* Make all tests pending for now
2018-11-19 18:14:24 -05:00
rhymes
1b60ee5009
Use timezone aware methods ( #893 )
...
* Use timezone aware datetime methods
* Use timezone aware date parse for GitHub issue tag
* Introduce a bit of chaos programming using Zonebie
Zonebie uses a random timezone to run tests, it's a really good way to see if the code is timezone dependent or not.
* Convert GitHub issue date as UTC
2018-10-18 16:26:29 -04:00
Michael
cfda390845
Adds optional support for Docker/Compose ( #296 )
...
* Adds optional support for Docker/Compose
* Upgrades Dockerfile to use a multi-stage build
* Gets rest of stack running in Docker
* Renames queue to jobs, uses jobs namespace command
* Reverts file
* Adds webpacker
* Fixes yarn check issue
* Adds Database URL default connection string
* Remove daemons gem
* Update huskyhook config
* Update seed.rb
* Create .dockerignore
* Increase RackTimeout's config
* Simplify Docker config
* Update README
* Remove postgres url default
* Change docker entry point to 3000
* Remove duped integrity setting
2018-10-12 11:48:53 -04:00
Maksim Litvinov
33db32e5f4
Fix rubocop lints ( #794 )
2018-10-03 13:00:09 -04:00
Mac Siri
cc2206ced3
Enhance seeds.rb ( #753 )
...
* Reduce seed size
* Add DEV logo in seed
2018-09-26 15:52:39 -04:00
Mac Siri
2dbf16eeb2
Expand README's setup steps ( #520 )
...
* Remove duplicate key
* Improve test specs
* Update README
2018-08-28 17:37:29 -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
Mac Siri
c05ae7583e
Make Algolia a requirement ( #636 )
...
* Make algolia a requirement
* Remove algolia defaults
* Fix Envfile issue
2018-08-01 11:27:04 -04:00
Mac Siri
379829719f
Misc DX improvement ( #621 )
...
* Add updated rack env keys
* Tone-down rack-timeout config
* Avoid cl_image_path in development
* Update README & create env var template
* Update Travis notification config
* Expand Seed file
* Manually-set Rack-timeout config vars
* Fix lint
* Fix Typo(?)
* Add ChatChannel to Seed
* Disable fbq when not in production
* Tweak after_deploy script
* Fix condition
* Change fbq clause
2018-07-25 22:08:17 -07:00
Mac Siri
94601cdd87
Enrich database seeds ( #566 )
...
* Update Faker gem to master
* Randomize user profile images
* Enrich seeds.rb
2018-07-11 17:21:50 -04:00
Ben Halpern
914102f19f
Add basic github support to /connect
2018-06-19 13:46:10 -04:00
Andy Zhao
62c2790e23
Uncomment seed and update steps ( #136 )
2018-03-23 15:59:58 -04:00
Andy Zhao
96c97d3a3e
Update readme with new ways for dev env data ( #85 )
...
* Update readme with new ways for dev env data
* Make download data instructions more clear
2018-03-16 14:16:42 -04:00
Mac Siri
301c6080e3
Initial commit
2018-02-28 16:11:08 -05:00