Commit Graph
1398 Commits
Author SHA1 Message Date
Vinnie Okada 1b1ba6b0a5 Implement cross-project Markdown references
Enable linking to commits, merge requests, and issues in other projects
by prepending a namespaced project path to the reference.
2014-10-03 12:30:20 -05:00
Dmitriy Zaporozhets ac6f032122 Merge pull request #7779 from Bugagazavr/hook_tag_push_events
Add tag push events to project hook api
2014-10-03 13:38:56 +03:00
Dmitriy Zaporozhets 03b44916ba Merge pull request #7754 from Bugagazavr/hooks
More information in merge request hook
2014-10-03 13:37:19 +03:00
Kirill Zaitsev b4963e9dda Add tag_push_events to project hook api 2014-10-03 10:23:32 +04:00
Jacob Vosmaer 97c5d38097 Add a counterexample to 'do it in Ruby' 2014-10-02 18:27:18 +02:00
Jacob Vosmaer 798977c87b Merge branch 'missing_update_links' into 'master'
Missing omnibus update links in help/update

I took the liberty and refactored it a little. Open issue https://gitlab.com/gitlab-org/omnibus-gitlab/issues/269

Here is a screen

![gitlab_update_page](https://gitlab.com/uploads/axil/gitlab-ce/0395154f23/gitlab_update_page.png)

See merge request !202
2014-10-02 12:24:23 +00:00
Achilleas Pipinellis 1489b8d50e Update the help/update docs to include omnibus as well. 2014-10-02 13:39:26 +03:00
Martijn a68a3f65af Edit GitHub Flow url 2014-10-02 11:20:54 +02:00
Kirill Zaitsev 1c9d2e39c1 Hook attributes 2014-10-02 12:58:02 +04:00
Sytse Sijbrandij 5b68a9adaf Add docs for the issue closing pattern. 2014-10-02 10:53:33 +02:00
Dmitriy Zaporozhets 1099468b32 Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ce 2014-10-01 17:42:22 +03:00
Job van der Voort 60a33d649f add gitlab_flow graphic to doc 2014-10-01 15:30:29 +02:00
Jacob Vosmaer b10774eba8 Merge branch 'uploader-link' into 'master'
Uploader link

See merge request !1133
2014-10-01 11:56:02 +00:00
Dmitriy Zaporozhets ca1c35aa51 Merge branch 'fork-via-API' into 'master'
API: Add support for forking a project via the API

This adds an API call to create a fork of a project.

Such API "fork button" has been requested by feature requests summing up with 37 votes.

The GitLab user has flagged one of them as accepting merge/pull requests for this feature.

Motivation:

The ability to create a fork is missing in the API.
(The API currently only supports adding and removing the "forked" relationship between two existing projects)

This feature (create fork thru the API) feature has been requested via two feature requests:

15 votes, 13 comments: to be able to fork a project through the API
http://feedback.gitlab.com/forums/176466-general/suggestions/4125380-to-be-able-to-fork-a-project-through-the-api (it was marked as completed in error by referring to the much more special change which allows to add&delete fork information)

22 votes, 3 comments: add a "fork project" API call that acts like the "fork button"
http://feedback.gitlab.com/forums/176466-general/suggestions/5820264-add-a-fork-project-api-call-that-acts-like-the

The implementation is described in the text of the commit message (click on the "..." field to open it).

A comprehensive test suite is added as well: It covers all 5 success / failure modes:
1. Success case
2. Failure if authenticated user has no access the the project to be forked
3. Failure if the forked project already exists in the authenticated user's namespace
4. Failure if the forked project does not exist
5. Failure if not authenticated

Documentation for the new API call is added to the project help page: doc/api/projects.md

I have 2 additional merge requests in progress, one is based on this feature and extend it, the other is related to querying forks.

The merge request that would be directly related is based on a request written comment of one of the feature requests (that was independently also requested in a but entry):
The ability to fork a project (thru the API) to a given namespace, eg. a group, in one case, for trainings.

As this request does not change code, but only adds a new request API for creating forks, it does not have
the capability to break existing code, and as the test spec demonstrates, it works.

It allocates the API request POST /projects/fork/:id, the only other API path I'd have thought of would have been POST /projects/:id/fork but that path is already taken by the API for creating a new fork relationship between projects, so POST /projects/fork/:id is the remaining possibility that I could see.

See merge request !191
2014-10-01 10:20:57 +00:00
Jacob Vosmaer b040078974 Clear changes to schema.rb when upgrading
Having local changes is quite common and it is a stumbling block when
upgrading GitLab. Because schema.rb is generated from the actual DB
schema it is OK to clear the local changes.
2014-10-01 10:41:20 +02:00
Bernhard Kaindl f030ee846e API: Initial support for forking a project via the API
This change adds POST /projects/fork/:id to the API for forking
a project into the namespace of the authenticated user, like the
"create fork" link in the GUI does. It also calls the same code.

Failure and permission checks (except for conflict) are already
implemented and handled in ForkService and the API, so the added
code is simple and does not alter anything.
2014-10-01 10:27:48 +02:00
Marin Jankovski 2ac1f95ba1 Update guides to use gitlab-shell 2.0.1. 2014-10-01 09:56:04 +02:00
Marin Jankovski ff2b0bfabd Merge branch 'speed-upgrade' into 'master'
Speed upgrade

/cc @jacobvosmaer @dzaporozhets

See merge request !1134
2014-09-30 10:20:18 +00:00
Jacob Vosmaer b5d2d3d799 Consolidate the IAM backup upload policy 2014-09-30 12:03:44 +02:00
Jacob Vosmaer 794078a32a Add a 'region' to the backup upload connection 2014-09-30 12:03:36 +02:00
Dmitriy Zaporozhets 4c52ff5184 Merge branch 'api/issues-filter-milestone' of https://github.com/jubianchi/gitlabhq into jubianchi-api/issues-filter-milestone
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>

Conflicts:
	CHANGELOG
2014-09-30 12:17:57 +03:00
Sytse Sijbrandij b80e81eb28 Rename the speed upgrade file. 2014-09-30 10:29:11 +02:00
Sytse Sijbrandij 63033faa3a Remove notice that it hasn't been released yet. 2014-09-30 10:28:30 +02:00
Sytse Sijbrandij 106a5d9514 Make hyperlinks out of the links. 2014-09-30 08:56:16 +02:00
Dmitriy Zaporozhets 9654cbb592 Merge branch 'backup-uploader'
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>

Conflicts:
	CHANGELOG
2014-09-29 18:20:21 +03:00
Job van der Voort 17ad28f3c6 resize large picture in git flow article 2014-09-29 16:13:02 +02:00
Job van der Voort 09352d1f04 add new images to gitflow article and space them 2014-09-29 16:10:32 +02:00
Sytse Sijbrandij 15f01b6a85 Merge branch 'gitlab-flow' of gitlab.com:gitlab-org/gitlab-ce into gitlab-flow 2014-09-29 15:30:17 +02:00
Sytse Sijbrandij 4df15fe33e Merge branch 'master' into gitlab-flow
Conflicts:
	CONTRIBUTING.md
2014-09-29 15:21:34 +02:00
Jacob Vosmaer e1f6fa6f18 Add backup upload support to the rake task 2014-09-29 15:03:08 +02:00
Job van der Voort 5121fce196 update ci mr image with smaller screenshots 2014-09-29 13:38:43 +02:00
Job van der Voort 8b17bdaafc capitalize omnibus in docs 2014-09-29 12:55:15 +02:00
Job van der Voort 05b3202855 use omnibus package to refer to omnibus gitlab at all times to avoid confusion 2014-09-28 22:56:47 +02:00
Job van der Voort 841fc4d95e add screenshots to gitlab-flow article 2014-09-28 15:47:53 +02:00
Job van der Voort 0f35c61dc0 add graphs to git-flow article 2014-09-28 13:59:33 +02:00
Ciro Santilli 862315dcb0 Typo indiciated -> indicated. 2014-09-27 10:34:51 +02:00
jubianchi f258a59ef6 Filters issues by milestone via API 2014-09-26 22:03:37 +02:00
Jacob Vosmaer 8f0551de05 Merge branch 'master' into 'master'
Small documentation update, add unixsocketperm

If you run gitlab as user ``git`` while redis runs as user ``redis`` and you add git to ``redis`` group, you'll need to set ``unixsocketperm = 0775`` to grant write access to group.

See merge request !192
2014-09-25 15:48:45 +00:00
Daniel Widerin 99e5e6db73 Remove obsolete line 2014-09-25 15:34:11 +00:00
Daniel Widerin 16a6d2450b Use edit in place with sed instead of tee 2014-09-25 15:24:56 +00:00
Daniel Widerin d5dc171cb7 Path on ubuntu is different 2014-09-25 15:23:40 +00:00
Daniel Widerin b874cb21eb Use 'sed' with pre-search to enable only if present in redis config file. 2014-09-25 15:23:06 +00:00
Dmitriy Zaporozhets 868755777f Merge branch 'add-bugzilla' into 'master'
Add bugzilla

See merge request !1114
2014-09-25 13:59:24 +00:00
Daniel Widerin 18adc4f67d Fix 'Invalid socket file permissions' error 2014-09-25 11:09:46 +00:00
Jacob Vosmaer b0a4ec5ea2 Merge branch 'backup-time' into 'master'
Backup time

The suggested backup time conflicts with daylight savings time, which occurs between 1-3am, causing the backup either to be skipped or ran twice.

See merge request !1118
2014-09-25 07:52:23 +00:00
Jacob Vosmaer 9cd5ff043a Merge branch 'master' of github.com:gitlabhq/gitlabhq 2014-09-25 09:50:19 +02:00
Job van der Voort 4ed5a506be set the proposed backup time to 4am 2014-09-25 09:38:17 +02:00
Jacob Vosmaer b268fa0595 Fix the sed command for increasing the backlog 2014-09-25 09:34:29 +02:00
Achilleas Pipinellis 05b535e1c0 Add missing Redis item list in Overview [ci skip]. 2014-09-24 22:59:26 +03:00
Sytse Sijbrandij de717a3335 Merge branch 'gitlab_ldap_filter' into 'master'
Add more LDAP user_filter documentation

See merge request !1115
2014-09-24 12:06:47 +00:00