Commit Graph

872 Commits

Author SHA1 Message Date
GiteaBot c15d371939 [skip ci] Updated translations via Crowdin 2019-11-09 03:44:04 +00:00
David Svantesson 9ae4c17cb1 Allow to add and remove all repositories to/from team. (#8867)
* Allow to add and remove all repositories to team.

* Change style, buttons on same row.

* Apply suggestions from code review

Grammar

Co-Authored-By: guillep2k <18600385+guillep2k@users.noreply.github.com>

* Move set num repos to lower function.

* Make general language sentences
2019-11-09 08:39:37 +08:00
GiteaBot 884acf8295 [skip ci] Updated translations via Crowdin 2019-11-07 18:33:04 +00:00
GiteaBot f05cd3e317 [skip ci] Updated translations via Crowdin 2019-11-06 13:42:48 +00:00
David Svantesson 72aa5a20ec Add team option to grant rights for all organization repositories (#8688)
* Add field IsAllRepositories to team

* Add AllRepositories to team UI

* Manage team with access to all repositories

* Add field IsAllRepositories to team API

* put backticks around table/column names

* rename IsAllRepositories to IncludesAllRepositories

* do not reload slice if already loaded

* add repo to teams with access to all repositories when changing repo owner

* improve tests for teams with access to all repositories

* Merge branch 'master'

* Change code for adding all repositories

Signed-off-by: David Svantesson <davidsvantesson@gmail.com>

* fmt after merge

* Change code in API EditTeam similar to EditTeamPost web interface

Signed-off-by: David Svantesson <davidsvantesson@gmail.com>

* Clarify that all repositories will be added

Signed-off-by: David Svantesson <davidsvantesson@gmail.com>

* All repositories option under Permissions headline

* New setting group 'Repository access'

* Move check IncludeAllRepositories to removeRepository.

* Revert "Move check IncludeAllRepositories to removeRepository." and add comment instead.

This reverts commit 753b7d205b.

* Clarify help text what options do.
2019-11-06 11:37:14 +02:00
GiteaBot 6d42add37f [skip ci] Updated translations via Crowdin 2019-11-06 06:44:54 +00:00
GiteaBot 79fd422a92 [skip ci] Updated translations via Crowdin 2019-11-05 12:09:43 +00:00
GiteaBot 2f4ef84cbf [skip ci] Updated translations via Crowdin 2019-11-05 06:52:00 +00:00
Lauris BH a91679c9e3 Add additional periods to activity page (#8829) 2019-11-05 00:45:48 -05:00
GiteaBot 3fb9e3afe3 [skip ci] Updated translations via Crowdin 2019-11-04 10:23:49 +00:00
GiteaBot ee5249889d [skip ci] Updated translations via Crowdin 2019-11-04 04:52:17 +00:00
GiteaBot 61a3eae923 [skip ci] Updated translations via Crowdin 2019-11-02 22:49:35 +00:00
GiteaBot 729708e878 [skip ci] Updated translations via Crowdin 2019-11-02 15:29:18 +00:00
GiteaBot dd9cb32bff [skip ci] Updated translations via Crowdin 2019-11-02 13:40:49 +00:00
David Svantesson 232340f5e3 Prevent upload (overwrite) of lfs locked file (#8769)
* Check if file is locked on upload file commit.

* Better user message if file is locked.

* Check lfs lock before creating temporary repository. fix some errors.

* move lines

* Add comment that enabled setting is checked.
2019-11-02 15:37:05 +08:00
GiteaBot 9175556da0 [skip ci] Updated translations via Crowdin 2019-11-01 18:20:30 +00:00
GiteaBot 4ee986e4c9 [skip ci] Updated translations via Crowdin 2019-10-31 18:01:29 +00:00
GiteaBot cb1048d780 [skip ci] Updated translations via Crowdin 2019-10-31 05:12:32 +00:00
GiteaBot 7432396514 [skip ci] Updated translations via Crowdin 2019-10-30 20:34:47 +00:00
zeripath bda70b848f
Update licenses (#8752)
Replaces #8182
2019-10-30 16:19:14 +00:00
GiteaBot 7d9351779f [skip ci] Updated translations via Crowdin 2019-10-30 12:45:34 +00:00
GiteaBot 56ebc0c003 [skip ci] Updated translations via Crowdin 2019-10-30 06:01:01 +00:00
Benno 7bb817e6d1 Respect LFS File Lock on UI (#8719)
* update #8687 respect file locking

* upate #8687 Add LFS locker information

* update #8719 enhance coding style and return error
2019-10-29 23:32:21 +02:00
GiteaBot 9513a6983a [skip ci] Updated translations via Crowdin 2019-10-29 14:49:58 +00:00
GiteaBot 09b281a6ac [skip ci] Updated translations via Crowdin 2019-10-28 19:31:28 +00:00
zeripath 5e6a008fba
Add basic repository lfs management (#7199)
This PR adds basic repository LFS management UI including the ability to find all possible pointers within the repository. Locks are not managed at present but would be addable through some simple additions.

* Add basic repository lfs management
* add auto-associate function
* Add functionality to find commits with this lfs file
* Add link to find commits on the lfs file view
* Adjust commit view to state the likely branch causing the commit
* Only read Oid from database
2019-10-28 18:31:55 +00:00
GiteaBot 478f7db68e [skip ci] Updated translations via Crowdin 2019-10-27 20:48:38 +00:00
GiteaBot 70fa80df11 [skip ci] Updated translations via Crowdin 2019-10-26 06:56:48 +00:00
GiteaBot d2d5910894 [skip ci] Updated translations via Crowdin 2019-10-26 00:45:54 +00:00
David Svantesson 6aa3f8bc29 Mail assignee when issue/pull request is assigned (#8546)
* Send email to assigned user

* Only send mail if enabled

* Mail also when assigned through API

* Need to refactor functions from models to issue service

* Refer to issue index rather than ID

* Disable email notifications completly at initalization if global disable

* Check of user enbled mail shall be in mail notification function only

* Initialize notifications from routers init function.

* Use the assigned comment when sending assigned mail

* Refactor so that assignees always added as separate step when new issue/pr.

* Check error from AddAssignees

* Check if user can be assiged to issue or pull request

* Missing return

* Refactor of CanBeAssigned check.

CanBeAssigned shall have same check as UI.

* Clarify function names (toggle rather than update/change), and clean up.

* Fix review comments.

* Flash error if assignees was not added when creating issue/pr

* Generate error if assignee users doesn't exist
2019-10-25 22:46:37 +08:00
GiteaBot 516fd7d3ae [skip ci] Updated translations via Crowdin 2019-10-25 07:23:33 +00:00
GiteaBot a520236cb5 [skip ci] Updated translations via Crowdin 2019-10-24 21:14:00 +00:00
GiteaBot ab791fe7bb [skip ci] Updated translations via Crowdin 2019-10-24 01:20:30 +00:00
zeripath c84174b764
Use AppSubUrl for more redirections (#8647)
Fix #8461 - fix misspelling of {{AppSubUrl}} and other misspelling in template
Fixes /explore and organisation redirection
2019-10-23 22:04:22 +01:00
GiteaBot ace0346c66 [skip ci] Updated translations via Crowdin 2019-10-23 17:58:51 +00:00
jaqra dbd9d8dd54 Add 'Alt + click' feature to exclude labels (#8199)
Add 'Alt + click' and 'Alt +enter' feature to exclude particular labels on searching for issues.
2019-10-23 17:29:14 +01:00
GiteaBot 637e3219ab [skip ci] Updated translations via Crowdin 2019-10-23 15:37:47 +00:00
GiteaBot 7d1a7c05db [skip ci] Updated translations via Crowdin 2019-10-23 14:39:37 +00:00
GiteaBot b4b0e22f5f [skip ci] Updated translations via Crowdin 2019-10-23 11:51:49 +00:00
GiteaBot a41a965db2 [skip ci] Updated translations via Crowdin 2019-10-22 12:39:06 +00:00
GiteaBot 73f8069249 [skip ci] Updated translations via Crowdin 2019-10-21 20:22:31 +00:00
GiteaBot 41c7aa5a3a [skip ci] Updated translations via Crowdin 2019-10-21 13:41:05 +00:00
zeripath 0bfe5eb10b
Allow Protected Branches to Whitelist Deploy Keys (#8483)
Add an option to protected branches to add writing deploy keys to the whitelist for pushing.

Please note this is technically a breaking change: previously if the owner of a repository was on the whitelist then any writing deploy key was effectively on the whitelist. This option will now need to be set if that is desired.

Closes #8472 

Details:
* Allow Protected Branches to Whitelist Deploy Keys
* Add migration
* Ensure that IsDeployKey is set to false on the http pushes
* add not null default false
2019-10-21 09:21:45 +01:00
GiteaBot b539a6e6e3 [skip ci] Updated translations via Crowdin 2019-10-21 06:58:59 +00:00
GiteaBot c8f3146cd5 [skip ci] Updated translations via Crowdin 2019-10-20 18:32:35 +00:00
GiteaBot 85e4190761 [skip ci] Updated translations via Crowdin 2019-10-20 11:44:44 +00:00
6543 3b379691fa move translation to crowdin (#8596) 2019-10-20 12:06:53 +03:00
GiteaBot 23045c7d53 [skip ci] Updated translations via Crowdin 2019-10-18 11:15:16 +00:00
GiteaBot fecd8f949d [skip ci] Updated translations via Crowdin 2019-10-18 08:35:26 +00:00
GiteaBot d44053eeda [skip ci] Updated translations via Crowdin 2019-10-18 07:00:14 +00:00