Commit Graph

1325 Commits

Author SHA1 Message Date
rpstro02 96d1663c50
Updated for Leaf 4.0.0 (#565)
Updated for Leaf 4.0.0

Co-authored-by: rpstro02 <email>
2020-11-13 07:26:21 +00:00
Tim Condon a73af2c380
Leaf 4 (#564)
* Copy Leaf 3 overview

* Start updating overview file

* Update more docs for Leaf

* Remove unimplemented tags

* Remove comments as they aren't implemented yet

* Finish updating the overview

* Add getting started page for Leaf

* Add getting started page to docs renderer

* Add empty custom tags page

* Update getting started page

* Add custom tags docs

* Bring back old tags

* Add comments

* Comments are hard, removing for now

* Update 4.0/docs/leaf/custom-tags.md

Co-authored-by: Siemen Sikkema <siemensikkema@users.noreply.github.com>

* Update 4.0/docs/leaf/getting-started.md

Co-authored-by: Siemen Sikkema <siemensikkema@users.noreply.github.com>

* Update 4.0/docs/leaf/overview.md

Co-authored-by: Siemen Sikkema <siemensikkema@users.noreply.github.com>

* Update 4.0/docs/leaf/overview.md

Co-authored-by: Grant J. Butler <grantjbutler@users.noreply.github.com>

* Address review comments

Co-authored-by: Siemen Sikkema <siemensikkema@users.noreply.github.com>
Co-authored-by: Grant J. Butler <grantjbutler@users.noreply.github.com>
2020-11-12 10:57:37 +00:00
Craz1k0ek 7fec745ffc
OTP documentation (#558)
* OTP documentation
* Added some more info to both TOTP & HOTP
2020-10-16 07:45:23 -05:00
Matthias Ludwig cf01b553e9
update docs to use fixed migration command for docker (#560) 2020-10-12 07:46:13 -05:00
Abdullah 62c5d7ea79
Update hello-world.md (#557)
remove type
2020-10-02 17:58:43 +01:00
David Llop 9577de31a6
Update fluent middleware (#555)
As @0xTim suggested in [here](https://github.com/vapor/fluent/issues/703#issuecomment-702029087), this part of the documentation needs to be updated
2020-10-02 09:11:09 +01:00
grundoon 8d26e74a37
fix typo (#556) 2020-10-02 09:10:44 +01:00
Craz1k0ek 6b414b1dad
Transaction page added (#553)
* Added the transaction page to the sidebar for easy access
* Edited the migrations title, multiple makes more sense (consistent with page title)
2020-10-01 16:00:48 +01:00
David Llop c964788d75
Add example to use MySQL in local without SSL (#552)
* Add example to use MySQL in local without SSL

* Update 4.0/docs/fluent/overview.md

Co-authored-by: Tim Condon <0xTim@users.noreply.github.com>

* Update 4.0/docs/fluent/overview.md

Co-authored-by: Tim Condon <0xTim@users.noreply.github.com>

Co-authored-by: Tim Condon <0xTim@users.noreply.github.com>
2020-10-01 15:12:12 +01:00
Craz1k0ek bb8198a796
Created transaction documentation (#548)
* Created transaction documentation

Added documentation for the transaction syntax, based on the 3.0 documentation and current implementation.
Added the Star model as example model, as it is used throughout the Fluent examples.

* Apply suggestions from code review

Co-authored-by: Tim Condon <0xTim@users.noreply.github.com>

Co-authored-by: Tim Condon <0xTim@users.noreply.github.com>
2020-10-01 12:29:55 +01:00
Craz1k0ek 5dedcf70c0
SQLite foreign key violation tip (#550)
I ran into an issue where `PRAGMA foreign_keys = ON` was required on the database itself. I was unaware of this, as it worked for Vapor. I added a tip containing problems that can occur when querying the database directly.
2020-10-01 11:25:42 +01:00
Tyler Milner bb5851ec56
Added example of how to configure Postgres database with unverified TLS for Heroku deployment. (#547) 2020-09-24 08:09:18 +01:00
Garrett Moon 789fb53c82
Update queues.md (#546)
I think Queues is the correct module?
2020-09-22 11:51:48 -04:00
吴伟城 3db5cc20b9
Fix typo in nginx.md (#545)
"Nginx can be started an stopped..." -> "Nginx can be started and stopped..."
2020-09-03 13:46:56 +01:00
Tanner 7330d279a0
Add APNS docs (#544)
* add apns docs

* updates

* small fixes
2020-08-27 13:40:06 -04:00
Brian Drelling e6164d2ba6
Bumped fluent-sqlite-driver version to 4.0.0 in Fluent Overview (#543) 2020-08-26 21:00:54 +01:00
Brian Drelling 3a25cbb90a
Corrected comment for Update snippet (#542) 2020-08-25 15:37:44 +01:00
tanner0101 dd4b2ea849 make install 2020-08-20 15:44:06 -04:00
Zach Rausnitz 35caf38835
fix typos in upgrading docs (#541) 2020-08-16 19:56:02 +01:00
grundoon 135671cd2a
Clarify @Timestamp migration format (#540) 2020-08-13 14:44:32 -04:00
tanner0101 d2430c1eb3 add fileio docs, fixes #524 2020-08-07 17:39:46 -04:00
Jesse Tipton a250c63f7f
Update queues.md Heroku worker tip (#539) 2020-08-06 20:48:39 -04:00
Camilo a0bfa250f1
Added small tip regarding query params (#538)
* added small tip regarding query params

* Implemented @0xTim suggestions

Co-authored-by: Tim Condon <0xTim@users.noreply.github.com>

Co-authored-by: Tim Condon <0xTim@users.noreply.github.com>
2020-08-06 21:03:48 +01:00
tanner0101 b24892581f clarify batch create limitations 2020-08-06 15:04:10 -04:00
Michael e5fece6f5c
Update jwt.md (#537)
Corrected the usage of the JWT signers property.
2020-08-05 16:30:53 -04:00
tanner0101 83ce79ec50 rm UserTokenAuthenticator that no longer exists 2020-08-05 00:47:21 -04:00
Tanner 4e6f81b4f0
Add JWT docs (#534)
* add JWT docs

* add rest of JWT page

* clarify vendored jwts

* updates
2020-07-30 17:33:20 -04:00
Daniel Jilg 7b1131bf7e
Fix an invalid example password in Authentication (#533)
The example in authentication -> Fluent first establishes code that checks wether a user’s password is at least 8 characters long, and then uses a 6 character password in the example. This is not a huge problem, but it might present a stumbling block for readers who didn’t pay close attention to the code.
2020-07-30 12:40:45 +01:00
Tyler Milner 6d3e7d6df1
Update references to `app.swift` (#529)
* Update references to `app.swift`

When performing `vapor new hello -n` command as part of [Getting Started](https://docs.vapor.codes/4.0/hello-world/), an `app.swift` file is not generated. The code that creates and runs the `app` lives in `main.swift`. This updates the documentation to reflect this.

* Moved reference to `main.swift` file under "Run"

Created a `### Run` heading, moving the information about `main.swift` under there to match the folder structure on disk.
2020-07-28 10:03:20 +01:00
tanner0101 cc7be3601a update xcode screenshots 2020-07-27 18:21:32 -04:00
Chris Grey f6533e2885
Add page for setting a Custom Working Directory (#526)
* Add Custom Working Dir page

Add a page with images explaining how to set a custom working directory in Xcode.

* Fix “Xcode” spelling

* Move custom working dir doc to Xcode section

* Add section intro and change formatting.

* Update xcode.md

Co-authored-by: Tanner <me@tanner.xyz>
2020-07-27 11:17:35 -04:00
Tyler Milner 28c0286b31
Fixed typo in `routing.md` (#530)
"This allows you to metadata..." to "This allows you to *add* metadata..."
2020-07-27 10:05:28 +01:00
Axton Pitt e01f4cd532
Typo fix in `routing.md` (#527) 2020-07-23 09:45:39 +01:00
texuf 1f984b0be0
Fix spelling: databsae -> database (#525)
Co-authored-by: Austin Ellis <austinellis+github@gmail.com>
2020-07-21 09:28:11 +01:00
odanylewycz eff0b869fa
Added documentation for validate(query:). Modified validate(_ request… (#523)
* Added documentation for validate(query:). Modified validate(_ request:) to validate(content:)

* Update validation.md

Co-authored-by: Tanner <me@tanner.xyz>
2020-07-16 16:39:33 -04:00
Max Desiatov ebb683104b
Fix broken link in content.md (#522)
* Use American spelling in 4.0 content.md

* Fix HTTPHeaders link in 4.0 content.md
2020-07-15 13:52:45 -04:00
Max Desiatov 9038535cc0
Fix HTTPS link in 4.0 index.md (#521) 2020-07-15 13:50:32 -04:00
Tanner 81690d372a
Update mkdocs.yml 2020-07-14 17:26:09 -04:00
Anthony Fassler 4be4d5f47f
Adding features and improving the mkdocs.yml file (#497)
* Add favicon + Improve mkdocs.yml file

* Syntax correction in async.md

* Syntax Correction

* Add Comments and Favicon
2020-07-14 16:12:43 -04:00
Jonas Frey dee6e71fd6
Added mutating keyword to afterDecode and beforeEncode hooks (#516)
* Added mutating keyword to afterDecode and beforeEncode hooks

* Update content.md
2020-07-14 06:56:19 +01:00
YR Chen 715939e6bd
Fix routing docs (#498)
* Fix routing docs

* Update style

* Rearrange parameters part

* Fix typo

* recover table style

* Remove subtitles for Parameters

Co-authored-by: Tanner <tannernelson@gmail.com>
2020-07-13 19:34:29 -04:00
Duncan Babbage be03cabb8a
Update hello-world.md (#508)
The previous instructions suggested that you could continue with "Build & Run" as soon as Xcode opens, but this is not correct and the Play button is at this point greyed out as unavailable, as is selecting "Build and Run" from the menu, as dependencies are still being downloaded. This could lead users inexperienced with Xcode to think they have done something wrong when they just need to wait a minute or so. This seems likely the cause of at least one comment I saw on Vapor discussion somewhere today when searching for a new user guide (sorry, location lost) where the new user stated that Step 2 of these instructions did not work.

This change also correctly identifies the expected output will be in the Xcode console, and not in the "terminal".
2020-07-13 19:25:03 -04:00
Tanner 9643ba139a
add official homebrew formula 2020-07-11 14:56:44 -04:00
Tim Condon c6ef8e048f
Update join docs so it compiles 2020-07-01 11:08:08 +01:00
Guillaume Algis 43e5ac6185
Fix characters used for 'Anything' and 'Catchall' in text (#518)
The characters in the text do not match the examples.
2020-06-30 11:54:22 +01:00
Guillaume Algis 3b4a2b9de4
Fix 404 error code in errors.md (#517) 2020-06-30 11:50:05 +01:00
tdotclare 5128b169ff
Update for Case Insensitive Routing (#501) 2020-06-25 12:17:36 -04:00
Craz1k0ek 7e760a4aa3
Updated field constraint example (#515)
The .unique is not a valid field constraint. I've updated the docs to correct this minor mistake.
2020-06-25 13:59:42 +01:00
Tim Condon ae6710c7cf
Fix build command for the toolbox with test discovery 2020-06-21 20:01:38 +01:00
Tanner ac50b56051
update docs for toolbox release (#514) 2020-06-19 13:02:23 -04:00