Commit Graph
31 Commits
Author SHA1 Message Date
techknowlogick 0aef2dcb7d update labels link to correct location in 1.19 docs (#25105) 2023-06-06 11:29:16 -04:00
techknowlogickandBrecht Van Lommel 496c5b7d69 Repositories: by default disable all units except code and pulls on forks (#22541)
Most of the time forks are used for contributing code only, so not
having
issues, projects, release and packages is a better default for such
cases.
They can still be enabled in the settings.

A new option `DEFAULT_FORK_REPO_UNITS` is added to configure the default
units on forks.

Also add missing `repo.packages` unit to documentation.

code by: @brechtvl

## ⚠️ BREAKING ⚠️ 

When forking a repository, the fork will now have issues, projects,
releases, packages and wiki disabled. These can be enabled in the
repository settings afterwards. To change back to the previous default
behavior, configure `DEFAULT_FORK_REPO_UNITS` to be the same value as
`DEFAULT_REPO_UNITS`.

Co-authored-by: Brecht Van Lommel <[email protected]>
2023-02-04 14:48:38 +08:00
techknowlogick 7720581e24 gitlab supports ssh key signing (#22564) 2023-01-22 18:17:49 +08:00
techknowlogickand6543 7b89603220 inline gitpod image (#21494)
fix #21492

Co-authored-by: 6543 <[email protected]>
2022-10-18 09:55:57 +08:00
techknowlogickandwxiaoguang 0c9c992137 Add documentation about pagination of the API (#20740)
* Add documentation about pagination of the API

* Update docs/content/doc/developers/api-usage.en-us.md

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

Co-authored-by: wxiaoguang <[email protected]>
2022-08-09 21:58:55 -04:00
techknowlogick 949ef503a2 escape fake link 2022-04-05 13:30:07 -04:00
techknowlogickanddelvh 7ef1779a9c Allow custom redirect for landing page (#19324)
* Allow custom redirect for landing page

* Update modules/setting/setting.go

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

* fix lint

* one option

Co-authored-by: delvh <[email protected]>
2022-04-05 12:16:01 -04:00
41de7a8be6 Add simple update checker to Gitea (#17212)
* Add simple update checker to Gitea

* update struct and remove comments

* fix lint

* Update custom/conf/app.example.ini

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

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

* Update custom/conf/app.example.ini

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

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

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

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

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

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

* Update modules/cron/tasks_extended.go

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

* Update custom/conf/app.example.ini

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

* take PR feedback into account and display banner on admin dashboard for alerts

* Add more detailed message

* placate lint

* update per feedback

Co-authored-by: delvh <[email protected]>
Co-authored-by: Steven <[email protected]>
Co-authored-by: 6543 <[email protected]>
Co-authored-by: wxiaoguang <[email protected]>
2021-10-16 02:14:34 -04:00
techknowlogick 90801753cd Add nodeinfo endpoint for federation purposes (#16953)
Nodeinfo is a way to expose certain metadata about a server for use of discovery regarding functionality of its federation capabilities.

Two endpoints are required:
1. `/.well-known/nodeinfo` which informs client where it can find the location of the location of its metadata (including which version of the schema is used)
2. the endpoint which exposes the metadata in json format according to schema.

Notes:
* `openRegistrations` is a required field, but I propose to set to false as default in case someone writes a crawler to discover "open" gitea instances
* to limit data leakage I also propose to not include the `usage` field (note it is required so it should be included, but left as empty).

More info:
https://github.com/jhass/nodeinfo
https://github.com/jhass/nodeinfo/tree/main/schemas/2.1
http://nodeinfo.diaspora.software/protocol.html
2021-09-28 01:38:06 +02:00
techknowlogick 052af4828c Add note about build-time flags for PAM support (#16641)
Fix #16639
2021-08-07 01:22:30 -04:00
techknowlogickandzeripath 9d59dbb8e0 Add Linode as an installation option in docs (#16529)
Add Linode as an installation option in docs

Co-authored-by: zeripath <[email protected]>
2021-07-24 15:08:23 +01:00
techknowlogick 819ece5c44 Add snap to docs (#16530) 2021-07-24 14:06:38 +01:00
techknowlogick 18159acc9d add note about minimum required version of git installed (#16433) 2021-07-14 23:28:49 -04:00
79508a30f8 Change docker tag logic (#16421)
* Change docker logic

* Apply suggestions from code review

Co-authored-by: Kyle D. <[email protected]>

* docs

Co-authored-by: 6543 <[email protected]>
Co-authored-by: Lauris BH <[email protected]>
Co-authored-by: Kyle D. <[email protected]>
2021-07-14 18:08:43 +01:00
08c741d205 Add docs for windows env vars (#16236)
* Add docs for windows env vars

Fix #16213

* Fix docs/content/doc/developers/hacking-on-gitea.en-us.md

Co-authored-by: John Olheiser <[email protected]>

Co-authored-by: 6543 <[email protected]>
Co-authored-by: John Olheiser <[email protected]>
2021-06-23 15:57:56 -04:00
techknowlogick a35b2b2959 update branch in CI and docs (#15631) 2021-05-04 12:16:23 -04:00
0606b5253b docs: rm deprecated docs regarding environment variable usage in docker image (#15405)
* docs: rm deprecated docs regarding environment variable usage in docker image

* Update docs/content/doc/installation/with-docker.en-us.md

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

Co-authored-by: 6543 <[email protected]>
Co-authored-by: silverwind <[email protected]>
2021-04-12 15:42:02 -04: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
techknowlogick b1c4cc0175 Self-host cloudron image for docs (#13895)
* Add cloudron image to docs itself

* rm cloudron csp

* Update from-package.en-us.md
2020-12-07 22:20:37 -05:00
techknowlogick eda38fca6e specific version in docker compose (#13644)
* specific version in docker compose

fix #13643

* update latest version
2020-11-19 11:36:48 -05:00
techknowlogickandzeripath 016a1dc891 Add note about installation on kubernetes to docs (#13469)
Co-authored-by: zeripath <[email protected]>
2020-11-08 15:50:40 -05:00
techknowlogick 9859b09afa Add details re: Kanban (#12721) 2020-09-04 18:46:21 -04:00
techknowlogickandJohn Olheiser 856a852878 Make dashboard newsfeed list length a configurable item (#12469)
Co-authored-by: John Olheiser <[email protected]>
2020-08-11 10:48:13 -04:00
techknowlogickandJohn Olheiser 14031018c3 recommend bindata for building (#11938)
Co-authored-by: John Olheiser <[email protected]>
2020-06-18 11:25:58 -04:00
techknowlogickandJohn Olheiser 802e6b860e Global default branch setting (#11918)
* Global default branch setting

* add to app.ini example per @silverwind

* update per @lunny

Co-authored-by: John Olheiser <[email protected]>
2020-06-17 16:53:55 -04:00
b937439d35 Update docs to reflect new location of homebrew repo (#11384)
Co-authored-by: Lauris BH <[email protected]>
Co-authored-by: zeripath <[email protected]>
2020-05-12 20:51:41 +08:00
techknowlogick 1645730ca1 Add note about which version embedded tool is implemented (#10255) 2020-02-12 14:30:48 -05:00
techknowlogick 0cba304fb2 Youtrack now supports Gitea (#9343)
* Youtrack now supports Gitea

* Update third-party-tools.en-us.md
2019-12-12 23:28:54 -05:00
techknowlogick b404f43070 Update third-party-tools.en-us.md (#8148) 2019-09-11 00:16:11 -04:00
techknowlogick 1f4a94b37d Add docs for INTERNAL_TOKEN_URI (#7234) 2019-06-17 22:52:03 -04:00
techknowlogick 9962d778ed Add documentation for OTP/2FA header in API for basic auth (#6872) 2019-05-07 16:53:45 -04:00