gitlab-org--gitlab-foss/doc
Dmitriy Zaporozhets e49b636497 Merge branch 'feature_api_project_edit' into 'master'
API: Implement edit via API for projects

I've picked up https://github.com/gitlabhq/gitlabhq/pull/8055 fixed the few hound warnings and replaced all double quotes in the spec file where possible.

# From the original PR:

Implements edit via API for projects. Edit was part of missing features in feature request Full CRUD operations via API for projects.
http://feedback.gitlab.com/forums/176466-general/suggestions/3904506-full-crud-operations-via-api-for-projects

Feature is implemented using existing UpdateService for projects. Permission to change visibility level and name are checked in addition to check for permission to administer project.

Doesn't allow updating project namespace id, because there was existing API-method for transferring project to a group.

Documentation added to doc/api/projects.md. Uses API request PUT /projects/:id .

Tests included for:
1. Success for changing path
2. Success for changing name
3. Success for changing visibility level
4. Success for changing all other attributes
5. Success for changing name & path to existing name & path but in different namespace
6. Failure if not authenticated
7. Failure if path exists in project's namespace
8. Failure if name exists in project's namespace
9. Failure if not sufficient permission to change name
10. Failure if not sufficient permission to change visibility level
11. Failure if not sufficient permission to change other attributes

Allows updating following parameters:

* name
* path
* visibility_level
* public
* default_branch
* issues_enabled
* wiki_enabled
* snippets_enabled
* merge_requests_enabled
* description

See merge request !310
2015-01-22 23:02:50 +00:00
..
api Merge branch 'feature_api_project_edit' into 'master' 2015-01-22 23:02:50 +00:00
customization Add libravatar documentation. 2014-10-14 11:23:33 +02:00
development Don't create zombies with IO.popen 2015-01-22 15:53:16 +01:00
hooks Custom git hook documentation 2014-11-10 11:01:42 -06:00
install Fix shell version in manual installation doc 2015-01-15 17:23:22 -08:00
integration update documentation regarding github_importer 2015-01-19 12:55:44 -08:00
legal Update docs to markdown style guide. 2014-06-03 23:16:31 +02:00
markdown Document Markdown table formatting issue 2014-10-11 12:53:27 -05:00
operations Document Redis session cleanup 2015-01-06 11:50:05 +01:00
permissions Use plural instead of refering explicitly to male/female. 2015-01-05 12:44:42 +02:00
project_services Teamcity interaction using 8.1 rest api 2014-12-23 12:38:25 -05:00
public_access Fix spelling errors in doc, closes #7437 2014-08-07 10:27:54 +02:00
raketasks Update import.md documentation to specify correct directory ownership and permissions. 2015-01-16 19:36:44 -08:00
release Fix code block in rc1 doc 2015-01-15 02:07:42 +00:00
security Add explanation about unintentional sharing. 2014-09-18 09:44:12 +02:00
ssh Update docs to markdown style guide. 2014-06-03 23:16:31 +02:00
system_hooks Add system hook for ssh key changes 2014-09-03 01:27:02 +02:00
update fix url in update doc 2015-01-19 14:18:31 -08:00
web_hooks Add action property to merge request hook 2015-01-20 10:50:24 +01:00
workflow GitHub importer description 2015-01-19 21:43:25 -08:00
README.md Add link to 'operations' README 2014-12-15 15:17:10 +01:00

Documentation

User documentation

  • API Automate GitLab via a simple and powerful API.
  • Markdown GitLab's advanced formatting system.
  • Permissions Learn what each role in a project (guest/reporter/developer/master/owner) can do.
  • Project Services Integrate a project with external services, such as CI and chat.
  • Public access Learn how you can allow public and internal access to projects.
  • SSH Setup your ssh keys and deploy keys for secure access to your projects.
  • Web hooks Let GitLab notify you when new code has been pushed to your project.
  • Workflow Learn how to get the maximum out of GitLab.

Administrator documentation

  • Install Requirements, directory structures and manual installation.
  • Integration How to integrate with systems such as JIRA, Redmine, LDAP and Twitter.
  • Raketasks Backups, maintenance, automatic web hook setup and the importing of projects.
  • Custom git hooks Custom git hooks (on the filesystem) for when web hooks aren't enough.
  • System hooks Notifications when users, projects and keys are changed.
  • Security Learn what you can do to further secure your GitLab instance.
  • Update Update guides to upgrade your installation.
  • Welcome message Add a custom welcome message to the sign-in page.
  • Issue closing Customize how to close an issue from commit messages.
  • Libravatar Use Libravatar for user avatars.
  • Operations Keeping GitLab up and running

Contributor documentation

  • Development Explains the architecture and the guidelines for shell commands.
  • Legal Contributor license agreements.
  • Release How to make the monthly and security releases.