Commit Graph
16358 Commits
Author SHA1 Message Date
Dmitriy Zaporozhets c0a7f8763e Merge branch 'master' of dev.gitlab.org:gitlab/gitlabhq
Conflicts:
	app/helpers/merge_requests_helper.rb
2015-03-20 15:51:47 -07:00
Dmitriy Zaporozhets 5738afdb12 Merge branch 'link_to_ci_with_ref' into 'master'
Link to CI with ref

gitlab/gitlab-ci#162

!!! Should be merged simultaneously with https://dev.gitlab.org/gitlab/gitlab-ci/merge_requests/129

See merge request !1638
2015-03-20 22:42:32 +00:00
Dmitriy Zaporozhets 9f9fed4fa2 Fix votes inline rendering 2015-03-20 15:34:29 -07:00
Dmitriy Zaporozhets b0e2441330 Improve issue sidebar position 2015-03-20 15:33:13 -07:00
Dmitriy Zaporozhets 303382c741 Merge branch 'fix-commits-routing' into 'master'
Fix commits routing for branches with slash

Fixes https://github.com/gitlabhq/gitlabhq/issues/8990

See merge request !408
2015-03-20 20:32:52 +00:00
Dmitriy Zaporozhets efb8783c4a Merge branch 'upvotes-refactoring' into 'master'
Make issue and merge request sidebar more compact

* move votes block to participants
* make smaller font in sidebar
* remove js for upvoting since it differs from logic on backend and does not work correctly

Fixes #1253

Tested on different screens: HD, 1366x768, 1024x600

See merge request !410
2015-03-20 20:17:51 +00:00
Dmitriy Zaporozhets baaa560290 Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ce 2015-03-20 13:16:51 -07:00
Dmitriy Zaporozhets 65b392c394 Merge branch 'merge-status-transition' into 'master'
Update merge_status state to allow more transitions

Previously you could only transition from the unchecked state to one of the others. This meant that the mark_as_unmerged call in AutoMergeService would rarily be able to actually transition the state. As it would usually have already been set to can_be_merged before it hit that service.

Spec and Spinach tests have been run locally and all pass.

See merge request !405
2015-03-20 20:11:04 +00:00
Dmitriy Zaporozhets 651397513a Fix commits routing 2015-03-20 13:01:43 -07:00
Dmitriy Zaporozhets 085e5084a8 Make issue and merge request sidebar more compact
* move votes block to participants
* make smaller font in sidebar
2015-03-20 12:50:45 -07:00
Dmitriy Zaporozhets 1f711fd93d Remove upvotes js logic since it does not work as expected anyway 2015-03-20 12:34:21 -07:00
Dmitriy Zaporozhets 2852d0b620 Fix commits routing for branches with slash 2015-03-20 12:03:48 -07:00
Dmitriy Zaporozhets d735321ebd Improve project name truncation on dashboard to work well with sm screen 2015-03-20 11:32:44 -07:00
Valery Sizov e5fe14b2fb Link to CI with ref 2015-03-20 19:19:29 +02:00
Dmitriy Zaporozhets 473083033f Merge branch 'transition_id_in_params' into 'master'
Add back jira_issue_transition_id to list of permitted params.

This was removed by accident at some point during the merge from ce to ee.

See merge request !359
2015-03-20 16:34:44 +00:00
Dmitriy Zaporozhets 489da67c9c Merge branch 'update_screenshot_githooks' into 'master'
[Documentation] Update screenshots of git hooks page

See merge request !358
2015-03-20 16:34:26 +00:00
Dmitriy Zaporozhets 4fc79fffde Merge branch 'web_hook_doc' into 'master'
Mention group level web hooks in documentation

#260

See merge request !357
2015-03-20 16:30:29 +00:00
Dmitriy Zaporozhets 478f92d2c2 Merge branch 'security_fixes' into 'master'
[security] gems update

[doorkeeper] added filtering of sensitive information (like secret key) from production.log

[gollum lib] remote code execution (in search field). We don't have search for wiki but it is better to have this fix.

Nothing critical!!!

related to #2143

See merge request !1732
2015-03-20 16:28:31 +00:00
Marin Jankovski 93b769946d Add back jira_issue_transition_id to list of permited params. 2015-03-20 08:57:31 -07:00
Valery Sizov 41edbae0d1 Update screenshots of git hook page 2015-03-20 16:26:27 +02:00
Valery Sizov 6aa07e855a Mention group level web hooks in documentation 2015-03-20 16:12:02 +02:00
Valery Sizov 484524e096 gollum-lib update 2015-03-20 15:15:56 +02:00
Valery Sizov 5df1609c82 update doorkeeper to 2.1.3 2015-03-20 15:13:38 +02:00
Marin Jankovski c6dd117c71 Revert "Merge branch 'new_branch' into 'master'"
This reverts commit 00607d4f96, reversing
changes made to edfc7d0d26.
2015-03-19 23:52:33 -07:00
Marin Jankovski 00607d4f96 Merge branch 'new_branch' into 'master'
New branch

