A Django app that handles Fax sending for FragDenStaat.de.
This app works with froide and provides the following:
- a
froide_fax.fax.FaxMessageHandlerthat can be configured to handle messages of typefax - a model that stores a signature per user
- templates that can be included for getting a signature and sending a message as a fax.
- a
fax_tagstemplate tag library that provides:- a tag
get_signature_formto render a form to get user's signature - a tag
foirequest_needs_signatureto check if an FOI request contains faxable messages and if the user should be asked to provide a signature - a tag
can_fax_messagethat checks if a given message can be faxed
- a tag
- URLs and views to:
- store user signature
- explicit trigger to fax a message
- Webhook status callback of fax API provider
- Authenticated view for PDF that should be faxed for API provider