Commit graph

4 commits

Author SHA1 Message Date
Benjamin Neff
e26a86c173
Switch PercentLiteralDelimiters to new default
Let's change that to the new rubocop default, which is also the
suggestion in the ruby style guide.

See https://github.com/bbatsov/ruby-style-guide#percent-literal-braces

This was changed in diaspora too, see diaspora/diaspora#7466

It also includes the changes in the code. This was done with
`rubocop --auto-correct` and no we have zero offenses again.
2017-06-30 02:23:44 +02:00
Benjamin Neff
12cd5b0090
Add route for RFC-7033 webfinger 2017-05-29 00:43:38 +02:00
Benjamin Neff
8859c960ac
Don't log encrypted private messages
Rails logs the content of received json as parameters, but this is a bad
idea for federation messages. It only makes the logfiles bigger without
any benefit, because it's encrypted anyway ...
2017-04-30 23:34:19 +02:00
Benjamin Neff
019b93d176 add initializer to filter xml parameter from logging 2016-06-21 05:50:09 +02:00