Antoine GIRARD
dff4d0bf54
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
7 years ago
Marc Brückner
771af935bf
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
7 years ago
GiteaBot
029e3216d3
[skip ci] Updated translations via Crowdin
7 years ago
Lauris BH
b8e61912af
Change reserved avatar name to correct - avatars ( #3375 )
7 years ago
GiteaBot
4387db121d
[skip ci] Updated translations via Crowdin
7 years ago
muhfaris
32fff997f5
Fix Delete repository message ( #3260 )
7 years ago
Ethan Koenig
18ecc2d3b2
Fix en-US locale ( #3371 )
7 years ago
GiteaBot
654b526212
[skip ci] Updated translations via Crowdin
7 years ago
viktike
c527a9cf7b
Add myself as a translator ( #3370 )
7 years ago
GiteaBot
0f59e86661
[skip ci] Updated translations via Crowdin
7 years ago
Ethan Koenig
cb7348bb4a
Asynchronously populate the repo indexer ( #3366 )
* Populate repo indexer in background
* Check if no repos exist
* race cond
7 years ago
GiteaBot
ed11b79215
[skip ci] Updated translations via Crowdin
7 years ago
Bo-Yi Wu
340dd7ee59
refactor(model): update user method. ( #3360 )
7 years ago
GiteaBot
4ac56d68ed
[skip ci] Updated translations via Crowdin
7 years ago
Morgan Bazalgette
4711309c40
General refactor of the cmd package ( #3328 )
* General refactor of the cmd package
* Address breakage in runCreateUser
* Place "common" functions into cmd.go
7 years ago
Antoine GIRARD
dbc6f400d0
Add MSSQL to supported database list of intall page ( #3359 )
7 years ago
Morgan Bazalgette
385f61a41e
Address issues pointed out by @lunny in #3339 ( #3352 )
7 years ago
GiteaBot
4aa2390ab4
[skip ci] Updated translations via Crowdin
7 years ago
Kim "BKC" Carlbäcker
fb25c73752
Cleanup models.User.HashPassword ( #3334 )
7 years ago
GiteaBot
b661af6e88
[skip ci] Updated translations via Crowdin
7 years ago
Alberto González Palomo
88d2620300
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.
7 years ago
Lauris BH
7e6c1c22ee
Remove hardcoded paths to fix randomly failing tests ( #3347 )
* Remove hardcoded paths to fix randomly failing tests
* Use correct function for merge path
7 years ago
Lauris BH
86e411d78c
Fix randomly failing LFS lock tests in drone ( #3346 )
7 years ago
Morgan Bazalgette
8c916631f0
Handle refactor ( #3339 )
* Replace all ctx.Handle with ctx.ServerError or ctx.NotFound
* Change Handle(403) to NotFound, avoid using macaron's NotFound
7 years ago
Alberto González Palomo
bb34ae094b
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>
7 years ago
Morgan Bazalgette
dbaa0a7aa7
Make the default action for the gitea executable that of running the webserver ( #3331 )
7 years ago
Morgan Bazalgette
12b1a7102e
Fix organization profile on mobile devices ( #3332 )
7 years ago
GiteaBot
85434bc442
[skip ci] Updated translations via Crowdin
7 years ago
Antoine GIRARD
d248be2068
Remove useless fmt.Errorf("%v", err) ( #3337 )
7 years ago
Michael Lustfield
b58bf15ea6
Add MTecknology to MAINTAINERS list ( #3335 )
7 years ago
Richard Schneeman
01120a6392
Add CodeTriage link to README ( #3299 )
7 years ago
Michael Lustfield
c4d0b25eab
General documentation cleanup ( #3317 )
* Clean up spelling, grammar, perspective, whitespace, language, markup, etc.
7 years ago
Kim "BKC" Carlbäcker
d82166b84f
Update gitea version on docs/install-from-binary ( #3333 )
* Update gitea version on docs/install-from-binary
* Update all versions
7 years ago
Morgan Bazalgette
548da9750c
Change EncodePasswd to HashPassword ( #3329 )
* Change EncodePasswd to HashPassword
* Create test+benchmark for HashPassword
7 years ago
Sandro Santilli
0827536aee
Add some instructions about running integration tests ( #3319 )
* Add some instructions about running integration tests
* Add missing newline escape
* Suggest running a clean build
7 years ago
Deyong Zhu
d6afab5416
Fix branch name escaping in compare url ( #3311 )
* Fixes #3303
7 years ago
Ethan Koenig
9621d3f074
Remove IsOwner, NumTeams from OrgUser ( #3269 )
7 years ago
Antoine GIRARD
2ac319bacb
Add missing indexer doc in configuration ( #3324 )
* Add missing indexer doc in configuration
* Unify MAX_FILE_SIZE to 1024 * 1024
7 years ago
Sandro Santilli
bf25effe8f
Serve .patch for pull requests ( #3305 )
* Serve .patch for pull requests
Closes #3259
Updates "git" module, for GetFormatPatch
* Handle io.Copy error
7 years ago
Alberto González Palomo
3b1601ae7e
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>
7 years ago
GiteaBot
efce20402c
[skip ci] Updated translations via Crowdin
7 years ago
Sandro Santilli
9d40f03f40
Enable Libravatar by default in new installations ( #3287 )
Pre-existing installs still have it default to off.
This is consistent with OpenID setting.
7 years ago
GiteaBot
b9ed8b29cb
[skip ci] Updated translations via Crowdin
7 years ago
Lunny Xiao
e4131d12b3
fix bug when a user delete but assigned on issue ( #3318 )
7 years ago
GiteaBot
8683c74875
[skip ci] Updated translations via Crowdin
7 years ago
Vlad Temian
592714a0ab
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
7 years ago
Michael Lustfield
979af8244d
Add defaults to config cheatsheet, and minor language cleanup. ( #3290 )
* Add defaults to config cheatsheet, and clean up document.
* Updates and touchups, per review.
7 years ago
GiteaBot
f8cf51e850
[skip ci] Updated translations via Crowdin
7 years ago
Morgan Bazalgette
1bc7cfedbf
Add myself to MAINTAINERS ( #3313 )
7 years ago
Morgan Bazalgette
c39bc4e259
Make the space for repo actions wider on repo header ( #3312 )
7 years ago