fc4990b968
Update version for next release (v0.28.0)
2022-06-08 17:59:18 +02:00
6171f17f1d
Merge #2468
...
2468: Update milli 0.29 r=Kerollmops a=ManyTheFish
- [x] Update milli to 0.29
- [x] Integrate charabia
- [x] Set disabled_words to default when Index::exact_words returns None
- [x] Fix ranking rules integration test
fixes #2375
fixes #2144
fixes #2417
fixes #2407
Co-authored-by: ManyTheFish <many@meilisearch.com >
2022-06-08 14:29:20 +00:00
55169ff914
Fix test get_document_s_nested_attributes_to_retrieve
2022-06-08 15:56:06 +02:00
0a16f71563
Increase wait_task wainting time
2022-06-08 15:56:03 +02:00
17f30c2b2d
Fix(auth): Authorization test were not testing keys unrestricted on index
2022-06-08 14:52:32 +02:00
09938c9b6f
Patch ranking rules error test
2022-06-08 14:38:09 +02:00
09ec8e9fca
Merge #2471
...
2471: Remove the connection keep-alive timeout r=MarinPostma a=Thearas
# Pull Request
## What does this PR do?
Fixes <https://github.com/meilisearch/meilisearch-go/issues/221 >.
Meilisearch has a default connection keep-alive timeout for 5s, which means it will close the connections with idle time >= 5s.
This PR set actix-web keep-alive config to `KeepAlive::Os`, let the client and system to decide when to close the connection.
## PR checklist
Please check if your PR fulfills the following requirements:
- [x] Does this PR fix an existing issue?
- [x] Have you read the contributing guidelines?
- [x] Have you made sure that the title is accurate and descriptive of the changes?
Co-authored-by: Thearas <thearas850@gmail.com >
2022-06-08 06:59:25 +00:00
6ffa222218
feat(auth): Paginate API keys listing
...
- [x] Update tests
- [x] Use Pagination helpers to paginate API keys
fixes #2442
2022-06-07 17:37:48 +02:00
79e67df73d
Merge #2474
...
2474: feat(auth): remove `dumps.get` action from keys r=ManyTheFish a=ManyTheFish
- [x] Update tests
- [x] Remove `dumps.get` action
related to: #2430
Co-authored-by: ManyTheFish <many@meilisearch.com >
2022-06-07 15:03:41 +00:00
a7bff35e49
fix(test): Reduce default index size in tests
2022-06-07 15:16:34 +02:00
3b01ed4fe8
feat(auth): remove dumps.get
action from keys
2022-06-07 10:49:28 +02:00
9b9cbc815b
fmt
2022-06-07 03:50:39 +08:00
fd11903920
remove the connection timeout
2022-06-07 03:38:23 +08:00
e5b760c59a
Fix the segment analytics tests
2022-06-06 10:44:46 +02:00
277a0a7967
Bump serde-cs to simplify our usage of the star_or function
2022-06-06 10:17:33 +02:00
64b5b2e1f8
Use serde-cs::CS with StarOr to reduce the logic duplication
2022-06-06 10:06:00 +02:00
10d3b367dc
Simplify the const default values
2022-06-06 10:06:00 +02:00
b83455f345
Merge #2454
...
2454: Unify the pagination of the index and documents route behind a common type r=curquiza a=irevoire
`@MarinPostma` wdyt of keeping the `auto_paginate_sized` until we implement the pagination on every route that needs it just to see if it could be useful to something else
Co-authored-by: Tamo <tamo@meilisearch.com >
2022-06-02 15:01:43 +00:00
953a209f02
Merge #2447
...
2447: move index uid in task content r=Kerollmops a=MarinPostma
this pr moves the index_uid from the `Task` to the `TaskContent`. This is because the task can now have content that do not target a particular index.
Co-authored-by: ad hoc <postma.marin@protonmail.com >
2022-06-02 13:54:09 +00:00
0c5352fc22
move index_uid from task to task_content
2022-06-02 15:30:35 +02:00
8ac8fcb0c9
Merge #2433
...
2433: Fix the documents route r=Kerollmops a=irevoire
fix #2428
Co-authored-by: Irevoire <tamo@meilisearch.com >
2022-06-02 13:25:34 +00:00
4667c9fe1a
fix(http): Fix the query parameter in the Documents route
2022-06-02 14:10:44 +02:00
12b5eabd5d
chore(http): unify the pagination of the index and documents route behind a common type
2022-06-02 14:06:56 +02:00
cf2d8de48a
Merge #2452
...
2452: Change http verbs r=ManyTheFish a=Kerollmops
This PR fixes #2419 by updating the HTTP verbs used to update the settings and every single setting parameter.
- [x] `PATCH /indexes/{indexUid}` instead of `PUT`
- [x] `PATCH /indexes/{indexUid}/settings` instead of `POST`
- [x] `PATCH /indexes/{indexUid}/settings/typo-tolerance` instead of `POST`
- [x] `PUT /indexes/{indexUid}/settings/displayed-attributes` instead of `POST`
- [x] `PUT /indexes/{indexUid}/settings/distinct-attribute` instead of `POST`
- [x] `PUT /indexes/{indexUid}/settings/filterable-attributes` instead of `POST`
- [x] `PUT /indexes/{indexUid}/settings/ranking-rules` instead of `POST`
- [x] `PUT /indexes/{indexUid}/settings/searchable-attributes` instead of `POST`
- [x] `PUT /indexes/{indexUid}/settings/sortable-attributes` instead of `POST`
- [x] `PUT /indexes/{indexUid}/settings/stop-words` instead of `POST`
- [x] `PUT /indexes/{indexUid}/settings/synonyms` instead of `POST`
Co-authored-by: Kerollmops <clement@meilisearch.com >
2022-06-02 11:46:17 +00:00
419922e475
Make clippy happy
2022-06-02 13:38:23 +02:00
c9cd1738a5
Merge #2445
...
2445: Seek-based tasks list r=Kerollmops a=Kerollmops
This PR implements the seek-based pagination for the tasks list following [the spec](https://github.com/meilisearch/specifications/pull/115 ).
Co-authored-by: Kerollmops <clement@meilisearch.com >
2022-06-02 10:25:54 +00:00
0258659278
Fix the get_settings tests
2022-06-02 12:24:27 +02:00
ce37f53a16
Add typo-tolerance to the authorization tests
2022-06-02 12:17:53 +02:00
bcb51905d7
Fix the authorization tests
2022-06-02 12:16:46 +02:00
10a71fdb10
Update the /indexes/{indexUid}/settings/* verbs by adding a macro parameter
2022-06-02 11:55:47 +02:00
f8d3f739ad
Update the /indexes/{indexUid}/settings verb from POST to PATCH
2022-06-02 11:55:47 +02:00
bb405aa729
Update the /indexes/{indexUid} verb from PUT to PATCH
2022-06-02 11:55:47 +02:00
7e3d5ebc8e
Merge #2451
...
2451: feat(API-keys): Change immutable_field error message r=Kerollmops a=ManyTheFish
Change the immutable_field error message to fit the recent changes in the spec:
aa0a148ee3..84a9baff68
Co-authored-by: ManyTheFish <many@meilisearch.com >
2022-06-02 09:26:36 +00:00
dfce9ba468
Apply suggestions
2022-06-02 11:26:12 +02:00
9eea142e2b
feat(API-keys): Change immutable_field error message
...
Change the immutable_field error message to fit the recent changes in the spec:
aa0a148ee3..84a9baff68
2022-06-02 11:11:07 +02:00
8b8c3e32f0
Merge #2450
...
2450: Bump the dependencies r=ManyTheFish a=Kerollmops
In order to use [the latest version of grenad](https://docs.rs/grenad ) I bump the dependencies here. We also use the latest versions of all our other dependencies now.
Co-authored-by: Kerollmops <clement@meilisearch.com >
2022-06-02 08:53:12 +00:00
ac9e7bdbe3
Fix a test that was depending on the speed of the CPU
2022-06-02 10:21:19 +02:00
4512eed8f5
Fix PR comments
2022-06-01 18:06:20 +02:00
0656df3a6d
Fix the dumps tests
2022-06-01 17:14:13 +02:00
94b32cce01
Patch errors
2022-06-01 16:17:47 +02:00
b2e2dc8558
Re-authorize master_key to access to all routes
2022-06-01 16:17:47 +02:00
c295924ea2
Patch tests
2022-06-01 16:08:42 +02:00
1f62e83267
Remove error_add_api_key_invalid_index_uid_format
2022-06-01 16:08:42 +02:00
b3c8915702
Make small changes and renaming
2022-06-01 16:08:42 +02:00
84f52ac175
Add v4 feature to uuid
2022-06-01 16:08:42 +02:00
b9a79eb858
Change apiKeyPrefix to apiKeyUid
2022-06-01 16:07:44 +02:00
a57b2d9538
Restrict master key access to /keys routes
2022-06-01 16:07:44 +02:00
34c8888f56
Add keys actions
2022-06-01 16:07:44 +02:00
96a5791e39
Add uid and name fields in keys
2022-06-01 16:07:44 +02:00
e2c204cf86
Update tests to fit to the new requirements
2022-06-01 16:07:44 +02:00