renovate[bot] and Anthony LC
44f4a37814
⬆️ (dependencies) update js dependencies
2024-06-06 16:09:07 +02:00
Anthony LC and Anthony LC
6c76f7faab
♻️ (frontend) improve html for pdf
...
Blocknote json to html is not perfect, so we need
to improve it to provide a better html for
the pdf generation.
It is the first step to improve the html,
we will continue to improve it in the future.
We have now the break line.
It is e2e tested so if blocknote change the conversion
we will know it.
2024-06-06 12:43:25 +02:00
Anthony LC and Anthony LC
201d776d1b
♻️ (frontend) doc title as title for pdf export
...
Our pdf export was named impress-document.pdf,
now it is named after the document title.
We sanitize the title by removing special characters,
replacing spaces with underscores and putting it
in lowercase.
2024-06-06 12:43:25 +02:00
Anthony LC and Anthony LC
e7f2317b41
♻️ (backend) simplify the template
...
For the first version, we will use a simple template.
Only the gouv logo will be displayed.
2024-06-06 12:43:25 +02:00
Anthony LC and Anthony LC
206c7f11ae
✅ (e2e) flaky saves the doc when we quit pages
...
Stop to check "saves the doc when we quit pages"
with webkit browser. It is flaky.
2024-06-06 12:43:25 +02:00
Anthony LC and Anthony LC
615f92ded3
💄 (frontend) change logo with the pad one
...
Change the logo with the pad one.
2024-06-06 12:43:25 +02:00
Anthony LC and Anthony LC
da3ad91283
♻️ (frontend) add api versionning per request
...
We were using the version of the api from the
.env file, but we could have different versions
of the api in the same app. So we now use the
version from the request.
2024-06-06 12:43:25 +02:00
Anthony LC and Anthony LC
197b16c5d0
✨ (frontend) add modal to delete a member
...
Add modal to delete a member.
2024-06-05 21:50:30 +02:00
Anthony LC and Anthony LC
cce0331b68
✨ (frontend) add modal to update role of a member
...
Add modal to update role of a member.
2024-06-05 21:50:30 +02:00
Anthony LC and Anthony LC
380ac0cbcf
✨ (frontend) add members grid
...
Add members grid to display all members
of a doc and their roles.
2024-06-05 21:50:30 +02:00
Anthony LC and Anthony LC
1779b7bab4
🏷️ (frontend) adapt accesses types
...
We updated the types of the accesses to
get more information about the accesses.
2024-06-05 21:50:30 +02:00
Anthony LC and Anthony LC
7b5698a370
👔 (backend) object user on DocumentAccessSerializer
...
user field was displaying the userid, but we
need to return the user object on the
DocumentAccessSerializer, so we can show the
user email on the frontend.
We add the user_id field in write_only mode, so
we can keep create and update.
2024-06-05 21:50:30 +02:00
Anthony LC and Anthony LC
f039b2aa3b
🌐 (frontend) legal pages translatable
...
Makes the legal pages translatable.
2024-06-05 10:37:02 +02:00
Anthony LC and Anthony LC
8531e0dd08
🐛 (i18n) comma in keys
...
Having a comma in the keys broke the parser.
This commit allows the comma in keys.
2024-06-05 10:37:02 +02:00
Anthony LC and Anthony LC
e2586b1d8e
🚚 (frontend) move to members/members-add
...
Move addUsers to members/members-add.
Rename some of the occurences of user to member.
2024-05-31 11:51:29 +02:00
Anthony LC and Anthony LC
327a5f2ed4
🤡 (demo) generate dummy user
...
To search users we need to have some dummy data users.
We add some dummy users when we run the `make demo`
command.
2024-05-31 11:51:29 +02:00
Anthony LC and Anthony LC
1e62320803
💚 (app-desk) add template mail for e2e
...
The tests e2e need the mail template to
send the invitation to the user.
We are now caching the mail template instead
of using a artifact, thanks to that we can
build only the mail template if the cache is
invalidated, so we save time and resources.
2024-05-31 11:51:29 +02:00
Anthony LC and Anthony LC
ff7341e544
✅ (frontend) improve some tests
...
Improve some tests to check the states depend
the user's role.
2024-05-31 11:51:29 +02:00
Anthony LC and Anthony LC
038c3d6207
🧑💻 (mail) make commands windows friendly
...
Make the commands windows friendly.
2024-05-31 11:51:29 +02:00
Anthony LC and Anthony LC
2b67d0bd26
✨ (frontend) add or invite users to a doc
...
Add or invite a user to a doc.
If the user is already in the system,
the user will be added to the doc,
otherwise, the user will be invited to the doc.
2024-05-31 11:51:29 +02:00
Anthony LC and Anthony LC
d30ac8ee4e
🐛 (CI) fix job check changelog
...
The job was everytime failing.
This commit fixes the issue.
2024-05-31 10:34:15 +02:00
Anthony LC and Anthony LC
c05b98ce0d
🔧 (helm) create ingress_ws
...
The ingress was the same for the frontend, the
backend and the websocket, but the websocket
needs to be handled differently, so we created
a new ingress specifically for the websocket.
2024-05-31 10:34:15 +02:00
Anthony LC and Anthony LC
3d594a99d5
🔨 (frontend) add room to ws signaling url
...
Add the room to the ws signaling url so that
the ingress controller can route the request
to the correct pod.
2024-05-31 10:34:15 +02:00
Anthony LC and Anthony LC
b47e60d6ec
🔧 (helm) sticky session by request_uri
...
It helps to keep the same pod for the same
request_uri, so that multiple users from the
same room are not dispatched to different pods.
2024-05-31 10:34:15 +02:00
Anthony LC and Anthony LC
f40f0d35cb
🧑💻 (tilt) sync only y-webrtc-signaling app
...
We were listening all the frontend, but we can
just listen to the y-webrtc-signaling app.
This app doesn't change often moreover.
2024-05-31 10:34:15 +02:00
Anthony LC and Anthony LC
f1227ed037
🚨 (CI) fix linter backend
...
The linter in the CI was checking only the
impress directory. We were passing near some lint
issues. Now the linter checks the whole backend
directory.
2024-05-31 10:12:28 +02:00
Anthony LC and Anthony LC
dbd4477e9a
👔 (backend) change field displayed on users endpoint
...
Change the field displayed on the users endpoint.
We need the email field to be displayed.
2024-05-31 10:12:28 +02:00
Anthony LC and Anthony LC
b4b308bda9
✨ (backend) search users
...
We need to search users by their email.
For that we will use the trigram similarity algorithm
provided by PostgreSQL. To use it we have to
activate the pg_trgm extension in postgres db.
To query the email we will use the query param
`q`.
We have another query param `document_id`, it is
necessary to exclude the users that have already
access to the document.
2024-05-31 10:12:28 +02:00
Jacques ROUSSEL and Anthony LC
2b456c231f
💚 (CI) improve changelog ci
...
Disable changelog when the label is not present
2024-05-30 16:57:45 +02:00
Jacques ROUSSEL and Anthony LC
72bb079f10
👷 (helm) preprod configuration
...
This PR adds the preprod configuration
for the helm chart.
2024-05-30 16:57:45 +02:00
Anthony LC and Anthony LC
06af320d61
🚀 (docker) dockerize frontend dev
...
Dockerize the frontend development environment
to make it easy to display the frontend
development environment in the browser.
We don't mix it with the command `make run` to
let it kind of optional to run the frontend
in a docker container. We let it optional because
the hot reload doesn't work well in the docker
container. The volume synch make it a bit slower
as well. So, we let the developer decide to run
the frontend in a docker container or not.
2024-05-30 15:42:34 +02:00
Samuel Paccoud - DINUM and Samuel Paccoud
926fe37e85
♻️ (models) rename document/template access rights
...
The "member" access right does not make sense for documents and templates.
What we really need are "editor" and "reader" access rights.
2024-05-29 19:25:46 +02:00
Anthony LC and Anthony LC
51325df7d9
💄 (frontend) change favicon
...
Change Next favicon for the Gouvernment one.
2024-05-27 13:51:18 +02:00
Anthony LC and Anthony LC
0727fe0273
💬 (frontend) change literal occurances of pad to document
...
- change urls from /pads to /docs
- change part of the litteral occurances of pad to document
2024-05-27 13:51:18 +02:00
Anthony LC and Anthony LC
d0d0b44f57
💬 (frontend) change site name to Docs
...
The site name was Impress, we change it to Docs.
2024-05-27 13:51:18 +02:00
Anthony LC and Anthony LC
6e46b686ab
💄 (frontend) change gouvernement logo
...
Change the gourvernement logo.
2024-05-27 13:51:18 +02:00
Anthony LC and Anthony LC
38eabe2fc8
🛂 (frontend) right pad delete
...
Manage the right on the pad delete.
If a use cannot delete a pad, we will not display
the delete button in the dropdown menu.
2024-05-27 10:20:20 +02:00
Anthony LC and Anthony LC
effa77dc10
🛂 (frontend) right pad update
...
Manage the right on the pad update.
If a use cannot update a pad, we will not display
the update button in the dropdown menu.
2024-05-27 10:20:20 +02:00
Anthony LC and Anthony LC
d5d374c311
🛂 (frontend) right pad editor
...
Manage the right on the pad editor.
If a use cannot edit a pad, the pad editor will
be read-only. It will not save automatically.
A message will be displayed to the user.
2024-05-27 10:20:20 +02:00
Jacques ROUSSEL and rouja
dd33c99532
💚 (CI) add git hook
...
Add git hook to avoid secret leaks
2024-05-24 17:01:25 +02:00
Anthony LC and Anthony LC
f4146fbe4e
🚚 (frontend) rename pad to pad-editor
...
Rename the pad feature to pad-editor.
2024-05-24 16:12:45 +02:00
Anthony LC and Anthony LC
dce040f4c3
🚚 (frontend) move types and pad api hooks
...
Move types and pad api hooks to pad-management.
2024-05-24 16:12:45 +02:00
Anthony LC and Anthony LC
3a68c75feb
🚚 (frontend) rename pads-create to pad-management
...
Rename the pads-create feature to pad-management.
This feature will not only create but gives tools
to update and remove pads as well.
2024-05-24 16:12:45 +02:00
Anthony LC and Anthony LC
29577c0419
✨ (frontend) remove document
...
We can now remove a document from a modal.
2024-05-24 16:12:45 +02:00
Anthony LC and Anthony LC
2813b2ca27
✨ (frontend) update document
...
We can now update a pad from a modal.
2024-05-24 16:12:45 +02:00
Anthony LC and Anthony LC
ef2f4d3250
💚 (CI) remove trigger workflow on push tags
...
We were starting the workflow on push tags,
it is needed for the docker-hub workflow,
but the other workflows should not be triggered
on push tags.
2024-05-24 16:12:45 +02:00
Anthony LC and Anthony LC
996cea49b4
♻️ (frontend) add PDF generation inside a modal
...
Refacto the pad tools, we will use modals to handle
the different actions on the pad. We start by
implementing the PDF generation inside a modal.
2024-05-24 16:12:45 +02:00
Anthony LC and Anthony LC
eb2936f48b
🔐 (helm) add djangoSuperUserEmail secret
...
To fit with the production environment, we need to add the
djangoSuperUserEmail secret to the staging environment.
2024-05-24 12:47:38 +02:00
Anthony LC and Anthony LC
10c53d2a4e
🔖 (minor) initial release to 0.1.0
...
Added
- Coming Soon page
- Impress, project to manage your documents easily
and collaboratively
v0.1.0
2024-05-24 10:49:09 +02:00
Anthony LC and Anthony LC
5c9e4ab3e6
🏷️ (backend) accept string as saved document
...
Saved documents has to be a string now.
Before it has to be a json object.
2024-05-24 10:27:34 +02:00