19 Commits

Author SHA1 Message Date
Krunal Gandhi
c9618bf71e
return collections as per scoped key params (#1658)
* return collections as per scoped key params

* add test for wildcard

* update facet return parent test
2024-04-09 20:43:24 +05:30
Kishore Nallan
c1a71bc83f Handle autodelete key property not being available. 2024-01-12 08:39:31 +05:30
krunal
b36c3fa2ce remove expired API keys when specified 2024-01-09 19:04:00 +05:30
Kishore Nallan
d05c51c536 Handle bad regexp in allowed collection API key. 2022-07-07 09:53:50 +05:30
Kishore Nallan
31c8a030c7 Handle per-search API key for multi search. 2022-02-25 21:19:24 +05:30
Kishore Nallan
bf475ad55f Support presets on GET search endpoint as well. 2022-02-19 19:11:20 +05:30
Kishore Nallan
7602df1877 Disallow primary key value being created as a custom key. 2021-06-17 14:03:40 +05:30
Kishore Nallan
37b78072fa Allow long custom API keys. 2021-04-12 19:36:03 +05:30
kishorenc
a11befe42b Fix embedded params on multi_search end-point. 2021-04-07 15:00:04 +05:30
kishorenc
1a65ad509b Address valgrind warning. 2021-02-21 22:17:27 +05:30
kishorenc
5dc7df793c Merge branch '0.18.0-patches' into 0.20.0-rc
# Conflicts:
#	include/auth_manager.h
#	include/collection_manager.h
#	include/http_server.h
#	src/auth_manager.cpp
#	src/collection_manager.cpp
#	src/http_server.cpp
2021-02-16 12:54:42 +05:30
kishorenc
0175ac0df4 Support auth against multiple collections.
# Conflicts:
#	include/auth_manager.h
#	include/collection_manager.h
#	include/http_server.h
#	src/auth_manager.cpp
#	src/collection_manager.cpp
2021-02-11 19:17:18 +05:30
kishorenc
17fbbd0838 Refactor concurrency model. 2021-02-06 20:17:18 +05:30
Jason Bosco
c8b4d5fbed Address multi search quirks 2021-01-24 08:04:23 -08:00
kishorenc
c97ded0458 Support expiry of API keys.
Both parent and scoped keys are supported, but the expiry time of parent key takes precedence. Default is a date far into the future.
2020-12-28 19:19:59 +05:30
kishorenc
6e77a9792e Refactor http req handler: prepare for deferred request body access. 2020-08-12 21:42:23 +05:30
kishorenc
2d169df65f Handle bad request body for key creation. 2020-05-26 18:33:17 +05:30
kishorenc
1395d74d48 Manage scoped search API keys. 2020-04-30 14:21:39 +05:30
kishorenc
29b4225461 API Key management. 2020-04-27 21:43:24 +05:30