Commits at 72d82c5b6fe7153c849738b591133c9bb52a96f7
72d82c5bHandle relative unix socket paths (#17836)
Make relative unix sockets absolute by making them absolute against the AppWorkPath
Fix #17833
## :warning: BREAKING :warning:
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>
zeripath
authored at
GitHub
comitted at
04c55e97Fix code formating (#17830)
* fix formatter, format imports first, then go fmtmscherer
authored at
GitHub
comitted at
2e8fc5b0Replace regex usage for MIME parsing (#17831)
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.
Gabriel Vasile
authored at
GitHub
comitted at
af901a4cDetect dark theme via css variable (#17800)
* 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.ThetaDev
authored at
GitHub
comitted at
e0f81b4eAllow forks to org if you can create repos (#17783)
qwerty287
authored at
GitHub
comitted at
4b4997c7Use correct user on releases (#17806)
- 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>Gusted
authored at
GitHub
comitted at
49933c7fCreate menus for organization pages (#17802)
* Create menus for organization pages
* Fix frontend lint
* Fix frontend lintLunny Xiao
authored at
GitHub
comitted at
71ed96b0Preserve color when inverting emojis (#17797)
Fixes: https://github.com/go-gitea/gitea/issues/17795silverwind
authored at
GitHub
comitted at
a666829aMove user related model into models/user (#17781)
* Move user related model into models/user
* Fix lint for windows
* Fix windows lint
* Fix windows lint
* Move some tests in models
* MergeLunny Xiao
authored at
GitHub
comitted at
4e7ca946Use `*PushUpdateOptions` as receiver (#17724)
Gusted
authored at
GitHub
comitted at
c97d66d2Move repofiles from modules/repofiles to services/repository/files (#17774)
* Move repofiles from modules to services
* rename services/repository/repofiles -> services/repository/files
* Fix test
Co-authored-by: 6543 <6543@obermui.de>Lunny Xiao
authored at
GitHub
comitted at
754fdd8fFix visibility of org avatars (#17789)
* Fix visibility of org avatar
* more clear syntax
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>qwerty287
authored at
GitHub
comitted at
21f4401fUse correct Sender on webhook change title (#17791)
As title, thanks to @mscherer for pointing out the incorrect code.Gusted
authored at
GitHub
comitted at
429ef437Use new OneDev /milestones endpoint (#17782)
OneDev changed the API which fails every build at the moment.KN4CK3R
authored at
GitHub
comitted at
188fd2ddAdd `PULL_LIMIT` and `PUSH_LIMIT` to cron.update_mirror task (#17568)
zeripath
authored at
GitHub
comitted at
9450410fImprove ellipsis buttons (#17773)
* Improve ellipsis buttons
- Remove icon font usage
- Add aria-expanded attribute
* rename function to match
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>silverwind
authored at
GitHub
comitted at
e5959864Harden authorized keys a bit more (#17772)
sshd(8) list restrict as a future-proof way to restrict feature
enabled in ssh. It is supported since OpenSSH 7.2, out since
2016-02-29.
OpenSSH will ignore unknown options (see sshauthopt_parse in
auth-options.c), so it should be safe to add the option and
no-user-rc.
Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>mscherer
authored at
GitHub
comitted at
a1f5c7bfAdd copy Commit ID button in commits list (#17759)
* fix: implement commit id copy to clipboard
* fix: remove abundant attributes / consider edge-case
* fix: locale_en fixed
* fix: use ui button
* tune copy button
* fix: button size
* Fix merge
Co-authored-by: Ysmr-Ry <ryo.yossy@live.jp>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>velengel
authored at
GitHub
comitted at
b2daa7e2Add documentation for backend development (#17512)
* Add documentation for backend development
* Update backend guidline
* More sections
* Add modules/setting and modules/git
* Uniform gitea as Gitea
* some improvements
* some improvementsLunny Xiao
authored at
GitHub
comitted at