aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* 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.
* make modules/structs as a spereate go mod (#7127)Lunny Xiao2019-06-102-0/+4
|
* if milestone id is zero don't get it from database (#7169)Lunny Xiao2019-06-101-6/+8
|
* Move PushUpdate dependency from models to repofiles (#6763)Lunny Xiao2019-06-107-21/+98
| | | | | | * remove push_update * move models.PushUpdate to repofiles.PushUpdate
* [skip ci] Updated translations via CrowdinGiteaBot2019-06-102-1/+21
|
* archived repos can be starred and watched (#7163)Lanre Adelowo2019-06-101-1/+1
|
* Fixes #2738 - Adds the /git/tags API endpoint (#7138)Richard Mahn2019-06-0816-85/+551
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Fixes #2738 - /git/tags API * proper URLs * Adds function comments * Updates swagger * Removes newline from tag message * Removes trailing newline from commit message * Adds integration test * Removed debugging * Adds tests * Fixes bug where multiple tags of same commit show wrong tag name * Fix formatting * Removes unused varaible * Fix to annotated tag function names and response * Update modules/git/repo_tag.go Co-Authored-By: Lauris BH <lauris@nix.lv> * Uses TagPrefix * Changes per review, better error handling for getting tag and commit IDs * Fix to getting commit ID * Fix to getting commit ID * Fix to getting commit ID * Fix to getting commit ID
* Add command to convert mysql database from utf8 to utf8mb4 (#7144)Lunny Xiao2019-06-083-0/+77
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * add command to convert mysql database from utf8 to utf8mb4 * Update cmd/convert.go Co-Authored-By: John Olheiser <42128690+jolheiser@users.noreply.github.com> * Update cmd/convert.go Co-Authored-By: John Olheiser <42128690+jolheiser@users.noreply.github.com> * Update cmd/convert.go Co-Authored-By: John Olheiser <42128690+jolheiser@users.noreply.github.com> * Update models/convert.go Co-Authored-By: John Olheiser <42128690+jolheiser@users.noreply.github.com> * Update models/convert.go Co-Authored-By: John Olheiser <42128690+jolheiser@users.noreply.github.com> * Update cmd/convert.go Co-Authored-By: John Olheiser <42128690+jolheiser@users.noreply.github.com> * Update cmd/convert.go Co-Authored-By: John Olheiser <42128690+jolheiser@users.noreply.github.com>
* fix GCArgs load from ini (#7156)Lunny Xiao2019-06-081-1/+1
|
* [skip ci] Updated translations via CrowdinGiteaBot2019-06-071-0/+5
|
* Compare branches, commits and tags with each other (#6991)Mario Lubenka2019-06-0717-527/+584
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Supports tags when comparing commits or branches Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com> * Hide headline when only comparing and don't load unused data Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com> * Merges compare logics to allow comparing branches, commits and tags with eachother Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com> * Display branch or tag instead of commit when used for comparing Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com> * Show pull request form after click on button Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com> * Transfers relevant pull.go changes from master to compare.go Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com> * Fixes error when comparing forks against a commit or tag Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com> * Removes console.log from JavaScript file Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com> * Show icon next to commit reference when comparing branch or tag Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com> * Updates css file Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com> * Fixes import order * Renames template variable * Update routers/repo/compare.go Co-Authored-By: zeripath <art27@cantab.net> * Update from master Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com> * Allow short-shas in compare * Renames prInfo to compareInfo Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com> * Check PR permissions only if compare is pull request Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com> * Adjusts comment Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com> * Use compareInfo instead of prInfo
* Detect noreply email address as user (#7133)zeripath2019-06-061-0/+13
|
* [skip ci] Updated translations via CrowdinGiteaBot2019-06-062-4/+10
|
* Add state param to milestone listing API (#7131)Lanre Adelowo2019-06-068-16/+77
| | | | | | | | | | | | | | | | * Support state params * update tests * fix tests * add state=all support * update tests * update swagger * update swagger
* [skip ci] Updated translations via CrowdinGiteaBot2019-06-058-34/+66
|
* add docs for #6847 (#7132)Lanre Adelowo2019-06-051-0/+1
|
* minor fixes in en-US locale (#7130)katherine2019-06-051-5/+5
| | | | | a few spelling fixes and one rewritten line Signed-off-by: katherine <ageha@airen-no-jikken.icu>
* Exclude pull_request from fetch-tags step, fixes #7108 (#7120)Nick Meyer2019-06-051-0/+3
| | | Signed-off-by: Nick Meyer <nick@e3b0c442.io>
* Add Rust highlighting (#7125)Rob Watson2019-06-041-0/+1
|
* Migration Tweaks (#6260)John Olheiser2019-06-041-0/+8
| | | | | | | | | | | | | | | | | | | * Adds auto-name if repo name is blank Adds error checking before sanitization in migration Signed-off-by: jolheiser <john.olheiser@gmail.com> * Changed err from sanitization to a different variable Signed-off-by: jolheiser <john.olheiser@gmail.com> * Remove handleCreatePost and implement separately Signed-off-by: jolheiser <john.olheiser@gmail.com> * Make fmt Signed-off-by: jolheiser <john.olheiser@gmail.com>
* [skip ci] Updated translations via CrowdinGiteaBot2019-06-033-2/+4
|
* Refactor submodule URL parsing (#7100)mrsdizzie2019-06-032-27/+74
| | | | | | | | | | Use combination of url.Parse and regex to parse refURL rather than by hand with indexes & attempt to check if refURL is from same instance and adjust output to match. Also now return empty string instead of our original guess at URL if we are unable to parse it. Fixes #1526
* Avoid arbitrary format strings upon calling fail() function (#7112)Sandro Santilli2019-06-031-4/+4
|
* [skip ci] Updated translations via CrowdinGiteaBot2019-06-023-9/+16
|
* Use vfsgen instead of go-bindata (#7080)Lunny Xiao2019-06-0336-612/+1224
| | | | | | | | | | * use vfsgen instead of go-bindata * fix templates * fix fmt * vendor vsfgen
* Repository avatar fallback configuration (#7087)Mario Lubenka2019-06-029-19/+105
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Only show repository avatar in list when one was selected Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com> * Adds fallback configuration option for repository avatar Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com> * Implements repository avatar fallback Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com> * Adds admin task for deleting generated repository avatars Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com> * Solve linting issues Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com> * Save avatar before updating database * Linting * Update models/repo.go Co-Authored-By: zeripath <art27@cantab.net>
* Move serv hook functionality & drop GitLogger (#6993)zeripath2019-06-0125-977/+801
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Move hook functionality internally * Internalise serv logic * Remove old internal paths * finally remove the gitlogger * Disallow push on archived repositories * fix lint error * Update modules/private/key.go * Update routers/private/hook.go * Update routers/private/hook.go * Update routers/private/hook.go * Updated routers/private/serv.go * Fix LFS Locks over SSH * rev-list needs to be run by the hook process * fixup * Improve git test * Ensure that the lfs files are created with a different prefix * Reduce the replication in git_test.go * slight refactor * Remove unnecessary "/" * Restore ensureAnonymousClone * Restore ensureAnonymousClone * Run rev-list on server side * Try passing in the alternative directories instead * Mark test as skipped * Improve git test * Ensure that the lfs files are created with a different prefix * Reduce the replication in git_test.go * Remove unnecessary "/"
* update go git from v4.10.0 to v4.11.0 (#7096)Lunny Xiao2019-05-3115-40/+93
|