Commit Graph

1676 Commits

Author SHA1 Message Date
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
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
Gwynne Raskind 7da0d44088
Modernize deploy workflow (#942)
Switches to OIDC provider, replaces very old S3 and CloudFront actions
with modern CLI usage, de-hardcodes region and S3 bucket name, unlocks
pin of old version of CloudFormation deploy action, add concurrency
safety.
2023-11-11 11:28:20 -06:00