Exemplo n.º 1
0
# published by the Free Software Foundation; either version 3 of the
# License, or (at your option) any later version.
#
# Indico is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Indico; if not, see <http://www.gnu.org/licenses/>.

from MaKaC.webinterface.rh import conferenceModif, trackModif
from indico.web.flask.blueprints.event.management import event_mgmt

# Tracks
event_mgmt.add_url_rule('/program/', 'confModifProgram',
                        conferenceModif.RHConfModifProgram)
event_mgmt.add_url_rule('/program/tracks/add',
                        'confModifProgram-addTrack',
                        conferenceModif.RHConfAddTrack,
                        methods=('GET', 'POST'))
event_mgmt.add_url_rule('/program/tracks/add/save',
                        'confModifProgram-performAddTrack',
                        conferenceModif.RHConfPerformAddTrack,
                        methods=('POST', ))
event_mgmt.add_url_rule('/program/tracks/delete',
                        'confModifProgram-deleteTracks',
                        conferenceModif.RHConfDelTracks,
                        methods=('POST', ))

# View/edit track
event_mgmt.add_url_rule('/program/tracks/<trackId>/', 'trackModification',
Exemplo n.º 2
0
# -*- coding: utf-8 -*-
##
##
## This file is part of Indico.
## Copyright (C) 2002 - 2014 European Organization for Nuclear Research (CERN).
##
## Indico is free software; you can redistribute it and/or
## modify it under the terms of the GNU General Public License as
## published by the Free Software Foundation; either version 3 of the
## License, or (at your option) any later version.
##
## Indico is distributed in the hope that it will be useful, but
## WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
## General Public License for more details.
##
## You should have received a copy of the GNU General Public License
## along with Indico. If not, see <http://www.gnu.org/licenses/>.

from indico.web.handlers import eTicketModif
from indico.web.flask.blueprints.event.management import event_mgmt

event_mgmt.add_url_rule('/registration/eticket/', 'confModifETicket',
                        eTicketModif.RHETicketModif)
Exemplo n.º 3
0
#
# Indico is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Indico; if not, see <http://www.gnu.org/licenses/>.

from indico.web.flask.blueprints.event.management import event_mgmt
from indico.web.flask.util import redirect_view
from MaKaC.webinterface.rh import conferenceModif


# Tools
event_mgmt.add_url_rule('/tools/', 'confModifTools', redirect_view('event_mgmt.confModifTools-badgePrinting'))

# Tools: Clone
event_mgmt.add_url_rule('/clone', 'confModifTools-clone', conferenceModif.RHConfClone)
event_mgmt.add_url_rule('/clone', 'confModifTools-performCloning', conferenceModif.RHConfPerformCloning,
                        methods=('POST',))

# Tools: Posters
event_mgmt.add_url_rule('/tools/posters/', 'confModifTools-posterPrinting', conferenceModif.RHConfPosterPrinting,
                        methods=('GET', 'POST'))
event_mgmt.add_url_rule('/tools/posters/poster.pdf', 'confModifTools-posterPrintingPDF',
                        conferenceModif.RHConfPosterPrintingPDF, methods=('POST',))
event_mgmt.add_url_rule('/tools/posters/design', 'confModifTools-posterDesign', conferenceModif.RHConfPosterDesign,
                        methods=('GET', 'POST'))
event_mgmt.add_url_rule('/tools/posters/background', 'confModifTools-posterGetBackground',
                        conferenceModif.RHConfPosterGetBackground, methods=('GET', 'POST'))
Exemplo n.º 4
0
# License, or (at your option) any later version.
#
# Indico is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Indico; if not, see <http://www.gnu.org/licenses/>.

from MaKaC.webinterface.rh import conferenceModif, trackModif
from indico.web.flask.blueprints.event.management import event_mgmt


# Tracks
event_mgmt.add_url_rule('/program/', 'confModifProgram', conferenceModif.RHConfModifProgram)
event_mgmt.add_url_rule('/program/tracks/add', 'confModifProgram-addTrack', conferenceModif.RHConfAddTrack,
                        methods=('GET', 'POST'))
event_mgmt.add_url_rule('/program/tracks/add/save', 'confModifProgram-performAddTrack',
                        conferenceModif.RHConfPerformAddTrack, methods=('POST',))
event_mgmt.add_url_rule('/program/tracks/delete', 'confModifProgram-deleteTracks', conferenceModif.RHConfDelTracks,
                        methods=('POST',))

# View/edit track
event_mgmt.add_url_rule('/program/tracks/<trackId>/', 'trackModification', trackModif.RHTrackModification)
event_mgmt.add_url_rule('/program/tracks/<trackId>/down', 'confModifProgram-moveTrackDown',
                        conferenceModif.RHProgramTrackDown)
event_mgmt.add_url_rule('/program/tracks/<trackId>/up', 'confModifProgram-moveTrackUp',
                        conferenceModif.RHProgramTrackUp)
event_mgmt.add_url_rule('/program/tracks/<trackId>/modify', 'trackModification-modify',
                        trackModif.RHTrackDataModification, methods=('GET', 'POST'))
Exemplo n.º 5
0
## License, or (at your option) any later version.
##
## Indico is distributed in the hope that it will be useful, but
## WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
## General Public License for more details.
##
## You should have received a copy of the GNU General Public License
## along with Indico. If not, see <http://www.gnu.org/licenses/>.

from MaKaC.webinterface.rh import conferenceModif, fileAccess
from indico.web.flask.blueprints.event.management import event_mgmt


# Tools
event_mgmt.add_url_rule("/tools/", "confModifTools", conferenceModif.RHConfModifTools)

# Tools: Alarms
event_mgmt.add_url_rule("/tools/alarms/", "confModifTools-displayAlarm", conferenceModif.RHConfDisplayAlarm)
event_mgmt.add_url_rule(
    "/tools/alarms/add", "confModifTools-addAlarm", conferenceModif.RHConfAddAlarm, methods=("GET", "POST")
)
event_mgmt.add_url_rule(
    "/tools/alarms/add/save", "confModifTools-saveAlarm", conferenceModif.RHConfSaveAlarm, methods=("POST",)
)
event_mgmt.add_url_rule(
    "/tools/alarms/add/trigger", "confModifTools-sendAlarmNow", conferenceModif.RHConfSendAlarmNow, methods=("POST",)
)
event_mgmt.add_url_rule("/tools/alarms/<alarmId>/", "confModifTools-modifyAlarm", conferenceModif.RHConfModifyAlarm)
event_mgmt.add_url_rule(
    "/tools/alarms/<alarmId>/", "confModifTools-modifySaveAlarm", conferenceModif.RHConfSaveAlarm, methods=("POST",)
Exemplo n.º 6
0
# Indico is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Indico; if not, see <http://www.gnu.org/licenses/>.

from MaKaC.webinterface.rh import sessionModif
from MaKaC.webinterface.rh import conferenceModif
from indico.web.flask.blueprints.event.management import event_mgmt


# Main

event_mgmt.add_url_rule('/sessions', 'conferenceSessions-query', conferenceModif.RConferenceGetSessions,
                        methods=('GET',))

event_mgmt.add_url_rule('/session/<sessionId>/', 'sessionModification', sessionModif.RHSessionModification)
event_mgmt.add_url_rule('/session/<sessionId>/modify', 'sessionModification-modify',
                        sessionModif.RHSessionDataModification, methods=('GET', 'POST'))

# Contributions
event_mgmt.add_url_rule('/session/<sessionId>/contributions/', 'sessionModification-contribList',
                        sessionModif.RHContribList, methods=('GET', 'POST'))
event_mgmt.add_url_rule('/session/<sessionId>/contributions/direct-access', 'sessionModification-contribQuickAccess',
                        sessionModif.RHContribQuickAccess, methods=('GET', 'POST'))
event_mgmt.add_url_rule('/session/<sessionId>/contributions/add', 'sessionModification-addContribs',
                        sessionModif.RHAddContribs, methods=('GET', 'POST'))
event_mgmt.add_url_rule('/session/<sessionId>/contributions/perform-action', 'sessionModification-contribAction',
                        sessionModif.RHContribsActions, methods=('POST',))
event_mgmt.add_url_rule('/session/<sessionId>/contributions/contributions.pdf', 'sessionModification-contribsToPDF',
Exemplo n.º 7
0
# Copyright (C) 2002 - 2016 European Organization for Nuclear Research (CERN).
#
# Indico is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License as
# published by the Free Software Foundation; either version 3 of the
# License, or (at your option) any later version.
#
# Indico is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Indico; if not, see <http://www.gnu.org/licenses/>.

from MaKaC.webinterface.rh import conferenceModif
from indico.web.flask.blueprints.event.management import event_mgmt

# Management entrance (redirects to most appropriate page)
event_mgmt.add_url_rule('/', 'conferenceModification-managementAccess',
                        conferenceModif.RHConferenceModifManagementAccess)

# Modification key
event_mgmt.add_url_rule('/modificationkey/logout',
                        'conferenceModification-closeModifKey',
                        conferenceModif.RHConferenceCloseModifKey)
event_mgmt.add_url_rule('/modificationkey',
                        'conferenceModification-modifKey',
                        conferenceModif.RHConferenceModifKey,
                        methods=('GET', 'POST'))
Exemplo n.º 8
0
Arquivo: misc.py Projeto: Ictp/indico
# -*- coding: utf-8 -*-
##
##
## This file is part of Indico.
## Copyright (C) 2002 - 2014 European Organization for Nuclear Research (CERN).
##
## Indico is free software; you can redistribute it and/or
## modify it under the terms of the GNU General Public License as
## published by the Free Software Foundation; either version 3 of the
## License, or (at your option) any later version.
##
## Indico is distributed in the hope that it will be useful, but
## WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
## General Public License for more details.
##
## You should have received a copy of the GNU General Public License
## along with Indico. If not, see <http://www.gnu.org/licenses/>.

from MaKaC.webinterface.rh import conferenceModif
from indico.web.flask.blueprints.event.management import event_mgmt


# Logs
event_mgmt.add_url_rule('/logs', 'confModifLog', conferenceModif.RHConfModifLog)

# Material
event_mgmt.add_url_rule('/material', 'conferenceModification-materialsShow', conferenceModif.RHMaterialsShow)
event_mgmt.add_url_rule('/material/add', 'conferenceModification-materialsAdd', conferenceModif.RHMaterialsAdd,
                        methods=('POST',))
Exemplo n.º 9
0
##
## Indico is free software; you can redistribute it and/or
## modify it under the terms of the GNU General Public License as
## published by the Free Software Foundation; either version 3 of the
## License, or (at your option) any later version.
##
## Indico is distributed in the hope that it will be useful, but
## WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
## General Public License for more details.
##
## You should have received a copy of the GNU General Public License
## along with Indico. If not, see <http://www.gnu.org/licenses/>.

from MaKaC.webinterface.rh import conferenceModif
from indico.web.flask.blueprints.event.management import event_mgmt


# Protection
event_mgmt.add_url_rule('/access/', 'confModifAC', conferenceModif.RHConfModifAC)
event_mgmt.add_url_rule('/access/visibility', 'confModifAC-setVisibility', conferenceModif.RHConfSetVisibility,
                        methods=('POST',))
event_mgmt.add_url_rule('/access/session-coordinators', 'confModifAC-modifySessionCoordRights',
                        conferenceModif.RHModifSessionCoordRights)
event_mgmt.add_url_rule('/access/grant/modification/conveners', 'confModifAC-grantModificationToAllConveners',
                        conferenceModif.RHConfGrantModificationToAllConveners, methods=('POST',))
event_mgmt.add_url_rule('/access/grant/submission/speakers', 'confModifAC-grantSubmissionToAllSpeakers',
                        conferenceModif.RHConfGrantSubmissionToAllSpeakers, methods=('POST',))
event_mgmt.add_url_rule('/access/revoke/submission', 'confModifAC-removeAllSubmissionRights',
                        conferenceModif.RHConfRemoveAllSubmissionRights, methods=('POST',))
Exemplo n.º 10
0
## modify it under the terms of the GNU General Public License as
## published by the Free Software Foundation; either version 3 of the
## License, or (at your option) any later version.
##
## Indico is distributed in the hope that it will be useful, but
## WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
## General Public License for more details.
##
## You should have received a copy of the GNU General Public License
## along with Indico. If not, see <http://www.gnu.org/licenses/>.

from MaKaC.webinterface.rh import ePaymentModif
from indico.web.flask.blueprints.event.management import event_mgmt


# General settings
event_mgmt.add_url_rule('/registration/payment/', 'confModifEpayment', ePaymentModif.RHEPaymentModif)
event_mgmt.add_url_rule('/registration/payment/modify', 'confModifEpayment-dataModif',
                        ePaymentModif.RHEPaymentModifDataModification, methods=('GET', 'POST'))
event_mgmt.add_url_rule('/registration/payment/modify/save', 'confModifEpayment-performDataModif',
                        ePaymentModif.RHEPaymentModifPerformDataModification, methods=('POST',))
event_mgmt.add_url_rule('/registration/payment/toggle', 'confModifEpayment-changeStatus',
                        ePaymentModif.RHEPaymentModifChangeStatus, methods=('POST',))

# Modules
event_mgmt.add_url_rule('/registration/payment/modules/<EPaymentName>/<requestTag>', 'confModifEpayment-modifModule',
                        ePaymentModif.RHModifModule, methods=('GET', 'POST'))
event_mgmt.add_url_rule('/registration/payment/toggle/<epayment>', 'confModifEpayment-enableSection',
                        ePaymentModif.RHEPaymentModifEnableSection, methods=('GET', 'POST'))
Exemplo n.º 11
0
#
# Indico is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Indico; if not, see <http://www.gnu.org/licenses/>.

from MaKaC.webinterface.rh import registrationFormModif, registrantsModif
from MaKaC.webinterface.rh.registration_stats import RHRegistrationStats
from indico.web.flask.blueprints.event.management import event_mgmt


# Setup
event_mgmt.add_url_rule('/registration/setup/', 'confModifRegistrationForm',
                        registrationFormModif.RHRegistrationFormModif)
event_mgmt.add_url_rule('/registration/setup/change-status', 'confModifRegistrationForm-changeStatus',
                        registrationFormModif.RHRegistrationFormModifChangeStatus, methods=('POST',))
event_mgmt.add_url_rule('/registration/setup/modify', 'confModifRegistrationForm-dataModif',
                        registrationFormModif.RHRegistrationFormModifDataModification, methods=('GET', 'POST'))
event_mgmt.add_url_rule('/registration/setup/modify/save', 'confModifRegistrationForm-performDataModif',
                        registrationFormModif.RHRegistrationFormModifPerformDataModification, methods=('POST',))

# Setup - statuses
event_mgmt.add_url_rule('/registration/setup/statuses/perform-action', 'confModifRegistrationForm-actionStatuses',
                        registrationFormModif.RHRegistrationFormActionStatuses, methods=('GET', 'POST'))
event_mgmt.add_url_rule('/registration/setup/statuses/<statusId>/modify', 'confModifRegistrationForm-modifStatus',
                        registrationFormModif.RHRegistrationFormStatusModif)
event_mgmt.add_url_rule('/registration/setup/statuses/<statusId>/modify',
                        'confModifRegistrationForm-performModifStatus',
                        registrationFormModif.RHRegistrationFormModifStatusPerformModif, methods=('POST',))
Exemplo n.º 12
0
# modify it under the terms of the GNU General Public License as
# published by the Free Software Foundation; either version 3 of the
# License, or (at your option) any later version.
#
# Indico is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Indico; if not, see <http://www.gnu.org/licenses/>.

from MaKaC.webinterface.rh import conferenceModif
from indico.web.flask.blueprints.event.management import event_mgmt

# General settings
event_mgmt.add_url_rule('/general/', 'conferenceModification',
                        conferenceModif.RHConferenceModification)
event_mgmt.add_url_rule('/general/screendates',
                        'conferenceModification-screenDates',
                        conferenceModif.RHConfScreenDatesEdit,
                        methods=('GET', 'POST'))
event_mgmt.add_url_rule('/general/data',
                        'conferenceModification-data',
                        conferenceModif.RHConfDataModif,
                        methods=('GET', 'POST'))
event_mgmt.add_url_rule('/general/data/save',
                        'conferenceModification-dataPerform',
                        conferenceModif.RHConfPerformDataModif,
                        methods=('POST', ))
Exemplo n.º 13
0
# This file is part of Indico.
# Copyright (C) 2002 - 2016 European Organization for Nuclear Research (CERN).
#
# Indico is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License as
# published by the Free Software Foundation; either version 3 of the
# License, or (at your option) any later version.
#
# Indico is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Indico; if not, see <http://www.gnu.org/licenses/>.

from MaKaC.webinterface.rh import conferenceModif
from indico.web.flask.blueprints.event.management import event_mgmt


# General settings
event_mgmt.add_url_rule('/general/', 'conferenceModification', conferenceModif.RHConferenceModification)
event_mgmt.add_url_rule('/general/screendates', 'conferenceModification-screenDates',
                        conferenceModif.RHConfScreenDatesEdit, methods=('GET', 'POST'))
event_mgmt.add_url_rule('/general/data', 'conferenceModification-data', conferenceModif.RHConfDataModif,
                        methods=('GET', 'POST'))
event_mgmt.add_url_rule('/general/data/save', 'conferenceModification-dataPerform',
                        conferenceModif.RHConfPerformDataModif, methods=('POST',))
Exemplo n.º 14
0
# published by the Free Software Foundation; either version 3 of the
# License, or (at your option) any later version.
#
# Indico is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Indico; if not, see <http://www.gnu.org/licenses/>.

from MaKaC.webinterface.rh import conferenceModif
from indico.web.flask.blueprints.event.management import event_mgmt

# General settings
event_mgmt.add_url_rule('/general/', 'conferenceModification',
                        conferenceModif.RHConferenceModification)
event_mgmt.add_url_rule('/general/screendates',
                        'conferenceModification-screenDates',
                        conferenceModif.RHConfScreenDatesEdit,
                        methods=('GET', 'POST'))
event_mgmt.add_url_rule('/general/data',
                        'conferenceModification-data',
                        conferenceModif.RHConfDataModif,
                        methods=('GET', 'POST'))
event_mgmt.add_url_rule('/general/data/save',
                        'conferenceModification-dataPerform',
                        conferenceModif.RHConfPerformDataModif,
                        methods=('POST', ))

# Contribution types
event_mgmt.add_url_rule('/contribution-types/add',
Exemplo n.º 15
0
## License, or (at your option) any later version.
##
## Indico is distributed in the hope that it will be useful, but
## WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
## General Public License for more details.
##
## You should have received a copy of the GNU General Public License
## along with Indico. If not, see <http://www.gnu.org/licenses/>.

from MaKaC.webinterface.rh import evaluationModif
from indico.web.flask.util import redirect_view
from indico.web.flask.blueprints.event.management import event_mgmt

# Setup
event_mgmt.add_url_rule('/evaluation/', 'confModifEvaluation',
                        redirect_view('.confModifEvaluation-setup'))
event_mgmt.add_url_rule('/evaluation/setup/', 'confModifEvaluation-setup',
                        evaluationModif.RHEvaluationSetup)
event_mgmt.add_url_rule('/evaluation/setup/change-status',
                        'confModifEvaluation-changeStatus',
                        evaluationModif.RHEvaluationSetupChangeStatus,
                        methods=('POST', ))
event_mgmt.add_url_rule('/evaluation/setup/modify',
                        'confModifEvaluation-dataModif',
                        evaluationModif.RHEvaluationSetupDataModif,
                        methods=('GET', 'POST'))
event_mgmt.add_url_rule('/evaluation/setup/modify/save',
                        'confModifEvaluation-performDataModif',
                        evaluationModif.RHEvaluationSetupPerformDataModif,
                        methods=('POST', ))
event_mgmt.add_url_rule('/evaluation/setup/special-action',
Exemplo n.º 16
0
Arquivo: lists.py Projeto: Ictp/indico
## License, or (at your option) any later version.
##
## Indico is distributed in the hope that it will be useful, but
## WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
## General Public License for more details.
##
## You should have received a copy of the GNU General Public License
## along with Indico. If not, see <http://www.gnu.org/licenses/>.

from MaKaC.webinterface.rh import conferenceModif
from indico.web.flask.blueprints.event.management import event_mgmt


# Speakers
event_mgmt.add_url_rule('/lists/speakers', 'confModifListings-allSpeakers', conferenceModif.RHConfAllSpeakers)
event_mgmt.add_url_rule('/lists/speakers', 'confModifListings-allSpeakersAction',
                        conferenceModif.RHConfAllSpeakersAction, methods=('POST',))
event_mgmt.add_url_rule('/lists/speakers/email/send', 'EMail-sendcontribparticipants',
                        conferenceModif.RHContribParticipantsSendEmail, methods=('POST',))

# Conveners
event_mgmt.add_url_rule('/lists/conveners', 'confModifTools-allSessionsConveners',
                        conferenceModif.RHConfAllSessionsConveners)
event_mgmt.add_url_rule('/lists/conveners', 'confModifTools-allSessionsConvenersAction',
                        conferenceModif.RHConfAllSessionsConvenersAction, methods=('POST',))
event_mgmt.add_url_rule('/lists/conveners/email/send', 'EMail-sendconvener', conferenceModif.RHConvenerSendEmail,
                        methods=('POST',))

# Pending
event_mgmt.add_url_rule('/lists/pending/', 'confModifPendingQueues', conferenceModif.RHConfModifPendingQueues)
Exemplo n.º 17
0
# License, or (at your option) any later version.
#
# Indico is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Indico; if not, see <http://www.gnu.org/licenses/>.

from MaKaC.webinterface.rh import conferenceModif, contribMod, subContribMod
from indico.web.flask.blueprints.event.management import event_mgmt


# Contribution list
event_mgmt.add_url_rule('/contributions/', 'confModifContribList', conferenceModif.RHContributionList,
                        methods=('GET', 'POST'))
event_mgmt.add_url_rule('/contributions/direct-access', 'confModifContribList-contribQuickAccess',
                        conferenceModif.RHContribQuickAccess, methods=('GET', 'POST'))
event_mgmt.add_url_rule('/contributions/perform-action', 'confModifContribList-contribsActions',
                        conferenceModif.RHContribsActions, methods=('POST',))
event_mgmt.add_url_rule('/contributions/pdf', 'confModifContribList-contribsToPDFMenu',
                        conferenceModif.RHContribsToPDFMenu, methods=('GET', 'POST'))
event_mgmt.add_url_rule('/contributions/moveToSession', 'confModifContribList-moveToSession',
                        conferenceModif.RHMoveContribsToSession, methods=('GET', 'POST'))
event_mgmt.add_url_rule('/contributions/participants', 'confModifContribList-participantList',
                        conferenceModif.RHContribsParticipantList, methods=('GET', 'POST'))

with event_mgmt.add_prefixed_rules('/session/<sessionId>'):
    # Main
    event_mgmt.add_url_rule('/contribution/<contribId>/', 'contributionModification',
                            contribMod.RHContributionModification)
Exemplo n.º 18
0
# License, or (at your option) any later version.
#
# Indico is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Indico; if not, see <http://www.gnu.org/licenses/>.

from MaKaC.webinterface.rh import conferenceModif
from indico.web.flask.blueprints.event.management import event_mgmt


# General settings
event_mgmt.add_url_rule("/general/", "conferenceModification", conferenceModif.RHConferenceModification)
event_mgmt.add_url_rule(
    "/general/screendates",
    "conferenceModification-screenDates",
    conferenceModif.RHConfScreenDatesEdit,
    methods=("GET", "POST"),
)
event_mgmt.add_url_rule(
    "/general/data", "conferenceModification-data", conferenceModif.RHConfDataModif, methods=("GET", "POST")
)
event_mgmt.add_url_rule(
    "/general/data/save",
    "conferenceModification-dataPerform",
    conferenceModif.RHConfPerformDataModif,
    methods=("POST",),
)
Exemplo n.º 19
0
Arquivo: tools.py Projeto: NIIF/indico
# License, or (at your option) any later version.
#
# Indico is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Indico; if not, see <http://www.gnu.org/licenses/>.

from MaKaC.webinterface.rh import conferenceModif, fileAccess
from indico.web.flask.blueprints.event.management import event_mgmt


# Tools
event_mgmt.add_url_rule('/tools/', 'confModifTools', conferenceModif.RHConfModifTools)

# Tools: Alarms
event_mgmt.add_url_rule('/tools/alarms/', 'confModifTools-displayAlarm', conferenceModif.RHConfDisplayAlarm)
event_mgmt.add_url_rule('/tools/alarms/add', 'confModifTools-addAlarm', conferenceModif.RHConfAddAlarm,
                        methods=('GET', 'POST'))
event_mgmt.add_url_rule('/tools/alarms/add/save', 'confModifTools-saveAlarm', conferenceModif.RHConfSaveAlarm,
                        methods=('POST',))
event_mgmt.add_url_rule('/tools/alarms/add/trigger', 'confModifTools-sendAlarmNow', conferenceModif.RHConfSendAlarmNow,
                        methods=('POST',))
event_mgmt.add_url_rule('/tools/alarms/<alarmId>/', 'confModifTools-modifyAlarm', conferenceModif.RHConfModifyAlarm)
event_mgmt.add_url_rule('/tools/alarms/<alarmId>/', 'confModifTools-modifySaveAlarm', conferenceModif.RHConfSaveAlarm,
                        methods=('POST',))
event_mgmt.add_url_rule('/tools/alarms/<alarmId>/delete', 'confModifTools-deleteAlarm',
                        conferenceModif.RHConfDeleteAlarm)
event_mgmt.add_url_rule('/tools/alarms/<alarmId>/trigger', 'confModifTools-sendAlarmNow',
Exemplo n.º 20
0
# -*- coding: utf-8 -*-
##
##
## This file is part of Indico.
## Copyright (C) 2002 - 2014 European Organization for Nuclear Research (CERN).
##
## Indico is free software; you can redistribute it and/or
## modify it under the terms of the GNU General Public License as
## published by the Free Software Foundation; either version 3 of the
## License, or (at your option) any later version.
##
## Indico is distributed in the hope that it will be useful, but
## WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
## General Public License for more details.
##
## You should have received a copy of the GNU General Public License
## along with Indico. If not, see <http://www.gnu.org/licenses/>.

from indico.web.handlers import eTicketModif
from indico.web.flask.blueprints.event.management import event_mgmt


event_mgmt.add_url_rule('/registration/eticket/', 'confModifETicket',
                        eTicketModif.RHETicketModif)
Exemplo n.º 21
0
## published by the Free Software Foundation; either version 3 of the
## License, or (at your option) any later version.
##
## Indico is distributed in the hope that it will be useful, but
## WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
## General Public License for more details.
##
## You should have received a copy of the GNU General Public License
## along with Indico. If not, see <http://www.gnu.org/licenses/>.

from MaKaC.webinterface.rh import conferenceModif
from indico.web.flask.blueprints.event.management import event_mgmt

# Speakers
event_mgmt.add_url_rule('/lists/speakers', 'confModifListings-allSpeakers',
                        conferenceModif.RHConfAllSpeakers)
event_mgmt.add_url_rule('/lists/speakers',
                        'confModifListings-allSpeakersAction',
                        conferenceModif.RHConfAllSpeakersAction,
                        methods=('POST', ))
event_mgmt.add_url_rule('/lists/speakers/email/send',
                        'EMail-sendcontribparticipants',
                        conferenceModif.RHContribParticipantsSendEmail,
                        methods=('POST', ))

# Conveners
event_mgmt.add_url_rule('/lists/conveners',
                        'confModifTools-allSessionsConveners',
                        conferenceModif.RHConfAllSessionsConveners)
event_mgmt.add_url_rule('/lists/conveners',
                        'confModifTools-allSessionsConvenersAction',
Exemplo n.º 22
0
# This file is part of Indico.
# Copyright (C) 2002 - 2016 European Organization for Nuclear Research (CERN).
#
# Indico is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License as
# published by the Free Software Foundation; either version 3 of the
# License, or (at your option) any later version.
#
# Indico is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Indico; if not, see <http://www.gnu.org/licenses/>.

from MaKaC.webinterface.rh import conferenceModif
from indico.web.flask.blueprints.event.management import event_mgmt


# Management entrance (redirects to most appropriate page)
event_mgmt.add_url_rule('/', 'conferenceModification-managementAccess',
                        conferenceModif.RHConferenceModifManagementAccess)

# Modification key
event_mgmt.add_url_rule('/modificationkey/logout', 'conferenceModification-closeModifKey',
                        conferenceModif.RHConferenceCloseModifKey)
event_mgmt.add_url_rule('/modificationkey', 'conferenceModification-modifKey', conferenceModif.RHConferenceModifKey,
                        methods=('GET', 'POST'))
Exemplo n.º 23
0
##
## Indico is free software; you can redistribute it and/or
## modify it under the terms of the GNU General Public License as
## published by the Free Software Foundation; either version 3 of the
## License, or (at your option) any later version.
##
## Indico is distributed in the hope that it will be useful, but
## WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
## General Public License for more details.
##
## You should have received a copy of the GNU General Public License
## along with Indico. If not, see <http://www.gnu.org/licenses/>.

from MaKaC.webinterface.rh import conferenceModif
from indico.web.flask.blueprints.event.management import event_mgmt


# Management entrance (redirects to most appropriate page)
event_mgmt.add_url_rule(
    "/", "conferenceModification-managementAccess", conferenceModif.RHConferenceModifManagementAccess
)

# Modification key
event_mgmt.add_url_rule(
    "/modificationkey/logout", "conferenceModification-closeModifKey", conferenceModif.RHConferenceCloseModifKey
)
event_mgmt.add_url_rule(
    "/modificationkey", "conferenceModification-modifKey", conferenceModif.RHConferenceModifKey, methods=("GET", "POST")
)
Exemplo n.º 24
0
# License, or (at your option) any later version.
#
# Indico is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Indico; if not, see <http://www.gnu.org/licenses/>.

from MaKaC.webinterface.rh import conferenceModif
from indico.web.flask.blueprints.event.management import event_mgmt


# Speakers
event_mgmt.add_url_rule("/lists/speakers", "confModifListings-allSpeakers", conferenceModif.RHConfAllSpeakers)
event_mgmt.add_url_rule(
    "/lists/speakers", "confModifListings-allSpeakersAction", conferenceModif.RHConfAllSpeakersAction, methods=("POST",)
)
event_mgmt.add_url_rule(
    "/lists/speakers/email/send",
    "EMail-sendcontribparticipants",
    conferenceModif.RHContribParticipantsSendEmail,
    methods=("POST",),
)

# Conveners
event_mgmt.add_url_rule(
    "/lists/conveners", "confModifTools-allSessionsConveners", conferenceModif.RHConfAllSessionsConveners
)
event_mgmt.add_url_rule(
Exemplo n.º 25
0
## published by the Free Software Foundation; either version 3 of the
## License, or (at your option) any later version.
##
## Indico is distributed in the hope that it will be useful, but
## WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
## General Public License for more details.
##
## You should have received a copy of the GNU General Public License
## along with Indico. If not, see <http://www.gnu.org/licenses/>.

from MaKaC.webinterface.rh import ePaymentModif
from indico.web.flask.blueprints.event.management import event_mgmt

# General settings
event_mgmt.add_url_rule('/registration/payment/', 'confModifEpayment',
                        ePaymentModif.RHEPaymentModif)
event_mgmt.add_url_rule('/registration/payment/modify',
                        'confModifEpayment-dataModif',
                        ePaymentModif.RHEPaymentModifDataModification,
                        methods=('GET', 'POST'))
event_mgmt.add_url_rule('/registration/payment/modify/save',
                        'confModifEpayment-performDataModif',
                        ePaymentModif.RHEPaymentModifPerformDataModification,
                        methods=('POST', ))
event_mgmt.add_url_rule('/registration/payment/toggle',
                        'confModifEpayment-changeStatus',
                        ePaymentModif.RHEPaymentModifChangeStatus,
                        methods=('POST', ))

# Modules
event_mgmt.add_url_rule(
Exemplo n.º 26
0
Arquivo: rooms.py Projeto: Ictp/indico
## License, or (at your option) any later version.
##
## Indico is distributed in the hope that it will be useful, but
## WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
## General Public License for more details.
##
## You should have received a copy of the GNU General Public License
## along with Indico. If not, see <http://www.gnu.org/licenses/>.

from MaKaC.webinterface.rh import conferenceModif
from indico.web.flask.blueprints.event.management import event_mgmt


# Booking and event assignment list
event_mgmt.add_url_rule('/rooms/', 'conferenceModification-roomBookingList', conferenceModif.RHConfModifRoomBookingList)
event_mgmt.add_url_rule('/rooms/book/select-event', 'conferenceModification-roomBookingChooseEvent',
                        conferenceModif.RHConfModifRoomBookingChooseEvent)

# View/modify booking
event_mgmt.add_url_rule('/rooms/booking/<roomLocation>/<resvID>/', 'conferenceModification-roomBookingDetails',
                        conferenceModif.RHConfModifRoomBookingDetails)
event_mgmt.add_url_rule('/rooms/booking/<roomLocation>/<resvID>/modify',
                        'conferenceModification-roomBookingModifyBookingForm',
                        conferenceModif.RHConfModifRoomBookingBookingForm, methods=('GET', 'POST'))
event_mgmt.add_url_rule('/rooms/booking/<roomLocation>/<resvID>/clone',
                        'conferenceModification-roomBookingCloneBooking',
                        conferenceModif.RHConfModifRoomBookingCloneBooking, methods=('GET', 'POST'))

# Book room
event_mgmt.add_url_rule('/rooms/book/search', 'conferenceModification-roomBookingSearch4Rooms',
Exemplo n.º 27
0
## License, or (at your option) any later version.
##
## Indico is distributed in the hope that it will be useful, but
## WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
## General Public License for more details.
##
## You should have received a copy of the GNU General Public License
## along with Indico. If not, see <http://www.gnu.org/licenses/>.

from MaKaC.webinterface.rh import abstractModif, abstractReviewing, conferenceModif
from indico.web.flask.blueprints.event.management import event_mgmt


# Setup
event_mgmt.add_url_rule('/call-for-abstracts/setup/', 'confModifCFA', conferenceModif.RHConfModifCFA)
event_mgmt.add_url_rule('/call-for-abstracts/setup/toggle', 'confModifCFA-changeStatus',
                        conferenceModif.RHConfModifCFAStatus, methods=('POST',))
event_mgmt.add_url_rule('/call-for-abstracts/setup/modify', 'confModifCFA-modifyData',
                        conferenceModif.RHCFADataModification, methods=('GET', 'POST'))
event_mgmt.add_url_rule('/call-for-abstracts/setup/modify/save', 'confModifCFA-performModifyData',
                        conferenceModif.RHCFAPerformDataModification, methods=('POST',))

# Setup: fields
event_mgmt.add_url_rule('/call-for-abstracts/setup/fields/<fieldId>/toggle', 'confModifCFA-abstractFields',
                        conferenceModif.RHConfAbstractFields)
event_mgmt.add_url_rule('/call-for-abstracts/setup/fields/<fieldId>/down', 'confModifCFA-absFieldDown',
                        conferenceModif.RHConfMoveAbsFieldDown)
event_mgmt.add_url_rule('/call-for-abstracts/setup/fields/<fieldId>/up', 'confModifCFA-absFieldUp',
                        conferenceModif.RHConfMoveAbsFieldUp, methods=('GET', 'POST'))
event_mgmt.add_url_rule('/call-for-abstracts/setup/fields/remove', 'confModifCFA-removeAbstractField',
Exemplo n.º 28
0
#
# Indico is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Indico; if not, see <http://www.gnu.org/licenses/>.

from indico.web.flask.blueprints.event.management import event_mgmt
from indico.web.flask.util import redirect_view
from MaKaC.webinterface.rh import conferenceModif


# Tools
event_mgmt.add_url_rule('/tools/', 'confModifTools', redirect_view('event_reminders.list'))

# Tools: Clone
event_mgmt.add_url_rule('/tools/clone', 'confModifTools-clone', conferenceModif.RHConfClone)
event_mgmt.add_url_rule('/tools/clone', 'confModifTools-performCloning', conferenceModif.RHConfPerformCloning,
                        methods=('POST',))

# Tools: Delete
event_mgmt.add_url_rule('/tools/delete', 'confModifTools-delete', conferenceModif.RHConfDeletion,
                        methods=('GET', 'POST'))

# Tools: Lock
event_mgmt.add_url_rule('/tools/lock', 'conferenceModification-close', conferenceModif.RHConferenceClose,
                        methods=('GET', 'POST'))
event_mgmt.add_url_rule('/tools/unlock', 'conferenceModification-open', conferenceModif.RHConferenceOpen,
                        methods=('GET', 'POST'))
Exemplo n.º 29
0
# License, or (at your option) any later version.
#
# Indico is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Indico; if not, see <http://www.gnu.org/licenses/>.

from MaKaC.webinterface.rh import reviewingControlModif, reviewingModif, reviewingUserCompetencesModif, \
    reviewingAssignContributions, reviewingListContribToJudge, contribReviewingModif
from indico.web.flask.blueprints.event.management import event_mgmt

# Entrance (redirects to most appropriate page)
event_mgmt.add_url_rule('/paper-reviewing/', 'confModifReviewing-access',
                        reviewingModif.RHConfModifReviewingAccess)

# Setup
event_mgmt.add_url_rule('/paper-reviewing/setup/',
                        'confModifReviewing-paperSetup',
                        reviewingModif.RHConfModifReviewingPaperSetup)
event_mgmt.add_url_rule(
    '/paper-reviewing/setup/templates/<reviewingTemplateId>',
    'confModifReviewing-downloadTemplate', reviewingModif.RHDownloadTemplate)
event_mgmt.add_url_rule('/paper-reviewing/setup/templates/upload',
                        'confModifReviewing-setTemplate',
                        reviewingModif.RHSetTemplate,
                        methods=('POST', ))

# Team
event_mgmt.add_url_rule('/paper-reviewing/team', 'confModifReviewingControl',
Exemplo n.º 30
0
# License, or (at your option) any later version.
#
# Indico is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Indico; if not, see <http://www.gnu.org/licenses/>.

from MaKaC.webinterface.rh import abstractModif, abstractReviewing, conferenceModif
from indico.web.flask.blueprints.event.management import event_mgmt


# Setup
event_mgmt.add_url_rule("/call-for-abstracts/setup/", "confModifCFA", conferenceModif.RHConfModifCFA)
event_mgmt.add_url_rule(
    "/call-for-abstracts/setup/toggle",
    "confModifCFA-changeStatus",
    conferenceModif.RHConfModifCFAStatus,
    methods=("POST",),
)
event_mgmt.add_url_rule(
    "/call-for-abstracts/setup/modify",
    "confModifCFA-modifyData",
    conferenceModif.RHCFADataModification,
    methods=("GET", "POST"),
)
event_mgmt.add_url_rule(
    "/call-for-abstracts/setup/modify/save",
    "confModifCFA-performModifyData",
Exemplo n.º 31
0
## published by the Free Software Foundation; either version 3 of the
## License, or (at your option) any later version.
##
## Indico is distributed in the hope that it will be useful, but
## WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
## General Public License for more details.
##
## You should have received a copy of the GNU General Public License
## along with Indico. If not, see <http://www.gnu.org/licenses/>.

from MaKaC.webinterface.rh import registrationFormModif, registrantsModif
from indico.web.flask.blueprints.event.management import event_mgmt

# Setup
event_mgmt.add_url_rule('/registration/setup/', 'confModifRegistrationForm',
                        registrationFormModif.RHRegistrationFormModif)
event_mgmt.add_url_rule(
    '/registration/setup/change-status',
    'confModifRegistrationForm-changeStatus',
    registrationFormModif.RHRegistrationFormModifChangeStatus,
    methods=('POST', ))
event_mgmt.add_url_rule(
    '/registration/setup/modify',
    'confModifRegistrationForm-dataModif',
    registrationFormModif.RHRegistrationFormModifDataModification,
    methods=('GET', 'POST'))
event_mgmt.add_url_rule(
    '/registration/setup/modify/save',
    'confModifRegistrationForm-performDataModif',
    registrationFormModif.RHRegistrationFormModifPerformDataModification,
    methods=('POST', ))
Exemplo n.º 32
0
## License, or (at your option) any later version.
##
## Indico is distributed in the hope that it will be useful, but
## WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
## General Public License for more details.
##
## You should have received a copy of the GNU General Public License
## along with Indico. If not, see <http://www.gnu.org/licenses/>.

from MaKaC.webinterface.rh import conferenceModif
from indico.web.flask.blueprints.event.management import event_mgmt


# Setup
event_mgmt.add_url_rule('/participants/setup', 'confModifParticipants-setup',
                        conferenceModif.RHConfModifParticipantsSetup)

# Participants
event_mgmt.add_url_rule('/participants/', 'confModifParticipants', conferenceModif.RHConfModifParticipants)
event_mgmt.add_url_rule('/participants/pending', 'confModifParticipants-pendingParticipants',
                        conferenceModif.RHConfModifParticipantsPending)
event_mgmt.add_url_rule('/participants/declined', 'confModifParticipants-declinedParticipants',
                        conferenceModif.RHConfModifParticipantsDeclined)
event_mgmt.add_url_rule('/participants/perform-action', 'confModifParticipants-action',
                        conferenceModif.RHConfModifParticipantsAction, methods=('POST',))

# Statistics
event_mgmt.add_url_rule('/participants/statistics', 'confModifParticipants-statistics',
                        conferenceModif.RHConfModifParticipantsStatistics)
Exemplo n.º 33
0
# published by the Free Software Foundation; either version 3 of the
# License, or (at your option) any later version.
#
# Indico is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Indico; if not, see <http://www.gnu.org/licenses/>.

from MaKaC.webinterface.rh import conferenceModif
from indico.web.flask.blueprints.event.management import event_mgmt

# Protection
event_mgmt.add_url_rule('/access/', 'confModifAC',
                        conferenceModif.RHConfModifAC)
event_mgmt.add_url_rule('/access/visibility',
                        'confModifAC-setVisibility',
                        conferenceModif.RHConfSetVisibility,
                        methods=('POST', ))
event_mgmt.add_url_rule('/access/session-coordinators',
                        'confModifAC-modifySessionCoordRights',
                        conferenceModif.RHModifSessionCoordRights)
event_mgmt.add_url_rule('/access/grant/modification/conveners',
                        'confModifAC-grantModificationToAllConveners',
                        conferenceModif.RHConfGrantModificationToAllConveners,
                        methods=('POST', ))
event_mgmt.add_url_rule('/access/grant/submission/speakers',
                        'confModifAC-grantSubmissionToAllSpeakers',
                        conferenceModif.RHConfGrantSubmissionToAllSpeakers,
                        methods=('POST', ))
Exemplo n.º 34
0
## You should have received a copy of the GNU General Public License
## along with Indico. If not, see <http://www.gnu.org/licenses/>.

from indico.modules.rb.controllers.user.event import (
    RHRoomBookingEventBookingList, RHRoomBookingEventBookingDetails,
    RHRoomBookingEventBookingModifyBooking,
    RHRoomBookingEventBookingCloneBooking, RHRoomBookingEventRoomDetails,
    RHRoomBookingEventNewBookingSimple, RHRoomBookingEventChooseEvent,
    RHRoomBookingEventNewBooking, RHRoomBookingEventAcceptBooking,
    RHRoomBookingEventRejectBooking, RHRoomBookingEventCancelBooking,
    RHRoomBookingEventCancelBookingOccurrence,
    RHRoomBookingEventRejectBookingOccurrence)
from indico.web.flask.blueprints.event.management import event_mgmt

# Booking and event assignment list
event_mgmt.add_url_rule('/rooms/', 'rooms_booking_list',
                        RHRoomBookingEventBookingList)
event_mgmt.add_url_rule('/rooms/choose-event', 'rooms_choose_event',
                        RHRoomBookingEventChooseEvent)

# View/modify booking
event_mgmt.add_url_rule('/rooms/booking/<roomLocation>/<int:resvID>/',
                        'rooms_booking_details',
                        RHRoomBookingEventBookingDetails)
event_mgmt.add_url_rule('/rooms/booking/<roomLocation>/<int:resvID>/modify',
                        'rooms_booking_modify',
                        RHRoomBookingEventBookingModifyBooking,
                        methods=('GET', 'POST'))
event_mgmt.add_url_rule('/rooms/booking/<roomLocation>/<int:resvID>/clone',
                        'rooms_booking_clone',
                        RHRoomBookingEventBookingCloneBooking,
                        methods=('GET', 'POST'))
Exemplo n.º 35
0
Arquivo: rooms.py Projeto: NIIF/indico
# along with Indico; if not, see <http://www.gnu.org/licenses/>.

from indico.modules.rb.controllers.user.event import (RHRoomBookingEventBookingList, RHRoomBookingEventBookingDetails,
                                                      RHRoomBookingEventBookingModifyBooking,
                                                      RHRoomBookingEventBookingCloneBooking,
                                                      RHRoomBookingEventRoomDetails, RHRoomBookingEventNewBookingSimple,
                                                      RHRoomBookingEventChooseEvent, RHRoomBookingEventNewBooking,
                                                      RHRoomBookingEventAcceptBooking, RHRoomBookingEventRejectBooking,
                                                      RHRoomBookingEventCancelBooking,
                                                      RHRoomBookingEventCancelBookingOccurrence,
                                                      RHRoomBookingEventRejectBookingOccurrence)
from indico.web.flask.blueprints.event.management import event_mgmt


# Booking and event assignment list
event_mgmt.add_url_rule('/rooms/', 'rooms_booking_list', RHRoomBookingEventBookingList)
event_mgmt.add_url_rule('/rooms/choose-event', 'rooms_choose_event', RHRoomBookingEventChooseEvent)

# View/modify booking
event_mgmt.add_url_rule('/rooms/booking/<roomLocation>/<int:resvID>/', 'rooms_booking_details',
                        RHRoomBookingEventBookingDetails)
event_mgmt.add_url_rule('/rooms/booking/<roomLocation>/<int:resvID>/modify', 'rooms_booking_modify',
                        RHRoomBookingEventBookingModifyBooking, methods=('GET', 'POST'))
event_mgmt.add_url_rule('/rooms/booking/<roomLocation>/<int:resvID>/clone', 'rooms_booking_clone',
                        RHRoomBookingEventBookingCloneBooking, methods=('GET', 'POST'))
event_mgmt.add_url_rule('/rooms/booking/<roomLocation>/<int:resvID>/accept', 'rooms_booking_accept',
                        RHRoomBookingEventAcceptBooking, methods=('POST',))
event_mgmt.add_url_rule('/rooms/booking/<roomLocation>/<int:resvID>/cancel', 'rooms_booking_cancel',
                        RHRoomBookingEventCancelBooking, methods=('POST',))
event_mgmt.add_url_rule('/rooms/booking/<roomLocation>/<int:resvID>/reject', 'rooms_booking_reject',
                        RHRoomBookingEventRejectBooking, methods=('POST',))
Exemplo n.º 36
0
# License, or (at your option) any later version.
#
# Indico is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Indico; if not, see <http://www.gnu.org/licenses/>.

from MaKaC.webinterface.rh import conferenceModif
from indico.web.flask.blueprints.event.management import event_mgmt


# Layout: Layout/style customization
event_mgmt.add_url_rule('/layout/style/', 'confModifDisplay', conferenceModif.RHConfModifDisplayCustomization)
event_mgmt.add_url_rule('/layout/style/', 'confModifDisplay-custom', conferenceModif.RHConfModifDisplayCustomization)
event_mgmt.add_url_rule('/layout/style/css/preview', 'confModifDisplay-previewCSS',
                        conferenceModif.RHConfModifPreviewCSS, methods=('GET', 'POST'))
event_mgmt.add_url_rule('/layout/style/css/remove', 'confModifDisplay-removeCSS', conferenceModif.RHConfRemoveCSS)
event_mgmt.add_url_rule('/layout/style/css/upload', 'confModifDisplay-saveCSS', conferenceModif.RHConfSaveCSS,
                        methods=('GET', 'POST'))
event_mgmt.add_url_rule('/layout/style/css/select', 'confModifDisplay-useCSS', conferenceModif.RHConfUseCSS,
                        methods=('POST',))
event_mgmt.add_url_rule('/layout/style/colors/title-bg', 'confModifDisplay-formatTitleBgColor',
                        conferenceModif.RHConfModifFormatTitleBgColor, methods=('POST',))
event_mgmt.add_url_rule('/layout/style/colors/title-text', 'confModifDisplay-formatTitleTextColor',
                        conferenceModif.RHConfModifFormatTitleTextColor, methods=('POST',))
event_mgmt.add_url_rule('/layout/style/logo/remove', 'confModifDisplay-removeLogo', conferenceModif.RHConfRemoveLogo,
                        methods=('POST',))
event_mgmt.add_url_rule('/layout/style/logo/upload', 'confModifDisplay-saveLogo', conferenceModif.RHConfSaveLogo,
Exemplo n.º 37
0
#
# Indico is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Indico; if not, see <http://www.gnu.org/licenses/>.

from indico.web.flask.blueprints.event.management import event_mgmt
from indico.web.flask.util import redirect_view
from MaKaC.webinterface.rh import conferenceModif

# Tools
event_mgmt.add_url_rule(
    '/tools/', 'confModifTools',
    redirect_view('event_mgmt.confModifTools-badgePrinting'))

# Tools: Clone
event_mgmt.add_url_rule('/clone', 'confModifTools-clone',
                        conferenceModif.RHConfClone)
event_mgmt.add_url_rule('/clone',
                        'confModifTools-performCloning',
                        conferenceModif.RHConfPerformCloning,
                        methods=('POST', ))

# Tools: Posters
event_mgmt.add_url_rule('/tools/posters/',
                        'confModifTools-posterPrinting',
                        conferenceModif.RHConfPosterPrinting,
                        methods=('GET', 'POST'))
Exemplo n.º 38
0
# License, or (at your option) any later version.
#
# Indico is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Indico; if not, see <http://www.gnu.org/licenses/>.

from MaKaC.webinterface.rh import conferenceModif, contribMod, subContribMod
from indico.web.flask.blueprints.event.management import event_mgmt

# Contribution list
event_mgmt.add_url_rule('/contributions/',
                        'confModifContribList',
                        conferenceModif.RHContributionList,
                        methods=('GET', 'POST'))
event_mgmt.add_url_rule('/contributions/direct-access',
                        'confModifContribList-contribQuickAccess',
                        conferenceModif.RHContribQuickAccess,
                        methods=('GET', 'POST'))
event_mgmt.add_url_rule('/contributions/perform-action',
                        'confModifContribList-contribsActions',
                        conferenceModif.RHContribsActions,
                        methods=('POST', ))
event_mgmt.add_url_rule('/contributions/pdf',
                        'confModifContribList-contribsToPDFMenu',
                        conferenceModif.RHContribsToPDFMenu,
                        methods=('GET', 'POST'))
event_mgmt.add_url_rule('/contributions/moveToSession',
                        'confModifContribList-moveToSession',
Exemplo n.º 39
0
# published by the Free Software Foundation; either version 3 of the
# License, or (at your option) any later version.
#
# Indico is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Indico; if not, see <http://www.gnu.org/licenses/>.

from MaKaC.webinterface.rh import conferenceModif
from indico.web.flask.blueprints.event.management import event_mgmt

# Setup
event_mgmt.add_url_rule('/participants/setup', 'confModifParticipants-setup',
                        conferenceModif.RHConfModifParticipantsSetup)

# Participants
event_mgmt.add_url_rule('/participants/', 'confModifParticipants',
                        conferenceModif.RHConfModifParticipants)
event_mgmt.add_url_rule('/participants/pending',
                        'confModifParticipants-pendingParticipants',
                        conferenceModif.RHConfModifParticipantsPending)
event_mgmt.add_url_rule('/participants/declined',
                        'confModifParticipants-declinedParticipants',
                        conferenceModif.RHConfModifParticipantsDeclined)
event_mgmt.add_url_rule('/participants/perform-action',
                        'confModifParticipants-action',
                        conferenceModif.RHConfModifParticipantsAction,
                        methods=('POST', ))
Exemplo n.º 40
0
##
## Indico is distributed in the hope that it will be useful, but
## WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
## General Public License for more details.
##
## You should have received a copy of the GNU General Public License
## along with Indico. If not, see <http://www.gnu.org/licenses/>.

from MaKaC.webinterface.rh import reviewingControlModif, reviewingModif, reviewingUserCompetencesModif, \
    reviewingAssignContributions, reviewingListContribToJudge, contribReviewingModif
from indico.web.flask.blueprints.event.management import event_mgmt


# Entrance (redirects to most appropriate page)
event_mgmt.add_url_rule('/paper-reviewing/', 'confModifReviewing-access', reviewingModif.RHConfModifReviewingAccess)

# Setup
event_mgmt.add_url_rule('/paper-reviewing/setup/', 'confModifReviewing-paperSetup',
                        reviewingModif.RHConfModifReviewingPaperSetup)
event_mgmt.add_url_rule('/paper-reviewing/setup/templates/<reviewingTemplateId>', 'confModifReviewing-downloadTemplate',
                        reviewingModif.RHDownloadTemplate)
event_mgmt.add_url_rule('/paper-reviewing/setup/templates/upload', 'confModifReviewing-setTemplate',
                        reviewingModif.RHSetTemplate, methods=('POST',))

# Team
event_mgmt.add_url_rule('/paper-reviewing/team', 'confModifReviewingControl',
                        reviewingControlModif.RHConfModifReviewingControl)

# Competences
event_mgmt.add_url_rule('/paper-reviewing/competences/', 'confModifUserCompetences',
Exemplo n.º 41
0
# published by the Free Software Foundation; either version 3 of the
# License, or (at your option) any later version.
#
# Indico is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Indico; if not, see <http://www.gnu.org/licenses/>.

from MaKaC.webinterface.rh import conferenceModif, fileAccess
from indico.web.flask.blueprints.event.management import event_mgmt

# Tools
event_mgmt.add_url_rule('/tools/', 'confModifTools',
                        conferenceModif.RHConfModifTools)

# Tools: Alarms
event_mgmt.add_url_rule('/tools/alarms/', 'confModifTools-displayAlarm',
                        conferenceModif.RHConfDisplayAlarm)
event_mgmt.add_url_rule('/tools/alarms/add',
                        'confModifTools-addAlarm',
                        conferenceModif.RHConfAddAlarm,
                        methods=('GET', 'POST'))
event_mgmt.add_url_rule('/tools/alarms/add/save',
                        'confModifTools-saveAlarm',
                        conferenceModif.RHConfSaveAlarm,
                        methods=('POST', ))
event_mgmt.add_url_rule('/tools/alarms/add/trigger',
                        'confModifTools-sendAlarmNow',
                        conferenceModif.RHConfSendAlarmNow,
Exemplo n.º 42
0
# License, or (at your option) any later version.
#
# Indico is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Indico; if not, see <http://www.gnu.org/licenses/>.

from MaKaC.webinterface.rh import abstractModif, abstractReviewing, conferenceModif
from indico.web.flask.blueprints.event.management import event_mgmt


# Setup
event_mgmt.add_url_rule('/call-for-abstracts/setup/', 'confModifCFA', conferenceModif.RHConfModifCFA)
event_mgmt.add_url_rule('/call-for-abstracts/setup/toggle', 'confModifCFA-changeStatus',
                        conferenceModif.RHConfModifCFAStatus, methods=('POST',))
event_mgmt.add_url_rule('/call-for-abstracts/setup/modify', 'confModifCFA-modifyData',
                        conferenceModif.RHCFADataModification, methods=('GET', 'POST'))
event_mgmt.add_url_rule('/call-for-abstracts/setup/modify/save', 'confModifCFA-performModifyData',
                        conferenceModif.RHCFAPerformDataModification, methods=('POST',))

# Setup: fields
event_mgmt.add_url_rule('/call-for-abstracts/setup/fields/<fieldId>/toggle', 'confModifCFA-abstractFields',
                        conferenceModif.RHConfAbstractFields)
event_mgmt.add_url_rule('/call-for-abstracts/setup/fields/<fieldId>/down', 'confModifCFA-absFieldDown',
                        conferenceModif.RHConfMoveAbsFieldDown)
event_mgmt.add_url_rule('/call-for-abstracts/setup/fields/<fieldId>/up', 'confModifCFA-absFieldUp',
                        conferenceModif.RHConfMoveAbsFieldUp, methods=('GET', 'POST'))
event_mgmt.add_url_rule('/call-for-abstracts/setup/fields/remove', 'confModifCFA-removeAbstractField',
Exemplo n.º 43
0
# This file is part of Indico.
# Copyright (C) 2002 - 2015 European Organization for Nuclear Research (CERN).
#
# Indico is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License as
# published by the Free Software Foundation; either version 3 of the
# License, or (at your option) any later version.
#
# Indico is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Indico; if not, see <http://www.gnu.org/licenses/>.

from MaKaC.webinterface.rh import conferenceModif
from indico.web.flask.blueprints.event.management import event_mgmt


# Timetable
event_mgmt.add_url_rule('/timetable/', 'confModifSchedule', conferenceModif.RHConfModifSchedule,
                        methods=('GET', 'POST'))
event_mgmt.add_url_rule('/timetable/reschedule', 'confModifSchedule-reschedule', conferenceModif.RHReschedule,
                        methods=('POST',))
event_mgmt.add_url_rule('/timetable/dates', 'confModifSchedule-edit', conferenceModif.RHScheduleDataEdit,
                        methods=('GET', 'POST'))

# Session timetable - see the "sessions" module
Exemplo n.º 44
0
# This file is part of Indico.
# Copyright (C) 2002 - 2015 European Organization for Nuclear Research (CERN).
#
# Indico is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License as
# published by the Free Software Foundation; either version 3 of the
# License, or (at your option) any later version.
#
# Indico is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Indico; if not, see <http://www.gnu.org/licenses/>.

from MaKaC.webinterface.rh import conferenceModif
from indico.web.flask.blueprints.event.management import event_mgmt

# Logs
event_mgmt.add_url_rule('/logs', 'confModifLog',
                        conferenceModif.RHConfModifLog)

# Material
event_mgmt.add_url_rule('/material', 'conferenceModification-materialsShow',
                        conferenceModif.RHMaterialsShow)
event_mgmt.add_url_rule('/material/add',
                        'conferenceModification-materialsAdd',
                        conferenceModif.RHMaterialsAdd,
                        methods=('POST', ))
Exemplo n.º 45
0
# This file is part of Indico.
# Copyright (C) 2002 - 2017 European Organization for Nuclear Research (CERN).
#
# Indico is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License as
# published by the Free Software Foundation; either version 3 of the
# License, or (at your option) any later version.
#
# Indico is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Indico; if not, see <http://www.gnu.org/licenses/>.

from MaKaC.webinterface.rh import conferenceModif
from indico.web.flask.blueprints.event.management import event_mgmt


# Management entrance (redirects to most appropriate page)
event_mgmt.add_url_rule('/', 'conferenceModification-managementAccess',
                        conferenceModif.RHConferenceModifManagementAccess)
Exemplo n.º 46
0
# License, or (at your option) any later version.
#
# Indico is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Indico; if not, see <http://www.gnu.org/licenses/>.

from MaKaC.webinterface.rh import conferenceModif
from indico.web.flask.blueprints.event.management import event_mgmt


# General settings
event_mgmt.add_url_rule('/general/', 'conferenceModification', conferenceModif.RHConferenceModification)
event_mgmt.add_url_rule('/general/screendates', 'conferenceModification-screenDates',
                        conferenceModif.RHConfScreenDatesEdit, methods=('GET', 'POST'))
event_mgmt.add_url_rule('/general/data', 'conferenceModification-data', conferenceModif.RHConfDataModif,
                        methods=('GET', 'POST'))
event_mgmt.add_url_rule('/general/data/save', 'conferenceModification-dataPerform',
                        conferenceModif.RHConfPerformDataModif, methods=('POST',))

# Contribution types
event_mgmt.add_url_rule('/contribution-types/add', 'conferenceModification-addContribType',
                        conferenceModif.RHConfAddContribType, methods=('GET', 'POST'))
event_mgmt.add_url_rule('/contribution-types/delete', 'conferenceModification-removeContribType',
                        conferenceModif.RHConfRemoveContribType, methods=('POST',))
event_mgmt.add_url_rule('/contribution-types/<contribTypeId>', 'conferenceModification-editContribType',
                        conferenceModif.RHConfEditContribType, methods=('GET', 'POST'))
Exemplo n.º 47
0
##
## Indico is distributed in the hope that it will be useful, but
## WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
## General Public License for more details.
##
## You should have received a copy of the GNU General Public License
## along with Indico. If not, see <http://www.gnu.org/licenses/>.

from MaKaC.webinterface.rh import evaluationModif
from indico.web.flask.util import redirect_view
from indico.web.flask.blueprints.event.management import event_mgmt


# Setup
event_mgmt.add_url_rule('/evaluation/', 'confModifEvaluation', redirect_view('.confModifEvaluation-setup'))
event_mgmt.add_url_rule('/evaluation/setup/', 'confModifEvaluation-setup', evaluationModif.RHEvaluationSetup)
event_mgmt.add_url_rule('/evaluation/setup/change-status', 'confModifEvaluation-changeStatus',
                        evaluationModif.RHEvaluationSetupChangeStatus, methods=('POST',))
event_mgmt.add_url_rule('/evaluation/setup/modify', 'confModifEvaluation-dataModif',
                        evaluationModif.RHEvaluationSetupDataModif, methods=('GET', 'POST'))
event_mgmt.add_url_rule('/evaluation/setup/modify/save', 'confModifEvaluation-performDataModif',
                        evaluationModif.RHEvaluationSetupPerformDataModif, methods=('POST',))
event_mgmt.add_url_rule('/evaluation/setup/special-action', 'confModifEvaluation-specialAction',
                        evaluationModif.RHEvaluationSetupSpecialAction, methods=('POST',))

# Edit questions
event_mgmt.add_url_rule('/evaluation/edit', 'confModifEvaluation-edit', evaluationModif.RHEvaluationEdit)
event_mgmt.add_url_rule('/evaluation/edit', 'confModifEvaluation-editPerformChanges',
                        evaluationModif.RHEvaluationEditPerformChanges, methods=('POST',))
Exemplo n.º 48
0
# Indico is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Indico; if not, see <http://www.gnu.org/licenses/>.

from MaKaC.webinterface.rh import sessionModif
from MaKaC.webinterface.rh import conferenceModif
from indico.web.flask.blueprints.event.management import event_mgmt

# Main

event_mgmt.add_url_rule('/sessions',
                        'conferenceSessions-query',
                        conferenceModif.RConferenceGetSessions,
                        methods=('GET', ))

event_mgmt.add_url_rule('/session/<sessionId>/', 'sessionModification',
                        sessionModif.RHSessionModification)
event_mgmt.add_url_rule('/session/<sessionId>/modify',
                        'sessionModification-modify',
                        sessionModif.RHSessionDataModification,
                        methods=('GET', 'POST'))

# Contributions
event_mgmt.add_url_rule('/session/<sessionId>/contributions/',
                        'sessionModification-contribList',
                        sessionModif.RHContribList,
                        methods=('GET', 'POST'))
event_mgmt.add_url_rule('/session/<sessionId>/contributions/direct-access',
Exemplo n.º 49
0
## License, or (at your option) any later version.
##
## Indico is distributed in the hope that it will be useful, but
## WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
## General Public License for more details.
##
## You should have received a copy of the GNU General Public License
## along with Indico. If not, see <http://www.gnu.org/licenses/>.

from MaKaC.webinterface.rh import conferenceModif
from indico.web.flask.blueprints.event.management import event_mgmt


# Layout: Layout/style customization
event_mgmt.add_url_rule("/layout/style/", "confModifDisplay", conferenceModif.RHConfModifDisplayCustomization)
event_mgmt.add_url_rule("/layout/style/", "confModifDisplay-custom", conferenceModif.RHConfModifDisplayCustomization)
event_mgmt.add_url_rule(
    "/layout/style/css/preview",
    "confModifDisplay-previewCSS",
    conferenceModif.RHConfModifPreviewCSS,
    methods=("GET", "POST"),
)
event_mgmt.add_url_rule("/layout/style/css/remove", "confModifDisplay-removeCSS", conferenceModif.RHConfRemoveCSS)
event_mgmt.add_url_rule(
    "/layout/style/css/upload", "confModifDisplay-saveCSS", conferenceModif.RHConfSaveCSS, methods=("GET", "POST")
)
event_mgmt.add_url_rule(
    "/layout/style/css/select", "confModifDisplay-useCSS", conferenceModif.RHConfUseCSS, methods=("POST",)
)
event_mgmt.add_url_rule(
Exemplo n.º 50
0
# published by the Free Software Foundation; either version 3 of the
# License, or (at your option) any later version.
#
# Indico is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Indico; if not, see <http://www.gnu.org/licenses/>.

from MaKaC.webinterface.rh import conferenceModif
from indico.web.flask.blueprints.event.management import event_mgmt

# Layout: Layout/style customization
event_mgmt.add_url_rule('/layout/style/', 'confModifDisplay',
                        conferenceModif.RHConfModifDisplayCustomization)
event_mgmt.add_url_rule('/layout/style/', 'confModifDisplay-custom',
                        conferenceModif.RHConfModifDisplayCustomization)
event_mgmt.add_url_rule('/layout/style/css/preview',
                        'confModifDisplay-previewCSS',
                        conferenceModif.RHConfModifPreviewCSS,
                        methods=('GET', 'POST'))
event_mgmt.add_url_rule('/layout/style/css/remove',
                        'confModifDisplay-removeCSS',
                        conferenceModif.RHConfRemoveCSS)
event_mgmt.add_url_rule('/layout/style/css/upload',
                        'confModifDisplay-saveCSS',
                        conferenceModif.RHConfSaveCSS,
                        methods=('GET', 'POST'))
event_mgmt.add_url_rule('/layout/style/css/select',
                        'confModifDisplay-useCSS',