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
David Celis
1ceda51e88
Add xoxo.zone to the allowed Mastodon instances ( #2009 )
2019-03-08 16:00:02 -05:00
Michał Krzysztof Feiler
73b909a1fd
Add "101010.pl" to Mastodon list ( #1612 )
2019-01-22 15:37:56 -05:00
Michał Krzysztof Feiler
5ff204c4ed
Add "bsd.network" to Mastodon list ( #1611 )
2019-01-21 17:39:32 -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
Brian Kephart
5a4f894e84
Add ruby.social to Mastadon safelist ( #1302 )
2018-12-11 10:30:01 -05:00
rhymes
96d01b20a2
Use allow/allowed instead of whitelist ( #1296 )
...
* Use allow/allowed instead of whitelist
* Remove duplication in comment
2018-12-10 13:16:16 -05:00
Conlin Durbin
121d0b1561
Add "radical.town" to Mastodon list ( #1279 )
2018-12-07 11:56:34 -05:00
Nick Taylor
86e55c2b6d
Added toot.cafe to Mastodon whitelist ( #1268 )
2018-12-06 14:08:55 -05:00
Martin Riedel
9fb2cd8d16
Add infosec.exchange to mastodon whitelist. ( #1262 )
...
* Add infosec.exchange to mastodon whitelist.
* fix codeclimate error
alignment was off;
tab instead of spaces has been used;
2018-12-05 09:55:02 -05:00
Tim Krueger
f016ee3b7f
Add two German instances ( #1260 )
...
'ruhr.social' and 'chaos.social' are two mastodon instances hosted in Germany.
2018-12-05 09:11:14 -05:00
Michael Kohl
ffd24f791e
Add Mastodon URL to profile ( #1137 )
2018-12-04 13:24:53 -05:00
Jason Yu
3af90f1d0e
remove punctuations in header anchor links ( #1219 )
...
* remove punctuations in header anchor links
* remove punctuations first
* added test case for punctuation headings
2018-11-29 15:16:09 -05:00
Ben Halpern
031a3bd751
Fix parsing error in header tags. ( #1180 )
...
* Strip HTML from anchor link in header names
* Skip one test which is not passing for unknown reasons
2018-11-22 12:48:46 -05:00
Gabriel Lebec
1e2749be24
feat(markdown): add ids to headers ( #713 )
...
* feat(markdown): add anchors for headers
* Fix markdown anchors impl and spec
* Fixes tests for markdown anchors
* Use name for anchors instead of IDs
* Fix approval file
* Remove emojis in links and hyphenate only spaces
2018-11-20 18:17:07 -05:00
Yechiel Kalmenson
37e0059ade
open markdown links in new tab (take 2) ( #512 )
...
* open links in chats in new tabs
* fixed target_blank vulnerability
* add test to make sur links are being generated with target _blank
* add test for target blank vulnerability
* add rel and target to the whitelisted attributes
* add the link attributes to HTMLRouge#link
2018-07-11 15:04:03 -04:00
Mac Siri
8d36c74d3c
Move HTMLRouge into lib ( #403 )
...
* Move HTMLRouge into lib
* Fix lint
2018-06-12 16:53:58 -04:00
Mac Siri
dd958ba40c
Move custom TagParser into lib ( #399 )
2018-06-08 13:44:52 -04:00
Mac Siri
9cbc209d62
Monkey-patched ReverseMarkdown's :text & :pre ( #353 )
2018-05-25 14:03:59 -04:00