summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* In authorized_keys use double-quote for windows compatibility (#10841)zeripath2020-03-272-3/+5
| | | Co-authored-by: Lauris BH <lauris@nix.lv>
* Fix internal server error on checkboxes (#10845)zeripath2020-03-261-1/+1
| | | | | | | Annoyingly goldmarks SetAttributeString requires that the value of the attribute is still a []byte but does not make it clear in the documentation. Signed-off-by: Andrew Thornton <art27@cantab.net>
* Allow to set protected file patterns that can not be changed under no ↵Lauris BH2020-03-2715-23/+202
| | | | | conditions (#10806) Co-Authored-By: zeripath <art27@cantab.net>
* Option to set default branch at repository creation (#10803)zeripath2020-03-2610-33/+57
| | | | | | | | | | * Option to set default branch at repository creation * Handle template repos with non-default master branch * Add DefaultBranch handling on creation to API Fix #9542 Signed-off-by: Andrew Thornton <art27@cantab.net>
* Fix repo summary height (#10825)silverwind2020-03-251-3/+6
| | | | | | | | Extracted the style that keeps the animation of the language bar in check. Fixes: https://github.com/go-gitea/gitea/issues/10754 Co-authored-by: Lauris BH <lauris@nix.lv>
* Simplify grep regexp to be more compatible (#10765)Stefan Bethke2020-03-261-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | * Simplify grep regexp to be more compatible The new expression also works with the BSD implementation of grep. Also, I believe the expression did not work consistently for all possible version numers, for example a two digit patch version would not have been matched. * Fix quote * Allow for two and three part version numbers * Select one, two and three part version numbers, reject amd64 * Also allow one to three parts for node version * Use JS code to print node verion in correct format * Avoid grep altogether * Handle go1.14beta1 as well. Co-authored-by: Antoine GIRARD <sapk@users.noreply.github.com>
* Fix milestone template (#10824)John Olheiser2020-03-251-1/+1
| | | Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Upgrade xorm to v1.0.1 and fix start fail with potgres (#10819)Lunny Xiao2020-03-2525-149/+226
| | | | | | | * upgrade xorm to v1.0.1 * fix start fail with postgres Co-authored-by: zeripath <art27@cantab.net>
* [skip ci] Updated translations via CrowdinGiteaBot2020-03-251-14/+14
|
* Fix tab indentation in code view (#10671)Alexander Scheel2020-03-251-5/+2
| | | | | | | Resolves: #5596 Signed-off-by: Alexander Scheel <alexander.m.scheel@gmail.com> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
* log.Fatal on failure to listen to SSH port (#10795)zeripath2020-03-231-1/+6
| | | Fix #10792
* Completely fix task-list checkbox styling (#10798)zeripath2020-03-221-0/+6
| | | Continuing on from #10668 this PR makes goldmark apply the task-list styling to task-lists.
* Upgrade xorm to v1.0.0 (#10646)Lunny Xiao2020-03-22154-5942/+7175
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Upgrade xorm to v1.0.0 * small nit * Fix tests * Update xorm * Update xorm * fix go.sum * fix test * Fix bug when dump * Fix bug * update xorm to latest * Fix migration test * update xorm to latest * Fix import order * Use xorm tag
* Fix branch api canPush and canMerge (#10776)Lunny Xiao2020-03-203-25/+45
| | | Co-authored-by: techknowlogick <techknowlogick@gitea.io>
* account for empty lines in receive-hook message (#10773)zeripath2020-03-201-1/+1
| | | | Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: John Olheiser <john.olheiser@gmail.com>
* go 1.14 (#10467)techknowlogick2020-03-2012-34/+177
|
* Add nowrap to language bar items (#10755)Lauris BH2020-03-201-0/+4
|
* Update Gitea version in docs (#10772)John Olheiser2020-03-191-1/+1
|
* Fix bug on branch API (#10767)Lunny Xiao2020-03-191-3/+7
|
* Move JS build dependencies to 'dependencies' (#10763)silverwind2020-03-192-2422/+1892
| | | | | | | | | | | | | | - move all JS build dependencies to 'dependencies' - update all JS dependencies Reason for this is that npm will only install 'dependencies' when under the effect of NODE_ENV=production which may be present on some build systems. Linters currently need to be depdendencies because we run linting as part of the build step, but I plan to move them to a separate 'lint' target which means they can move to devDependencies then. Fixes: https://github.com/go-gitea/gitea/pull/10761
* doc(authentication.en-us): remove superflous line (#10758)Simon Legner2020-03-181-4/+0
|
* disable webpack's size warnings (#10746)silverwind2020-03-171-8/+1
| | | Co-authored-by: techknowlogick <techknowlogick@gitea.io>
* move jquery-datetimepicker to npm/webpack (#10713)silverwind2020-03-1714-2665/+70
| | | | | | | | | - update to latest version and move to npm - adapt for api changes and css class rename - add specificity to arc-green rules as dependency css now loads later - use imports-loader to make it load correctly - fix some wrong paths in librejs Co-authored-by: techknowlogick <techknowlogick@gitea.io>
* Migrate to go-git/go-git v5.0.0 (#10735)Lauris BH2020-03-17315-92419/+15238
|
* hide gear icon for user who can't use them on sidebar (#10750)赵智超2020-03-171-3/+9
| | | | | | | | | reason: If user can't choose the Assignees labels and Milestone It's not usefull to show a gear label , and it It will mislead the user into thinking that it's a BUG rather than thy don't have permission to chosse them. Signed-off-by: a1012112796 <1012112796@qq.com>
* FIx hiding of fields in authorization source page (#10734)Lauris BH2020-03-171-13/+6
|
* Change PACKAGES to GO_PACKAGES for FreeBSD compatibility (#10747)guillep2k2020-03-171-8/+8
| | | Co-authored-by: Guillermo Prandi <guillep2k@users.noreply.github.com>
* Prevent default for linkAction (#10742)John Olheiser2020-03-161-1/+2
| | | Signed-off-by: jolheiser <john.olheiser@gmail.com>
* misc: change the "taskName" to "label" in vscode tasks.json (#10739)赵智超2020-03-161-2/+2
| | | | | | because of vscode suggest ref ISSUE: Microsoft/vscode-docs#1181 Signed-off-by: a1012112796 <1012112796@qq.com>
* Fix queue log param (#10733)Lunny Xiao2020-03-161-3/+3
|
* Update JS dependencies (#10726)silverwind2020-03-142-907/+473
| | | | | Result of `make npm-update`. Only notable change is that `updates` now requires Node 10 and has been changed to a bundle, so its dependencies are now no longer installed.
* Bump acorn from 6.4.0 to 6.4.1 (#10724)dependabot[bot]2020-03-131-6/+6
| | | | | | | | | Bumps [acorn](https://github.com/acornjs/acorn) from 6.4.0 to 6.4.1. - [Release notes](https://github.com/acornjs/acorn/releases) - [Commits](https://github.com/acornjs/acorn/compare/6.4.0...6.4.1) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Update border-color of language bar icon (#10723)Alex2020-03-141-1/+1
| | | | | | | | | | * Update color of border of color-icon * Update web_src/less/_base.less Co-Authored-By: 6543 <6543@obermui.de> Co-authored-by: Lauris BH <lauris@nix.lv> Co-authored-by: 6543 <6543@obermui.de>
* Documentation - updated email setup (#10695)8ctopus2020-03-131-7/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Updated email setup documentation to include sendmail option * Update docs/content/doc/usage/email-setup.en-us.md full path to sendmail Co-Authored-By: mrsdizzie <info@mrsdizzie.com> * Update docs/content/doc/usage/email-setup.en-us.md docker image does not have sendmail Co-Authored-By: Antoine GIRARD <sapk@users.noreply.github.com> * Update docs/content/doc/usage/email-setup.en-us.md Co-Authored-By: Antoine GIRARD <sapk@users.noreply.github.com> * Update docs/content/doc/usage/email-setup.en-us.md Co-Authored-By: James Lakin <jamesorlakin@users.noreply.github.com> * Update docs/content/doc/usage/email-setup.en-us.md Co-Authored-By: James Lakin <jamesorlakin@users.noreply.github.com> Co-authored-by: 8ctopus <hello@octopuslabs.io> Co-authored-by: mrsdizzie <info@mrsdizzie.com> Co-authored-by: zeripath <art27@cantab.net> Co-authored-by: Antoine GIRARD <sapk@users.noreply.github.com> Co-authored-by: James Lakin <jamesorlakin@users.noreply.github.com>
* fix miss spelling (#10721)Success Go2020-03-121-1/+1
|
* Misc JS linting and naming tweaks (#10652)silverwind2020-03-1111-96/+89
| | | | | | | | - lowercase all js filenames except Vue components - enable new lint rules, mostly focused on shorter code - autofix new lint violations - apply misc transformations indexOf -> includes and onevent-> addEventListener Co-authored-by: Antoine GIRARD <sapk@users.noreply.github.com>
* Remove old vendored dropzone from serviceworker (#10703)John Olheiser2020-03-111-2/+0
| | | | | | | * Remove dropzone from serviceworker * Remove CSS as well Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
* Add changelog for v1.11.3 (#10700) (#10708)Lunny Xiao2020-03-111-0/+7
| | | | | | | | | | | * Add changelog for v1.11.3 * Apply suggestions from code review * Update CHANGELOG.md Co-authored-by: John Olheiser <john.olheiser@gmail.com> Co-authored-by: Antoine GIRARD <sapk@users.noreply.github.com> Co-authored-by: Lauris BH <lauris@nix.lv>
* Changelog for v1.10.6 (#10699) (#10710)Lunny Xiao2020-03-111-0/+6
| | | | | | | | | | | | | * Changelog for v1.10.6 * Add warnning * Apply suggestions from code review Co-Authored-By: John Olheiser <john.olheiser@gmail.com> Co-authored-by: John Olheiser <john.olheiser@gmail.com> Co-authored-by: John Olheiser <john.olheiser@gmail.com>
* Use better wording for release pipeline and steps (#10701)Antoine GIRARD2020-03-111-5/+5
|
* cross compile using go 1.13.x (#10684) (#10697)Lunny Xiao2020-03-101-2/+2
| | | Co-authored-by: techknowlogick <techknowlogick@gitea.io>
* [skip ci] Updated translations via CrowdinGiteaBot2020-03-091-0/+4
|
* Multiple LFS improvements (#10667)zeripath2020-03-097-52/+165
| | | | | | | | | | | | | | * Add more logging in the LFS server Adds more logging in the LFS server and stops sending internal server error information to the client * Add LFS Lock cursor implementation * Simplify Claims in LFS and remove the float64 casts Signed-off-by: Andrew Thornton <art27@cantab.net> Co-authored-by: Lauris BH <lauris@nix.lv>
* Fix panic in API pulls when headbranch does not exist (#10676)zeripath2020-03-093-3/+7
| | | | | | * Fix panic in API pulls when headbranch does not exist * refix other reference to plumbing.ErrReferenceNotFound Signed-off-by: Andrew Thornton <art27@cantab.net>
* Remove svg preload (#10654)silverwind2020-03-091-1/+0
| | | | | | | | | | It triggers a warning in the Chrome console about it being unused, so I think preloading of SVG assets may not be supported properly in current browsers. Co-authored-by: Lauris BH <lauris@nix.lv> Co-authored-by: John Olheiser <john.olheiser@gmail.com> Co-authored-by: zeripath <art27@cantab.net> Co-authored-by: guillep2k <18600385+guillep2k@users.noreply.github.com>
* Modernize docs/assets/js/search.js (#10621)v1.12.0-devsilverwind2020-03-082-136/+136
| | | | | | | - reformated file with eslint's --fix - did some minor rule adjustments - removed unneccesary console debug - fixed a typo
* Use whitelist to find go files, run find only once (#10594)silverwind2020-03-081-14/+15
| | | | | | | | | | | | | - Use a whitelist-based approach to find *.go files so we can use standard find syntax. Also included is a change that files no longer pass a leading './' which should help performance further. - Instead of running `find` multiple times in make because of the lazy evaluation, run it only once and add the bindata files when the bindata tag is present This is another huge speedup on my machine of around 2000%. Co-authored-by: guillep2k <18600385+guillep2k@users.noreply.github.com>
* [skip ci] Updated translations via CrowdinGiteaBot2020-03-0825-0/+25
|
* tidy up go.sum (#10677)zeripath2020-03-081-2/+1
| | | | | Results of running `go mod tidy` Signed-off-by: Andrew Thornton <art27@cantab.net>
* System-wide webhooks (#10546)James Lakin2020-03-0910-122/+232
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Create system webhook column (and migration) * Create system webhook DB methods Based on the default webhook ones * Modify router to handle system webhooks and default ones * Remove old unused admin nav template * Adjust orgRepoCtx to differentiate system and default webhook URLs * Assign IsSystemWebhook when creating webhooks * Correctly use booleans for IsSystemWebhook * Use system webhooks when preparing webhooks for payload * Add UI and locale changes * Use router params to differentiate admin hook pages * Fix deleting admin webhooks and rename method * Add clarity to webhook docs * Revert "Remove old unused admin nav template" This reverts commit 191a20a7389fe5f6256b0ad6aafd04b9b0e295c5. * Rename WebHooksNewPost to GiteaHooksNewPost for clarity * Reintroduce blank line lost during merge conflict Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: Lauris BH <lauris@nix.lv>