naerbnic
e53e9c8ba3
Add the start_with_addr() function, to obtain an addr to the target websocket actor ( #988 )
2019-07-20 11:17:58 +06:00
Nikolay Kim
941241c5f0
Remove unneeded actix-utils dependency
2019-07-20 10:50:36 +06:00
svartalf
f808e0680d
Release 0.3.2
2019-07-19 18:43:36 +03:00
Masaki Hara
4eeb1d9599
Tighten HttpAuthentication::with_fn bound from FnMut to Fn. ( #11 )
...
* Tighten HttpAuthentication::with_fn bound from FnMut to Fn.
* Add middleware with closure example.
2019-07-19 18:34:59 +03:00
jesskfullwood
f8320fedd8
add note about Query decoding ( #992 )
2019-07-19 17:37:49 +06:00
jesskfullwood
c808364c07
make Query payload public ( #991 )
2019-07-19 15:47:44 +06:00
Nikolay Kim
085ee4c394
remove ClonableService usage
2019-07-19 14:10:23 +06:00
Nikolay Kim
cccd829656
update changes
2019-07-19 11:07:52 +06:00
Anton Lazarev
3650f6d7b8
Re-implement Host predicate ( #989 )
...
* update HostGuard implementation
* update/add tests for new HostGuard implementation
2019-07-19 10:28:43 +06:00
Nikolay Kim
6b7df6b242
prep actix-web release
2019-07-18 17:51:51 +06:00
Nikolay Kim
b6ff786ed3
update dependencies
2019-07-18 17:50:10 +06:00
Nikolay Kim
9c3789cbd0
revert DateServiceInner changes
2019-07-18 17:37:41 +06:00
Armin Ronacher
29098f8397
Add support for downcasting response errors ( #986 )
...
* Add support for downcasting response errors
* Added test for error casting
2019-07-18 17:25:50 +06:00
Nikolay Kim
fbdda8acb1
Unix domain sockets (HttpServer::bind_uds) #92
2019-07-18 17:24:12 +06:00
Rotem Yaari
d03296237e
Log error results in Logger middleware ( closes #938 ) ( #984 )
...
* Log error results in Logger middleware (closes #938 )
* Log internal server errors with an ERROR log level
* Logger middleware: don't log 500 internal server errors, as Actix now logs them always
* Changelog
2019-07-18 14:31:18 +06:00
Aaron Hill
b36fdc46db
Remove several usages of 'unsafe' ( #968 )
...
* Replace UnsafeCell in DateServiceInner with Cell
The previous API was extremely dangerous - calling `get_ref()`
followed by `reset()` would trigger instant UB, without requiring
any `unsafe` blocks in the caller.
By making DateInner `Copy`, we can use a normal `Cell` instead
of an `UnsafeCell`. This makes it impossible to cause UB (or even panic)
with the API.
* Split unsafe block HttpServiceHandlerResponse
Also add explanation of the safety of the usage of `unsafe`
* Replace UnsafeCell with RefCell in PayloadRef
This ensures that a mistake in the usage of 'get_mut' will cause
a panic, not undefined behavior.
2019-07-18 04:45:17 +06:00
Nikolay Kim
2a2d7f5768
nightly clippy warnings
2019-07-17 15:53:51 +06:00
Nikolay Kim
4092c7f326
clippy warnings
2019-07-17 15:08:30 +06:00
Nikolay Kim
ef3e1037a8
bump version
2019-07-17 14:18:26 +06:00
Nikolay Kim
baaa7b3fbb
Replace ClonableService with local copy
2019-07-17 13:55:44 +06:00
Ravi Shankar
32718b7e31
Expose factory traits and some clippy fixes ( #983 )
2019-07-17 12:58:42 +06:00
Nikolay Kim
c01611d8b5
prepare actix-web release
2019-07-17 12:07:12 +06:00
Nikolay Kim
7b1dcaffda
cleanup deprecation warning for Box<dyn>
2019-07-17 11:44:39 +06:00
Nikolay Kim
c65dbaf88e
expose app's ResourceMap via resource_map method
2019-07-17 11:33:05 +06:00
Nikolay Kim
c45728ac01
prep test server release
2019-07-16 10:21:52 +06:00
Andrea Corradi
6f71409355
Add DELETE, PATCH, OPTIONS methods to TestServerRunner ( #973 )
2019-07-16 10:19:28 +06:00
Nikolay Kim
13fe045bf8
Merge pull request #27 from Dowwie/master
...
added comprehensive tests for session workflow
2019-07-12 11:15:57 +06:00
dowwie
b874e0311a
added derive feature for serde
2019-07-11 15:35:43 -04:00
dowwie
7df26cb269
updated CHANGES.md
2019-07-11 15:19:37 -04:00
dowwie
3d9c1c55d6
updated CHANGES.md
2019-07-11 15:19:22 -04:00
dowwie
24b78b8e17
added comprehensive tests for session workflow
2019-07-11 15:17:57 -04:00
Nikolay Kim
8d17c8651f
update bench link
2019-07-11 14:45:58 +06:00
messense
b1143168e5
Impl Responder for (T, StatusCode) where T: Responder ( #954 )
2019-07-11 14:42:58 +06:00
Nikolay Kim
69456991f6
update api doc example for client and add panic info for connection_info
2019-07-11 14:40:37 +06:00
Darin
ea7924897a
Merge pull request #26 from Dowwie/master
...
updated all dependencies
2019-07-10 06:25:02 -04:00
dowwie
b29f8cc0f0
updated log dep
2019-07-08 14:51:54 -04:00
dowwie
06ce468ee0
updated deps
2019-07-08 14:49:34 -04:00
Nikolay Kim
f410f3330f
prepare actix-session release
2019-07-08 23:25:51 +06:00
Darin
60f28d65f1
Merge pull request #23 from Dowwie/master
...
updated session logic to support login and logout functionality
2019-07-08 07:16:36 -04:00
dowwie
3244a359df
reverted to 0.6 because it wasn't ever released
2019-07-08 07:15:20 -04:00
Jeff Muizelaar
e1fcd203f8
Update the copyless version to 0.1.4 ( #956 )
...
< 0.1.4 failed to check for null when doing allocations which could lead to null dereferences.
2019-07-08 15:48:20 +06:00
Michael Snoyman
0d8a4304a9
Drop a duplicated word ( #958 )
2019-07-05 20:46:55 +06:00
dowwie
1d1ff66063
updated version to 0.7 and added comments to CHANGES.md
2019-07-04 06:10:03 -04:00
Darin
14cc5a5d6b
Merge pull request #912 from Dowwie/master
...
updated actix-session to support login and logout functionality
2019-07-03 21:07:07 -04:00
Darin
287c2b1d18
Merge branch 'master' into master
2019-07-03 18:50:19 -04:00
dowwie
7596ab69e0
reverted actix-web/CHANGES.md
2019-07-03 08:55:29 -04:00
dowwie
1fdd77bffa
reworded session info in CHANGES
2019-07-03 07:56:50 -04:00
dowwie
2d424957fb
updated version in Cargo to 0.2
2019-07-03 07:50:45 -04:00
dowwie
dabc4fe00b
updated actix-session/CHANGES with info
2019-07-03 07:50:11 -04:00
dowwie
5bf5b0acd2
updated CHANGES with info about actix-session update
2019-07-03 07:46:46 -04:00