Commit Graph

279 Commits

Author SHA1 Message Date
Anton Begehr ed51309ce3
Minor Code Fixes to apns.md (#950) 2023-11-26 02:47:49 +00:00
JIN 6ae20112e2
update cn doc (#939)
update cn doc for PR #925 

@Jinxiansen
2023-11-23 11:05:47 +00:00
とんとんぼ 40a7eea5d5
Add Japanese translation for ”basic" (#948)
## Added Content

Added a Japanese translation of
[basics](https://github.com/vapor/docs/tree/main/docs/basics).

Also addressed Issue.:
[fb3b0c2](fb3b0c23f5)

<details>
<summary>Japanese</summary>
## 追加内容

[basics](https://github.com/vapor/docs/tree/main/docs/basics)
の日本語訳を追加しました。
</details>
2023-11-22 13:54:53 +00:00
Szymon Matynia f437e4a0e7
Add polish translation for leaf getting-started (#941)
<!-- 🚀 Thank you for contributing! -->
🚀

<!-- Describe your changes clearly and use examples if possible. -->
I added polish translation for docs/leaf/getting-started.

<!-- When this PR is merged, the title and body will be -->
I don't know right now, I leave it up to you :)

<!-- used to generate a release automatically. -->

Co-authored-by: Szymon Matynia <31554149+eterxoz@users.noreply.github.com>
2023-11-18 18:51:06 +00:00
Sam Bishop 6738625271
Align apns versions and imports (#947)
Make sure that `import APNSCore` and `from: "4.0.0"` are present in all
versions of `apns.md` in response to
https://github.com/vapor/apns/issues/54.
2023-11-16 18:10:19 +00:00
Sam Bishop 3b307ce8de
Update highlightjs (#944)
Updated highlightjs to 11.9.0 to include new leaf grammar. Also slimmed
it down to only include grammars likely to appear in the documentation
(html, css, json, etc). Close #637
2023-11-16 03:31:32 +00:00
Nicolás A. Rodríguez 8975f0c959
Update apns.md (#945)
<!-- 🚀 Thank you for contributing! -->

<!-- Describe your changes clearly and use examples if possible. -->

<!-- When this PR is merged, the title and body will be -->
<!-- used to generate a release automatically. -->
2023-11-16 03:25:00 +00:00
Nicolás A. Rodríguez bb7367b849
Update apns.md (#943)
<!-- 🚀 Thank you for contributing! -->

<!-- Describe your changes clearly and use examples if possible. -->

<!-- When this PR is merged, the title and body will be -->
<!-- used to generate a release automatically. -->
2023-11-16 01:13:40 +00:00
Dominik K 798becd593
Translate authentication.md to german (#889)
Adds the correct and finished German translation for the
authentication.md file. Also fixes the index.de.md translation!

This is the complete and improved version of #827

---------

Co-authored-by: Paul Toffoloni <69189821+ptoffy@users.noreply.github.com>
Co-authored-by: Tim Condon <0xTim@users.noreply.github.com>
Co-authored-by: Mattes Mohr <mail@mattesmohr.de>
2023-11-14 18:47:24 +01:00
Hadi Sharghi 882b8a521f
add Custom Validator section to Validation docs (#935)
<!-- Describe your changes clearly and use examples if possible. -->
Add a section about Custom Validators, and a sample to create a custom
validator for zip codes. The sample is from a code that @0xTim had been
provided in an issue.
<!-- When this PR is merged, the title and body will be -->
Add 'How to create custom validators' to docs.
<!-- used to generate a release automatically. -->

---------

Co-authored-by: Tim Condon <0xTim@users.noreply.github.com>
2023-11-09 12:28:21 +00:00
とんとんぼ 46150d96e1
Update Japanese translation doc 925 (#937)
Issue: #932 

Edited `linux.md` included in pr #925 

The translation of `digital-ocean.md` into Japanese has not been done
yet.
2023-11-07 22:55:19 +01:00
Ale Mohamad ⌘ 52628f9640
Add Spanish translation for redis/overview.md (#930)
Add Spanish translation for redis/overview.md

---------

Co-authored-by: Jorge Acosta <104621044+jacostaf10@users.noreply.github.com>
2023-11-02 11:03:58 +00:00
Ale Mohamad ⌘ 4bc3b1fca2
Add Spanish translation for redis/sessions.md (#931)
Add Spanish translation for redis/sessions.md

---------

Co-authored-by: Jorge Acosta <104621044+jacostaf10@users.noreply.github.com>
2023-11-02 10:59:45 +00:00
A 40 years old student 33812d6933
Recommend Swiftly as install method on Linux (#925)
Any place we say to install Swift on Linux (deploy docs, getting started
etc) should use
[Swiftly](https://github.com/swift-server/swiftly/tree/main) instead of
directing people to download them from the install pages
2023-11-01 18:56:31 +00:00
Ale Mohamad ⌘ e40ba07ba7
Add Spanish translation for custom-tag.md (#929)
Add Spanish translation for custom-tag.md

---------

Co-authored-by: Jorge Acosta <104621044+jacostaf10@users.noreply.github.com>
2023-11-01 16:21:50 +00:00
Ale Mohamad ⌘ 81fb2b2b35
Add Spanish translation for getting-started.md (#927)
Add Spanish translation for getting-started.md

---------

Co-authored-by: Jorge Acosta <104621044+jacostaf10@users.noreply.github.com>
2023-11-01 15:24:38 +00:00
Ale Mohamad ⌘ c1c708ee06
Add Spanish translation for overview.md (#928)
Add Spanish translation for overview.md

---------

Co-authored-by: Jorge Acosta <104621044+jacostaf10@users.noreply.github.com>
2023-11-01 15:19:37 +00:00
Claisse Florian 35436a4697
Add French translation for transaction.md (#924) 2023-10-31 12:48:48 +00:00
Jorge Acosta f433b00c7e
Add Spanish translation for advanced.md (#913) 2023-10-16 19:45:23 +00:00
Jorge Acosta a776060ece
Add Spanish translation for transaction.md (#912) 2023-10-16 20:39:55 +01:00
Kalyn Davis fbd9723a00
Update routing.md (#920) 2023-10-06 12:01:53 +00:00
Paul Toffoloni 3fa1e50c1d
Translate authentication to Italian (#919)
Co-authored-by: Francesco Paolo Severino <96546612+fpseverino@users.noreply.github.com>
2023-10-03 09:32:57 +02:00
Francesco Paolo Severino e487994900
Added Italian translation of leaf/overview.md and basics/client.md (#918) 2023-09-30 17:42:34 +02:00
Mattes Mohr f6b8e0bfc8
Update the German translation for controller.md (#916) 2023-09-30 08:53:38 +02:00
Francesco Paolo Severino 2ee65b0d42
Update and add Italian translations (#910)
- Fixed some navigation components in `mkdocs.yml`.
- Minor fixes in the `getting-started` and `install` folders, as well as
in `index.it.md` and `upgrading.it.md`.
- Added `contributing.it.md`, `legacy-docs.it.md`, `release-notes.it.md`
and the `redis` folder.
- Added two out of the three `leaf` folder files:
`getting-started.it.md` and `custom-tags.it.md`.

---------

Co-authored-by: Paul Toffoloni <69189821+ptoffy@users.noreply.github.com>
2023-09-26 00:54:48 +01:00
Jorge Acosta 9e038227ce
Add Spanish translation for migration.md (#907)
Added Spanish translation for `migration.md` in `fluent` folder

---------

Co-authored-by: Ale Mohamad ⌘ <alejandro.mohamad@gmail.com>
2023-09-22 12:08:32 +00:00
Jorge Acosta 5033800a45
Add Spanish translation for relations.md (#906)
Added `relations.md` Spanish translation in `fluent` folder

---------

Co-authored-by: Ale Mohamad ⌘ <alejandro.mohamad@gmail.com>
2023-09-22 13:57:51 +02:00
とんとんぼ 8a8e6a800a
Add Japanese translation for ”Install” and "Getting Started" (#908)
<!-- 🚀 Thank you for contributing! -->

<!-- Describe your changes clearly and use examples if possible. -->
## Added Content

I have added a Japanese translation for the following file.

- install
-
[macos.md](https://github.com/vapor/docs/blob/main/docs/install/macos.md)
-
[linux.md](https://github.com/vapor/docs/blob/main/docs/install/linux.md)
- getting-started
-
[hello-world.md](https://github.com/vapor/docs/blob/main/docs/getting-started/hello-world.md)
-
[folder-structure.md](https://github.com/vapor/docs/blob/main/docs/getting-started/folder-structure.md)
-
[spm.md](https://github.com/vapor/docs/blob/main/docs/getting-started/spm.md)
-
[xcode.md](https://github.com/vapor/docs/blob/main/docs/getting-started/xcode.md)

<!-- When this PR is merged, the title and body will be -->
<!-- used to generate a release automatically. -->

<details>
<summary>日本語</summary>
## 追加内容
以下のファイルの日本語訳を追加しました。

- install
-
[macos.md](https://github.com/vapor/docs/blob/main/docs/install/macos.md)
-
[linux.md](https://github.com/vapor/docs/blob/main/docs/install/linux.md)
- getting-started
-
[hello-world.md](https://github.com/vapor/docs/blob/main/docs/getting-started/hello-world.md)
-
[folder-structure.md](https://github.com/vapor/docs/blob/main/docs/getting-started/folder-structure.md)
-
[spm.md](https://github.com/vapor/docs/blob/main/docs/getting-started/spm.md)
-
[xcode.md](https://github.com/vapor/docs/blob/main/docs/getting-started/xcode.md)
</details>
2023-09-21 14:15:44 +02:00
Ale Mohamad ⌘ 4882065814
Add Spanish translation for contributing.md (#904)
Add Spanish translation for contributing.md

---------

Co-authored-by: Jorge Acosta <104621044+jacostaf10@users.noreply.github.com>
2023-09-19 14:46:52 +00:00
Jorge Acosta 13c8287ad0
Add Spanish translation for model.md (#905)
Add `model.md` Spanish translation on `fluent` folder

---------

Co-authored-by: Ale Mohamad ⌘ <alejandro.mohamad@gmail.com>
2023-09-19 12:31:30 +00:00
Ale Mohamad ⌘ 7168b6a129
Add Spanish translation for upgrading.md (#903)
Add Spanish translation for upgrading.md

---------

Co-authored-by: Jorge Acosta <104621044+jacostaf10@users.noreply.github.com>
2023-09-19 13:26:48 +01:00
Ale Mohamad ⌘ 18b945a0be
Update Spanish translation doc 877 (#902)
Update Spanish translation doc for pr
https://github.com/vapor/docs/pull/877

Translation needed in issue https://github.com/vapor/docs/issues/878

@jacostaf10
2023-09-14 12:24:01 +01:00
Ale Mohamad ⌘ b04f5b29fd
Add Spanish translation for async.md (#901)
Add Spanish translation for async.md

---------

Co-authored-by: Jorge Acosta <104621044+jacostaf10@users.noreply.github.com>
2023-09-14 11:57:58 +01:00
とんとんぼ 07c625acbe
Start Japanese translation (#899) 2023-09-12 15:27:13 +00:00
JIN a5a1d95b90
Update cn doc (#895)
update cn doc for PR #885
2023-09-03 21:34:19 +08:00
JIN a3613ee836
Add Chinese translation for request.md (#892)
add cn translation for PR #860 
@Jinxiansen

---------

Co-authored-by: Tim Condon <0xTim@users.noreply.github.com>
2023-08-29 17:35:01 +00:00
Paul Toffoloni 3ad9bb119e
Fix redis docs dead links (#891)
Apparently there's no 1.4.1 branch documentation for
https://swiftpackageindex.com/swift-server/redistack anymore so we have
dead links
2023-08-28 10:09:17 +01:00
Paul Toffoloni b43e93cb2a
Add default hint for required values in schema (#885)
I've seen this asked more than once

---------

Co-authored-by: Tim Condon <0xTim@users.noreply.github.com>
Co-authored-by: Gwynne Raskind <gwynne@vapor.codes>
2023-08-07 15:56:29 +00:00
Paul Toffoloni a4dfba1cc7
Translate Request section to Italian (#884) 2023-08-07 11:07:55 +00:00
JIN 88787856cd
update cn doc (#886) 2023-08-07 12:02:20 +08:00
Stephen Beitzel 98ef20c9d7
Add a tip about model middleware to authentication example (#863)
The example we use for `ModelAuthenticatable` is a `User` identified by
an email address. Email addresses are case-insensitive, while the
`ModelAuthenticatable` that ships with `Fluent` is case sensitive. This
means that an application that follows the example naively would
consider `SomeUser@example.com` and `someuser@example.com` to be two
different users. This is easily addressed with model middleware that
converts the email address to lowercase before saving a `User`, but that
example is elsewhere in the documentation.

This change simply calls out this possibility in a tip section and links
to the model middleware section of the docs.
2023-08-05 16:45:05 +00:00
Sam Bishop 1bfbdab673
Request Section (#860)
This is my own attempt to close #394 with a full request page. May
supersede #859 if we want a more in depth section.

---------

Co-authored-by: Gwynne Raskind <gwynne@darkrainfall.org>
Co-authored-by: Tim Condon <0xTim@users.noreply.github.com>
2023-08-05 16:39:15 +00:00
Paul Toffoloni aa8e385d07
Translate controllers section to italian (#879) 2023-08-05 15:38:49 +00:00
Paul Toffoloni d81299642f
Translate APNS section to italian (#880) 2023-08-05 16:31:41 +01:00
Paul Toffoloni 3faa2026ab
Add and update controllers section (#877) 2023-08-03 22:27:38 +02:00
晋先森 b63d6c3e36
Updated apns(Chinese) doc. (#875) 2023-08-01 18:46:04 +01:00
Kyle Browning 728fc27664
Update APNS docs for 5.0.0 Release (#719)
This PR updates the docs for the 5.0.0 release of APNS
2023-07-31 10:46:31 -07:00
BennyDB de38fa822a
Translate a multitude of Issues to dutch (#864)
issue included are:
#861 
#836 
#818 
#812 

Some issues have been fully translated as well:
closes #791 
closes #788 
closes #811

---------

Co-authored-by: Joannis Orlandos <joannis@orlandos.nl>
2023-07-23 23:57:31 +02:00
JIN cd1600313a
update cn doc (#862)
update cn doc for pr #858
2023-07-20 01:24:16 +00:00
Paul Toffoloni 537f1f9452
Add leaf syntax highlighting lib link (#858)
Adds a link to https://github.com/FranciscoAmado/vscode-html-leaf

---------

Co-authored-by: Tim Condon <0xTim@users.noreply.github.com>
2023-07-20 00:57:34 +00:00
Paul Toffoloni 00b739243a
Add dark mode code theme (#856) 2023-07-18 00:20:44 +01:00
František Mikš 871eab9b96
Extend lifecycle handler example (#843)
Server lifecycle has been extended with `didBoot` and `shutdown` events. Extend lifecycle handler example.
2023-07-11 16:12:47 -05:00
Łukasz Stachnik f6b4271e69
Getting Started - Polish translation (#852) 2023-07-09 10:26:27 +00:00
sookim eae2c9b388
Start Korean translation (#841)
Added Korean as a new language. Translated Welcome ~ Getting Started
document first.
2023-07-06 09:50:05 +00:00
Jorge Acosta 9cde126e7c
Add Spanish translation for basics/controllers and basics/errors (#847)
Added Spanish translation for files `controllers` and `errors` located
in the `basics` folder

---------

Co-authored-by: Tim Condon <0xTim@users.noreply.github.com>
2023-07-05 12:46:19 +00:00
Łukasz Stachnik 0764d708ec
Added translation for install section of documentation to Polish (#848)
It adds translation for install section of the documentation to Polish,
and closes the second table of translations on #844.
2023-07-05 13:42:01 +01:00
JIN e2260b0a0f
Update cn doc (#840)
update cn doc for pr #835, fix some other problems.

---------

Co-authored-by: Mattes Mohr <mail@mattesmohr.de>
2023-07-04 20:05:37 +02:00
Łukasz Stachnik 82894c6d41
Started Polish translation and translated index.md (#845)
It starts translation issue #844 with index.md translation and
mkdocs.yml
2023-07-04 17:50:11 +02:00
Jorge Acosta fb4f810505
Add Spanish translation for basics/logging and basics/environment (#846)
Added Spanish translations for files `logging.md` and `environment`
located in `basics`. Updated `mkdocks.yml`.

---------

Co-authored-by: Ale Mohamad ⌘ <alejandro.mohamad@gmail.com>
2023-06-23 19:27:18 +02:00
Ale Mohamad ⌘ b2116754f1
Add Spanish translation for content.md (#842)
* Add Spanish translation for content.md

* Update docs/basics/content.es.md

Co-authored-by: Jorge Acosta <104621044+jacostaf10@users.noreply.github.com>

* Update docs/basics/content.es.md

Co-authored-by: Jorge Acosta <104621044+jacostaf10@users.noreply.github.com>

* Update docs/basics/content.es.md

Co-authored-by: Jorge Acosta <104621044+jacostaf10@users.noreply.github.com>

* Update docs/basics/content.es.md

Co-authored-by: Jorge Acosta <104621044+jacostaf10@users.noreply.github.com>

* Update docs/basics/content.es.md

Co-authored-by: Jorge Acosta <104621044+jacostaf10@users.noreply.github.com>

* Update docs/basics/content.es.md

Co-authored-by: Jorge Acosta <104621044+jacostaf10@users.noreply.github.com>

* Update docs/basics/content.es.md

Co-authored-by: Jorge Acosta <104621044+jacostaf10@users.noreply.github.com>

* Update docs/basics/content.es.md

Co-authored-by: Jorge Acosta <104621044+jacostaf10@users.noreply.github.com>

* Update docs/basics/content.es.md

Co-authored-by: Jorge Acosta <104621044+jacostaf10@users.noreply.github.com>

* Update docs/basics/content.es.md

Co-authored-by: Jorge Acosta <104621044+jacostaf10@users.noreply.github.com>

* Update from PR

---------

Co-authored-by: Jorge Acosta <104621044+jacostaf10@users.noreply.github.com>
2023-06-22 20:16:00 +02:00
Jorge Acosta d472122d2b
Add Spanish translation for basics/client and basics/validation (#833)
* Add client.md Spanish translation

Added Spanish translation for client.md

* Add validation.md Spanish translation

Added Spanish translation for validation.md

* Update validation.es.md

* Update docs/basics/client.es.md

Co-authored-by: Ale Mohamad ⌘ <alejandro.mohamad@gmail.com>

* Update docs/basics/validation.es.md

Co-authored-by: Ale Mohamad ⌘ <alejandro.mohamad@gmail.com>

* Update docs/basics/validation.es.md

Co-authored-by: Ale Mohamad ⌘ <alejandro.mohamad@gmail.com>

* Update docs/basics/validation.es.md

Co-authored-by: Ale Mohamad ⌘ <alejandro.mohamad@gmail.com>

* Update docs/basics/validation.es.md

Co-authored-by: Ale Mohamad ⌘ <alejandro.mohamad@gmail.com>

* Update mkdocs.yml

---------

Co-authored-by: Ale Mohamad ⌘ <alejandro.mohamad@gmail.com>
2023-06-21 17:39:01 +00:00
JIN f1728161d0
update cn doc (#832)
Co-authored-by: Tim Condon <0xTim@users.noreply.github.com>
2023-06-20 19:15:39 +01:00
Tim Condon cb6e091833
Fix Redis links (#838)
* Update deployment stuff for new binary name. Resolves #837

* Update broken Redis links
2023-06-20 16:11:03 +01:00
Cihat Gündüz 093dcf08e4
Update heroku.md (#835)
I just followed this guide and found several pieces of information that were outdated. Most noticably, there are no free tiers on Heroku any more, so I adjusted the text and added the new price for what was available for free before ($5 per dyno & database).

The text also made it seem like heroku has a preferred branch name and that that is "master". But AFAIK heroku doesn't care about the branch name, it just takes what you push. And there was a movement to no longer name the default branch "master" in our community, so I added the alternative name "main" in the text, too.
2023-06-15 15:40:37 +00:00
Ale Mohamad ⌘ a1a61444f6
Fix fluent overview notes (#834) 2023-06-14 21:32:37 +02:00
Javier Etxarri Marin 230b540237
ISSUE-816: Spanish translation for menu entry Fluent->overview. (#830)
* ISSUE-816: Spanish translation for menu entry Fluent->overview.
Also creating two files that are being referenced from overview file

* Related to ISSUE-816: Delete recently created 2 files because they are not translated and it is not necessary to have them because the system takes english in that case

* Related to ISSUE-816: Change .es.md extension in the links to only .md because it is managed automatically

* Code review done from jacortaf10

* Code review done from jacortaf10 part 2
2023-06-14 17:38:10 +00:00
Ale Mohamad ⌘ 96fd597b16
Add Spanish translation for routing.md (#828)
* Add Spanish translation for routing.md

* Fixes from PR comments
2023-06-13 15:56:13 +00:00
Ale Mohamad ⌘ 0cbcd03a01
Add Spanish translation for macos.md (#824)
Co-authored-by: Tim Condon <0xTim@users.noreply.github.com>
2023-06-13 15:40:42 +00:00
JIN f000ddef73
update cn doc (#829) 2023-06-13 15:21:28 +00:00
Mattes Mohr b447f44d3f
Add German translation for content.md (#822)
* Start translation

* Revise some passages

* Revise some passages

* Revise some passages

* Fix dead link
2023-06-13 15:13:46 +00:00
Paul Toffoloni a76ec7cb91
Add installation italian translation (#821)
Co-authored-by: Tim Condon <0xTim@users.noreply.github.com>
2023-06-13 14:19:46 +00:00
Ale Mohamad ⌘ 372969ea2b
Add Spanish translation for linux.md (#823) 2023-06-12 14:44:12 +01:00
Ale Mohamad ⌘ 6ba58c40ea
Fixed some Spanish translations (#826) 2023-06-08 15:33:04 +01:00
Jorge Acosta 7be95d8edc
Add Spanish translation for 'getting started' section (#825)
* Add folder-structure.md spanish translation

Added folder-structure.md Spanish translation in 'Getting Started'

* Add hello-world.md spanish translation

Added hello-world.md Spanish translation

* Add spm.md spanish translation

Added spm.md Spanish translation

* Add xcode.md spanish translation

Added xcode.md Spanish translation

* Update docs/getting-started/hello-world.es.md

Co-authored-by: Ale Mohamad ⌘ <alejandro.mohamad@gmail.com>

* Update docs/getting-started/hello-world.es.md

Co-authored-by: Ale Mohamad ⌘ <alejandro.mohamad@gmail.com>

* Update docs/getting-started/hello-world.es.md

Co-authored-by: Ale Mohamad ⌘ <alejandro.mohamad@gmail.com>

* Update docs/getting-started/hello-world.es.md

Co-authored-by: Ale Mohamad ⌘ <alejandro.mohamad@gmail.com>

* Update docs/getting-started/hello-world.es.md

Co-authored-by: Ale Mohamad ⌘ <alejandro.mohamad@gmail.com>

* Update docs/getting-started/hello-world.es.md

Co-authored-by: Ale Mohamad ⌘ <alejandro.mohamad@gmail.com>

* Update docs/getting-started/hello-world.es.md

Co-authored-by: Ale Mohamad ⌘ <alejandro.mohamad@gmail.com>

* Update docs/getting-started/hello-world.es.md

Co-authored-by: Ale Mohamad ⌘ <alejandro.mohamad@gmail.com>

* Update docs/getting-started/hello-world.es.md

Co-authored-by: Ale Mohamad ⌘ <alejandro.mohamad@gmail.com>

* Update docs/getting-started/folder-structure.es.md

Co-authored-by: Ale Mohamad ⌘ <alejandro.mohamad@gmail.com>

* Update docs/getting-started/folder-structure.es.md

Co-authored-by: Ale Mohamad ⌘ <alejandro.mohamad@gmail.com>

* Update docs/getting-started/spm.es.md

Co-authored-by: Ale Mohamad ⌘ <alejandro.mohamad@gmail.com>

* Update docs/getting-started/folder-structure.es.md

Co-authored-by: Ale Mohamad ⌘ <alejandro.mohamad@gmail.com>

* Update docs/getting-started/spm.es.md

Co-authored-by: Ale Mohamad ⌘ <alejandro.mohamad@gmail.com>

* Update docs/getting-started/spm.es.md

Co-authored-by: Ale Mohamad ⌘ <alejandro.mohamad@gmail.com>

* Update docs/getting-started/spm.es.md

Co-authored-by: Ale Mohamad ⌘ <alejandro.mohamad@gmail.com>

* Update docs/getting-started/spm.es.md

Co-authored-by: Ale Mohamad ⌘ <alejandro.mohamad@gmail.com>

* Update docs/getting-started/spm.es.md

Co-authored-by: Ale Mohamad ⌘ <alejandro.mohamad@gmail.com>

* Update docs/getting-started/xcode.es.md

Co-authored-by: Ale Mohamad ⌘ <alejandro.mohamad@gmail.com>

---------

Co-authored-by: Ale Mohamad ⌘ <alejandro.mohamad@gmail.com>
2023-06-07 19:56:57 +02:00
Ale Mohamad ⌘ f342bc2c0d
Start Spanish Translation (#817) 2023-06-06 18:03:56 +01:00
Ale Mohamad cd336c7907
Example to populate pivot properties (#815)
* Add closure example to populate pivot attributes

* Tweaks made from PR feedback
2023-06-05 11:54:31 +00:00
Paul Toffoloni 68e16c5706
Update hljs and code blocks style (#813)
Co-authored-by: Tim Condon <0xTim@users.noreply.github.com>
2023-06-05 11:33:16 +01:00
Roland Lariotte 4f55dd22a7
Update Heroku documentation to deploy Postgress following Vapor 4.77 update (#814) 2023-06-02 15:20:50 +01:00
Sam Bishop 3512ad7397
Misc docs improvements (#806)
* Fix leaf typo, update version numbers, add warning about Command Lines Tools, add tip about vapor github templates

* Change to arm

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

* Remove xcode CLI tools warning

* Update versions in doc translations

---------

Co-authored-by: Gwynne Raskind <gwynne@darkrainfall.org>
2023-06-01 10:12:42 +00:00
Eddy Gammon 0468bbd255
Expand on why `shutdown` is needed in unit test scenarios (#809) 2023-06-01 10:07:34 +00:00
Paul Toffoloni efbda9ca6d
Translate top level docs (#810)
* Translate top level docs

* Update dead link

* Update hljs and code blocks theme

* Revert "Update hljs and code blocks theme"

This reverts commit 0728e49b47.
2023-06-01 12:02:15 +02:00
Paul Toffoloni 20de69867a
Add getting started italian translation (#808)
* Add getting started italian translation

* Minor fixes

* Add italian to translation issue template
2023-05-30 10:11:26 +00:00
Mattes Mohr 772f8161c9
Add the import declaration to the config snippet (#805) 2023-05-10 14:06:10 +01:00
Tim Condon 0d669a7e48
Remove all old references to the toolbox (#804) 2023-04-28 21:09:42 +00:00
Gwynne Raskind 22724ab17a
Remove outdated vapor run reference (#801)
Co-authored-by: Tim Condon <0xTim@users.noreply.github.com>
2023-04-28 20:55:18 +00:00
Gwynne Raskind 160c32cd24
Remove outdated reference to vapor run (#800) 2023-04-28 21:50:20 +01:00
Mattes Mohr f2a8d9bde2
Revise some phrases (#798)
Co-authored-by: Tim Condon <0xTim@users.noreply.github.com>
2023-04-28 00:03:26 +00:00
Tim 7087aa3d9d
Further doc updates for new template 2023-04-28 00:58:45 +01:00
Tim Condon fb66441b9f
Update docs for new template (#795) 2023-04-27 20:16:32 +01:00
Tasye 383d3c914f
Translation fr update (#794)
* Update french translation (fr)

* Error fix

* Apply suggestions from code review

---------

Co-authored-by: Tim Condon <0xTim@users.noreply.github.com>
2023-04-27 19:05:41 +00:00
JIN c8abf8fea7
update cn doc (#792) 2023-04-18 21:16:21 +08:00
Saurabh Garg 922aa97e20
Update queues.md (#790)
* Update queues.md

- adds a warning about trying to scheduled jobs outside of boot up

* Update docs/advanced/queues.md

---------

Co-authored-by: Tim Condon <0xTim@users.noreply.github.com>
2023-04-14 15:52:52 +00:00
JIN 9e261b452c
update cn doc (#789) 2023-04-12 14:13:47 +01:00
Eldar Sadykov ee90248d5f
FileMiddleware from Xcode Project docs (#768)
* Add FileMiddleware in an Xcode Project explanation.

* Delete extra space.

* Update docs/advanced/middleware.md

* Update docs/advanced/middleware.md

---------

Co-authored-by: Tim Condon <0xTim@users.noreply.github.com>
2023-04-11 14:48:30 +00:00
Mattes Mohr f2987f339e
Add German translation for logging.md (#787)
* Start translation

* Revise some passages

* Fix dead link

---------

Co-authored-by: Tim Condon <0xTim@users.noreply.github.com>
2023-04-11 13:13:38 +01:00
Mattes Mohr a0d564fc24
Add German translation for validation.md (#786)
* Start the translation

* Revise some passages

* Revise some passages
2023-03-20 14:39:13 +00:00
JIN 77aa8c2431
update cn deploy fly translation (#785) 2023-03-18 00:41:06 +08:00
Marcel Borsten 9c45a750e8
Add `minutely()` helper function description to advanced -> queues (#784)
* Add `minutely()` helper function description to advanced -> queues

* Update docs/advanced/queues.zh.md

---------

Co-authored-by: Marcel Borsten <Marcel Borsten>
Co-authored-by: Tim Condon <0xTim@users.noreply.github.com>
2023-03-15 12:57:15 +00:00
BennyDB 5af530683a
Translation/dutch759 766 767 (#779) 2023-03-08 17:15:58 +00:00
Mattes Mohr 9be24a7516
Add German translation for xcode.md (#777) 2023-03-02 18:02:19 +00:00
Mattes Mohr bde2c973a4
Add German translation for routing.md (#778) 2023-03-02 13:38:49 +00:00
Mattes Mohr e7158eae8a
Revise current German translation (#775)
* Revise controllers.de.md

* Revise environment.de.md

* Revise macos.de.md

* Translate the navigation items

---------

Co-authored-by: Tim Condon <0xTim@users.noreply.github.com>
2023-03-01 00:17:01 +00:00
Mattes Mohr 7539bc06e4
Add German translation for async.md (#774) 2023-02-28 22:49:44 +00:00
JIN 598a10751e
update cn doc (#769)
Co-authored-by: Tim Condon <0xTim@users.noreply.github.com>
2023-02-19 13:41:10 +00:00
Tim Condon 067ac31294
Fix Dead Links (#770)
* Fix Leaf links

* Fix NIO links

* Fix up more links

* Fix Redis links

* Update image links
2023-02-19 13:37:25 +00:00
Tyler Waitt ff7cadd323
Update Digital Ocean deploy (#765)
* Update Digital Ocean deploy

* Change HTTP port to 8080

---------

Co-authored-by: Tim Condon <0xTim@users.noreply.github.com>
2023-02-05 23:26:47 +00:00
Henrik Christensen affde5fb5d
add note about session cookie (#760)
* add tip about session cookie

* change tip -> note

* add suggested change

---------

Co-authored-by: Tim Condon <0xTim@users.noreply.github.com>
2023-02-05 20:42:05 +00:00
Zsolt Váradi 7bfdc35045
Make custom Leaf tag examples complete (#762)
* Make custom Leaf tag examples complete

As reported in [vapor/vapor#2942](https://github.com/vapor/vapor/issues/2942), UnsafeUnescapedLeafTag is going unnoticed.

To bring more attention to it, I moved the tip to the top section in all languages, updated the HelloTag to use the protocol (since it was rendering garbage since the LeafKit update).
Plus, all the code samples are now directly copiable, as they have a common structure and indentation.

* Hardcode RediStack 1.3.2 doc URLs to fix dead links
2023-01-24 13:44:43 +00:00
Pop Flamingo c8e291d3f5
Add docs for deployment on Fly (#724)
* WIP: Add docs for deployment on Fly

* Fix typo

* Add Fly to mkdocs.yml

* Remove trailing  newlines

* Replace "We recommend" with "It is recommended"

* Remove "managed"

Fly doesn't describe the DBs as such and they aren't as much "managed" as other platforms currently

* Change config.swift to configure.swift

* Fix typos and improve wording

* Improve last section

* Explain how to find the name of the Postgres app

* Replace "This command" by a clearer reference

* Clarity: Change tense to present

* Improve the last sentence

* Improve last sentence again

* Various improvements

* Apply changes from feedback of @BennyDeBock and @0xTim

* Add details about the possibility of using other types of databases

* Converts quotes to special !!! syntax and mention fly secrets import

* Also mention how to create a template from GitHub templates based on @BennyDeBock suggestion

* Apply suggestions from code review

* Switch toolbox and templates

Co-authored-by: Tim Condon <0xTim@users.noreply.github.com>
2023-01-19 19:47:42 +00:00
JHansen e955cc0035
Fix typo in Fluent -> Advanced (#757)
* Fix typo in Fluent -> Advanced (English)

* Fix typo in Fluent -> Advanced (Dutch)

* Fix typo in Fluent -> Advanced (Chinese)
2023-01-19 10:08:56 +00:00
Cristian Cardoso c5bc73f599
Fix typo in Documentation - Protecting Routes Section (#755) 2022-12-29 13:38:34 +00:00
Umar Haroon 8f6b8f6dd1
Update nginx.md to remove duplicate (#752)
* Update nginx.md to remove duplicate

Fixed where there's a duplicate  proxy_pass_header Server

* Update nginx.nl.md

* Update nginx.zh.md
2022-11-10 13:30:08 +01:00
Martin Lasek ff2748c6f1
Updated the migration documentation (#753) 2022-11-07 19:50:54 +00:00
JIN e8867eddb6
update cn fluent advanced (#749)
Co-authored-by: Tim Condon <0xTim@users.noreply.github.com>
2022-10-12 08:49:42 +00:00
BennyDB a0b8e9bccb
Translate pr744 (#750) 2022-10-12 09:45:16 +01:00
julianiaccopucci 8e2f07d2ea
Use of regular expressions for MongoDB (#744)
* Use of regular expressions for MongoDB

The API allows to create a Document with a regular expression to query for items, but there's no documentation about it.

Ideally the key "name" is created using FieldKey.makeMongoKey(), but the extension is internal, so we must hardcode it for now.

* Apply suggestions from code review

Co-authored-by: Tim Condon <0xTim@users.noreply.github.com>
2022-10-11 12:04:52 +00:00
Marko Tadic 0196f4792c
Update digital-ocean.md (#747)
* Update digital-ocean.md

* Update digital-ocean.zh.md

* Update digital-ocean.nl.md

* Update digital-ocean.md
2022-10-11 09:53:47 +00:00
BennyDB 813f67f1ee
Translate #741 to dutch 2022-09-30 14:05:42 +02:00
Jonas Sannewald e4573e4e13
Contributing section translated (#745) 2022-09-30 08:36:38 +01:00
JIN 9c8329929c
update cn fluent model translation (#743) 2022-09-27 10:33:26 +01:00
neilhamilton b7d6f6ff5b
Fix type declaration in AsyncMiddleware example (#741) 2022-09-26 15:07:05 +01:00
JIN 42d8eeee02
update cn advanced middleware translation (#740) 2022-09-21 20:56:02 +08:00
JIN 961d96b6c6
update cn basics translation part2 (#733) 2022-09-20 10:36:08 +08:00
JIN 7e8223c1f8
update cn fluent translation (#739) 2022-09-17 23:26:06 +08:00
JIN ec941f1010
update cn advanced sessions translation (#738) 2022-09-16 11:09:40 +08:00
BennyDB 1dd1e27550
Add dutch translations to sessions (#736) 2022-09-12 14:34:29 +02:00
BennyDB b7c24e3bc0
Add release notes page (#731)
* Add release notes

* Add bash instructions to insert into release-notes

* change package name

* Add all packages with releases to the release-notes file
2022-09-12 10:22:34 +02:00
Rob 87b201f1f1
Update sessions.md (#734)
* Adds clearer language explaining where to call the `app.middleware.use(app.sessions.middleware)` and why.
2022-09-10 19:24:43 -05:00
JIN 0cc229fb05
update cn basics translation part1 (#732)
* update cn getting-started translation

* update cn basics translation part1
2022-09-08 20:28:10 +08:00
JIN d8df5f5798
update cn getting-started translation (#730) 2022-09-08 09:29:55 +08:00
JIN bf31073021
update cn index translation (#726) 2022-09-06 22:54:08 +08:00
JIN 4eb478e78b
fix annotation style (#725) 2022-09-05 21:10:20 +08:00
JIN 475e4cbd13
Add security authentication translation (#720)
* add authentication
2022-09-03 13:31:12 +08:00
JIN b5a48452a6
fix basics async translation (#723) 2022-09-03 13:01:29 +08:00
JIN ffc5406b3d
update leaf overview translation (#721) 2022-09-01 20:23:44 +08:00
JIN 49b4f61f0b
add deploy docker translation (#718) 2022-08-31 09:45:03 +08:00
JIN f12a08146e
Add security jwt translation (#717) 2022-08-24 22:37:38 +08:00
BennyDB 21f39ef705
Translation of pr712 and 709 to dutch (#716) 2022-08-23 21:54:07 +01:00
JIN 1e6f4f6832
Add advanced queues translation (#715) 2022-08-23 09:32:43 +08:00
JIN 6f45381c6e
add basics errors translation and fix 404 (#711) 2022-08-21 21:54:40 +08:00
Marius Seufzer cb8874b5cb
add dumpContext tag (#712)
Co-authored-by: Marius Seufzer <marius.seufzer@protonmail.com>
Co-authored-by: Tim Condon <0xTim@users.noreply.github.com>
2022-08-18 16:35:42 +02:00
Tim Condon 4d995b4379
Fix deadlink (#713)
* Fix deadlink

* attempt 2
2022-08-18 16:26:33 +02:00
JIN ad8a813e79
add fluent(model, relations, schema) translation (#704) 2022-08-17 09:16:22 +08:00
Francisco Bretal 9457c89321
Application access clarification on Queues (#709)
I added some clarification on how to dispatch a job from within the `Application` object. Let me know wether this is okay or it actually needs some tweaking.
2022-08-16 19:23:22 -04:00
BennyDB 4f15e4a2b2
Replace old RediStack API links (#707) 2022-08-15 14:25:15 +01:00
BennyDB 9021f4cad8
Dutch translation added for PR 700 and PR 702 (#706)
* Translate PR 702 to dutch

* Translate  PR 700 to dutch
2022-08-15 13:51:25 +01:00
Flerex 18fa82510c
Codable protocol clarification in Queues docs (#702) 2022-08-14 12:01:25 -04:00
Kyle Stubblefield 0fe2c349f5
Added closure documentation for redirect (#700) 2022-08-13 15:44:20 +01:00
BennyDB 4c731052e8
Add dutch translation (#667)
* Add navigation translations

* Vertaal linux.md

* Fix typo

* Translate macos page

* Translate hello-world

* Translate folder structure

* Translate SPM.md

* Translate Xcode.md

* Translate routing

* Translate Validation.md

* Translate logging.md

* Translate controllers

* translate Errors.md

* Translate environment.md

* Translate content.md

* Translated client.md

* Translate async.md

* Translate security/passwords

* Translate security/crypto

* Translated security/jwt

* Translate security/authentication

* Translate redis/sessions

* translate redis/overview.md

* fix list issue in redis/overview

* translate legacy-docs.md

* translate leaf/custome-tags

* translate leaf/getting-started

* translate leaf/overview

* translate fluent/transaction

* translate fluent/migration

* translate fluent/schema

* translate fluent/relations

* translate fluent/query

* translate fluent/advanced

* translate fluent/overview

* Partially translate fluent/model

* Translate fluent/model

* Fix link in fluent/schema

* Add note for future update to the page

* Put the note in the right file

* Translate advanced/commands

* Translate advanced/files

* Translate advanced/middleware

* Translate advanced/websockets

* Translate advanced/testing

* Translate advanced/sessions

* Translate advanced/services

* Translate advanced/server

* Translate advanced/queues

* Translate deploy/systemd

* Translate deploy/supervisor

* Translate deploy/nginx

* Translate deploy/heroku

* Translate deploy/docker

* Translate deploy/digital-ocean

* Translate advanced/APNS

* Translate upgrading

* Fix dead link in custom-tags nl

* Translate contributing/contributing

* Fix routing links

* Add nav translationg for contributing

* Switch out ecdsa vs rsa article to avoid dead links

* Fix issue with dead links

* Change translation based on feedback

* Edits based on feedback
2022-08-12 14:42:58 +02:00
JIN dc4ee47599
Add security cryto & passwords translation (#698) 2022-08-12 20:26:52 +08:00