1
0
mirror of https://github.com/actix/examples synced 2024-11-30 17:14:35 +01:00
Commit Graph

560 Commits

Author SHA1 Message Date
Yuki Okushi
7823473f8d
Sanitize filename 2020-05-19 13:48:49 +09:00
Yuki Okushi
b61f7a5e96
Add introduction to use mkcert 2020-05-19 12:46:00 +09:00
Pieter Frenssen
bc6f614f78
Improve the static files example. (#317)
* Improve the static files example.

* Replace the broken websocket example with a simple static HTML page.
* Show how to serve a second directory which is located inside the main
  directory but has file listing enabled.
* Demonstrate that a hierarchy of static files can be served by placing the
  JS and CSS files in their respective subfolders.
* Document how to use the example in the README.

* Improve formatting.
2020-05-18 07:28:47 +09:00
Yuki Okushi
20301845fc
Merge pull request #315 from david-perez/master
Refactor FromRequest for LoggedUser in simple-auth-server
2020-05-15 09:11:09 +09:00
david-perez
10f862ce94 Refactor FromRequest for LoggedUser in simple-auth-server 2020-05-14 00:41:09 +02:00
Yuki Okushi
017daacbd9
Merge pull request #310 from JohnTitor/fix-cmpl
Fix workspace compilation
2020-04-30 16:12:14 +09:00
Yuki Okushi
f624a3b011
Tweak CI config 2020-04-30 15:43:41 +09:00
Yuki Okushi
6bfdec78af
Fix workspace compilation 2020-04-30 03:21:47 +09:00
Yuki Okushi
eb7851c967
Merge pull request #308 from erlend-sh/patch-1
Add MeiliSearch as production example
2020-04-29 18:41:22 +09:00
Erlend Sogge Heggen
92ddda1af7
Add MeiliSearch as production example
MeiliSearch very recently migrated from Tide to actix-web: https://github.com/meilisearch/MeiliSearch/pull/601
2020-04-29 09:09:47 +02:00
Yuki Okushi
53c778d436
Merge pull request #307 from botika/master
Update yarte version to 0.8
2020-04-29 11:11:57 +09:00
Juan Aguilar Santillana
a65abad80d Update yarte version to 0.8 2020-04-28 21:18:18 +02:00
Milan Zivkovic
8dab533b40
Simple Todo API using actix-web and sqlx with postgresql database (#303)
* Simple Todo application using Actix-web with SQLx and PostgreSQL

* fix issue with not matching project name

* remove comment

* - downgrade on actix-web 2.0.0
- fixed typo
- renamed .env-example to .env.example
- removed comments
2020-04-23 17:03:04 +09:00
Chojan Shang
9155edfe8d
Update dependencies for casbin example. (#300)
* Update dependencies & Clean description.

* Add .env for logger.

* Updating code due to code review.
2020-04-20 07:52:00 +09:00
Yuki Okushi
3b7d9d8b7a
Merge pull request #298 from pymongo/master
Remove unused variable _stopper in shutdown-server example
2020-04-17 07:10:40 +09:00
吴翱翔
2fc8d39940 Remove unused variable _stopper 2020-04-16 19:16:41 +08:00
Yuki Okushi
ea5df90869
Merge pull request #294 from pfrenssen/use-random-keys
Demonstrate how to use random keys for sessions
2020-04-13 19:25:28 +09:00
Pieter Frenssen
83bf0015c8 Demonstrate how to use random keys for sessions. 2020-04-13 12:36:52 +03:00
Yuki Okushi
d04f0c2e56
Merge pull request #284 from actix/remove-kriry
update dead kriry source link
2020-04-09 21:51:44 +09:00
Yuki Okushi
3f6a81e39b
Merge pull request #293 from actix/fix/chat-broker
websocket chat broker improvements
2020-04-09 17:37:59 +09:00
Rob Ede
56443d9e9c
remove jquery from broker chat client side 2020-04-09 03:20:18 +01:00
Rob Ede
a892a062e1
upgrade ws chat broker dependencies 2020-04-09 01:54:28 +01:00
Yuki Okushi
029c888dc8
Merge pull request #291 from JohnTitor/bump-deps3
part3: Update dependencies
2020-04-09 00:48:18 +09:00
Yuki Okushi
b84e1d9fb4
part3: Update dependencies 2020-04-08 01:18:52 +09:00
Yuki Okushi
32d821d321
Merge pull request #289 from BartWillems/master
Remove unwraps from websocket-chat
2020-04-06 22:46:46 +09:00
Bart Willems
ed8d4b5a8b removed unnecessary unwraps from websocket-chat
Signed-off-by: Bart Willems <bwillems@protonmail.com>
2020-04-05 22:30:15 +02:00
Yuki Okushi
0fb09fdf62
Merge pull request #288 from JohnTitor/bump-deps2
part2: Update dependencies
2020-04-06 04:02:22 +09:00
Rob Ede
051c25d89d
remove dead kriry links
github.com/kriry no longer available

fixed #283
2020-04-05 13:30:41 +01:00
Yuki Okushi
4e051e8cd5
part2: Update dependencies 2020-04-05 13:50:44 +09:00
Yuki Okushi
b8620702fa
Merge pull request #287 from JohnTitor/bump-deps
part1: Update dependencies
2020-04-05 13:27:32 +09:00
Yuki Okushi
6cdc1c8738
part1: Update dependencies 2020-04-05 02:30:49 +09:00
Yuki Okushi
328e170c76
Merge pull request #286 from JohnTitor/clean-up
Clean-up things
2020-04-03 20:47:26 +09:00
Yuki Okushi
046604f286
Run rustfmt 2020-04-03 16:16:17 +09:00
Yuki Okushi
8f1c0a85cf
Fix/suppress warnings 2020-04-03 16:14:30 +09:00
Yuki Okushi
0f1568bd3c
Merge pull request #285 from JohnTitor/s3-cleanup
Clean-up s3 example
2020-04-03 15:11:00 +09:00
Yuki Okushi
cf56557d00
Clean-up s3 example 2020-04-01 18:56:36 +09:00
Yuki Okushi
20123c5d80
Merge pull request #280 from Jonathas-Conceicao/topic/fix_jsonrpc
jsonrpc: Fix AppState extraction
2020-03-28 12:35:59 +09:00
Yuki Okushi
92c9dd4c53
Merge pull request #281 from JohnTitor/diesel-uuid
Fix simple-auth-server compilation
2020-03-28 12:35:33 +09:00
Yuki Okushi
1c828c2e49
Merge pull request #277 from emreyalvac/patch-1
JWT example added to README.md
2020-03-28 10:50:23 +09:00
Yuki Okushi
e921a3f3cd
Fix simple-auth-server compilation 2020-03-28 10:47:54 +09:00
Jonathas-Conceicao
024c5e7597 jsonrpc: Fix AppState extraction
Signed-off-by: Jonathas-Conceicao <jadoliveira@inf.ufpel.edu.br>
2020-03-27 21:57:31 -03:00
Emre YALVAÇ
ac1868fdf2
JWT example added to README.md 2020-03-22 18:51:50 +03:00
Voldracarno Draconor
5320117bca
Fixed possible panic in multipart example (#276)
* Fixed possible panic

* Fixed possible panic in multipart-async-std
2020-03-22 08:31:45 +09:00
ggomagundan
7eaa87f4f1
add AWS_REGION env variable and add _ prefix (#270)
* add AWS_REGION env variable and add _ prefix

* update indent and remove brackets

* remove match code line

Co-authored-by: Kai <byeongsangp@tripbtoz.com>
2020-03-20 09:21:58 +09:00
Yuki Okushi
ee0d84fe38
Merge pull request #272 from JohnTitor/rusoto
Update `rusoto` dependencies to 0.43.0
2020-03-17 18:41:11 +09:00
Yuki Okushi
9eef5f2b6b
Update rusoto dependencies to 0.43.0 2020-03-17 08:53:05 +09:00
Yuki Okushi
4c9ec8b533
Merge pull request #271 from botika/master
Update yarte version to 0.7
2020-03-17 08:26:00 +09:00
Juan Aguilar Santillana
99e9d70225 Update yarte version to 0.7 2020-03-16 12:04:11 +01:00
Stig Johan Berggren
8f3ce39d05
New example: Return JSON decode errors to a client (#268)
* Add JSON decode error example

* cargo fmt

* Use more appropriate response codes

* curl -i similar for all examples

* Add one more example of 422 response

* use to_string instead of empty format!
2020-03-16 03:21:13 +09:00
Yuki Okushi
456f3efc55
Merge pull request #267 from hsluoyz/master
Add Casbin example to README
2020-03-07 16:04:50 +09:00