586 Commits (b28e527a2bc6bba034cbb9ed48b93d0422e09032)

Author SHA1 Message Date
GiteaBot afdc0ca41d [skip ci] Updated translations via Crowdin 5 years ago
GiteaBot 1cf3fc3bc5 [skip ci] Updated translations via Crowdin 5 years ago
GiteaBot a1214978b3 [skip ci] Updated translations via Crowdin 5 years ago
GiteaBot b03d780ccb [skip ci] Updated translations via Crowdin 5 years ago
GiteaBot 795f6e04ad [skip ci] Updated translations via Crowdin 5 years ago
GiteaBot eea1155afe [skip ci] Updated translations via Crowdin 5 years ago
GiteaBot 2982413f8d [skip ci] Updated translations via Crowdin 5 years ago
GiteaBot b79820f610 [skip ci] Updated translations via Crowdin 5 years ago
Lanre Adelowo 44114b38e6 Implement "conversation lock" for issue comments (#5073) 5 years ago
Rémy Boulanouar 64ce159a6e Allow to set organization visibility (public, internal, private) (#1763) 5 years ago
GiteaBot ae3a913122 [skip ci] Updated translations via Crowdin 5 years ago
GiteaBot 8d3bb86e20 [skip ci] Updated translations via Crowdin 5 years ago
John Olheiser 0b72c00fad Allow labels to contain emoji (#6063)
* Add emoji to labels
Minor cleanup of tribute code in footer.tmpl

Signed-off-by: jolheiser <john.olheiser@gmail.com>

* Quick find/replace in other i18n files containing label translations

Signed-off-by: jolheiser <john.olheiser@gmail.com>

* Revert "Quick find/replace in other i18n files containing label translations"

This reverts commit ec3e1a3a1775989301bb2c1cd08e8871b317688d.

* Add style to overwrite emoji height in labels

* Revert Makefile change that makes Windows work
5 years ago
GiteaBot 7ae59567a2 [skip ci] Updated translations via Crowdin 5 years ago
GiteaBot 7a72aa623e [skip ci] Updated translations via Crowdin 5 years ago
zeripath 2a03e96bce
Allow markdown files to read from the LFS (#5787)
This PR makes it possible for the markdown renderer to render images and media straight from the LFS.

Fix #5746

Signed-off-by: Andrew Thornton [art27@cantab.net](mailto:art27@cantab.net)
5 years ago
GiteaBot 48a9025346 [skip ci] Updated translations via Crowdin 5 years ago
GiteaBot baffea1ddb [skip ci] Updated translations via Crowdin 5 years ago
Lanre Adelowo 9d8178b3ac Add option to close issues via commit on a non master branch (#5992)
* fixes #5957

* add tests to make sure config option is respected

* use already defined struct

* - use migration to make the flag repo wide not for the entire gitea instance
Also note that the config value can still be set so as to be able to control the value for new repositories that are to be created

- fix copy/paste error in copyright header year and rearrange import

- use repo config instead of server config value to determine if a commit should close an issue

- update testsuite

* use global config only when creating a new repository

* allow repo admin toggle feature via UI

* fix typo and improve testcase

* fix fixtures

* add DEFAULT prefix to config value

* fix test
5 years ago
GiteaBot db58dbabfc [skip ci] Updated translations via Crowdin 5 years ago
Lanre Adelowo 2e85e70e38 Enhance closed PR and Issue status in the list (#6000)
* working version

* Update options/locale/locale_en-US.ini

Co-Authored-By: adelowo <adelowomailbox@gmail.com>

* update templates
5 years ago
GiteaBot f60b1d8fe2 [skip ci] Updated translations via Crowdin 5 years ago
GiteaBot 0c840a924a [skip ci] Updated translations via Crowdin 5 years ago
GiteaBot 1772893505 [skip ci] Updated translations via Crowdin 5 years ago
Lunny Xiao bf4badad1d Pull request conflict files detection (#5951)
* add conflict detection

* test pull request conflict files

* fix detection files number

* fix comments
5 years ago
GiteaBot 680a57ce92 [skip ci] Updated translations via Crowdin 5 years ago
Lanre Adelowo 5390791224 Automatically clear stopwatch on merging a PR (#4327)
* Don't display buttons if there are no notices

* clear stopwatch on merging a PR

* remove redundant gt check

* use ctx.Flash as per @bkcsoft comment

* stop timer on closing issues/PRs too

* updated translation as per review

* redirect to login page after successfully activating account

* remove unrelated changes

* stop timer for issues that are closed via commits too..Not just the 'close' UI button
5 years ago
GiteaBot 5bd594c858 [skip ci] Updated translations via Crowdin 5 years ago
GiteaBot f21ae12abb [skip ci] Updated translations via Crowdin 5 years ago
zeripath 01c10a951b
Fix ssh deploy and user key constraints (#1357) (#5939)
1. A key can either be an ssh user key or a deploy key. It cannot be both.
2. If a key is a user key - it can only be associated with one user.
3. If a key is a deploy key - it can be used in multiple repositories and the permissions it has on those repositories can be different.
4. If a repository is deleted, its deploy keys must be deleted too.

We currently don't enforce any of this and multiple repositories access with different permissions doesn't work at all. This PR enforces the following constraints:

- [x] You should not be able to add the same user key as another user
- [x] You should not be able to add a ssh user key which is being used as a deploy key
- [x] You should not be able to add a ssh deploy key which is being used as a user key
- [x] If you add an ssh deploy key to another repository you should be able to use it in different modes without losing the ability to use it in the other mode.
- [x] If you delete a repository you must delete all its deploy keys.

Fix #1357
5 years ago
GiteaBot 98feb0ef4d [skip ci] Updated translations via Crowdin 5 years ago
GiteaBot 002e898bcf [skip ci] Updated translations via Crowdin 6 years ago
GiteaBot bc748f205a [skip ci] Updated translations via Crowdin 6 years ago
Lanre Adelowo 7461c5a75f Fix "pulls.blocked_by_approvals" text (#5879) 6 years ago
GiteaBot 56415fa2fc [skip ci] Updated translations via Crowdin 6 years ago
zeripath 182a6d6885 Fix wording of #5858 issue.review.reject string (#5869)
As per @lafriks comment this should be: requested changes

Signed-off-by: Andrew Thornton <art27@cantab.net>
6 years ago
GiteaBot 34a1c4c514 [skip ci] Updated translations via Crowdin 6 years ago
GiteaBot 2d8520d039 [skip ci] Updated translations via Crowdin 6 years ago
Lanre Adelowo b8a81cb1b8 Rename reject to 'request changes' (#5858)
* remame reject to 'request changes

* make usee of requested changes in issue's view content
6 years ago
GiteaBot ac766fe3de [skip ci] Updated translations via Crowdin 6 years ago
GiteaBot 62da3bee1a [skip ci] Updated translations via Crowdin 6 years ago
GiteaBot 4aa2f4f45f [skip ci] Updated translations via Crowdin 6 years ago
GiteaBot b9f87376a2 [skip ci] Updated translations via Crowdin 6 years ago
kolaente 0b510725c9 Feature: Archive repos (#5009) 6 years ago
GiteaBot 6a949af8ca [skip ci] Updated translations via Crowdin 6 years ago
GiteaBot 2d9456137e [skip ci] Updated translations via Crowdin 6 years ago
Lanre Adelowo e1fcd6b742 Disallow empty titles (#5785)
* add util method and tests

* make sure the title of an issue cannot be empty

* wiki title cannot be empty

* pull request title cannot be empty

* update to make use of the new util methof
6 years ago
GiteaBot 8a92544a3e [skip ci] Updated translations via Crowdin 6 years ago
GiteaBot fba1f14779 [skip ci] Updated translations via Crowdin 6 years ago
GiteaBot f54e0d2f16 [skip ci] Updated translations via Crowdin 6 years ago