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
techknowlogick and GitHub
c9b9b462d2
Update owners for 2021 ( #14206 )
...
Fix #13801
2021-01-01 01:41:03 +02:00
9164ff7791
frontport 1.13.1 changelog ( #14175 )
...
* frontport 1.13.1 changelog
* Update config.yaml
Co-authored-by: zeripath <art27@cantab.net >
2020-12-28 19:38:44 -05:00
e0a84d7880
dep: update crypto. info: https://golangtutorial.dev/news/fix-in-crypto-package/ ( #14067 )
...
Co-authored-by: zeripath <art27@cantab.net >
2020-12-20 17:36:07 +02:00
f8a668ab0c
Clean up SVG ( #13680 )
...
* Clean up SVG
* update per feedback
* fix css style
* Delete gitea.png
* no new line at end of file
* fix newline?
Co-authored-by: 6543 <6543@obermui.de >
2020-12-17 16:33:53 -05:00
88b585c2e0
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 <me@silverwind.io >
* update docs
Co-authored-by: silverwind <me@silverwind.io >
2020-12-15 16:52:59 -05:00
techknowlogick and GitHub
9b22ada0a7
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 and GitHub
9c71c6c4a5
Add link to shop in docs ( #13864 )
...
Replaced link to code.gitea.io as that subdomain isn't meant for human consumption, but rather for our vanity go import URLs
Only replaced link for english, open to adding links for other languages if anyone is able/willing to add them
2020-12-05 17:34:29 -05:00
techknowlogick and GitHub
fd1c3519c3
frontport 1.13.0 changelog ( #13790 )
2020-12-02 11:39:22 -05:00
techknowlogick and GitHub
64bd5f4c66
specific version in docker compose ( #13644 )
...
* specific version in docker compose
fix #13643
* update latest version
2020-11-19 11:36:48 -05:00
8a7101fdd3
Add note about installation on kubernetes to docs ( #13469 )
...
Co-authored-by: zeripath <art27@cantab.net >
2020-11-08 15:50:40 -05:00
c178a36438
use registry mirror for docker-in-docker ( #13438 )
...
Co-authored-by: Lauris BH <lauris@nix.lv >
2020-11-06 02:35:10 -05:00
techknowlogick and GitHub
543697e61e
Set auto-tag to false on rootless manifest ( #13383 )
...
Current overrides rootful container
2020-11-01 11:30:01 +00:00
techknowlogick and GitHub
76ac83402b
Clean up mysql service in drone ( #13145 )
2020-10-14 17:44:18 -04:00