Sdogruyol
476b27892e
Early return from range if request type is not GET
2017-02-04 13:35:46 +03:00
Michael Barrett
c08bf71d88
Allow for disabling the shutdown message ( #292 )
...
Allow for disabling the shutdown message
2017-01-18 15:55:33 +03:00
Michael Barrett
209a9e576c
Add configurable startup logging as a block ( #291 )
...
Add overload for Kemal.run with just a block. This removes default logging.
2017-01-15 21:41:07 +03:00
Sdogruyol
ac8ec0a07b
Remove redundant session stuff
2016-12-10 19:34:46 +03:00
Sdogruyol
e957664565
Don't forget debug statement :/
2016-12-08 22:15:18 +03:00
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