summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Implement the ability to change the ssh port to match what is in the gitea ↵Christopher Thomas2019-07-062-1/+8
| | | | | | | | | config (#7286) * - rearrange the templates to make it more logical because now ssh_config is a template - implemented the updating of the port to the same as the port sent to the gitea config * change the filename back
* [skip ci] Updated translations via CrowdinGiteaBot2019-07-071-0/+69
|
* switch to use gliderlabs/ssh for builtin server (#7250)techknowlogick2019-07-0641-177/+2121
| | | | | | resolves git conflicts from #3896 (credit to @belak, in case github doesn't keep original author during squash) Co-Authored-By: Matti Ranta <techknowlogick@gitea.io>
* [skip ci] Updated translations via CrowdinGiteaBot2019-07-061-0/+1
|
* 1.9.0-RC1 changelog (#7367)v1.9.0-rc1v1.10.0-devtechknowlogick2019-07-061-0/+318
|
* [skip ci] Updated translations via CrowdinGiteaBot2019-07-061-0/+102
|
* ui - issue view - fix icon position (#7354)Cherrg2019-07-065-67/+115
| | | | | | | | | | | | | | | | | | | | | | | | | * issue view - fix icon position - move style from template to css - add bullets to: key, circle-slash, comment Signed-off-by: Michael Gnehr <michael@gnehr.de> * add border to symbols Signed-off-by: Michael Gnehr <michael@gnehr.de> * fix circle slash position Signed-off-by: Michael Gnehr <michael@gnehr.de> * fix top margin Signed-off-by: Michael Gnehr <michael@gnehr.de> * changed mixed space/tab indent to tabindent only Signed-off-by: Michael Gnehr <michael@gnehr.de>
* ui - cut timeline length with last element on issue view (#7355)Cherrg2019-07-065-7/+31
| | | | | | | | | | | | | | * cut timeline length with last element on issue view fix #7304 - lightly enlight dark theme issue timeline color Signed-off-by: Michael Gnehr <michael@gnehr.de> * remove new container Signed-off-by: Michael Gnehr <michael@gnehr.de>
* Fix typo in PR migration check (#7368)mrsdizzie2019-07-061-1/+1
|
* Fix mirror sync not automatically sending webhook requests (#7366)Drew2019-07-061-0/+5
|
* Make captcha and password optional for external accounts (#6606)AJ ONeal2019-07-067-47/+88
|
* Detect migrating batch size (#7353)Lunny Xiao2019-07-064-17/+73
| | | | | | | | * Make migrating batch size as configurable * detect different table batch insert size and remove config item * remove unrelated changes
* routers: do not leak secrets via timing side channel (#7364)leonklingele2019-07-062-2/+9
| | | | | | * routers: do not leak secrets via timing side channel * routers/repo: do not leak secrets via timing side channel
* routers/user: ensure that decryption of cookie actually suceeds (#7363)leonklingele2019-07-061-2/+2
| | | | | | | | Previously, only the first return value of ctx.GetSuperSecureCookie was used to check whether decryption of the auth cookie succeeded. ctx.GetSuperSecureCookie also returns a second value, a boolean, indicating success or not. That value should be checked first to be on the safe side and not rely on internal logic of the encryption and decryption blackbox.
* workaround broken drone build (#7362)Cherrg2019-07-0670-2478/+3033
| | | | | | | | | | | | | | | | | | | | * workaround broken swagger only master brach is not working, latest release seems to work Signed-off-by: Michael Gnehr <michael@gnehr.de> * make vendor Signed-off-by: Michael Gnehr <michael@gnehr.de> * Don't export GO111MODULE * set go-swagger to fixed release version mentioned here: https://github.com/go-gitea/gitea/pull/7362#discussion_r300831537 Signed-off-by: Michael Gnehr <michael@gnehr.de>
* update contributing to use recent version of drone cli (#7351)techknowlogick2019-07-031-1/+1
| | | fix #7350
* fix api route (#7346)Lunny Xiao2019-07-031-4/+4
|
* update dependencies and various tweaks (#7344)silverwind2019-07-024-262/+172
| | | | | | | | | - ran `make npm-update` - ran `make js`, fixed new lint issue - ran `make css`, this added back some vendor prefixes - added `engines` property to package.json to specify minimum required Node.js version - added `private` property to package.json to prevent accidential publishing to npm
* Display Github support button (#7343)Antoine GIRARD2019-07-021-0/+1
| | | This need an option to be enabled on repo : https://help.github.com/en/articles/displaying-a-sponsor-button-in-your-repository
* Use commit graph files for listing pages (#7314)Filip Navara2019-07-0214-13/+1166
| | | | | | | | | | | | | | | | | | | | | | | | * Experimental support for git commit graph files and bloom filter index Signed-off-by: Filip Navara <filip.navara@gmail.com> * Force vendor of commitgraph Signed-off-by: Filip Navara <filip.navara@gmail.com> * Remove bloom filter experiment and debug prints * Remove old code for building commit graphs * Remove unused function * Remove mmap usage * gofmt * sort vendor/modules.txt * Add copyright header and log commit-graph error
* Fix bug conflict between SyncReleasesWithTags and InsertReleases (#7337)Lunny Xiao2019-07-015-23/+31
| | | | | | | | * fix bug conflict between SyncReleasesWithTags and InsertReleases * fix tests * fix fmt
* make dropTableColumns drop columns on sqlite and constraints on all (#6849)zeripath2019-07-011-2/+90
|
* fix updated drone file (#7336)techknowlogick2019-07-011-6/+11
|
* fix pull view ui merge section (#7335)Lunny Xiao2019-07-012-2/+2
| | | | | | | | * fix pull view ui merge section * fix tests * fix tests
* wrap long texts on user profile info (#7333)Cherrg2019-06-303-2/+8
| | | | | | | fix #7255 discussed in PR #7254 Signed-off-by: Michael Gnehr <michael@gnehr.de>
* #6946 Run hooks on merge/edit and cope with protected branches (#6961)zeripath2019-07-018-13/+54
| | | | | | | | | | | | | | | | | | * Fix #6946 by checking PullRequest ID on pushing * Ensure we have the owner name, the pr attributes and the the issue * Fix TestSearchRepo by waiting till indexing is done * Update integrations/repo_search_test.go * changes as per @mrsdizzie * missing comma * Spelling mistake * Fix full pushing environment
* chore: update drone format to 1.0 (#6602)Bo-Yi Wu2019-06-301-330/+534
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * chore: update drone format to 1.0 * Converted old drone config Signed-off-by: konrad <konrad@kola-entertainments.de> * Moved translations to seperate pipeline Signed-off-by: konrad <konrad@kola-entertainments.de> * Split the steps in multiple pipelines and add dependencies Signed-off-by: konrad <konrad@kola-entertainments.de> * format Signed-off-by: konrad <konrad@kola-entertainments.de> * Fixed step depenednecies Signed-off-by: konrad <konrad@kola-entertainments.de> * Fixed discord notify Signed-off-by: konrad <konrad@kola-entertainments.de> * Exclude translations and docs pipelines from prs Signed-off-by: konrad <konrad@kola-entertainments.de> * Fixed exclude prs Signed-off-by: konrad <konrad@kola-entertainments.de> * Fixed exclude prs Signed-off-by: konrad <konrad@kola-entertainments.de> * Moved releases to seperate pipeline Signed-off-by: konrad <konrad@kola-entertainments.de> * Re-trigger drone Signed-off-by: konrad <konrad@kola-entertainments.de> * Disable release step Signed-off-by: konrad <konrad@kola-entertainments.de> * Fixed depending step Signed-off-by: konrad <konrad@kola-entertainments.de> * Adopted dependencies Signed-off-by: konrad <konrad@kola-entertainments.de> * Changed pipeline conditions Signed-off-by: konrad <konrad@kola-entertainments.de> * Replaced pipeline conditions with triggers Signed-off-by: konrad <konrad@kola-entertainments.de> * Fixed coverage step Signed-off-by: konrad <konrad@kola-entertainments.de> * Import changes from #7331 Signed-off-by: konrad <konrad@kola-entertainments.de> * Add comment for lowest go version Signed-off-by: konrad <konrad@kola-entertainments.de> * Exclude fetch-tags from prs Signed-off-by: konrad <konrad@kola-entertainments.de> * Re-added comment about no tags Signed-off-by: konrad <konrad@kola-entertainments.de> * Removed unneeded conditions Signed-off-by: konrad <konrad@kola-entertainments.de> * Moved release version and release latest to different pipelines Signed-off-by: konrad <konrad@kola-entertainments.de> * Fixed depending pipeline Signed-off-by: konrad <konrad@kola-entertainments.de> * Removed the conditions for all services Signed-off-by: konrad <konrad@kola-entertainments.de>
* [skip ci] Updated translations via CrowdinGiteaBot2019-06-302-3/+40
|
* 1.8.3 release (#7332)Alexandru Bucur2019-06-301-2/+2
|
* [skip ci] Updated translations via CrowdinGiteaBot2019-06-302-0/+24
|
* fix topic bar to allow prefixes (#7325)Cherrg2019-06-301-4/+37
| | | | | | | | | | | | | | | | | | | | | | | | * - do not select if escape is pressed - allow prefixes by adding current request content to result list - remove html-tags before insert on page fix #7126 Signed-off-by: Michael Gnehr <michael@gnehr.de> * sort current query to top Signed-off-by: Michael Gnehr <michael@gnehr.de> * remove already added topics from dropdown list Signed-off-by: Michael Gnehr <michael@gnehr.de> * protoct against xss thanks to @silverwind Signed-off-by: Michael Gnehr <michael@gnehr.de>
* Add commit statuses reports on pull request view (#6845)Lunny Xiao2019-06-3023-85/+236
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add commit statuses reports on pull view * Add some translations * improve the UI * fix fmt * fix tests * add a new test git repo to fix tests * fix bug when headRepo or headBranch missing * fix tests * fix tests * fix consistency * fix tests * fix tests * change the test repo * fix tests * fix tests * fix migration * keep db size consistency * fix translation * change commit hash status table unique index * remove unused table * use char instead varchar * make hashCommitStatusContext private * split merge section with status check on pull view ui * fix tests; fix arc-green theme on pull ui
* update mssql drive to last working version 20180314172330-6a30f4e59a44 (#7306)Antoine GIRARD2019-06-3046-491/+3158
|
* [skip ci] Updated translations via CrowdinGiteaBot2019-06-292-0/+130
|
* Fixes #7292 - API File Contents bug (#7301)Richard Mahn2019-06-2917-333/+961
|
* [skip ci] Updated translations via CrowdinGiteaBot2019-06-291-4/+32
|
* Fixes #7152 - Allow create/update/delete message to be empty, use default ↵Richard Mahn2019-06-297-27/+104
| | | | | | | | | | message (#7324) * Fixes #7152 - Allow create/update/delete message to be empty, use default message * Linting fix * Fix to delete integration tests
* Use batch insert on migrating repository to make the process faster (#7050)Lunny Xiao2019-06-297-238/+339
| | | | | | | | | | * Use batch insert on migrating repository to make the process faster * fix lint * fix tests * fix comments
* [skip ci] Updated translations via CrowdinGiteaBot2019-06-291-0/+4
|
* add commitgraph support global default true when git version >= 2.18 (#7313)Lunny Xiao2019-06-291-0/+12
|
* [skip ci] Updated translations via CrowdinGiteaBot2019-06-291-0/+7
|
* Fixes #7238 - Annotated tag commit ID incorrect (#7321)Richard Mahn2019-06-292-4/+5
| | | | | | * Fixes #7238 - Annotated tag commit ID incorrect * Fixes #7238 - Annotated tag commit ID incorrect
* [skip ci] Updated translations via CrowdinGiteaBot2019-06-291-0/+53
|
* Fix 7303 - remove unnessesary buttons on archived repos (#7326)Cherrg2019-06-295-2/+15
| | | | | | | | | | | | | | | | | | | | | | * archived repo - remove - open/close button on issue list - assigne person on issue list Signed-off-by: Michael Gnehr <michael@gnehr.de> * archived repo - remove - comment field on issue view - lock/unlock issue conversation button from sidebar on issue view Signed-off-by: Michael Gnehr <michael@gnehr.de> * archived repo - add 'compare commits' button to pull request + remove new pull request button from compare view as the route is still working, and there is no need to be hidden Signed-off-by: Michael Gnehr <michael@gnehr.de>
* [skip ci] Updated translations via CrowdinGiteaBot2019-06-281-1/+1
|
* Dark theme fixes (#7319)Cherrg2019-06-282-0/+92
| | | | | | | | | | * add dark theme for jquery xdsoft_datetimepicker Signed-off-by: Michael Gnehr <michael@gnehr.de> * add border to dark theme - not checked issue checkboxes Signed-off-by: Michael Gnehr <michael@gnehr.de>
* gitea own dark codemirror theme (#7317)Cherrg2019-06-282-18/+137
| | | | | | | | | | | | * modify dark codemirror theme fix #6573 Signed-off-by: Michael Gnehr <michael@gnehr.de> * add selection color Signed-off-by: Michael Gnehr <michael@gnehr.de>
* Show Pull Request button or status of latest PR in branch list (#6990)Mario Lubenka2019-06-273-14/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Show Pull Request button or status of latest PR in branch list Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com> * Do not show pull request button on deleted branches Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com> * Do not show commit divergence on deleted branches Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com> * Use XORMs Get instead of limit * Links pull request ID and use smaller labels for displaying the pull request status Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com> * Handle error when getting latest pull request Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com> * Indent template Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com> * Check error when loading issue Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>
* replace lesshint with stylelint (#7305)silverwind2019-06-2712-231/+1441
| | | | | | | | | New CSS linter which is much more powerfull than the previous one. Configuration is default but I had to remove a few rules that were throwing too many or weird errors. More importantly, the linter will exit with code 1 on errors so now our build will fail if the CSS linter fails which should eliminate linter errors being introduced without notice.
* fix extra newlines when copying from diff in Firefox (#7288)silverwind2019-06-269-74/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * fix extra newlines when copying from diff See https://bugzilla.mozilla.org/show_bug.cgi?id=1273836 Basically, the <pre><code> seems to add a forced newline that is not possible to get rid of via CSS, so I replaced it with just a <code>. Secondly, .lines-type-marker also forced a newline in the copied text, but that was possible to get rid of via user-select. Safari still has a extraneous newline in the copied text of unknown origin, but this should not block stop this PR. * simplify .line-type-marker * fix selector * remove erronous ^^^ * Fix empty split diff * Fix arc-theme-green * fix add comment * ensure line-num is copied too * Update templates/repo/diff/box.tmpl Co-Authored-By: zeripath <art27@cantab.net> * attempt to fix safari via removing <code> * remove useless whitespace at the end of 'class' * remove inter-tag whitespace for code <td>s * more inter-tag removal * final inter-tag removal * attempt to fix empty line copy * move and comment getLineContent * fix golint * make background grey for missing added code