summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* [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
* Monitor all git commands; move blame to git package and replace git as a ↵Lunny Xiao2019-06-2634-74/+750
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | variable (#6864) * monitor all git commands; move blame to git package and replace git as a variable * use git command but not other commands * fix build * move exec.Command to git.NewCommand * fix fmt * remove unrelated changes * remove unrelated changes * refactor IsEmpty and add tests * fix tests * fix tests * fix tests * fix tests * remove gitLogger * fix fmt * fix isEmpty * fix lint * fix tests
* Shadow the password on cache and session config on admin panel (#7300)Lunny Xiao2019-06-272-2/+135
| | | | | | | | * shadow the password on cache and session config on admin panel * add shadow password of mysql/postgres/couchbase * fix log import
* fix API link header (#7298)Lunny Xiao2019-06-262-7/+85
|
* Make diff line-marker non-selectable (#7279)zeripath2019-06-246-32/+70
| | | | | | | | * Make diff line-marker non-selectable * Move to use data-* as per @mrsdizzie * fix missing line nums * Add a minimum-width to force right-align of the line num * Move line-type-marker into separate column
* [docker] Add LFS_START_SERVER option to control git-lfs support (#7281)Marat Radchenko2019-06-243-0/+3
|
* Fix error log when loading issues caused by a xorm bug (#7271)Lunny Xiao2019-06-23156-1829/+1850
| | | | | | | | | | | | * fix error log when loading issues caused by a xorm bug * upgrade packages * fix fmt * fix Consistency * fix tests
* Fix #732: Add LFS objects to base repository on merging (#7082)zeripath2019-06-227-292/+648
| | | | On merge we walk the merge history and ensure that all lfs objects pointed to in the history are added to the base repository. This switches from relying on having git-lfs installed on the server, (and in fact .gitattributes being correctly installed.)
* Dark theme markdown fixes (#7260)Cherrg2019-06-213-4/+39
| | | | | | | | | | | | | | | | | | | | | * fix colors in dark theme - tables inside rendered markdown Signed-off-by: Michael Gnehr <michael@gnehr.de> * fix colors in dark theme - simpleMDE rendered preview Signed-off-by: Michael Gnehr <michael@gnehr.de> * Update public/less/themes/arc-green.less remove scroll bar color, to add this globally on additional PR Co-Authored-By: Lauris BH <lauris@nix.lv> Signed-off-by: Michael Gnehr <michael@gnehr.de> * add missing class name Signed-off-by: Michael Gnehr <michael@gnehr.de>
* Fix Submodule dection in subdir (#7275)mrsdizzie2019-06-211-1/+7
| | | | | | Include the directory in name when looking for matching Submodule from .gitmodules file Fixes #7262
* Alpine 3.10 (#7256)techknowlogick2019-06-202-7/+7
|
* add .fa margin like .octicon (#7258)Antoine GIRARD2019-06-202-2/+2
|
* Only check and config git on web subcommand but not others (#7236)Lunny Xiao2019-06-194-25/+35
| | | | | | * only check and config git on web subcommand but not others * add Init in git tests
* add 'npm' and 'npm-update' make targets and lockfile (#7246)silverwind2019-06-187-36/+4913
| | | | | | | | | | | | | | | | | | * add 'npm' and 'npm-update' make targets and lockfile - `make npm` installs and updates node_modules, triggered automatically on `make css` and `make js` as it completes reasonably fast and ensures consistent modules. - `make npm-update` updates all dependencies to their latest version, regenerates `node_modules` from scratch and updates `package-lock.json`. It uses npm modules `updates` written by yours truly to find the latest version of each dependency. * add suggested make dependencies * remove package-lock.json during npm-update * regenerate package-lock.json
* update go-git to v4.12.0 - fixes #7248 (#7249)techknowlogick2019-06-19270-14428/+71043
|
* fix hljs unintenionally highlighting commit links (#7244)silverwind2019-06-182-4/+5
| | | | | | * fix hljs unintenionally highlighting commit links * fix unit tests
* add self to MAINTAINERS (#7245)silverwind2019-06-181-0/+1
|
* Fix migration panic when Head.User is not exist (#7226)Lunny Xiao2019-06-181-7/+26
| | | | | | * fix migration panic when Head.User is not exist * fix test
* Update css (#7240)zeripath2019-06-181-16/+16
| | | Remove -o-tab-size selectors from tab-sze-1 css
* Fix relref link in docs (#7233)Antoine GIRARD2019-06-171-1/+1
|
* Add docs for `INTERNAL_TOKEN_URI` (#7234)techknowlogick2019-06-171-0/+2
|
* Changelog 1.8.3 (#7230) (#7231)John Olheiser2019-06-171-0/+10
| | | | | | | | | * Changelog 1.8.3 Signed-off-by: jolheiser <john.olheiser@gmail.com> * Suggestion Co-Authored-By: zeripath <art27@cantab.net>
* Add CLI commands to manage LDAP authentication source (#6681)ngourdon2019-06-174-1/+1802
| | | | | | | | | | | | | | | | | | * add CLI commands to manage LDAP authentication source * delete Gogs copyright * remove unused return value of func parseLoginSource * fix comment Co-Authored-By: ngourdon <31291059+ngourdon@users.noreply.github.com> * remove config flag already present in global flags * remove config flag from ldap commands in docs * remove config flag handling
* [skip ci] Updated translations via CrowdinGiteaBot2019-06-1729-0/+41
|
* Use certmanager provided TLSConfig for LetsEncrypt (#7229)zeripath2019-06-171-6/+3
|
* show lfs config on admin panel (#7220)Lunny Xiao2019-06-163-0/+22
|
* Add missing description of label on API (#7159)Lunny Xiao2019-06-164-11/+32
| | | | | | | | * add missing description of label on API * fix comment head * fix swagger
* Use go method to calculate ssh key fingerprint (#7128)Antoine GIRARD2019-06-162-21/+92
| | | | | | | | | | | | * Use go method to calculate key fingerprint * add gitea copyright * use native go method only for built-in server * refactor and add tests * add gitea copyright
* Add LastLogin to the User API (#7196)zeripath2019-06-154-0/+19
|
* setting: don't require same running user for internal SSH (like win ↵Antoine GIRARD2019-06-161-1/+1
| | | | platform) (#7215)
* Only warn on errors in deleting LFS orphaned files during repo deletion (#7213)zeripath2019-06-152-5/+2
|
* fix duplicated file on pull request conflicted files (#7211)Lunny Xiao2019-06-151-1/+11
|
* Allow colon between fixing word and issue (#7207)zeripath2019-06-152-1/+27
| | | | | | * Allow colon between fixing word and issue * update test
* UI: Fix overflow issues in repo (#7190)silverwind2019-06-146-18/+36
| | | | | | | | | | | - Fix layout overflow in repo file list. - Fix invisible status icon in file view and commit list. In file view, the icon was moved to the left because I could not figure out a proper fix because of HTML tables. - Added title attribute to commit messages. - Fixed two CSS linter warnings in existing CSS. - Fixed CI variable check in 'make css'. Fixes: https://github.com/go-gitea/gitea/issues/7180
* fix drone build bug (#7192)Cherrg2019-06-133-1/+4
|
* API error cleanup (#7186)John Olheiser2019-06-127-25/+16
|
* Add error for fork already existing (#7185)John Olheiser2019-06-123-4/+22
|
* Add golangci (#6418)kolaente2019-06-12147-774/+1046
|
* Fix database lock when use random repository fallback image (#7166)Lunny Xiao2019-06-111-11/+10
| | | | | | * fix database lock when use random repository fallback image * remove unused function
* Fixes diff on merged pull requests (#7171)Mario Lubenka2019-06-113-13/+13
|
* Various fixes for issue mail notifications (#7165)silverwind2019-06-113-19/+41
| | | | | | | | | - Send individual mails for actions and comments - Send mail for new issues/prs without a comment - Use correct sender for reopen/close actions - Hopefully fixed all bugs related to missing mails Fixes: https://github.com/go-gitea/gitea/issues/7124 Fixes: https://github.com/go-gitea/gitea/issues/5977
* fix pusher name via ssh push (#7167)Lunny Xiao2019-06-111-1/+1
|
* Revert "make modules/structs as a spereate go mod (#7127)" (#7175)Lunny Xiao2019-06-102-4/+0
| | | This reverts commit 835b53fc259c82f38945a3e107a4eb51478967d5.