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 Add buttons to block and unblock domain (#3127) 2017-05-19 21:05:32 +02:00
account_filter.rb Add coverage for ReportFilter and AccountFilter (#3236) 2017-05-22 15:50:58 -04:00
application_record.rb
block.rb annotate models (#2697) 2017-05-02 02:14:47 +02:00
context.rb Refactor JSON templates to be generated with ActiveModelSerializers instead of Rabl (#4090) 2017-07-07 04:02:06 +02:00
conversation.rb Conditional validations no longer accept strings for if/unless (#3124) 2017-05-19 03:11:23 +02:00
conversation_mute.rb Feature conversations muting (#3017) 2017-05-15 03:04:13 +02:00
domain_block.rb Fix boolean columns sometimes having a null value (#4162) 2017-07-13 03:12:25 +02:00
export.rb
favourite.rb annotate models (#2697) 2017-05-02 02:14:47 +02:00
feed.rb Remove sort in Feed (#4050) 2017-07-03 13:17:27 +02:00
follow.rb Introduce recent to Follow (#3247) 2017-05-23 13:12:19 +02:00
follow_request.rb annotate models (#2697) 2017-05-02 02:14:47 +02:00
import.rb Fix boolean columns sometimes having a null value (#4162) 2017-07-13 03:12:25 +02:00
instance.rb Add Instance class to list admin records (#3443) 2017-05-31 20:38:44 +02:00
media_attachment.rb Explicitly require MIME::Types (#4083) 2017-07-05 23:58:03 +02:00
mention.rb Misc tidying and clean ups (#3445) 2017-05-31 20:38:17 +02:00
mute.rb annotate models (#2697) 2017-05-02 02:14:47 +02:00
notification.rb Update Rails to version 5.1.1 (#3121) 2017-06-01 20:53:37 +02:00
preview_card.rb Fetch remote image using http.rb (#3114) 2017-05-18 15:43:10 +02:00
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 Add includes to Report#statuses (#3655) 2017-06-09 15:07:02 +02:00
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 Improve RuboCop rules (compatibility to Code Climate) (#3636) 2017-06-08 13:24:28 +02:00
status.rb Fix #4149, fix #1199 - Store emojis as unicode (#4189) 2017-07-14 19:47:53 +02:00
stream_entry.rb Cover AccountsController more in spec (#3229) 2017-05-23 02:53:01 +02:00
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