Commit Graph

16 Commits

Author SHA1 Message Date
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
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
many 30a094cbb2
Change lacking errors 2021-11-03 14:33:33 +01:00
many 7464720426
Fix some errors 2021-10-28 10:47:59 +02:00
mpostma 85b5260d9d simple search unit test 2021-10-06 14:20:05 +02:00
mpostma 85ae34cf9f test snapshots 2021-10-06 14:10:23 +02:00
mpostma 4eb3817b03
missing payload error 2021-09-30 16:58:13 +02:00
mpostma ddd40d87a7
malformed payload error 2021-09-30 16:58:13 +02:00
mpostma 1f537e1b60 jsonl support 2021-09-29 11:28:02 +02:00
many d30830a55c Add csv deserializer for documents 2021-09-28 22:28:13 +02:00
mpostma 102c46f88b clippy + fmt 2021-09-28 22:22:59 +02:00
mpostma 6f8e670dee move json reader to document_formats module 2021-09-28 20:13:26 +02:00
mpostma 3747f5bdd8 replace unwraps with correct error 2021-09-28 19:29:14 +02:00
mpostma 42a6260b65 introduce index resolver 2021-09-24 11:53:11 +02:00
mpostma 5353be74c3 refactor index actor 2021-09-22 15:07:04 +02:00
mpostma 12542bf922 refactor update actor 2021-09-22 11:52:50 +02:00