Commit Graph

1360 Commits

Author SHA1 Message Date
Mikhail 558ff87b3f
Update deploy.yml (#600) 2021-05-12 11:56:14 +01:00
Mikhail 576a703ef6
APNs update (#599)
A new version of the APNs package has been released
2021-05-11 16:42:34 +01:00
Mattiav8 23077a14a4
Update heroku.md (#598)
It seems to work only if -- migrate is added before --revert
2021-05-11 15:52:47 +01:00
Tim Condon ec1e3fe4d4
Update edit button for new branch name 2021-04-08 13:27:47 +01:00
Tim Condon 2b85f770e2
Fix syntax for or queries 2021-04-08 13:27:07 +01:00
Martin Lasek dd8c182c6c
updated validate function call (#597)
Currently, the docs describe a deprecated use of the function validate.
2021-03-31 09:37:48 +01:00
Hailong 22fc56b481
Replace the occurrences of "router.get" in sample code with "app.get" for 4.0 docs. (#595) 2021-03-18 20:34:33 +00:00
fananek 1706ac6a98
Fix links in relations chapter (#593)
* Add optional child documentation

* Apply suggestions from code review

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

* Apply suggestions from code review

* Apply suggestions from code review

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

* Update 4.0/docs/fluent/relations.md

* fix missing/incorrect links

Co-authored-by: Gwynne Raskind <gwynne@darkrainfall.org>
Co-authored-by: Tim Condon <0xTim@users.noreply.github.com>
2021-03-08 11:21:03 +00:00
fananek a7f2d02d3b
Add optional child documentation (#591) 2021-03-06 09:30:14 +00:00
a2hill a6feb44a57
Update queues.md (#592) 2021-03-06 05:20:17 +00:00
David Llop 6ff84c0051
Add example of manual lazy eager loading (#580)
I've also moved the eager load first as it's usually more used and important than the lazy eager loading
2021-03-05 22:15:50 +00:00
fananek 8e3a1366ce
Add example for Leaf modulo operator (#590) 2021-02-12 11:34:40 +00:00
Hailong c5713dc869
Fix the table name in foreign key sample code. (#586) 2021-01-17 18:08:15 +00:00
Hailong e787fe6ca4
Replace create() with update() in migration. (#587) 2021-01-17 18:07:47 +00:00
Hailong ded3416ca9
Remove extraneous argument label for sort() method. (#588) 2021-01-17 18:07:03 +00:00
leogdion 94e8f430c0
Fixing Vapor target dependency for SPM (#585) 2021-01-14 05:32:11 +00:00
Hailong dacc05c523
Fix the variable name in sample code. (#584) 2021-01-13 11:09:12 +00:00
Hailong 352106d1f8
Correct the base64 encoding of user credential. (#583) 2021-01-12 09:18:17 +00:00
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