Commit Graph
31 Commits
Author SHA1 Message Date
John Olheiser 199188dea3 MySQL 5 FAQ (#15729)
* MySQL 5

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

* Wording
2021-05-05 05:39:09 +01:00
Lunny Xiao c8d9804bfd Change the chinese discuss link to discourse (#15533) 2021-04-18 19:12:16 +08:00
Damien Goutte-Gattat 348e960efa Allow blocking some email domains from registering an account (#14667)
Gitea allows to whitelist email domains so that only email addresses from certain domains are allowed to register an account, but does not currently allows to do the opposite: blacklisting email domains so that addresses from certain domains are *forbidden* to register an account.

The idea has been briefly mentioned in the discussion about issue #6350, but never implemented. This PR does that.

The rationale is that, in my experience of running a Gitea instance, *a single email domain* is responsible for *most* of the spam accounts, and for *all* of the spam accounts that manage to get past the email confirmation step. So on top of the other spam mitigation measures already available (email confirmation, CAPTCHA, etc.), having the option to block a particularly annoying domain would be helpful.

close #13628
2021-02-15 00:31:29 +01:00
kevinlin18 edaed5152e [docs] Add zh-tw Translations (#14507) 2021-01-29 01:57:58 +01:00
techknowlogickandsilverwind b9b1473053 Store repository data in data path if not previously set (#13991)
* Store repository data in data path if not previously set

* update docs

* Update docs/content/doc/advanced/config-cheat-sheet.en-us.md

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

* update docs

Co-authored-by: silverwind <[email protected]>
2020-12-15 16:52:59 -05:00
9ccfa03d94 Reformat docs (#13897)
Co-authored-by: 6543 <[email protected]>
Co-authored-by: Lauris BH <[email protected]>
2020-12-09 07:47:06 +01:00
6543andtechknowlogick 33231b3a42 Added Table of Contents to long documentation pages (#13890)
* Redo #13836 with new shortcode
(https://gitea.com/gitea/theme/pulls/90)

* add Api Usage

Co-authored-by: techknowlogick <[email protected]>
2020-12-07 23:52:26 -05:00
silverwind 5a07f57054 Remove Noto Color Emoji fallback (#13838)
It's causing browser errors logged in Firefox under certain
circumstances, and I think we're better off recommending Linux users to
install a proper emoji font into their system.
2020-12-04 16:01:47 +01:00
f2c55569d9 fixed and updated FAQ table of contents links (#13835)
* fixed and updated FAQ table of contents links, rewording one heading that wouldn't generate a working link

Co-authored-by: 6543 <[email protected]>
Co-authored-by: Lauris BH <[email protected]>
2020-12-04 08:33:38 +01:00
a3b10dd83e Format files (#13698)
* align "make help"

* format

* untouch build/generate-svg.js

* untouch .eslintrc

* combine editorconfig's

* rm editorconfig

Co-authored-by: Lauris BH <[email protected]>
Co-authored-by: techknowlogick <[email protected]>
2020-11-28 01:12:22 -05: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
raoulb 48a798c5c1 Fix hugo shortcode typo in faq (#12987)
* Fix hugo shortcode typo in faq

* Switch to using language tags
2020-09-30 16:59:30 -04:00
zeripathandmrsdizzie b228dcdebf Add MySQL FAQ section (#12780)
* Add MySQL FAQ section

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

* Update docs/content/doc/help/faq.en-us.md

* Update docs/content/doc/help/faq.en-us.md

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

Co-authored-by: mrsdizzie <[email protected]>
2020-09-09 13:31:31 -04: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
6543 740566b2ab update discord link (#10455) 2020-02-25 12:36:45 -05:00
John Olheiser e8f747dca9 Update migration instructions (#9955)
Signed-off-by: jolheiser <[email protected]>
2020-01-24 14:23:38 +00:00
f1a0f13155 Restricted users (#6274)
* Restricted users (#4334): initial implementation

* Add User.IsRestricted & UI to edit it

* Pass user object instead of user id to places where IsRestricted flag matters

* Restricted users: maintain access rows for all referenced repos (incl public)

* Take logged in user & IsRestricted flag into account in org/repo listings, searches and accesses

* Add basic repo access tests for restricted users

Signed-off-by: Manush Dodunekov <[email protected]>

* Mention restricted users in the faq

Signed-off-by: Manush Dodunekov <[email protected]>

* Revert unnecessary change `.isUserPartOfOrg` -> `.IsUserPartOfOrg`

Signed-off-by: Manush Dodunekov <[email protected]>

* Remove unnecessary `org.IsOrganization()` call

Signed-off-by: Manush Dodunekov <[email protected]>

* Revert to an `int64` keyed `accessMap`

* Add type `userAccess`
* Add convenience func updateUserAccess()
* Turn accessMap into a `map[int64]userAccess`

Signed-off-by: Manush Dodunekov <[email protected]>

* or even better: `map[int64]*userAccess`

* updateUserAccess(): use tighter syntax as suggested by lafriks

* even tighter

* Avoid extra loop

* Don't disclose limited orgs to unauthenticated users

* Don't assume block only applies to orgs

* Use an array of `VisibleType` for filtering

* fix yet another thinko

* Ok - no need for u

* Revert "Ok - no need for u"

This reverts commit 5c3e886aabd5acd997a3b35687d322439732c200.

Co-authored-by: Antoine GIRARD <[email protected]>
Co-authored-by: Lauris BH <[email protected]>
2020-01-13 18:33:46 +01:00
John Olheiserandguillep2k f34e3fc9ce Implement documentation search (#8937)
* Implement documentation search

Signed-off-by: jolheiser <[email protected]>
Co-Authored-By: guillep2k <[email protected]>
2019-11-13 18:03:18 +00:00
John Olheiserandguillep2k 422ed5bcf1 Add password reset to FAQ (#8883)
* Add password reset to FAQ

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

* Add links to email setup docs

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

* Add en-us to email setup

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

* Update docs/content/doc/help/faq.en-us.md

Co-Authored-By: guillep2k <[email protected]>

* Manually merge changes from @guillep2k and add small changes

Signed-off-by: jolheiser <[email protected]>
2019-11-08 14:44:18 -05:00
John Olheiser cdac1bfb5f Add migrate command to docs (#8842)
* Add migrate command to docs

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

* Link to CLI

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

* Clarify idempotence

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

* Sneak in convert command

Signed-off-by: jolheiser <[email protected]>
2019-11-05 13:54:54 -05:00
Benson Muite 7e77680808 Update seek-help.zh-cn.md (#8488)
Update link to Mandarin help forum
2019-10-13 22:36:09 +01:00
Benson Muite 8655226b7c Update seek-help.en-us.md (#8487)
Update link to Mandarin help
2019-10-13 21:07:30 +01:00
Mikaela SuomalainenandJohn Olheiser 0772aa9c30 faq: mention EMAIL_DOMAIN_WHITELIST on allowing email domains (#8198)
* faq: mention EMAIL_DOMAIN_WHITELIST on allowing email domains

Signed-off-by: Mikaela Suomalainen <[email protected]>

* faq: separate openid from allow/block email domain

Signed-off-by: Mikaela Suomalainen <[email protected]>

* faq: update ToC

Signed-off-by: Mikaela Suomalainen <[email protected]>

* Update docs/content/doc/help/faq.en-us.md

Co-Authored-By: John Olheiser <[email protected]>

* Update docs/content/doc/help/faq.en-us.md

Co-Authored-By: John Olheiser <[email protected]>
2019-09-17 14:24:39 +08:00
John Olheiser cb8e5bcbe1 Add FAQ for version downloads (#6742) 2019-04-24 14:44:58 -04:00
John Olheiser 97a69351a3 FAQ (#6524) 2019-04-12 22:46:52 -04:00
Aidan Fitzgerald 9853171de5 Copyedit docs (#6275) 2019-03-09 16:15:45 -05:00
James Ravenscroft d4e165e172 Add LFS timeout issue to troubleshooting doc (#5129) 2018-10-20 19:49:04 +03:00
Fluf 0b4a690a78 Fix support channels (#4014)
Now matches navigation on Gitea website
2018-05-22 08:34:02 +03:00
Peter Hoffmann 646bf928b1 Explanation for missing releases (#3823)
Searched for missing releases/tags for some time, thought the solution might be helpful to others
2018-04-21 09:22:02 +08:00
Michael Lustfield 3f7768d4e8 General documentation cleanup (#3317)
* Clean up spelling, grammar, perspective, whitespace, language, markup, etc.
2018-01-08 23:48:42 +01:00
techknowlogick 4b90703858 Import docs into main repository (#2874)
* import docs into main repository

Signed-off-by: Matti Ranta <[email protected]>
2017-11-26 23:44:32 +02:00