Commits at bc4764ffc67d240149fba9b0e8d23a68bc95fc6c
bc4764ffDetect truncated utf-8 characters at the end of content as still representing utf-8 (#19773)
Our character detection algorithm can potentially incorrectly detect utf-8 as iso-8859-x
if there is a truncated character at the end of the partially read file.
This PR changes the detection algorithm to truncated utf8 characters at the end of the
buffer.
Fix #19743
Signed-off-by: Andrew Thornton <art27@cantab.net>
zeripath
authored at
GitHub
comitted at
f6c99297Add silentcodeg to MAINTAINERS (#19771)
* Add silentcodeg to MAINTAINERS
* add missing trailing g to chat nick
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>silentcodeg
authored at
GitHub
comitted at
876cad00Allows repo search to match against "owner/repo" pattern strings (#19754)
* Allows repo search to match against "owner/repo" pattern strings
* Gofumpt
* Adds test case for "owner/repo" style repo search
* With "owner/repo" search terms, prioritise results which match the owner field
* Fixes unquoted SQL string in repo searchEekle
authored at
GitHub
comitted at
ba7750d6Update JS dependencies (#19767)
- Update all JS dependencies minus Vue
- Tested mermaid, swagger, build
Co-authored-by: 6543 <6543@obermui.de>silverwind
authored at
GitHub
comitted at
a9af93cbNuke the incorrect permission report on /api/v1/notifications (#19761)
The permissions created in convertRepo use a minimal perm.AccessModeRead instead of
correctly computing the permission for the repository. This incorrect permission is
then reported to the user.
I do not believe that reporting the permissions is helpful and therefore I propose
we simply null these out. The user can check their permissions using a different
endpoint.
Fix #19759
Signed-off-by: Andrew Thornton <art27@cantab.net>zeripath
authored at
GitHub
comitted at
fd7d83acMove almost all functions' parameter db.Engine to context.Context (#19748)
* Move almost all functions' parameter db.Engine to context.Context
* remove some unnecessary wrap functionsLunny Xiao
authored at
GitHub
comitted at
d81e31adMove org functions (#19753)
* Move org functions
* Fix commentLunny Xiao
authored at
GitHub
comitted at
63f6e6c0[doctor] pq: syntax error at or near "." quote user table name (#19765)
silentcodeg
authored at
GitHub
comitted at
2c66bd8a[doctor] update the help with fix capabilities (#19762)
* [doctor] update the help with fix capabilitiessilentcodeg
authored at
GitHub
comitted at
ac8bee6aRemove fomantic progress module (#19760)
Replace it with HTML `<progress>` element. The bar won't go green at
100% anymore but I think it's not something that fits stylistically anyways.silverwind
authored at
GitHub
comitted at
cc7236e8Make Ctrl+Enter (quick submit) work for issue comment and wiki editor (#19729)
* Make Ctrl+Enter (quick submit) work for issue comment and wiki editor
* Remove the required `SubmitReviewForm.Type`, empty type (triggered by quick submit) means "comment"
* Merge duplicate codewxiaoguang
authored at
GitHub
comitted at
3b359b16Enable packages by default again (as described by docs) (#19746)
delvh
authored at
GitHub
comitted at
9da3d78eReplace blue button and label classes with primary (#19763)
* make blue really blue
* replace blue button and label classes with primary
* add --color-blue-dark
* add light color variants, tweak a few colors
* fix colors
* add comment
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>silverwind
authored at
GitHub
comitted at
ce525147Fix org package owner permissions (#19742)
Old code did not respect owner visibility and the organization access calculation was wrong if the user was not a member.KN4CK3R
authored at
GitHub
comitted at
3e5ea9a9Update base.go (#19739)
use http.StatusTemporaryRedirect(307) when serve avatar directly
browser caches 301 redirections, pre-signed s3 url would expire at some later point
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>Guo Y.K
authored at
GitHub
comitted at
c27268db[doctor] do not update User Stars numbers unless --fix (#19750)
silentcodeg
authored at
GitHub
comitted at
ad551bffFix incorrect translation key (#19744)
Co-authored-by: techknowlogick <techknowlogick@gitea.io>delvh
authored at
GitHub
comitted at
260a28d8Improved ref comment link when origin is body/title (#19741)
* Makes comments in body text/title return the base page URL instead of "" in RefCommentHTMLURL()
* Add comment explaining branch
Co-authored-by: delvh <dev.lh@web.de>Eekle
authored at
GitHub
comitted at
6a052fba[doctor] explain what enable-push-options does (#19740)
silentcodeg
authored at
GitHub
comitted at
e82db15cAdd doctor orphan check for orphaned pull requests without an existing base repo (#19731)
silentcodeg
authored at
GitHub
comitted at
9ea92064ContainerRegistry - removed Basic Auth header (#19735)
* Removed Basic Auth header.
* Fixed test.KN4CK3R
authored at
GitHub
comitted at
af4caca8Add changelog for v1.16.8 (#19724) (#19730)
* Add changelog for v1.16.8 (#19724)
* Add changelog for v1.16.8
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: Gusted <williamzijl7@hotmail.com>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
* bump
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: Gusted <williamzijl7@hotmail.com>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>6543
authored at
GitHub
comitted at
bcf13b67Improve commit list/view on mobile (#19712)
- This is a continuation on [the work](https://github.com/go-gitea/gitea/pull/19546) I've done for improving mobile experience on Gitea.
- The current behavior of going trough the commits list is horrible, each individual item gets it's own row and thereby isn't quite compact as it should be on mobile. The commit view's header is in a bit better state, it's quite only that content is overlapping each other.
- This patch fixes those problems. Each row in the commit list table will actually take a row in the UI. The commit view's header has now a better organized way of placing the information.Gusted
authored at
GitHub
comitted at
71ca1315Fix issue overview for teams (#19652)
- Don't use hacky solution to limit to the correct RepoID's, instead use
current code to handle these limits. The existing code is more correct
than the hacky solution.
- Resolves #19636
- Add test-caseGusted
authored at
GitHub
comitted at
d494cc33Fix nodeinfo caching and prevent NPE if cache non-existent (#19721)
Extract from #19703
Signed-off-by: Andrew Thornton <art27@cantab.net>zeripath
authored at
GitHub
comitted at
00a981d3Update go-chi/cache to utilize Ping() (#19719)
* update gitea.com/go-chi/cache -> v0.2.0
* ajust to new interface
* refactor6543
authored at
GitHub
comitted at
6680cca0clarify what session provider 'db' does (#19713)
* clarify what session provider 'db' does
* Also update session.PROVIDER in app.example.ini
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>f0x52
authored at
GitHub
comitted at