Maciej Piechotka
|
4251b0bc10
|
Refactor resource route parsing to allow repetition in the regexes
|
2018-09-06 08:51:55 +02:00 |
|
Nikolay Kim
|
eb1e9a785f
|
allow to use fn with multiple arguments with .with()/.with_async()
|
2018-08-16 20:29:06 -07:00 |
|
Nikolay Kim
|
cfe4829a56
|
add TestRequest::execute() helper method
|
2018-08-08 16:13:45 -07:00 |
|
Nikolay Kim
|
2071ea0532
|
HttpRequest::url_for is not working with scopes #429
|
2018-07-31 15:40:52 -07:00 |
|
Nikolay Kim
|
d6abd2fe22
|
allow to handle empty path for application with prefix
|
2018-07-24 14:51:48 -07:00 |
|
Nikolay Kim
|
2dd57a48d6
|
checks nested scopes in has_resource()
|
2018-07-16 11:33:29 +06:00 |
|
Nikolay Kim
|
b7a3fce17b
|
simplify has_prefixed_route()
|
2018-07-16 11:10:51 +06:00 |
|
Mathieu Amiot
|
8f64508887
|
Added RouteInfo::has_prefixed_route() method for route matching with prefix awareness
|
2018-07-15 19:37:20 +02:00 |
|
Nikolay Kim
|
2214492792
|
use assert and restore test case
|
2018-07-15 18:53:02 +06:00 |
|
Nikolay Kim
|
42d3e86941
|
calculate prefix dynamicly
|
2018-07-15 16:25:56 +06:00 |
|
Nikolay Kim
|
b759dddf5a
|
simplify application prefix impl
|
2018-07-15 16:25:56 +06:00 |
|
Nikolay Kim
|
9570c1cccd
|
rename RouteInfo
|
2018-07-15 16:25:56 +06:00 |
|
Nikolay Kim
|
da915972c0
|
refactor router
|
2018-07-15 16:25:56 +06:00 |
|
Nikolay Kim
|
b8b90d9ec9
|
rename ResourceHandler to Resource
|
2018-07-12 15:30:01 +06:00 |
|
Nikolay Kim
|
6fd686ef98
|
cleanup warnings
|
2018-07-04 21:01:27 +06:00 |
|
Nikolay Kim
|
fec6047ddc
|
refactor HttpRequest mutability
|
2018-07-02 23:35:32 +06:00 |
|
Armin Ronacher
|
a5369aed8b
|
Changes a leaked box into an Rc<String> and makes resource() return an Option (#343)
|
2018-06-23 08:16:52 +02:00 |
|
Nikolay Kim
|
4fadff63f4
|
Use Box::leak for dynamic param names
|
2018-06-23 09:57:03 +06:00 |
|
Armin Ronacher
|
dda6ee95df
|
Changes the router to use atoms internally (#341)
|
2018-06-22 09:33:32 +02:00 |
|
Nikolay Kim
|
6c44575923
|
transmute names once
|
2018-06-22 11:44:38 +06:00 |
|
Nikolay Kim
|
58d1f4a4aa
|
switch to actix master
|
2018-06-21 13:34:36 +06:00 |
|
Nikolay Kim
|
2f917f3700
|
various cleanups and comments
|
2018-06-20 01:27:41 +06:00 |
|
Nikolay Kim
|
27b6af2800
|
refactor route matching
|
2018-06-19 16:45:26 +06:00 |
|
Nikolay Kim
|
3c472a2f66
|
remove debug prints
|
2018-06-02 11:57:49 -07:00 |
|
Nikolay Kim
|
4a39216aa7
|
fixed HttpRequest::url_for for a named route with no variables #265
|
2018-06-02 11:44:09 -07:00 |
|
Pascal Hertleif
|
890a7e70d6
|
Add missing API docs
These were written without much knowledge of the actix-web internals!
Please review carefully!
|
2018-06-02 15:52:50 +02:00 |
|
Nikolay Kim
|
17f1a2b92a
|
more scope tests
|
2018-05-23 14:11:01 -07:00 |
|
Nikolay Kim
|
68eb2f26c9
|
Allow to use path without traling slashes for scope registration #241
|
2018-05-23 13:21:29 -07:00 |
|
Nikolay Kim
|
45e9aaa462
|
rustfmt 0.7
|
2018-05-17 12:20:20 -07:00 |
|
Nikolay Kim
|
a817ddb57b
|
add variable segments support for scope prefix
|
2018-05-07 13:50:43 -07:00 |
|
Alexander Andreev
|
cd11293c1f
|
spelling check
|
2018-05-06 19:07:30 +03:00 |
|
Nikolay Kim
|
48e05a2d87
|
add nested scope support
|
2018-04-30 22:04:24 -07:00 |
|
Nikolay Kim
|
c72d1381a6
|
clippy warnings
|
2018-04-29 09:09:08 -07:00 |
|
Nikolay Kim
|
de49796fd1
|
clippy warnings; fmt
|
2018-04-28 22:55:47 -07:00 |
|
Nikolay Kim
|
a826d113ee
|
add custom request path quoter #182
|
2018-04-17 12:55:13 -07:00 |
|
Nikolay Kim
|
113f5ad1a8
|
add rustfmt config
|
2018-04-13 16:02:01 -07:00 |
|
Nikolay Kim
|
6c906b08e1
|
match resource path before executing middlewares
|
2018-04-02 10:27:37 -07:00 |
|
Nikolay Kim
|
17c27ef42d
|
HttpRequest::resource() returns current matched resource
|
2018-04-01 17:37:22 -07:00 |
|
Nikolay Kim
|
90e3aaaf8a
|
fix router cannot parse Non-ASCII characters in URL #137
|
2018-03-28 16:10:58 -07:00 |
|
Nikolay Kim
|
2158ad29ee
|
add Pattern::with_prefix, make it usable outside of actix
|
2018-03-02 20:39:22 -08:00 |
|
Nikolay Kim
|
72aa2d9eae
|
clippy warnings
|
2018-02-26 14:33:56 -08:00 |
|
Nikolay Kim
|
aff43cc8b8
|
fix routes registration order
|
2018-02-22 05:48:18 -08:00 |
|
Nikolay Kim
|
fd56e5dc82
|
do not use regset for route recognition
|
2018-02-21 14:31:22 -08:00 |
|
Nikolay Kim
|
6ee14efbe2
|
optimize http message serialization
|
2018-02-19 17:21:04 -08:00 |
|
Nikolay Kim
|
4d81186059
|
escape router pattern re
|
2018-02-19 14:57:57 -08:00 |
|
Nikolay Kim
|
e439d0546b
|
* fix force_close
* shutdown io before exit
* fix response creation with body from pool
|
2018-01-03 18:21:34 -08:00 |
|
Nikolay Kim
|
70ea43b3c0
|
fix drain support for actor; make pattern more reusable
|
2018-01-02 23:43:17 -08:00 |
|
Nikolay Kim
|
cc38b30f7b
|
refactor http actor usage
|
2017-12-31 17:26:32 -08:00 |
|
Nikolay Kim
|
6ea894547d
|
better application handling, fix url_for method for routes with prefix
|
2017-12-29 14:04:13 -08:00 |
|
Nikolay Kim
|
491d43aa8c
|
update tests
|
2017-12-29 11:49:36 -08:00 |
|