summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix comments webhook panic (#12046)Cornel2020-06-248-9/+39
| | | | | | | * Fix webhook comment handling type cast panic * Handle HookIssueReviewed action in webhook Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
* Update Goldmark v1.1.25 -> v1.1.32 (#12048)65432020-06-2510-26/+85
|
* [UI] Sortable Tables Header By Click (#7980)65432020-06-2410-18/+106
| | | | | | | | | | | | | | | | | | | | | | | | | | | * [UI] Sortable Tables Header By Click * get rid of padding above header * restart CI * fix lint * convert getArrow JS to SortArrow go func * addopt SortArrow funct * suggestions from @silverwind - tablesort.js Co-authored-by: silverwind <me@silverwind.io> * Update web_src/js/features/tablesort.js Co-authored-by: silverwind <me@silverwind.io> * Update web_src/js/features/tablesort.js Co-authored-by: silverwind <me@silverwind.io> Co-authored-by: silverwind <me@silverwind.io>
* fix bug about can't skip commits base on base branch (#11555)赵智超2020-06-242-11/+97
| | | | | | | | | | | | | | | | | * fix bug about can't skip commits base on base branch Signed-off-by: a1012112796 <1012112796@qq.com> * Update modules/git/commit.go Co-authored-by: Lauris BH <lauris@nix.lv> * Update models/issue_comment.go Co-authored-by: Lauris BH <lauris@nix.lv> * fix lint Co-authored-by: Lauris BH <lauris@nix.lv>
* Don't use -webkit-font-smoothing (#12029)mrsdizzie2020-06-241-1/+0
| | | | | | | Don't change font smoothing via CSS. Linked issue has more details, but this seems fowned upon in general and a was also removed from standards track. Hopefully this will be a part of reverting to a native font stack for Gitea. Fixes #11931 Co-authored-by: techknowlogick <techknowlogick@gitea.io>
* [skip ci] Updated translations via CrowdinGiteaBot2020-06-2426-0/+33
|
* Disable dropzone's timeout (#12024)silverwind2020-06-241-0/+2
| | | | | | | | | | | | Dropzone 4.4 introduced a 30s XHR timeout that will kill any upload still in progress. This disable that timeout again. Ref: https://www.dropzonejs.com/#config-timeout Ref: https://github.com/go-gitea/gitea/pull/10645 Ref: https://xhr.spec.whatwg.org/#the-timeout-attribute Fixes: https://github.com/go-gitea/gitea/issues/12022 Fixes: https://github.com/go-gitea/gitea/issues/11906 Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
* Use label to describe repository type (#11891)Cirno the Strongest2020-06-223-9/+44
| | | | | | | | | | | | | | | | | | | * Use label instead of icon to describe repository type when repo avatar is set * header_icon is not longer duplicated; move out of separate template * handle archived case too * use everywhere * public template -> template * bring back separate icon in better form * definitely was overthinking this * 32 Co-authored-by: techknowlogick <techknowlogick@gitea.io>
* Fix sticky diff stats container (#12002)Cirno the Strongest2020-06-225-8/+18
| | | | | | | | | | | | | * Fix sticky diff stats container * Use pure CSS sticky instead of Fomantic's JS * add border color to arc-green * add slight padding on sides * make linter happy Co-authored-by: techknowlogick <techknowlogick@gitea.io>
* API: Move AllowedReactions endpoint into GetGenneralUI endpoint + creat new ↵65432020-06-227-33/+73
| | | | | | | | | | | | | swagger section settings (#11854) * move Setting function into its own package * swagger add&use new section "settings" * move api AllowedReactions into general UI-Settings endpoint * prepare TEST * lint
* Make tabs smaller (#12003)silverwind2020-06-223-26/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Make tabs smaller Fomantic's tabs are excessively wide and with another tab added on the repo tabbar (https://github.com/go-gitea/gitea/pull/8346) it would break the layout on the english language. Globally reduce tab bar padding to around half of the previous values. * disable no-duplicate-selectors linter rule * more tab bar tweaks * more tweaks * merge rules and nesting * remove arc-green weird hover color * few more arc-green tweaks * restore to 12px * tweaks * use half width height padding * final tweak * 10px * remove min-height * 11px * remve new-menu background on light theme too * background fixes for new-menu Co-authored-by: Lauris BH <lauris@nix.lv> Co-authored-by: techknowlogick <techknowlogick@gitea.io>
* Fix typo (#12013)successgo2020-06-222-2/+2
| | | | | | | | | | | * Fix typo of MSSQL * Fix typo: validates * Fix typo * fix comment with space Co-authored-by: techknowlogick <techknowlogick@gitea.io>
* Changelog for v1.11.8 and v1.12.1 (#12006) (#12007)Lauris BH2020-06-222-1/+15
| | | | | * Changelog for v1.12.1 (#12006) * Update gitea version to latest release
* Fix missing styling for dropdown icon on review button (#11998)Cirno the Strongest2020-06-222-1/+7
| | | | | | | | * Fix missing styling for dropdown icon on review button * Remove unnecessary span element Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: Lauris BH <lauris@nix.lv>
* Use octicons for all repo header buttons (#11890)Cirno the Strongest2020-06-222-5/+6
| | | | | | | | * Use octicons for all repo header buttons * ensure margin isn't set on any other svg outside repo buttons Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: Lauris BH <lauris@nix.lv>
* Adds a TODOs Badge to the README (#11999)Patrick DeVivo2020-06-221-0/+1
| | | | | Closes #11210 Co-authored-by: Lauris BH <lauris@nix.lv>
* Add pagination headers on endpoints that support total count from database ↵Cirno the Strongest2020-06-219-14/+51
| | | | | | | | | | | | | (#11145) * begin work * import fmt * more work * empty commit Co-authored-by: Lauris BH <lauris@nix.lv>
* Handle multiple merges in gitgraph.js (#11996)zeripath2020-06-202-40/+39
| | | | | | | | | | | | | * Handle multiple merges in gitgraph.js There is a bug in web_src/js/vendor/gitgraph.js whereby it fails to handle multiple merges in a single commit correctly. This PR adds changes to make this work. Fix #11981 Signed-off-by: Andrew Thornton <art27@cantab.net> * Update web_src/js/vendor/gitgraph.js
* Add public/img/svg to WEBPACK_DEST_ENTRIES (#11993)silverwind2020-06-201-1/+1
| | | | | | Webpack outputs to this directory so it should be removed during cleanup. No backport needed. Co-authored-by: zeripath <art27@cantab.net>
* Add serviceworker.js to KnownPublicEntries (#11992)silverwind2020-06-202-10/+8
| | | | | | | Fixes a wrong 302 redirect to the login page, see https://github.com/go-gitea/gitea/issues/11989. Also made it so the reserved username list is extended with those known entries so we avoid code duplication. Should be backported to 1.12.
* Use enry language type to detect special languages (#11974)Lauris BH2020-06-191-16/+5
|
* For language detection do not try to analyze big files by content (#11971)Lauris BH2020-06-191-3/+7
|
* Use only first line of commit when creating referenced comment (#11960)Cirno the Strongest2020-06-192-2/+4
| | | | | | | | | | * Use only first line of commit when creating referenced comment * Update modules/repofiles/action.go * Display first line only on feeds too Co-authored-by: techknowlogick <techknowlogick@gitea.io> Co-authored-by: zeripath <art27@cantab.net>
* 1.12.0 is latest stable version (#11964)techknowlogick2020-06-181-1/+1
|
* Update docs to specify utf8mb4 default (#11962)silverwind2020-06-183-4/+4
| | | | | | Install tool already sets it as the default so we can just update example ini and docs to it. Fixes: https://github.com/go-gitea/gitea/issues/11081
* Fix scrollable header on dropdowns (#11893)Cirno the Strongest2020-06-181-1/+1
| | | | | Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: techknowlogick <techknowlogick@gitea.io> Co-authored-by: Lauris BH <lauris@nix.lv>
* Changelog v1.12.0 (#11927) (#11957)65432020-06-181-0/+345
|
* Changelog v1.11.7 (#11953) (#11956)65432020-06-181-0/+9
| | | | | * Changelog v1.11.7 * Update CHANGELOG.md
* recommend bindata for building (#11938)techknowlogick2020-06-181-2/+4
| | | Co-authored-by: John Olheiser <john.olheiser@gmail.com>
* Fix commenting on non-utf8 encoded files (#11916)zeripath2020-06-186-4/+41
| | | | | | | | | * Add comment on non-unicode line to force fail Signed-off-by: Andrew Thornton <art27@cantab.net> * Just quote/unquote patch Signed-off-by: Andrew Thornton <art27@cantab.net>
* Use google/uuid to instead satori/go.uuid (#11943)Lunny Xiao2020-06-1838-817/+967
| | | Co-authored-by: Lauris BH <lauris@nix.lv>
* Rename custom/conf/app.ini.sample to custom/conf/app.example.ini for better ↵Lunny Xiao2020-06-179-9/+9
| | | | | | | | | | | syntax light on editor (#11926) * Rename custom/conf/app.ini.sample to custom/conf/app.sample.ini for better syntax light on editor * rename to app.example.ini * per @6543 's comment, update all references on docs Co-authored-by: techknowlogick <techknowlogick@gitea.io>
* Update Fomantic-UI to 2.8.6 and remove old workarounds (#11933)Cirno the Strongest2020-06-176-35/+14
| | | | Co-authored-by: zeripath <art27@cantab.net> Co-authored-by: techknowlogick <techknowlogick@gitea.io>
* Align show/hide outdated button on code review block (#11932)Cirno the Strongest2020-06-171-0/+6
| | | | Co-authored-by: Lauris BH <lauris@nix.lv> Co-authored-by: techknowlogick <techknowlogick@gitea.io>
* Update to go-git v5.1.0 (#11936)zeripath2020-06-1776-555/+3133
| | | | | Signed-off-by: Andrew Thornton <art27@cantab.net> Co-authored-by: techknowlogick <techknowlogick@gitea.io>
* Global default branch setting (#11918)techknowlogick2020-06-177-3/+11
| | | | | | | | | * Global default branch setting * add to app.ini example per @silverwind * update per @lunny Co-authored-by: John Olheiser <john.olheiser@gmail.com>
* upgrade to use testfixtures v3 (#11904)techknowlogick2020-06-1797-5463/+8813
| | | | | | | | | | | | | | | * upgrade to use testfixtures v3 * simplify logic * make vendor * update per @lunny * Update templates/repo/empty.tmpl * Update templates/repo/empty.tmpl Co-authored-by: Lauris BH <lauris@nix.lv>
* Use ID or Where to instead directly use Get when load object from database ↵Lunny Xiao2020-06-179-28/+25
| | | | | | | | | | | | (#11925) * Use ID or Where to instead directly use Get when load object from database * Apply suggestions from code review Co-authored-by: 6543 <6543@obermui.de> Co-authored-by: 6543 <6543@obermui.de> Co-authored-by: zeripath <art27@cantab.net>
* Fix double divider on issue sidebar (#11919)Cirno the Strongest2020-06-171-3/+1
|
* Update CommitsAhead CommitsBehind on Pull BaseBranch Change too (#11912)65432020-06-161-1/+10
|
* UI: Fix wrong closing tag (#11910)65432020-06-161-1/+1
| | | | | | | | | * rm wrong closing tag * Update templates/repo/sub_menu.tmpl Co-authored-by: John Olheiser <john.olheiser@gmail.com> Co-authored-by: John Olheiser <john.olheiser@gmail.com>
* pq -> v1.7.0 (#11905)techknowlogick2020-06-1618-120/+310
| | | Co-authored-by: Lauris BH <lauris@nix.lv>
* Make repository size unclickable on repo summary bar (#11887)Cirno the Strongest2020-06-151-1/+1
| | | Co-authored-by: techknowlogick <techknowlogick@gitea.io>
* Upgrade xorm to v1.0.2 (#11900)Lunny Xiao2020-06-1543-763/+817
| | | Co-authored-by: techknowlogick <techknowlogick@gitea.io>
* Fix alignment for show/hide outdated link on resolved conversation (#11881)Cirno the Strongest2020-06-151-0/+5
| | | | Co-authored-by: Lauris BH <lauris@nix.lv> Co-authored-by: techknowlogick <techknowlogick@gitea.io>
* Rework blame template and styling (#11885)Cirno the Strongest2020-06-155-73/+54
| | | | | | | * Rework blame template and styling * cleanup template and add missing NumLines Co-authored-by: techknowlogick <techknowlogick@gitea.io>
* [skip ci] Updated translations via CrowdinGiteaBot2020-06-151-0/+10
|
* Vertically align review icons on repository sidebar (#11880)Cirno the Strongest2020-06-151-0/+4
| | | | | | | | | | | * Vertically align review icons on repository sidebar * Update web_src/less/_repository.less Co-authored-by: silverwind <me@silverwind.io> Co-authored-by: silverwind <me@silverwind.io> Co-authored-by: Lauris BH <lauris@nix.lv> Co-authored-by: techknowlogick <techknowlogick@gitea.io>
* Better align items using flex within review request box (#11879)Cirno the Strongest2020-06-152-48/+60
| | | | | | | | * Better align items using flex within review request box * use justify-content Co-authored-by: Lauris BH <lauris@nix.lv> Co-authored-by: techknowlogick <techknowlogick@gitea.io>
* [skip ci] Updated translations via CrowdinGiteaBot2020-06-141-0/+9
|