Commit Graph

206 Commits

Author SHA1 Message Date
Ale Mohamad ⌘ ae759d6dcd
Add Spanish translation for advanced/commands.md (#988)
Add Spanish translation for advanced/commands.md

---------

Co-authored-by: Jorge Acosta <104621044+jacostaf10@users.noreply.github.com>
2024-06-27 09:23:42 +00:00
Ale Mohamad ⌘ 1845ab5966
Add Spanish translation for advanced/testing.md (#986)
Add Spanish translation for advanced/testing.md

---------

Co-authored-by: Jorge Acosta <104621044+jacostaf10@users.noreply.github.com>
2024-06-27 09:19:02 +00:00
Ale Mohamad ⌘ c03fa8340c
Add Spanish translation for advanced/server.md (#987)
Add Spanish translation for advanced/server.md

---------

Co-authored-by: Jorge Acosta <104621044+jacostaf10@users.noreply.github.com>
2024-06-27 11:14:37 +02:00
Jaime Garcia c42313a2f3
Spanish translation for advanced/middleware.es.md (#985)
<!-- 🚀 Thank you for contributing! -->

<!-- Describe your changes clearly and use examples if possible. -->
Added spanish translation for advanced/middleware.md file

<!-- When this PR is merged, the title and body will be -->
Spanish translation for advanced/middleware.es.md

<!-- used to generate a release automatically. -->
2024-06-19 18:34:43 +02:00
Tim Condon 6ef6773e9f
Fix Swiftly links (#984)
<!-- 🚀 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. -->
2024-06-12 15:37:07 -05:00
TillTHMAcc ae3add1169
German translation for Websockets.md #969 #968 (#974)
translation-update

---------

Co-authored-by: Mattes Mohr <mail@mattesmohr.de>
2024-06-05 19:39:38 +02:00
Miguel Piedrafita ed9aec65dc
Fix Error Middleware docs (#981)
[`ErrorMiddleware` is not the only middleware added by
default](cc98361cbe/Sources/Vapor/Middleware/Application%2BMiddleware.swift (L8)).
This PR updates that assertion and the replacement instructions to
re-introduce `RouteLoggingMiddleware`.
2024-05-30 12:53:11 +00:00
Fang Ling 0005a29eba
fix typo & add missing 'with' argument label (#980) 2024-05-20 16:07:08 +00:00
Paul Toffoloni 7597c7f464
Update JWT references for JWTKit 5 (#977)
Co-authored-by: Tim Condon <0xTim@users.noreply.github.com>
2024-05-15 09:48:48 +00:00
JIN 3a22dabef4
update cn doc (#976)
update cn doc for pr #968

Co-authored-by: redsun <jinxueli@imooc.com>
2024-05-05 22:49:02 +02:00
Jared Henderson 902c973c38
update postgres connect example to non-deprecated (#973)
current docs show using a deprecated initializer that produces a
warning.
2024-04-29 12:03:39 +01:00
Jorge Acosta e620dfd95f
Add Spanish translation for query.md (#934)
Add Spanish translation for `query.md` in `fluent` folder.
2024-04-09 19:49:46 +00:00
Francesco Paolo Severino a1f70a8505
Add Italian Testing, Transaction and Migration translation (#971) 2024-04-06 17:16:15 +02:00
Paul Toffoloni d2b06a838f
Add Italian WebSockets translation (#970)
Co-authored-by: Francesco Paolo Severino <96546612+fpseverino@users.noreply.github.com>
2024-03-30 14:46:15 +01:00
Jia-Han Wu b6a8f3a755
Update documentation about ws.send(...) return value (#968)
## Description

The current documentation incorrectly states that ws.send(...) returns a
value which can be awaited. However, the WebSocket.send method does not
have a return value.

## Reference

*
[vapor/websocket-kit/Sources/WebSocketKit/Concurrency](https://github.com/vapor/websocket-kit/blob/main/Sources/WebSocketKit/Concurrency/WebSocket%2BConcurrency.swift)
2024-03-29 08:16:56 -05:00
Gao Lei 342ae636ac
There were 2 'use', changed first one to 'should' (#967) 2024-02-10 17:03:06 +00:00
Tim Condon 5170deb6e8
Add note about DTO for parent relationship (#965)
<!-- 🚀 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. -->
2024-02-09 15:08:15 -06:00
Gwynne Raskind 288b3ac4d7
Make the sample migration not destroy data (#962) 2024-02-07 00:03:25 +00:00
Jorge Acosta ed73175772
Add Spanish translation for schema.md (#936)
Add Spanish translation for `schema.md` in `fluent` folder.

---------

Co-authored-by: Ale Mohamad ⌘ <alejandro.mohamad@gmail.com>
2024-01-18 12:06:55 +00:00
hainuo ac1876610d
fix typo Swiflty => Swiftly (#960)
fix typo Swiflty => Swiftly
2024-01-06 01:15:44 +00:00
hainuo d212173d9a
fixed typo (#959)
fix typo Swiflty => Swiftly
2024-01-06 01:11:39 +00:00
Gao Lei 30f5e0ffb3
Add Chinese translation for relations.md (#958)
<!-- 🚀 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. -->
As in title
2024-01-03 11:02:16 +00:00
Wojciech Sierotowicz c9dca28ada
Remove the use of `load(on:)` in relations.md (#956)
<!-- 🚀 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. -->

As I've noticed on a [discord
conversation](https://discord.com/channels/431917998102675485/684159753189982218/1152776938281250896),
the `load(on:)` method is discouraged to be used and should be replaced
with `get(on:)`, which defaults to cache if possible.
2024-01-02 16:58:39 +00:00
William Sedlacek e478d998a8
Add missing `else` to guard in docs (#955)
<!-- 🚀 Thank you for contributing! -->

<!-- Describe your changes clearly and use examples if possible. -->
The code as is has a syntax error.

<!-- When this PR is merged, the title and body will be -->
<!-- used to generate a release automatically. -->
2023-12-18 16:55:24 +00:00
Valeriy Van fafc8baf14
Update snippet in server.md (#954)
Use `makeServerConfiguration` instead of deprecated `forServer`.
2023-12-13 12:57:18 +00:00
JIN 38d4edd812
update cn doc (#952)
update cn doc for pr #935 

@Jinxiansen
2023-12-06 14:59:57 +00:00
Marius Seufzer 32e917855b
Update Command docs to use new AsyncCommand api (#953) 2023-12-01 22:28:38 +00:00
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