Skip to content
This repository was archived by the owner on Aug 17, 2023. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# OpenPantheon: the pantheon for Education
# Copyright (C) 2021 CRI
# Copyright (C) 2022 Learning Planet Institute
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published
Expand Down
4 changes: 2 additions & 2 deletions .env
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# OpenPantheon: the pantheon for Education
# Copyright (C) 2021 CRI
# Copyright (C) 2022 Learning Planet Institute
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published
Expand All @@ -19,7 +19,7 @@ SECRET_KEY=18dad840c9f48d1a2209823b6f140eab3bd2f51a4b782c8a4d2d9a1b07df6638
FIRST_SUPERUSER=admin@open-pantheon.org
FIRST_SUPERUSER_PASSWORD=c3f358c26f4eae6c5c07f847d8e78de7854d87edbd12d2c9382ce29c1debee1d
FIRST_SUPERUSER_FIRST_NAME=Admin
FIRST_SUPERUSER_LAST_NAME=CRI
FIRST_SUPERUSER_LAST_NAME=Learning Planet Institute
SMTP_TLS=True
SMTP_PORT=587
SMTP_HOST=
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# OpenPantheon: the pantheon for Education
# Copyright (C) 2021 CRI
# Copyright (C) 2022 Learning Planet Institute
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# OpenPantheon: the pantheon for Education
# Copyright (C) 2021 CRI
# Copyright (C) 2022 Learning Planet Institute
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!--
OpenPantheon: the pantheon for Education
Copyright (C) 2021 CRI
Copyright (C) 2022 Learning Planet Institute

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!--
OpenPantheon: the pantheon for Education
Copyright (C) 2021 CRI
Copyright (C) 2022 Learning Planet Institute

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published
Expand Down Expand Up @@ -29,7 +29,7 @@ See [CONTRIBUTING.md](CONTRIBUTING.md)

# Maintainers and contributors

The code is owned by the CRI and maintained by the [CRI IT team](mailto:it-team@cri-paris.org).
The code is owned by the Learning Planet Institute and maintained by the [Learning Planet Institute IT team](mailto:it-team@learningplanetinstitute.org).

