Commit graph

63 commits

Author SHA1 Message Date
Sdogruyol
9c1c832c9a Add Kemal.stop. Fixes #269 2016-12-08 13:50:54 +03:00
Sdogruyol
eb64b52f84 Actually there's no middleware anymore 2016-12-04 01:43:30 +03:00
Sdogruyol
1afb4cbfa8 Use log instead 2016-12-04 01:27:26 +03:00
sdogruyol
92ea55773b Handle missing 404 image. Fixes #263 2016-11-25 22:19:23 +03:00
sdogruyol
f11b0e07e4 v0.17.0 2016-11-23 21:30:49 +03:00
sdogruyol
ddc92c44e0 Move Kemal::Handler from ext folder 2016-11-10 14:56:05 +03:00
Serdar Dogruyol
ec11698ab1 Only / Exclude Paths in Middleware (#245)
Add only / exclude paths in Middlewares
2016-11-09 19:18:39 +04:00
sdogruyol
7dd834ad28 Fix broken websocket routing :/ 2016-11-02 11:19:48 +03:00
sdogruyol
7efe69ac31 Add multipart support <3 2016-10-01 18:18:28 +03:00
sdogruyol
cf2144636d Update CHANGELOG 2016-09-20 20:32:09 -03:00
Aurelien Louis Dit Picard
39cfe14811 Adding port to Kemal#run (#208)
Adding port to Kemal#run
2016-09-20 20:27:35 -03:00
maiha
b2e81e6bc1 Disable ssl when -D without_openssl is given 2016-09-16 23:34:23 +09:00
sdogruyol
64d3271fb2 Make HTTP::Server uninitialized instead of HTTP::Server? 2016-09-05 10:38:00 +03:00
Sdogruyol
676ed2aa67 Use send_file in built-in image handler 2016-07-19 21:05:49 +03:00
Sdogruyol
6ffa4af0e1 Remove redundat http require and move it to kemal.cr 2016-07-17 14:28:21 +03:00
Sdogruyol
f3175bdb72 Split helpers.cr into helpers/macros.cr and helpers/helpers.cr 2016-07-10 13:03:09 +03:00
Mike Perham
94db0c8cb8 Implement basic in-memory session store
Sessions are stored in a non-persistent Hash.  Only String values are allowed.  A reaper fiber regularly removes any sessions which expire due to inactivity.
2016-06-27 14:37:40 -07:00
Omar Roth
ac4a5afc05 Fix ssl and specs for 0.18 2016-06-14 16:18:00 -05:00
Sdogruyol
67abb5fff3 Allow 404 error handler to be customizable 2016-05-15 14:58:09 +03:00
sdogruyol
e6d9311895 Start implementing error block 2016-05-05 22:35:36 +03:00
Sdogruyol
18efc4601f Add more documentation 2016-04-18 21:40:48 +03:00
Sdogruyol
a8ecbde222 Merge branch 'instance-vars' 2016-04-17 00:04:53 +03:00
Sdogruyol
65d0af5b5f Update config to use uninitialized server 2016-04-09 17:33:17 +03:00
Sdogruyol
b32099e13b Move server from local scope to config 2016-04-09 17:20:39 +03:00
Sdogruyol
0eb7638b1b Remove redundant at_exit hook 2016-04-09 17:17:11 +03:00
Filip Defar
a8ff776b49 Don't convert host_binding to slice when instantiating server 2016-03-22 21:20:21 +01:00
Sdogruyol
fd904cd98d 0.11.0 2016-03-19 15:15:44 +02:00
Fatih Kadir Akın
e53ba1d9da Decouple ParamContainer which makes the code cleaner, and fix kemal.cr
url -- by @sdogruyol
2016-03-06 14:08:59 +02:00
Joris Moriau
ed769ad700 added configure serve_static 2016-02-15 12:59:26 +01:00
Sdogruyol
092f5a2e49 Improve kemal.cr 2016-02-14 15:15:52 +02:00
Joris Moriau
f7975d917d decoupled errors from route-handler 2016-02-14 12:52:32 +01:00
sdogruyol
3c75d727ba Complete decoupling logger 2016-02-12 14:11:34 +02:00
Sdogruyol
850af8819e Start decoupling logger 2016-02-11 23:26:47 +02:00
Sdogruyol
467a1b4581 Rename handlers 2016-02-03 22:08:54 +02:00
Sdogruyol
94a73e9ade Update built-in exception route handler 2016-01-24 18:25:21 +02:00
Sdogruyol
fdf38b23c8 Update kemal.cr 2016-01-24 13:31:07 +02:00
Sdogruyol
788c7241d4 Handle cases when logger can be nil 2016-01-18 17:25:52 +02:00
Sdogruyol
51092fbb91 Move logger to config 2016-01-17 14:18:18 +02:00
Sdogruyol
2af3648682 Make logger configurable 2016-01-17 13:08:12 +02:00
sdogruyol
7ffa6700de Update CLI to handle missing ssl_key and ssl_cert 2016-01-15 14:50:11 +02:00
Fatih Kadir Akın
37d40f4fbe Implement SSL handling, move option parser to another file to maintain
easier
2016-01-13 23:31:19 +02:00
sdogruyol
7ad319c70d v0.6.0 2016-01-03 22:13:10 +02:00
Sdogruyol
24e2647ed7 Require middleware in bootstrap 2015-12-27 11:59:07 +02:00
Alfonso Uceda Pompa
e39770b433 Make compatyble with crystal 0.10.0 2015-12-24 16:25:00 +01:00
Sdogruyol
44af664748 Remove experimental fork mode 2015-12-19 10:00:29 +02:00
Sdogruyol
8522fd2f56 Fix binding 2015-12-12 21:35:17 +02:00
Sdogruyol
58f9d8c590 Add read config from yml 2015-12-12 20:27:46 +02:00
Sdogruyol
e4da65f1f2 Refactor static file handler 2015-12-10 21:15:28 +02:00
Sdogruyol
21a3c6ad3c Add static file handler 2015-12-10 20:40:39 +02:00
Serdar Dogruyol
c05db1f643 Remove unnecessary log on exit 2015-12-09 17:36:13 +02:00