24 Commits

Author SHA1 Message Date
kishorenc
1bae5bead6 Make Typesense version a member. 2019-09-28 09:49:53 +05:30
Kishore Nallan
13964b6a57 Allow collections to be symlinked by an alternative name. 2018-07-30 19:48:17 +05:30
Kishore Nallan
8bbfef8d44 Clear stray timeout. 2018-03-24 21:24:01 +05:30
Kishore Nallan
2714f6ee0c Enable gzip compression for responses. 2018-02-03 17:46:08 -05:00
Kishore Nallan
523c142479 #7: Support for CORS via the --enable-cors flag. 2018-01-01 12:26:38 +05:30
Kishore Nallan
f3e630f9de Collection export API. 2017-12-16 13:02:50 +05:30
Kishore Nallan
de80250de9 Extract authentication logic into a separate handler.
It is now possible to define a separate key for search end-point alone as well. This will be used when one needs to call the API directly from Javascript.
2017-12-12 18:10:08 +05:30
Kishore Nallan
42d0c31140 HTTPS is now supported! 2017-11-25 18:24:33 +05:30
Kishore Nallan
17b2201c52 Another round of h2o related resource clean up. [Valgrind]
No more h2o related valgrind warnings.
2017-11-20 07:39:46 +05:30
Kishore Nallan
d132098463 Free h2o related resources to have a clean shutdown. [Valgrind] 2017-11-19 20:41:31 +05:30
Kishore Nallan
7220a9e51d Cleanly exit server on sigint.
Valgrind "definitely lost" and "indirectly lost" are zero now.
2017-09-17 13:59:47 +05:30
Kishore Nallan
58a10877ee Basics of background replication.
Supports inserts. Deletion will be tackled next.
2017-09-14 09:58:44 +05:30
Kishore Nallan
3febb7840a Generalize the custom message struct such that it can support multiple types of messages and values. 2017-09-10 15:48:41 +05:30
Kishore Nallan
ea246f1c45 Collect and send replication updates in an async fashion.
This ensures that the query performance is not affected by replication running constantly in the background.
2017-09-02 15:56:07 +05:30
Kishore Nallan
7509de2300 Upgrade H2O + fixed core dump on Linux release build.
Core dump on Linux on release build (debug build is fine) when `h2o_accept_ctx_t` was stack allocated.
2017-08-21 12:30:48 +05:30
Kishore Nallan
ce69dbb371 Remove all static variables in http server so that it can be reused. 2017-07-30 08:48:52 +05:30
Kishore Nallan
e066beb870 Move http data structs to a separate header. 2017-07-29 22:31:24 +05:30
Kishore Nallan
005b637f74 Send 401 rather than 403 when API key is incorrect. 2017-07-26 21:11:02 +05:30
Kishore Nallan
c471cd50c3 Implement authentication against an API auth key.
The key should be passed via X-API-KEY HTTP header.
2017-07-04 22:18:47 +05:30
Kishore Nallan
0b9d5e386a Pass program arguments for listen address and port into http server. 2017-05-29 20:41:46 +05:30
Kishore Nallan
3478aef573 API for deleting a document by ID. 2017-05-17 20:31:24 +05:30
Kishore Nallan
1baaa2b344 API - creating a new collection. 2017-04-29 17:39:42 +05:30
Kishore Nallan
a82765277f Typesense API skeleton. 2017-04-28 21:08:45 +05:30
Kishore Nallan
01871cc279 Http server skeleton. 2017-04-15 11:41:53 +05:30