summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Display specific message if diff is not displayed because of too long line ↵Loutro2021-05-043-16/+27
| | | | | | | | | | | | | | | | (#15611) * 7184- message if line too long * Update options/locale/locale_en-US.ini Co-authored-by: silverwind <me@silverwind.io> * add flag on missing cases Signed-off-by: Andrew Thornton <art27@cantab.net> Co-authored-by: silverwind <me@silverwind.io> Co-authored-by: Andrew Thornton <art27@cantab.net>
* Only log Error on getLastCommitStatus error to let pull list still be ↵65432021-05-041-1/+2
| | | | visible (#15716)
* [skip ci] Updated translations via CrowdinGiteaBot2021-05-043-0/+6
|
* Add compare tag dropdown to releases page (#15695)Jonathan Tran2021-05-038-36/+78
| | | | | | | | | | * Add compare tag dropdown to releases page * Change defaults to be more intuitive and remove unneeded option * Fix to select branch on releases page Co-authored-by: Jonathan Tran <jon@allspice.io> Co-authored-by: Kyle D <kdumontnu@gmail.com>
* Fix setting redis db path (#15698)zeripath2021-05-031-3/+3
| | | | | | | | There is a bug setting the redis db in the common nosql manager whereby the db path always fails. This PR fixes this. Signed-off-by: Andrew Thornton <art27@cantab.net>
* Prevent race in TestChannelQueue_Batch (#15703)zeripath2021-05-031-3/+3
| | | | | | | | There is a potential race in TestChannelQueue_Batch due to boost workers starting up This PR simply removes the boosts from this test. Signed-off-by: Andrew Thornton <art27@cantab.net>
* Improve Light Chroma style (#15699)mlpo2021-05-021-13/+13
| | | | | | | | * Improve Light Chroma style * Light Chroma style: avoid close colors Co-authored-by: 6543 <6543@obermui.de> Co-authored-by: techknowlogick <techknowlogick@gitea.io>
* [skip ci] Updated translations via CrowdinGiteaBot2021-05-031-0/+6
|
* Addition to (Add Location, Website and Description to API #15675) (#15690)KN4CK3R2021-05-025-14/+22
| | | | | | | | | * Use same name as other structs. * Sync with normal forms. * Edit description with API. * Workaround for nil value.
* Only use boost workers for leveldb shadow queues (#15696)zeripath2021-05-023-10/+48
| | | | | | | | | | | * The leveldb shadow queue of a persistable channel queue should always start with 0 workers and just use boost to add additional workers if necessary. * create a zero boost so that if there are no workers in a pool - boost to start the workers * actually set timeout appropriately on boosted workers Signed-off-by: Andrew Thornton <art27@cantab.net>
* Fix DB session cleanup (#15697)zeripath2021-05-011-1/+1
| | | | | | | The DB session clean up needs to check expiry not created_unix. Signed-off-by: Andrew Thornton <art27@cantab.net> Co-authored-by: 6543 <6543@obermui.de>
* Performance improvement for last commit cache and show-ref (#15455)zeripath2021-05-023-5/+30
| | | | | | | * Improve performance when there are multiple commits in the last commit cache * read refs directly if we can Signed-off-by: Andrew Thornton <art27@cantab.net>
* Move tooltip down to allow selection of Remove File on error (#15672)Kyle D2021-05-011-1/+1
|
* Markdown CSS tweaks (#15572)silverwind2021-05-011-24/+34
| | | | | | Update Markdown CSS to more closely match GH rendering. Changes include better nested list margins and tweaked font sizes. Co-authored-by: Lauris BH <lauris@nix.lv>
* add cron job to delete old actions from database (#15688)a10121127962021-05-015-0/+42
| | | | | that's a way to save database storage space. Signed-off-by: a1012112796 <1012112796@qq.com>
* Unify integration test configs. (#15650)KN4CK3R2021-05-015-33/+49
|
* Add Location, Website and Biography to API (#15675)KN4CK3R2021-05-013-7/+31
|
* [skip ci] Updated translations via CrowdinGiteaBot2021-05-012-1/+38
|
* Fixed several activation bugs (#15473)KN4CK3R2021-04-303-17/+47
| | | | | | | | | | | * Removed unneeded form tag. * Fixed typo. * Fixed NPE. * Use better error page. * Splitted GET and POST.
* Delete references if repository gets deleted (#15681)KN4CK3R2021-04-302-26/+61
| | | | | | | * Remove DeletedBranch and LFSLocks. * Sort beans. Co-authored-by: zeripath <art27@cantab.net>
* Fix orphaned objects deletion bug (#15657)Lunny Xiao2021-04-302-3/+39
| | | | | | | * Fix orphaned objects deletion bug * extend test Co-authored-by: 6543 <6543@obermui.de>
* Unified link creation. (#15619)KN4CK3R2021-04-3011-24/+27
|
* Added missing prefix on install route. (#15677)KN4CK3R2021-04-301-0/+1
| | | Co-authored-by: techknowlogick <techknowlogick@gitea.io>
* Docs: fix location for custom/options/license (#15671)yearski2021-04-301-1/+1
|
* Docs: renderers rst: rst2html.py -> pandoc (#15659)65432021-04-301-1/+1
|
* Delete protected branch if repository gets removed (#15658)KN4CK3R2021-04-302-8/+27
| | | | | | | * Added missing error parameters. * Delete protected branch if repository gets removed. * Added doctor fix.
* Remove random password in Dockerfiles (#15362)Martin Michaelis2021-04-292-3/+2
| | | | | * Remove random password of git user in dockerfile * Disable git user account in rootless dockerfile
* fix(settings): misaligned buttons (#15656)Garrit Franke2021-04-291-2/+2
| | | Co-authored-by: 6543 <6543@obermui.de>
* Fix readme render bug (#15649)Lunny Xiao2021-04-281-0/+1
|
* Remove spurious set name from eventsource.sharedworker.js (#15643)zeripath2021-04-281-2/+0
| | | | | | | Fix #15617 Signed-off-by: Andrew Thornton <art27@cantab.net> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
* add `/assets` as root dir of public files (#15219)a10121127962021-04-2812-26/+29
| | | | | | | | | | | | | | | | | | | | | | | | | * add `/assets` as root dir of public files Signed-off-by: a1012112796 <1012112796@qq.com> * move serviceworker.js * make fmt * fix some link * fix test * Apply suggestions from code review Co-authored-by: silverwind <me@silverwind.io> * Apply suggestions from code review Co-authored-by: silverwind <me@silverwind.io> Co-authored-by: silverwind <me@silverwind.io> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: zeripath <art27@cantab.net>
* Remove x-ua-compatible header (#15640)silverwind2021-04-281-1/+0
| | | | The header is deprecated since IE 11 so it only serves to support IE 10 and below which are browsers which are long unsupported now.
* not update updated uinx for `git gc` (#15637)a10121127962021-04-281-1/+1
| | | | | fix #15634 Signed-off-by: a1012112796 <1012112796@qq.com>
* [skip ci] Updated translations via CrowdinGiteaBot2021-04-271-0/+48
|
* Fix commit graph author link (#15627)zeripath2021-04-261-1/+1
| | | | | The author link on the commit graph is incorrect and isn't providing a link to the author. Signed-off-by: Andrew Thornton <art27@cantab.net>
* fix webhook timeout bug (#15613)Lunny Xiao2021-04-252-10/+7
| | | * Also fix the potential problem in httplib
* Update config-cheat-sheet.en-us.md (#15606)Dong Nguyen2021-04-241-1/+1
| | | Add more guide about `PROVIDER_CONFIG` when `PROVIDER` is `db` (https://github.com/go-gitea/gitea/issues/14016)
* Update JS dependencies (#15591)silverwind2021-04-2417-3989/+16249
| | | | | | | | | | | | | * Update JS dependencies - Update all JS dependencies - Regenerate SVGs - Remove unused postcss dependency - Remove removed webpack option * re-add postcss Co-authored-by: 6543 <6543@obermui.de> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
* Resolve panic on failed interface conversion in migration v156 (#15604)techknowlogick2021-04-241-1/+1
| | | | | go panics otherwise with `panic: interface conversion: error is git.ErrNotExist, not *git.ErrNotExist`, thanks to Codeberg/Andi for reporting this. Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
* Attachment support repository route (#15580)Lunny Xiao2021-04-231-0/+1
|
* Fix go-fuzz (#15596)65432021-04-231-6/+18
| | | | | | | | | * Fix go-fuzz followup of https://github.com/go-gitea/gitea/pull/15175 * simplify * enhance
* [skip ci] Updated translations via CrowdinGiteaBot2021-04-231-0/+13
|
* [Vendor] Update directly used dependencys (#15593)65432021-04-22558-24439/+31850
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * update github.com/blevesearch/bleve v2.0.2 -> v2.0.3 * github.com/denisenkom/go-mssqldb v0.9.0 -> v0.10.0 * github.com/editorconfig/editorconfig-core-go v2.4.1 -> v2.4.2 * github.com/go-chi/cors v1.1.1 -> v1.2.0 * github.com/go-git/go-billy v5.0.0 -> v5.1.0 * github.com/go-git/go-git v5.2.0 -> v5.3.0 * github.com/go-ldap/ldap v3.2.4 -> v3.3.0 * github.com/go-redis/redis v8.6.0 -> v8.8.2 * github.com/go-sql-driver/mysql v1.5.0 -> v1.6.0 * github.com/go-swagger/go-swagger v0.26.1 -> v0.27.0 * github.com/lib/pq v1.9.0 -> v1.10.1 * github.com/mattn/go-sqlite3 v1.14.6 -> v1.14.7 * github.com/go-testfixtures/testfixtures v3.5.0 -> v3.6.0 * github.com/issue9/identicon v1.0.1 -> v1.2.0 * github.com/klauspost/compress v1.11.8 -> v1.12.1 * github.com/mgechev/revive v1.0.3 -> v1.0.6 * github.com/microcosm-cc/bluemonday v1.0.7 -> v1.0.8 * github.com/niklasfasching/go-org v1.4.0 -> v1.5.0 * github.com/olivere/elastic v7.0.22 -> v7.0.24 * github.com/pelletier/go-toml v1.8.1 -> v1.9.0 * github.com/prometheus/client_golang v1.9.0 -> v1.10.0 * github.com/xanzy/go-gitlab v0.44.0 -> v0.48.0 * github.com/yuin/goldmark v1.3.3 -> v1.3.5 * github.com/6543/go-version v1.2.4 -> v1.3.1 * do github.com/lib/pq v1.10.0 -> v1.10.1 again ...
* Raw file view tweaks (#15520)silverwind2021-04-225-13/+27
| | | | | | | | | | | - Limit SVG images to 600px width - Adjust size of view toggle buttons to match other buttons - Make Edit/Delete buttons easier to click Had to create a separate CSS file because the less parser can not parse CSS4 case-insensitive attribute selectors which are widely supported by browsers. Fixes: https://github.com/go-gitea/gitea/issues/15515
* [Vendor] update certmagic (#15590)65432021-04-22177-1979/+4720
| | | | | * update github.com/caddyserver/certmagic v0.12.0 -> v0.13.0 * migrate
* Fix missing storage init (#15589)Lunny Xiao2021-04-221-0/+5
|
* If the default branch is not present do not report error on stats indexing ↵zeripath2021-04-221-1/+1
| | | | | | | | | | | | (follow-up of #15546) (#15583) #15546 doesn't completely fix this problem because the error returned is an ObjectNotExist error not a BranchNotExist error. Add test for ErrObjectNotExist too Fix #15257 Signed-off-by: Andrew Thornton <art27@cantab.net>
* Fix docker enviroment variable from TYPE to DB_TYPE (#15585)Björn Heinrichs2021-04-222-4/+4
| | | As documented in https://docs.gitea.io/en-us/config-cheat-sheet/ the database type is defined using db_type not type.
* Bump unrolled/render to v1.1.0 (#15581)Nathan Smith2021-04-2210-32/+97
| | | v1.1.0 has improved buffer pooling
* If the default branch is not present do not report error on stats indexing ↵zeripath2021-04-221-1/+5
| | | | | | | | | | | | | | | (#15546) * If the default branch is not present do not report error on stats indexing Fix #15257 Signed-off-by: Andrew Thornton <art27@cantab.net> * as per lunny Signed-off-by: Andrew Thornton <art27@cantab.net> Co-authored-by: techknowlogick <techknowlogick@gitea.io>