Commits at aa79738a66265ed2a3c6ff95929ae35e8550d86c
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
87be7621Add migrate from Codebase (#16768)
This PR adds [Codebase](https://www.codebasehq.com/) as migration source.
Supported:
- Milestones
- Issues
- Pull Requests
- Comments
- LabelsKN4CK3R
authored at
GitHub
comitted at
957c3fcbUpdate chi/middleware to chi/v5/middleware (#17888)
Fix #17880
Co-authored-by: Lauris BH <lauris@nix.lv>zeripath
authored at
GitHub
comitted at
4646c7c5Use fmt.Sprintf correctly (#17886)
delvh
authored at
GitHub
comitted at
fbf32082Added missing `data-` prefix. (#17884)
KN4CK3R
authored at
GitHub
comitted at
4f98e824Check if column exist before rename if exist, just return with no error (#17870)
* Check if column exist before rename if exist, just return with no error
* Also check if errors column exist
* Add comment for migration
* Fix sqlite testLunny Xiao
authored at
GitHub
comitted at
34b5436aRefactor various strings (#17784)
Fixes #16478
Co-authored-by: Gusted <williamzijl7@hotmail.com>
Co-authored-by: Gusted <williamzijl7@hotmail.com>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>mscherer
authored at
GitHub
comitted at
ba57e30ffix 500 error while use a reserved name in org rename (#17878)
fix #17876
Signed-off-by: a1012112796 <1012112796@qq.com>a1012112796
authored at
GitHub
comitted at
7d0629adUse shadowing script for docker (#17846)
Too many docker users are caught out by the default location for the
app.ini file being environment dependent so that when they docker exec
into the container the gitea commands do not work properly and require
additional -c arguments to correctly pick up the configuration.
This PR simply shadows the gitea binary using variants of the FHS
compatible script to make the command gitea have the default locations
by default.
Fix #14468
Reference #17497
Reference #12082
Reference #8941
... amongst others ...
Replace #17501
Signed-off-by: Andrew Thornton <art27@cantab.net>
zeripath
authored at
GitHub
comitted at
042cac5fImprove install code to avoid low-level mistakes. (#17779)
* Improve install code to avoid low-level mistakes.
If a user tries to do a re-install in a Gitea database, they gets a warning and double check.
When Gitea runs, it never create empty app.ini automatically.
Also some small (related) refactoring:
* Refactor db.InitEngine related logic make it more clean (especially for the install code)
* Move some i18n strings out from setting.go to make the setting.go can be easily maintained.
* Show errors in CLI code if an incorrect app.ini is used.
* APP_DATA_PATH is created when installing, and checked when starting (no empty directory is created any more).
wxiaoguang
authored at
GitHub
comitted at
3fd502ccRework commit page header (#17849)
- Remove blue background and use regular header styling
- Use flexbox on author and signature segments
- Add shield-type icons besides gpg key, replacing icon font icons
- Ensure author and signature line are same height
- Remove erronous green background on arc-green signature line
- Turn signing colors into CSS variables
- Consolidate the two warning states into one
Co-authored-by: zeripath <art27@cantab.net>silverwind
authored at
GitHub
comitted at
01087e9eMake Requests Processes and create process hierarchy. Associate OpenRepository with context. (#17125)
This PR registers requests with the process manager and manages hierarchy within the processes.
Git repos are then associated with a context, (usually the request's context) - with sub commands using this context as their base context.
Signed-off-by: Andrew Thornton <art27@cantab.net>zeripath
authored at
GitHub
comitted at
d894c90bFix position of label color picker colors (#17866)
silverwind
authored at
GitHub
comitted at
64b7d0dedocs: modules do not rely on models, services do (#17861)
services: provide some services for users, usually use
database (models) modules: provide some basic functions without
database, eg: code parser, etc The major difference is services use
database, while modules don’t.
Signed-off-by: singuliere <singuliere@autistici.org>singuliere
authored at
GitHub
comitted at
9ecfc54aRefactor commit graph styling to use css variables (#17860)
- Use common variables for colors and font
- Alter graph color 5 to provide enough contrast on both themessilverwind
authored at
GitHub
comitted at
4a6bd60dRemove whitespace inside rendered code `<td>` (#17859)
This extra whitespace caused isses in Firefox where it would copy a
extra space character at the start and the end. Additionally, in Chrome,
the text selection indicated a spaced on the end of the selection where
there was none. Both issues are fixed with the removal of whitespace.silverwind
authored at
GitHub
comitted at
830ab75cSwitch archive URL code back to href attributes (#17796)
* Add fallback href link
* Switch async archive generation to use href links
* Edit all templates to use href instead of data-url for archives
* Add consistent rel="nofollow" as per wxiaoguangfnetX (aka fralix)
authored at
GitHub
comitted at
b5a9ee94Make Co-committed-by and co-authored-by trailers optional (#17848)
This PR adds another option to app.ini make co-committed-by and co-authored-by trailers
optional on a per server basis.
Fix #17194
Signed-off-by: Andrew Thornton <art27@cantab.net>zeripath
authored at
GitHub
comitted at
9defddb2Move more model into models/user (#17826)
* Move more model into models/user
* Remove unnecessary comment
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>Lunny Xiao
authored at
GitHub
comitted at