How to use the indico.web.flask.blueprints.event.management.event_mgmt.add_url_rule function in indico

To help you get started, weโ€™ve selected a few indico examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github indico / indico / indico / web / flask / blueprints / event / management / registration.py View on Github external
registrationFormModif.RHRegistrationFormModifStatusPerformModif, methods=('POST',))

# Modification
event_mgmt.add_url_rule('/registration-old/modify', 'confModifRegistrationModification',
                        registrationFormModif.RHRegistrationModification)

# Sections
event_mgmt.add_url_rule('/registration-old/modify/sections',
                        'confModifRegistrationModificationSection-query',
                        registrationFormModif.RHRegistrationModificationSectionQuery,
                        methods=('POST',))
event_mgmt.add_url_rule('/registration-old/modify/sections/',
                        'confModifRegistrationModificationSection-delete',
                        registrationFormModif.RHRegistrationDeleteSection,
                        methods=('DELETE',))
event_mgmt.add_url_rule('/registration-old/modify/sections//enable',
                        'confModifRegistrationModificationSection-enable',
                        registrationFormModif.RHRegistrationFormSectionEnable,
                        methods=('POST',))
event_mgmt.add_url_rule('/registration-old/modify/sections//disable',
                        'confModifRegistrationModificationSection-disable',
                        registrationFormModif.RHRegistrationFormSectionDisable,
                        methods=('POST',))
event_mgmt.add_url_rule('/registration-old/modify/sections//move',
                        'confModifRegistrationModificationSection-move',
                        registrationFormModif.RHRegistrationFormSectionMove,
                        methods=('POST',))
event_mgmt.add_url_rule('/registration-old/modify/sections//title',
                        'confModifRegistrationModificationSection-title',
                        registrationFormModif.RHRegistrationFormSectionTitle,
                        methods=('POST',))
event_mgmt.add_url_rule('/registration-old/modify/sections//description',
github indico / indico / indico / web / flask / blueprints / event / management / paperreviewing.py View on Github external
event_mgmt.add_url_rule('/paper-reviewing-old/assess/reviewer/layout', 'confListContribToJudge-asEditor',
                        reviewingListContribToJudge.RHContribListToJudgeAsEditor)
event_mgmt.add_url_rule('/paper-reviewing-old/assess/reviewer/content', 'confListContribToJudge-asReviewer',
                        reviewingListContribToJudge.RHContribListToJudgeAsReviewer)

with event_mgmt.add_prefixed_rules('/session/'):
    # Contribution reviewing: team
    event_mgmt.add_url_rule('/contribution//reviewing-old/team/', 'contributionReviewing',
                            contribReviewingModif.RHContributionReviewing, methods=('GET', 'POST'))
    event_mgmt.add_url_rule('/contribution//reviewing-old/team/assign/referee',
                            'contributionReviewing-assignReferee', contribReviewingModif.RHAssignReferee,
                            methods=('POST',))
    event_mgmt.add_url_rule('/contribution//reviewing-old/team/unassign/referee',
                            'contributionReviewing-removeAssignReferee', contribReviewingModif.RHRemoveAssignReferee,
                            methods=('POST',))
    event_mgmt.add_url_rule('/contribution//reviewing-old/team/assign/reviewer/layout',
                            'contributionReviewing-assignEditing', contribReviewingModif.RHAssignEditing,
                            methods=('POST',))
    event_mgmt.add_url_rule('/contribution//reviewing-old/team/unassign/reviewer/layout',
                            'contributionReviewing-removeAssignEditing', contribReviewingModif.RHRemoveAssignEditing,
                            methods=('POST',))
    event_mgmt.add_url_rule('/contribution//reviewing-old/team/assign/reviewer/content',
                            'contributionReviewing-assignReviewing', contribReviewingModif.RHAssignReviewing,
                            methods=('POST',))
    event_mgmt.add_url_rule('/contribution//reviewing-old/team/unassign/reviewer/content',
                            'contributionReviewing-removeAssignReviewing',
                            contribReviewingModif.RHRemoveAssignReviewing, methods=('POST',))

    # Contribution reviewing: assessments
    event_mgmt.add_url_rule('/contribution//reviewing-old/assess/referee',
                            'contributionReviewing-contributionReviewingJudgements',
                            contribReviewingModif.RHContributionReviewingJudgements)
github indico / indico / indico / web / flask / blueprints / event / management / registration.py View on Github external
'confModifRegistrationModificationField-disable',
                        registrationFormModif.RHRegistrationFormFieldDisable,
                        methods=('POST',))
