Alex
ce4fe1aaf7
Move CodeBlockParse and MarkdownParser to service ( #12112 )
...
* Move remove_nested_linebreak_in_list to service
* Move prefex_all_images to service
* Major refactor :)
- Move MarkdownParser to /services
- Move CodeBlockParser to HtmlParser in /services
- Update specs
* Fix MarkdownParser
* Fix parser again
* Rename HtmlParser to Html::Parser
- Fix Rubocop violations :/
- Fix conflict
* Make html writer private
* Fix codeclimate
* Fix parser
2021-01-07 10:13:01 -05:00
Fernando Valverde
ada2d0c728
[deploy] Extracts DisplayAds from Administrate into admin ( #10153 )
...
* Extracts DisplayAds from Administrate into admin
* Suggested changes
2020-09-02 09:28:22 -06:00
rhymes
0f6baaf4ba
[deploy] Remove orphaned DisplayAdEvent rows ( #9765 )
...
* Remove orphaned DisplayAdEvent rows
* Add dependent in the has_many relationship between ads and ad events
2020-08-14 09:29:08 -04:00
Michael Kohl
8425c847c3
Update CODEOWNERS and team names in TODO comments ( #9460 )
...
* Update CODEOWNERS
* Update teams in TODO comments
* Remove mentions of team cool
2020-07-24 12:17:20 +07:00
rhymes
ba82e72aa4
Fix Rails/OutputSafety violations ( #9244 )
2020-07-11 11:36:24 +02:00
rhymes
0374f2d101
Remove unused columns in display_ads ( #6859 )
2020-03-27 10:05:46 +01:00
rhymes
30d9acf92e
Ignore unused display_ads columns ( #6785 )
2020-03-25 17:59:53 -04:00
cyrillefr
dea823b6ec
Excludes some files from linting and deletes redundancies ( #6275 )
2020-03-02 12:50:36 -05:00
Ridhwana
0f9c9d2738
Sanitisation of Ads ( #6361 ) [deploy]
2020-02-28 13:20:34 -05:00
rhymes
9c05e618db
Improve speed of model tests by around 50/60 seconds ( #5016 )
2019-12-09 16:33:48 -05:00
Mac Siri
9a2c856dd4
Update Complexity linters ( #3507 ) [ci skip]
2019-08-01 16:38:27 -04:00
Ben Halpern
5d380f93cb
Track success of DEV Shop ads ( #3589 )
...
* Add basic display ad event tracking
* Finalize client-side eventlistening functionality
2019-07-31 13:44:47 -04:00
cyrillefr
4fd66372dc
Enable Layout/AlignParameters ( #2340 )
...
Check if the parameters on a multi-line method call or definition are aligned.
Resolves : #2021
2019-04-08 18:47:34 -04:00
Ben Halpern
7f27aa32c7
Add areas for DEV Shop displays on left sidebar ( #2162 )
...
* Add areas for DEV Shop displays
* Update display_ad spec
* Add organization to spec
* Add orgs to specs properly
2019-03-22 09:57:37 -04:00
cyrillefr
a2fcbdc4a4
Enable performance rubocop cops ( #2140 )
2019-03-21 16:01:45 -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
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
8d36c74d3c
Move HTMLRouge into lib ( #403 )
...
* Move HTMLRouge into lib
* Fix lint
2018-06-12 16:53:58 -04:00
Ben Halpern
60c4a8450c
Ben/small adjust ( #265 )
2018-05-01 12:46:28 -04:00
Mac Siri
301c6080e3
Initial commit
2018-02-28 16:11:08 -05:00