Mise à jour terminée. Pour connaître les apports de la version 13.8.4 par rapport à notre ancienne version vous pouvez lire les "Release Notes" suivantes :
https://about.gitlab.com/releases/2021/02/11/security-release-gitlab-13-8-4-released/
https://about.gitlab.com/releases/2021/02/05/gitlab-13-8-3-released/

tag.py 513 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12
from tag import *
from controller_utils import error_message

if request.env.http_origin:
    response.headers['Access-Control-Allow-Origin'] = request.env.http_origin  
    response.headers['Access-Control-Allow-Credentials'] = 'true'
    response.headers['Access-Control-Max-Age'] = 86400

def auto_complete():
    if "group_id" not in request.vars:
        return error_message("missing group id")

13 14
    prefix = get_tag_prefix()
    tags = get_tags(db, request.vars["group_id"])
15 16

    return tags_to_json(tags)