ManyTheFish
aff4b64265
Update dependencies
2022-08-23 16:39:39 +02:00
Clémentine Urquizar
6fe3f285ce
Update version for next release (v0.29.0)
2022-08-23 13:39:56 +02:00
Kerollmops
fe32097964
Update milli v0.32
2022-07-28 14:45:10 +02:00
Clémentine Urquizar
9cf6acb671
Fix highlight issue by updating milli to v0.31.2
2022-07-21 14:11:24 +04:00
Clémentine Urquizar
d01a3ab889
Update version for next release (v0.28.1)
2022-07-20 15:46:53 +04:00
Clémentine Urquizar - curqui
8e370ed9ab
Merge branch 'main' into stable
2022-07-11 14:41:15 +02:00
Phillip Davis
074a6a0cce
Fix typos in HeadAuthStore::put_api_key
2022-07-06 22:24:46 -04:00
Phillip Davis
fb9b298645
Leave actions as HashSet
2022-07-05 21:52:50 -04:00
Phillip Davis
23f02f241e
Run the code formatter
2022-07-05 21:08:56 -04:00
Phillip Davis
5d80ff41a2
Clean up put_key impl
2022-07-05 21:06:58 -04:00
ManyTheFish
a146fd45b9
Format API keys in hexa instead of base64
2022-07-05 16:14:18 +02:00
Phillip Davis
63e1fb4f96
Run the code formatter
2022-07-04 21:49:40 -04:00
Phillip Davis
c251b527b0
Add iterators over * for stats, dumps, tasks, settings, and indexes; change documents impl to prevent duplication
2022-07-04 21:38:31 -04:00
Phillip Davis
1dc3724c1f
Added [...]_ALL enum members in action.rs
2022-07-04 21:38:21 -04:00
Kerollmops
7feb15df28
Bump milli to 0.31.1
2022-06-23 10:47:48 +02:00
janithPet
6f910f89eb
Ran formatter on the code.
2022-06-15 22:23:38 +01:00
janithPet
9a8fb6c55a
Updated actions identifiers to be in a more pleasing order
2022-06-15 17:27:41 +01:00
janithPet
4016161035
Provide all document related permissions for action document.*
2022-06-15 16:11:39 +01:00
Tamo
2063fbd985
chore: bump milli
2022-06-09 18:34:03 +02:00
pierre-l
b8745420da
Use the IndexUid
and StarOr
in meilisearch_auth::Key
...
Move `meilisearch_http::routes::StarOr` to `meilisearch_types::star_or`
Fixes #2158
2022-06-09 16:14:15 +02:00
pierre-l
36cb09eb25
Add a new meilisearch_types
crate
...
Move `meilisearch_error` to `meilisearch_types::error`
Move `meilisearch_lib::index_resolver::IndexUid` to `meilisearch_types::index_uid`
Add a new `InvalidIndexUid` error in `meilisearch_types::index_uid`
2022-06-09 16:14:13 +02:00
bors[bot]
b9b32d65a8
Merge #2494
...
2494: Introduce the new faceting and pagination settings r=ManyTheFish a=Kerollmops
This PR introduces two new settings following the newly created spec https://github.com/meilisearch/specifications/pull/157 :
- The `faceting.max_values_per_facet` one describes the maximum number of values (each with a count) associated with a value in a facet distribution query.
- The `pagination.limited_to` one describes the maximum number of documents that a search query can ever return.
Co-authored-by: Kerollmops <clement@meilisearch.com>
2022-06-09 12:09:21 +00:00
Kerollmops
c924614527
Bump milli to 0.29.2
2022-06-09 10:54:28 +02:00
Clémentine Urquizar
fc4990b968
Update version for next release (v0.28.0)
2022-06-08 17:59:18 +02:00
bors[bot]
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
ManyTheFish
1a7631c807
Hash master_key before passing it to HMAC
2022-06-08 14:54:47 +02:00
ManyTheFish
8d09772334
Update milli
2022-06-08 14:38:05 +02:00
ManyTheFish
987a7f8926
Wrap sha256 in HMAC instead of directly use sha256
2022-06-08 14:25:12 +02:00
ManyTheFish
3b01ed4fe8
feat(auth): remove dumps.get
action from keys
2022-06-07 10:49:28 +02:00
Ryan Russell
3e46543060
Improve Store Readability
...
Signed-off-by: Ryan Russell <git@ryanrussell.org>
2022-06-04 20:42:53 -05:00
ManyTheFish
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
ManyTheFish
4512eed8f5
Fix PR comments
2022-06-01 18:06:20 +02:00
ManyTheFish
7652295d2c
Encode key in base64 instead of hexa
2022-06-01 16:17:47 +02:00
ManyTheFish
94b32cce01
Patch errors
2022-06-01 16:17:47 +02:00
ManyTheFish
1816db8c1f
Move dump v4 patcher into v4.rs
2022-06-01 16:17:43 +02:00
ManyTheFish
b3c8915702
Make small changes and renaming
2022-06-01 16:08:42 +02:00
ManyTheFish
151f494110
Use Stream Deserializer to load dumps
2022-06-01 16:08:42 +02:00
ManyTheFish
96152a3d32
Change default API keys names and descriptions
2022-06-01 16:08:42 +02:00
ManyTheFish
84f52ac175
Add v4 feature to uuid
2022-06-01 16:08:42 +02:00
ManyTheFish
70916d6596
Patch dump v4
2022-06-01 16:08:42 +02:00
ManyTheFish
34c8888f56
Add keys actions
2022-06-01 16:07:44 +02:00
ManyTheFish
d54643455c
Make PATCH only modify name, description, and updated_at fields
2022-06-01 16:07:44 +02:00
ManyTheFish
96a5791e39
Add uid and name fields in keys
2022-06-01 16:07:44 +02:00
ManyTheFish
0250ea9157
Intergrate smart crop in Meilisearch
2022-05-18 18:35:51 +02:00
Clémentine Urquizar
49e857776c
Update version for next release (v0.27.1)
2022-05-17 11:59:35 +02:00
Tamo
85d19bfb3e
chore: bump milli
2022-05-16 18:43:35 +02:00
Clémentine Urquizar
c46f3587de
Bump milli to v0.26.4
2022-05-04 11:25:36 +02:00
Clémentine Urquizar
a7fd199ded
Fix typo reseting by upgrading milli to v0.26.2
2022-04-20 12:24:46 +02:00
Irevoire
64b0a50a58
chore: bump milli
2022-04-14 12:12:54 +02:00
Clémentine Urquizar
b3661bf8ec
Change version for the next release (v0.27.0)
2022-04-11 16:25:15 +02:00
Tamo
69d312209e
feat(search): Implements the nested fields
...
See https://github.com/meilisearch/specifications/pull/121
2022-04-07 19:47:20 +02:00
ad hoc
a523828f61
chore(lib): bump milli to 0.25.0
2022-04-06 15:03:10 +02:00
Kerollmops
94f04e79eb
Bump the milli dependency to 0.24.1
2022-03-29 09:17:25 -07:00
Kerollmops
ac48860bbb
Upgrade the workspace dependencies
2022-03-17 11:03:31 +01:00
Sai Kumar
e271395971
chore(all): bump milli
...
* updates to Use the milli's heed dependency #2210
* Update index.rs
* Update store.rs
* Update mod.rs
* cargo fmt
2022-03-16 16:34:44 +01:00
ad hoc
d6400aef27
remove async from meilsearch-authentication
2022-03-02 18:22:34 +01:00
ad hoc
4fbb83a34d
bug(snapshot): Correctly open environments in snapshots
2022-02-28 12:37:30 +01:00
bors[bot]
c3e3c900f2
Merge #2173
...
2173: chore(all): replace chrono with time r=irevoire a=irevoire
Chrono has been unmaintained for a few month now and there is a CVE on it.
Also I updated all the error messages related to the API key as you can see here: https://github.com/meilisearch/specifications/pull/114
fix #2172
Co-authored-by: Irevoire <tamo@meilisearch.com>
2022-02-17 14:12:23 +00:00
Irevoire
05c8d81e65
chore: get rid of chrono in favor of time
...
Chrono has been unmaintened for a few month now and there is a CVE on it.
make clippy happy
bump milli
2022-02-16 18:14:29 +01:00
Clémentine Urquizar
e2a9414c7a
Update version (v0.26.0)
2022-02-14 16:11:07 +01:00
ad hoc
23eba82038
fix(auth): fix env being closed when dumping
2022-02-09 13:56:26 +01:00
ManyTheFish
3bee31e6c7
bug(auth): Make API keys accept Null descriptions
2022-02-02 18:18:17 +01:00
ManyTheFish
7ca647f0d0
feat(auth): Implement Tenant token
...
Make meilisearch support JWT authentication signed with meilisearch API keys
using HS256, HS384 or HS512 algorithms.
Related spec: https://github.com/meilisearch/specifications/pull/89
Fix #1991
2022-01-27 08:25:39 +01:00
Irevoire
343bce6a29
fix(dump): Fix the import of dump from the v24 and before
2022-01-13 13:23:57 +01:00
bors[bot]
d0aa5f747c
Merge #2067
...
2067: chore(all): fix rust edition r=irevoire a=MarinPostma
I hadn't correctly set the rust edition in my previous pr, and cargo was returning a warning. This time I followed this guide: https://doc.rust-lang.org/edition-guide/editions/transitioning-an-existing-project-to-a-new-edition.html
Co-authored-by: mpostma <postma.marin@protonmail.com>
2022-01-12 13:32:42 +00:00
mpostma
3ecebd15ee
chore(all): fix rust edition
2022-01-12 11:14:50 +01:00
bors[bot]
5d48f72ade
Merge #2065
...
2065: MeiliSearch v0.25.0: `stable` -> `main` r=curquiza a=curquiza
Co-authored-by: Clémentine Urquizar <clementine@meilisearch.com>
Co-authored-by: Clément Renault <clement@meilisearch.com>
Co-authored-by: bors[bot] <26634292+bors[bot]@users.noreply.github.com>
Co-authored-by: many <maxime@meilisearch.com>
Co-authored-by: Marin Postma <postma.marin@protonmail.com>
Co-authored-by: Maxime Legendre <maximelegendre@MacBook-Pro-de-Maxime.local>
Co-authored-by: Maxime Legendre <maximelegendre@mbp-de-maxime.home>
Co-authored-by: Tamo <tamo@meilisearch.com>
Co-authored-by: ManyTheFish <many@meilisearch.com>
2022-01-11 16:30:22 +00:00
Maxime Legendre
37329e0784
Bug(auth): Parse YMD date
...
Use NaiveDate to parse YMD date instead of NaiveDatetime
fix #2017
2021-12-20 15:30:11 +01:00
Maxime Legendre
a845cd8880
Fix(auth): Forbid index creation on alternates routes
...
Forbid index creation on alternates routes when the action `index.create` is not given
fix #2024
2021-12-20 14:48:18 +01:00
Marin Postma
b28a465304
bug(lib): drop env on last use
...
fixes the `too many open files` error when running tests by closing the
environment on last drop
2021-12-16 10:57:55 +01:00
many
ee7970f603
feat(auth): Extend API keys
...
- Add API keys in snapshots
- Add API keys in dumps
- Rename action indexes.add to indexes.create
- fix QA #1979
fix #1979
fix #1995
fix #2001
fix #2003
related to #1890
2021-12-14 17:33:39 +01:00
Clémentine Urquizar
ae73386723
Update version for the next release (v0.25.0)
2021-12-07 14:00:43 +01:00
many
ffefd0caf2
feat(auth): API keys
...
implements:
https://github.com/meilisearch/specifications/blob/develop/text/0085-api-keys.md
- Add tests on API keys management route (meilisearch-http/tests/auth/api_keys.rs)
- Add tests checking authorizations on each meilisearch routes (meilisearch-http/tests/auth/authorization.rs)
- Implement API keys management routes (meilisearch-http/src/routes/api_key.rs)
- Create module to manage API keys and authorizations (meilisearch-auth)
- Reimplement GuardedData to extend authorizations (meilisearch-http/src/extractors/authentication/mod.rs)
- Change X-MEILI-API-KEY by Authorization Bearer (meilisearch-http/src/extractors/authentication/mod.rs)
- Change meilisearch routes to fit to the new authorization feature (meilisearch-http/src/routes/)
- close #1867
2021-12-06 09:52:41 +01:00