viktike
18bf6be398
Add myself as a translator ( #3370 )
7 years ago
GiteaBot
6da5ed2594
[skip ci] Updated translations via Crowdin
7 years ago
Ethan Koenig
ccdb94992d
Asynchronously populate the repo indexer ( #3366 )
...
* Populate repo indexer in background
* Check if no repos exist
* race cond
7 years ago
GiteaBot
a8325dd1cb
[skip ci] Updated translations via Crowdin
7 years ago
Bo-Yi Wu
7a2a3fbafc
refactor(model): update user method. ( #3360 )
7 years ago
GiteaBot
f7088292bb
[skip ci] Updated translations via Crowdin
7 years ago
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
7 years ago
Antoine GIRARD
079273e2ff
Add MSSQL to supported database list of intall page ( #3359 )
7 years ago
Morgan Bazalgette
eb0f166f50
Address issues pointed out by @lunny in #3339 ( #3352 )
7 years ago
GiteaBot
51a18f7e54
[skip ci] Updated translations via Crowdin
7 years ago
Kim "BKC" Carlbäcker
e5b8b4b5ec
Cleanup models.User.HashPassword ( #3334 )
7 years ago
GiteaBot
9aed18073d
[skip ci] Updated translations via Crowdin
7 years ago
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.
7 years ago
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
7 years ago
Lauris BH
d8dff304c0
Fix randomly failing LFS lock tests in drone ( #3346 )
7 years ago
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
7 years ago
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>
7 years ago
Morgan Bazalgette
88a3bb6d42
Make the default action for the gitea executable that of running the webserver ( #3331 )
7 years ago
Morgan Bazalgette
b5fba4cd42
Fix organization profile on mobile devices ( #3332 )
7 years ago
GiteaBot
6070c9a5b8
[skip ci] Updated translations via Crowdin
7 years ago
Antoine GIRARD
84feb016f5
Remove useless fmt.Errorf("%v", err) ( #3337 )
7 years ago
Michael Lustfield
e7295f27a9
Add MTecknology to MAINTAINERS list ( #3335 )
7 years ago
Richard Schneeman
f737d37804
Add CodeTriage link to README ( #3299 )
7 years ago
Michael Lustfield
3ee8be3849
General documentation cleanup ( #3317 )
...
* Clean up spelling, grammar, perspective, whitespace, language, markup, etc.
7 years ago
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
7 years ago
Morgan Bazalgette
674cfb7cac
Change EncodePasswd to HashPassword ( #3329 )
...
* Change EncodePasswd to HashPassword
* Create test+benchmark for HashPassword
7 years ago
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
7 years ago
Deyong Zhu
d663cef2a5
Fix branch name escaping in compare url ( #3311 )
...
* Fixes #3303
7 years ago
Ethan Koenig
f48680888c
Remove IsOwner, NumTeams from OrgUser ( #3269 )
7 years ago
Antoine GIRARD
cb868b7851
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
44053532bb
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
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>
7 years ago
GiteaBot
9d8260b3d6
[skip ci] Updated translations via Crowdin
7 years ago
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.
7 years ago
GiteaBot
87f67fd392
[skip ci] Updated translations via Crowdin
7 years ago
Lunny Xiao
835b890329
fix bug when a user delete but assigned on issue ( #3318 )
7 years ago
GiteaBot
4002328179
[skip ci] Updated translations via Crowdin
7 years ago
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
7 years ago
Michael Lustfield
70b6c07590
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
52d93f7c31
[skip ci] Updated translations via Crowdin
7 years ago
Morgan Bazalgette
6032682fc1
Add myself to MAINTAINERS ( #3313 )
7 years ago
Morgan Bazalgette
8ef1711055
Make the space for repo actions wider on repo header ( #3312 )
7 years ago
GiteaBot
2d31986236
[skip ci] Updated translations via Crowdin
7 years ago
Lunny Xiao
bf78c95d80
add external tool docs ( #3301 )
7 years ago
GiteaBot
15b8720c5d
[skip ci] Updated translations via Crowdin
7 years ago
Lauris BH
8ac1501ad7
Add Pull Request merge options - Ignore white-space for conflict checking, Rebase, Squash merge ( #3188 )
...
* Pull request options migration and UI in settings
* Add ignore whitespace functionality
* Fix settings if pull requests are disabled
* Fix migration transaction
* Merge with Rebase functionality
* UI changes and related functionality for pull request merging button
* Implement squash functionality
* Fix rebase merging
* Fix pull request merge tests
* Add squash and rebase tests
* Fix API method to reuse default message functions
* Some refactoring and small fixes
* Remove more hardcoded values from tests
* Remove unneeded check from API method
* Fix variable name and comment typo
* Fix reset commit count after PR merge
7 years ago
Sandro Santilli
a192f3052e
Serve pull request .diff files ( #3293 )
...
* Serve pull request .diff files
Closes #3259
* Add test for pull request redirection and .diff access
* Typo
* There's no need to test for pr.BaseRepo being nil after calling GetBaseRepo
7 years ago
Ethan Koenig
ce7ae17b81
Fix swagger docs ( #3300 )
7 years ago
Alberto González Palomo
30fb81c71e
Use issue number/index instead of id for API URL. ( #3298 )
...
Using the API calls, the issue objects retrieved by
/repos/{owner}/{repo}/issues
contains the wrong value in the "url" field:
it uses the "id" value instead of the "number" value.
For instance, in a new repo in try.gitea.io with just one issue:
[{
"id": 896,
"url": "https://try.gitea.io/api/v1/repos/AlbertoGP/uno/issues/896 ",
"number": 1,
...
}]
The given URL does not work, but if you replace the "896" by "1" it
does.
7 years ago
modmew8
9f8349af06
Fixed asterisk based tasklist items, fixed requirement for one char after last blank to be a valid task. ( #3296 )
...
Signed-off-by: modmew8 <modmew8@gmail.com>
7 years ago