Commit Graph

1685 Commits

Author SHA1 Message Date
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
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