1
0
forked from ScoDoc/ScoDoc

add somes routes for scodoc7 compat API

This commit is contained in:
Emmanuel Viennet 2021-09-10 21:07:28 +02:00
parent 51884bf28f
commit 245f954b05
2 changed files with 3 additions and 1 deletions

View File

@ -599,7 +599,7 @@ sco_publish("/ue_move", sco_edit_formation.ue_move, Permission.ScoChangeFormatio
@bp.route("/formsemestre_list") @bp.route("/formsemestre_list")
@scodoc @scodoc
@permission_required(Permission.ScoView) @permission_required_compat_scodoc7(Permission.ScoView)
@scodoc7func @scodoc7func
def formsemestre_list( def formsemestre_list(
format=None, format=None,

View File

@ -402,6 +402,8 @@ def search_etud_by_name():
# XMLgetEtudInfos était le nom dans l'ancienne API ScoDoc 6 # XMLgetEtudInfos était le nom dans l'ancienne API ScoDoc 6
@bp.route("/etud_info") @bp.route("/etud_info")
@bp.route("/XMLgetEtudInfos") @bp.route("/XMLgetEtudInfos")
@bp.route("/Absences/XMLgetEtudInfos") # compat with OLD clients
@bp.route("/Notes/XMLgetEtudInfos")
@scodoc @scodoc
@permission_required_compat_scodoc7(Permission.ScoView) @permission_required_compat_scodoc7(Permission.ScoView)
@scodoc7func @scodoc7func