6767 Commits (554581f84855eda4589a4f66bb560a5ca00e63ff)
 

Author SHA1 Message Date
Lanre Adelowo 6ca8fbd2f9 Fixed bug where team with admin privelege type doesn't get any unit attached to the team (#4719) 6 years ago
GiteaBot 05dcfcfc33 [skip ci] Updated translations via Crowdin 6 years ago
Fluf b82c14b3d2 add letsencrypt to Gitea (#4189) 6 years ago
Lanre Adelowo 6c1a31ffaa User shouldn't be able to approve or reject his/her own PR (#4729)
* Make sure author cannot reject/approve their own PR

* Disable buttons in templates too

* Remove unneccessary if check since the switch below catches it

* Fix IsOwner check

* Update template and remove new template variable

* Add alert template and redirect to diff page on review failure

* Redirect to files diff as a little update to #4632
6 years ago
Julien Tant fa93857117 allow WIP marker to contains < or > (#4709) 6 years ago
Lanre Adelowo a6cdda115d Display error when adding a user to a team twice (#4746) 6 years ago
Tosone b1ad5734c6 Add whitespace between chinese characters and english characters. (#4731)
Signed-off-by: Tosone <i@tosiney.com>
6 years ago
GiteaBot 1b2aff02a2 [skip ci] Updated translations via Crowdin 6 years ago
SagePtr 50ce19eff7 Fix failure on creating pull request with assignees (#4419) (#4583) 6 years ago
GiteaBot 8273479b41 [skip ci] Updated translations via Crowdin 6 years ago
Andrew Phillips b30f6b4099 Remove UsePrivilegeSeparation from the Docker sshd_config, see #2876 (#4722)
Signed-off-by: Andrew Phillips <theasp@gmail.com>
6 years ago
GiteaBot f24ba27d79 [skip ci] Updated translations via Crowdin 6 years ago
SagePtr 8f86c43b90 Fix incorrect caption of webhook setting (#4701) (#4717) 6 years ago
GiteaBot bc06ab4a31 [skip ci] Updated translations via Crowdin 6 years ago
Lauris BH 92466129ec
Improve URL validation for external wiki and external issues (#4710)
* Improve URL validation for external wiki  and external issues

* Do not allow also localhost address for external URLs
6 years ago
SagePtr 0449330dbc Make cookies HttpOnly and obey COOKIE_SECURE flag (#4706) 6 years ago
nemoinho ca112f0a04 Add whitespace handling to PR-comparsion (#4683)
* Add whitespace handling to PR-comparsion

In a PR we have to keep an eye on a lot of different things. But sometimes the
bare code is the key-thing we want to care about and just don't want to care
about fixed indention on some places. Especially if we follow the pathfinder
rule we face a lot of these situations because these changes don't break the
code in many languages but improve the readability a lot.

So this change introduce a fine graned button to adjust the way how the
reviewer want to see whitespace-changes within the code.

The possibilities reflect the possibilities from git itself except of the
`--ignore-blank-lines` flag because that one is also handled by `-b` and is
really rare.

Signed-off-by: Felix Nehrke <felix@nehrke.info>
6 years ago
GiteaBot 03e558c29b [skip ci] Updated translations via Crowdin 6 years ago
Julien Tant e6777f7b9d Focus title input when clicking helper link (#4696) 6 years ago
GiteaBot df0eb7372c [skip ci] Updated translations via Crowdin 6 years ago
Julien Tant 7781e8cef2 Disable merging a WIP Pull request (#4529)
* prevent pull request to be merged when PR is a WIP

* add tests

* add helper to prepend WIP: in PR title

* move default wip prefixes into settings

* use configurable WIP prefixes in javascript and default to first one in templates

* add documentation

* add unit test on pull model

Signed-off-by: Julien Tant <julien@craftyx.fr>
6 years ago
Lunny Xiao 52c2cb15db add vendor to user reserved words and format words list according alphabet (#4685) 6 years ago
SagePtr a4fa6bbc89 Hide org/create menu item in Dashboard if user has no rights (#4678) (#4680) 6 years ago
Lauris BH 6e68b61479 Fix dark theme diff box header backround color (#4674) 6 years ago
techknowlogick ce7c64c7e1
Use updated docs link on install page (#4668)
Fix #4665
6 years ago
Lanre Adelowo 3422077a89 make sure to set pr split view (#4617)
Signed-off-by: Lanre Adelowo <yo@lanre.wtf>
6 years ago
Lauris BH 7fbdd4f2ac Enable swagger validation back as issue with it has been fixed upstream (#4673) 6 years ago
SagePtr 3ad5399a31 Update gitea version in install-from-binary docs (#4670) 6 years ago
Lanre Adelowo 69a855f3d4 log user in after a successful sign up (#4615) 6 years ago
SagePtr 4a7de87071 Add gitea/issues link to 500 page (#4654) 6 years ago
techknowlogick 5dfe8b4340
Add 1.5.0 changelog (#4661) 6 years ago
Lunny Xiao 8da45ae2b3 improve comparison to add issue dependency (#4658) 6 years ago
nemoinho 0e04a2091a Fix Split-View line adjustment (#4622)
The $-function is unreachable in the previous implementation because jQuery is
not loaded yet. I fix this by executing the function after the content is
loaded, so jQuery is loaded at the time of execution and the call will not fail
anymore.

Signed-off-by: Felix Nehrke <felix@nehrke.info>
6 years ago
Lunny Xiao 578cf52ce5
Site admin could create repos even MAX_CREATION_LIMIT=0 (#4645)
* site admin could create repos even MAX_CREATION_LIMIT=0

* Optimize if structure
6 years ago
techknowlogick 0e464995ce
Remove link to GitHub issues (#4639) 6 years ago
Piotr Orzechowski 152c6af97e Fix custom templates being ignored (#4638) 6 years ago
GiteaBot 00bd6277a8 [skip ci] Updated translations via Crowdin 6 years ago
Lanre Adelowo 3b51c4f3fb Show review comment box only on a pull request page (#4636)
* Show review comment box only on a pull request page

* Fixed template check
6 years ago
SagePtr 32145b6de8 Push whitelist now doesn't apply to branch deletion (#4601) (#4607) 6 years ago
GiteaBot 67a8688538 [skip ci] Updated translations via Crowdin 6 years ago
Jerry Jacobs b1bc08e268 cmd/serve: pprof cpu and memory profile dumps to disk (#4560) 6 years ago
GiteaBot ed3589f429 [skip ci] Updated translations via Crowdin 6 years ago
Lauris BH 5ae8408725 Fix starring icon after semantic ui update (#4628) 6 years ago
GiteaBot a42900c17f [skip ci] Updated translations via Crowdin 6 years ago
Lanre Adelowo 0df7cab4fb prevent empty review comment (#4632)
* prevent empty review comment

This would only require a comment for rejection and comment

* add tests

* add comment
6 years ago
Lanre Adelowo 59b10e66f7 An inactive user shouldn't be able to be added as a collaborator (#4535)
* an inactive user shouldn't be able to be a collaborator

* use translated error message

* add active user check when adding a new collaborator via the api

* fix translation text

* added collaborator test

* improvee testcases
6 years ago
Lanre Adelowo c7a6ee5c0b Don't fail silently if trying to add a collaborator twice (#4533)
* don't fail silently if trying to add a collaborator twice

* fix translation text

* added collaborator test

* improvee testcases

* Added tests to make sure a collaborator cannot be added twice
6 years ago
GiteaBot 7cb1c1cf20 [skip ci] Updated translations via Crowdin 6 years ago
Dennis Menschel 9c0a374f3f Fix integer constant overflows in tests (#4616)
* Use integer limit value [1] instead of hard-coded magic constant for
  NonexistentID.

* Explicitly use int64 in order to avoid the following errors on 32 bit
  architectures:

  # code.gitea.io/gitea/integrations
  ./api_admin_test.go:50:34: constant 9223372036854775807 overflows int
  ./api_token_test.go:47:34: constant 9223372036854775807 overflows int
  [...]
  # code.gitea.io/gitea/models
  ./action_test.go:179:15: constant 9223372036854775807 overflows int

[1] https://golang.org/pkg/math/#pkg-constants

Signed-off-by: Dennis Menschel <menschel-d@posteo.de>
6 years ago
GiteaBot 9ea327f1f7 [skip ci] Updated translations via Crowdin 6 years ago