Commits at 49dd9067535538771ef13623ed1dd9698a4a2151
49dd9067Use base32 for 2FA scratch token (#18384)
* Use base32 for 2FA scratch token
* rename Secure* to Crypto*, add commentswxiaoguang
authored at
GitHub
comitted at
de61e5f9Fix broken oauth2 authentication source edit page (#18412)
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>zeripath
authored at
GitHub
comitted at
713985b1Prevent deadlocks in persistable channel pause test (#18410)
* 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>zeripath
authored at
GitHub
comitted at
b53fd5ffBump golangci-lint version (#18411)
- Bump golangci-lint version to v1.44.0 (no new linter errors detected)Gusted
authored at
GitHub
comitted at
80adbebbUnexport git.GlobalCommandArgs (#18376)
Unexport the git.GlobalCommandArgs variable.
6543
authored at
GitHub
comitted at
93250bfePlace inline diff comment dialogs on split diff in 4th and 8th columns (#18403)
Fix #18391
Fix #18320
Signed-off-by: Andrew Thornton <art27@cantab.net>zeripath
authored at
GitHub
comitted at
6392f469API: Return primary language and repository language stats API URL (#18396)
Lauris BH
authored at
GitHub
comitted at
9628a76cUpdate to work with latest VS Code go debugger (#18397)
Lauris BH
authored at
GitHub
comitted at
a717265eFix restore without topic failure (#18387)
Co-authored-by: zeripath <art27@cantab.net>Lunny Xiao
authored at
GitHub
comitted at
ab7f7016Make WrappedQueues and PersistableChannelUniqueQueues Pausable (#18393)
Implements the Pausable interface on WrappedQueues and PersistableChannelUniqueQueues
Reference #15928
Signed-off-by: Andrew Thornton art27@cantab.netzeripath
authored at
GitHub
comitted at
43c6b277Fix commit's time (#18375)
* 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>Gusted
authored at
GitHub
comitted at
9837773fPrevent showing webauthn error for every time visiting `/user/settings/security` (#18385)
wxiaoguang
authored at
GitHub
comitted at
c2e13fb7Fix partial cloning a repo (#18373)
- 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 at
GitHub
comitted at
5e5740afSwitch to non-deprecation setting (#18358)
* 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 referencesGusted
authored at
GitHub
comitted at
8472884cUpdate the SSH passthrough documentation (#18366)
zeripath
authored at
GitHub
comitted at
e36f0b6aDon't underline commit status icon on hover (#18372)
- Don't underline the commit status icon, as it isn't a link per-se.
Gusted
authored at
GitHub
comitted at
3349fd8fAdd packagist webhook (#18224)
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>Dr. Tobias Quathamer
authored at
GitHub
comitted at
87141b90Fix mime-type detection for HTTP server (#18370)
Bypass the unstable behavior of Golang's mime.TypeByExtensionwxiaoguang
authored at
GitHub
comitted at
35fdefc1Always use git command but not os.Command (#18363)
Lunny Xiao
authored at
GitHub
comitted at
f066b293Add deprecated for LFS_CONTENT_PATH on zh-cn docs (#18362)
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>Lunny Xiao
authored at
GitHub
comitted at
1ddfa596Make gitea, gitea-vet future-proof (#18361)
* Make gitea, gitea-vet future-proof
- Ref: https://gitea.com/gitea/gitea-vet/pulls/18
* Correct order
Co-authored-by: zeripath <art27@cantab.net>Gusted
authored at
GitHub
comitted at
a82fd98dPause queues (#15928)
* 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>zeripath
authored at
GitHub
comitted at
27ee01e1Disable content sniffing on `PlainTextBytes` (#18359)
- 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>Gusted
authored at
GitHub
comitted at
6ad7a537Update github.com/duo-labs/webauthn (#18357)
6543
authored at
GitHub
comitted at