271 Commits

Author SHA1 Message Date
Rio Kierkels
9b46887f75
chore(http): do not require auth on /health endpoint
This makes it easier to determine the health of the server using http.

closes #822
2020-07-01 16:33:01 +02:00
Rio Kierkels
2ef888d100
chore(sentry): make sentry dsn customizable
By removing the hardcoded value the sentry client will fall back to pulling
it from the SENTRY_DSN environment variable. The hardcoded value has been
moved to the default value of the commandline options so the default
behavior will be the same.

A `--no-sentry` and `MEILI_NO_SENTRY` option has also been introduced
that effectively disables sentry reporting.
2020-07-01 12:55:14 +02:00
mpostma
69af8e9e3d bump meilisearch to 0.12.0 2020-06-30 20:42:19 +02:00
mpostma
0bceaa5669 add test for long document indexing 2020-06-30 17:46:23 +02:00
mpostma
4f6a6b1359 make clippy happy 2 2020-06-30 11:01:07 +02:00
mpostma
641d12fb2d make clippy happy 1 2020-06-30 11:01:07 +02:00
mpostma
b1272d05b4 Test get distinct attribute 2020-06-27 10:38:08 +02:00
mpostma
feb12a581e fix distinct attribute returning id instead of name 2020-06-27 10:30:27 +02:00
mpostma
8ea6ef1e90 bump meilisearch version 2020-06-25 14:28:50 +02:00
mpostma
c7701ebd19 partial sysinfo fix 2020-06-23 14:37:29 +02:00
mpostma
3d771f2289 test distinct attribute 2020-06-22 12:16:35 +02:00
mpostma
8035ca7138 fix distinct attribute behavior 2020-06-22 12:16:35 +02:00
mpostma
60a90e96f3 add test for ranking rules settings 2020-06-22 12:16:35 +02:00
mpostma
179942b07a test facet document fix 2020-06-22 11:40:08 +02:00
mpostma
3143ffe208 remove unused dependencies 2020-06-19 13:59:40 +02:00
mpostma
e5079004e1 adds SearchQueryPost 2020-06-15 16:28:08 +02:00
mpostma
2d31371975 fix style 2020-06-15 16:28:08 +02:00
mpostma
26d29783ce add tests for post search route 2020-06-15 16:28:08 +02:00
mpostma
0ebf7b6214 fix CORS config error in actix 2020-06-15 16:28:08 +02:00
mpostma
6add10b18f add search post route 2020-06-15 16:28:08 +02:00
mpostma
940105efb3 change cors max age 2020-06-15 16:28:08 +02:00
mpostma
3e13e728aa add post method 2020-06-15 16:28:08 +02:00
mpostma
8cd224899c move search logic out of search route 2020-06-15 16:28:08 +02:00
Kerollmops
8aeeea8382
Bump the Meilisearch crates version to 0.11.0 2020-06-15 10:54:16 +02:00
mpostma
ff2490ca8b fix tests 2020-06-10 12:30:33 +02:00
mpostma
2ada9c5d72 add error on search with empty facets 2020-06-10 12:30:33 +02:00
mpostma
6fee7e638c fix typo in error message 2020-06-06 09:05:28 +02:00
mpostma
d007bf13f1 change missing headers & auth status code 2020-06-05 15:44:38 +02:00
mpostma
56b01ba440 test error delete unexisting index 2020-06-05 11:40:18 +02:00
mpostma
11e00c906f error when deleting unexisting index 2020-06-05 11:33:59 +02:00
mpostma
cf6c6eb117 test invalid query params 2020-06-04 14:48:37 +02:00
mpostma
6df56c4ec5 add error handler for query params error 2020-06-04 14:48:37 +02:00
Kerollmops
263583c118
Remove http-service/-mock from the dependencies 2020-06-04 14:04:18 +02:00
Daniel (dmilith) Dettlaff
73c60d7768
new: Updated sysinfo depdendency of meilisearch-http/Cargo.toml. This fixes #740 2020-06-04 13:08:12 +02:00
mpostma
3fe3c8cf02 test attributes_for_faceting subroutes 2020-06-03 11:31:58 +02:00
mpostma
ed051b65ad default attributes_for_faceting to [] 2020-06-03 11:31:32 +02:00
mpostma
8f0d9ccd87 add subroutes for attributes_for_faceting 2020-06-03 11:31:32 +02:00
qdequele
e51ea55ae3
add more analytics 2020-06-02 15:40:31 +02:00
Clementine Urquizar
f6c531a5a8 Change http into https in welcoming message links 2020-06-02 14:20:08 +02:00
mpostma
e95cec7ea6 add test for error_code 2020-06-01 11:06:57 +02:00
mpostma
db45826232 take existing_index out of create_index error 2020-05-30 12:10:35 +02:00
Kerollmops
1370b19402
Allow users to input an API Key to search into private data 2020-05-29 12:22:23 +02:00
mpostma
8a2e60dc09 requested changes 2020-05-28 19:19:26 +02:00
mpostma
05344043b2 style fixes 2020-05-28 16:28:37 +02:00
mpostma
d9e2e1a177 ErrorCode improvements 2020-05-28 16:23:46 +02:00
mpostma
4254cfbce5 reponse error payload 2020-05-28 16:23:46 +02:00
mpostma
3bd15a4195 fix tests, restore behavior 2020-05-28 16:23:46 +02:00
mpostma
c771694623 remove heed from http dependencies 2020-05-28 16:23:46 +02:00
mpostma
d69180ec67 refactor errors / isolate core/http errors 2020-05-28 16:23:46 +02:00
mpostma
e2db197b3f change ResponseError to Error 2020-05-28 16:23:46 +02:00