event_mgmt.add_url_rule('/registration-old/modify/sections//fields//move',
                        'confModifRegistrationModificationField-move',
                        registrationFormModif.RHRegistrationFormFieldMove,
                        methods=('POST',))

# Registrants
event_mgmt.add_url_rule('/registration-old/users/', 'confModifRegistrants', registrantsModif.RHRegistrantListModif,
                        methods=('GET', 'POST'))
event_mgmt.add_url_rule('/registration-old/users/perform-action', 'confModifRegistrants-action',
                        registrantsModif.RHRegistrantListModifAction, methods=('POST',))
event_mgmt.add_url_rule('/registration-old/users/email/send', 'EMail-sendreg', registrantsModif.RHRegistrantSendEmail,
                        methods=('POST',))
event_mgmt.add_url_rule('/registration-old/users/new', 'confModifRegistrants-newRegistrant',
                        registrantsModif.RHRegistrantNewForm, methods=('GET', 'POST'))
event_mgmt.add_url_rule('/registration-old/users/new/save', 'confModifRegistrants-newRegistrant-save',
                        registrantsModif.RHRegistrantNewFormSave, methods=('POST',))
event_mgmt.add_url_rule('/registration-old/users/remove', 'confModifRegistrants-remove',
                        registrantsModif.RHRegistrantListRemove, methods=('GET', 'POST'))
event_mgmt.add_url_rule('/registration-old/users//', 'confModifRegistrants-modification',
                        registrantsModif.RHRegistrantModification)
event_mgmt.add_url_rule('/registration-old/users//eticket',
                        'confModifRegistrants-modification-eticket',
                        registrantsModif.RHRegistrantModificationEticket)
event_mgmt.add_url_rule('/registration-old/users//eticket/checkin',
                        'confModifRegistrants-modification-eticket-checkin',
                        registrantsModif.RHRegistrantModificationEticketCheckIn,
                        methods=('POST',))
event_mgmt.add_url_rule('/registration-old/users//attachments/.',
                        'confModifRegistrants-getAttachedFile', registrantsModif.RHGetAttachedFile)
github indico / indico / indico / web / flask / blueprints / event / management / registration.py View on Github external
methods=('POST',))
event_mgmt.add_url_rule('/registration-old/modify/sections/furtherInformation',
                        'confModifRegistrationModificationSection-furtherInformation-config',
                        registrationFormModif.RHRegistrationFormFurtherInformationSetConfig,
                        methods=('POST',))
event_mgmt.add_url_rule('/registration-old/modify/sections/socialEvents',
                        'confModifRegistrationModificationSection-socialEvents-config',
                        registrationFormModif.RHRegistrationFormSocialEventsSetConfig,
                        methods=('POST',))
event_mgmt.add_url_rule('/registration-old/modify/sections/sessions',
                        'confModifRegistrationModificationSection-config',
                        registrationFormModif.RHRegistrationFormSessionsSetConfig,
                        methods=('POST',))

# Fields
event_mgmt.add_url_rule('/registration-old/modify/sections//fields',
                        'confModifRegistrationModificationField-create',
                        registrationFormModif.RHRegistrationFormFieldCreate,
                        methods=('POST',))
event_mgmt.add_url_rule('/registration-old/modify/sections//fields/',
                        'confModifRegistrationModificationField-modify',
                        registrationFormModif.RHRegistrationFormField,
                        methods=('POST', 'DELETE'))
event_mgmt.add_url_rule('/registration-old/modify/sections//fields//enable',
                        'confModifRegistrationModificationField-enable',
                        registrationFormModif.RHRegistrationFormFieldEnable,
                        methods=('POST',))
event_mgmt.add_url_rule('/registration-old/modify/sections//fields//disable',
                        'confModifRegistrationModificationField-disable',
                        registrationFormModif.RHRegistrationFormFieldDisable,
                        methods=('POST',))
