backend.globaleaks.handlers.wbtip

Module Contents

Classes

WBTipInstance This interface expose the Whistleblower Tip.
WBTipCommentCollection This interface expose the Whistleblower Tip Comments
WBTipMessageCollection This interface expose the Whistleblower Tip Messages
WBTipWBFileHandler
WBTipIdentityHandler This is the interface that securely allows the whistleblower to provide his identity
WBTipAdditionalQuestionnaire This is the interface that securely allows the whistleblower to fill the additional questionnaire

Functions

db_get_rfile_list(session, itip_id)
db_get_wbfile_list(session, itip_id)
db_get_wbtip(session, itip_id, language)
get_wbtip(session, itip_id, language)
serialize_wbtip(session, wbtip, itip, language)
create_comment(session, tid, wbtip_id, content)
db_get_itip_message_list(session, wbtip_id)
create_message(session, tid, wbtip_id, receiver_id, content)
update_identity_information(session, tid, tip_id, identity_field_id, wbi, language)
store_additional_questionnaire_answers(session, tid, tip_id, answers, language)
backend.globaleaks.handlers.wbtip.db_get_rfile_list(session, itip_id)[source]
backend.globaleaks.handlers.wbtip.db_get_wbfile_list(session, itip_id)[source]
backend.globaleaks.handlers.wbtip.db_get_wbtip(session, itip_id, language)[source]
backend.globaleaks.handlers.wbtip.get_wbtip(session, itip_id, language)[source]
backend.globaleaks.handlers.wbtip.serialize_wbtip(session, wbtip, itip, language)[source]
backend.globaleaks.handlers.wbtip.create_comment(session, tid, wbtip_id, content)[source]
backend.globaleaks.handlers.wbtip.db_get_itip_message_list(session, wbtip_id)[source]
backend.globaleaks.handlers.wbtip.create_message(session, tid, wbtip_id, receiver_id, content)[source]
backend.globaleaks.handlers.wbtip.update_identity_information(session, tid, tip_id, identity_field_id, wbi, language)[source]
backend.globaleaks.handlers.wbtip.store_additional_questionnaire_answers(session, tid, tip_id, answers, language)[source]
class backend.globaleaks.handlers.wbtip.WBTipInstance[source]

Bases: globaleaks.handlers.base.BaseHandler

This interface expose the Whistleblower Tip.

check_roles = whistleblower[source]
get(self)[source]
class backend.globaleaks.handlers.wbtip.WBTipCommentCollection[source]

Bases: globaleaks.handlers.base.BaseHandler

This interface expose the Whistleblower Tip Comments

check_roles = whistleblower[source]
post(self)[source]
class backend.globaleaks.handlers.wbtip.WBTipMessageCollection[source]

Bases: globaleaks.handlers.base.BaseHandler

This interface expose the Whistleblower Tip Messages

check_roles = whistleblower[source]
post(self, receiver_id)[source]
class backend.globaleaks.handlers.wbtip.WBTipWBFileHandler[source]

Bases: globaleaks.handlers.rtip.WBFileHandler

check_roles = whistleblower[source]
upload_handler = False[source]
user_can_access(self, session, tid, wbfile)[source]
access_wbfile(self, session, wbfile)[source]
class backend.globaleaks.handlers.wbtip.WBTipIdentityHandler[source]

Bases: globaleaks.handlers.base.BaseHandler

This is the interface that securely allows the whistleblower to provide his identity

check_roles = whistleblower[source]
post(self, tip_id)[source]
class backend.globaleaks.handlers.wbtip.WBTipAdditionalQuestionnaire[source]

Bases: globaleaks.handlers.base.BaseHandler

This is the interface that securely allows the whistleblower to fill the additional questionnaire

check_roles = whistleblower[source]
post(self, tip_id)[source]