af4b00c283
update to mermaid v10 ( #23178 )
...
fix #23153
---------
Co-authored-by: silverwind <me@silverwind.io >
2023-03-04 00:39:07 -05:00
techknowlogick and GitHub
dd7d6e3ad0
Nest metadata in refactoring docs ( #23087 )
...
Whitespace was missing from refactoring docs metadata.
backport label applied so it is included in versioned docs.
2023-02-23 16:25:18 +08:00
techknowlogick and GitHub
ff18d17442
use drone secrets for s3 config ( #22770 )
2023-02-05 16:42:48 -05:00
2741546bed
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 <brecht@blender.org >
2023-02-04 14:48:38 +08:00
cfb1cb1168
update to build with go1.20 ( #22732 )
...
as title
---------
Co-authored-by: Lauris BH <lauris@nix.lv >
2023-02-03 11:23:52 -05:00
techknowlogick and GitHub
203681d084
Issues: support setting issue template field values with query ( #22545 )
2023-01-30 12:36:04 +08:00
e88b529b31
Issues: add Project filter to issues list and search ( #22544 )
...
Currently only a single project like milestone, not multiple like
labels.
Implements #14298
Code by @brechtvl
---------
Co-authored-by: Brecht Van Lommel <brecht@blender.org >
2023-01-29 11:45:29 +08:00
techknowlogick and GitHub
2903afb78f
Allow issue templates to not render title ( #22589 )
...
This adds a yaml attribute that will allow the option for when markdown
is rendered that the title will be not included in the output
Based on work from @brechtvl
2023-01-26 22:45:49 -06:00
techknowlogick and GitHub
6737e1c5d5
gitlab supports ssh key signing ( #22564 )
2023-01-22 18:17:49 +08:00
techknowlogick and GitHub
b36854df37
Update golang deps ( #22410 )
...
Note, hashicorp's LRU has been updated to v2 which supports generics but
this was left out as it is a more involved upgrade.
2023-01-12 09:21:16 +01:00
6f231a7980
Replace deprecated Webauthn library ( #22400 )
...
Fix #22052
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com >
2023-01-11 21:51:00 -05:00
dc5f2cf590
cgo cross-compile for freebsd ( #22397 )
...
Provide pre-compiled cgo binaries for freebsd
Co-authored-by: John Olheiser <john.olheiser@gmail.com >
2023-01-10 17:21:24 -05:00
techknowlogick and GitHub
ea5a752ee6
update docs latest to 1.17.4
2022-12-22 10:47:57 -05:00
techknowlogick
49a4e4555a
[skip ci] Updated translations via Crowdin
2022-10-26 00:20:58 +00:00
techknowlogick and GitHub
3f7cab42dc
Revert "Do not send notifications for draft releases ( #21451 )" ( #21594 )
...
This reverts commit a37e8b275d / #21451
Temporarily revert this PR to be able to continue discussion, and
potentially get it into 1.19.0
2022-10-26 00:00:00 +02:00
6af1a0c8c0
inline gitpod image ( #21494 )
...
fix #21492
Co-authored-by: 6543 <6543@obermui.de >
2022-10-18 09:55:57 +08:00
techknowlogick and GitHub
9fb251fb6f
update current stable version
2022-10-15 22:04:25 -04:00
techknowlogick and GitHub
288adbdea6
1.17.3 changelog
2022-10-15 22:03:59 -04:00
techknowlogick
af849ac009
[skip ci] Updated translations via Crowdin
2022-10-03 00:20:54 +00:00
9e2f37404c
Foreign ID conflicts if ID is 0 for each item ( #21271 )
...
The default is 0 if not defined, and that causes dupe index errors
Co-authored-by: 6543 <6543@obermui.de >
2022-10-02 17:43:16 -04:00
techknowlogick and GitHub
726afe8a9e
Update Golang deps ( #21304 )
2022-10-01 08:49:30 -05:00
techknowlogick and GitHub
7854c447d9
update current stable version
2022-08-21 22:14:13 -04:00
techknowlogick and GitHub
3d12018a74
switch to node18 for snapcraft
2022-08-18 12:25:50 -04:00
techknowlogick
4a797f8fab
[skip ci] Updated translations via Crowdin
2022-08-18 00:21:28 +00:00
d8e6c99125
Add badge capabilities to users ( #20607 )
...
Co-authored-by: silverwind <me@silverwind.io >
Co-authored-by: zeripath <art27@cantab.net >
Co-authored-by: John Olheiser <john.olheiser@gmail.com >
2022-08-18 02:25:25 +03:00
1a538df5f4
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 <wxiaoguang@gmail.com >
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2022-08-09 21:58:55 -04:00
techknowlogick and GitHub
be824890e4
Switch to building with go1.19 ( #20695 )
2022-08-07 12:25:03 -04:00
techknowlogick and GitHub
a701fd35cf
Add labels to two buttons that were missing them ( #20419 )
2022-07-26 17:43:13 +02:00
0cbec3cd37
alpine 3.16 ( #19797 )
...
Co-authored-by: 6543 <6543@obermui.de >
2022-05-25 07:42:28 +03:00
techknowlogick and GitHub
cab3a8b59d
Set safe dir for git operations in .drone.yml CI ( #19641 )
...
Our drone by necessity runs on git repositories not owned by the drone process. Unfortunately this means that git operations and thence CI builds will fail without the `safe.directory` option being set.
See: https://drone.gitea.io/go-gitea/gitea/54632/2/8
2022-05-06 18:25:18 +01:00
techknowlogick and GitHub
225044e656
node12 is EOL ( #19451 )
...
* node12 is EOL
* fix lockfile
2022-04-20 21:17:39 -04:00
techknowlogick and GitHub
d4f4e95c63
escape fake link
2022-04-05 13:30:07 -04:00
48dc88acd0
Allow custom redirect for landing page ( #19324 )
...
* Allow custom redirect for landing page
* Update modules/setting/setting.go
Co-authored-by: delvh <dev.lh@web.de >
* fix lint
* one option
Co-authored-by: delvh <dev.lh@web.de >
2022-04-05 12:16:01 -04:00
techknowlogick and GitHub
0b15a729cf
rm .sample hooks which aren't used ( #19101 )
2022-03-16 10:33:07 +00:00
techknowlogick and GitHub
ed1d95c55d
use go1.18 to build gitea ( #19099 )
...
* use go1.18 to build gitea& update min go version to 1.17
* bump in a few more places
* add a few simple tests for isipprivate
* update go.mod
* update URL to https://go.dev/dl/
* golangci-lint
* attempt golangci-lint workaround
* change version
* bump fumpt version
* skip strings.title test
* go mod tidy
* update tests as some aren't private??
* update tests
2022-03-16 00:08:31 -04:00
1546580f9e
bump go deps ( #19021 )
...
* update gitea.com/go-chi/binding
* update gitea.com/go-chi/cache
* update github.com/42wim/sshsig
* update github.com/PuerkitoBio/goquery
* update github.com/blevesearch/bleve/v2
* update github.com/caddyserver/certmagic
* update github.com/denisenkom/go-mssqldb
* update github.com/duo-labs/webauthn
* update github.com/dustin/go-humanize
* update github.com/editorconfig/editorconfig-core-go/v2
* update github.com/ethantkoenig/rupture
* update github.com/go-chi/chi/v5
* update github.com/go-git/go-git/v5
* update github.com/go-ldap/ldap/v3
* update github.com/go-redis/redis/v8
* update github.com/go-swagger/go-swagger
* update github.com/gogs/chardet
* update github.com/golang-jwt/jwt/v4
* update github.com/hashicorp/go-version
* update github.com/jaytaylor/html2text
* update github.com/klauspost/compress
* update github.com/lib/pq
* update github.com/markbates/goth
* update github.com/mattn/go-sqlite3
* update github.com/mholt/archiver/v3
* update github.com/microcosm-cc/bluemonday
* update github.com/minio/minio-go/v7
* update github.com/msteinert/pam
* update github.com/niklasfasching/go-org
* update github.com/olivere/elastic/v7
* update github.com/prometheus/client_golang
* update github.com/quasoft/websspi
* update github.com/stretchr/testify
* update github.com/unknwon/i18n
* update github.com/unrolled/render
* update github.com/xanzy/go-gitlab
* update github.com/yuin/goldmark
* update github.com/yuin/goldmark-highlighting
* update github.com/yuin/goldmark-meta
* post make vendor
Signed-off-by: Andrew Thornton <art27@cantab.net >
* add make vendor back into update_dependencies.sh
Signed-off-by: Andrew Thornton <art27@cantab.net >
* Update update_dependencies.sh
* Update contrib/update_dependencies.sh
Co-authored-by: zeripath <art27@cantab.net >
* update mvdan.cc/xurls/v2
Co-authored-by: Andrew Thornton <art27@cantab.net >
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2022-03-08 19:15:30 +08:00
techknowlogick and GitHub
9c5696e428
update to correct stable version
2022-03-07 02:03:06 -05:00
techknowlogick and GitHub
286355c754
homebrew updates via cron
2022-03-03 15:59:26 -05:00
techknowlogick and GitHub
24d39ee6b7
revert to node14 for snapcraft
2022-02-01 15:10:55 -05:00
techknowlogick and GitHub
70e614b9da
build with node16 in snap ( #18508 )
2022-01-31 17:52:12 -05:00
115e4772cc
point to s3 endpoint directly ( #18497 )
...
Co-authored-by: 6543 <6543@obermui.de >
2022-01-31 17:39:39 -05:00
techknowlogick and GitHub
b2250d2fb3
upload to github & s3 at same time ( #18475 )
2022-01-30 17:40:44 -05:00
4a6bae59c0
Changelog for 1.16.0-rc1 ( #18309 )
...
Co-authored-by: Andrew Thornton <art27@cantab.net >
Co-authored-by: Lauris BH <lauris@nix.lv >
Co-authored-by: 6543 <6543@obermui.de >
2022-01-19 18:08:23 +01:00
techknowlogick and GitHub
84145e45c5
Remove golang vendored directory ( #18277 )
...
* rm go vendor
* fix drone yaml
* add to gitignore
2022-01-14 18:16:05 -05:00
techknowlogick and GitHub
d8ae769dda
update docker image to latest go version ( #18048 )
2021-12-20 22:11:10 -05:00
b24a965b81
no need for docker image mirror ( #18031 )
...
Co-authored-by: zeripath <art27@cantab.net >
2021-12-19 16:53:15 -05:00
techknowlogick and GitHub
6255ff8c6b
update xgo to use 1.17 ( #17915 )
2021-12-05 19:48:38 -05:00
techknowlogick and GitHub
2dae5b715c
Fix keys test ( #17776 )
2021-11-23 08:12:02 +00:00
techknowlogick and GitHub
499b05da22
Add user settings key/value DB table ( #16834 )
2021-11-22 04:47:23 -05:00
techknowlogick and GitHub
3397fee9fa
api: integration test for nodeinfo ( #17346 )
2021-10-18 01:36:56 -04:00
techknowlogick and GitHub
db895040dd
Use go1.16+ way of installing binaries ( #17342 )
2021-10-17 18:57:15 -04:00
8edda8b446
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 <dev.lh@web.de >
* Update custom/conf/app.example.ini
Co-authored-by: delvh <dev.lh@web.de >
* Update docs/content/doc/advanced/config-cheat-sheet.en-us.md
Co-authored-by: delvh <dev.lh@web.de >
* Update docs/content/doc/advanced/config-cheat-sheet.en-us.md
Co-authored-by: Steven <61625851+justusbunsi@users.noreply.github.com >
* Update docs/content/doc/advanced/config-cheat-sheet.en-us.md
* Update modules/cron/tasks_extended.go
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
* Update custom/conf/app.example.ini
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
* 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 <dev.lh@web.de >
Co-authored-by: Steven <61625851+justusbunsi@users.noreply.github.com >
Co-authored-by: 6543 <6543@obermui.de >
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2021-10-16 02:14:34 -04:00
techknowlogick and GitHub
ee73d8409f
changelog for 1.15.4 (frontport) ( #17273 )
2021-10-08 22:51:57 +01:00
f0bd1e9896
Add protection to disable Gitea when run as root ( #17168 )
...
Co-authored-by: delvh <dev.lh@web.de >
Co-authored-by: 6543 <6543@obermui.de >
2021-10-07 10:52:08 +02:00
e9a9c20d52
Create pub/priv keypair for federation ( #17071 )
...
* add logic for creating pub/priv keypair for federation
* Apply suggestions from code review
Co-authored-by: delvh <dev.lh@web.de >
* make fmt
* Update modules/activitypub/keypair.go
Co-authored-by: delvh <dev.lh@web.de >
* add tests
* fix revert
* more tests
* Apply suggestions from code review
Co-authored-by: delvh <dev.lh@web.de >
* make fmt
Co-authored-by: delvh <dev.lh@web.de >
Co-authored-by: 6543 <6543@obermui.de >
2021-09-28 15:19:22 -04:00
techknowlogick and GitHub
babab0bf5e
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 and GitHub
aa631d8cd1
update docs to 1.15.3
2021-09-21 21:38:04 -04:00
techknowlogick and GitHub
22c73278bc
update docs to 1.15.2
2021-09-03 13:49:06 -04:00
techknowlogick and GitHub
db1e3d02a5
frontport: 1.15.0 changelog ( #16772 )
...
* frontport: 1.15.0 changelog
* Update config.yaml
2021-08-22 20:29:51 +01:00
274aeb3a9e
build with go1.17 ( #16707 )
...
Co-authored-by: Lauris BH <lauris@nix.lv >
2021-08-17 08:31:28 -04:00
techknowlogick and GitHub
37d0d94843
Use github token URL when fetching oauth token ( #16709 )
...
Fixes regression from #16544
2021-08-17 09:07:52 +01:00
techknowlogick and GitHub
620c5690ea
Add note about build-time flags for PAM support ( #16641 )
...
Fix #16639
2021-08-07 01:22:30 -04:00
e0f9635c06
Add Linode as an installation option in docs ( #16529 )
...
Add Linode as an installation option in docs
Co-authored-by: zeripath <art27@cantab.net >
2021-07-24 15:08:23 +01:00
techknowlogick and GitHub
5a84908d42
Add snap to docs ( #16530 )
2021-07-24 14:06:38 +01:00
29a22ade82
switch to maintained lib ( #16532 )
...
Co-authored-by: 6543 <6543@obermui.de >
Co-authored-by: Andrew Thornton <art27@cantab.net >
2021-07-24 13:00:41 +02:00
7b31aae414
revert to use alpine 3.13 ( #16451 )
...
Co-authored-by: zeripath <art27@cantab.net >
2021-07-16 09:54:39 +08:00
techknowlogick and GitHub
ff69dfff7a
microbadger is no more, rm from readme ( #16440 )
...
* microbadger is no more, rm from readme
* Update README_ZH.md
2021-07-15 13:08:20 -04:00
techknowlogick and GitHub
376fc350ee
add note about minimum required version of git installed ( #16433 )
2021-07-14 23:28:49 -04:00
e180456983
Change docker tag logic ( #16421 )
...
* Change docker logic
* Apply suggestions from code review
Co-authored-by: Kyle D. <kdumontnu@gmail.com >
* docs
Co-authored-by: 6543 <6543@obermui.de >
Co-authored-by: Lauris BH <lauris@nix.lv >
Co-authored-by: Kyle D. <kdumontnu@gmail.com >
2021-07-14 18:08:43 +01:00
061a8e7bb9
Alpine 3.14 released ( #16170 )
...
Co-authored-by: 6543 <6543@obermui.de >
Co-authored-by: zeripath <art27@cantab.net >
2021-07-07 15:43:00 -04:00
techknowlogick and GitHub
7613f31c6b
Update vendor 20210707 ( #16366 )
...
* update gitea.com/go-chi/binding
* update github.com/blevesearch/bleve/v2
* update github.com/caddyserver/certmagic
* update github.com/go-git/go-git/v5
* update github.com/lafriks/xormstore
* update github.com/yuin/goldmark
* Revert "update gitea.com/go-chi/binding"
This reverts commit dea2f292b1 .
2021-07-07 15:41:05 -04:00
techknowlogick and GitHub
4f26e0ac0e
up current stable version in docs ( #16318 )
2021-06-30 16:27:09 -04:00
8640717f5f
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 <john.olheiser@gmail.com >
Co-authored-by: 6543 <6543@obermui.de >
Co-authored-by: John Olheiser <john.olheiser@gmail.com >
2021-06-23 15:57:56 -04:00
techknowlogick and GitHub
d4ae87ea32
Run compliance on amd64 infra ( #16232 )
...
* Run compliance on amd64 infra
* Update .drone.yml
2021-06-23 01:36:27 -04:00
techknowlogick and GitHub
568fe8c595
follow redirect when fetching theme archive ( #15986 )
2021-05-26 18:03:39 -04:00
techknowlogick and GitHub
ffbd0fef06
change s3 bucket name ( #15847 )
2021-05-12 15:08:33 -04:00
techknowlogick and GitHub
2dc3e4edc8
point appleboy/drone-git-push to use updated primary branch
2021-05-10 20:27:56 -04:00
techknowlogick and GitHub
ab77a24f18
update branch in CI and docs ( #15631 )
2021-05-04 12:16:23 -04:00
ea40eb749b
Resolve panic on failed interface conversion in migration v156 ( #15604 )
...
go panics otherwise with `panic: interface conversion: error is git.ErrNotExist, not *git.ErrNotExist`, thanks to Codeberg/Andi for reporting this.
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com >
2021-04-24 11:14:39 +08:00
c29e85228f
frontport: 1.14.1 changelog ( #15503 )
...
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com >
2021-04-16 00:06:02 -04:00
024ef3940f
add well-known config for OIDC ( #15355 )
...
* add well-known config for OIDC
* spacing per feedback
* Update oidc_wellknown.tmpl
* add id_token
* Update oidc_wellknown.tmpl
Co-authored-by: zeripath <art27@cantab.net >
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com >
2021-04-15 22:32:00 -04:00
26e16e4ee4
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 <me@silverwind.io >
Co-authored-by: 6543 <6543@obermui.de >
Co-authored-by: silverwind <me@silverwind.io >
2021-04-12 15:42:02 -04:00
techknowlogick and GitHub
70d84f9b73
update golang libraries ( #15258 )
2021-04-03 11:02:27 +08:00
techknowlogick and GitHub
5ad65c8f5d
update docs to reference 1.13.6 ( #15182 )
2021-03-28 11:09:01 +08:00
techknowlogick and GitHub
b175791665
build darwin on arm64 platforms ( #14951 )
...
fix #14945
2021-03-10 23:59:57 -05:00
techknowlogick and GitHub
faf775c552
drone workspace path
2021-02-28 23:57:58 -05:00
techknowlogick and GitHub
1e95b389c0
drone workspace base
2021-02-28 23:25:09 -05:00
techknowlogick and GitHub
d801a158c5
use gomod support w/ xgo ( #14836 )
2021-03-01 11:43:55 +08:00
techknowlogick and GitHub
47f6a4ec3f
go1.16 ( #14783 )
2021-02-28 18:08:33 -05:00
techknowlogick and GitHub
428d0edcb0
Exclude running docker build on cron tasks ( #14778 )
2021-02-23 04:55:35 +01:00
techknowlogick and GitHub
1f570f2208
build for only available darwin target ( #14771 )
2021-02-22 08:44:54 -05:00
ce0346448f
remove outdated notice in makefile ( #14720 )
...
Co-authored-by: 6543 <6543@obermui.de >
2021-02-17 21:48:12 -05:00
a3cc842e15
Show Gitea version in swagger ( #14654 )
...
Show Gitea version in swagger
Co-authored-by: 6543 <6543@obermui.de >
2021-02-12 21:51:56 +01:00
techknowlogick and GitHub
9b6ff819d7
update docs to show latest stable version (1.13.2) ( #14550 )
2021-02-03 08:46:42 +01:00
d2ea21d0d8
Use caddy's certmagic library for extensible/robust ACME handling ( #14177 )
...
* use certmagic for more extensible/robust ACME cert handling
* accept TOS based on config option
Signed-off-by: Andrew Thornton <art27@cantab.net >
Co-authored-by: zeripath <art27@cantab.net >
Co-authored-by: Lauris BH <lauris@nix.lv >
2021-01-25 01:37:35 +02:00
techknowlogick and GitHub
62643d94a3
Update golangci-lint to 1.35.2 ( #14418 )
2021-01-21 17:14:23 -05:00
techknowlogick and GitHub
b708968694
upgrade to alpine 3.13 ( #14343 )
2021-01-20 05:21:01 +01:00
techknowlogick and GitHub
954aeefb05
Update Link
2021-01-13 10:55:52 -05:00
d1581a4563
Add compliance check for windows to ensure cross platform build ( #14260 )
...
* Add compliance check for windows to ensure cross platform build
* no race condition
* woops. meant to change windows, not arm64
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com >
2021-01-05 21:16:37 -05:00
4f2f08bd80
deprecate building for mips ( #14174 )
...
Co-authored-by: zeripath <art27@cantab.net >
2021-01-01 23:22:32 +08:00