Commit Graph
25 Commits
Author SHA1 Message Date
John Olheiser f072758afb Refactor docs (#23752)
This was intended to be a small followup for
https://github.com/go-gitea/gitea/pull/23712, but...here we are.

1. Our docs currently use `slug` as the entire URL, which makes
refactoring tricky (see https://github.com/go-gitea/gitea/pull/23712).
Instead, this PR attempts to make future refactoring easier by using
slugs as an extension of the section. (Hugo terminology)
- What the above boils down to is this PR attempts to use directory
organization as URL management. e.g. `usage/comparison.en-us.md` ->
`en-us/usage/comparison/`, `usage/packages/overview.en-us.md` ->
`en-us/usage/packages/overview/`
- Technically we could even remove `slug`, as Hugo defaults to using
filename, however at least with this PR it means `slug` only needs to be
the name for the **current file** rather than an entire URL
2. This PR adds appropriate aliases (redirects) for pages, so anything
on the internet that links to our docs should hopefully not break.
3. A minor nit I've had for a while, renaming `seek-help` to `support`.
It's a minor thing, but `seek-help` has a strange connotation to it.
4. The commits are split such that you can review the first which is the
"actual" change, and the second is added redirects so that the first
doesn't break links elsewhere.

---------

Signed-off-by: jolheiser <[email protected]>
2023-04-28 11:33:41 +08:00
John Olheiser 24c75e3fed Update PR documentation (#23620)
This updates the PR docs and explains how to work with PRs, for those
who may not know.

It was mentioned that this page could explain PRs a bit better, in case
some users are not familiar with GitHub or similar forges.

Signed-off-by: jolheiser <[email protected]>
2023-03-21 18:05:52 -04:00
John Olheiser 9f6c944206 Push option bonus for PTC docs (#23473)
Follow-up for #23458 

I could have suggested this on the original PR, but I thought there
would be more to add. Hadn't noticed the push options docs already had
nearly the same shell command. 😅

Signed-off-by: jolheiser <[email protected]>
2023-03-14 19:12:27 +02:00
John Olheiser 0cc38187a7 Add repo adoption to FAQ (#22778)
This should be a simple set of steps to achieve
repo adoption.
2023-02-06 10:20:20 -06:00
John Olheiser 0445704f5f Update gogs upgrade information (#22777)
It seems that migrating from Gogs `0.12.x` and above may require more
work as time goes on and the projects continue to diverge.

This PR updates the docs to make it more clear.

Signed-off-by: jolheiser <[email protected]>
2023-02-06 14:37:18 +08:00
John Olheiser 008dd0ce21 docs: add swagger.json file location to FAQ (#22489)
This just adds a mention on how to get the `swagger.json` for an
instance.

Signed-off-by: jolheiser <[email protected]>
2023-01-17 14:18:42 -06:00
John Olheiser a7f964c118 Make app.ini read-only message more prominent (#21315) 2022-10-02 04:12:59 -04:00
John Olheiser 8c678bf0aa Remove insecure flag from curl (#21074)
Followup to #21071 
Thanks for the catch @wxiaoguang 

[WRT](https://github.com/go-gitea/gitea/pull/21071#discussion_r962706673)

Ref #21071
2022-09-05 14:22:44 +01:00
John Olheiser 99f20e0faa Update curl usage in API docs (#21071) 2022-09-05 03:22:03 -04:00
John Olheiser 09f0632c74 Add Cloudflare auto-minify to FAQ (#20430) 2022-07-21 12:54:42 +08:00
John Olheiser 199188dea3 MySQL 5 FAQ (#15729)
* MySQL 5

Signed-off-by: jolheiser <[email protected]>

* Wording
2021-05-05 05:39:09 +01:00
John Olheiser ab2dc27819 Fully qualify cloudron CSP (#13892)
* Wildcard cloudron

Signed-off-by: jolheiser <[email protected]>

* Just use FQDN

Signed-off-by: jolheiser <[email protected]>
2020-12-07 16:17:27 -06:00
John Olheiser bc3c254112 Refactor docs (#13275)
* First pass

Signed-off-by: jolheiser <[email protected]>

* More changes

Signed-off-by: jolheiser <[email protected]>

* Redirects

Signed-off-by: jolheiser <[email protected]>
2020-10-23 11:59:45 -04:00
John OlheiserandAndrew Thornton 3841e371a2 hCaptcha Support (#12594)
* Initial work on hCaptcha

Signed-off-by: jolheiser <[email protected]>

* Use module

Signed-off-by: jolheiser <[email protected]>

* Format

Signed-off-by: jolheiser <[email protected]>

* At least return and debug log a captcha error

Signed-off-by: jolheiser <[email protected]>

* Pass context to hCaptcha

Signed-off-by: jolheiser <[email protected]>

* Add context to recaptcha

Signed-off-by: jolheiser <[email protected]>

* fix lint

Signed-off-by: Andrew Thornton <[email protected]>

* Finish hcaptcha

Signed-off-by: jolheiser <[email protected]>

* Update example config

Signed-off-by: jolheiser <[email protected]>

* Apply error fix for recaptcha

Signed-off-by: jolheiser <[email protected]>

* Change recaptcha ChallengeTS to string

Signed-off-by: jolheiser <[email protected]>

Co-authored-by: Andrew Thornton <[email protected]>
2020-10-02 23:37:53 -04:00
5490cd5c0e Issue templates directory (#11450)
* Issue templates

Signed-off-by: jolheiser <[email protected]>

* Add some comments, appease the linter

Signed-off-by: jolheiser <[email protected]>

* Add docs and re-use dir candidates

Signed-off-by: jolheiser <[email protected]>

* Add default labels to issue templates

Signed-off-by: jolheiser <[email protected]>

* Generate swagger

Signed-off-by: jolheiser <[email protected]>

* Suggested changes

Signed-off-by: jolheiser <[email protected]>

* Update issue.go

* Suggestions

Signed-off-by: jolheiser <[email protected]>

* Extract metadata from legacy if possible

Signed-off-by: jolheiser <[email protected]>

Co-authored-by: Lunny Xiao <[email protected]>
Co-authored-by: techknowlogick <[email protected]>
2020-09-11 10:48:39 -04:00
cdc97c6330 Check passwords against HaveIBeenPwned (#12716)
* Implement pwn

Signed-off-by: jolheiser <[email protected]>

* Update module

Signed-off-by: jolheiser <[email protected]>

* Apply suggestions mrsdizzie

Co-authored-by: mrsdizzie <[email protected]>

* Add link to HIBP

Signed-off-by: jolheiser <[email protected]>

* Add more details to admin command

Signed-off-by: jolheiser <[email protected]>

* Add context to pwn

Signed-off-by: jolheiser <[email protected]>

* Consistency and making some noise ;)

Signed-off-by: jolheiser <[email protected]>

Co-authored-by: mrsdizzie <[email protected]>
Co-authored-by: zeripath <[email protected]>
2020-09-08 17:06:39 -05:00
John Olheiserandmrsdizzie 5619b0bbd3 Initial support for push options (#12169)
* Initial support for push options

Signed-off-by: jolheiser <[email protected]>

* Fix misspelling 🤦

Signed-off-by: jolheiser <[email protected]>

* Fix formatting after conflict resolution

* defer close git repo

* According the GitLab documentation, git >= 2.10

Signed-off-by: jolheiser <[email protected]>

* Words are hard. Thanks @mrsdizzie 😅

Co-authored-by: mrsdizzie <[email protected]>

* Only update if there are push options

Signed-off-by: jolheiser <[email protected]>

Co-authored-by: mrsdizzie <[email protected]>
2020-08-23 17:02:35 +01:00
John Olheiserandguillep2k a2bae20bea Allow site admin to disable mirrors (#11740)
* Allow site admin to disable mirrors

Signed-off-by: jolheiser <[email protected]>

* No need to run through Safe

Signed-off-by: jolheiser <[email protected]>

* Clarify only disabling NEW mirrors

Signed-off-by: jolheiser <[email protected]>

* Apply suggestions from @guillep2k

Co-authored-by: guillep2k <[email protected]>

Co-authored-by: guillep2k <[email protected]>
2020-06-02 21:21:38 -04:00
John Olheiserandtechknowlogick 2035f9504c Add localization docs (#11411)
* Add localization docs

Signed-off-by: jolheiser <[email protected]>

* Clarify bleeding edge vs release

Signed-off-by: jolheiser <[email protected]>

* Capitalize Crowdin

Signed-off-by: jolheiser <[email protected]>

Co-authored-by: techknowlogick <[email protected]>
2020-05-14 17:33:52 -04:00
John Olheiser 61fa4c7d19 Add awesome-gitea reference on install from package docs (#11405)
Signed-off-by: jolheiser <[email protected]>
2020-05-14 01:58:49 +03:00
John Olheiser 4eca657f77 Remove test from installation directions (#10873)
Signed-off-by: jolheiser <[email protected]>
2020-03-29 11:07:40 +01:00
John Olheiser 2a72fb6aa9 Make PR message on pushes configurable (#10664)
* Make PR message on pushes configurable

* Make fmt

Signed-off-by: jolheiser <[email protected]>
2020-03-08 08:34:38 -05:00
John Olheiserandsilverwind 42639a8e32 Add node version variable to docs (#10620)
Also adjusted other version mentions so go version is always mentioned
as major.minor and node only as major.

Co-authored-by: silverwind <[email protected]>
2020-03-05 16:36:22 -06:00
John Olheiser 7b73adf12b Add FAQ for markdown (#10611)
* Add FAQ for markdown

* Expand explanation @guillep2k

Signed-off-by: jolheiser <[email protected]>
2020-03-05 09:05:18 -06:00
John Olheiser 6922e8cfa4 Re-order GPG signing docs and fix code blocks (#10349)
* Move chunk and format

Signed-off-by: jolheiser <[email protected]>

* word

Signed-off-by: jolheiser <[email protected]>
2020-02-19 02:23:45 +01:00