aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix heatmap total contributions (#14141)Lunny Xiao2020-12-241-1/+10
|
* Fix creating OAuth2 auth source from CLI (#14116)Daniil Pankratov2020-12-243-3/+27
| | | | | | | | Fix creation OAuth2 auth source from CLI. Fix #8356 Co-authored-by: Daniil Pankratov <daniil.pankratov@t-systems.com>
* Fix api doc response code (#14123)Norwin2020-12-242-2/+2
| | | | | Fixes #14120
* Ensure that search term and page are not lost on adoption page-turn (#14133)zeripath2020-12-242-1/+14
| | | | | | | Fix #14111 Signed-off-by: Andrew Thornton <art27@cantab.net> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
* [skip ci] Updated translations via CrowdinGiteaBot2020-12-241-1/+1
|
* Improve vfsgen to not unzip bindata files but send to browser directly (#7109)Lunny Xiao2020-12-247-5/+105
| | | | | | | | | | | | | | | * Don't unzip files from bindata but send to browser directly * remove dependent for httpgzip * Add tests for parseAcceptEncoding * Update docs for ENABLE_GZIP * Fix bug * Fix bug Co-authored-by: zeripath <art27@cantab.net>
* Fix admin monitoring margin (#14134)silverwind2020-12-231-2/+2
|
* API: Make BasicAuth Prefix case insensitive (#14106)65432020-12-231-1/+1
|
* [skip ci] Updated translations via CrowdinGiteaBot2020-12-231-1/+1
|
* Fix manifest encoding (#14114)silverwind2020-12-233-10/+105
| | | | | | The previous URL encoding would encode spaces to '+' for the app name which is incorrect. Use base64 encoding instead which does not have such issues.
* Fix spelling avator -> avatar (#14115)Jimmy Praet2020-12-222-2/+2
|
* Fix git.parseTagData (#14105)65432020-12-224-5/+81
| | | | | | | | | | | | | | | * Fix git.parseTagData() close #14092 * Add Test * add message to test * limit readers * git tag -m trims and terminates with a newline Co-authored-by: Andrew Thornton <art27@cantab.net> Co-authored-by: 6543 <6543@obermui.de>
* [skip ci] Updated translations via CrowdinGiteaBot2020-12-221-0/+1
|
* Fix incorrect generated link in documentation page (#14112)Donlon2020-12-221-1/+1
|
* [skip ci] Updated translations via CrowdinGiteaBot2020-12-221-0/+2
|
* Inline manifest.json (#14038)silverwind2020-12-226-46/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * Inline manifest.json Improve performance by eliminating this separate request and just inline this small JSON in HTML directly as a data uri. Also update previously static app name scripts to use AppName. I've confirmed this as working via "Add to Homescreen" feature which offered to save the shortcut under the new app name. * prerender manifest data on startup * move to settings * restore setting.AppStartTime and use it on admin page * use double quotes because template.URL escapes everything * fix lint * move variable to global context variable * delete template file Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: zeripath <art27@cantab.net>
* [skip ci] Updated translations via CrowdinGiteaBot2020-12-221-0/+1
|
* Add user filter to issueTrackedTimes, enable usage for issue managers (#14081)Norwin2020-12-222-12/+44
| | | | | | | | | | | | | * add user filter to issueTrackedTimes fixes #14024 * update swagger * allow user filter for issue writers * improve swagger doc * return 404 on invalid user
* [skip ci] Updated translations via CrowdinGiteaBot2020-12-2211-11/+0
|
* rework heatmap permissions (#14080)Norwin2020-12-228-60/+104
| | | | | | | | | | | | | | | | * now uses the same permission model as for the activity feed: only include activities in repos, that the doer has access to. this might be somewhat slower. * also improves handling of user.KeepActivityPrivate (still shows the heatmap to self & admins) * extend tests * adjust integration test to new behaviour * add access to actions for admins * extend heatmap unit tests
* Standardize Co-Authored-By / Reviewed-By strings (#14097)Cirno the Strongest2020-12-213-4/+4
| | | | | | | * Standardize Co-Authored-By / Reviewed-By strings * Use lowercase variant Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
* Add StatDir and replace com.StatDir (#14099)Lunny Xiao2020-12-226-14/+88
| | | | | | | | | * Add StatDir and replace com.StatDir * a nit * Remove wrong file Co-authored-by: 6543 <6543@obermui.de>
* [skip ci] Updated translations via CrowdinGiteaBot2020-12-212-0/+2
|
* more test case for STORAGE_TYPE overrides (and fixes) (#14096)胡玮文2020-12-222-8/+57
| | | Signed-off-by: 胡玮文 <huww98@outlook.com>
* Fix storage config implementation (#14091)胡玮文2020-12-212-21/+177
| | | | | | | | | The design is very flexible, but not implemented correctly. This commit fixes several issues: * Costom storage type stated in https://docs.gitea.io/en-us/config-cheat-sheet/#storage-storage not working * [storage.attachments], [storage.minio] section not respected Signed-off-by: 胡玮文 <huww98@outlook.com>
* Add Test for Fix #14040 (#14045)65432020-12-211-0/+69
| | | Add Test for Fix #14040
* Use the text of pull-request as the squash commit's message (#13071)Mura Li2020-12-212-22/+10
| | | | | | | | | | | Originally, it was filled by the commit messages of the involved commits. In this change, we use the headline comment of the pull request as the commit message when it is a squash merge. Thanks to @zeripath for suggesting the idea. Fixes #12365 Co-authored-by: Mura Li <typeless@users.noreply.github.com>
* Add mentionable teams to tributeValues and change team mention rules to gh's ↵a10121127962020-12-218-34/+112
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | style (#13198) * Add mentionable teams to tributeValues Signed-off-by: a1012112796 <1012112796@qq.com> * Apply suggestions from code review Co-authored-by: silverwind <me@silverwind.io> * Change team mention rules to gh's style * use org's avator as team avator in ui Signed-off-by: a1012112796 <1012112796@qq.com> * Update modules/markup/html.go * Update models/issue.go Co-authored-by: Lauris BH <lauris@nix.lv> * Update models/issue.go * fix a small nit and update test code Co-authored-by: silverwind <me@silverwind.io> Co-authored-by: Lauris BH <lauris@nix.lv> Co-authored-by: 6543 <6543@obermui.de>
* [skip ci] Updated translations via CrowdinGiteaBot2020-12-211-0/+2
|
* Added option to disable migrations (#13114)Paweł Bogusławski2020-12-2114-11/+52
| | | | | | | | | | | | | | | | | | | | | | * Added option to disable migrations This patch introduces DISABLE_MIGRATIONS parameter in [repository] section of app.ini (by default set to false). If set to true it blocks access to repository migration feature. This mod hides also local repo import option in user editor if local repo importing or migrations is disabled. * Alter Example config DISABLE_MIGRATIONS set to false in example config to match its default value. * HTTP error 403 instead of 500 on denied access to migration * Parameter DISABLE_MIGRATIONS exposed via API Fixes: 04b04cf854bcb3ed7659442bcf79822bdebe29e9 Author-Change-Id: IB#1105130
* [skip ci] Updated translations via CrowdinGiteaBot2020-12-212-1/+4
|
* expose translation of previously hardcoded string (#14087)Norwin2020-12-212-1/+2
| | | Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
* [skip ci] Updated translations via CrowdinGiteaBot2020-12-2121-21/+0
|
* Present repository name as {{name}}#{{index}} instead of label on dashboard ↵Cirno the Strongest2020-12-211-4/+5
| | | | | issuelist (#14085) Co-authored-by: Lauris BH <lauris@nix.lv>
* Locale: say another issue instead of this issue (#14082)DuckDuckWhale2020-12-211-1/+1
| | | | | Saying "this issue" is confusing because it could be understood as the issue that the user is currently viewing, not which the "issue" link points to.
* Add repo name label again on dashboard issue / pulls page (#14073)Jimmy Praet2020-12-201-0/+3
| | | | | | The label got removed in PR #13594 Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: techknowlogick <techknowlogick@gitea.io>
* Search and Diff CSS enhancements (#14050)silverwind2020-12-2014-153/+129
| | | | | | | | | | | | | | | | | | | * Search and Diff CSS enhancements - Use flexbox for language stats - Improve labels and code boxes on repo and code search - Use flexbox on diff header and improve suppressed diff text - Add dedicated color for diff expander * more diff tweaks, less vertical padding on header * more minor tweaks * always show fold icon, image diff improvments * remove margin Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: techknowlogick <techknowlogick@gitea.io>
* dep: update crypto. info: ↵techknowlogick2020-12-2035-40/+157
| | | | | https://golangtutorial.dev/news/fix-in-crypto-package/ (#14067) Co-authored-by: zeripath <art27@cantab.net>
* Show dropdown with all statuses for commit (#13977)Cirno the Strongest2020-12-2018-23/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * Show dropdown with all statuses for commit * Use popups * Remove unnecessary change * Style popup * Use divided list * As per @silverwind * Refactor GetLastCommitStatus * Missing dropdown on repo home and commit page * Fix tests * Make status icon be a part of a link on PR list * Fix missing translation call * Indent fix Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: techknowlogick <techknowlogick@gitea.io>
* [skip ci] Updated translations via CrowdinGiteaBot2020-12-201-3/+3
|
* Manually approve new registration (#13083)Jiri Vlasak2020-12-1910-2/+18
| | | | | | | | | | | | | | | | | | | | | | | | * Add register manual confirm settings option The new settings option is used when manually approving new registrations. * Enable manual confirmation of new registered user When manual registration confirmation is desired (by default `false`) create new user in the database that is *not active*. The user must then be activated manually. This change speeds up the process of adding new confirmed users for Gitea instances without external auth mechanism. (Currently the option is to manually create new user by admin.) * Update docs/content/doc/advanced/config-cheat-sheet.zh-cn.md Co-authored-by: a1012112796 <1012112796@qq.com> Co-authored-by: 6543 <6543@obermui.de> Co-authored-by: a1012112796 <1012112796@qq.com> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
* Fix feed push tag (#14064)Lunny Xiao2020-12-202-3/+8
| | | | | | | | | * Fix dashboard feed bug when push tag * Fix variable name * Fix delete tag Co-authored-by: 6543 <6543@obermui.de>
* [skip ci] Updated translations via CrowdinGiteaBot2020-12-191-0/+1
|
* Refactor get tag to remove unnecessary steps (#14058)Lunny Xiao2020-12-201-33/+19
| | | * Fix tag cache bug
* Fix merge button dropdown triangle alignment (#14041)silverwind2020-12-182-1/+5
| | | | | | | | | https://github.com/go-gitea/gitea/pull/14028 had improved dropdown triangle display for buttons with text but had regressed it for buttons without. Fix this by adding a class to prevent horizontal margin adjustment. Co-authored-by: Lauris BH <lauris@nix.lv> Co-authored-by: techknowlogick <techknowlogick@gitea.io> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
* put ${CURDIR} in quotes to prevent make from splitting paths with spaces ↵Kyle D2020-12-181-21/+21
| | | | into separate strings (#14056)
* gitea png to logo (#13974)Kyle D2020-12-1820-25/+52
| | | | | | | | | | | * gitea png to logo.svg * gitea safari svg to logo * minify svgs * Update english docs * Update missing section on customizing logo
* Commit list display tweaks (#14043)silverwind2020-12-182-36/+14
| | | | | | | | | | - Make plain <pre> inherit our monospace fonts, overriding fomantic's css reset which means expanded commit messages now follow the font settings. - Adjust link styling and keyword highlighting in commit message - Consolidate .commit-summary styles to single selector group Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: techknowlogick <techknowlogick@gitea.io>
* Accept multiple SSH keys in single LDAP SSHPublicKey attribute (#13989)zeripath2020-12-183-9/+91
| | | | | | | | * Accept multiple SSH keys in single LDAP SSHPublicKey attribute Fix #13984 Signed-off-by: Andrew Thornton <art27@cantab.net>
* Show status check for merged PRs (#13975)Cirno the Strongest2020-12-183-28/+41
| | | | | | | | | | | * Show status check for merged PRs * Handle PRs with no commits * Styling Co-authored-by: Lauris BH <lauris@nix.lv> Co-authored-by: techknowlogick <techknowlogick@gitea.io> Co-authored-by: 6543 <6543@obermui.de>