2
0
Commit Graph

888 Commits

Author SHA1 Message Date
GiteaBot
120cdc3616 [skip ci] Updated translations via Crowdin 2019-11-17 19:44:07 +00:00
GiteaBot
4201f004a9 [skip ci] Updated translations via Crowdin 2019-11-17 14:13:14 +00:00
GiteaBot
96bc7296e3 [skip ci] Updated translations via Crowdin 2019-11-17 06:31:35 +00:00
John Olheiser
4f27c14f97 Update dashboard context for PR reviews (#8995)
* Update dashboard context for PR reviews

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

* Update options/locale/locale_en-US.ini

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

* Only append head action if it has content or is approval/rejection

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

* Update options/locale/locale_en-US.ini

Co-Authored-By: guillep2k <18600385+guillep2k@users.noreply.github.com>
2019-11-15 00:52:18 +01:00
GiteaBot
b82179ce8f [skip ci] Updated translations via Crowdin 2019-11-14 08:01:32 +00:00
GiteaBot
8b76473d81 [skip ci] Updated translations via Crowdin 2019-11-13 13:16:43 +00:00
GiteaBot
20d7f0299d [skip ci] Updated translations via Crowdin 2019-11-13 07:22:32 +00:00
Antoine GIRARD
1b5257c630 Show repository size in repo home page and settings (#8940)
* feat: display repository size on repo home and settings

* refactor: move repo size up in setting page
2019-11-13 00:45:19 +00:00
GiteaBot
4419f5864e [skip ci] Updated translations via Crowdin 2019-11-12 22:51:56 +00:00
guillep2k
9250549a01 Fix spelling as suggested by @rmbleeker (#8934) 2019-11-12 10:47:29 -05:00
GiteaBot
ef66d6617f [skip ci] Updated translations via Crowdin 2019-11-12 08:36:01 +00:00
GiteaBot
3f22666d3e [skip ci] Updated translations via Crowdin 2019-11-11 17:09:24 +00:00
GiteaBot
55efdb5a7c [skip ci] Updated translations via Crowdin 2019-11-11 15:19:00 +00:00
John Olheiser
4370413658 Template Repositories (#8768)
* Start work on templates

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

* Continue work

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

* Fix IsTemplate vs IsGenerated

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

* Fix tabs vs spaces

* Tabs vs Spaces

* Add templates to API & start adding tests

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

* Fix integration tests

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

* Remove unused User

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

* Move template tests to existing repos

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

* Minor re-check updates and cleanup

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

* make fmt

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

* Test cleanup

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

* Fix optionalbool

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

* make fmt

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

* Test fixes and icon change

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

* Add new user and repo for tests

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

* Fix tests (finally)

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

* Update meta repo with env variables

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

* Move generation to create page

Combine with repo create template
Modify API search to prioritize owner for repo

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

* Fix tests and coverage

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

* Fix swagger and JS lint

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

* Fix API searching for own private repos

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

* Change wording

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

* Fix repo search test. User had a private repo that didn't show up

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

* Another search test fix

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

* Clarify git content

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

* Feedback updates

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

* Add topics WIP

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

* Finish adding topics

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

* Update locale

Signed-off-by: jolheiser <john.olheiser@gmail.com>
2019-11-11 23:15:29 +08:00
zeripath
545e163eeb Adjust error reporting from merge failures and use LC_ALL=C for git (#8548)
There are two major components to this PR:

* This PR handles merge and rebase failures from merging a little more nicely with Flash errors rather a 500.
* All git commands are run in the LC_ALL="C" environment to ensure that error messages are in English. This DefaultLocale is defined in a way that if necessary (due to platform weirdness) it can be overridden at build time using LDFLAGS="-X "code.gitea.io/gitea/modules/git.DefaultLocale=C"" with C changed for the locale as necessary.
2019-11-10 08:42:51 +00:00
GiteaBot
675035b1af [skip ci] Updated translations via Crowdin 2019-11-09 09:45:09 +00:00
GiteaBot
518647cbaf [skip ci] Updated translations via Crowdin 2019-11-09 03:44:04 +00:00
David Svantesson
c530551674 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
f645d98494 [skip ci] Updated translations via Crowdin 2019-11-07 18:33:04 +00:00
GiteaBot
20b455b347 [skip ci] Updated translations via Crowdin 2019-11-06 13:42:48 +00:00
David Svantesson
a5ea7aaa33 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 753b7d205be260b8be465b5291a02975a81f3093.

* Clarify help text what options do.
2019-11-06 11:37:14 +02:00
GiteaBot
86a81698ae [skip ci] Updated translations via Crowdin 2019-11-06 06:44:54 +00:00
GiteaBot
6c51d7c5f8 [skip ci] Updated translations via Crowdin 2019-11-05 12:09:43 +00:00
GiteaBot
61b5e11aa5 [skip ci] Updated translations via Crowdin 2019-11-05 06:52:00 +00:00
Lauris BH
bbf8cbc469 Add additional periods to activity page (#8829) 2019-11-05 00:45:48 -05:00
GiteaBot
cb4f944a33 [skip ci] Updated translations via Crowdin 2019-11-04 10:23:49 +00:00
GiteaBot
daee1e2293 [skip ci] Updated translations via Crowdin 2019-11-04 04:52:17 +00:00
GiteaBot
4ce8eb068c [skip ci] Updated translations via Crowdin 2019-11-02 22:49:35 +00:00
GiteaBot
bcbf7c19a9 [skip ci] Updated translations via Crowdin 2019-11-02 15:29:18 +00:00
GiteaBot
ffd6d0a265 [skip ci] Updated translations via Crowdin 2019-11-02 13:40:49 +00:00
David Svantesson
f5368d91ba 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
52e4f2747b [skip ci] Updated translations via Crowdin 2019-11-01 18:20:30 +00:00
GiteaBot
4b68bb6f36 [skip ci] Updated translations via Crowdin 2019-10-31 18:01:29 +00:00
GiteaBot
f0eab7e721 [skip ci] Updated translations via Crowdin 2019-10-31 05:12:32 +00:00
GiteaBot
d3841c5cd9 [skip ci] Updated translations via Crowdin 2019-10-30 20:34:47 +00:00
zeripath
6b10652e12 Update licenses (#8752)
Replaces #8182
2019-10-30 16:19:14 +00:00
GiteaBot
b4b87581b2 [skip ci] Updated translations via Crowdin 2019-10-30 12:45:34 +00:00
GiteaBot
45570e523d [skip ci] Updated translations via Crowdin 2019-10-30 06:01:01 +00:00
Benno
d9a2d54477 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
6f14183c0f [skip ci] Updated translations via Crowdin 2019-10-29 14:49:58 +00:00
GiteaBot
ad1a45d6ed [skip ci] Updated translations via Crowdin 2019-10-28 19:31:28 +00:00
zeripath
1a5dec237a 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
03fea86637 [skip ci] Updated translations via Crowdin 2019-10-27 20:48:38 +00:00
GiteaBot
57fe0128ce [skip ci] Updated translations via Crowdin 2019-10-26 06:56:48 +00:00
GiteaBot
406584c90e [skip ci] Updated translations via Crowdin 2019-10-26 00:45:54 +00:00
David Svantesson
c7ae6a7c8d 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
60eb790175 [skip ci] Updated translations via Crowdin 2019-10-25 07:23:33 +00:00
GiteaBot
9d6576b4a6 [skip ci] Updated translations via Crowdin 2019-10-24 21:14:00 +00:00
GiteaBot
318f0f4b0d [skip ci] Updated translations via Crowdin 2019-10-24 01:20:30 +00:00
zeripath
0456ab7d8d 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