See merge request !406
2015-03-20 06:50:14 +00:00
Marin Jankovski 189dc4dc81 REaadme. Issue #1 2015-03-19 23:49:49 -07:00
Dmitriy Zaporozhets 31af3f4003 Merge branch 'master' of dev.gitlab.org:gitlab/gitlabhq
Conflicts:
	spec/models/note_spec.rb
2015-03-19 23:21:50 -07:00
Dmitriy Zaporozhets edfc7d0d26 Merge pull request #8974 from duduribeiro/add_error_message_in_profile
Add error message when have error on profile screen
2015-03-19 22:53:33 -07:00
Carlos Ribeiro 2435476167 Add error message when have error on profile screen 2015-03-19 23:31:25 -03:00
Dmitriy Zaporozhets b99221e6f0 Merge branch 'revert-unicorn-timeout' into 'master'
Revert "Increase timeout for Git-over-HTTP requests."

This reverts commit 516bcabbf4.

For #2164

cc @marin @douwe

See merge request !1730
2015-03-20 02:01:38 +00:00
Dmitriy Zaporozhets d5a259d43e Revert "Update poltergeist to support phantomjs 2.0"
This reverts commit d70126c1fb.
2015-03-19 18:56:05 -07:00
Dmitriy Zaporozhets efd8491d49 Revert "Increase timeout for Git-over-HTTP requests."
This reverts commit 516bcabbf4.

Conflicts:
	Gemfile
2015-03-19 18:29:20 -07:00
Dmitriy Zaporozhets 915c7b9455 Merge branch 'update_ui' into 'master'
Remove mention of branch to commit to when new file is added through UI

See merge request !1731
2015-03-20 01:28:47 +00:00
Dmitriy Zaporozhets 479020ec6b Fix project issues and merge requests pages 2015-03-19 18:27:26 -07:00
Dmitriy Zaporozhets 0ec1c8eea9 Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ce 2015-03-19 17:54:10 -07:00
Dmitriy Zaporozhets ad2720aea8 Merge branch 'master' of github.com:gitlabhq/gitlabhq 2015-03-19 17:53:48 -07:00
Marin Jankovski a879d93378 Remove mention of branch to commit to. 2015-03-19 17:43:21 -07:00
Dmitriy Zaporozhets 00c042ea7c Merge pull request #8772 from awiddersheim/fix/grammar_projects_show
Fix small grammar issue on projects show page
2015-03-19 16:17:37 -07:00
Dmitriy Zaporozhets df8b4ab459 Merge pull request #8662 from yglukhov/mr-and-issue-links
Make MR and issue numbers clickable links in MR and issue lists.
2015-03-19 15:17:07 -07:00
Hannes Rosenögger 623f6c5f09 Merge branch 'fix-underscore-notes' into 'master'
Fix cross-references that contain underscores

### What does this MR do?

Cross-references that contain underscores confuse the Markdown renderer and don't work properly. For example:

1. In  `myacct/project_one#456`, add a comment that includes a reference to `myacct/project_two#123`.
2. The comment in `myacct/project_one#456` links correctly.
3. The system note in `myacct/project_two#123` is incorrectly linked as:

`mentioned in issue myacct/projectone#456_`

This MR removes the use of the `_` character in the system notes to prevent Markdown confusion.

See a full discussion in #1160.

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

To preserve backwards compatibility with existing system notes, there is a SQL wildcard match for notes having underscores. This seemed safer than migrating all notes.

### Why was this MR needed?

In an ideal world, the Markdown parser would be able to handle references containing underscores with or without escape sequences. However, there are a number of issues:

1. RedCarpet's parser for emphasis block is pretty dumb: it treats `#` as a word break and thus even the `intra_word_emphasis` flag has no effect.
2. The parser is in C and can't be changed easily.
3. There is no way to insert an escape sequence for emphasis blocks.

The only way around this is to switch to something like CommonMark, which does support escape sequences.

### What are the relevant issue numbers / [Feature requests](http://feedback.gitlab.com/)?

Issue #1160

### Screenshots

Before:

