Jerome Gravel-Niquet
e407f52897
Only set @logger when not previously set
...
This came in contradiction with the docs.
2016-04-11 10:54:59 -04: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
Ben Jolitz
1f809c68c8
Support additional options as part of the Config
...
This commit adds the ability to add a closure suitable for adding
additional options. It is expected to allow someone to set global,
module or class level variables so they can pass changes/options
suitable for making decisions.
2016-03-30 13:33:51 -07:00
Sdogruyol
fd904cd98d
0.11.0
2016-03-19 15:15:44 +02:00
Sdogruyol
664673f125
Set content-type to text/html on errors.Fixes #130
2016-03-18 20:03:04 +02:00
Sdogruyol
e3c3154006
Make sure to instantiate null log handler
2016-03-06 20:16:51 +02:00
Joris Moriau
04ccb973a9
set positions for errors and logger middleware, added 2 views
2016-03-03 21:23:04 +01: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
8f5bc755ae
Add logger macro to easily setup custom log_handler
2016-02-12 16:09:15 +02:00
sdogruyol
3c75d727ba
Complete decoupling logger
2016-02-12 14:11:34 +02:00
sdogruyol
454894820d
Fix config
2016-02-12 10:22:52 +02:00
Sdogruyol
850af8819e
Start decoupling logger
2016-02-11 23:26:47 +02:00
Sdogruyol
ffc3d6d224
Don't require yaml
2016-02-10 22:02:10 +02:00
Sdogruyol
0498801b0d
Initialize logger in config
2016-01-17 14:22:47 +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
7ad319c70d
v0.6.0
2016-01-03 22:13:10 +02:00
Serdar Dogruyol
aaa2ee1e31
Add public_folder macro
2015-12-30 20:16:04 +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
Serdar Dogruyol
88c19f0051
Remove unnecessary handler
2015-12-16 17:06:06 +02:00
Sdogruyol
06ced7790b
Adding websocket support :)
2015-12-15 23:11:21 +02:00
Sdogruyol
5c97942707
Add more documentation
2015-12-13 10:25:04 +02:00
Sdogruyol
58f9d8c590
Add read config from yml
2015-12-12 20:27:46 +02:00
Sdogruyol
a67a8508cf
Add worker support (experimental)
2015-12-08 22:15:13 +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
5ca84fea4c
Renamed all occurrences to Kemal
2015-10-23 21:33:26 +03:00