Skip to content

Commit

Permalink
Update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
raphodn committed Jun 24, 2022
1 parent 62b3fe0 commit cc2c55b
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 14 deletions.
1 change: 0 additions & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ SECURE_SSL_REDIRECT = False # True in prod

# Github API
GITHUB_ACCESS_TOKEN = ""
GITHUB_CRON_ACTION_TOKEN = ""

# Notion.so (API)
NOTION_API_SECRET = ""
Expand Down
18 changes: 16 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,23 @@ Un suivi à jour des modifications apportées à ce projet (cf [Keep a Changelog

Voir les [Issues](https://github.com/quiz-anthropocene/know-your-planet/issues) et le Board.

## [2.3.0] - 2022-06

Interface contributeur
- Pages "liste" : afficher les filtres actifs sous forme de badge
- Déplacé les actions administrateurs sous `/admin` (déplacé l'admin Django sous `/django`)
- Upload d'image (Questions & Quizs) et stockage sur S3-like

Automatisation
- Ajouter les nouveaux contributeurs à une liste Sendinblue

Autres
- Favicon
- Quelques résolutions de bugs

## [2.2.0] - 2022-05

Interface d'administration v2
Interface contributeur (v2)
- Historisation du contenu avec `django-simple-history` (Questions, Quizs, Glossaire), page avec les dernières modifications
- Pouvoir créer du contenu privé (Questions & Quizs), qui n'est pas exporté (ni visible dans l'API et les stats), modifiable seulement par l'auteur
- Glossaire : liste des termes, voir les détails d'un terme, créer, modifier
Expand All @@ -24,7 +38,7 @@ Code Github

## [2.1.0] - 2022-04

Interface d'administration v1
Interface contributeur (v1)
- Header, Footer, Home, Breadcrumbs, pages d'erreur
- Page de connexion, réinitialisation du mot de passe
- Configuration email
Expand Down
21 changes: 10 additions & 11 deletions app/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -239,9 +239,9 @@
SERVER_EMAIL = os.getenv("TECH_EMAIL")
ADMINS = eval(os.getenv("ADMINS", "[]"))

SIB_CONTRIBUTOR_LIST_ID = os.getenv("SIB_CONTRIBUTOR_LIST_ID")
SIB_NEWSLETTER_LIST_ID = os.getenv("SIB_NEWSLETTER_LIST_ID")
SIB_NEWSLETTER_DOI_TEMPLATE_ID = os.getenv("SIB_NEWSLETTER_DOI_TEMPLATE_ID")
SIB_CONTRIBUTOR_LIST_ID = os.getenv("SIB_CONTRIBUTOR_LIST_ID", 0)
SIB_NEWSLETTER_LIST_ID = os.getenv("SIB_NEWSLETTER_LIST_ID", 0)
SIB_NEWSLETTER_DOI_TEMPLATE_ID = os.getenv("SIB_NEWSLETTER_DOI_TEMPLATE_ID", 0)
SIB_CONTACT_ENDPOINT = "https://api.sendinblue.com/v3/contacts"
SIB_CONTACT_DOI_ENDPOINT = "https://api.sendinblue.com/v3/contacts/doubleOptinConfirmation"

Expand All @@ -252,7 +252,7 @@

if not DEBUG:
sentry_sdk.init(
dsn=os.getenv("SENTRY_GLITCHTIP_DSN"),
dsn=os.getenv("SENTRY_GLITCHTIP_DSN", "https://[email protected]/0"),
integrations=[DjangoIntegration()],
auto_session_tracking=False,
traces_sample_rate=0,
Expand All @@ -262,11 +262,11 @@
# Object storage : Scaleway (S3-like)
# ------------------------------------------------------------------------------

S3_ENDPOINT = os.getenv("S3_ENDPOINT")
S3_BUCKET_NAME = os.getenv("S3_BUCKET_NAME")
S3_BUCKET_REGION = os.getenv("S3_BUCKET_REGION")
S3_ACCESS_KEY = os.getenv("S3_ACCESS_KEY")
S3_SECRET_KEY = os.getenv("S3_SECRET_KEY")
S3_ENDPOINT = os.getenv("S3_ENDPOINT", "https://set-s3-endpoint.com")
S3_BUCKET_NAME = os.getenv("S3_BUCKET_NAME", "set-s3-bucket-name")
S3_BUCKET_REGION = os.getenv("S3_BUCKET_REGION", "set-s3-bucket-region")
S3_ACCESS_KEY = os.getenv("S3_ACCESS_KEY", "set-s3-access-key")
S3_SECRET_KEY = os.getenv("S3_SECRET_KEY", "set-s3-secret-key")

QUESTION_FOLDER_NAME = "questions"
QUIZ_FOLDER_NAME = "quizs"
Expand Down Expand Up @@ -362,8 +362,7 @@

GITHUB_BACKEND_REPO = "quiz-anthropocene/admin-backend"
GITHUB_FRONTEND_REPO = "quiz-anthropocene/public-frontend"
GITHUB_ACCESS_TOKEN = os.getenv("GITHUB_ACCESS_TOKEN")
GITHUB_CRON_ACTION_TOKEN = os.getenv("GITHUB_CRON_ACTION_TOKEN")
GITHUB_ACCESS_TOKEN = os.getenv("GITHUB_ACCESS_TOKEN", "set-github-access-token")


# Notion.so
Expand Down

0 comments on commit cc2c55b

Please sign in to comment.