Commit graph

49 commits

Author SHA1 Message Date
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
Sdogruyol
a67a8508cf Add worker support (experimental) 2015-12-08 22:15:13 +02:00
Sdogruyol
bee7ce2452 Bind host to 0.0.0.0 2015-12-07 09:17:00 +02:00
Sdogruyol
e1530f8fd5 Add built-in exception route 2015-11-28 12:39:58 +02:00
Aşkın Gedik
e284ba8196 add colorize for logger 2015-11-22 20:06:26 +02:00
Sdogruyol
485fed11af Added config env to startup message 2015-11-20 23:12:12 +02:00
Sdogruyol
0e23e8d9a3 Be sure to close handlers 2015-11-19 20:54:58 +02:00
Sdogruyol
28d4d5167b Updated logger to be more robust 2015-11-18 22:45:49 +02:00
Sdogruyol
bde69e1cdb Changed default mode to development 2015-11-17 21:43:05 +02:00
Sdogruyol
79ef2f30f7 Added environment 2015-11-16 23:55:02 +02:00
Sdogruyol
fb1d3c3a85 Added handlers to config 2015-11-12 22:48:22 +02:00
Sdogruyol
dc1e6ed4c2 Changed server initialize message 2015-11-08 17:43:53 +02:00
Sdogruyol
5057bd039c Fix typo in require 2015-10-23 22:48:30 +03:00
Sdogruyol
5ca84fea4c Renamed all occurrences to Kemal 2015-10-23 21:33:26 +03:00
Renamed from src/frank.cr (Browse further)