Commit Graph
16691 Commits
Author SHA1 Message Date
Dmitriy Zaporozhets c090ebc07e Merge branch 'rs-persist-tab-selection-more-betterer' into 'master'
Improve MergeRequest tab-persisting behavior

Now uses the path instead of the hash.

See discussion in !728

See merge request !737
2015-05-29 08:44:23 +00:00
Robert Speicher 3f156ed482 Improve MergeRequest tab-persisting behavior
Now uses the path instead of the hash.

See discussion in #728.
2015-05-29 00:27:56 -04:00
Robert Speicher f46b367068 Add MergeRequests#commits action and route
/:namespace_id/:project_id/merge_requests/:id/commits(.:format)
2015-05-29 00:09:28 -04:00
Robert Speicher cef8ab4604 Bump turbolinks version 2015-05-29 00:05:14 -04:00
Robert Speicher f95eeee1d6 Merge branch 'master' into 'master'
Remove extra brace

Extraneous curly brace creeped in prior commit.

See merge request !734
2015-05-29 00:25:23 +00:00
Mike Butsko b8977cb432 Remove extra brace 2015-05-28 16:09:07 -04:00
Dmitriy Zaporozhets 51888f746c Merge branch 'nicer-acccount-page' into 'master'
Make user settings account page nicer

* make 2 factor auth section `panel-default`
* make oauth buttons smaller
* remove primary button from reset token form

