Commit Graph

241 Commits

Author SHA1 Message Date
Jay Herron a0d7615b8d
Adds tracing documentation (#1039)
<!-- 🚀 Thank you for contributing! -->

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

Adds new Tracing chapter to document API introduced in
https://github.com/vapor/vapor/pull/3253

<!-- When this PR is merged, the title and body will be -->
<!-- used to generate a release automatically. -->
2024-12-30 17:29:10 +00:00
btc100k 399b55f27f
Update TLS example in Docs (#1013)
The enable TLS example didn't work for me locally. I eventually figured
out that `NIOSSLPrivateKeySource` was required.
2024-12-17 12:03:24 +00:00
Ale Mohamad ⌘ 512138578a
Update dependency in security/jwt.md translations (#1035)
Update dependency in security/jwt.md translations:

- Chinese
- Dutch
- English
- German
2024-12-16 15:40:03 +00:00
Ale Mohamad ⌘ b2fb239506
Required translation updates for Spanish (#1028)
Required translation updates for Spanish in different issues:

- #932 
- #940 
- #957 
- #963 
- #966 
- #994

---------

Co-authored-by: TheHandyOwl <24987271+TheHandyOwl@users.noreply.github.com>
2024-12-14 17:45:36 +01:00
Ale Mohamad ⌘ f99ed9b576
Update TLS example in other languages (#1033)
Added TLS example in other languages, following #1013
2024-12-14 17:30:12 +01:00
Jorge Acosta b974f36893
Add Spanish translation for deploy/nginx.md (#1032)
Add Spanish translation for deploy/nginx.md

---------

Co-authored-by: Ale Mohamad ⌘ <alejandro.mohamad@gmail.com>
2024-12-12 20:06:58 +00:00
Jorge Acosta b8374f269e
Add Spanish translation for deploy/supervisor.md (#1030)
Added Spanish translation for `supervisor.md` in `deploy` folder.

---------

Co-authored-by: TheHandyOwl <24987271+TheHandyOwl@users.noreply.github.com>
2024-12-12 19:57:59 +00:00
Jorge Acosta 3fa4f75287
Add Spanish translation for deploy/systemd.md (#1031)
Add Spanish translation for deploy/systemd.md
2024-12-12 18:31:19 +00:00
TheHandyOwl b3dd9fde44
NEW: translation EN (current services.md file) to ES (new services.es.md file) (#1029)
NEW: translation EN (current services.md file) to ES (new services.es.md
file)

---------

Co-authored-by: Ale Mohamad ⌘ <alejandro.mohamad@gmail.com>
2024-12-12 18:24:47 +00:00
Ale Mohamad ⌘ 225ba89e32
Add Spanish translation for security/passwords.md (#1027)
Add Spanish translation for security/passwords.md

---------

Co-authored-by: TheHandyOwl <24987271+TheHandyOwl@users.noreply.github.com>
2024-12-11 10:22:00 +01:00
Ale Mohamad ⌘ b730969b75
Add Spanish translation for security/crypto.md (#1026)
Add Spanish translation for security/crypto.md

---------

Co-authored-by: Jorge Acosta <104621044+jacostaf10@users.noreply.github.com>
2024-12-10 18:32:44 +01:00
TheHandyOwl 27257c9cab
NEW: Ttranslation EN to ES - apns.es.md file (#1022)
NEW: translation EN (current apns.md file) to ES (new apns.es.md file)
2024-12-09 20:40:23 +01:00
Tim Condon dc47acc514
Add note about Swift 6 for the toolbox (#1025)
<!-- 🚀 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-12-09 19:25:52 +00:00
Tim Condon 28438d0407
Update Swift versions required by Vapor (#1024)
<!-- 🚀 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. -->

---------

Co-authored-by: Zsolt Váradi <1783465+vzsg@users.noreply.github.com>
2024-12-09 19:20:58 +00:00
TheHandyOwl 2e4796cd98
NEW: translation EN to ES - queues.es.md (#1021)
New queues.es.md file.
Translation from EN to ES

---------

Co-authored-by: Ale Mohamad ⌘ <alejandro.mohamad@gmail.com>
2024-12-09 19:17:50 +01:00
TheHandyOwl 79b5656434
FIX: Markdown visual line break for 'queues.md' files (#1020)
### Line break for options:

Added a visual line break to separate the header "Some text options:"
from the list items. This ensures proper Markdown rendering and improves
readability.

---

### Before:

Some text options:
- Example 1
- Example 2

**Rendered as:**
Some text options:  - Example 1 - Example 2

---

### After:

Some text options:
(line break added)
- Example 1
- Example 2

**Rendered as:**
Some text options:
- Example 1
- Example 2

---

### Consistent visual rendering across other Markdown elements:

This change introduces a similar visual line break strategy for
informational blocks.
These adjustments ensure uniformity, improve Markdown rendering, and
maintain a cleaner visual structure across various platforms.
2024-12-09 19:11:48 +01:00
TheHandyOwl c4213e4817
Feature/translation en es async.es.md (#1018)
NEW: Text update in async.md file
NEW: Updated EN to ES translation in async.es.md file
2024-12-07 06:31:39 +00:00
TheHandyOwl a4c499fdcd
REFACTOR: Correction of simple errors in the files.es.md file (#1019)
REFACTOR: Correction of simple errors in the files.es.md file
2024-12-06 19:36:02 -08:00
TheHandyOwl 4582ad7ab3
NEW: EN > ES translation - files.es.md (#1010)
New 'files.es.md' file created. EN > ES translation
2024-12-04 08:34:19 +00:00
Przemysław Wrzesiński 07ed13b42b
Add EventLoopFuture.get() description (#1011)
<!-- 🚀 Thank you for contributing! -->

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

Add EventLoopFuture.get() description:

    try await EventLoopFuture.get()

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

---------

Co-authored-by: Przemysław Wrzesiński <p.wrzesinski@vatio.eu>
Co-authored-by: Tim Condon <0xTim@users.noreply.github.com>
2024-12-01 14:02:35 +00:00
Jaume a0c7fd2137
Improved the queues.md page to add a little extra info about testing (#1008)
<!-- 🚀 Thank you for contributing! -->

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

* Added a small brief of the asyncDriver to allow people know you can
use that for testing

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

---------

Co-authored-by: Gwynne Raskind <gwynne@darkrainfall.org>
2024-11-03 22:59:05 +00:00
Yoichiro Tanaka 62a7b6c35a
Add Japanese translation for fluent/overview.md (#1003)
<!-- 🚀 Thank you for contributing! -->

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

I translated the "Fluent > Overview" page into Japanese.

<!-- When this PR is merged, the title and body will be -->
<!-- used to generate a release automatically. -->
2024-10-08 17:07:55 +01:00
Paul Toffoloni 15f64e2eb5
JWT docs overhaul (#1001)
Update JWT docs for v5
2024-10-03 15:51:13 +00:00
Yoichiro Tanaka 4b0e25d369
Add Japanese translation for advanced/queues.md (#1004)
I translated the "Advanced > Queues" page into Japanese.

---------

Co-authored-by: Tim Condon <0xTim@users.noreply.github.com>
2024-09-19 11:03:20 +00:00
とんとんぼ 6f6b9078fa
Translate Leaf to Japanese (#1005)
[Leaf content](https://docs.vapor.codes/ja/leaf/overview/) translated
into Japanese

- getting-started.md
- overview.md
- custom-tags.md

---------

Co-authored-by: Tim Condon <0xTim@users.noreply.github.com>
2024-09-09 10:47:49 +01:00
Jake 41395a347a
Fix broken contribution links (#1006)
Update broken GitHub links for the people trying to contribute. The
links to "good first issue board" and the "help wanted board" were out
of date.
2024-09-08 21:56:58 +01:00
Ale Mohamad ⌘ 76f1dcabcf
Add Spanish translation for security/authentication.md (#989)
Add Spanish translation for security/authentication.md
2024-09-06 16:16:06 +00:00
Francesco Paolo Severino b9221c3bdd
Add Italian translation of `crypto` and `passwords` (#1002) 2024-09-04 15:58:45 +02:00
nptr23 b6846b8ac2
Create middleware.de.md | German Translation for middleware.md (#751) (#996)
translation of the whole document

<!-- 🚀 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. -->

---------

Co-authored-by: Tim Condon <0xTim@users.noreply.github.com>
Co-authored-by: Paul Toffoloni <69189821+ptoffy@users.noreply.github.com>
2024-08-20 12:34:35 +00:00
zunda 5e2c31f3e2
fix deprecated code (#999)
fix deprecated code

> [!WARNING]
> `sandbox` is deprecated: renamed to `development`
2024-08-20 11:35:42 +00:00
Philip Lesche c2f2b32aaf
jwt.de.md german translation for #977 (#997)
<!-- 🚀 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. -->

---------

Co-authored-by: Paul Toffoloni <69189821+ptoffy@users.noreply.github.com>
2024-08-11 03:05:59 +01:00
Tom 1609273809
Update german translation for #935 (#975) 2024-07-30 22:12:34 +02:00
Francesco Paolo Severino 1611d7e0c6
Update Leaf docs (#991)
<!-- 🚀 Thank you for contributing! -->

<!-- Describe your changes clearly and use examples if possible. -->
Update Leaf docs to accept time zone IDs as argument in `#date` tag

<!-- When this PR is merged, the title and body will be -->
<!-- used to generate a release automatically. -->
2024-07-21 21:34:22 +00:00
Tim Condon 2bd8265751
Fix KO Favicon Link (#992)
<!-- 🚀 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-07-21 22:29:13 +01:00
Alex Novikov e6dcb138c5
fixed missing s as per Python string expression syntax (#990)
supervisord uses the Python string expression syntax in its
configuration files, like this `%(ENV_X)s `
It's described here:
http://supervisord.org/configuration.html#environment-variables
In the "Deploy->Supervisor->Configure" section of the documentation the
final "s" were omitted:
https://docs.vapor.codes/deploy/supervisor/#configure
so copy-pasting this example was leading to wrong file names of the
logs.
For example, instead of the expected file name `hello-stdout.log` I had
the wrong `hellotdout.log`.
2024-07-04 12:16:45 +00:00
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