description: 'Timestamp of the project last activity'
description: 'Timestamp of the project last activity'
field:archived,GraphQL::BOOLEAN_TYPE,null: true,
field:archived,GraphQL::BOOLEAN_TYPE,null: true,
description: 'Archived status of the project'
description: 'Indicates the archived status of the project'
field:visibility,GraphQL::STRING_TYPE,null: true,
field:visibility,GraphQL::STRING_TYPE,null: true,
description: 'Visibility of the project'
description: 'Visibility of the project'
...
@@ -102,6 +102,8 @@ module Types
...
@@ -102,6 +102,8 @@ module Types
description: 'Indicates if a link to create or view a merge request should display after a push to Git repositories of the project from the command line'
description: 'Indicates if a link to create or view a merge request should display after a push to Git repositories of the project from the command line'
=_('Select the branch you want to set as the default for this project. All merge requests and commits will automatically be made against this branch unless you specify a different one.')
=_('Select the branch you want to set as the default for this project. All merge requests and commits will automatically be made against this branch unless you specify a different one.')
-placeholder=model.is_a?(MergeRequest)?_('Describe the goal of the changes and what reviewers should be aware of.'):_('Write a comment or drag your files here…')
-placeholder=model.is_a?(MergeRequest)?_('Describe the goal of the changes and what reviewers should be aware of.'):_('Write a comment or drag your files here…')
@@ -156,6 +156,7 @@ When the user is authenticated and `simple` is not set this returns something li
...
@@ -156,6 +156,7 @@ When the user is authenticated and `simple` is not set this returns something li
"remove_source_branch_after_merge":false,
"remove_source_branch_after_merge":false,
"request_access_enabled":false,
"request_access_enabled":false,
"merge_method":"merge",
"merge_method":"merge",
"autoclose_referenced_issues":true,
"statistics":{
"statistics":{
"commit_count":37,
"commit_count":37,
"storage_size":1038090,
"storage_size":1038090,
...
@@ -254,6 +255,7 @@ When the user is authenticated and `simple` is not set this returns something li
...
@@ -254,6 +255,7 @@ When the user is authenticated and `simple` is not set this returns something li
"packages_enabled":true,
"packages_enabled":true,
"service_desk_enabled":false,
"service_desk_enabled":false,
"service_desk_address":null,
"service_desk_address":null,
"autoclose_referenced_issues":true,
"statistics":{
"statistics":{
"commit_count":12,
"commit_count":12,
"storage_size":2066080,
"storage_size":2066080,
...
@@ -385,6 +387,7 @@ This endpoint supports [keyset pagination](README.md#keyset-based-pagination) fo
...
@@ -385,6 +387,7 @@ This endpoint supports [keyset pagination](README.md#keyset-based-pagination) fo
"remove_source_branch_after_merge":false,
"remove_source_branch_after_merge":false,
"request_access_enabled":false,
"request_access_enabled":false,
"merge_method":"merge",
"merge_method":"merge",
"autoclose_referenced_issues":true,
"statistics":{
"statistics":{
"commit_count":37,
"commit_count":37,
"storage_size":1038090,
"storage_size":1038090,
...
@@ -483,6 +486,7 @@ This endpoint supports [keyset pagination](README.md#keyset-based-pagination) fo
...
@@ -483,6 +486,7 @@ This endpoint supports [keyset pagination](README.md#keyset-based-pagination) fo
"packages_enabled":true,
"packages_enabled":true,
"service_desk_enabled":false,
"service_desk_enabled":false,
"service_desk_address":null,
"service_desk_address":null,
"autoclose_referenced_issues":true,
"statistics":{
"statistics":{
"commit_count":12,
"commit_count":12,
"storage_size":2066080,
"storage_size":2066080,
...
@@ -593,6 +597,7 @@ Example response:
...
@@ -593,6 +597,7 @@ Example response:
"remove_source_branch_after_merge":false,
"remove_source_branch_after_merge":false,
"request_access_enabled":false,
"request_access_enabled":false,
"merge_method":"merge",
"merge_method":"merge",
"autoclose_referenced_issues":true,
"statistics":{
"statistics":{
"commit_count":37,
"commit_count":37,
"storage_size":1038090,
"storage_size":1038090,
...
@@ -688,6 +693,7 @@ Example response:
...
@@ -688,6 +693,7 @@ Example response:
"packages_enabled":true,
"packages_enabled":true,
"service_desk_enabled":false,
"service_desk_enabled":false,
"service_desk_address":null,
"service_desk_address":null,
"autoclose_referenced_issues":true,
"statistics":{
"statistics":{
"commit_count":12,
"commit_count":12,
"storage_size":2066080,
"storage_size":2066080,
...
@@ -829,6 +835,7 @@ GET /projects/:id
...
@@ -829,6 +835,7 @@ GET /projects/:id
"packages_enabled":true,
"packages_enabled":true,
"service_desk_enabled":false,
"service_desk_enabled":false,
"service_desk_address":null,
"service_desk_address":null,
"autoclose_referenced_issues":true,
"statistics":{
"statistics":{
"commit_count":37,
"commit_count":37,
"storage_size":1038090,
"storage_size":1038090,
...
@@ -986,6 +993,7 @@ POST /projects
...
@@ -986,6 +993,7 @@ POST /projects
| `only_allow_merge_if_pipeline_succeeds` | boolean | no | Set whether merge requests can only be merged with successful jobs |
| `only_allow_merge_if_pipeline_succeeds` | boolean | no | Set whether merge requests can only be merged with successful jobs |
| `only_allow_merge_if_all_discussions_are_resolved` | boolean | no | Set whether merge requests can only be merged when all the discussions are resolved |
| `only_allow_merge_if_all_discussions_are_resolved` | boolean | no | Set whether merge requests can only be merged when all the discussions are resolved |
| `merge_method` | string | no | Set the [merge method](#project-merge-method) used |
| `merge_method` | string | no | Set the [merge method](#project-merge-method) used |
| `autoclose_referenced_issues` | boolean | no | Set whether auto-closing referenced issues on default branch |
| `remove_source_branch_after_merge` | boolean | no | Enable `Delete source branch` option by default for all new merge requests |
| `remove_source_branch_after_merge` | boolean | no | Enable `Delete source branch` option by default for all new merge requests |
| `lfs_enabled` | boolean | no | Enable LFS |
| `lfs_enabled` | boolean | no | Enable LFS |
| `request_access_enabled` | boolean | no | Allow users to request member access |
| `request_access_enabled` | boolean | no | Allow users to request member access |
...
@@ -1050,6 +1058,7 @@ POST /projects/user/:user_id
...
@@ -1050,6 +1058,7 @@ POST /projects/user/:user_id
| `only_allow_merge_if_pipeline_succeeds` | boolean | no | Set whether merge requests can only be merged with successful jobs |
| `only_allow_merge_if_pipeline_succeeds` | boolean | no | Set whether merge requests can only be merged with successful jobs |
| `only_allow_merge_if_all_discussions_are_resolved` | boolean | no | Set whether merge requests can only be merged when all the discussions are resolved |
| `only_allow_merge_if_all_discussions_are_resolved` | boolean | no | Set whether merge requests can only be merged when all the discussions are resolved |
| `merge_method` | string | no | Set the [merge method](#project-merge-method) used |
| `merge_method` | string | no | Set the [merge method](#project-merge-method) used |
| `autoclose_referenced_issues` | boolean | no | Set whether auto-closing referenced issues on default branch |
| `remove_source_branch_after_merge` | boolean | no | Enable `Delete source branch` option by default for all new merge requests |
| `remove_source_branch_after_merge` | boolean | no | Enable `Delete source branch` option by default for all new merge requests |
| `lfs_enabled` | boolean | no | Enable LFS |
| `lfs_enabled` | boolean | no | Enable LFS |
| `request_access_enabled` | boolean | no | Allow users to request member access |
| `request_access_enabled` | boolean | no | Allow users to request member access |
...
@@ -1113,6 +1122,7 @@ PUT /projects/:id
...
@@ -1113,6 +1122,7 @@ PUT /projects/:id
| `only_allow_merge_if_pipeline_succeeds` | boolean | no | Set whether merge requests can only be merged with successful jobs |
| `only_allow_merge_if_pipeline_succeeds` | boolean | no | Set whether merge requests can only be merged with successful jobs |
| `only_allow_merge_if_all_discussions_are_resolved` | boolean | no | Set whether merge requests can only be merged when all the discussions are resolved |
| `only_allow_merge_if_all_discussions_are_resolved` | boolean | no | Set whether merge requests can only be merged when all the discussions are resolved |
| `merge_method` | string | no | Set the [merge method](#project-merge-method) used |
| `merge_method` | string | no | Set the [merge method](#project-merge-method) used |
| `autoclose_referenced_issues` | boolean | no | Set whether auto-closing referenced issues on default branch |
| `remove_source_branch_after_merge` | boolean | no | Enable `Delete source branch` option by default for all new merge requests |
| `remove_source_branch_after_merge` | boolean | no | Enable `Delete source branch` option by default for all new merge requests |
| `lfs_enabled` | boolean | no | Enable LFS |
| `lfs_enabled` | boolean | no | Enable LFS |
| `request_access_enabled` | boolean | no | Allow users to request member access |
| `request_access_enabled` | boolean | no | Allow users to request member access |
@@ -70,6 +70,7 @@ When using spring and guard together, use `SPRING=1 bundle exec guard` instead t
...
@@ -70,6 +70,7 @@ When using spring and guard together, use `SPRING=1 bundle exec guard` instead t
use a Capyabara matcher beforehand (e.g. `find('.js-foo')`) to ensure the element actually exists.
use a Capyabara matcher beforehand (e.g. `find('.js-foo')`) to ensure the element actually exists.
- Use `focus: true` to isolate parts of the specs you want to run.
- Use `focus: true` to isolate parts of the specs you want to run.
- Use [`:aggregate_failures`](https://relishapp.com/rspec/rspec-core/docs/expectation-framework-integration/aggregating-failures) when there is more than one expectation in a test.
- Use [`:aggregate_failures`](https://relishapp.com/rspec/rspec-core/docs/expectation-framework-integration/aggregating-failures) when there is more than one expectation in a test.
- For [empty test description blocks](https://github.com/rubocop-hq/rspec-style-guide#it-and-specify), use `specify` rather than `it do` if the test is self-explanatory.