![Screenshot_2015-05-28_20.37.30](https://gitlab.com/gitlab-org/gitlab-ce/uploads/e536723e087b72a5c08b29072fb4972f/Screenshot_2015-05-28_20.37.30.png)

See merge request !733
2015-05-28 19:52:26 +00:00
Dmitriy Zaporozhets 08a12f24b0 Make user settings account page nicer
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-05-28 20:36:47 +02:00
Dmitriy Zaporozhets d0d596ae4a Merge branch 'project-aside' into 'master'
Use panels instead of well for widgets in project sidebar

Cleaner look and less distractive

![Screenshot_2015-05-28_17.31.27](https://gitlab.com/gitlab-org/gitlab-ce/uploads/d4f8e58f76c7f62c488dd571c313e21e/Screenshot_2015-05-28_17.31.27.png)

See merge request !732
2015-05-28 16:11:55 +00:00
Dmitriy Zaporozhets a01737ac78 Use panels instead of well for widgets in project sidebar
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-05-28 17:30:05 +02:00
Dmitriy Zaporozhets ce5928f4df Merge branch 'profile-settings'
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>

Conflicts:
	app/views/profiles/accounts/show.html.haml
2015-05-28 16:31:38 +02:00
Dmitriy Zaporozhets ad3462332b Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ce 2015-05-28 16:10:28 +02:00
Dmitriy Zaporozhets 0c7da9d534 Merge branch 'master' of github.com:gitlabhq/gitlabhq 2015-05-28 16:09:58 +02:00
Dmitriy Zaporozhets 9e50f28ee9 Fix profile tests after header rename
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-05-28 15:32:28 +02:00
Dmitriy Zaporozhets 35d0d774a1 Prefer panels over fieldset when different forms
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-05-28 15:26:37 +02:00
Dmitriy Zaporozhets 05a44dcb8b Merge branch 'user-destroy-wo-groups' into 'master'
You can not remove user if he/she is an only owner of group

To prevent loose of group data you need to transfer or remove group
first before you can remove user

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>

See merge request !730
2015-05-28 13:14:58 +00:00
Dmitriy Zaporozhets 47989d6037 Consistent header look for setting pages
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-05-28 14:54:05 +02:00
Dmitriy Zaporozhets dcc9dc94d5 Re-organize profile settings titles and headers
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-05-28 14:44:38 +02:00
Dmitriy Zaporozhets 2db026793d Fix current user removal
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-05-28 12:53:04 +02:00
Dmitriy Zaporozhets 9cc23910a6 Add CHANGELOG item
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-05-28 12:03:53 +02:00
Dmitriy Zaporozhets 499154518a You can not remove user if he/she is an only owner of group
To prevent loose of group data you need to transfer or remove group
first before you can remove user

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-05-28 12:00:02 +02:00
Douwe Maan 06250eef2e Merge branch 'fix-git-blame-syntax-highlighting' into 'master'
Fix git blame syntax highlighting when different commits break up lines

### What does this MR do?

This MR fixes a bug where syntax highlighting would not work properly in certain lines when doing a `git blame` view of a file. Also, this MR reuses the Rugments lexer and formatter for each `git blame` commit block, which should make things faster and reduce overhead.

### Why was this MR needed?

When doing a `git blame`, GitLab feeds the Rugments lexer/formatter blocks of code based on the latest commit for each line.  However, this can cause lexer to fail because the state is cleared between each block of code, which causes `highlight` to fallback to the plaintext lexer. For example, notice this unhighlighted line in [this file](https://gitlab.common-lisp.net/cmucl/cmucl/blame/master/src/assembly/assemfile.lisp):

![image](https://gitlab.com/gitlab-org/gitlab-ce/uploads/b403fe5c2b883882a9eeea7e0409c583/image.png)

The fixed version looks like this:

![image](https://gitlab.com/stanhu/gitlab-ce/uploads/32c4d7c8ff15a7d59b364dd988f7c657/image.png)

This MR requires a patch to rugments to allow the `continue` option to be passed to the lexer.

* https://github.com/rumpelsepp/rugments/pull/24
* https://github.com/rumpelsepp/rugments/pull/23
* Also submitted to rouge: https://github.com/jneen/rouge/pull/267

### What are the relevant issue numbers?

Closes #1521

See merge request !697
2015-05-28 09:40:00 +00:00
Marin Jankovski 549881152a Merge branch 'chlg-update' into 'master'
update changelog for 7.11.4

See merge request !1833
2015-05-28 09:06:38 +00:00
Job van der Voort 29b75e1480 update changelog for 7.11.4 2015-05-28 10:59:26 +02:00
Jeroen van Baarsen 91f2d3c229 Merge pull request #9335 from stefan-it/documentation/timezone-clarifications
[Documentation] non-omnibus instructions for changing time zone
2015-05-28 10:46:18 +02:00
Jeroen van Baarsen 5322099464 Merge pull request #9184 from rumpelsepp/english
Some language improvements
2015-05-28 10:43:41 +02:00
Dmitriy Zaporozhets 72e410965d Merge branch 'rs-persist-tab-selection' into 'master'
Persist current merge request tab selection via URL

Closes internal https://dev.gitlab.org/gitlab/gitlabhq/issues/2350

See merge request !728
2015-05-28 07:49:15 +00:00
Dmitriy Zaporozhets 72f1889825 Merge branch 'header-icons' into 'master'
Change some header icons

icons changed:

* profile settings: user icon to cog
* admin area: cogs to wrench

Based on https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/719#note_1289290

![Screenshot_2015-05-27_17.58.12](https://gitlab.com/gitlab-org/gitlab-ce/uploads/762de4afb8ae229a96ead8b2d213b2a4/Screenshot_2015-05-27_17.58.12.png)

See merge request !726
2015-05-28 07:47:14 +00:00
Marin Jankovski 492249f934 Merge branch 'rs-no-killers-in-development' into 'master'
Disable Unicorn::WorkerKiller in non-production environments

Addresses internal https://dev.gitlab.org/gitlab/gitlabhq/issues/2281

See merge request !729
2015-05-28 07:28:19 +00:00
Robert Speicher 694743170c Disable Unicorn::WorkerKiller in non-production environments 2015-05-27 22:57:49 -04:00
Robert Speicher 5c52eaa9d2 Persist current merge request tab selection via URL
Closes internal https://dev.gitlab.org/gitlab/gitlabhq/issues/2350
2015-05-27 22:39:11 -04:00
Stan Hu 0cd73885e6 Fix git blame syntax highlighting when different commits break up lines
Closes #1521
2015-05-27 14:10:58 -07:00
Douwe Maan 13f2ab3e3d Merge branch 'rs-dont-follow-me' into 'master'
Add ExternalLinkFilter to Markdown pipeline

Forces a `rel="nofollow"` attribute on all external links.

Addresses internal https://dev.gitlab.org/gitlab/gitlabhq/issues/2314#note_46525

See merge request !727
2015-05-27 20:26:44 +00:00
Stefan Tatschner 2fa3af047e Some language improvements 2015-05-27 21:44:04 +02:00
Robert Speicher 7424d2fa5b Add ExternalLinkFilter to Markdown pipeline
Forces a `rel="nofollow"` attribute on all external links.
2015-05-27 15:39:08 -04:00
Dmitriy Zaporozhets c843e092f3 Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ce 2015-05-27 18:29:35 +02:00
Dmitriy Zaporozhets accdcdf867 Merge branch 'master' of github.com:gitlabhq/gitlabhq 2015-05-27 18:29:29 +02:00
Dmitriy Zaporozhets 6cf45dde0c Replace some icons in header
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-05-27 17:56:36 +02:00
Douwe Maan b222f211c1 Merge branch 'browse-milestone-issues' into 'master'
Fix milestone "Browse Issues" button.

After refactoring around issue/merge requests filters, the button stopped working :(

See merge request !699
2015-05-27 15:31:52 +00:00
Douwe Maan e46849c454 Merge branch 'fix-disabled-project-snippet-feature' into 'master'
Fix project snippets button appearing when it is disabled

There was a typo in 9bcd36396b that caused the project snippets option to be shown when it is disabled.

Closes #1705

See merge request !720
2015-05-27 15:31:22 +00:00
Douwe Maan 97f9d601cc Merge branch 'fix-safari-clone-url' into 'master'
Fix clone URL losing selection after a single click in Safari and Chrome

### What does this MR do?

This MR deactivates the mouseup event in the `git clone` URL to prevent the text from being deselected after a single click.

### Why was this MR needed?

In Safari and Chrome 43.0.2357.65 (42.0.2311.152 worked fine), the URL would lose selection after a single click. To reproduce:

1. Go to https://gitlab.com/gitlab-org/gitlab-ce
2. Click on the URL in the repository (HTTP is selected by default).
3. Click on the SSH button.
4. Click on the URL again.

The URL selection should be selected automatically, but it is deselected immediately.

It appears that 92544df changed the selection event from `click` to `focusin` to make copy & paste work in X11. This Stack Overflow article discusses the deselection issue in detail:

http://stackoverflow.com/questions/3380458/looking-for-a-better-workaround-to-chrome-select-on-focus-bug

### What are the relevant issue numbers?

Closes https://github.com/gitlabhq/gitlabhq/issues/9326

See merge request !698
2015-05-27 12:26:41 +00:00
Douwe Maan e6f282e0f1 Fix spec. 2015-05-27 14:23:04 +02:00
Douwe Maan 7a11ef3e95 Add Browse Issues button to Dashboard and Group milestones. 2015-05-27 14:23:04 +02:00
Douwe Maan 511791014e Fix milestone "Browse Issues" button. 2015-05-27 14:23:04 +02:00
Douwe Maan 45e4727f97 Set milestone on new issue when creating issue from index with milestone filter active. 2015-05-27 14:22:11 +02:00
Douwe Maan 106cb511de Merge branch 'support-file-attachments-milestones' into 'master'
Add file attachment support in Milestone description

### What does this MR do?

This MR adds support for attaching files to Milestone descriptions.

### Why was this MR needed?

Dropzone support should be in every Markdown area. It seems that this one was overlooked.

### What are the relevant issue numbers?

Closes #1648

See merge request !712
2015-05-27 12:17:34 +00:00
Stan Hu ab88b7da19 Fix project snippets button appearing when it is disabled
Closes #1705
2015-05-27 05:07:44 -07:00
Stefan Schweter 8313aa6da8 Adds new section for changing time zone in GitLab configuration file. New section added for changing time zone in Omnibus installations. 2015-05-27 14:06:40 +02:00
Dmitriy Zaporozhets 284664448f Add missing CHANGELOG item
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-05-27 13:53:53 +02:00
Dmitriy Zaporozhets 4146ce559e Merge branch 'profile-in-sidebar' into 'master'
Move user avatar and logout button to sidebar

Related to https://dev.gitlab.org/gitlab/gitlabhq/issues/2272

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>

See merge request !719
2015-05-27 11:52:53 +00:00