Commit graph

24 commits

Author SHA1 Message Date
Jacob Vosmaer
05745737c6 Explain the extra chmod 2016-09-26 14:21:39 +02:00
Nick Thomas
a8829f25d3 Use base SHA for patches and diffs
This commit changes the revisions used for diffs. The current behaviour is
to show all changes between current tip of master and tip of the MR, rather
than matching the output of the web frontend (which just shows the changes
in the MR). Switching from start_sha to base_sha fixes this.
2016-09-22 18:49:31 +01:00
Jacob Vosmaer
11f54caada Allow trailing newline in secret base64 data 2016-09-13 19:45:02 +02:00
Jacob Vosmaer
c87540ed46 Verify JWT messages from gitlab-workhorse 2016-09-05 15:05:31 +02:00
Katarzyna Kobierska
ab419b08ce If version file is unavailable unknown status 2016-07-23 06:56:32 +02:00
Katarzyna Kobierska
10d9df28ec Add gitlab-workhorse version to admin dashboard
Test for showing GitLab Workhorse version on Admin Dashboard

Refactoring
2016-07-23 06:56:32 +02:00
Douwe Maan
284ed39e30 Merge branch 'send-entry-via-Gitlab-Workhorse-Send-Data' into 'master'
Use Gitlab-Workhorse-Send-Data to send entry

## What does this MR do?

Use Gitlab-Workhorse-Send-Data to send entry:

Closes #19224, Closes #19128

Also requires this MR to work:
https://gitlab.com/gitlab-org/gitlab-workhorse/merge_requests/53

## Are there points in the code the reviewer needs to double check?

Do we have a test for this?

## Why was this MR needed?

This way gitlab-workhorse does not have to call any API.

See merge request !5094
2016-07-11 16:18:37 +00:00
Douwe Maan
ddec2ed0df Add send_git_patch helper 2016-07-06 18:51:01 -04:00
Douwe Maan
a9fa45f09e Represent DiffRefs as proper class instead of tuple array 2016-07-06 18:50:58 -04:00
Lin Jen-Shin
28e324ae67 Use Gitlab-Workhorse-Send-Data to send entry:
Closes #19224, Closes #19128

Also requires this MR to work:
https://gitlab.com/gitlab-org/gitlab-workhorse/merge_requests/53
2016-07-05 22:58:38 +08:00
Z.J. van de Weg
db0a6c10ed Bump workhorse version 2016-06-28 22:10:53 +02:00
Z.J. van de Weg
c31f876a27 Workhorse to serve email diffs
Depends on the changes in Workhorse (gitlab-org/gitlab-workhorse!48).
2016-06-28 14:26:38 +02:00
Jacob Vosmaer
c32e61251e Get rid of Gitlab::ShellEnv 2016-06-15 14:59:37 +02:00
Douwe Maan
16bd4e5668 Merge branch 'master' into workhorse-helpers 2016-06-10 12:28:04 +02:00
Douwe Maan
a9857f8c2f Add send_git_diff helper 2016-06-08 14:30:15 +02:00
Jacob Vosmaer
bebe110dff Merge branch 'master' of https://gitlab.com/gitlab-org/gitlab-ce into git-http-controller
Conflicts:
	lib/gitlab/workhorse.rb
2016-06-08 10:31:33 +02:00
Douwe Maan
8c3ba8d6c9 Add workhorse controller and API helpers 2016-06-06 13:16:30 +02:00
Zeger-Jan van de Weg
01e1139f68 Workhorse to serve raw diffs 2016-06-03 18:43:22 +02:00
Jacob Vosmaer
9ce0994299 Rubocop and whitespace 2016-05-02 13:21:59 +02:00
Jacob Vosmaer
91226c2001 Move workhorse protocol code into lib 2016-04-06 17:52:12 +02:00
Jacob Vosmaer
34a6f83d3e Fix API 2016-02-11 18:10:14 +01:00
Jacob Vosmaer
771f14b96e First version of "git archive" headers 2016-02-02 14:09:55 +01:00
Jacob Vosmaer
b1f22aa35a Gotta have newlines 2016-02-01 12:27:35 +01:00
Jacob Vosmaer
02afa6793c Use only one header to send git blobs 2016-02-01 11:33:22 +01:00