renovate[bot]
b7663cca2d
⬆️ (dependencies) update js dependencies
2024-04-04 12:38:11 +02:00
Anthony LC
80335ffd15
🔥 (markdownPDF) remove versionning app mardownPDF
...
Remove the app mardownPDF from the versionning,
this app is not used anymore, we don't want
to maintain it.
2024-04-04 12:05:54 +02:00
Anthony LC
6de828c049
🚨 (frontend) fix CI probs
...
The CI highlighted some issues with the tests.
This commit fixes the issues.
2024-04-03 17:36:54 +02:00
Anthony LC
352d4f6d27
🔥 (app-impress) remove teams pages
...
Remove teams pages from the next router.
2024-04-03 17:36:54 +02:00
Anthony LC
3e6f20aedd
⚡ ️(frontend) clean yarn.lock
...
The yarn.lock file get full of garbage and old
dependencies after a while. This commit cleans it.
2024-04-03 17:36:54 +02:00
Anthony LC
bf19c50146
💚 (CI) add frontend jobs
...
Add the frontend jobs to the CI pipeline.
2024-04-03 17:36:54 +02:00
Anthony LC
1d3f1f793e
✅ (e2e) adapt tests to impress app
...
Adapt e2e test to works with Impress.
2024-04-03 17:36:54 +02:00
renovate[bot]
cad206cccf
⬆️ (dependencies) update django to v5.0.3 [SECURITY]
2024-04-03 13:10:09 +02:00
Anthony LC
3cd1852b93
🔧 (sops) add secrets
...
Add secrets to the repository using sops.
2024-04-03 13:07:05 +02:00
Anthony LC
d19c7f7fd8
👷 (project) rename i18n-back to i18n-crowdin
...
Rename i18n-back to i18n-crowdin.
Change the job to use the 'age' env.
2024-04-03 13:07:05 +02:00
Anthony LC
8afc003004
🐛 (docker) switch CMD form from Shell to Exec
...
`backend-development` and `backend-production` CMD syntaxes were
using a Shell Form. Shell form prevented Unix signals from reaching
our container correctly, such as SIGTERM. Also, the shell process
ends up being the PID 1, instead of our Python scripts.
Docker recommends to use the exec form whenever possible.
2024-04-03 13:07:05 +02:00
Anthony LC
23797f2953
🔧 (project) add frontend cmd to Makefile
...
add frontend cmd to Makefile.
2024-04-03 13:07:05 +02:00
Anthony LC
78bccafb93
🐛 (backend) generate po file
...
Generate the PO file.
It will create the locale folder, and so
init correctly LOCALE_PATHS env.
This should fix the CI.
2024-04-03 13:07:05 +02:00
Anthony LC
42bea9940e
🔥 (app-impress) remove addMembers feature
...
addMembers feature was a part of the People
project, we don't need it in the Impress project.
2024-04-03 11:57:36 +02:00
Anthony LC
55e2a2073d
🔥 (app-impress) remove Members feature
...
Members feature was a part of the People
project, we don't need it in the Impress project.
2024-04-03 11:57:36 +02:00
Anthony LC
1f804ad1f9
🔥 (app-impress) remove Teams feature
...
Teams feature was a part of the People
project, we don't need it in the Impress project.
2024-04-03 11:57:36 +02:00
Anthony LC
3ba388bc49
⬆️ (project) update renovate.json config
...
Update the renovate config to fit with
what we setup in People project.
2024-04-03 11:57:36 +02:00
Anthony LC
b517b0bc39
✨ (app-impress) create feature pad
...
Create a new feature pad for the app impress.
It will be used to display a pad in the app.
2024-04-03 11:57:36 +02:00
Anthony LC
1cb138ecb3
✨ (app-impress) create feature pads-create
...
Create a new feature pads-create for the app impress.
It will be used to create a pad in the app.
2024-04-03 11:57:36 +02:00
Anthony LC
1dd33706c0
✨ (app-impress) create feature pads-panel
...
Create a new feature pads-panel for the app impress.
It will be used to display the pads in the app.
2024-04-03 11:57:36 +02:00
Anthony LC
6fe5f3ef72
🚚 (app-impress) rename icon-desk.svg to icon-impress.svg
...
Rename icon-desk.svg to icon-impress.svg.
2024-04-03 11:57:36 +02:00
Anthony LC
1bf391f26f
✨ (app-impress) add layouts
...
Add layouts folder to the app-impress,
it will contain all the layouts for the app.
For the moment:
- MainLayout.tsx
- PadLayout.tsx
2024-04-03 11:57:36 +02:00
Anthony LC
dfafd335f4
🌐 (i18n) create package i18n
...
The package i18n will handle the
internationalization of the applications.
It will parse the frontend code and extract
the translations to be send to the crowdin
platform.
2024-04-02 16:39:17 +02:00
Anthony LC
3098b9f4fc
🚀 (app-impress) create the e2e app impress
...
Create the e2e app impress, it will be used
to test the app impress.
2024-04-02 16:39:17 +02:00
Anthony LC
8fda0bc9b9
🚀 (app-impress) create the base app impress
...
Create the base app impress, based on the
people app.
2024-04-02 16:39:17 +02:00
Anthony LC
c64b66c797
🚨 (frontend) add lib eslint-config-impress
...
Create the eslint-config-impress package to share
eslint configuration with all impress projects.
2024-04-02 16:39:17 +02:00
Anthony LC
c3e354d727
🚚 (frontend) move previous app to mardownPDF app
...
We will start an monorepo archi, we move the previous
app to a new folder called mardownPDF.
2024-04-02 16:39:17 +02:00
Samuel Paccoud - DINUM
ab7d9933e0
♻️ (project) rename project from "publish" to "impress"
...
The repository was renamed to "impress" but the code was still
mentionning "publish".
2024-03-08 08:53:56 +01:00
Samuel Paccoud - DINUM
f581eb8abd
✨ (models/api) add RBAC on templates linking accesses to a team name
...
We want to be able to control who can access a template via roles.
I added this feature on the TeamAccess model assuming that the teams
to which a user belongs can be retrieved via a `get_teams` method on
the user model. The idea is that this method will get the teams either
via a call to an external API or directly from the OIDC token upon
user login. This list of teams will probably have to be cached for
each user.
2024-03-07 21:21:18 +01:00
Lebaud Antoine
a23118bee4
🚨 (backend) fix minor linting issues
...
Lint backend tests and sources.
2024-03-03 08:29:00 +01:00
Lebaud Antoine
47aeab76a5
✅ (backend) test the authentication class
...
Add tests on get_or_create method.
2024-03-03 08:29:00 +01:00
Lebaud Antoine
551468470f
🐛 (project) run production image locally with docker-compose
...
The local deployment of the Production image through docker-compose was
failing due to issues in the Django configurations, influenced by Joanie.
The bug stemmed from a dependency on a development-specific package
(drf-spectacular-sidecar) while attempting to run the application in
production mode.
Changes Made:
- Introduced new Django settings for local demo environments.
2024-03-03 08:29:00 +01:00
Lebaud Antoine
36d6735798
✏️ (project) fix minor typos
...
Found typos and fixed them.
2024-03-03 08:29:00 +01:00
Lebaud Antoine
b1892ded17
✅ (backend) drop JWT authentication in API tests
...
Force login to bypass authorization checks when necessary.
Note: Generating a session cookie through OIDC flow
is not supported while testing our API.
2024-03-03 08:29:00 +01:00
Lebaud Antoine
b9eee3e643
🔧 (backend) configure Authorization Code authentication
...
Integrate 'mozilla-django-oidc' dependency, to support
Authorization Code flow, which is required by Agent Connect.
Thus, we provide a secure back channel OIDC flow, and return
to the client only a session cookie.
Done:
- Replace JWT authentication by Session based authentication in DRF
- Update Django settings to make OIDC configurations easily editable
- Add 'mozilla-django-oidc' routes to our router
- Implement a custom Django Authentication class to adapt
'mozilla-django-oidc' to our needs
'mozilla-django-oidc' routes added are:
- /authenticate
- /callback (the redirect_uri called back by the Idp)
- /logout
2024-03-03 08:29:00 +01:00
Lebaud Antoine
23e92d12fb
➕ (project) configure Keycloak server to support OIDC
...
Create a realm 'impress' and configure it to support
the authorization code flow.
2024-03-03 08:29:00 +01:00
Samuel Paccoud - DINUM
0f9327a1de
♻️ (backend) refactor post hackathon to a first working version
...
This project was copied and hacked to make a POC in a 2-day hackathon.
We need to clean and refactor things in order to get a first version
of the product we want.
2024-02-23 18:41:36 +01:00
Samuel Paccoud
0a3e26486e
Merge pull request #1 from numerique-gouv/dependabot/npm_and_yarn/src/mail/semver-5.7.2
...
Bump semver from 5.7.1 to 5.7.2 in /src/mail
2024-02-16 19:15:23 +01:00
Samuel Paccoud
ae2ba59c82
Merge pull request #3 from numerique-gouv/dependabot/pip/src/backend/django-5.0.2
...
Bump django from 5.0 to 5.0.2 in /src/backend
2024-02-16 19:14:44 +01:00
dependabot[bot]
0f0b0f0de1
Bump django from 5.0 to 5.0.2 in /src/backend
...
Bumps [django](https://github.com/django/django ) from 5.0 to 5.0.2.
- [Commits](https://github.com/django/django/compare/5.0...5.0.2 )
---
updated-dependencies:
- dependency-name: django
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-02-07 17:37:18 +00:00
Samuel Paccoud - DINUM
44ff62c08f
✨ (backend) parse YAML metadata
...
YAML header is processed, to fill Django
templates with the right parametrized values.
Used an external dependency, frontmatter.
2024-02-05 22:59:14 +01:00
Lebaud Antoine
312a680b66
✨ (frontend) set up Vite-based frontend project
...
Chose Vite for static output efficiency, aligning with project needs.
All API interactions are currently unauthenticated. SSO support
planned soon, using ProConnect.
UX is minimalistic, and showcases the core idea.
Components introduced:
* AppProvider
* Select and TextArea Rhf inputs
API hooks introduced:
* useGeneratePDF, generates a PDF, and downloads it in the client.
* useTemplates, fetches available templates to populate Select options.
2024-01-16 16:35:11 +01:00
dependabot[bot]
7eab2b61a5
Bump semver from 5.7.1 to 5.7.2 in /src/mail
...
Bumps [semver](https://github.com/npm/node-semver ) from 5.7.1 to 5.7.2.
- [Release notes](https://github.com/npm/node-semver/releases )
- [Changelog](https://github.com/npm/node-semver/blob/v5.7.2/CHANGELOG.md )
- [Commits](https://github.com/npm/node-semver/compare/v5.7.1...v5.7.2 )
---
updated-dependencies:
- dependency-name: semver
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-01-09 15:30:25 +00:00
Samuel Paccoud - DINUM
62df0524ac
✨ (project) first proof of concept printing pdf from markdown
...
This is a boilerplate inspired from https://github.com/openfun/joanie
2024-01-09 15:30:36 +01:00
Samuel Paccoud - DINUM
2d81979b0a
Initialize project
2023-12-10 16:10:06 +01:00