event_mgmt.add_url_rule('/registration-old/modify/sections//fields//move',
github indico / indico / indico / web / flask / blueprints / event / management / paperreviewing.py View on Github external
event_mgmt.add_url_rule('/contribution//reviewing-old/team/assign/referee',
                            'contributionReviewing-assignReferee', contribReviewingModif.RHAssignReferee,
                            methods=('POST',))
    event_mgmt.add_url_rule('/contribution//reviewing-old/team/unassign/referee',
                            'contributionReviewing-removeAssignReferee', contribReviewingModif.RHRemoveAssignReferee,
                            methods=('POST',))
    event_mgmt.add_url_rule('/contribution//reviewing-old/team/assign/reviewer/layout',
                            'contributionReviewing-assignEditing', contribReviewingModif.RHAssignEditing,
                            methods=('POST',))
    event_mgmt.add_url_rule('/contribution//reviewing-old/team/unassign/reviewer/layout',
                            'contributionReviewing-removeAssignEditing', contribReviewingModif.RHRemoveAssignEditing,
                            methods=('POST',))
    event_mgmt.add_url_rule('/contribution//reviewing-old/team/assign/reviewer/content',
                            'contributionReviewing-assignReviewing', contribReviewingModif.RHAssignReviewing,
                            methods=('POST',))
    event_mgmt.add_url_rule('/contribution//reviewing-old/team/unassign/reviewer/content',
                            'contributionReviewing-removeAssignReviewing',
                            contribReviewingModif.RHRemoveAssignReviewing, methods=('POST',))

    # Contribution reviewing: assessments
    event_mgmt.add_url_rule('/contribution//reviewing-old/assess/referee',
                            'contributionReviewing-contributionReviewingJudgements',
                            contribReviewingModif.RHContributionReviewingJudgements)
    event_mgmt.add_url_rule('/contribution//reviewing-old/assess/layout', 'contributionEditingJudgement',
                            contribReviewingModif.RHContributionEditingJudgement)
    event_mgmt.add_url_rule('/contribution//reviewing-old/assess/content', 'contributionGiveAdvice',
                            contribReviewingModif.RHContributionGiveAdvice)
    event_mgmt.add_url_rule('/contribution//reviewing-old/history',
                            'contributionReviewing-reviewingHistory', contribReviewingModif.RHReviewingHistory)
github indico / indico / indico / web / flask / blueprints / event / management / abstracts.py View on Github external
conferenceModif.RHAbstractManagmentRejectMultiple, methods=('POST',))

# Abstract: main
event_mgmt.add_url_rule('/call-for-abstracts-old/abstracts//', 'abstractManagment',
                        abstractModif.RHAbstractManagment, methods=('GET', 'POST'))
event_mgmt.add_url_rule('/call-for-abstracts-old/abstracts//abstract.pdf',
                        'abstractManagment-abstractToPDF', abstractModif.RHAbstractToPDF)
event_mgmt.add_url_rule('/call-for-abstracts-old/abstracts//abstract.xml', 'abstractManagment-xml',
                        abstractModif.RHAbstractToXML)
event_mgmt.add_url_rule('/call-for-abstracts-old/abstracts//modify', 'abstractManagment-editData',
                        abstractModif.RHEditData, methods=('POST',))
event_mgmt.add_url_rule('/call-for-abstracts-old/abstracts//change-track', 'abstractManagment-changeTrack',
                        abstractModif.RHAbstractManagmentChangeTrack, methods=('POST',))
event_mgmt.add_url_rule('/call-for-abstracts-old/abstracts//reset-status',
                        'abstractManagment-backToSubmitted', abstractModif.RHBackToSubmitted)
event_mgmt.add_url_rule('/call-for-abstracts-old/abstracts//accept', 'abstractManagment-accept',
                        abstractModif.RHAbstractManagmentAccept, methods=('POST',))
event_mgmt.add_url_rule('/call-for-abstracts-old/abstracts//reject', 'abstractManagment-reject',
                        abstractModif.RHAbstractManagmentReject, methods=('POST',))
event_mgmt.add_url_rule('/call-for-abstracts-old/abstracts//dupe', 'abstractManagment-markAsDup',
                        abstractModif.RHMarkAsDup, methods=('POST',))
event_mgmt.add_url_rule('/call-for-abstracts-old/abstracts//dupe/undo', 'abstractManagment-unMarkAsDup',
                        abstractModif.RHUnMarkAsDup, methods=('POST',))
event_mgmt.add_url_rule('/call-for-abstracts-old/abstracts//merge', 'abstractManagment-mergeInto',
                        abstractModif.RHMergeInto, methods=('POST',))
