Commit Graph

6057 Commits

Author SHA1 Message Date
9e842c8a72 Fix SSH auth lfs locks ()
* Fix SSH auth LFS locks

* Activate SSH/lock test

* Remove debug

* Follow @lunny recommendation for AfterLoad method
2018-01-27 18:48:15 +02:00
97fe773491 fix MSSQL bug on org () 2018-01-27 17:20:59 +02:00
a0c397df08 Recognize more characters in crossreferenced repo name () 2018-01-27 14:33:32 +02:00
9e87fe8c06 [skip ci] Updated translations via Crowdin 2018-01-27 02:18:45 +00:00
07b4e47a56 Add myself to TRANSLATORS () 2018-01-26 20:17:26 -06:00
82a7b0292e [skip ci] Updated translations via Crowdin 2018-01-25 14:03:22 +00:00
d644e88107 HTML escape all lines of the search result ()
Fixes .
2018-01-22 23:28:16 +02:00
00d08473b8 Use GiteaServer as the user agent for http requests ()
Otherwise we're still presenting ourselves as GogsServer...
2018-01-22 22:37:14 +02:00
1ce3572409 Remove useless check ()
In , I put check inside all write key function. This one is useless no.
2018-01-19 21:45:53 +02:00
05ab747054 Force-push to base repo's ref/pull/#/head ()
* 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
2018-01-19 08:53:45 +02:00
ca306985d3 Change how merged PR commit info are prepared ()
* Change how merged PR commits and diff are made

* Update code.gitea.io/git dependency

* Fix typo

* Remove unneeded local variable
2018-01-19 08:18:51 +02:00
b0d5bb909b Delete indexer DB entries when (re)creating index ()
* comment
2018-01-17 23:51:07 +02:00
a880b17296 [skip ci] Updated translations via Crowdin 2018-01-16 21:27:57 +00:00
e722bdbb03 Update source installation requirements ()
* 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
2018-01-16 22:18:11 +01:00
095fb9f2e3 Add integrations tests from git cli ()
* test: integration add git cli tests

Extracted form for easing review process and debug 

* test: integration add git cli big file commit

* fix:  Don't rewrite key if internal server
2018-01-16 13:07:47 +02:00
695b10bedd Fix API-Endpoint release ()
* Fixes API-Endpoint release ()

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

* Add release create, get and update test
2018-01-16 10:54:13 +02:00
cc0c4a30a7 [skip ci] Updated translations via Crowdin 2018-01-15 22:45:41 +00:00
a68bf746a4 Change reserved avatar name to correct - avatars () 2018-01-16 00:45:13 +02:00
e2bb7933e8 [skip ci] Updated translations via Crowdin 2018-01-15 06:04:51 +00:00
bec09378f9 Fix Delete repository message () 2018-01-15 08:03:30 +02:00
d29aa76777 Fix en-US locale () 2018-01-15 00:27:57 +02:00
6b9073b3a4 [skip ci] Updated translations via Crowdin 2018-01-14 22:10:15 +00:00
18bf6be398 Add myself as a translator () 2018-01-15 00:09:30 +02:00
6da5ed2594 [skip ci] Updated translations via Crowdin 2018-01-14 17:35:34 +00:00
ccdb94992d Asynchronously populate the repo indexer ()
* Populate repo indexer in background

* Check if no repos exist

* race cond
2018-01-14 19:34:41 +02:00
a8325dd1cb [skip ci] Updated translations via Crowdin 2018-01-13 09:46:18 +00:00
7a2a3fbafc refactor(model): update user method. () 2018-01-13 11:45:16 +02:00
f7088292bb [skip ci] Updated translations via Crowdin 2018-01-12 22:17:50 +00:00
2b52f77e1b General refactor of the cmd package ()
* General refactor of the cmd package

* Address breakage in runCreateUser

* Place "common" functions into cmd.go
2018-01-12 23:16:49 +01:00
079273e2ff Add MSSQL to supported database list of intall page () 2018-01-12 19:23:28 +02:00
eb0f166f50 Address issues pointed out by @lunny in () 2018-01-12 08:37:30 -06:00
51a18f7e54 [skip ci] Updated translations via Crowdin 2018-01-11 22:20:44 +00:00
e5b8b4b5ec Cleanup models.User.HashPassword () 2018-01-12 00:19:38 +02:00
9aed18073d [skip ci] Updated translations via Crowdin 2018-01-11 19:57:53 +00:00
ffc0bff46e Improve documentation about custom templates. ()
Now includes all the template hooks in the page, and a detailed
example for the common case of adding an "about" page.
2018-01-11 21:56:40 +02:00
be1330ec89 Remove hardcoded paths to fix randomly failing tests ()
* Remove hardcoded paths to fix randomly failing tests

* Use correct function for merge path
2018-01-11 00:46:59 +01:00
d8dff304c0 Fix randomly failing LFS lock tests in drone () 2018-01-11 00:09:56 +02:00
65861900cd Handle refactor ()
* Replace all ctx.Handle with ctx.ServerError or ctx.NotFound

* Change Handle(403) to NotFound, avoid using macaron's NotFound
2018-01-10 23:34:17 +02:00
45c264f681 Templates for extra links in top navbar and repo tool tabs. ()
These templates add content to the top navbar
and to the repository page.
This way we do not have to copy and modify the whole
template, and re-modify it after upgrading Gitea if
it changes.

Signed-off-by: Alberto González Palomo <bugs@sentido-labs.com>
2018-01-10 08:19:50 +02:00
88a3bb6d42 Make the default action for the gitea executable that of running the webserver () 2018-01-10 06:58:08 +02:00
b5fba4cd42 Fix organization profile on mobile devices () 2018-01-10 01:11:01 +02:00
6070c9a5b8 [skip ci] Updated translations via Crowdin 2018-01-09 18:41:13 +00:00
84feb016f5 Remove useless fmt.Errorf("%v", err) () 2018-01-09 16:40:05 -02:00
e7295f27a9 Add MTecknology to MAINTAINERS list () 2018-01-09 07:27:26 +02:00
f737d37804 Add CodeTriage link to README () 2018-01-09 00:01:08 +01:00
3ee8be3849 General documentation cleanup ()
* Clean up spelling, grammar, perspective, whitespace, language, markup, etc.
2018-01-08 23:48:42 +01:00
923c0105f4 Update gitea version on docs/install-from-binary ()
* Update gitea version on docs/install-from-binary

* Update all versions
2018-01-09 00:48:05 +02:00
674cfb7cac Change EncodePasswd to HashPassword ()
* Change EncodePasswd to HashPassword

* Create test+benchmark for HashPassword
2018-01-08 23:28:18 +01:00
f2b841d0ec Add some instructions about running integration tests ()
* Add some instructions about running integration tests

* Add missing newline escape

* Suggest running a clean build
2018-01-08 18:29:52 +02:00
d663cef2a5 Fix branch name escaping in compare url ()
* Fixes 
2018-01-08 17:17:24 +02:00