Compare commits

...

3 commits

Author SHA1 Message Date
selfhoster1312
57b5f1155b fix: Allow disabling email so ordering doesn't crash 2025-03-03 11:12:39 +00:00
Laetitia
19c4a0b6ed feat: update gitlab links everywhere else 2025-02-16 10:35:00 +00:00
Laetitia
9589bcf48d feat: update gitlab link to framagit 2025-02-16 10:35:00 +00:00
6 changed files with 10 additions and 6 deletions

View file

@ -6,7 +6,7 @@ started.
The first step is to clone the project, you can find more information about that in
the [getting started guide](../install.md). Once that's done, you can:
- choose a task [on the board](https://gitlab.com/la-chariotte/la_chariotte/-/boards) and assign it to
- choose a task [on the board](https://framagit.org/la-chariotte/la-chariotte/-/boards) and assign it to
yourself - if you don't know which task to do, feel free to reach to
us.
- create a new branch **from develop** naming it to reflect what you want to do

View file

@ -11,7 +11,7 @@
- **docs.chariotte.fr**, the docs you are reading now. It's handled by [readthedocs.org](https://readthedocs.org).
- **chariotte.fr**, the main instance. It's deployed on Alwaysdata
- **blog.chariotte.fr**, our blog. It's [a static website](https://gitlab.com/la-chariotte/la-chariotte.gitlab.io) deployed on Gitlab pages.
- **blog.chariotte.fr**, our blog. It's [a static website](https://framagit.org/la-chariotte/la-chariotte.frama.io) deployed on Gitlab pages.
## The main instance

View file

@ -1,7 +1,7 @@
First, clone the project
```bash
git clone git@gitlab.com:la-chariotte/la_chariotte.git
git clone https://framagit.org/la-chariotte/la-chariotte.git
```
## Virtual environment

View file

@ -22,4 +22,7 @@ def send_order_confirmation_mail(order):
from_email = settings.DEFAULT_FROM_EMAIL
to = order.author.email
mail.send_mail(subject, plain_message, from_email, [to], html_message=html_message)
if settings.EMAIL_ENABLE:
mail.send_mail(
subject, plain_message, from_email, [to], html_message=html_message
)

View file

@ -7,7 +7,7 @@ from sentry_sdk.integrations.django import DjangoIntegration
BASE_DIR = Path(__file__).resolve().parent.parent
BASE_URL = os.getenv("BASE_URL", "http://127.0.0.1:8000")
PROJECT_NAME = os.getenv("PROJECT_NAME", "La Chariotte")
GITLAB_LINK = "https://gitlab.com/la-chariotte/la_chariotte"
GITLAB_LINK = "https://framagit.org/la-chariotte/la-chariotte"
CONTACT_MAIL = "contact@chariotte.fr"
HELLOASSO_LINK = "https://www.helloasso.com/associations/la-chariotte/"
FEEDBACK_LINK = "https://framaforms.org/votre-avis-sur-la-chariotte-1709742328"
@ -174,6 +174,7 @@ if SENTRY_DSN:
)
# Email settings
EMAIL_ENABLE = True
EMAIL_BACKEND = "django.core.mail.backends.smtp.EmailBackend"
EMAIL_HOST = os.getenv("EMAIL_HOST")
EMAIL_PORT = int(os.getenv("EMAIL_PORT", "587"))

View file

@ -1,7 +1,7 @@
site_name: La chariotte
site_description: An application for grouped-orders
repo_name: la-chariotte/la_chariotte
repo_url: https://gitlab.com/la-chariotte/la_chariotte
repo_url: https://framagit.org/la-chariotte/la-chariotte
nav:
- How-tos:
- Getting started: install.md