5151bde209
Declare the auth path in the index scheduler
2022-10-26 11:33:27 +02:00
43aa3ce1c7
Add the snapshots directory path to the IndexScheduler
2022-10-26 11:33:27 +02:00
3f5622f749
fix the task view and forward the task db size
2022-10-23 11:23:24 +02:00
3283bb0454
fix clippy
2022-10-22 17:04:47 +02:00
8a39be9d41
fix the deletion of the data.ms in case of failure
2022-10-22 16:07:55 +02:00
3f6bd7fb11
Introduce a rustfmt file
2022-10-20 18:00:07 +02:00
74657bba2c
Introduce the core algorithm of task cancelation
2022-10-20 16:37:26 +02:00
65e69c06bc
extract the create_app function for the tests
2022-10-20 16:26:17 +02:00
dbcc3456c6
dump the content of the dump tasks instead of recreating at import time with wrong API keys
2022-10-20 16:14:36 +02:00
860d343831
get rids of the useless Seek before creating a grenad reader
2022-10-20 16:14:36 +02:00
b87b071718
apply most style comments of the review
2022-10-20 16:14:36 +02:00
6987bc185e
fix a synchronization bug while importing tasks
2022-10-20 16:13:18 +02:00
54d4d364c2
fix the deletion of the data.ms in case of errors
2022-10-20 16:13:17 +02:00
cac924b663
first mostly working version
2022-10-20 16:13:16 +02:00
9323f9f1c4
write the dump export
2022-10-20 16:12:25 +02:00
f456fb5e0b
get rids of the index crate + the document_types crate
2022-10-20 15:57:52 +02:00
b83710ea98
Implement ErrorCode on the milli::Error type
2022-10-20 15:44:32 +02:00
2064b65d5f
remove the create_app macro
2022-10-20 15:42:45 +02:00
2d31cff082
get rids of meilisearch-lib
2022-10-20 15:42:44 +02:00
60ee1f5e64
wip integrating the scheduler in meilisearch-http
2022-10-20 15:34:55 +02:00
6aa3ad6b6c
move prometheus behind a feature flag
2022-08-29 14:36:59 +02:00
2f92169e48
clippy issue in metrics fixed
2022-08-22 13:21:22 +05:30
2b8f3c26ec
Changed prometheus metrics feature as optional
2022-08-22 13:21:22 +05:30
25fecf9360
clippy & rustfmt fixed
2022-08-22 13:21:22 +05:30
4bee0565e8
prometheus and grafana dashboards implemented
2022-08-22 13:21:22 +05:30
ae174c2cca
Fix task serialization
2022-08-11 13:35:35 +02:00
e6f03f82df
Fix clippy warnings
2022-07-28 15:56:22 +02:00
58d2aad309
Change binary option and add env var support
2022-07-28 15:13:49 +02:00
e3426d5b7a
Improve the tasks error reporting
2022-07-28 15:12:54 +02:00
aff8cd1774
Make clippy happy
2022-07-04 13:36:56 +02:00
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
3684c822f1
Add indexUid filtering on the /tasks route
2022-05-31 11:33:20 +02:00
62ce8e0bda
chore(http): rename auto batching cli option
2022-03-07 15:19:19 +01:00
3b2e467ca6
update actix-web dependency to 4.0
2022-02-28 19:03:37 +01:00
c9a236b0af
feat(lib): auto-batching
2022-02-01 18:06:20 +01:00
c8bb54cd94
Merge #2098
...
2098: feat(dump): Provide the same cli options as the snapshots r=MarinPostma a=irevoire
Add two cli options for the dump:
- `--ignore-missing-dump`
- `--ignore-dump-if-db-exists`
Fix #2087
Co-authored-by: Tamo <tamo@meilisearch.com >
2022-01-26 14:32:23 +00:00
bad4bed439
feat(dump): Provide the same cli options as the snapshots
...
Add two cli options for the dump:
- `--ignore-missing-dump`
- `--ignore-dump-if-db-exists`
Fix #2087
2022-01-26 14:34:06 +01:00
9f5fee404b
chore(all): update actix-web dependency to 4.0.0-beta.21
2022-01-21 20:44:17 +00:00
595250c93e
Allow any header for CORS
2022-01-05 15:38:47 +01:00
450b81ca13
Bug(CORS): Add missing allowed headers
...
fix #2040
2022-01-03 13:41:12 +01:00
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
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
a30e02c18c
feat(all): Task store
...
implements:
https://github.com/meilisearch/specifications/blob/develop/text/0060-refashion-updates-apis.md
linked PR:
- #1889
- #1891
- #1892
- #1902
- #1906
- #1911
- #1914
- #1915
- #1916
- #1918
- #1924
- #1925
- #1926
- #1930
- #1936
- #1937
- #1942
- #1944
- #1945
- #1946
- #1947
- #1950
- #1951
- #1957
- #1959
- #1960
- #1961
- #1962
- #1964
- https://github.com/meilisearch/milli/pull/414
- https://github.com/meilisearch/milli/pull/409
- https://github.com/meilisearch/milli/pull/406
- https://github.com/meilisearch/milli/pull/418
- close #1687
- close #1786
- close #1940
- close #1948
- close #1949
- close #1932
- close #1956
2021-12-02 20:14:42 +01:00
d65f055030
pass anaytics into Arc instead of static ref
2021-10-29 17:25:55 +02:00
d72c887422
makes the analytics available for all the routes
2021-10-29 17:25:47 +02:00
664d09e86a
makes the analytics works with the option and the feature
2021-10-29 17:25:47 +02:00
b4038597ba
Keep persisting tmp files in database directory and put non-persisting tmp files in default tmp dir
2021-10-18 14:16:35 +02:00
9a1e44dc78
Apply suggestion
...
- remove the payload_error_handler in favor of a PayloadError::from
- merge the two match branch into one
- makes the accepted content type a const instead of recalculating it for every error
2021-10-06 17:15:47 +02:00
c6d107a05f
makes the content-type mandatory for every routes
2021-10-06 17:15:47 +02:00
bffab21b10
Changes
...
1. Removed redundant scope registration
2021-10-04 14:47:05 +05:30