kolaente
f71f2d4e5d
Removed unnessecary errorcheck
2018-01-13 12:48:06 +01:00
kolaente
cf1b573c35
Merge branch 'master' into master
2018-01-13 11:20:57 +01:00
GiteaBot
a8325dd1cb
[skip ci] Updated translations via Crowdin
2018-01-13 09:46:18 +00:00
Bo-Yi Wu
7a2a3fbafc
refactor(model): update user method. ( #3360 )
2018-01-13 11:45:16 +02:00
GiteaBot
f7088292bb
[skip ci] Updated translations via Crowdin
2018-01-12 22:17:50 +00:00
Morgan Bazalgette
2b52f77e1b
General refactor of the cmd package ( #3328 )
...
* General refactor of the cmd package
* Address breakage in runCreateUser
* Place "common" functions into cmd.go
2018-01-12 23:16:49 +01:00
Antoine GIRARD
079273e2ff
Add MSSQL to supported database list of intall page ( #3359 )
2018-01-12 19:23:28 +02:00
Morgan Bazalgette
eb0f166f50
Address issues pointed out by @lunny in #3339 ( #3352 )
2018-01-12 08:37:30 -06:00
GiteaBot
51a18f7e54
[skip ci] Updated translations via Crowdin
2018-01-11 22:20:44 +00:00
Kim "BKC" Carlbäcker
e5b8b4b5ec
Cleanup models.User.HashPassword ( #3334 )
2018-01-12 00:19:38 +02:00
kolaente
a5b696afe0
typo
2018-01-11 21:33:01 +01:00
kolaente
c44e13b3ad
typo
2018-01-11 21:32:37 +01:00
kolaente
5f187df6b2
Fixed communicating errors to the user
2018-01-11 21:22:39 +01:00
kolaente
d5b1c33f73
Merge branch 'master' into master
2018-01-11 21:09:56 +01:00
GiteaBot
9aed18073d
[skip ci] Updated translations via Crowdin
2018-01-11 19:57:53 +00:00
Alberto González Palomo
ffc0bff46e
Improve documentation about custom templates. ( #3345 )
...
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
Lauris BH
be1330ec89
Remove hardcoded paths to fix randomly failing tests ( #3347 )
...
* Remove hardcoded paths to fix randomly failing tests
* Use correct function for merge path
2018-01-11 00:46:59 +01:00
Lauris BH
d8dff304c0
Fix randomly failing LFS lock tests in drone ( #3346 )
2018-01-11 00:09:56 +02:00
Morgan Bazalgette
65861900cd
Handle refactor ( #3339 )
...
* 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
Alberto González Palomo
45c264f681
Templates for extra links in top navbar and repo tool tabs. ( #3308 )
...
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
Morgan Bazalgette
88a3bb6d42
Make the default action for the gitea executable that of running the webserver ( #3331 )
2018-01-10 06:58:08 +02:00
Morgan Bazalgette
b5fba4cd42
Fix organization profile on mobile devices ( #3332 )
2018-01-10 01:11:01 +02:00
GiteaBot
6070c9a5b8
[skip ci] Updated translations via Crowdin
2018-01-09 18:41:13 +00:00
Antoine GIRARD
84feb016f5
Remove useless fmt.Errorf("%v", err) ( #3337 )
2018-01-09 16:40:05 -02:00
kolaente
0fcc3b2273
Merge branch 'master' into master
2018-01-09 11:27:21 +01:00
Michael Lustfield
e7295f27a9
Add MTecknology to MAINTAINERS list ( #3335 )
2018-01-09 07:27:26 +02:00
Richard Schneeman
f737d37804
Add CodeTriage link to README ( #3299 )
2018-01-09 00:01:08 +01:00
Michael Lustfield
3ee8be3849
General documentation cleanup ( #3317 )
...
* Clean up spelling, grammar, perspective, whitespace, language, markup, etc.
2018-01-08 23:48:42 +01:00
Kim "BKC" Carlbäcker
923c0105f4
Update gitea version on docs/install-from-binary ( #3333 )
...
* Update gitea version on docs/install-from-binary
* Update all versions
2018-01-09 00:48:05 +02:00
Morgan Bazalgette
674cfb7cac
Change EncodePasswd to HashPassword ( #3329 )
...
* Change EncodePasswd to HashPassword
* Create test+benchmark for HashPassword
2018-01-08 23:28:18 +01:00
kolaente
1f8ef921e2
Merge branch 'master' of https://github.com/go-gitea/gitea
...
# Conflicts:
# models/migrations/migrations.go
# models/migrations/v56.go
2018-01-08 19:08:41 +01:00
kolaente
4d15f28e04
Merge branch 'master' of https://github.com/go-gitea/gitea
...
# Conflicts:
# models/migrations/migrations.go
# models/migrations/v56.go
2018-01-08 19:08:13 +01:00
Sandro Santilli
f2b841d0ec
Add some instructions about running integration tests ( #3319 )
...
* Add some instructions about running integration tests
* Add missing newline escape
* Suggest running a clean build
2018-01-08 18:29:52 +02:00
Deyong Zhu
d663cef2a5
Fix branch name escaping in compare url ( #3311 )
...
* Fixes #3303
2018-01-08 17:17:24 +02:00
Ethan Koenig
f48680888c
Remove IsOwner, NumTeams from OrgUser ( #3269 )
2018-01-08 09:48:37 +02:00
Antoine GIRARD
cb868b7851
Add missing indexer doc in configuration ( #3324 )
...
* Add missing indexer doc in configuration
* Unify MAX_FILE_SIZE to 1024 * 1024
2018-01-08 07:03:52 +02:00
Sandro Santilli
44053532bb
Serve .patch for pull requests ( #3305 )
...
* Serve .patch for pull requests
Closes #3259
Updates "git" module, for GetFormatPatch
* Handle io.Copy error
2018-01-07 15:10:20 +02:00
Alberto González Palomo
18bb0f8f13
Ensure docs makefile downloads theme if failed before. ( #3322 )
...
The makefile did not download the theme if the directory "themes/gitea"
is there, even if empty.
On a fresh Ubuntu install, curl is not included, so the theme rule fails
just after creating the empty directory. When you try again after
installing curl, the rule is not triggered.
This could also happen if the download fails for other reasons.
This change makes the theme rule depend on the file "theme.toml"
which will be there only after unpacking a successfully downloaded
theme archive.
Signed-off-by: Alberto González Palomo <bugs@sentido-labs.com>
2018-01-07 14:11:17 +02:00
GiteaBot
9d8260b3d6
[skip ci] Updated translations via Crowdin
2018-01-07 09:42:08 +00:00
Sandro Santilli
6a6439c5c2
Enable Libravatar by default in new installations ( #3287 )
...
Pre-existing installs still have it default to off.
This is consistent with OpenID setting.
2018-01-07 11:41:09 +02:00
GiteaBot
87f67fd392
[skip ci] Updated translations via Crowdin
2018-01-07 09:14:19 +00:00
Lunny Xiao
835b890329
fix bug when a user delete but assigned on issue ( #3318 )
2018-01-07 11:13:10 +02:00
kolaente
171715b21d
Merge branch 'master' of https://github.com/go-gitea/gitea
...
# Conflicts:
# models/migrations/migrations.go
# models/migrations/v55.go
2018-01-07 00:06:10 +01:00
kolaente
eb295f40c0
Merge branch 'master' of https://github.com/go-gitea/gitea
...
# Conflicts:
# models/migrations/migrations.go
# models/migrations/v55.go
2018-01-07 00:05:43 +01:00
GiteaBot
4002328179
[skip ci] Updated translations via Crowdin
2018-01-06 22:56:53 +00:00
Vlad Temian
e78786ef39
Writable deploy keys ( closes #671 ) ( #3225 )
...
* Add is_writable checkbox to deploy keys interface
* Add writable key option to deploy key form
* Add support for writable ssh keys in the interface
* Rename IsWritable to ReadOnly
* Test: create read-only and read-write deploy keys via api
* Add DeployKey access mode migration
* Update gitea sdk via govendor
* Fix deploykey migration
* Add unittests for writable deploy keys
* Move template text to locale
* Remove implicit column update
* Remove duplicate locales
* Replace ReadOnly field with IsReadOnly method
* Fix deploy_keys related integration test
* Rename v54 migration with v55
* Fix migration hell
2018-01-07 00:55:53 +02:00
kolaente
86be828148
Added more specific locale
2018-01-06 23:04:43 +01:00
kolaente
8bc0947cbd
Added more specific locale
2018-01-06 23:02:04 +01:00
Konrad
f4cb1c7340
Merge branch 'master' of https://github.com/go-gitea/gitea
...
# Conflicts:
# docs/content/doc/advanced/config-cheat-sheet.en-us.md
# models/migrations/migrations.go
# models/migrations/v54.go
# routers/repo/pull.go
2018-01-06 23:01:44 +01:00
kolaente
37dc550bc8
Merge branch 'master' of https://github.com/go-gitea/gitea
...
# Conflicts:
# docs/content/doc/advanced/config-cheat-sheet.en-us.md
# models/migrations/migrations.go
# models/migrations/v54.go
# routers/repo/pull.go
2018-01-06 22:41:44 +01:00