Commits at c7e23401a3b7d1e38aacd857c1ec9be53a2fa63a
c7e23401Fix a panic in NotifyCreateIssueComment (caused by string truncation) (#17928)
* Fix a panic in NotifyCreateIssueComment (caused by string truncation)
* more unit tests
* refactor
* fix some edge cases
* use SplitStringAtByteN for comment contentwxiaoguang
authored at
GitHub
comitted at
d2d9bc84Use disable_form_autofill on Codebase and Gitbucket (#17936)
Removes the old fake input on the Codebase migration screen, and adds the disable_form_autofill
qwerty287
authored at
GitHub
comitted at
9e6e1dc9Improve checkBranchName (#17901)
The current implementation of checkBranchName is highly inefficient
involving opening the repository, the listing all of the branch names
checking them individually before then using using opened repo to get
the tags.
This PR avoids this by simply walking the references from show-ref
instead of opening the repository (in the nogogit case).
Signed-off-by: Andrew Thornton <art27@cantab.net>
zeripath
authored at
GitHub
comitted at
b59875aaallways set a message-id on mails (#17900)
* allways set a message-id on mails
* Add unit tests for mailer & Message-ID
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>Garionion
authored at
GitHub
comitted at
0ff18a80Support sorting for project board issuses (#17152)
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>Anbraten
authored at
GitHub
comitted at
4cbe7925Remove unnecessary `X-Remote` HTTP header in AJAX request (#17932)
wxiaoguang
authored at
GitHub
comitted at
a6f961fbRefactor install page (db type) (#17919)
* Refactor install page (db type)
* set correct default DB HOST for different DB TYPE
* remove legacy TiDB from documents
* unify the usage of DB TYPE, in code we only use "mysql". "MySQL" is only shown to users for friendly name.
* Gitea can use TiDB via MySQL protocol
Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>wxiaoguang
authored at
GitHub
comitted at
eb69c7ecAllow default branch to be inferred on compare page (#17908)
* Allow default branch to be inferred
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Add test for inferred default branch
Signed-off-by: jolheiser <john.olheiser@gmail.com>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>John Olheiser
authored at
GitHub
comitted at
12a42baaApply CSS Variables to all message elements (#17920)
Fixes #17918. Applies color variables to all ui message on both themes.
The colorization on .segment is a customization not present in fomantic
ui, only used on user/repo/org delete pages.silverwind
authored at
GitHub
comitted at
dcdb4873Move repo archiver to models/repo (#17913)
* Move repo archiver to models/repo
* Move archiver service into services/repository/
* Fix imports
* Fix test
* Fix testLunny Xiao
authored at
GitHub
comitted at
f49d1604Replace "unix" by "http+unix" for PROTOCOL (#17771)
mscherer
authored at
GitHub
comitted at
9d620896Fix loading content history on show more (#17819)
* Fix loading content history on show more
- Call `initRepoIssueContentHistory` so that the newly loaded issues
also get their content history.
- Resolves #17767
* apply history to show diff too
Signed-off-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: 6543 <6543@obermui.de>Gusted
authored at
GitHub
comitted at
8d85a62eFix svg colors in file list table (#17903)
* Fix svg colors in file list table
Turns out this can be fixed by just removing rules. Directory and file
icons have other rules that still make them color correctly.
* tweak color on file icons
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>silverwind
authored at
GitHub
comitted at
f7094c81Update JS dependencies, adjust eslint config (#17904)
- Update all JS dependencies to latest versions
- Add new lint rules, enable es2022 eslint parser features
- Disable github/no-then, I feel the rule was too restrictingsilverwind
authored at
GitHub
comitted at
aa79738aFix the bug: no wiki page can be created if the repo didn't have any page yet. (#17894)
wxiaoguang
authored at
GitHub
comitted at
1a78e233tests: more integration tests for notifications (#17845)
Verify that multiple status-types are taken into account as expected.
Refs: https://github.com/go-gitea/gitea/issues/16796singuliere
authored at
GitHub
comitted at
4f81c7dfRender issue references in file table (#17897)
Fixes #17887silverwind
authored at
GitHub
comitted at
5f22e2dfImprove seek-help documents (#17895)
* Add pprof information to seek-help documents
* Improve zh-cn and zh-tw documentswxiaoguang
authored at
GitHub
comitted at
6791aae8Add hints for special Wiki pages (#17283)
* Add UI hints to create a Wiki sidebar and footern
authored at
GitHub
comitted at
6ceef876Removed SizeFmt. (#17890)
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>KN4CK3R
authored at
GitHub
comitted at
03ec9e50Changelog for v1.15.7 (#17871) (#17889)
* Changelog for v1.15.7 (#17871)
* Changelog for v1.15.7
Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: 6543 <6543@obermui.de>
* update version in docs
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: zeripath <art27@cantab.net>6543
authored at
GitHub
comitted at