mastodon/app/models
Eugen Rochko 1618b68bfa HTTP signatures (#4146)
* Add Request class with HTTP signature generator

Spec: https://tools.ietf.org/html/draft-cavage-http-signatures-06

* Add HTTP signature verification concern

* Add test for SignatureVerification concern

* Add basic test for Request class

* Make PuSH subscribe/unsubscribe requests use new Request class

Accidentally fix lease_seconds not being set and sent properly, and
change the new minimum subscription duration to 1 day

* Make all PuSH workers use new Request class

* Make Salmon sender use new Request class

* Make FetchLinkService use new Request class

* Make FetchAtomService use the new Request class

* Make Remotable use the new Request class

* Make ResolveRemoteAccountService use the new Request class

* Add more tests

* Allow +-30 seconds window for signed request to remain valid

* Disable time window validation for signed requests, restore 7 days
as PuSH subscription duration (which was previous default due to a bug)
2017-07-14 20:41:49 +02:00
..
concerns HTTP signatures (#4146) 2017-07-14 20:41:49 +02:00
form Improve UI of admin site settings (#4163) 2017-07-12 03:24:04 +02:00
web Web Push Notifications (#3243) 2017-07-13 22:15:32 +02:00
account.rb HTTP signatures (#4146) 2017-07-14 20:41:49 +02:00
account_domain_block.rb
account_filter.rb
application_record.rb
block.rb
context.rb Refactor JSON templates to be generated with ActiveModelSerializers instead of Rabl (#4090) 2017-07-07 04:02:06 +02:00
conversation.rb
conversation_mute.rb
domain_block.rb Fix boolean columns sometimes having a null value (#4162) 2017-07-13 03:12:25 +02:00
export.rb
favourite.rb
feed.rb Remove sort in Feed (#4050) 2017-07-03 13:17:27 +02:00
follow.rb
follow_request.rb
import.rb Fix boolean columns sometimes having a null value (#4162) 2017-07-13 03:12:25 +02:00
instance.rb
media_attachment.rb Explicitly require MIME::Types (#4083) 2017-07-05 23:58:03 +02:00
mention.rb
mute.rb
notification.rb
preview_card.rb
remote_follow.rb Fix RemoteFollow behavior (#3868) 2017-06-20 20:40:56 +02:00
remote_profile.rb Refactor UpdateRemoteProfileService (#3690) 2017-06-11 10:41:59 +02:00
report.rb
report_filter.rb
search.rb Refactor JSON templates to be generated with ActiveModelSerializers instead of Rabl (#4090) 2017-07-07 04:02:06 +02:00
session_activation.rb Web Push Notifications (#3243) 2017-07-13 22:15:32 +02:00
setting.rb
status.rb Fix #4149, fix #1199 - Store emojis as unicode (#4189) 2017-07-14 19:47:53 +02:00
stream_entry.rb
subscription.rb HTTP signatures (#4146) 2017-07-14 20:41:49 +02:00
tag.rb add validation to tag name (#4194) 2017-07-14 11:02:49 +02:00
user.rb Add option to opt out of search engines on public profile/status pages (#4199) 2017-07-14 16:41:02 +02:00
web.rb