- 27 Jan, 2022 2 commits
- 26 Jan, 2022 5 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>
-
wxiaoguang authored
* Use base32 for 2FA scratch token * rename Secure* to Crypto*, add comments
-
GiteaBot authored
-
zeripath authored
It appears that there was a broken merge of the edit.tmpl page during the merge of #16594 - I am not entirely sure how this happened as the PR was correct. This PR fixes the broken template. Fix #18388 Signed-off-by:
Andrew Thornton <art27@cantab.net>
-
- 25 Jan, 2022 8 commits
-
-
zeripath authored
* Prevent deadlocks in persistable channel pause test Because of reuse of the old paused/resumed channels in this test there was a potential for deadlock. This PR ensures that the channels are always reobtained. It further adds some control code to detect hangs in future - and it ensures that the pausing warning is not shown on shutdown. Signed-off-by:
Andrew Thornton <art27@cantab.net> * do not warn but do pause Signed-off-by:
Andrew Thornton <art27@cantab.net>
-
Gusted authored
- Bump golangci-lint version to v1.44.0 (no new linter errors detected)
-
65 43 authored
Unexport the git.GlobalCommandArgs variable.
-
zeripath authored
Fix #18391 Fix #18320 Signed-off-by:
Andrew Thornton <art27@cantab.net>
-
Lauris BH authored
-
Lauris BH authored
-
Lunny Xiao authored
Co-authored-by:
zeripath <art27@cantab.net>
-
GiteaBot authored
-
- 24 Jan, 2022 5 commits
-
-
zeripath authored
Implements the Pausable interface on WrappedQueues and PersistableChannelUniqueQueues Reference #15928 Signed-off-by:
Andrew Thornton <art27@cantab.net>
-
Gusted authored
* Fix commit's time - Use the Committer's `when` as the CommitDate will be modified when the commit is being moved around in the git tree(e.g. being rebased on top of newer commits). The Author's `when` is created once and never touched again. * Update templates/repo/view_list.tmpl * Commmt unstaged * Add fallback Co-authored-by:
zeripath <art27@cantab.net> Co-authored-by:
Lunny Xiao <xiaolunwen@gmail.com>
-
wxiaoguang authored
-
wxiaoguang authored
-
GiteaBot authored
-
- 23 Jan, 2022 9 commits
-
-
Gusted authored
- Pass the Global command args into serviceRPC. - Fixes error with partial cloning. - Add partial clone test - Include diff Co-authored-by:
Lunny Xiao <xiaolunwen@gmail.com>
-
Gusted authored
* Switch to non-deprecation setting (Avoid by-default: "Deprecated fallback `[server]` `LFS_CONTENT_PATH` present. Use `[lfs]` `PATH` instead. This fallback will be removed in v1.18.0") * Update all references
-
zeripath authored
-
Gusted authored
- Don't underline the commit status icon, as it isn't a link per-se.
-
Dr. Tobias Quathamer authored
Co-authored-by:
6543 <6543@obermui.de> Co-authored-by:
wxiaoguang <wxiaoguang@gmail.com>
-
wxiaoguang authored
Bypass the unstable behavior of Golang's mime.TypeByExtension
-
Lunny Xiao authored
-
Lunny Xiao authored
Co-authored-by:
wxiaoguang <wxiaoguang@gmail.com>
-
GiteaBot authored
-
- 22 Jan, 2022 6 commits
-
-
Gusted authored
* Make gitea, gitea-vet future-proof - Ref: https://gitea.com/gitea/gitea-vet/pulls/18 * Correct order Co-authored-by:
zeripath <art27@cantab.net>
-
zeripath authored
* Start adding mechanism to return unhandled data Signed-off-by:
Andrew Thornton <art27@cantab.net> * Create pushback interface Signed-off-by:
Andrew Thornton <art27@cantab.net> * Add Pausable interface to WorkerPool and Manager Signed-off-by:
Andrew Thornton <art27@cantab.net> * Implement Pausable and PushBack for the bytefifos Signed-off-by:
Andrew Thornton <art27@cantab.net> * Implement Pausable and Pushback for ChannelQueues and ChannelUniqueQueues Signed-off-by:
Andrew Thornton <art27@cantab.net> * Wire in UI for pausing Signed-off-by:
Andrew Thornton <art27@cantab.net> * add testcases and fix a few issues Signed-off-by:
Andrew Thornton <art27@cantab.net> * fix build Signed-off-by:
Andrew Thornton <art27@cantab.net> * prevent "race" in the test Signed-off-by:
Andrew Thornton <art27@cantab.net> * fix jsoniter mismerge Signed-off-by:
Andrew Thornton <art27@cantab.net> * fix conflicts Signed-off-by:
Andrew Thornton <art27@cantab.net> * fix format Signed-off-by:
Andrew Thornton <art27@cantab.net> * Add warnings for no worker configurations and prevent data-loss with redis/levelqueue Signed-off-by:
Andrew Thornton <art27@cantab.net> * Use StopTimer Signed-off-by:
Andrew Thornton <art27@cantab.net> Co-authored-by:
Lauris BH <lauris@nix.lv> Co-authored-by:
6543 <6543@obermui.de> Co-authored-by:
techknowlogick <techknowlogick@gitea.io> Co-authored-by:
wxiaoguang <wxiaoguang@gmail.com>
-
Gusted authored
- Disable the browser's function to "sniff" for the content-type on the provided plain text, this will prevent the possible usage of user-controlled data being sent, which could be malicious. Co-authored-by:
zeripath <art27@cantab.net> Co-authored-by:
wxiaoguang <wxiaoguang@gmail.com>
-
65 43 authored
-
wxiaoguang authored
-
GiteaBot authored
-
- 21 Jan, 2022 3 commits
-
-
qwerty287 authored
* Add config option to hide issue events Adds a config option `HIDE_ISSUE_EVENTS` to hide most issue events (changed labels, milestones, projects...) on the issue detail page. If this is true, only the following events (comment types) are shown: * plain comments * closed/reopned/merged * reviews * Make configurable using a list * Add docs * Add missing newline * Fix merge issues * Allow changes per user settings * Fix lint * Rm old docs * Apply suggestions from code review * Use bitsets * Rm comment * fmt * Fix lint * Use variable/constant to provide key * fmt * fix lint * refactor * Add a prefix for user setting key * Add license comment * Add license comment * Update services/forms/user_form_hidden_comments.go Co-authored-by:
Gusted <williamzijl7@hotmail.com> * check len == 0 Co-authored-by:
wxiaoguang <wxiaoguang@gmail.com> Co-authored-by:
zeripath <art27@cantab.net> Co-authored-by:
Gusted <williamzijl7@hotmail.com> Co-authored-by:
6543 <6543@obermui.de>
-
silverwind authored
-
GiteaBot authored
-
- 20 Jan, 2022 2 commits
-
-
zeripath authored
* Refactor jwt.StandardClaims to RegisteredClaims go-jwt/jwt has deprecated the StandardClaims interface to use RegisteredClaims instead. This PR migrates to use this new format. Signed-off-by:
Andrew Thornton <art27@cantab.net> * Apply suggestions from code review Co-authored-by:
Gusted <williamzijl7@hotmail.com> Co-authored-by:
6543 <6543@obermui.de> Co-authored-by:
Gusted <williamzijl7@hotmail.com>
-
65 43 authored
* gofumpt -w -l . * gofumpt -w -l -extra . * Add linter * manual fix * change make fmt
-