Commit Graph

1250 Commits

Author SHA1 Message Date
Jimmy McDermott 216bb2e601
Update instructions for Heroku (#503) 2020-06-02 11:41:19 +01:00
tanner0101 547078532d fix outdated auth docs, fixes #491 2020-05-28 12:35:25 -04:00
Ian Leitch dc9a8d963b
Add controllers section. (#495) 2020-05-21 17:46:52 +01:00
Siemen Sikkema 25421e7bad
Improve wording in throwing map / flatMap section (#492)
* Improve wording in throwing map / flatMap section

* Merge examples about errors in flatMap
2020-05-21 13:29:39 +01:00
Ian Leitch 95b626c338
Update incorrect `JobsQueueName` references to `QueueName`. (#494) 2020-05-20 17:33:17 +01:00
Tim Condon 46336cb1bf
Link to maintainers to make it easier to find us (#493) 2020-05-20 16:32:39 +01:00
Siemen Sikkema 23789e441c
Remove reference to userInfo (#490) 2020-05-20 06:49:02 -05:00
Manuel Gomez a0108bf5ca
Updated Mongodb package dependency (#488)
The existing code to add MongoDB's driver didn't work because of an extra name and incomplete version on the .product().

```
Error: Could not generate Xcode project: 'hello' /Users/mgomez/Developer/Swift/TrailBucket/hello: error: declared name 'FluentMongoDriver' for package dependency 'https://github.com/vapor/fluent-mongo-driver.git' does not match the actual package name 'fluent-mongo-driver'
```

```
error: because no versions of fluent-mongo-driver match the requirement 1.0.0..<2.0.0 and root depends on fluent-mongo-driver 1.0.0..<2.0.0, version solving failed.
```
2020-05-19 16:28:01 +01:00
tanner0101 832a745801 Merge branch 'master' of github.com:vapor/docs 2020-05-18 16:32:14 -04:00
tanner0101 c76dffcaeb fix anything / catchall routing docs, fixes #487 2020-05-18 16:32:04 -04:00
Anthony Fassler 2455876481
Update CONTRIBUTING.md (#486)
Modification to Install MkDocs with Python 3 because, Python 2.7 is deprecated.
2020-05-18 15:46:27 +01:00
Andrew Edwards 1429d33938
Update queues.md (#483)
* Update queues.md

* Removed Postgres driver.
2020-05-08 10:15:03 -05:00
Hadi Sharghi 35ddd8a14a
Fix a typo in routes for casting parameters (#482) 2020-05-04 13:50:09 +01:00
Matthieu Barthélemy 84711c3793
Add QueuesFluentDriver as community driver (#481)
* Add QueuesFluentDriver as community driver

* Add missing newline
2020-05-02 10:53:07 -05:00
tanner0101 c2e51b26a4 4.5.0 updates 2020-05-01 16:54:33 -04:00
zach wick 9580b0d38c
Fixes #37 (#479)
The `try_files` directive should be within a `location` block, and is
so in all example uses of `try_files` in the nginx documentation at
http://nginx.org/en/docs/http/ngx_http_core_module.html#try_files.

It is however curious that the nginx docs seem to indicate that
`try_files` can operate in either the server or location context, but
no examples show that use case.

Signed-off-by: zach wick <zach@zachwick.com>
2020-05-01 10:00:43 +01:00
zach wick 8065e9098e
Corrects the description of the 'trace' level of logging (#480)
Fixes #463

The 'trace' level of logging is the least severe level of logging in SwiftLog
and should be used only when tracing the execution flow of a program during
debugging.

This description of the 'trace' level of logging, is verbatim the description
of the 'trace' level in the SwiftLog documentation at
74d7b91cee/Sources/Logging/Logging.swift (L327)
and I will file a bug report and PR there in the upstream project.

Signed-off-by: zach wick <zach@zachwick.com>
2020-05-01 09:58:43 +01:00
Sven A. Schmidt b44ef1aa3d
Fix async example to use runIfActive instead of submit (#478) 2020-04-30 18:25:22 +01:00
Ray Fix 22ec9175f9
Fix typo in CreateStarTag migration (#477)
* Fix typo in CreateStarTag migration

A bigger change would be to change the examples to use the static schema property of the model.  That should probably be done for the whole file though.

* fix tag reference in StarTag example
2020-04-24 17:38:31 -04:00
晋先森 be75882392
# Add Simplified Chinese document guidelines. (#474)
* # Add Simplified Chinese document guidelines.

* Update index.md
2020-04-22 15:03:46 -04:00
tanner0101 173d263a3d note on configuring session driver 2020-04-22 14:58:00 -04:00
Max Desiatov 204d1768ef
Use https URL for the docs link in README.md (#476) 2020-04-21 14:18:12 -04:00
Max Desiatov c6a8a34342
Specify 4.3.0 for the vapor repo in upgrading.md (#475)
The sentence about Vapor 4 not being released is out of date, some of the packages have already been tagged.
2020-04-21 14:06:50 -04:00
Mads Odgaard 7a21c207c3
Add repository pattern to "upgrading" (#453)
* Add Repository pattern to "upgrading"

This adds documentation on how to use the repository pattern in Vapor 4 compared to Vapor 3. This fixes #446

* fix spacing

* indentation fix

* change diff
2020-04-21 09:56:32 -04:00
Jonny 2e2951a64b
Update upgrading.md (#473)
Corrects docs on how to configure server port
2020-04-21 12:00:32 +01:00
Joannis Orlandos 3bc0acce3f
Add MongoDB docs for configuration and nested entities (#456)
* Add MongoDB docs for configuration and nested entities

* Update 4.0/docs/fluent/mongo.md

Co-Authored-By: Tim <0xTim@users.noreply.github.com>

* Update 4.0/docs/fluent/config.md

Co-Authored-By: Tim <0xTim@users.noreply.github.com>

* Reorganise fluent docs

* Update mongo docs

* Move MongoDB modelling info into advanced

Co-authored-by: Tim <0xTim@users.noreply.github.com>
2020-04-17 12:09:13 -04:00
Mathew Polzin 94984a7dd6
Add documentation for Docker deploys. (#465)
* Add documentation for Docker deploys.

* fill in some holes

* Address PR feedback.

* Apply suggestions from code review

Co-Authored-By: Jimmy McDermott <mcdappdev@gmail.com>

* prefer 'development machine' over 'developer machine'

* minor phrasing tweak

* Address PR feedback.

Co-authored-by: Jimmy McDermott <mcdappdev@gmail.com>
2020-04-16 12:57:56 -04:00
grosch f10729c06f
Added docs for beforeEncode and afterEncode to Content.md (#471)
* Added docs for beforeEncode and afterEncode

* Update content.md

* Update content.md

Co-authored-by: Tanner <tannernelson@gmail.com>
2020-04-15 16:17:24 -04:00
Kristaps Grinbergs e41d39d4e0
Updated Websocket intro and links (#470) 2020-04-14 12:16:14 +01:00
Michal Šrůtek 3520a7dc85
Update Xcode version info, remove warning, fix a typo (#469) 2020-04-11 20:41:52 +01:00
Tanner 7af47ba980
vapor 4.0.0 gm (#462)
* vapor 4.0.0 gm

* env debug

* start sessions docs

* fluent session driver setup

* session + fluent + auth

* errors

* fix italics typo

* middleware

* password apis

* add server docs

* server docs

* xctvapor docs

* services

* quote
2020-04-09 13:39:51 -04:00
Justin 41dfa79cbe
updates queues.md with minor correction (#466)
import Jobs -> import Queues
2020-04-06 11:36:02 +01:00
Tanner 4972d708bd
websocket docs (#460) 2020-03-30 18:42:14 -04:00
Patrick 55a5162e21
Specified a return type (#459)
Not specifying a return type is only possible on closures when it's a single line function
2020-03-30 14:43:44 -04:00
Tanner eaf0f72033
console + logging docs (#458)
* console + logging docs

* commands docs

* updates
2020-03-27 17:47:30 -04:00
Jimmy McDermott a8b191e180
update headers (#457) 2020-03-26 12:50:31 -04:00
Tanner 2e0fb60cfc
docs on cpu vs. io bound (#455) 2020-03-26 12:36:26 -04:00
Jimmy McDermott c7d76252ff
Queues/Jobs Documentation (#389)
* add jobs docs

* add thread-safe note

* fix userInfo doc

* database example

* update documentation

* fix worker typo

* add scheduled jobs documentation

* delay documentation

* update parameter name

* update with provider info

* add documentation about in-process workers

* Documentation for newest betas

* fixes

* fix EmailJobContext

* Specific return type + formatting

* Apply suggestions from code review

Co-Authored-By: Tim <0xTim@users.noreply.github.com>

* fix comments

* update mkdocs.yml

* merge into one file

* update route

Co-authored-by: Tim <0xTim@users.noreply.github.com>
2020-03-26 12:34:06 -04:00
saicu cf8be421dd
fix swift 5.2 link (#454) 2020-03-26 13:56:57 +00:00
Tanner c0554e2e40
vapor 4: basics -> async (#452)
* vapor 4: basics -> async

* fix typos
2020-03-25 16:38:41 -04:00
tanner0101 0e3b7c9ed3 rm beta 2020-03-25 13:00:40 -04:00
tanner0101 3021da3df2 middleware upgrade 2020-03-25 12:59:51 -04:00
Tanner c1eb40094f
remove apt.vapor.sh refs (#451)
* remove apt.vapor.sh refs

* spaces
2020-03-11 10:06:49 -04:00
Jeremy Greenwood 41000c2fdb
Remove Bcrypt hash function argument (#449)
Fixed typo which specified the argument `password` in 

```
func hash(_ plaintext: String, cost: Int = 12) throws -> String
```
2020-03-11 09:43:40 +00:00
Tanner c5ec79d78a
Fix acessing app.storage example (#444) 2020-03-04 13:21:43 -05:00
tanner0101 ea34f32685 fix typo 2020-03-03 23:02:10 -05:00
tanner0101 5466f519cf upgrading to 4 2020-03-03 22:52:23 -05:00
tanner0101 7aeac3fd78 fixes 2020-03-02 18:17:39 -05:00
tanner0101 99c81f89cc crypto 2020-03-02 17:51:27 -05:00
tanner0101 1de97c6016 vapor 4 message 2020-03-02 13:47:59 -05:00