Commit graph

587 commits

Author SHA1 Message Date
Ahmet Emre Aladağ
47f505ff76 Update view.cr 2016-01-05 17:35:07 +02:00
sdogruyol
eb4c82043a Add add_handler macro 2016-01-05 14:20:40 +02:00
Sdogruyol
6a4ed2d9eb Add exception logging. Closes #41 2016-01-04 21:54:58 +02:00
Serdar Dogruyol
2585d97a58 Merge pull request #42 from aladagemre/patch-1
Realm added for Basic Authentication
2016-01-04 20:28:05 +02:00
Ahmet Emre Aladağ
87bbb2069f Realm added for Basic Authentication 2016-01-04 20:14:05 +02:00
sdogruyol
7ad319c70d v0.6.0 2016-01-03 22:13:10 +02:00
sdogruyol
c21567fe17 Add macro specs 2016-01-03 13:22:43 +02:00
sdogruyol
806b129b1c Update database doc 2016-01-02 11:54:12 +02:00
sdogruyol
211685ee74 Fix basic_auth 2015-12-31 14:03:11 +02:00
sdogruyol
2c95fa560d Add public_folder to docs 2015-12-30 20:46:42 +02:00
Serdar Dogruyol
aaa2ee1e31 Add public_folder macro 2015-12-30 20:16:04 +02:00
Serdar Dogruyol
b7ec6014aa Merge pull request #39 from mfn/patch-1
docs: string require double quotes
2015-12-28 13:07:51 +02:00
Markus Fischer
612c46e9e8 docs: string require double quotes
Otherwise the following error will be shown:

`Syntax error in ... unterminated char literal, use double quotes for strings`

Tested with crystal --version
Crystal 0.10.0 (Wed Dec 23 21:19:16 UTC 2015)
2015-12-28 11:19:14 +01:00
Serdar Dogruyol
15d776d114 Update middlewares.md 2015-12-27 12:55:49 +02:00
Serdar Dogruyol
bb686597bd Update middlewares.md 2015-12-27 12:08:14 +02:00
Sdogruyol
a36596d332 Update middlewares doc 2015-12-27 12:05:19 +02:00
Sdogruyol
24e2647ed7 Require middleware in bootstrap 2015-12-27 11:59:07 +02:00
Sdogruyol
743fd3682d Add HTTPBasicAuth middleware 2015-12-27 11:53:54 +02:00
Sdogruyol
8b6700695d Update delegate macro in context 2015-12-27 11:17:22 +02:00
Sdogruyol
64fac62804 0.5.0 2015-12-24 19:13:14 +02:00
Serdar Dogruyol
15fabafe68 Merge pull request #37 from AlfonsoUceda/master
Make compatyble with crystal 0.10.0
2015-12-24 19:00:25 +02:00
Alfonso Uceda Pompa
8c0ea21d44 return raw json when we parse the request body 2015-12-24 17:09:33 +01:00
Alfonso Uceda Pompa
e39770b433 Make compatyble with crystal 0.10.0 2015-12-24 16:25:00 +01:00
Sdogruyol
fbc21b197a Rename to Kemal::WebSocketHandler 2015-12-22 20:51:27 +02:00
Sdogruyol
d50d305e99 v0.4.0
- Built-in super simple & fast  WebSocket support
- Remove experimental fork mode
- Improve view macros (Thanks @f)
2015-12-19 10:05:28 +02:00
Sdogruyol
44af664748 Remove experimental fork mode 2015-12-19 10:00:29 +02:00
Sdogruyol
20ef2b2927 Add more documentation 2015-12-18 22:45:28 +02:00
Serdar Dogruyol
b8e7ad2577 Merge pull request #36 from f/master
Add test to make custom renderer macros for projects and add documentation to views.
2015-12-18 10:51:56 +02:00
Fatih Kadir Akın
2d4edc83dc Add test to make custom renderer macros for projects.
Add documentation
2015-12-18 10:44:47 +02:00
Serdar Dogruyol
7b85aa2b45 Update README.md 2015-12-17 11:28:39 +02:00
Serdar Dogruyol
9169469a85 Update README.md 2015-12-17 10:45:24 +02:00
Sdogruyol
5fa399de2c Add websocket_server sample 2015-12-16 20:36:47 +02:00
Sdogruyol
c005bae101 Update docs 2015-12-16 20:34:30 +02:00
Sdogruyol
5eba76da7b Update docs 2015-12-16 20:32:01 +02:00
Sdogruyol
40b8411f25 Format websocket doc 2015-12-16 20:21:17 +02:00
Sdogruyol
f258f28689 Add websocket doc 2015-12-16 20:19:30 +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
0cc66cc9de Bump version to 0.3.0 2015-12-14 20:38:14 +02:00
Sdogruyol
66c8b6d857 Move macros from view to macros 2015-12-14 20:05:46 +02:00
Sdogruyol
5c97942707 Add more documentation 2015-12-13 10:25:04 +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
85a383b328 Fix static file handler 2015-12-10 21:20:32 +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
12c6af7d79 Merge pull request #32 from ilatif/master
Removed env from redirect and changed redirect from method to macro.
2015-12-09 22:27:04 +02:00
Imran Latif
4d1e31cb41 Removed env from redirect and changed redirect from method to macro.
Removed `env.redirect` in-favor of `redirect` in-order to make Kemal's
API look more like Sinatra.

Thanks @sdogruyol and @f for introducing me to macros :-).

Binding HTTP::Server to 0.0.0.0
2015-12-10 01:24:49 +05:00
Serdar Dogruyol
ef3c16b2c0 Merge pull request #31 from f/master
Add layout support for render macro.
2015-12-09 21:57:01 +02:00
Fatih Kadir Akın
9ade49ae20 Add layout support for render macro. It should be improved in the future. 2015-12-09 17:54:49 +02:00