- 02 Dec, 2021 7 commits
-
-
zeripath authored
Fix #17880 Co-authored-by:
Lauris BH <lauris@nix.lv>
-
delvh authored
-
KN4CK3R authored
-
Lunny Xiao authored
* 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 test
-
mscherer authored
Fixes #16478 Co-authored-by:
Gusted <williamzijl7@hotmail.com> Co-authored-by:
Gusted <williamzijl7@hotmail.com> Co-authored-by:
Lunny Xiao <xiaolunwen@gmail.com>
-
a1012112796 authored
fix #17876 Signed-off-by:
a1012112796 <1012112796@qq.com>
-
GiteaBot authored
-
- 01 Dec, 2021 3 commits
-
-
zeripath authored
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>
-
wxiaoguang authored
* 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).
-
GiteaBot authored
-
- 30 Nov, 2021 6 commits
-
-
silverwind authored
- 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>
-
zeripath authored
Make 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>
-
silverwind authored
-
singuliere authored
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>
-
silverwind authored
- Use common variables for colors and font - Alter graph color 5 to provide enough contrast on both themes
-
GiteaBot authored
-
- 29 Nov, 2021 3 commits
-
-
silverwind authored
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.
-
fnetX (aka fralix) authored
* 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 wxiaoguang
-
zeripath authored
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>
-
- 28 Nov, 2021 6 commits
-
-
qwerty287 authored
-
Lunny Xiao authored
* Move more model into models/user * Remove unnecessary comment Co-authored-by:
6543 <6543@obermui.de> Co-authored-by:
wxiaoguang <wxiaoguang@gmail.com>
-
qwerty287 authored
Co-authored-by:
wxiaoguang <wxiaoguang@gmail.com> Co-authored-by:
Lunny Xiao <xiaolunwen@gmail.com>
-
Lunny Xiao authored
-
qwerty287 authored
Co-authored-by:
Lauris BH <lauris@nix.lv> Co-authored-by:
Lunny Xiao <xiaolunwen@gmail.com>
-
Galen Suen authored
-
- 27 Nov, 2021 4 commits
-
-
zeripath authored
Make relative unix sockets absolute by making them absolute against the AppWorkPath Fix #17833 ##
BREAKING Prior to this PR relative unix sockets would have been asserted to be relative to the current working directory that gitea, gitea serv, hook and manager etc were running in. Hooks and Serv would have failed to work properly under this situation so we expect that although this is a technically breaking change the previous situation was already broken. Signed-off-by:Andrew Thornton <art27@cantab.net>
-
mscherer authored
* fix formatter, format imports first, then go fmt
-
Gabriel Vasile authored
MIME types can have multiple optional parameters, eg: video/webm; codecs="w/e codec"; charset="binary" This commit replaces the usage of regex for getting the "type/subtype" with mime.ParseMediaType.
-
GiteaBot authored
-
- 26 Nov, 2021 4 commits
-
-
mscherer authored
* Implement Well-Known URL for password change Fixes #11804
-
Jimmy Praet authored
* Add archived label for code search results in archived repo's * Remove trailing whitespace Co-authored-by:
Lauris BH <lauris@nix.lv>
-
Lunny Xiao authored
-
GiteaBot authored
-
- 25 Nov, 2021 7 commits
-
-
Lunny Xiao authored
-
KN4CK3R authored
Co-authored-by:
Lunny Xiao <xiaolunwen@gmail.com>
-
wxiaoguang authored
-
ThetaDev authored
* detect dark theme via css variable * minor refactor, add documentation If your custom theme is considered a dark theme, set the global css variable `--is-dark-theme` to `true`. This allows gitea to adjust the Monaco code editor's theme accordingly.
-
qwerty287 authored
-
Gusted authored
- Use the provided `doer` instead of `rel.Publisher`. The code will also run on edited releases and deleted ones, which isn't necessary done by `rel.Publisher`. Co-authored-by:
wxiaoguang <wxiaoguang@gmail.com>
-
GiteaBot authored
-