Commit Graph

3435 Commits

Author SHA1 Message Date
Rob Ede f37cb6dd0b
refactor h1 status line helper to remove unsafe usage (#1484)
Co-authored-by: Yuki Okushi <huyuumi.dev@gmail.com>
2020-05-03 17:37:40 +09:00
Zhang Zhongyu c44548e434
Merge pull request #49 from actix/master
#1465 #1473 #1476 #1481
2020-05-03 01:26:22 +08:00
Mikail Bagishov d5ceae2074
Replace deprecated now with now_utc (#1481)
* Replace deprecated now with now_utc

* Update doctest
2020-05-02 10:14:50 +01:00
Rob Ede c27d3fad8e
clarify resource/scope app data overriding (#1476)
* relocate FnDataFactory

* clarify app data overriding in Scope and Resource

Co-authored-by: Yuki Okushi <huyuumi.dev@gmail.com>
2020-04-30 02:20:47 +09:00
Rob Ede bb17280f51
simplify data factory future polling (#1473)
Co-authored-by: Yuki Okushi <huyuumi.dev@gmail.com>
2020-04-29 15:38:53 +09:00
Huston Bokinsky b047413b39
Small ws codec fix (#1465)
* Small ws codec fix

* Update actix-http/Changes.md

Co-authored-by: Huston Bokinsky <huston@deepgram.com>
2020-04-29 11:13:09 +09:00
Zhang Zhongyu b56764c1e0
Merge pull request #48 from actix/master
Fix typos in MIGRATION.md (#1470)
2020-04-23 08:35:34 +08:00
Huy ce24630d31
Fix typos in MIGRATION.md (#1470)
* Fix typos in MIGRATION.md

Those are `crate` not `create`

* Update MIGRATION.md
2020-04-23 03:39:09 +09:00
Zhang Zhongyu 457cc74c5f
Merge pull request #47 from actix/master
Merge pull request actix#1463
2020-04-21 14:39:19 +08:00
Yuki Okushi 751253f23e
Merge pull request #1463 from actix/fix/doc-typos
fix spelling errors in doc comments
2020-04-21 13:47:03 +09:00
Rob Ede 5b0f7fff69
fix spelling errors in doc comments 2020-04-21 04:09:35 +01:00
Zhang Zhongyu 94557c00ee
Merge pull request #46 from actix/master
Merge pull request actix#1452
2020-04-16 09:12:36 +08:00
Yuki Okushi 54619cb680
actix-http: Remove `failure` support (#1449) 2020-04-16 06:54:34 +09:00
Yuki Okushi 5b36381cb0
Merge pull request #1452 from actix/fix/default-service-data
set data container on default service calls
2020-04-16 06:01:56 +09:00
Rob Ede 45e2e40140
set data container on default service calls
closes #1450
2020-04-14 02:33:19 +01:00
Zhang Zhongyu afbd1617a4
Merge pull request #45 from actix/master
Merge pull request actix#1451
2020-04-13 08:57:04 +08:00
Yuki Okushi df3f722589
Merge pull request #1451 from actix/cache
Remove cache config from GHA workflows
2020-04-13 06:06:45 +09:00
Yuki Okushi e7ba871bbf
Remove cache config from GHA workflows 2020-04-13 03:42:44 +09:00
Zhang Zhongyu 1c566cbc2d
Merge pull request #44 from actix/master
Merge pull request actix#1442
2020-04-09 08:33:23 +08:00
Yuki Okushi ebc2e67015
Merge pull request #1442 from JohnTitor/workspace-doc
Deploy all the workspace crates' docs
2020-04-09 00:48:08 +09:00
Yuki Okushi 74ddc852c8
Tweak README 2020-04-08 04:48:01 +09:00
Yuki Okushi dfaa330a94
Deploy all the workspace crates' docs 2020-04-08 04:42:38 +09:00
Zhang Zhongyu 92ac922f88
Merge pull request #43 from actix/master
Add convenience functions for testing (#1401)
2020-04-06 08:40:46 +08:00
Tore Pettersen 0ad02ee0e0
Add convenience functions for testing (#1401)
* Add convenience functions for testing

* Fix remarks from PR and add tests

* Add unpin to read_json_body

* Update changelog
2020-04-06 04:12:44 +09:00
Zhang Zhongyu ed28083c02
Merge pull request #42 from actix/master
Change NormalizePath to append trailing slash (#1433)
2020-04-05 17:31:12 +08:00
Stephen Eckels aaff68bf05
Change NormalizePath to append trailing slash (#1433)
* Change NormalizePath to append trailing slash

* add tests

* Update CHANGES.md

Co-authored-by: Yuki Okushi <huyuumi.dev@gmail.com>
2020-04-05 03:26:40 +09:00
Zhang Zhongyu 5827ea0f15
Merge pull request #41 from actix/master
Merge pull request actix#1431
2020-03-28 15:04:27 +08:00
Yuki Okushi fcb1dec235
Merge pull request #1431 from OSSystems/topic/explicit-features-requirements
Add explicit feature requirements for examples and tests
2020-03-28 10:58:00 +09:00
Otavio Salvador 7b7daa75a4 Add explicit feature requirements for examples and tests
This allow us to build 'actix-web' without default features and run all
tests.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2020-03-25 23:49:24 -03:00
Zhang Zhongyu d9b1cb484b
Merge pull request #40 from actix/master
Refactor actix-codegen duplicate code (#1423)
2020-03-20 08:50:26 +08:00
Ivan Tham 2067331884
Refactor actix-codegen duplicate code (#1423)
Co-authored-by: Yuki Okushi <huyuumi.dev@gmail.com>
2020-03-20 04:40:42 +09:00
Zhang Zhongyu 081922f573
Merge pull request #39 from actix/master
Merge pull request actix#1422
2020-03-19 08:53:13 +08:00
Yuki Okushi bf630d9475
Merge pull request #1422 from OSSystems/topic/impl-error-more-types
Implement `std::error::Error` for our custom errors
2020-03-19 05:05:57 +09:00
Otavio Salvador 146ae4da18 Implement `std::error::Error` for our custom errors
For allowing a more ergonomic use and better integration on the
ecosystem, this adds the `std::error::Error` `impl` for our custom
errors.

We intent to drop this hand made code once `derive_more` finishes the
addition of the Error derive support[1]. Until that is available, we
need to live with that.

1. https://github.com/JelteF/derive_more/issues/92

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2020-03-18 00:22:18 -03:00
Zhang Zhongyu f7e37c26e5
Merge pull request #38 from actix/master
Merge pull request actix#1421
2020-03-18 08:53:13 +08:00
Yuki Okushi 52c5755d56
Merge pull request #1421 from actix/JohnTitor-patch-1
Upload coverage on PRs
2020-03-18 06:16:41 +09:00
Yuki Okushi 5548c57a09
Upload coverage on PRs 2020-03-18 05:04:30 +09:00
Zhang Zhongyu 6095daf782
Merge pull request #37 from actix/master
📝 Improve the code example for JsonConfig (#1418)
2020-03-17 13:48:13 +08:00
Stig Johan Berggren 0d958fabd7
📝 Improve the code example for JsonConfig (#1418)
* 📝 Improve the code example for JsonConfig

* Remove a redundant comment
2020-03-17 08:23:54 +09:00
Zhang Zhongyu 340b0bb909
Merge pull request #36 from actix/master
Refactored macros (#1333)
2020-03-15 10:55:21 +08:00
Oleg Nosov c67e4c1fe8
Refactored macros (#1333)
Co-authored-by: Yuki Okushi <huyuumi.dev@gmail.com>
2020-03-15 07:23:28 +09:00
Zhang Zhongyu 18653e0e4a
Merge pull request #35 from actix/master
Merge pull request actix#1416
2020-03-13 08:46:09 +08:00
Yuki Okushi 4875dfbec7
Merge pull request #1416 from JohnTitor/fix-doc
Fix `read_body` doc
2020-03-13 07:06:57 +09:00
Yuki Okushi d602a7e386
Fix `read_body` doc 2020-03-13 05:52:58 +09:00
Zhang Zhongyu 5b8e0e48c2
Merge pull request #34 from actix/master
Merge pull request actix#1411, actix#1413
2020-03-12 16:19:32 +08:00
Yuki Okushi 9f196fe5a5
Merge pull request #1413 from OSSystems/topic/fix-warnings
Fix clippy warnings
2020-03-12 16:24:44 +09:00
Yuki Okushi e4adcd1935
Merge pull request #1411 from JohnTitor/patch
Clean-up metadata
2020-03-12 16:21:34 +09:00
Otavio Salvador 7e0d898d5a Fix clippy warnings
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2020-03-12 00:52:21 -03:00
Zhang Zhongyu 485083e4e5
Merge pull request #33 from actix/master
Merge pull request actix#1410
2020-03-12 08:38:27 +08:00
Yuki Okushi 51518721e5
Add notes to READMEs 2020-03-12 07:57:38 +09:00