Commit graph

10 commits

Author SHA1 Message Date
Fabio Pitino
3ac527b488 Expose ci_default_git_depth via project API
Enable Get and Update of ci_default_git_depth for
Project API.

Renaming Project#default_git_depth to :ci_default_git_depth
to give more context through the API usage.

Add API documentation
2019-06-12 09:51:45 +01:00
Imre Farkas
9cd70ec1cd CE port of Move EE specific lines in API::Projects 2019-05-30 21:55:17 +00:00
Imre Farkas
9bc5ed14fe Move Contribution Analytics related spec in spec/features/groups/group_page_with_external_authorization_service_spec to EE 2019-04-09 15:38:58 +00:00
Andreas Brandl
46b1b9c1d6 Revert "Merge branch 'if-57131-external_auth_to_ce' into 'master'"
This reverts merge request !26823
2019-04-05 13:02:56 +00:00
Imre Farkas
d9d7237d2e Move Contribution Analytics related spec in spec/features/groups/group_page_with_external_authorization_service_spec to EE 2019-04-05 11:45:47 +00:00
Yorick Peterse
be49d9c1ba
Backport parameters from API::Projects
This backports various parameter changes EE makes to API::Projects,
along with moving some code around to make it easier to extend in EE.
2019-03-26 14:18:29 +01:00
Yorick Peterse
b5623d3fd9
Backport API::Helpers::ProjectsHelpers from EE
This backports all changes made to this module in EE to CE, and wraps EE
specific code in a conditional.
2019-03-26 14:18:28 +01:00
gfyoung
3836d69119 Enable frozen string in lib/api and lib/backup
Partially addresses #47424.

Had to make changes to spec files because
stubbing methods on frozen objects is a mess
in RSpec and leads to failures:

https://github.com/rspec/rspec-mocks/issues/1190
2018-09-29 21:04:50 -07:00
Steve
175f689eb7 Initialize projects with readme 2018-09-12 13:58:31 +00:00
Bob Van Landuyt
11a9fbe65b Make the API project params reusable 2018-04-04 19:49:48 +02:00