summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Stop colorizing files by default (#6949)zeripath2019-05-153-6/+2
|
* [skip ci] Updated translations via CrowdinGiteaBot2019-05-151-0/+2
|
* SearchRepositoryByName improvements and unification (#6897)zeripath2019-05-157-230/+174
|
* Webhook Logs show proper HTTP Method, and allow change HTTP method in form ↵techknowlogick2019-05-154-11/+18
| | | | | | | | | | | (#6953) * Fix #6951 - logs show proper HTTP Method, and allow change HTTP method in form * enforce POST method for webhook * set default if method is empty
* Refactor models.NewRepoContext to extract git related codes to modules/git ↵Lunny Xiao2019-05-156-49/+34
| | | | | | | | | | (#6941) * refactor models.NewRepoContext to extract git related codes to modules/git * fix imports * refactor
* Fix code overflow (#6914)Xaver Maierhofer2019-05-143-1/+8
|
* Add work path CLI option (#6922)zeripath2019-05-146-9/+25
| | | | | Makes it possible to set the work path as a CLI option instead of relying on environment variables which are somewhat opaque
* Ignore non-standard refs in git push (#6758)James E. Blair2019-05-141-34/+43
| | | | | | | | | | | | | | | | | | | | | | | When replicating to gitea from a remote system which makes use of git refs to store extra data (for example, gerrit), pushing a lot of refs to gitea can cause problems due to the extra processing that the pre and post receive hooks perform. But it's still useful for gitea to be able to serve those refs. This change skips unecessary processing of refs other than branches or tags. We don't need to check any ref that isn't a branch for branch protection (protection will never be enabled). So in the pre-receive hook, we wrap that check in a test for whether the ref is a branch. We also don't need to add information to the activity stream about pushes to non-standard refs, so we skip that step in the post-receive hook for refs which are not branches or tags. For some concrete examples, gerrit maintains a ref for every patchset of every change in the form refs/changes/XX/YYYY/Z. Many systems use refs/notes to store additonal data about commits. This change allows these and other schemes to be used without affecting gitea.
* Remove macaron dependent on models (#6940)Lunny Xiao2019-05-142-3/+7
|
* Move xorm logger bridge from log to models so that log module could be a ↵Lunny Xiao2019-05-143-35/+25
| | | | | | | | | | standalone package (#6944) * move xorm logger bridge from log to models so that log module could be a standalone package * fix tests * save logger on xorm log bridge
* Fix plain text overflow line wrap (#6915)Xaver Maierhofer2019-05-142-0/+6
|
* Remove macaron dependent on modules/log (#6933)Lunny Xiao2019-05-133-104/+101
|
* Add less linter via npx (#6936)Xaver Maierhofer2019-05-1420-427/+2155
|
* rotate unusual logs and stop stacktracing (#6935)zeripath2019-05-141-1/+1
|
* remove macaron dependent on models/mail.go (#6931)Lunny Xiao2019-05-141-13/+18
|
* [docker] support for custom GITEA_CUSTOM env var (#6608)Jakob Ackermann2019-05-132-6/+10
|
* Style orgs list in user profile (#6911)Xaver Maierhofer2019-05-133-1/+22
|
* Use single line per selector & don't strip license comments (#6919)Xaver Maierhofer2019-05-133-4/+1220
|
* [skip ci] Updated translations via CrowdinGiteaBot2019-05-131-0/+2
|
* Handle CORS requests (#6289)Tamal Saha2019-05-13170-2124/+5220
|
* Clean less files (#6921)Xaver Maierhofer2019-05-1317-999/+1385
|
* Use modules/git for git commands (#6775)Mura Li2019-05-131-82/+42
|
* Change drone token name to let users know to use oauth2 (#6912)techknowlogick2019-05-121-3/+10
|
* [skip ci] Updated translations via CrowdinGiteaBot2019-05-121-1/+3
|
* Fix input size for dependency select (#6913)Xaver Maierhofer2019-05-123-4/+13
|
* fix syntax highlight in blame view #6895 (#6909)iliyan ivanov2019-05-111-1/+1
|
* Remove local clones & make hooks run on merge/edit/upload (#6672)zeripath2019-05-1133-1463/+1698
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add options to git.Clone to make it more capable * Begin the process of removing the local copy and tidy up * Remove Wiki LocalCopy Checkouts * Remove the last LocalRepo helpers * Remove WithTemporaryFile * Enable push-hooks for these routes * Ensure tests cope with hooks Signed-off-by: Andrew Thornton <art27@cantab.net> * Remove Repository.LocalCopyPath() * Move temporary repo to use the standard temporary path * Fix the tests Signed-off-by: Andrew Thornton <art27@cantab.net> * Remove LocalWikiPath * Fix missing remove Signed-off-by: Andrew Thornton <art27@cantab.net> * Use AppURL for Oauth user link (#6894) * Use AppURL for Oauth user link Fix #6843 * Update oauth.go * Update oauth.go * internal/ssh: ignore env command totally (#6825) * ssh: ignore env command totally * Remove commented code Needed fix described in issue #6889 * Escape the commit message on issues update and title in telegram hook (#6901) * update sdk to latest (#6903) * improve description of branch protection (fix #6886) (#6906) The branch protection description text were not quite accurate. * Fix logging documentation (#6904) * ENABLE_MACARON_REDIRECT should be REDIRECT_MACARON_LOG * Allow DISABLE_ROUTER_LOG to be set in the [log] section * [skip ci] Updated translations via Crowdin * Move sdk structs to modules/structs (#6905) * move sdk structs to moduels/structs * fix tests * fix fmt * fix swagger * fix vendor
* Move sdk structs to modules/structs (#6905)Lunny Xiao2019-05-11188-2144/+717
| | | | | | | | | | | | * move sdk structs to moduels/structs * fix tests * fix fmt * fix swagger * fix vendor
* [skip ci] Updated translations via CrowdinGiteaBot2019-05-1111-22/+0
|
* Fix logging documentation (#6904)zeripath2019-05-112-2/+4
| | | | | | * ENABLE_MACARON_REDIRECT should be REDIRECT_MACARON_LOG * Allow DISABLE_ROUTER_LOG to be set in the [log] section
* improve description of branch protection (fix #6886) (#6906)Jannik Beyerstedt2019-05-111-2/+2
| | | The branch protection description text were not quite accurate.
* update sdk to latest (#6903)techknowlogick2019-05-108-21/+82
|
* Escape the commit message on issues update and title in telegram hook (#6901)zeripath2019-05-102-2/+4
|
* internal/ssh: ignore env command totally (#6825)Antoine GIRARD2019-05-091-12/+0
| | | | | | | | * ssh: ignore env command totally * Remove commented code Needed fix described in issue #6889
* Use AppURL for Oauth user link (#6894)techknowlogick2019-05-091-1/+1
| | | | | | | | | | * Use AppURL for Oauth user link Fix #6843 * Update oauth.go * Update oauth.go
* Fixes #6881 - API users search fix (#6882)Richard Mahn2019-05-084-2/+69
|
* 1.8.1 changelog (#6877) (#6878)John Olheiser2019-05-081-0/+26
| | | | | | | | | | * New and improved Signed-off-by: jolheiser <john.olheiser@gmail.com> * Add backport/original PR numbers Change wording for 500 error Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Show full name if DefaultShowFullName setting activated (#6710)Wim2019-05-0816-49/+84
| | | | | Adds a new key DEFAULT_SHOW_FULL_NAME (default false) to the [ui] section. If enabled the full name will be shown (unless it's empty, then the default username will be used)
* [skip ci] Updated translations via CrowdinGiteaBot2019-05-081-0/+33
|
* Change the color of issues/pulls list, merged is purple and closed is red ↵Lunny Xiao2019-05-081-1/+1
| | | | (#6874)
* Add documentation for OTP/2FA header in API for basic auth (#6872)techknowlogick2019-05-071-0/+6
|
* [skip ci] Updated translations via CrowdinGiteaBot2019-05-072-0/+43
|
* Fix 404 when send pull request some situation (#6871)Lunny Xiao2019-05-0762-12/+1196
|
* [skip ci] Updated translations via CrowdinGiteaBot2019-05-072-0/+41
|
* Improve migrations to support migrating ↵Lunny Xiao2019-05-07128-75/+33540
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | milestones/labels/issues/comments/pullrequests (#6290) * add migrations * fix package dependency * fix lints * implements migrations except pull requests * add releases * migrating releases * fix bug * fix lint * fix migrate releases * fix tests * add rollback * pull request migtations * fix import * fix go module vendor * add tests for upload to gitea * more migrate options * fix swagger-check * fix misspell * add options on migration UI * fix log error * improve UI options on migrating * add support for username password when migrating from github * fix tests * remove comments and fix migrate limitation * improve error handles * migrate API will also support migrate milestones/labels/issues/pulls/releases * fix tests and remove unused codes * add DownloaderFactory and docs about how to create a new Downloader * fix misspell * fix migration docs * Add hints about migrate options on migration page * fix tests
* [skip ci] Updated translations via CrowdinGiteaBot2019-05-061-0/+1
|
* Enforce osusergo build tag for releases (#6862)Antoine GIRARD2019-05-061-3/+3
|
* Refactor table width to have more info shown in file list (#6867)Lauris BH2019-05-064-142/+453
| | | | | | | | * Refactor table width to have more info shown in file list * Remove unnecesary semicolon * Fix tests for changed html structure
* fix config ui error about cache ttl (#6861)Lunny Xiao2019-05-063-0/+6
|
* [skip ci] Updated translations via CrowdinGiteaBot2019-05-063-5/+7
|