Sijawusz Pur Rahnama
1fa87761a4
Run crystal tool format --check on Travis CI ( #518 )
2019-02-05 11:23:20 +03:00
Diego Guraieb
a5d8df7382
Add support for parsing command line parameters from other sources than ARGV ( #483 )
2018-11-30 19:16:08 +03:00
Julien Reichardt
21ab64511a
Add allocation optimizations ( #487 )
2018-11-01 14:29:05 +03:00
Brian Douglas Smith
b389022b35
Remove deprecated alias HTTP::Server#bind_ssl ( #495 )
2018-09-20 11:15:05 +03:00
Johannes Müller
1e894a39bc
Remove unused require "tempfile"
2018-09-06 11:17:30 +02:00
Johannes Müller
b39c974a90
Update to use HTTP::Server#bind_ssl ( #477 )
2018-08-09 00:13:45 +03:00
Serdar Dogruyol
d0b4c0d609
Embed 404 image as SVG
2018-06-30 14:49:39 +03:00
Serdar Dogruyol
621342170a
Tidy up Kemal.run
2018-06-30 14:34:41 +03:00
Johannes Müller
bc661d58ae
Refactor Kemal.run
to allow custom port binding ( #463 )
2018-06-30 14:16:55 +03:00
Serdar Dogruyol
a5870e7d24
Crystal 0.25.0 ( #452 )
2018-06-16 18:03:00 +03:00
V. Elenhaupt
c2236acf3a
Code fixes reported by static code analysis ( #450 )
2018-05-17 11:07:40 +03:00
Serdar Dogruyol
88b4737500
Don't serve 404 image dynamically
2018-03-19 22:44:24 +03:00
Serdar Dogruyol
6fbad555d0
Remove unused stuff
2018-03-17 17:58:19 +03:00
Sijawusz Pur Rahnama
210e2c0801
Prettify docs ( #410 )
2017-10-06 14:53:53 +03:00
Serdar Dogruyol
0b07070237
Don't initiliaze server if it's already initialized
2017-10-04 19:51:14 +03:00
Serdar Dogruyol
ad692357d4
Allow config.server to be lazily initiliazed. Fixes #396
2017-10-04 19:42:41 +03:00
Cris Ward
8cf3f67594
fix for #399 ( #407 )
...
* fix for #399
* updating travis
* added without release back in
* added no debug to get around llvm issue
2017-09-29 09:25:26 +03:00
Serdar Dogruyol
00217d9545
Add more types to method signatures
2017-08-24 23:32:43 +03:00
sdogruyol
b194b0b03c
Don't use single line block syntax
2017-06-23 12:18:40 +03:00
Sijawusz Pur Rahnama
e276c0a278
Fix regression introduced in 1afb4cbfa8
( #331 )
2017-03-12 14:37:23 +02:00
Sdogruyol
a430b85ee7
Remove Gzip hack since https://github.com/crystal-lang/crystal/issues/4060 is fixed
2017-03-07 19:47:39 +03:00
Sdogruyol
8331beceef
Move Crystal core classes to ext
2017-03-04 00:01:26 +03:00
Sdogruyol
596452f838
More docs
2017-03-03 23:56:29 +03:00
Sdogruyol
c28abb987e
Fix #316 caused by Crystal
2017-02-24 10:25:52 +03:00
Serdar Dogruyol
b7ce53e5ab
Crystal 0.21.0 support ( #304 )
...
Crystal 0.21.0 support
2017-02-21 21:24:11 +02:00
Sdogruyol
72dc6cf775
Fix missing semicolon in kemal#run
2017-02-06 20:16:51 +03:00
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