The initial work has been done by [Louinis Boudaa](https://github.com/lboudaa)

Expand Down
3 changes: 2 additions & 1 deletion SECURITY.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!--
OpenPantheon: the pantheon for Education
Copyright (C) 2021 CRI
Copyright (C) 2022 Learning Planet Institute

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published
Expand All @@ -15,6 +15,7 @@ GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
-->

# Security Policy

## Supported Versions
Expand Down
2 changes: 1 addition & 1 deletion backend/.gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# OpenPantheon: the pantheon for Education
# Copyright (C) 2021 CRI
# Copyright (C) 2022 Learning Planet Institute
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published
Expand Down
2 changes: 1 addition & 1 deletion backend/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# OpenPantheon: the pantheon for Education
# Copyright (C) 2021 CRI
# Copyright (C) 2022 Learning Planet Institute
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published
Expand Down
2 changes: 1 addition & 1 deletion backend/app/.env
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# OpenPantheon: the pantheon for Education
# Copyright (C) 2021 CRI
# Copyright (C) 2022 Learning Planet Institute
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published
Expand Down
2 changes: 1 addition & 1 deletion backend/app/.flake8
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# OpenPantheon: the pantheon for Education
# Copyright (C) 2021 CRI
# Copyright (C) 2022 Learning Planet Institute
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published
Expand Down
2 changes: 1 addition & 1 deletion backend/app/.style.yapf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# OpenPantheon: the pantheon for Education
# Copyright (C) 2021 CRI
# Copyright (C) 2022 Learning Planet Institute
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published
Expand Down
2 changes: 1 addition & 1 deletion backend/app/.yapfignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# OpenPantheon: the pantheon for Education
# Copyright (C) 2021 CRI
# Copyright (C) 2022 Learning Planet Institute
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published
Expand Down
2 changes: 1 addition & 1 deletion backend/app/alembic.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# OpenPantheon: the pantheon for Education
# Copyright (C) 2021 CRI
# Copyright (C) 2022 Learning Planet Institute
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published
Expand Down
3 changes: 2 additions & 1 deletion backend/app/alembic/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!--
OpenPantheon: the pantheon for Education
Copyright (C) 2021 CRI
Copyright (C) 2022 Learning Planet Institute

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published
Expand All @@ -15,4 +15,5 @@ GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
-->

Generic single-database configuration.
2 changes: 1 addition & 1 deletion backend/app/alembic/env.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# OpenPantheon: the pantheon for Education
# Copyright (C) 2021 CRI
# Copyright (C) 2022 Learning Planet Institute
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published
Expand Down
2 changes: 1 addition & 1 deletion backend/app/alembic/script.py.mako
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# OpenPantheon: the pantheon for Education
# Copyright (C) 2021 CRI
# Copyright (C) 2022 Learning Planet Institute
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published
Expand Down
2 changes: 1 addition & 1 deletion backend/app/alembic/versions/.keep
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
OpenPantheon: the pantheon for Education
Copyright (C) 2021 CRI
Copyright (C) 2022 Learning Planet Institute

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# OpenPantheon: the pantheon for Education
# Copyright (C) 2021 CRI
# Copyright (C) 2022 Learning Planet Institute
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# OpenPantheon: the pantheon for Education
# Copyright (C) 2021 CRI
# Copyright (C) 2022 Learning Planet Institute
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published
Expand Down
2 changes: 1 addition & 1 deletion backend/app/app/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# OpenPantheon: the pantheon for Education
# Copyright (C) 2021 CRI
# Copyright (C) 2022 Learning Planet Institute
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published
Expand Down
2 changes: 1 addition & 1 deletion backend/app/app/api/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# OpenPantheon: the pantheon for Education
# Copyright (C) 2021 CRI
# Copyright (C) 2022 Learning Planet Institute
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published
Expand Down
2 changes: 1 addition & 1 deletion backend/app/app/api/api_v1/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# OpenPantheon: the pantheon for Education
# Copyright (C) 2021 CRI
# Copyright (C) 2022 Learning Planet Institute
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published
Expand Down
2 changes: 1 addition & 1 deletion backend/app/app/api/api_v1/api.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# OpenPantheon: the pantheon for Education
# Copyright (C) 2021 CRI
# Copyright (C) 2022 Learning Planet Institute
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published
Expand Down
2 changes: 1 addition & 1 deletion backend/app/app/api/api_v1/endpoints/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# OpenPantheon: the pantheon for Education
# Copyright (C) 2021 CRI
# Copyright (C) 2022 Learning Planet Institute
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published
Expand Down
2 changes: 1 addition & 1 deletion backend/app/app/api/api_v1/endpoints/comments.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# OpenPantheon: the pantheon for Education
# Copyright (C) 2021 CRI
# Copyright (C) 2022 Learning Planet Institute
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published
Expand Down
2 changes: 1 addition & 1 deletion backend/app/app/api/api_v1/endpoints/health.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# OpenPantheon: the pantheon for Education
# Copyright (C) 2021 CRI
# Copyright (C) 2022 Learning Planet Institute
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published
Expand Down
2 changes: 1 addition & 1 deletion backend/app/app/api/api_v1/endpoints/login.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# OpenPantheon: the pantheon for Education
# Copyright (C) 2021 CRI
# Copyright (C) 2022 Learning Planet Institute
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published
Expand Down
2 changes: 1 addition & 1 deletion backend/app/app/api/api_v1/endpoints/personalities.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# OpenPantheon: the pantheon for Education
# Copyright (C) 2021 CRI
# Copyright (C) 2022 Learning Planet Institute
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published
Expand Down
2 changes: 1 addition & 1 deletion backend/app/app/api/api_v1/endpoints/users.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# OpenPantheon: the pantheon for Education
# Copyright (C) 2021 CRI
# Copyright (C) 2022 Learning Planet Institute
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published
Expand Down
2 changes: 1 addition & 1 deletion backend/app/app/api/api_v1/endpoints/utils.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# OpenPantheon: the pantheon for Education
# Copyright (C) 2021 CRI
# Copyright (C) 2022 Learning Planet Institute
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published
Expand Down
2 changes: 1 addition & 1 deletion backend/app/app/api/deps.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# OpenPantheon: the pantheon for Education
# Copyright (C) 2021 CRI
# Copyright (C) 2022 Learning Planet Institute
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published
Expand Down
2 changes: 1 addition & 1 deletion backend/app/app/backend_pre_start.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# OpenPantheon: the pantheon for Education
# Copyright (C) 2021 CRI
# Copyright (C) 2022 Learning Planet Institute
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published
Expand Down
2 changes: 1 addition & 1 deletion backend/app/app/core/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# OpenPantheon: the pantheon for Education
# Copyright (C) 2021 CRI
# Copyright (C) 2022 Learning Planet Institute
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published
Expand Down
2 changes: 1 addition & 1 deletion backend/app/app/core/config.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# OpenPantheon: the pantheon for Education
# Copyright (C) 2021 CRI
# Copyright (C) 2022 Learning Planet Institute
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published
Expand Down
2 changes: 1 addition & 1 deletion backend/app/app/core/security.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# OpenPantheon: the pantheon for Education
# Copyright (C) 2021 CRI
# Copyright (C) 2022 Learning Planet Institute
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published
Expand Down
2 changes: 1 addition & 1 deletion backend/app/app/crud/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# OpenPantheon: the pantheon for Education
# Copyright (C) 2021 CRI
# Copyright (C) 2022 Learning Planet Institute
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published
Expand Down
2 changes: 1 addition & 1 deletion backend/app/app/crud/base.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# OpenPantheon: the pantheon for Education
# Copyright (C) 2021 CRI
# Copyright (C) 2022 Learning Planet Institute
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published
Expand Down
2 changes: 1 addition & 1 deletion backend/app/app/crud/crud_comment.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# OpenPantheon: the pantheon for Education
# Copyright (C) 2021 CRI
# Copyright (C) 2022 Learning Planet Institute
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published
Expand Down
2 changes: 1 addition & 1 deletion backend/app/app/crud/crud_personality.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# OpenPantheon: the pantheon for Education
# Copyright (C) 2021 CRI
# Copyright (C) 2022 Learning Planet Institute
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published
Expand Down
2 changes: 1 addition & 1 deletion backend/app/app/crud/crud_user.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# OpenPantheon: the pantheon for Education
# Copyright (C) 2021 CRI
# Copyright (C) 2022 Learning Planet Institute
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published
Expand Down
2 changes: 1 addition & 1 deletion backend/app/app/db/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# OpenPantheon: the pantheon for Education
# Copyright (C) 2021 CRI
# Copyright (C) 2022 Learning Planet Institute
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published
Expand Down
2 changes: 1 addition & 1 deletion backend/app/app/db/base.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# OpenPantheon: the pantheon for Education
# Copyright (C) 2021 CRI
# Copyright (C) 2022 Learning Planet Institute
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published
Expand Down
2 changes: 1 addition & 1 deletion backend/app/app/db/base_class.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# OpenPantheon: the pantheon for Education
# Copyright (C) 2021 CRI
# Copyright (C) 2022 Learning Planet Institute
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published
Expand Down
2 changes: 1 addition & 1 deletion backend/app/app/db/init_db.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# OpenPantheon: the pantheon for Education
# Copyright (C) 2021 CRI
# Copyright (C) 2022 Learning Planet Institute
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published
Expand Down
2 changes: 1 addition & 1 deletion backend/app/app/db/session.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# OpenPantheon: the pantheon for Education
# Copyright (C) 2021 CRI
# Copyright (C) 2022 Learning Planet Institute
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published
Expand Down
6 changes: 4 additions & 2 deletions backend/app/app/email-templates/src/contact_email.mjml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!--
OpenPantheon: the pantheon for Education
Copyright (C) 2021 CRI
Copyright (C) 2022 Learning Planet Institute

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published
Expand All @@ -20,7 +20,9 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
<mj-section>
<mj-column>
<mj-divider border-color="#555"></mj-divider>
<mj-text font-size="20px" color="#555" font-family="helvetica">{{ text }}</mj-text>
<mj-text font-size="20px" color="#555" font-family="helvetica"
>{{ text }}</mj-text
>
<mj-text font-size="16px" color="#555">{{ email }}</mj-text>
<mj-text font-size="16px" color="#555">{{ name }}</mj-text>
</mj-column>
Expand Down
Loading