event_mgmt.add_url_rule('/call-for-abstracts-old/abstracts//merge/undo', 'abstractManagment-unmerge',
                        abstractModif.RHUnMerge, methods=('POST',))
event_mgmt.add_url_rule('/call-for-abstracts-old/abstracts//propose/accept', 'abstractManagment-propToAcc',
                        abstractModif.RHPropToAcc, methods=('POST',))
event_mgmt.add_url_rule('/call-for-abstracts-old/abstracts//propose/reject', 'abstractManagment-propToRej',
                        abstractModif.RHPropToRej, methods=('POST',))
event_mgmt.add_url_rule('/call-for-abstracts-old/abstracts//withdraw', 'abstractManagment-withdraw',
github indico / indico / indico / web / flask / blueprints / event / management / registration.py View on Github external
'confModifRegistrationModificationSection-move',
                        registrationFormModif.RHRegistrationFormSectionMove,
                        methods=('POST',))
event_mgmt.add_url_rule('/registration-old/modify/sections//title',
                        'confModifRegistrationModificationSection-title',
                        registrationFormModif.RHRegistrationFormSectionTitle,
                        methods=('POST',))
event_mgmt.add_url_rule('/registration-old/modify/sections//description',
                        'confModifRegistrationModificationSection-description',
                        registrationFormModif.RHRegistrationFormSectionDescription,
                        methods=('POST',))
event_mgmt.add_url_rule('/registration-old/modify/sections/accommodation',
                        'confModifRegistrationModificationSection-accommodation-config',
                        registrationFormModif.RHRegistrationFormAccommodationSetConfig,
                        methods=('POST',))
event_mgmt.add_url_rule('/registration-old/modify/sections/furtherInformation',
                        'confModifRegistrationModificationSection-furtherInformation-config',
                        registrationFormModif.RHRegistrationFormFurtherInformationSetConfig,
                        methods=('POST',))
event_mgmt.add_url_rule('/registration-old/modify/sections/socialEvents',
                        'confModifRegistrationModificationSection-socialEvents-config',
                        registrationFormModif.RHRegistrationFormSocialEventsSetConfig,
                        methods=('POST',))
event_mgmt.add_url_rule('/registration-old/modify/sections/sessions',
                        'confModifRegistrationModificationSection-config',
                        registrationFormModif.RHRegistrationFormSessionsSetConfig,
                        methods=('POST',))

