refactor: rebrand decp.info to colibre #57
- Rename project from decp.info to colibre across all codebase - Update domain from https://decp.info to https://colibre.fr - Update GitHub repo references to ColinMaudry/colibre - Rename deployment files: decpinfo-backup.* → colibre-backup.* - Update project configuration and documentation - Rename project assets: decp.info.png → colibre.png - Update environment variables and constants (DOMAIN_NAME, TOKEN_PREFIX, GITHUB_REPO, etc.) - Update URLs in all pages, tests, and configuration files - Keep DECP acronym in text (unchanged per requirements) - Add rebrand note to README.md Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
This commit is contained in:
+1
-1
@@ -5,7 +5,7 @@ from src.api import routes
|
||||
|
||||
def init_api(server) -> None:
|
||||
"""Enregistre le blueprint d'API privée sur le serveur Flask."""
|
||||
server.config.setdefault("API_TITLE", "decp.info API")
|
||||
server.config.setdefault("API_TITLE", "colibre API")
|
||||
server.config.setdefault("API_VERSION", "v1")
|
||||
server.config.setdefault("OPENAPI_VERSION", "3.0.3")
|
||||
server.config.setdefault("OPENAPI_URL_PREFIX", "/api/v1")
|
||||
|
||||
+1
-1
@@ -13,7 +13,7 @@ bp = Blueprint(
|
||||
"api_v1",
|
||||
"api_v1",
|
||||
url_prefix="/api/v1",
|
||||
description="API privée decp.info — accès tabulaire aux marchés publics.",
|
||||
description="API privée colibre — accès tabulaire aux marchés publics.",
|
||||
)
|
||||
|
||||
MAX_PAGE_SIZE = 1000
|
||||
|
||||
@@ -5,7 +5,7 @@ from contextlib import contextmanager
|
||||
from datetime import datetime, timezone
|
||||
from pathlib import Path
|
||||
|
||||
TOKEN_PREFIX = "decpinfo_"
|
||||
TOKEN_PREFIX = "colibre_"
|
||||
|
||||
SCHEMA = """
|
||||
CREATE TABLE IF NOT EXISTS api_tokens (
|
||||
|
||||
+1
-1
@@ -59,7 +59,7 @@ def enqueue_matomo_event(
|
||||
site_id = os.getenv("MATOMO_SITE_ID")
|
||||
if not url or not site_id:
|
||||
return
|
||||
full_url = f"https://decp.info{path}"
|
||||
full_url = f"https://colibre.fr{path}"
|
||||
if query_string:
|
||||
full_url += f"?{query_string}"
|
||||
params = {
|
||||
|
||||
Reference in New Issue
Block a user