Tamo
57da80900d
make the swap indexes not found errors return an IndexNotFound error code
2023-01-18 14:16:00 +01:00
Tamo
0f727d079b
fix the wrong error code on minWordSizeForTypos
2023-01-18 12:28:46 +01:00
Loïc Lecrenier
e225608337
Use invalid_index_uid error code in more places
2023-01-17 15:28:06 +01:00
Loïc Lecrenier
56e79fa850
Update task snapshot test and clean up details
2023-01-17 13:19:04 +01:00
Loïc Lecrenier
c71a8ea183
Update to latest milli and deserr
2023-01-17 13:10:38 +01:00
Loïc Lecrenier
b781f9a0f9
cargo fmt
2023-01-17 11:07:07 +01:00
Loïc Lecrenier
9194508a0f
Refactor query parameter deserialisation logic
2023-01-17 11:07:07 +01:00
Loïc Lecrenier
766dd830ae
Update deserr to latest version + add new error codes for missing fields
...
- missing_api_key_indexes
- missing_api_key_actions
- missing_api_key_expires_at
- missing_swap_indexes_indexes
2023-01-17 09:43:07 +01:00
Loïc Lecrenier
436ae4e466
Improve error messages generated by deserr
...
Split Json and Query Parameter error types
2023-01-17 09:43:07 +01:00
bors[bot]
a5c4fbbcea
Merge #3334
...
3334: Add specific error codes `immutable_...` r=irevoire a=loiclec
Add the following error codes:
When an immutable field of API key is sent to the `PATCH /keys` route:
- `ImmutableApiKeyUid`
- `ImmutableApiKeyKey`
- `ImmutableApiKeyActions`
- `ImmutableApiKeyIndexes`
- `ImmutableApiKeyExpiresAt`
- `ImmutableApiKeyCreatedAt`
- `ImmutableApiKeyUpdatedAt`
When an immutable field of Index is sent to the `PATCH /indexes/{uid}` route:
- `ImmutableIndexUid`
- `ImmutableIndexCreatedAt`
- `ImmutableIndexUpdatedAt`
Co-authored-by: Loïc Lecrenier <loic.lecrenier@me.com>
Co-authored-by: Tamo <tamo@meilisearch.com>
2023-01-12 15:31:38 +00:00
Tamo
21b8cd53b7
reformat
2023-01-12 16:20:24 +01:00
Loïc Lecrenier
7f80b116bc
Add specific immutable_field error codes
2023-01-12 16:20:14 +01:00
Tamo
79c7f65c30
make a test more reliable
2023-01-12 15:39:28 +01:00
Tamo
a524dfb713
fix the analytics
2023-01-12 14:49:50 +01:00
Tamo
705fcaa3b8
reformat the imports
2023-01-12 14:09:15 +01:00
Loïc Lecrenier
a09b6a341d
Move tasks route to deserr
2023-01-12 13:57:29 +01:00
Tamo
387874ea26
test the error codes on the task routes
2023-01-12 13:46:19 +01:00
Tamo
6d658f4c52
fix a wrong error code + update some error messages
2023-01-11 19:14:11 +01:00
Tamo
bf573885ea
integrate the latest version of milli
2023-01-11 19:08:39 +01:00
Tamo
a68ac3a1dc
reformat the headers
2023-01-11 19:08:39 +01:00
Tamo
b252c87197
add tests on the sub settings routes
2023-01-11 19:08:39 +01:00
Loïc Lecrenier
b0b7ad7caf
Apply review suggestions
2023-01-11 19:08:39 +01:00
Loïc Lecrenier
c91ffec72e
Update Cargo.toml
2023-01-11 19:08:39 +01:00
Loïc Lecrenier
1fc11264e8
Refactor deserr integration
2023-01-11 19:08:39 +01:00
bors[bot]
808e184069
Merge #3324
...
3324: Add a test on the search route for each possible error codes r=irevoire a=irevoire
Co-authored-by: Tamo <tamo@meilisearch.com>
2023-01-11 16:08:19 +00:00
Tamo
7a30d98264
fix a flaky test
2023-01-11 14:54:29 +01:00
Tamo
d0a85057a3
fix the bad filter test
2023-01-11 11:37:12 +01:00
bors[bot]
59704c000c
Merge #3326
...
3326: Test error codes on settings r=irevoire a=irevoire
Co-authored-by: Tamo <tamo@meilisearch.com>
2023-01-11 10:07:52 +00:00
bors[bot]
d80be0c28d
Merge #3322
...
3322: Update mini-dashboard to v0.2.5 r=curquiza a=mdubus
Co-authored-by: Morgane Dubus <30866152+mdubus@users.noreply.github.com>
2023-01-11 09:08:11 +00:00
Tamo
398c0c32cd
test all the error codes that can be throw in the settings
2023-01-10 18:19:27 +01:00
Tamo
d4157c0ce4
add a test on the search route for each possible error codes
...
snapshot the json directly instead of using the debug formatting
2023-01-10 17:59:24 +01:00
Morgane Dubus
f63fee5e97
Update Cargo.toml
2023-01-10 15:11:25 +01:00
Tamo
d308684395
remove two ununsed error codes + fix the sort error_code
2023-01-10 11:32:11 +01:00
Tamo
ff843881c5
remove the documentation of the query parameter extractor module
2023-01-09 15:14:48 +01:00
Loïc Lecrenier
ae08fba76e
Remove forgotten comment
2023-01-09 13:45:03 +01:00
Loïc Lecrenier
af6d4b3031
Remove unused deserr extractor
2023-01-09 13:43:16 +01:00
Tamo
b03ee54fe0
makes clippy turbo-happy
2023-01-09 13:04:31 +01:00
Tamo
d17efb9ed6
use the published version of deserr
2023-01-09 12:51:10 +01:00
Loïc Lecrenier
9ab791bedc
Update error codes on the api key routes
2023-01-09 12:30:25 +01:00
Loïc Lecrenier
96105a5e8d
Update error codes on the documents/ routes
2023-01-09 12:30:25 +01:00
Tamo
e706628bb1
fix the error code of the swap index route
2023-01-06 14:48:25 +01:00
Tamo
3c630891bb
fix the error code for the swap index
2023-01-05 21:25:20 +01:00
Tamo
ce3e8794a2
fix the tests after the rebase
2023-01-05 20:52:26 +01:00
Tamo
50ce0409bc
Integrate deserr on the most important routes
2023-01-05 20:48:29 +01:00
bors[bot]
839b05c43d
Merge #3305
...
3305: Remove hidden but usable CLI arguments r=Kerollmops a=Kerollmops
`@curquiza` found out that we were exposing some internal CLI arguments: `nb-max-chunks` and `log-every-n`. In this PR I removed those two, the only two ones that I found. Those options shouldn't be accessible as non-documented in the documentation or the `--help` message.
Fixes https://github.com/meilisearch/meilisearch/issues/3307
Co-authored-by: Clément Renault <clement@meilisearch.com>
2023-01-05 17:11:58 +00:00
Clément Renault
aa4b813237
Derive Default on IndexerOpts
2023-01-05 16:00:45 +01:00
Louis Dureuil
eb08a0fb0b
Remove --generate-master-key option
2023-01-05 14:55:24 +01:00
Clément Renault
cda529c07b
Remove hidden but usable CLI arguments
2023-01-05 14:25:41 +01:00
bors[bot]
c7a3992510
Merge #3303
...
3303: Update version for the next release (v1.0.0) in Cargo.toml files r=curquiza a=meili-bot
⚠️ This PR is automatically generated. Check the new version is the expected one before merging.
Co-authored-by: curquiza <curquiza@users.noreply.github.com>
2023-01-05 11:53:09 +00:00
curquiza
28408816ef
Update version for the next release (v1.0.0) in Cargo.toml files
2023-01-05 11:45:15 +00:00