1
0
mirror of https://github.com/actix/examples synced 2024-11-23 22:41:07 +01:00
Commit Graph

282 Commits

Author SHA1 Message Date
dowwie
858376ecda renamed package 2019-07-11 15:27:17 -04:00
dowwie
99c9e145c1 updated redis-session with comprehensive example and tests 2019-07-11 15:10:09 -04:00
Nikolay Kim
8c019519b9 update redis examples 2019-07-11 15:11:05 +06:00
Nikolay Kim
93275d7986 update chat-broker example and fmt 2019-07-11 15:02:25 +06:00
Guoli Lyu
4aa663e794 feat: update ws client example to actix-web 1.0 (#143) 2019-07-11 14:48:14 +06:00
Arve Seljebu
59df61db6f update users sessions link (#154) 2019-07-11 14:47:41 +06:00
Juan Aguilar
3f286b5b60 Update yarte version to 0.3 (#155) 2019-07-11 14:47:22 +06:00
Arve Seljebu
82786d4461 Full proxy omit content length (#152)
* omit content-length header in http-full-proxy

* cargo fmt
2019-07-01 10:02:51 +06:00
Juan Aguilar
7c747c5006 Bump yarte version to 0.2.1 (#153) 2019-07-01 10:02:14 +06:00
Dany Marcoux
ed24f61cca Add openSUSE instructions for diesel example (#149) 2019-06-28 14:53:08 +06:00
Julian Tescher
58675a683b Do not decompress proxied responses (#151)
If you decompress a proxied response that was encoded, the `content-encoding` header will be passed through but a plaintext body will be returned.
2019-06-28 14:52:12 +06:00
Niels Nielsen
b0d3c652b2 Fix error message for failed connection (#144) 2019-06-22 13:08:45 +06:00
Kai Yao
733eb93a97 Added json_error example. (#146) 2019-06-22 13:08:18 +06:00
Valentin
748d4516eb Avoid double Arc inside template_handlebars (#147) 2019-06-22 13:07:39 +06:00
Nikolay Kim
e7ed6755a5 use cors and identity crates 2019-06-17 12:48:03 +06:00
Nikolay Kim
c8467d1ffd
Merge pull request #141 from pka/diesel-sqlite-fix
Read SQLite path from .env and fix DATABASE_URL
2019-06-16 08:44:13 +06:00
Pirmin Kalberer
a1d799a3f2 Read SQLite path from .env and fix DATABASE_URL 2019-06-12 23:03:20 +02:00
krircc
238e68de65
Update README.md 2019-06-11 17:47:37 +08:00
krircc
65adce90f8
Update README.md 2019-06-11 17:47:04 +08:00
Nikolay Kim
8a547e12ab
Merge pull request #140 from arve0/http-proxy-tls
resolve issue 139
2019-06-11 11:54:23 +06:00
Arve Seljebu
114056bc76 resolve issue 139 2019-06-10 18:06:56 +02:00
Nikolay Kim
7373a5b1ef
Merge pull request #138 from tiniuclx/master
Adds Handlebars example
2019-06-09 11:00:33 +06:00
Alexandru Tiniuc
006b7f3d08 adds Handlebars example
Closes #122
2019-06-08 18:48:20 +01:00
Nikolay Kim
a93d8f41d4
Merge pull request #135 from ctm/insignificant_typos
Fixes trivial typos.
2019-06-08 10:02:52 +06:00
Nikolay Kim
6fbbacc077
Merge pull request #136 from fairingrey/fix_validation
add unused validation to async_ex1 example
2019-06-08 10:02:29 +06:00
grey
72a58b7ca8 cargo fmt 2019-06-07 13:30:14 -07:00
grey
f1a34d534c add unused validation to async_ex1 example 2019-06-06 15:30:54 -07:00
Clifford T. Matthews
f7dd2e6236 Fixes trivial typos. 2019-06-06 15:20:25 -06:00
Nikolay Kim
aa5750cafc update actix-web to 1.0.0 2019-06-06 16:47:40 +06:00
Darin
db86fdc3db
Merge pull request #133 from Dowwie/master
Re-ordered registration of logging middleware
2019-06-01 12:36:13 -04:00
dowwie
a8b49dfaec updated code comment about log middleware 2019-06-01 09:27:34 -04:00
dowwie
4e3a42d77d changed order of logging middleware, which must register last 2019-06-01 09:24:54 -04:00
Nikolay Kim
6c7b068a90
Merge pull request #129 from blackjune/patch-1
Fix bug in state type
2019-05-25 09:20:40 -07:00
blackjune
511ab8ce51
Fix bug in state type
Fix bug in state type 
```rust
let counter = Arc::new(Mutex::new(0));
```
may not be usize

Error before this change:
```
App data is not configured, to configure use App::data()
```
2019-05-25 22:22:43 +08:00
Nikolay Kim
eff911db89
Merge pull request #127 from senden9/patch-1
Fix bug in database script
2019-05-25 02:14:24 -07:00
Stefano Probst
25f7ce87b4
Fix bug in database script
Fix error that occurs if script is used like in the async_db readme.

Error before this change:
``` bash
$ LANG=C bash db/setup_db.sh
db/setup_db.sh: line 2: db.sql: No such file or directory
Error: cannot open "nyc_centralpark_weather.csv
```
2019-05-24 20:34:08 +02:00
Nikolay Kim
49fc6df226
Merge pull request #121 from zeljic/revert-120-fix-http-full-proxy-streaming
Revert "fix streaming issue in http-full-proxy example"
2019-05-21 14:14:10 -07:00
Nikolay Kim
7491a003c3
Merge pull request #124 from hstefan/protobuf-crate
Adapting protobuf example to use actix_protobuf
2019-05-21 14:13:52 -07:00
Stefan Puhlmann
fdf061610d Adapting protobuf example to use actix_protobuf 2019-05-21 22:09:27 +02:00
Đorđe Zeljić
e771c05815
Revert "fix streaming issue in http-full-proxy example" 2019-05-16 00:03:08 +02:00
Nikolay Kim
343e240807
Merge pull request #120 from zeljic/fix-http-full-proxy-streaming
fix streaming issue in http-full-proxy example
2019-05-12 18:52:31 -07:00
zeljic
e07bbfe01c fix streaming issue in http-full-proxy example 2019-05-12 23:11:58 +02:00
Nikolay Kim
cee9142257 upgrade actix-web 2019-05-12 11:58:26 -07:00
huang.xiangdong
68509a7eaf use absolute path 2019-05-06 18:30:39 +03:00
huang.xiangdong
67bc0144ba fix return home link bug 2019-05-06 18:30:39 +03:00
Nikolay Kim
8de183768c upgrade to beta3 2019-05-04 21:52:24 -07:00
Nikolay Kim
d571ee5abb explicit Error for middlewares 2019-04-25 11:19:21 -07:00
Nikolay Kim
0445615e59 update jsonwebtoken 2019-04-23 11:23:46 -07:00
Sylvain Kerkour
982ec7bb2f multipart: fix size result calculation 2019-04-22 16:42:04 +03:00
Nikolay Kim
f073d9029f use actix-multipart 0.1.0-beta.1 2019-04-21 17:08:16 -07:00