Commit Graph

1342 Commits

Author SHA1 Message Date
Hailong 025b1a6822
Fix a typo on the Leaf overview page. (#582)
* Fix a typo on the Leaf overview page.

* Update 3.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: Tim Condon <0xTim@users.noreply.github.com>
Co-authored-by: Siemen Sikkema <siemensikkema@users.noreply.github.com>
2021-01-11 10:08:30 +00:00
David Llop 55ac8c492b
Add brief example of receiving file uploads (#581) 2021-01-05 17:06:25 +00:00
Tim Condon 55169f53ac
Fix note/tip 🤦‍♂️ 2020-12-13 22:37:30 +00:00
Tim Condon 280a0bf9ad
Add note about importing Fluent 2020-12-13 22:31:45 +00:00
Tim Condon f4bb9b96ed
Add note about custom working directory in Leaf's configure section 2020-12-12 17:45:57 +00:00
David Llop 1f0256447e
Add documentation about creating custom middleware (#579)
* Add documentation about creating custom middleware

I tried to explain how to do an action before the handler and after. I'm not quite sure about the syntax here: `if req.auth.require().role != "admin" {` so I'll be glad if someone can double-check it 🙏

* Apply suggestions from code review

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

* Update 4.0/docs/middleware.md

Co-authored-by: Tim Condon <0xTim@users.noreply.github.com>
2020-12-12 14:54:31 +00:00
David Llop be557ee027
Add redirection example (#578)
* Add redirection example

This tries to fix #563. I put it in `routing.md` for now, but I think there should be a documentation page for `Request` and another one for `Response`

* Update 4.0/docs/routing.md

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

* Update routing.md

* Update routing.md

Co-authored-by: Tim Condon <0xTim@users.noreply.github.com>
2020-12-12 14:31:05 +00:00
Tim Condon d5d4521254
Add website authentication (#576)
* Add website authentication

* Fix typo
2020-12-08 17:22:47 +00:00
Gwynne Raskind c901aefaa8
Improve phrasing of Leaf caching note (#575) 2020-11-30 07:04:59 -06:00
Tim Condon b4b0369782
Add note about Leaf caching (#574) 2020-11-30 12:57:46 +00:00
Diggory Laycock 28c53977ee
Update overview.md (#572) 2020-11-30 07:16:49 +00:00
Jakub Kiermasz 3254a06bb6
Update relations document (#571)
Add missing argument in "detach" method call
2020-11-28 16:36:07 +00:00
Nathan Harris 47aa51109d
[Redis] -- Minor fixes and improvements (#570) 2020-11-28 00:23:12 +00:00
Nathan Harris 598b92c090
[Redis] -- Add overview and sessions documentation (#569) 2020-11-27 15:15:52 -08:00
Tim Condon 25585803ef
Update CORS docs with RouteLoggingMiddleware (#562)
* Add new by default route logging middleware info to CORS docs

* Update 4.0/docs/middleware.md

Co-authored-by: Gwynne Raskind <gwynne@darkrainfall.org>

* Update 4.0/docs/middleware.md

Co-authored-by: Gwynne Raskind <gwynne@darkrainfall.org>

Co-authored-by: Gwynne Raskind <gwynne@darkrainfall.org>
2020-11-20 12:08:51 +00:00
Tim Condon b16ac5a4a5
Update Group docs to show how .all() is used (#568) 2020-11-19 08:37:56 +00:00
John Mueller fd98b5ad56
Fix typo in overview.md (#567) 2020-11-15 10:22:43 +00:00
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