# Fields
event_mgmt.add_url_rule('/registration-old/modify/sections//fields',
                        'confModifRegistrationModificationField-create',
                        registrationFormModif.RHRegistrationFormFieldCreate,
github indico / indico / indico / web / flask / blueprints / event / management / registration.py View on Github external
event_mgmt.add_url_rule('/registration-old/users/new', 'confModifRegistrants-newRegistrant',
                        registrantsModif.RHRegistrantNewForm, methods=('GET', 'POST'))
event_mgmt.add_url_rule('/registration-old/users/new/save', 'confModifRegistrants-newRegistrant-save',
                        registrantsModif.RHRegistrantNewFormSave, methods=('POST',))
event_mgmt.add_url_rule('/registration-old/users/remove', 'confModifRegistrants-remove',
                        registrantsModif.RHRegistrantListRemove, methods=('GET', 'POST'))
event_mgmt.add_url_rule('/registration-old/users//', 'confModifRegistrants-modification',
                        registrantsModif.RHRegistrantModification)
event_mgmt.add_url_rule('/registration-old/users//eticket',
                        'confModifRegistrants-modification-eticket',
                        registrantsModif.RHRegistrantModificationEticket)
event_mgmt.add_url_rule('/registration-old/users//eticket/checkin',
                        'confModifRegistrants-modification-eticket-checkin',
                        registrantsModif.RHRegistrantModificationEticketCheckIn,
                        methods=('POST',))
event_mgmt.add_url_rule('/registration-old/users//attachments/.',
                        'confModifRegistrants-getAttachedFile', registrantsModif.RHGetAttachedFile)
# Misc sections and personal data
event_mgmt.add_url_rule('/registration-old/users//misc/', 'confModifRegistrants-modifyMiscInfo',
                        registrantsModif.RHRegistrantMiscInfoModify, methods=('GET', 'POST'))
event_mgmt.add_url_rule('/registration-old/users//misc//save',
                        'confModifRegistrants-performModifyMiscInfo',
                        registrantsModif.RHRegistrantMiscInfoPerformModify, methods=('POST',))
# Accommodation
event_mgmt.add_url_rule('/registration-old/users//accommodation', 'confModifRegistrants-modifyAccommodation',
                        registrantsModif.RHRegistrantAccommodationModify, methods=('GET', 'POST'))
event_mgmt.add_url_rule('/registration-old/users//accommodation/save',
                        'confModifRegistrants-performModifyAccommodation',
                        registrantsModif.RHRegistrantAccommodationPerformModify, methods=('POST',))
# Reason for participation
event_mgmt.add_url_rule('/registration-old/users//reasonParticipation',
                        'confModifRegistrants-modifyReasonParticipation',
github indico / indico / indico / web / flask / blueprints / event / management / registration.py View on Github external
event_mgmt.add_url_rule('/registration-old/setup/statuses//modify', 'confModifRegistrationForm-modifStatus',
                        registrationFormModif.RHRegistrationFormStatusModif)
event_mgmt.add_url_rule('/registration-old/setup/statuses//modify',
                        'confModifRegistrationForm-performModifStatus',
                        registrationFormModif.RHRegistrationFormModifStatusPerformModif, methods=('POST',))

# Modification
event_mgmt.add_url_rule('/registration-old/modify', 'confModifRegistrationModification',
                        registrationFormModif.RHRegistrationModification)

# Sections
event_mgmt.add_url_rule('/registration-old/modify/sections',
                        'confModifRegistrationModificationSection-query',
                        registrationFormModif.RHRegistrationModificationSectionQuery,
                        methods=('POST',))
event_mgmt.add_url_rule('/registration-old/modify/sections/',
                        'confModifRegistrationModificationSection-delete',
                        registrationFormModif.RHRegistrationDeleteSection,
                        methods=('DELETE',))
event_mgmt.add_url_rule('/registration-old/modify/sections//enable',
                        'confModifRegistrationModificationSection-enable',
                        registrationFormModif.RHRegistrationFormSectionEnable,
                        methods=('POST',))
event_mgmt.add_url_rule('/registration-old/modify/sections//disable',
                        'confModifRegistrationModificationSection-disable',
                        registrationFormModif.RHRegistrationFormSectionDisable,
                        methods=('POST',))
event_mgmt.add_url_rule('/registration-old/modify/sections//move',
                        'confModifRegistrationModificationSection-move',
                        registrationFormModif.RHRegistrationFormSectionMove,
                        methods=('POST',))
event_mgmt.add_url_rule('/registration-old/modify/sections//title',
github indico / indico / indico / web / flask / blueprints / event / management / registration.py View on Github external
'confModifRegistrationModificationSection-description',
                        registrationFormModif.RHRegistrationFormSectionDescription,
                        methods=('POST',))
event_mgmt.add_url_rule('/registration-old/modify/sections/accommodation',
                        'confModifRegistrationModificationSection-accommodation-config',
                        registrationFormModif.RHRegistrationFormAccommodationSetConfig,
                        methods=('POST',))
event_mgmt.add_url_rule('/registration-old/modify/sections/furtherInformation',
                        'confModifRegistrationModificationSection-furtherInformation-config',
                        registrationFormModif.RHRegistrationFormFurtherInformationSetConfig,
                        methods=('POST',))
event_mgmt.add_url_rule('/registration-old/modify/sections/socialEvents',
                        'confModifRegistrationModificationSection-socialEvents-config',
                        registrationFormModif.RHRegistrationFormSocialEventsSetConfig,
                        methods=('POST',))
event_mgmt.add_url_rule('/registration-old/modify/sections/sessions',
                        'confModifRegistrationModificationSection-config',
                        registrationFormModif.RHRegistrationFormSessionsSetConfig,
                        methods=('POST',))

# Fields
event_mgmt.add_url_rule('/registration-old/modify/sections//fields',
                        'confModifRegistrationModificationField-create',
                        registrationFormModif.RHRegistrationFormFieldCreate,
                        methods=('POST',))
event_mgmt.add_url_rule('/registration-old/modify/sections//fields/',
                        'confModifRegistrationModificationField-modify',
                        registrationFormModif.RHRegistrationFormField,
                        methods=('POST', 'DELETE'))
event_mgmt.add_url_rule('/registration-old/modify/sections//fields//enable',
                        'confModifRegistrationModificationField-enable',
                        registrationFormModif.RHRegistrationFormFieldEnable,