- 25 May, 2022 3 commits
-
-
techknowlogick authored
Co-authored-by:
6543 <6543@obermui.de>
-
zeripath authored
If the context is cancelled `.NotificationUnreadCount` in a template can cause an infinite loop with `ctx.ServerError()` being called, which creates a template that then calls `.NotificationUnreadCount` calling `GetNotificationCount()` with the cancelled context resulting in an error that calls `ctx.ServerError`... and so on... This PR simply stops calling `ctx.ServerError` in the error handler code for `.NotificationUnreadCount` as we have already started rendering and so it is too late to call `ctx.ServerError`. Additionally we skip logging the error if it's a context cancelled error. Fix #19793 Signed-off-by:
Andrew Thornton <art27@cantab.net> Co-authored-by:
techknowlogick <techknowlogick@gitea.io>
-
silverwind authored
Convenience command to run 'go mod tidy'. The compat flag is set to the minimum supported go version instead of min version minus one which is go's default, which eliminated some checksums in go.sum as a result.
-
- 24 May, 2022 2 commits
-
-
wxiaoguang authored
* Update document to use FHS `/usr/local/bin/gitea` instead of `/app/...` in Docker * Update docs/content/doc/installation/with-docker.zh-cn.md
-
GiteaBot authored
-
- 23 May, 2022 2 commits
-
-
Jan-Eric Schober authored
* Changed the filename of the favicon SVG This allows the user to have a favicon which differs from the logo. * Added favicon.svg This is needed to accommodate the changes for allowing the user to have a differing logo and favicon * Adjusted page to accommodate what icon is used as favicon * Added functionality to also generate the favicon.svg via generate-images.js * Adjusted the description for the new favicon compatibility Co-authored-by:
silverwind <me@silverwind.io> * Updated generate-images.js to generate favicons from a separate favicons.svg file This belongs to PR #18542. * Added description on how custom favicons can be generated * Replaced space indents with tabs * Synced changes with current state of the file * Synced changes with current state of the file Co-authored-by:
silverwind <me@silverwind.io> Co-authored-by:
zeripath <art27@cantab.net> Co-authored-by:
Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by:
Lauris BH <lauris@nix.lv>
-
GiteaBot authored
-
- 22 May, 2022 1 commit
-
-
GiteaBot authored
-
- 21 May, 2022 6 commits
-
-
zeripath authored
-
zeripath authored
The cache service can be disabled - at which point ctx.Cache will be nil and the use of it will cause an NPE. The main part of this PR is that the cache is used for restricting resending of activation mails and without this we cache we cannot restrict this. Whilst this code could be re-considered to use the db and probably should be, I think we can simply disable this code in the case that the cache is disabled. There are also several bug fixes in the /nodeinfo API endpoint. Signed-off-by:
Andrew Thornton <art27@cantab.net>
-
zeripath authored
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>
-
silentcodeg authored
* 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>
-
Eekle authored
* 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 search
-
silverwind authored
- Update all JS dependencies minus Vue - Tested mermaid, swagger, build Co-authored-by:
6543 <6543@obermui.de>
-
- 20 May, 2022 8 commits
-
-
zeripath authored
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>
-
Lunny Xiao authored
* Move almost all functions' parameter db.Engine to context.Context * remove some unnecessary wrap functions
-
Lunny Xiao authored
* Move org functions * Fix comment
-
silentcodeg authored
-
silentcodeg authored
* [doctor] update the help with fix capabilities
-
silverwind authored
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.
-
wxiaoguang authored
* 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 code
-
delvh authored
-
- 19 May, 2022 5 commits
-
-
silverwind authored
* 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>
-
KN4CK3R authored
Old code did not respect owner visibility and the organization access calculation was wrong if the user was not a member.
-
Guo Y.K authored
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>
-
silentcodeg authored
-
delvh authored
Co-authored-by:
techknowlogick <techknowlogick@gitea.io>
-
- 18 May, 2022 3 commits
-
-
Eekle authored
* 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>
-
silentcodeg authored
-
silentcodeg authored
-
- 17 May, 2022 2 commits
- 16 May, 2022 4 commits
-
-
6543 authored
* 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>
-
Gusted authored
- 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
- 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-case
-
zeripath authored
Extract from #19703 Signed-off-by:
Andrew Thornton <art27@cantab.net>
-
- 15 May, 2022 4 commits
-
-
6543 authored
* update gitea.com/go-chi/cache -> v0.2.0 * ajust to new interface * refactor
-
John Olheiser authored
-
f0x52 authored
* clarify what session provider 'db' does * Also update session.PROVIDER in app.example.ini Co-authored-by:
wxiaoguang <wxiaoguang@gmail.com>
-
GiteaBot authored
-