0
0
Fork 0
mirror of https://codeberg.org/forgejo/docs.git synced 2024-11-24 18:09:26 -05:00
Commit graph

499 commits

Author SHA1 Message Date
Caesar Schinas
6c5e27d8f9 s/gitea/forgejo/ in command-line docs 2023-08-27 15:18:31 +00:00
Caesar Schinas
b7c2392a4c import command-line docs from Gitea 2023-08-27 15:18:31 +00:00
Earl Warren
ace3c8f8e9 address caesar comments 2023-08-27 06:06:03 +00:00
Earl Warren
86df6f07b2 typo 2023-08-27 06:06:03 +00:00
Earl Warren
705958fcfa address gusted comments 2023-08-27 06:06:03 +00:00
Earl Warren
d1f42e1b83 admin: actions: rework and introduce OCI images 2023-08-27 06:06:03 +00:00
Caesar Schinas
581d02f1d7
s/Gitea/Forgejo/ 2023-08-27 00:02:54 +01:00
firefly-cpp
475ef3b3c7 user:issue-pull-request-templates:gitea->forgejo in template 2023-08-26 14:44:38 +02:00
Robin Kloppe
cda78ddf2a serveral improvements 2023-08-26 00:12:52 +02:00
Earl Warren
a68070a894
admin: actions: add a section about alternative runners 2023-08-25 10:18:29 +02:00
Robin Kloppe
42dbbba27c Clarified version check endpoint parameters. HTTP_ENDPOINT is now deprecated (#68)
Clarified version check endpoint parameters. HTTP_ENDPOINT is now deprecated

Closes #49

Reviewed-on: https://codeberg.org/forgejo/docs/pulls/68
Reviewed-by: Caesar Schinas <caesar@caesarschinas.com>
Co-authored-by: Robin Kloppe <git@mainboarder.de>
Co-committed-by: Robin Kloppe <git@mainboarder.de>
2023-08-24 10:28:46 +00:00
Earl Warren
73a1bcb126 admin: logging-documentation: add documentation for MODE = 2023-08-23 10:42:13 +00:00
Loïc Dachary
f0c9ffab9e developer: release: document the steps 2023-08-22 22:12:41 +00:00
Caesar Schinas
a575e3ef68 fix: ci: update website config filename 2023-08-22 21:59:32 +00:00
Gusted
2b3136b775 admin: document SLOW_QUERY_TRESHOLD option
- This is a Forgejo-specific option and the associated pull request is
- https://codeberg.org/forgejo/forgejo/pulls/1284.
- Adding a recommendation to set it to a lower value if an administrator
is investigating poor database performance with Forgejo.
2023-08-21 21:01:23 +00:00
wh0ami
21517723f4 admin: add hint for known bug with SameSite strict and external OAuth2 providers 2023-08-21 19:29:26 +00:00
Earl Warren
5ea739c8d1
admin: ugprade add notes about v1.20.[12]-0 2023-08-21 10:55:19 +02:00
Caesar Schinas
1de27e8949
tooling: add live preview script 2023-08-19 23:20:00 +01:00
Caesar Schinas
a3c639ff49 better description of input validation attributes
Closes https://codeberg.org/forgejo/website/issues/168
2023-08-19 20:03:28 +00:00
Caesar Schinas
c6ab3c37fb
fix: broken links from Gitea docs import
Invalid link templates left over from docs import from Gitea.

Closes https://codeberg.org/forgejo/website/issues/160
2023-08-19 16:26:57 +01:00
Caesar Schinas
ba892adf7f add yaml to editorconfig 2023-08-19 06:27:35 +00:00
Caesar Schinas
db41d2411f
CI: use slashes in backport branch names and labels 2023-08-18 23:44:21 +01:00
Loïc Dachary
db05f79562 CI: do nothing instead of failing if trying to backport a PR 2023-08-18 20:51:01 +00:00
Robin Kloppe
4a3f87ad43
Removed Push Options link from User Index - Bug #30 2023-08-18 22:40:37 +02:00
Robin Kloppe
b8c2ed65c9 Replaced mydomain with example - RFC2606, RFC6761 2023-08-18 22:27:55 +02:00
Earl Warren
7cc799cfa1
README: add backport instructions 2023-08-18 15:09:05 +02:00
Earl Warren
3de0164331
CI: use WEBSITETOKEN
because using GITHUB_TOKEN has the undesirable side effect of blocking
the workflows when creating a branch and a PR from it
2023-08-18 14:50:44 +02:00
Earl Warren
2fd1640125
CI: add backport workflow
Refs: https://codeberg.org/forgejo/docs/issues/18
2023-08-18 14:12:49 +02:00
Loïc Dachary
3d68e4f36e
CI: move the preview script to an action 2023-08-17 23:56:58 +02:00
Loïc Dachary
5dde3a4231 add a comment with a link to the preview on creation
Refs: https://codeberg.org/forgejo/docs/issues/3
2023-08-17 17:30:40 +00:00
Loïc Dachary
67fdb5449b
developer: link to the CI file for go-version recommendation 2023-08-17 19:01:23 +02:00
Caesar Schinas
2d3459594d
document "And Your Own Notifications" setting 2023-08-17 14:11:28 +01:00
Caesar Schinas
4e059dc7f9
add linting for docs markdown content 2023-08-16 23:57:11 +01:00
crystal
8b922f661d
Add "internal" pull request instructions 2023-08-16 10:01:15 -06:00
Earl Warren
de971ac0e2 update the website when a branch is pushed (#9)
TODO:

- [x] comment out the `git push` once the website has submodules merged in

Fixes: https://codeberg.org/forgejo/docs/issues/8

Additionally

* Upgrade to node:20
* Exclude the README.md when copying to the preview

* Allow forgejo-website to push to main on website

![image](/attachments/14f4f38f-fdb8-4ca7-9aee-d9b7e108d71e)

Preview: https://forgejo.codeberg.page/@docs_pull_9/
Reviewed-on: https://codeberg.org/forgejo/docs/pulls/9
Reviewed-by: Loïc Dachary <dachary@noreply.codeberg.org>
Co-authored-by: Earl Warren <contact@earl-warren.org>
Co-committed-by: Earl Warren <contact@earl-warren.org>
2023-08-16 10:32:04 +00:00
Earl Warren
fc108d2064 add CI to preview PRs (#5)
TODO:

- [x] clone from website instead of caesar
- [x] skip the proof of change commit

Preview: https://forgejo.codeberg.page/@docs_pull_5/

This is a simplistic approach to get started with previews. It copies the website, moves the docs under `/forgejo-docs/{{ base branch }}`, create the website and publishes it for preview. No doubt the actual workflow will be different but that needs to be decided.

* Added a WEBSITETOKEN secret created from the forgejo-website user. It is a token with write access to repositories. https://codeberg.org/forgejo/docs/settings/actions/secrets. Contrary to woodpecker it is not in an environment variable but will be replaced when inserting `${{ secrets.WEBSITETOKEN }}` somewhere
* In the environment the variable was replaced CI_COMMIT_PULL_REQUEST → `${{ env.GITHUB_REF_NAME }}`
* The preview is published at https://forgejo.codeberg.page/@docs_pull_N/ instead of https://forgejo.codeberg.page/@pull_N/
* The `$$` were replaced with `$` in the script because Forgejo Actions does not interpret `$` and therefore does not need escaping them to `$$`

Reviewed-on: https://codeberg.org/forgejo/docs/pulls/5
Reviewed-by: Loïc Dachary <dachary@noreply.codeberg.org>
Reviewed-by: Caesar Schinas <caesar@caesarschinas.com>
Co-authored-by: Earl Warren <contact@earl-warren.org>
Co-committed-by: Earl Warren <contact@earl-warren.org>
2023-08-16 09:31:01 +00:00
Caesar Schinas
c14ccdf2d2
add editorconfig 2023-08-16 00:09:09 +01:00
Caesar Schinas
c592e1acb1
add README 2023-08-15 15:53:17 +01:00
Caesar Schinas
27864fec2b
move docs to subfolder 2023-08-15 00:19:15 +01:00
Vlad-Stefan Harbuz
ea5e4573fe
Replace “MAILER_TYPE” with “PROTOCOL” 2023-08-13 17:18:48 +01:00
Caesar Schinas
6ec4fbe7c8
Merge branch 'storage' into next
# Conflicts:
#	admin/config-cheat-sheet.md
2023-08-13 17:16:28 +01:00
Earl Warren
dd92764a36
docs: admin: storage: fix sections names
# Conflicts:
#	v1.21/admin/config-cheat-sheet.md
#	v1.21/admin/storage.md
2023-08-13 17:12:52 +01:00
Earl Warren
41ee7cc748
docs: admin: [attachments] is actually [attachment]
So it actually is [attachment] or [storage.attachments], one singular
and one plural. One more reason to **not** document [storage.XXXX].

# Conflicts:
#	v1.21/admin/config-cheat-sheet.md
#	v1.21/admin/storage.md
2023-08-13 17:12:52 +01:00
Caesar Schinas
fd669862e6
docs: s/attachements/attachments/
# Conflicts:
#	v1.20/admin/config-cheat-sheet.md
#	v1.21/admin/storage.md
2023-08-13 17:12:51 +01:00
Earl Warren
13e1c388d7
docs: admin: config-cheat-sheet: remove references to [storage.xxxx] 2023-08-13 17:12:51 +01:00
Loïc Dachary
69843f60cd
docs: admin: storage: do not document [storage.XXXX]
its behavior is not thoroughly tested and varies in ways that are confusing
2023-08-13 17:12:51 +01:00
Loïc Dachary
c06a49e81c
docs: admin: storage: the defaut root for storage is APP_DATA_PATH 2023-08-13 17:12:51 +01:00
Gusted
087f379291
Add new functionality to moderation docs
- Ref https://codeberg.org/forgejo/forgejo/pulls/1151
2023-08-13 17:12:01 +01:00
Gusted
ace76320ed
Create v1.21 documentation
A verbatim copy of the v1.20 documentation to build upon. With just a
replacement of v1.20 with v1.21 where relevant.
2023-08-13 17:12:01 +01:00
Earl Warren
ab0782c39c
docs: developer: workflow: requirement for Forgejo database migrations
While feature branches may have different requirements for the Forgejo
tables, they are constrained by the migration logic that requires they
happen in sequence and are listed in the same list. If each feature
branch changes the `forgejo_migrations/migrate.go` file independently,
it is bound to conflict with other feature branches trying to do the
same.

To avoid this situation it is proposed that once a migration
developped and tested in a freature branch is final, it is isolated in
a commit and moved to the `forgejo-development` branch. This can
happen during a rebase or with a pull request.

It is probably better that all migrations are ultimately squashed in a
single commit in the `forgejo-development` branch instead of an ever
growing list of commits. But this is up to the person in charge of the
migrations and since the directory is owned by forgejo, there is no
risk of conflict.
2023-08-13 17:10:14 +01:00