Commit Graph
18 Commits
Author SHA1 Message Date
Manuel Raynaud d7eccd766f (backend) add an allowed file extension list
We want to limit what type of file can be uploaded. For this we use an
allowed list of file extension. This allowed list can be disabled using
a setting and this list is configurable using a setting. When enabled,
file with no extension and hidden file are also rejected.
2026-01-09 10:43:53 +01:00
Nathan Vasse 9f28cc61ac (back) add /users route to external api custom
We need to allow configuration of /users sub route via
the EXTERNAL_API configuration.
2025-12-18 16:13:07 +01:00
Fabre FlorianandQuentin BEY 03124f4bf1 (backend) add indexed search feature flag
Add setting FEATURES_INDEXED_SEARCH that allows to disable the
search of indexed files while using the indexation tools.

Signed-off-by: Fabre Florian <ffabre@hybird.org>
2025-12-16 22:50:25 +01:00
Fabre FlorianandQuentin BEY a4307907e1 (backend) refactor indexer service
Replace "drive" by a SERVICE_NAME constant.
Merge search() & search_query() methods.

Signed-off-by: Fabre Florian <ffabre@hybird.org>
2025-12-16 22:50:25 +01:00
Fabre FlorianandQuentin BEY 5492a68a99 (backend) enable limit for the indexed content
Use SEARCH_INDEXER_CONTENT_MAX_SIZE as limit (in bytes) for the file content.
Fix default configuration of OIDC_STORE_ACCESS_TOKEN

Signed-off-by: Fabre Florian <ffabre@hybird.org>
2025-12-16 22:50:25 +01:00
Fabre FlorianandQuentin BEY 63cfe37695 (backend) adapt to Find new search pagination & fixes
Use nb_results instead of page/page_size argument for /search API.
Add --batch-size argument to the index command.
Fix an issue in SearchIndexer.has_text when item.mimetype is empty.

Signed-off-by: Fabre Florian <ffabre@hybird.org>
2025-12-16 22:50:25 +01:00
Fabre FlorianandQuentin BEY cad05aa4ff 🔧(compose) disable indexer in default configuration
Set SEARCH_INDEXER_CLASS=None as default configuration for dev.
Add documentation for Find service setup.

Signed-off-by: Fabre Florian <ffabre@hybird.org>
2025-12-16 22:50:25 +01:00
Nathan Vasse 9a86a5f46f (backend) enable full customization of external api
We have some instances that requires more open resource server features.
This change adds a setting that allows to cherry-pick
which api routes needs to be available or not.
2025-12-15 13:46:59 +01:00
Nathan Vasse 46fb46017d 📝(doc) add entitlement and metrics doc
Let's provide some useful informations about those two new
features.
2025-12-01 11:12:43 +01:00
Nathan Vasse ed9a0ada35 📝(docs) add some docs
Because we lack documentation, so let's add a bit.
2025-11-19 10:12:25 +01:00
Manuel RaynaudandNathan Panchout 248612178c 🔧(backend) use setting MAX_PAGE_SIZE to configure pagination
The pagination class Viewsets.Pagination has the max_page_size set to
200. We want to be able to configure this value using a setting. A new
one MAX_PAGE_SIZE is created for this. By default its value is 200 to
not change the current behavior.
2025-11-17 15:40:26 +01:00
Nathan Vasse 71bf56afd0 📝(doc) add resource server doc
Add some documentation and provide some examples of
requests.
2025-10-31 10:50:19 +01:00
Manuel Raynaud 9746ad519b 📝(doc) document how to install drive on k8s
We support installation on kubernets. This dopcumentation is here to
show how to deploy on a developement cluster in order to understand what
is needed to do it later in production.
2025-10-13 08:45:46 +02:00
Nathan Vasse 66eeac21f3 (back) add messages widget settings vars
We need those vars to allow customization for the feedback button
to opens the messages widget.
2025-09-29 16:27:33 +02:00
Manuel Raynaud 2cb5b715fd ♻️(front) use PUT method to upload files
We need to adapt the frontend code to use the PUT method to upload a
file instead of the POST method.
The headers used to sign the url must be added to the request sent. For
now the X-ams-acl header is used.
2025-09-24 09:31:17 +02:00
Manuel Raynaud 5866183724 📝(doc) list environment variable configurable
Create a documentation listing all environment variable that can be
configured in the project.
2025-06-27 16:34:21 +02:00
virgile-deville 922b1d1289 📝(doc) add image to showcase product in readme
So that people get a preview of the product's UI

Signed-off-by: virgile-deville <virgile.deville@beta.gouv.fr>
2025-05-23 08:47:55 +02:00
virgile-deville 56274655ee 📝(doc) improve readme
Added project description logo and screenshot

Signed-off-by: virgile-deville <virgile.deville@beta.gouv.fr>
2025-05-23 08:47:55 +02:00