Phil Hughes
01b965f6da
Correctly checks if tree view is on screen
2016-02-23 13:41:03 +00:00
Phil Hughes
d80205b755
Fixes issue with file view rows not clickable on project main view
...
Fixed an issue where it would only load the first 25 commit data on project main view
Stopped the file view sending 1 too many requests
Fixes #3916
2016-02-23 09:06:26 +00:00
Douglas Barbosa Alexandre
3d52e139b1
Rename Tasks to Todos
2016-02-20 12:39:27 -02:00
Douglas Barbosa Alexandre
ce78813c2a
Create or mark task pending as soon the action happens
2016-02-20 12:12:05 -02:00
Douwe Maan
31682eb987
Merge branch 'visibletrap/gitlab-ce-label'
2016-02-19 17:54:13 -08:00
Douwe Maan
3a97a5ddfd
Merge branch 'rs-blob' into 'master'
...
Add a `Blob` model that wraps `Gitlab::Git::Blob`
This allows us to take advantage of Rails' `to_partial_path` to render
the correct partial based on the Blob type, rather than cluttering the
view with conditionals.
It also allows (and will allow in the future) better encapsulation for
Blob-related logic which makes sense for our Rails app but might not
make as much sense for the core `gitlab_git` library, such as detecting
if the blob is an SVG.
See merge request !2887
2016-02-20 01:12:52 +00:00
Jacob Schatz
de84fa365e
Merge branch 'issue_3276' into 'master'
...
Labels should be visible in milestone view
Closes #3276
See merge request !2599
2016-02-19 19:44:13 +00:00
Rubén Dávila and Robert Speicher
5ef3f80d41
More updates from the last code review.
2016-02-19 13:15:42 -05:00
Rubén Dávila and Robert Speicher
b8295fc323
Fix build and add specs
2016-02-19 13:14:53 -05:00
Rubén Dávila and Robert Speicher
328b52d58a
Some updates after last code review.
2016-02-19 13:14:52 -05:00
Rubén Dávila and Robert Speicher
9d4c105ab0
Remove code introduced when endpoint was in MR controller.
2016-02-19 13:14:52 -05:00
Rubén Dávila and Robert Speicher
a28eef1d1a
Update copy and URLs used when reverting MRs.
2016-02-19 13:14:52 -05:00
Rubén Dávila and Robert Speicher
1469b72c46
Check that target_branch is present.
2016-02-19 13:14:51 -05:00
Rubén Dávila and Robert Speicher
4dc8350517
Reuser revert commit modal in MR detail page.
2016-02-19 13:14:51 -05:00
Rubén Dávila and Robert Speicher
b36319a17c
Make MRs with revert commit work.
2016-02-19 13:14:50 -05:00
Rubén Dávila and Robert Speicher
8061399368
Add RevertService class with basic logic to revert commit
2016-02-19 13:14:50 -05:00
Rubén Dávila and Robert Speicher
34e26b8212
Add button to revert commit on Commit detail page.
2016-02-19 13:14:50 -05:00
Rubén Dávila and Robert Speicher
b6fe51b901
Some updates from last code review.
2016-02-19 13:14:50 -05:00
Rubén Dávila and Robert Speicher
df5f362c34
Add some specs plus some refactor.
2016-02-19 13:14:50 -05:00
Rubén Dávila and Robert Speicher
ae46d6ea04
Explain why MR can't be reverted.
2016-02-19 13:14:49 -05:00
Rubén Dávila and Robert Speicher
5bb5019e04
Use adequate description for new MR.
2016-02-19 13:14:49 -05:00
Rubén Dávila and Robert Speicher
f4ff2ba57b
Check target branch exists before creating revert MR.
2016-02-19 13:14:49 -05:00
Rubén Dávila and Robert Speicher
207522f923
Some refactor to the revert commit creation.
...
* Not required to run hooks since it's an internal commit
2016-02-19 13:14:49 -05:00
Rubén Dávila and Robert Speicher
f56ee9d3b9
Save merge commit id when MR is merged
2016-02-19 13:14:49 -05:00
Rubén Dávila and Robert Speicher
d7511a4b04
Create reverse branch and generate MR with new branch. #3409
2016-02-19 13:14:48 -05:00
Rubén Dávila and Robert Speicher
d3c2437328
Add new endpoint and button to revert merge. #3409
2016-02-19 13:14:48 -05:00
Grzegorz Bizon
96158aa6b3
Merge branch 'ci/remove-builds' into 'master'
...
Make it possible to erase build content (artifacts, trace)
This feature makes it possible to remove build content - build artifacts and build traces.
- [x] Remove artifacts
- [x] Remove metadata
- [x] Remove build traces
- [x] Wait for https://dev.gitlab.org/gitlab/gitlabhq/merge_requests/1942 this to be merged
- [x] Fix the permissions after the merge
Closes #3421
See merge request !2560
2016-02-19 17:04:07 +00:00
Grzegorz Bizon
86a49dfb88
Move build erasable implementation from concern to model
...
Discussion:
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/2560#note_3659905
2016-02-19 17:24:59 +01:00
Grzegorz Bizon and Grzegorz Bizon
2c7f36f430
Update relevant build fields when build is erased
2016-02-19 17:24:59 +01:00
Grzegorz Bizon and Grzegorz Bizon
c8102d938b
Add build eraseable feature implementation
2016-02-19 17:24:03 +01:00
Grzegorz Bizon
c1affed196
Add build remove button to build summary view
2016-02-19 17:24:03 +01:00
Achilleas Pipinellis and Rémy Coutable
c6e0db03eb
Mention project name in fork notice
2016-02-19 17:06:14 +01:00
Robert Speicher
8c454b3624
Add a Blob model that wraps Gitlab::Git::Blob
...
This allows us to take advantage of Rails' `to_partial_path` to render
the correct partial based on the Blob type, rather than cluttering the
view with conditionals.
It also allows (and will allow in the future) better encapsulation for
Blob-related logic which makes sense for our Rails app but might not
make as much sense for the core `gitlab_git` library, such as detecting
if the blob is an SVG.
2016-02-18 22:45:30 -05:00
Douwe Maan
879d66b6ab
Merge branch 'git-archive-refactor' into 'master'
...
Refactor 'git archive' hand-off to gitlab-workhorse
We have a nicer way now to hand off HTTP responses to gitlab-workhorse.
Companion MR: https://gitlab.com/gitlab-org/gitlab-workhorse/merge_requests/36
See merge request !2675
2016-02-17 17:16:34 +00:00
Rémy Coutable
3d3ac87af9
Redirect /import to project page if no importing at all and repo exists
...
Fixes #13367 .
2016-02-17 15:05:44 +01:00
Tap
2e81b1558b
Label description and Label row
...
- Add label description
- Show label row when filtering issues or merge requests by label
2016-02-17 21:52:12 +08:00
Jacob Vosmaer
a0ccb0731b
Merge branch 'master' of https://gitlab.com/gitlab-org/gitlab-ce into git-archive-refactor
2016-02-17 11:30:42 +01:00
Robert Speicher
f5ab126fd0
Ensure Commit#show responds 404 instead of 500 when given an invalid ID
...
Closes #13467
2016-02-15 15:48:16 -05:00
Douwe Maan
9022070fac
Merge branch 'olirogers/gitlab-ce-project-milestone-order' into 'master'
...
Fix milestone order in project and issue edit lists to due_date
_Originally opened at !2579 by @olirogers._
- - -
This MR orders the milestones by due date (earliest first) in the project and edit issue view. These suggestions were made be @orih in #6001 and fixes #6001 .
This continues the work of !1934 to order milestones.
I found this annoying when creating milestones, found #6001 but no attached MR. This is my first for this project - comments and criticisms welcome.
See merge request !2780
2016-02-12 09:32:57 +00:00
Grzegorz Bizon
28b11963b1
Move builds badge implementation to new badges controller
2016-02-11 10:29:15 +01:00
Grzegorz Bizon
d51e8e1b77
Inherit build badge access permissions from project
2016-02-11 10:29:15 +01:00
Grzegorz Bizon
479d412e09
Respond to proper format for build badge request
2016-02-11 10:29:14 +01:00
Grzegorz Bizon
52352dccc3
Move badge implementation to builds controller
2016-02-11 10:29:14 +01:00
Grzegorz Bizon
442a49db2b
Skip authentication when requesting commit status badge
2016-02-11 10:29:14 +01:00
Grzegorz Bizon
28c4c949a5
Improve CI status badge implementation
2016-02-11 10:29:14 +01:00
Grzegorz Bizon
14f928b730
Add CI status badge implementation to commit controller
2016-02-11 10:29:14 +01:00
Oliver Rogers and Rémy Coutable
a7567ca152
Fix milestone order in project and issue edit lists to due_date
2016-02-10 17:42:20 +01:00
Douglas Barbosa Alexandre
1353cff5fe
Replaces "Create merge request" link with one to the MR when one exists
2016-02-10 10:32:25 -02:00
Robert Speicher
7ea60fbfc8
Merge remote-tracking branch 'dev/master' into 'master'
2016-02-09 12:13:58 -05:00
Rémy Coutable
f6d816f9fe
Add a controller test for the new 'diff_view' cookie
2016-02-05 15:40:44 +01:00