]> source.dussan.org Git - gitea.git/log
gitea.git
6 years ago Add string to confirm wiki data erasure (#3629)
bugreport0 [Tue, 6 Mar 2018 07:25:21 +0000 (07:25 +0000)]
 Add string to confirm wiki data erasure (#3629)

* Add a string to confirm wiki data erasure.

* Add a string to confirm wiki data erasure.

6 years agoAdd Attachment API (#3478)
Jonas Franz [Tue, 6 Mar 2018 01:22:16 +0000 (02:22 +0100)]
Add Attachment API (#3478)

* Add Attachment API
* repos/:owner/:repo/releases (add attachments)
* repos/:owner/:repo/releases/:id (add attachments)
* repos/:owner/:repo/releases/:id/attachments
* repos/:owner/:repo/releases/:id/attachments/:attachment_id

Signed-off-by: Jonas Franz <info@jonasfranz.de>
* Add unit tests for new attachment functions
Fix comments

Signed-off-by: Jonas Franz <info@jonasfranz.software>
* fix lint

* Update vendor.json

Signed-off-by: Jonas Franz <info@jonasfranz.software>
* remove version of sdk

Signed-off-by: Jonas Franz <info@jonasfranz.software>
* Fix unit tests
Add missing license header

Signed-off-by: Jonas Franz <info@jonasfranz.software>
* Add CreateReleaseAttachment
Add EditReleaseAttachment
Add DeleteReleaseAttachment

Signed-off-by: Jonas Franz <info@jonasfranz.software>
* Add filename query parameter for choosing another name for an attachment

Signed-off-by: Jonas Franz <info@jonasfranz.software>
* Fix order of imports

Signed-off-by: Jonas Franz <info@jonasfranz.software>
* Restricting updatable attachment columns

Signed-off-by: Jonas Franz <info@jonasfranz.software>
* gofmt

Signed-off-by: Jonas Franz <info@jonasfranz.software>
* Update go-sdk
Replace Attachments with Assets

Signed-off-by: Jonas Franz <info@jonasfranz.de>
* Update go-sdk

Signed-off-by: Jonas Franz <info@jonasfranz.de>
* Updating go-sdk and regenerating swagger

Signed-off-by: Jonas Franz <info@jonasfranz.software>
* Add missing file of go-sdk

Signed-off-by: Jonas Franz <info@jonasfranz.software>
* Change origin of code.gitea.io/sdk to code.gitea.io/sdk
Update code.gitea.io/sdk

Signed-off-by: Jonas Franz <info@jonasfranz.software>
* Update swagger

Signed-off-by: Jonas Franz <info@jonasfranz.software>
* Update updateAttachment

6 years agoFix wiki inter-links with cases and add tests for this case (#3560)
Chaz Reid [Mon, 5 Mar 2018 18:39:12 +0000 (10:39 -0800)]
Fix wiki inter-links with cases and add tests for this case (#3560)

6 years agoLog attachment blocked events (#3615)
Mahmoud Al-Qudsi [Mon, 5 Mar 2018 00:51:10 +0000 (18:51 -0600)]
Log attachment blocked events (#3615)

Include both a log entry and the blocked mime type in the gitea log when
an attachment upload is blocked.

Chosen log level is info; this may need to be dialed down to trace.

6 years agoUse Segoe UI for Latin characters before falling back to YaHei (#3616)
Mahmoud Al-Qudsi [Sun, 4 Mar 2018 06:47:46 +0000 (00:47 -0600)]
Use Segoe UI for Latin characters before falling back to YaHei (#3616)

* Use Segoe UI for Latin characters before falling back to YaHei

This fixes issues with character rendering on hidpi displays and other
aliasing/hinting issues, as Segoe UI has been painstakingly hinted by
typographers for Microsoft while YaHei has not. See #3237 for more
details.

Closes #3237

* Include transformed LESS -> CSS in commit

6 years ago[skip ci] Updated translations via Crowdin
GiteaBot [Sun, 4 Mar 2018 02:46:24 +0000 (02:46 +0000)]
[skip ci] Updated translations via Crowdin

6 years agoDon't write to log NoCommitterAccount (#3621)
Morgan Bazalgette [Sun, 4 Mar 2018 02:45:01 +0000 (03:45 +0100)]
Don't write to log NoCommitterAccount (#3621)

* Don't write to log NoCommitterAccount

It's way too verbose, and the information is also printed to the user
already. Fixes #3602.

* ignore err only if it's a ErrUserNotExist

* Replace with IsErrUserNotExist

6 years agofix: Add feed for organization (#3594)
Bo-Yi Wu [Sat, 3 Mar 2018 05:21:16 +0000 (13:21 +0800)]
fix: Add feed for organization (#3594)

* feat: Add feed for organization

* fix: testing

* fix: testing

* fix: testing

* fix: testing

6 years ago[skip ci] Updated translations via Crowdin
GiteaBot [Fri, 2 Mar 2018 20:32:20 +0000 (20:32 +0000)]
[skip ci] Updated translations via Crowdin

6 years agoFix incorrect 'Erase Wiki Data' string identifier. (#3613)
bugreport0 [Fri, 2 Mar 2018 20:31:15 +0000 (21:31 +0100)]
Fix incorrect 'Erase Wiki Data' string identifier. (#3613)

6 years ago[skip ci] Updated translations via Crowdin
GiteaBot [Fri, 2 Mar 2018 09:11:11 +0000 (09:11 +0000)]
[skip ci] Updated translations via Crowdin

6 years agoAdd admin dashboard option to run health checks (#3606)
Allen Wild [Fri, 2 Mar 2018 09:09:43 +0000 (04:09 -0500)]
Add admin dashboard option to run health checks (#3606)

There's one for git gc, why not git fsck too?

Also add a couple more trace logs to GitFsck to see progress

6 years ago[skip ci] Updated translations via Crowdin
GiteaBot [Tue, 27 Feb 2018 07:10:26 +0000 (07:10 +0000)]
[skip ci] Updated translations via Crowdin

6 years agoRework special link parsing in the post-processing of markup (#3354)
Morgan Bazalgette [Tue, 27 Feb 2018 07:09:18 +0000 (08:09 +0100)]
Rework special link parsing in the post-processing of markup (#3354)

* Get rid of autolink

* autolink in markdown

* Replace email addresses with mailto links

* better handling of links

* Remove autolink.js from footer

* Refactor entire html.go

* fix some bugs

* Make tests green, move what we can to html_internal_test, various other changes to processor logic

* Make markdown tests work again

This is just a description to allow me to force push in order to restart
the drone build.

* Fix failing markdown tests in routers/api/v1/misc

* Add license headers, log errors, future-proof <body>

* fix formatting

6 years agofix gpg expired bug when time is zero (#3584)
Lunny Xiao [Mon, 26 Feb 2018 10:25:45 +0000 (18:25 +0800)]
fix gpg expired bug when time is zero (#3584)

6 years agoFix missing translations when updating username. (#3564)
bugreport0 [Sun, 25 Feb 2018 13:56:25 +0000 (14:56 +0100)]
Fix missing translations when updating username. (#3564)

* Fix missing translations when updating username.

* Fix reserved username translated string test.

* Fix 'username reserved' string test a bit more.

6 years agofeat: Add branch link in branch list. (#3576)
Bo-Yi Wu [Sat, 24 Feb 2018 21:17:59 +0000 (05:17 +0800)]
feat: Add branch link in branch list. (#3576)

6 years agoFix the protected branch panic issue (#3567)
Wendell Sun [Fri, 23 Feb 2018 10:10:03 +0000 (18:10 +0800)]
Fix the protected branch panic issue (#3567)

6 years agoFix remove team member issue (#3566)
Wendell Sun [Fri, 23 Feb 2018 08:42:02 +0000 (16:42 +0800)]
Fix remove team member issue (#3566)

Put sess.Commit() out of the RemoveOrgUser function

Add an empty line to separate import packages

6 years agoFix query protected branch bug (#3563)
Wendell Sun [Fri, 23 Feb 2018 02:14:15 +0000 (10:14 +0800)]
Fix query protected branch bug (#3563)

Signed-off-by: Wendell Sun <iwendellsun@gmail.com>
6 years agofix: if Mirrors repo no content is fetched, updated time should not b… (#3551)
Bo-Yi Wu [Fri, 23 Feb 2018 00:27:09 +0000 (08:27 +0800)]
fix: if Mirrors repo no content is fetched, updated time should not b… (#3551)

* fix: if Mirrors repo no content is fetched, updated time should not be changed

* fix: sync update time from mirror repo.

* fix: one single session.

* update comment.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
6 years agoUpdate gogs to gitea migration manual (#3559)
Victor Polevoy [Thu, 22 Feb 2018 12:55:26 +0000 (15:55 +0300)]
Update gogs to gitea migration manual (#3559)

Updates the manual for latest gogs changes.

6 years agorefactor: reduce sql query in retrieveFeeds (#3547)
Bo-Yi Wu [Wed, 21 Feb 2018 10:55:34 +0000 (18:55 +0800)]
refactor: reduce sql query in retrieveFeeds (#3547)

6 years agoUse unique temp dirs in unit tests (#3494)
Ethan Koenig [Wed, 21 Feb 2018 07:38:52 +0000 (23:38 -0800)]
Use unique temp dirs in unit tests (#3494)

* Use unique temp dirs in unit tests

* Remove temp dirs after tests run

* os.RemoveAll -> removeAllWithRetry

6 years agoBug fix for repo releases sorted (#3522)
Wendell Sun [Wed, 21 Feb 2018 01:38:03 +0000 (09:38 +0800)]
Bug fix for repo releases sorted (#3522)

Signed-off-by: Wendell Sun <iwendellsun@gmail.com>
Use TimeStampNow function

6 years agoPopulate URL field of API commits (#3546)
Ethan Koenig [Tue, 20 Feb 2018 12:50:42 +0000 (04:50 -0800)]
Populate URL field of API commits (#3546)

* Populate URL field of API commits

* fix orgmode_test

6 years agoUpdate markbates/goth library (#3533)
Lauris BH [Mon, 19 Feb 2018 05:10:51 +0000 (07:10 +0200)]
Update markbates/goth library (#3533)

Signed-off-by: Lauris Bukšis-Haberkorns <lauris@nix.lv>
6 years agoDocument generate commands (#3532)
Lauris BH [Mon, 19 Feb 2018 03:23:41 +0000 (05:23 +0200)]
Document generate commands (#3532)

* Document generate commands

Signed-off-by: Lauris Bukšis-Haberkorns <lauris@nix.lv>
* Fix examples and grammar

Signed-off-by: Lauris Bukšis-Haberkorns <lauris@nix.lv>
6 years agoAdd issue closed time column to fix activity closed issues list (#3537)
Lauris BH [Mon, 19 Feb 2018 02:39:26 +0000 (04:39 +0200)]
Add issue closed time column to fix activity closed issues list (#3537)

Signed-off-by: Lauris Bukšis-Haberkorns <lauris@nix.lv>
6 years ago[skip ci] Updated translations via Crowdin
GiteaBot [Sun, 18 Feb 2018 21:20:48 +0000 (21:20 +0000)]
[skip ci] Updated translations via Crowdin

6 years agoForce remove test repo root path in case previous test is still locking it (#3528)
Lauris BH [Sun, 18 Feb 2018 21:19:40 +0000 (23:19 +0200)]
Force remove test repo root path in case previous test is still locking it (#3528)

Signed-off-by: Lauris Bukšis-Haberkorns <lauris@nix.lv>
6 years agoFix escaping changed title in comments (#3530)
Lauris BH [Sun, 18 Feb 2018 20:06:37 +0000 (22:06 +0200)]
Fix escaping changed title in comments (#3530)

* Fix escaping changed title in comments

* Fix escaping of wiki page titile

Signed-off-by: Lauris Bukšis-Haberkorns <lauris@nix.lv>
6 years agoImplements generator cli for secrets (#3531)
Codruț Constantin Gușoi [Sun, 18 Feb 2018 18:14:37 +0000 (18:14 +0000)]
Implements generator cli for secrets (#3531)

Signed-off-by: Codruț Constantin Gușoi <codrut.gusoi@gmail.com>
6 years ago[skip ci] Updated translations via Crowdin
GiteaBot [Sun, 18 Feb 2018 14:39:52 +0000 (14:39 +0000)]
[skip ci] Updated translations via Crowdin

6 years agoFix app.ini sample file link in docs (#3529)
Lauris BH [Sun, 18 Feb 2018 14:38:50 +0000 (16:38 +0200)]
Fix app.ini sample file link in docs (#3529)

Signed-off-by: Lauris Bukšis-Haberkorns <lauris@nix.lv>
6 years ago[skip ci] Updated translations via Crowdin
GiteaBot [Fri, 16 Feb 2018 14:03:54 +0000 (14:03 +0000)]
[skip ci] Updated translations via Crowdin

6 years agoFix ellipses, 'a[n]' and 'username' (issue #3512). (#3518)
bugreport0 [Fri, 16 Feb 2018 14:02:40 +0000 (00:32 +1030)]
Fix ellipses, 'a[n]' and 'username' (issue #3512). (#3518)

6 years ago[skip ci] Updated translations via Crowdin
GiteaBot [Fri, 16 Feb 2018 01:57:33 +0000 (01:57 +0000)]
[skip ci] Updated translations via Crowdin

6 years agoAdd info from #2286, minor fixes to YAML indentation (#3338)
Richard Coleman [Fri, 16 Feb 2018 01:56:10 +0000 (01:56 +0000)]
Add info from #2286, minor fixes to YAML indentation (#3338)

* Add info from #2286, minor fixes to YAML indentation

* Add space to make YAML valid again

6 years agoAdd option to enable or disable swagger endpoints (#3502)
Piotr Orzechowski [Wed, 14 Feb 2018 04:46:00 +0000 (05:46 +0100)]
Add option to enable or disable swagger endpoints (#3502)

6 years agoImprove wiki test (#3493)
Ethan Koenig [Tue, 13 Feb 2018 09:19:49 +0000 (01:19 -0800)]
Improve wiki test (#3493)

6 years agoAdd missing licenses (#3497)
Jonas Franz [Tue, 13 Feb 2018 05:10:40 +0000 (06:10 +0100)]
Add missing licenses (#3497)

Signed-off-by: Jonas Franz <info@jonasfranz.de>
6 years agoUpdating generate-licenses.go to fetch licenses from maintained repository. (#3484)
Jonas Franz [Mon, 12 Feb 2018 18:20:30 +0000 (19:20 +0100)]
Updating generate-licenses.go to fetch licenses from maintained repository. (#3484)

Signed-off-by: Jonas Franz <info@jonasfranz.software>
6 years agoEscape search query (#3486)
Jonas Franz [Sun, 11 Feb 2018 13:42:28 +0000 (14:42 +0100)]
Escape search query (#3486)

Signed-off-by: Jonas Franz <info@jonasfranz.de>
6 years agoUpdate code.gitea.io/git (#3482)
Ethan Koenig [Sat, 10 Feb 2018 18:19:26 +0000 (10:19 -0800)]
Update code.gitea.io/git (#3482)

6 years agoAdd EUPL v1.2 as license (Fixes go-gitea/gitea#3439) (#3475)
Jonas Franz [Fri, 9 Feb 2018 13:11:19 +0000 (14:11 +0100)]
Add EUPL v1.2 as license (Fixes go-gitea/gitea#3439) (#3475)

Signed-off-by: Jonas Franz <info@jonasfranz.de>
6 years agoFixes missing avatars in offline mode (#3471)
Codruț Constantin Gușoi [Thu, 8 Feb 2018 15:43:08 +0000 (15:43 +0000)]
Fixes missing avatars in offline mode (#3471)

Signed-off-by: Codruț Constantin Gușoi <codrut.gusoi@gmail.com>
6 years agoDocs: Fix broken markdown with unescaped character (#3470)
Jonas Bröms [Thu, 8 Feb 2018 03:29:42 +0000 (04:29 +0100)]
Docs: Fix broken markdown with unescaped character (#3470)

6 years agoClarify Indexer MAX_FILE_SIZE (#3469)
Jonas Bröms [Thu, 8 Feb 2018 02:10:36 +0000 (03:10 +0100)]
Clarify Indexer MAX_FILE_SIZE (#3469)

6 years agoFix checklist padding (#3460)
modmew8 [Tue, 6 Feb 2018 10:22:31 +0000 (11:22 +0100)]
Fix checklist padding (#3460)

* Changed style of checklist in issuelist.

* Adjusted padding for progressbar, updated index.css.

* Fixed another wrong tab to spaces.

Signed-off-by: modmew8 <modmew8@gmail.com>
6 years agoImprovements to git integration test (#3466)
Ethan Koenig [Tue, 6 Feb 2018 09:27:24 +0000 (01:27 -0800)]
Improvements to git integration test (#3466)

6 years agoReduce repo indexer disk usage (#3452)
Ethan Koenig [Mon, 5 Feb 2018 18:29:17 +0000 (10:29 -0800)]
Reduce repo indexer disk usage (#3452)

6 years agoFix rendering of wiki page list if wiki repo contains other files (#3454)
Lauris BH [Mon, 5 Feb 2018 14:56:30 +0000 (16:56 +0200)]
Fix rendering of wiki page list if wiki repo contains other files (#3454)

* Fix rendering of wiki page list if wiki repo contains other files

* Improve wiki filename tests

6 years agoFix synchronization bug in repo indexer (#3455)
Ethan Koenig [Mon, 5 Feb 2018 08:39:51 +0000 (00:39 -0800)]
Fix synchronization bug in repo indexer (#3455)

6 years ago Enable caching on assets and avatars (#3376)
Morgan Bazalgette [Sat, 3 Feb 2018 22:37:05 +0000 (23:37 +0100)]
 Enable caching on assets and avatars (#3376)

* Enable caching on assets and avatars

Fixes #3323

* Only set avatar in user BeforeUpdate when there is no avatar set

* add error checking after stat

* gofmt

* Change cache time for avatars to an hour

6 years agoUpdate hard-coded version to 1.5.0-dev (#3450)
techknowlogick [Sat, 3 Feb 2018 15:03:43 +0000 (10:03 -0500)]
Update hard-coded version to 1.5.0-dev (#3450)

Now that 1.4.0 is out the new target is 1.5.0

(See #2390 and #2988 for more context if needed)

6 years agoAllow square brackets in external issue patterns (#3408)
Christian Köberl [Sat, 3 Feb 2018 09:51:02 +0000 (10:51 +0100)]
Allow square brackets in external issue patterns (#3408)

* Allow square brackets in external issue patterns

* Added false test cases for checklist elements

6 years agoEmoji Autocomplete (#3433)
modmew8 [Sat, 3 Feb 2018 08:09:35 +0000 (09:09 +0100)]
Emoji Autocomplete (#3433)

* Implemented emoji autocomplete.

* Changed emoji access url.

* Reverted vendor css to default, moved all style changes to _tribute.less

* Made no-results overwriteable, added missing autocomplete to edit issue field.

Signed-off-by: modmew8 <modmew8@gmail.com>
6 years ago[skip ci] Updated translations via Crowdin
GiteaBot [Wed, 31 Jan 2018 15:41:59 +0000 (15:41 +0000)]
[skip ci] Updated translations via Crowdin

6 years agoadd changelog for 1.4.0 (#3435)
Morgan Bazalgette [Wed, 31 Jan 2018 15:40:57 +0000 (16:40 +0100)]
add changelog for 1.4.0 (#3435)

* add changelog for 1.4.0

* remove docs

* Remove some more noise

* Small reorganization, removed bugfixes that were not present in last stable version

* Move LFS lock to features, add just merged bugfix info

6 years agoUse correct transaltion key for delete email button (#3422)
Lauris BH [Tue, 30 Jan 2018 22:31:06 +0000 (00:31 +0200)]
Use correct transaltion key for delete email button (#3422)

6 years agoAdd sensitive headers (#3429)
Antoine GIRARD [Tue, 30 Jan 2018 22:09:16 +0000 (23:09 +0100)]
Add sensitive headers (#3429)

* Add HeaderWithSensitiveCase methods to respect casing

* Update webhook.go

6 years ago[skip ci] Updated translations via Crowdin
GiteaBot [Tue, 30 Jan 2018 12:30:54 +0000 (12:30 +0000)]
[skip ci] Updated translations via Crowdin

6 years agoFix branch deletion for squash or rebase merged pull requests (#3425)
Lauris BH [Tue, 30 Jan 2018 12:29:39 +0000 (14:29 +0200)]
Fix branch deletion for squash or rebase merged pull requests (#3425)

6 years ago[skip ci] Updated translations via Crowdin
GiteaBot [Mon, 29 Jan 2018 17:50:28 +0000 (17:50 +0000)]
[skip ci] Updated translations via Crowdin

6 years agoFix go-get content type (#3426)
Lauris BH [Mon, 29 Jan 2018 17:50:04 +0000 (19:50 +0200)]
Fix go-get content type (#3426)

6 years ago[skip ci] Updated translations via Crowdin
GiteaBot [Mon, 29 Jan 2018 11:15:41 +0000 (11:15 +0000)]
[skip ci] Updated translations via Crowdin

6 years agoFix PR merge error (#3421)
Ethan Koenig [Mon, 29 Jan 2018 10:18:20 +0000 (03:18 -0700)]
Fix PR merge error (#3421)

6 years agoAdd doctype to go-get=1 reponse (#3423)
Lauris BH [Mon, 29 Jan 2018 01:12:04 +0000 (03:12 +0200)]
Add doctype to go-get=1 reponse (#3423)

6 years agoFix SQL type error for webhooks (#3424)
Ethan Koenig [Mon, 29 Jan 2018 00:26:01 +0000 (17:26 -0700)]
Fix SQL type error for webhooks (#3424)

6 years agoAdd mising `LOCAL_WIKI_PATH` documentation (#3420)
Lauris BH [Sun, 28 Jan 2018 17:16:28 +0000 (19:16 +0200)]
Add mising `LOCAL_WIKI_PATH` documentation (#3420)

6 years ago[skip ci] Updated translations via Crowdin
GiteaBot [Sun, 28 Jan 2018 12:25:26 +0000 (12:25 +0000)]
[skip ci] Updated translations via Crowdin

6 years agoFix race condition in repo renaming (#3418)
Ethan Koenig [Sun, 28 Jan 2018 12:24:59 +0000 (05:24 -0700)]
Fix race condition in repo renaming (#3418)

6 years agoFix empty checkout bug (#3419)
Ethan Koenig [Sun, 28 Jan 2018 11:27:42 +0000 (04:27 -0700)]
Fix empty checkout bug (#3419)

6 years agodoc: Improve integrations examples (#3416)
Antoine GIRARD [Sat, 27 Jan 2018 18:52:41 +0000 (19:52 +0100)]
doc: Improve integrations examples (#3416)

6 years agoAdded quoting for passwords in sample.app.ini and documentation (#3395)
Timo Schindler [Sat, 27 Jan 2018 18:35:49 +0000 (19:35 +0100)]
Added quoting for passwords in sample.app.ini and documentation (#3395)

6 years agoChange local copy origin url after repository rename (#3399)
Wendell Sun [Sat, 27 Jan 2018 17:54:26 +0000 (01:54 +0800)]
Change local copy origin url after repository rename (#3399)

Fix #3378

6 years agoFix SSH auth lfs locks (#3152)
Antoine GIRARD [Sat, 27 Jan 2018 16:48:15 +0000 (17:48 +0100)]
Fix SSH auth lfs locks (#3152)

* Fix SSH auth LFS locks

* Activate SSH/lock test

* Remove debug

* Follow @lunny recommendation for AfterLoad method

6 years agofix MSSQL bug on org (#3405)
Lunny Xiao [Sat, 27 Jan 2018 15:20:59 +0000 (09:20 -0600)]
fix MSSQL bug on org (#3405)

6 years agoRecognize more characters in crossreferenced repo name (#3413)
Lauris BH [Sat, 27 Jan 2018 12:33:32 +0000 (14:33 +0200)]
Recognize more characters in crossreferenced repo name (#3413)

6 years ago[skip ci] Updated translations via Crowdin
GiteaBot [Sat, 27 Jan 2018 02:18:45 +0000 (02:18 +0000)]
[skip ci] Updated translations via Crowdin

6 years agoAdd myself to TRANSLATORS (#3415)
Kazuki Sawada [Sat, 27 Jan 2018 02:17:26 +0000 (11:17 +0900)]
Add myself to TRANSLATORS (#3415)

6 years ago[skip ci] Updated translations via Crowdin
GiteaBot [Thu, 25 Jan 2018 14:03:22 +0000 (14:03 +0000)]
[skip ci] Updated translations via Crowdin

6 years agoHTML escape all lines of the search result (#3402)
Morgan Bazalgette [Mon, 22 Jan 2018 21:28:16 +0000 (22:28 +0100)]
HTML escape all lines of the search result (#3402)

Fixes #3383.

6 years agoUse GiteaServer as the user agent for http requests (#3404)
Sandro Santilli [Mon, 22 Jan 2018 20:37:14 +0000 (21:37 +0100)]
Use GiteaServer as the user agent for http requests (#3404)

Otherwise we're still presenting ourselves as GogsServer...

6 years agoRemove useless check (#3384)
Antoine GIRARD [Fri, 19 Jan 2018 19:45:53 +0000 (20:45 +0100)]
Remove useless check (#3384)

In #3377, I put check inside all write key function. This one is useless no.

6 years agoForce-push to base repo's ref/pull/#/head (#3393)
Sandro Santilli [Fri, 19 Jan 2018 06:53:45 +0000 (07:53 +0100)]
Force-push to base repo's ref/pull/#/head (#3393)

* Force-push to base repo's ref/pull/#/head

Fixes force-pushing to pull request branches, otherwise failing with:

[...gitea/models/pull.go:1022 AddTestPullRequestTask()] [E] PushToBaseRepo: Push: exit status 1 - To /path/to/gitea-repositories/org/repo.git
 ! [rejected]        issue-fix -> refs/pull/20/head (non-fast-forward)

* format

6 years agoChange how merged PR commit info are prepared (#3368)
Lauris BH [Fri, 19 Jan 2018 06:18:51 +0000 (08:18 +0200)]
Change how merged PR commit info are prepared (#3368)

* Change how merged PR commits and diff are made

* Update code.gitea.io/git dependency

* Fix typo

* Remove unneeded local variable

6 years agoDelete indexer DB entries when (re)creating index (#3385)
Ethan Koenig [Wed, 17 Jan 2018 21:51:07 +0000 (13:51 -0800)]
Delete indexer DB entries when (re)creating index (#3385)

* comment

6 years ago[skip ci] Updated translations via Crowdin
GiteaBot [Tue, 16 Jan 2018 21:27:57 +0000 (21:27 +0000)]
[skip ci] Updated translations via Crowdin

6 years agoUpdate source installation requirements (#3124)
Kim "BKC" Carlbäcker [Tue, 16 Jan 2018 21:18:11 +0000 (22:18 +0100)]
Update source installation requirements (#3124)

* Update source installation requirements

We require Golang 1.8 since we use `net/url.PathEscape` which was not introduced until then

* Use Golang 1.8 for build and test

If we state Golang 1.8 we should test using that version as well

* Use golang 1.8 only for single build to see if everything compiles

* Change back edge also for commented out sqlite test

6 years agoAdd integrations tests from git cli (#3377)
Antoine GIRARD [Tue, 16 Jan 2018 11:07:47 +0000 (12:07 +0100)]
Add integrations tests from git cli (#3377)

* test: integration add git cli tests

Extracted form for easing review process and debug #3152

* test: integration add git cli big file commit

* fix:  Don't rewrite key if internal server

6 years agoFix API-Endpoint release (#3012)
Marc Brückner [Tue, 16 Jan 2018 08:54:13 +0000 (09:54 +0100)]
Fix API-Endpoint release (#3012)

* Fixes API-Endpoint release (#3005)

* Using context.ReferencesGitRepo(); doing the same in the PATCH route.

* Add release create, get and update test

6 years ago[skip ci] Updated translations via Crowdin
GiteaBot [Mon, 15 Jan 2018 22:45:41 +0000 (22:45 +0000)]
[skip ci] Updated translations via Crowdin

6 years agoChange reserved avatar name to correct - avatars (#3375)
Lauris BH [Mon, 15 Jan 2018 22:45:13 +0000 (00:45 +0200)]
Change reserved avatar name to correct - avatars (#3375)

6 years ago[skip ci] Updated translations via Crowdin
GiteaBot [Mon, 15 Jan 2018 06:04:51 +0000 (06:04 +0000)]
[skip ci] Updated translations via Crowdin

6 years agoFix Delete repository message (#3260)
muhfaris [Mon, 15 Jan 2018 06:03:30 +0000 (13:03 +0700)]
Fix Delete repository message (#3260)

6 years agoFix en-US locale (#3371)
Ethan Koenig [Sun, 14 Jan 2018 22:27:57 +0000 (14:27 -0800)]
Fix en-US locale (#3371)

6 years ago[skip ci] Updated translations via Crowdin
GiteaBot [Sun, 14 Jan 2018 22:10:15 +0000 (22:10 +0000)]
[skip ci] Updated translations via Crowdin

6 years agoAdd myself as a translator (#3370)
viktike [Sun, 14 Jan 2018 22:09:30 +0000 (23:09 +0100)]
Add myself as a translator (#3370)