Clément Renault
9d6885793e
Upgrade dependencies
2024-07-10 13:46:24 +02:00
Tamo
6afa578688
update most incompatible dependencies
2024-07-08 18:31:15 +02:00
Tamo
300bdfc2a7
update most dependencies
2024-07-08 18:09:12 +02:00
Tamo
7da21bb601
introduce as many custom error message as possible
2024-06-25 12:40:51 +02:00
Tamo
897d25780e
update milli to latest version
2024-05-16 18:31:32 +02:00
Louis Dureuil
452a343a2b
Fix imports
2024-02-28 18:09:40 +01:00
Clément Renault
5869ca7716
Upgrade all compatible dependencies
2024-01-16 15:05:03 +01:00
Clément Renault
add2ceef67
Introduce error types to avoid panics
2023-11-28 14:21:49 +01:00
Clément Renault
d32eb11329
Move to the v0.20.0-alpha.9 of heed
2023-11-27 11:52:22 +01:00
Clément Renault
0d4482625a
Make the changes to use heed v0.20-alpha.6
2023-11-23 11:43:58 +01:00
Tamo
e8c9367686
implement the snapshots on demand
2023-09-11 12:35:57 +02:00
meili-bors[bot]
c1e3cc04b0
Merge #3811
...
3811: Bring back changes from `release-v1.2.0` to `main` r=Kerollmops a=curquiza
Co-authored-by: Loïc Lecrenier <loic.lecrenier@me.com>
Co-authored-by: meili-bors[bot] <89034592+meili-bors[bot]@users.noreply.github.com>
Co-authored-by: Tamo <tamo@meilisearch.com>
Co-authored-by: Filip Bachul <filipbachul@gmail.com>
Co-authored-by: Kerollmops <clement@meilisearch.com>
Co-authored-by: ManyTheFish <many@meilisearch.com>
Co-authored-by: Clément Renault <clement@meilisearch.com>
2023-06-06 13:10:24 +00:00
Tamo
c9b65677bf
return the on disk size actually used by meilisearch
2023-05-25 18:30:30 +02:00
Kerollmops
c4a40e7110
Use the writemap flag to reduce the memory usage
2023-05-15 10:15:33 +02:00
Kerollmops
a3cf104736
Fix the compilation
2023-04-24 17:50:58 +02:00
Kerollmops
a109802d45
Upgrade the incompatible versions of the dependencies
2023-04-24 17:50:57 +02:00
Kerollmops
47b66e49b8
Upgrade the compatible versions of the dependencies
2023-04-24 17:50:52 +02:00
Tamo
4d308d5237
Improve the health route by ensuring lmdb is not down
...
And refactorize slightly the auth controller.
2023-04-06 15:31:42 +02:00
Louis Dureuil
14c4a222da
Authentication: AuthFilter::allow_index_creation both check that the index is authorized and the IndexCreate action
2023-02-22 16:37:13 +01:00
Louis Dureuil
690bb2e5cc
Authentication: Make allow_index_creation a private field
2023-02-22 16:35:52 +01:00
Louis Dureuil
d0f2c9c72e
Authentication: Make search_rules optional in AuthFilter
2023-02-22 16:35:52 +01:00
Louis Dureuil
42577403d8
Authentication: Directly pass the authfilter to the index scheduler
2023-02-22 16:35:52 +01:00
Louis Dureuil
c8c5944094
Authentication: is_index_authorized takes into account API key indexes even with a tenant token
2023-02-22 16:35:52 +01:00
Tamo
74d1a67a99
Use the workspace inheritance feature of rust 1.64
2023-02-15 13:51:07 +01:00
Kerollmops
4b1cd10653
Return an internal error when index pattern should be valid
2023-02-13 17:49:42 +01:00
Clément Renault
764df24b7d
Make clippy happy (again)
2023-02-09 13:21:20 +01:00
Clément Renault
4570d5bf3a
Merge remote-tracking branch 'origin/main' into temp-wildcard
2023-02-09 13:14:05 +01:00
Kerollmops
a36b1dbd70
Fix the tasks with the new patterns
2023-02-01 18:21:45 +01:00
Kerollmops
d563ed8a39
Making it work with index uid patterns
2023-02-01 17:51:30 +01:00
Kerollmops
ec7de4bae7
Make it work for any all routes including stats and index swaps
2023-01-25 16:12:40 +01:00
Tamo
c92948b143
Compute the size of the auth-controller, index-scheduler and all update files in the global stats
2023-01-25 11:25:02 +01:00
Tamo
d0988e115f
fix the patch of description and name for the api-key
2023-01-18 19:07:26 +01:00
Loïc Lecrenier
9194508a0f
Refactor query parameter deserialisation logic
2023-01-17 11:07:07 +01:00
Loïc Lecrenier
b0b7ad7caf
Apply review suggestions
2023-01-11 19:08:39 +01:00
Loïc Lecrenier
1fc11264e8
Refactor deserr integration
2023-01-11 19:08:39 +01:00
Tamo
4b6ffe0cd1
Update meilisearch-auth/src/lib.rs
2023-01-02 16:33:02 +01:00
Louis Dureuil
66e18eae79
auth: add generate_master_key function
2022-12-22 11:55:27 +01:00
Louis Dureuil
869d331680
Clippy fixes after updating Rust to v1.66
2022-12-19 14:17:12 +01:00
curquiza
026cf223b3
Update version for the next release (v1.0.0) in Cargo.toml files
2022-12-08 12:20:17 +00:00
curquiza
5db7c4057c
Update version for the next release (v0.30.1) in Cargo.toml files
2022-12-06 20:05:46 +01:00
bors[bot]
d16ea755d8
Merge #2982
...
2982: Adapt task queries to account for special index swap rules r=irevoire a=loiclec
# Pull Request
## Related issue
Fixes https://github.com/meilisearch/meilisearch/issues/2970
## What does this PR do?
- Replace the `get_tasks` method with a `get_tasks_from_authorized_indexes` which returns the list of tasks matched by the query **from the point of view of the user**. That is, it takes into consideration the list of authorised indexes as well as the special case of `IndexSwap` which should not be returned if an index_uid is specified or if any of its associated indexes are not authorised.
- Adapt the code in other places following this change
- Add some tests
- Also the method `get_task_ids_from_authorized_indexes` now takes a read transaction as argument. This is because we want to make sure that the implementation of `get_tasks_from_authorized_indexes` only uses one read transaction. Otherwise, we could (1) get a list of task ids matching the query, then (2) one of these task ids is deleted by a taskDeletion task, and finally (3) we try to get the `Task`s associated with each returned task ids, and get a `CorruptedTaskQueue` error.
Co-authored-by: Loïc Lecrenier <loic.lecrenier@me.com>
2022-10-27 14:28:04 +00:00
curquiza
68f80dbacf
Update version for the next release (v0.30.0) in Cargo.toml files
2022-10-27 11:35:44 +00:00
Loïc Lecrenier
7b93ba40bd
Reimplement task queries to account for special index swap rules
2022-10-27 11:44:51 +02:00
Irevoire
1bef5d119d
fix the api keys for the tasks route
2022-10-27 11:35:06 +02:00
Clément Renault
80b2e70ee7
Introduce a rustfmt file
2022-10-27 11:35:05 +02:00
Kerollmops
b2c5bc67b7
Add more enum-iterator related stuff
2022-10-27 11:34:11 +02:00
Kerollmops
e645c4c4d6
Remove the meilisearch-auth milli dependency
2022-10-27 11:34:10 +02:00
Tamo
d1a6fb2971
bump enum-iter and fix a bunch of error messages
2022-10-27 11:34:09 +02:00
Tamo
d0e91555d1
rebase on index-scheduler
2022-10-27 11:34:08 +02:00
Tamo
d976e680c5
first mostly working version
2022-10-27 11:34:06 +02:00