- 24 Mar, 2022 1 commit
-
-
Robert Kaussow authored
* Bump goldmark to v1.4.11 * add testcase Signed-off-by:
Andrew Thornton <art27@cantab.net> Co-authored-by:
Andrew Thornton <art27@cantab.net>
-
- 16 Mar, 2022 3 commits
-
-
techknowlogick authored
* 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
-
silverwind authored
This ensures the tools only run in the versions we've tested and it also does not polute PATH with those tools so they are truly isolated. This syntax of `go run` requires go 1.17, so the minimum version is set accordingly. Fixes: https://github.com/go-gitea/gitea/issues/18867 Co-authored-by:
techknowlogick <techknowlogick@gitea.io>
-
Gusted authored
* Update golang.org/x/crypto - Update dependency to include fix for CVE. - See https://groups.google.com/g/golang-announce/c/-cp44ypCT5s/m/wmegxkLiAQAJ?utm_medium=email&utm_source=footer * Fix deprecation notice * Remove workaround - Introduced in https://github.com/go-gitea/gitea/pull/17281 - Fixed in x/crypto: - https://github.com/golang/crypto/commit/5d542ad81a58c89581d596f49d0ba5d435481bcf - & https://github.com/golang/crypto/commit/3147a52a75dda54ac3a611ef8978640d85188a2a * Update Kex Algorithms - Use standardized name for curve22519-sha256. https://github.com/golang/crypto/commit/9b076918e3c7e908b2bdea932f272a9979f2488a - Prefer SHA256 version over SHA1 version. https://github.com/golang/crypto/commit/e4b3678e5f38521e67eba223ddd1902ceb3a303c
-
- 09 Mar, 2022 1 commit
-
-
Lunny Xiao authored
Fix #18855
-
- 08 Mar, 2022 1 commit
-
-
techknowlogick authored
* 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 g...
-
- 04 Mar, 2022 1 commit
-
-
Gusted authored
- It was reported in the Matrix channel that Chroma [has support](https://github.com/alecthomas/chroma/commit/d40210297631298bde98a8fcfd52c3d2555cc367) for the Fennel language, go-enry only added detection support for this [in v2.7.2](https://github.com/go-enry/go-enry/commit/0affa3ccca37cd781600760956581c5f94ef8a3c ). Co-authored-by:
techknowlogick <techknowlogick@gitea.io>
-
- 27 Feb, 2022 1 commit
-
-
Gusted authored
- v1.6.0 has a inconsistency with the proxy and github's tagged version, updating to v1.6.1 should fix this issue. - Resolves #18864
-
- 20 Feb, 2022 1 commit
-
-
zeripath authored
Fix #14074 Signed-off-by:
Andrew Thornton <art27@cantab.net>
-
- 06 Feb, 2022 2 commits
-
-
Gusted authored
* Update gitea-vet - Update gitea-vet to include latest 2 changes https://gitea.com/gitea/gitea-vet/compare/7c98703580bef612b10f6a603883052f79acf9c0...master * Tidy up go.sum Co-authored-by:
Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by:
6543 <6543@obermui.de> Co-authored-by:
zeripath <art27@cantab.net>
-
Gusted authored
- Update json-iterator/go to handle 1.18's new memory model with slices. - Don't panic while running gitea with go 1.18
-
- 29 Jan, 2022 1 commit
-
-
zeripath authored
* Update Goldmark to Goldmark 1.4.4 * nolint the deprecation Signed-off-by:
Andrew Thornton <art27@cantab.net>
-
- 26 Jan, 2022 2 commits
-
-
zeripath authored
The endpoint /{username}/{reponame}/milestone/{id} is not currently restricted to the repo. This PR restricts the milestones to those within the repo. Signed-off-by:
Andrew Thornton <art27@cantab.net>
-
Aravinth Manivannan authored
JSON Schema validation for data used by Gitea during migrations Discussion at https://forum.forgefriends.org/t/common-json-schema-for-repository-information/563 Co-authored-by:
Loïc Dachary <loic@dachary.org>
-
- 22 Jan, 2022 1 commit
-
-
6543 authored
-
- 20 Jan, 2022 1 commit
-
-
Jelle Hulter authored
-
- 18 Jan, 2022 1 commit
-
-
zeripath authored
Signed-off-by:
Andrew Thornton <art27@cantab.net>
-
- 14 Jan, 2022 1 commit
-
-
Lunny Xiao authored
Migrate from U2F to Webauthn Co-authored-by:
Andrew Thornton <art27@cantab.net> Co-authored-by:
6543 <6543@obermui.de> Co-authored-by:
wxiaoguang <wxiaoguang@gmail.com>
-
- 07 Jan, 2022 1 commit
-
-
Lunny Xiao authored
-
- 05 Jan, 2022 1 commit
-
-
6543 authored
-
- 01 Jan, 2022 2 commits
-
-
Lunny Xiao authored
-
Lunny Xiao authored
-
- 20 Dec, 2021 2 commits
-
-
zeripath authored
* Reset Session ID on login When logging in the SessionID should be reset and the session cleaned up. Signed-off-by:
Andrew Thornton <art27@cantab.net> * with new session.RegenerateID function Signed-off-by:
Andrew Thornton <art27@cantab.net> * update go-chi/session Signed-off-by:
Andrew Thornton <art27@cantab.net> * Ensure that session id is changed after oauth data is set and between account linking pages too Signed-off-by:
Andrew Thornton <art27@cantab.net> * placate lint Signed-off-by:
Andrew Thornton <art27@cantab.net> * as per review Signed-off-by:
Andrew Thornton <art27@cantab.net>
-
zeripath authored
Update chroma to 0.9.4 Signed-off-by:
Andrew Thornton <art27@cantab.net>
-
- 19 Dec, 2021 1 commit
-
-
Wim authored
* Add support for ssh commit signing * Split out ssh verification to separate file * Show ssh key fingerprint on commit page * Update sshsig lib * Make sure we verify against correct namespace * Add ssh public key verification via ssh signatures When adding a public ssh key also validate that this user actually owns the key by signing a token with the private key. * Remove some gpg references and make verify key optional * Fix spaces indentation * Update options/locale/locale_en-US.ini Co-authored-by:
Gusted <williamzijl7@hotmail.com> * Update templates/user/settings/keys_ssh.tmpl Co-authored-by:
Gusted <williamzijl7@hotmail.com> * Update options/locale/locale_en-US.ini Co-authored-by:
Gusted <williamzijl7@hotmail.com> * Update options/locale/locale_en-US.ini Co-authored-by:
Gusted <williamzijl7@hotmail.com> * Update models/ssh_key_commit_verification.go Co-authored-by:
Gusted <williamzijl7@hotmail.com> * Reword ssh/gpg_key_success message * Change Badsignature to NoKeyFound * Add sign/verify tests * Fix upstream api changes to user_model User * Match exact on SSH signature * Fix code review remarks Co-authored-by:
Gusted <williamzijl7@hotmail.com> Co-authored-by:
wxiaoguang <wxiaoguang@gmail.com> Co-authored-by:
Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by:
techknowlogick <techknowlogick@gitea.io>
-
- 02 Dec, 2021 1 commit
-
-
zeripath authored
Fix #17880 Co-authored-by:
Lauris BH <lauris@nix.lv>
-
- 20 Nov, 2021 1 commit
-
-
zeripath authored
-
- 19 Nov, 2021 1 commit
-
-
wxiaoguang authored
This PR fixes the builtin avatar generator. 1. The random background color makes some images very dirty. So now we only use white background for avatars. 2. We use left-right mirror avatars to satisfy #14799 3. Fix a small padding error in the algorithm
-
- 03 Nov, 2021 1 commit
-
-
zeripath authored
* Simplify Gothic to use our session store instead of creating a different store We have been using xormstore to provide a separate session store for our OAuth2 logins however, this relies on using gorilla context and some doubling of our session storing. We can however, simplify and simply use our own chi-based session store. Thus removing a cookie and some of the weirdness with missing contexts. Signed-off-by:
Andrew Thornton <art27@cantab.net> * as per review Signed-off-by:
Andrew Thornton <art27@cantab.net> * as per review Signed-off-by:
Andrew Thornton <art27@cantab.net> * Handle MaxTokenLength Signed-off-by:
Andrew Thornton <art27@cantab.net> * oops Signed-off-by:
Andrew Thornton <art27@cantab.net> Co-authored-by:
techknowlogick <techknowlogick@gitea.io> Co-authored-by:
Lauris BH <lauris@nix.lv>
-
- 26 Oct, 2021 1 commit
-
-
Lunny Xiao authored
-
- 20 Oct, 2021 1 commit
-
-
zeripath authored
Upgrade Bluemonday to latest version Signed-off-by:
Andrew Thornton <art27@cantab.net> Co-authored-by:
6543 <6543@obermui.de>
-
- 16 Oct, 2021 1 commit
-
-
6543 authored
Return rss/atom feed for user based on rss url suffix or Content-Type header.
-
- 14 Oct, 2021 1 commit
-
-
Lunny Xiao authored
-
- 29 Sep, 2021 1 commit
-
-
Lunny Xiao authored
-
- 16 Sep, 2021 1 commit
-
-
Lunny Xiao authored
Co-authored-by:
zeripath <art27@cantab.net>
-
- 13 Sep, 2021 1 commit
-
-
zeripath authored
Update to latest go-chi/session where the NewManager causes a new Provider instantiation instead of reconfiguring an old one. (https://gitea.com/go-chi/session/pulls/1) The NewManager call is now concurrency safe and would allow live reconfiguration in future but for now this PR simply fixes an intermittent "data-race" detected in our tests. (See https://drone.gitea.io/go-gitea/gitea/43900/2/14 ) Related #17027 Related #1441 Signed-off-by:
Andrew Thornton <art27@cantab.net>
-
- 23 Aug, 2021 1 commit
-
-
zeripath authored
Fixes issue with windows users & letsencrypt Signed-off-by:
Andrew Thornton <art27@cantab.net> Co-authored-by:
techknowlogick <techknowlogick@gitea.io>
-
- 21 Aug, 2021 1 commit
-
-
wxiaoguang authored
-
- 15 Aug, 2021 1 commit
-
-
Lunny Xiao authored
-
- 12 Aug, 2021 1 commit
-
-
Lunny Xiao authored
* Upgrade xorm to v1.2.2 * Change the Engine interface to match xorm v1.2.2
-