![Screen_Shot_2015-03-19_at_1.39.29_AM](https://gitlab.com/gitlab-org/gitlab-ce/uploads/a1db4b96c0df2f10d9855ed5abe976ca/Screen_Shot_2015-03-19_at_1.39.29_AM.png)

After:

![Screen_Shot_2015-03-19_at_1.39.35_AM](https://gitlab.com/gitlab-org/gitlab-ce/uploads/189a062c2d19645eec1782ac1f0d4f2f/Screen_Shot_2015-03-19_at_1.39.35_AM.png)

See merge request !385
2015-03-19 21:20:45 +00:00
Dmitriy Zaporozhets 012411817b Merge branch 'version-bump-poltergeist' into 'master'
Update poltergeist to support phantomjs 2.0

In response to [my issue](https://gitlab.com/gitlab-org/gitlab-development-kit/issues/36) on the GDK.
PhantomJS 1.8 was not in the repo's anymore. Only poltergeist needed it, but they support PhantomJS 2.0 since 1.6.0. (next release since 1.5.1) [Their CHANGELOG](https://github.com/teampoltergeist/poltergeist/blob/master/CHANGELOG.md).

Tested locally with Ruby 2.1.5. As this took ages, I haven't tested further.

See merge request !403
2015-03-19 21:12:08 +00:00
Dmitriy Zaporozhets 14846c044a Merge branch 'bugfix/block_ldap_users_cronjob' into 'master'
Fixed rake task gitlab:cleanup:block_removed_ldap_users

Maybe not the most elegant solution, but it works for us.

This closes issue gitlab-org/gitlab-ce#955.

See merge request !338
2015-03-19 21:09:25 +00:00
DJ Mountney 415517918e Update merge_status state to allow more transitions
Previously you could only transition from the unchecked state to one of the others. This meant that the mark_as_unmerged call in AutoMergeService would rarily be able to actually transition the state. As it would usually have already been set to can_be_merged before it hit that service.
2015-03-19 13:51:16 -07:00
Dmitriy Zaporozhets 82d4760d0d Merge branch 'import-button' into 'master'
Move "Import existing repository by URL" option to button.

The "Import existing repository URL" (with or without form visible) looked out place with the new import buttons. I moved it to a button, and moved the form to below the buttons.

@dzaporozhets Would be nice to have in 7.9 since the moved buttons are in there as well.

Before:

![Screen_Shot_2015-03-19_at_15.08.04](https://dev.gitlab.org/gitlab/gitlabhq/uploads/6ac26467ede65a4f31d004c227fdbc3e/Screen_Shot_2015-03-19_at_15.08.04.png)

After:

![Screen_Shot_2015-03-19_at_15.42.56](https://dev.gitlab.org/gitlab/gitlabhq/uploads/a73bd7d09b7a33f58067a3bd0d7f604a/Screen_Shot_2015-03-19_at_15.42.56.png)

("publically" typo has been fixed to "publicly")

See merge request !1728
2015-03-19 19:03:43 +00:00
Marin Jankovski 2bf3d9f495 Packages for 7.8.4 with openssl 1.0.1m. 2015-03-19 10:51:40 -07:00
Dmitriy Zaporozhets 476199e069 Merge branch 'add_canceled_ci_status' into 'master'
Add canceled CI status

Fixes https://github.com/gitlabhq/gitlab-ci/issues/564

https://dev.gitlab.org/gitlab/gitlab-ci/issues/169

![Screen_Shot_2015-03-19_at_17.10.08](https://dev.gitlab.org/gitlab/gitlabhq/uploads/87f47d9fd1b1a60e0c5402eedd1a1566/Screen_Shot_2015-03-19_at_17.10.08.png)

See merge request !1729
2015-03-19 17:21:20 +00:00
Valery Sizov 19032c0319 add canceled CI status 2015-03-19 18:27:24 +02:00
Dmitriy Zaporozhets 1fdf4508d4 Use same font for project description and star links 2015-03-19 09:12:11 -07:00
Dmitriy Zaporozhets 83982e9329 Merge branch 'fix/navbar-toggle-margin' into 'master'
fix(style): align navbar-toggle

Changes:
- change `.navbar-toggle` from `margin: 0 -15px 0 0;` to `margin: 0;`

## Before:
- 320x480 ![Screen_Shot_2015-03-19_at_03.43.53](https://gitlab.com/kingcody/gitlab-ce/uploads/376727af07cf62eec5609c01bbbdaacf/Screen_Shot_2015-03-19_at_03.43.53.png)

- 360x640 ![Screen_Shot_2015-03-19_at_03.44.04](https://gitlab.com/kingcody/gitlab-ce/uploads/d5318de4f45687154d90c54f0bece2aa/Screen_Shot_2015-03-19_at_03.44.04.png)

## After:
- 320x480 ![Screen_Shot_2015-03-19_at_03.45.21](https://gitlab.com/kingcody/gitlab-ce/uploads/20f526c9ef19c2c30add001b15c06358/Screen_Shot_2015-03-19_at_03.45.21.png)

- 360x640
![Screen_Shot_2015-03-19_at_03.45.27](https://gitlab.com/kingcody/gitlab-ce/uploads/e60e9dde1f86d89adf36480e7fcc611d/Screen_Shot_2015-03-19_at_03.45.27.png)

See merge request !402
2015-03-19 16:04:12 +00:00
Dmitriy Zaporozhets 8b723776ac Merge branch 'fix_trigger_search' into 'master'
Only trigger search if search string is present

This is a follow up for !296 to prevent the search function from being executed while the query is nil.

Problem was this:
When the search is called, the search controller gets 2 requests.
```
{"action"=>"show", "controller"=>"search"}
```
and
```
{"utf8"=>"✓",
 "search"=>"proj",
 "project_id"=>"",
 "group_id"=>"",
 "snippets"=>"",
 "scope"=>"",
 "button"=>"",
 "action"=>"show",
 "controller"=>"search"}
```

Obviously it doesn't make sense to execute the search for the first request, since that one doesn't have a scope or a search string.

Please review this carefully since this modifies the search and may break things i can't think of.

@dzaporozhets While this fixes the root cause for the failing test, I think we should keep your fix in as a failsafe. What do you think of this?

See merge request !302
2015-03-19 16:00:55 +00:00