Commit Graph
16681 Commits
Author SHA1 Message Date
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
Dmitriy Zaporozhets fcc0ff2ccd Merge branch 'nav-settings' into 'master'
Clarify navigation labels for Project Settings and Group Settings.

Addresses internal issue https://dev.gitlab.org/gitlab/gitlabhq/issues/2337.

See merge request !703
2015-05-27 11:48:33 +00:00
Dmitriy Zaporozhets 2cd1cee639 Merge branch 'commit-graphs-by-email' into 'master'
Group project contributions by both name and email.

See https://twitter.com/Argorain/status/598751646143897600.

We now group by both name and email, so that "Douwe Maan - douwe@gitlab.com", "Douwe Maan - me@douwe.me" and "Douwe M. - me@douwe.me" are all combined into one graph.

Fixes internal issue https://dev.gitlab.org/gitlab/gitlabhq/issues/2328.

See merge request !700
2015-05-27 11:45:53 +00:00
Dmitriy Zaporozhets 464123b388 Merge branch 'emailsonpush-prefix' into 'master'
Prefix EmailsOnPush email subject with `[Git]`.

Fixes internal issue https://dev.gitlab.org/gitlab/gitlabhq/issues/2112.

See merge request !701
2015-05-27 11:45:14 +00:00
Dmitriy Zaporozhets 93b2a30c79 Merge branch 'point-to-gitlab-com' into 'master'
Point people to the issue tracker on GitLab.com to prevent duplication.

/cc @jeroenvanbaarsen

See merge request !713
2015-05-27 11:43:57 +00:00
Dmitriy Zaporozhets 9eec0d5436 Merge branch 'accepted-rejected-mrs' into 'master'
Add Accepted and Rejected tabs to MR lists.

Before, MRs were referred to as Merged or Closed, but the Merge button on the MR page read "Accept Merge Request", the activity feed even read "X accepted merge request Y", and the Closed tab on the MR index included both Merged _and_ Closed MRs. I've changed every occurrence to consistently refer to MRs as either Accepted or Rejected, which is less technical and more clearly two opposites.

![Screen_Shot_2015-05-25_at_17.02.31](https://gitlab.com/gitlab-org/gitlab-ce/uploads/b0bf43aa1b5b9898a1c6b204dbcf669a/Screen_Shot_2015-05-25_at_17.02.31.png)

![Screen_Shot_2015-05-25_at_17.02.47](https://gitlab.com/gitlab-org/gitlab-ce/uploads/2ac05b1e1dba3b2d1692bd9242078f3a/Screen_Shot_2015-05-25_at_17.02.47.png)

![Screen_Shot_2015-05-25_at_17.03.03](https://gitlab.com/gitlab-org/gitlab-ce/uploads/4c0f0fa869c9130a6af18d80a1c6ebed/Screen_Shot_2015-05-25_at_17.03.03.png)

Addresses internal issue https://dev.gitlab.org/gitlab/gitlabhq/issues/2201.

See merge request !702
2015-05-27 11:40:36 +00:00
Dmitriy Zaporozhets 56ab471f98 Move user avatar and logout button to sidebar
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-05-27 13:17:14 +02:00
Dmitriy Zaporozhets 701c2e9a3b Merge branch 'rs-to_reference' into 'master'
Add to_reference method to referable models

Now there is a single source of information for which attribute a model uses to be referenced, and its special character.

See merge request !641
2015-05-27 10:03:14 +00:00
Dmitriy Zaporozhets 3ed05b2191 Merge branch 'rs-manual-2fa-entry' into 'master'
Add support for manually entering 2FA details

> ![Screen_Shot_2015-05-22_at_6.39.26_PM](https://gitlab.com/gitlab-org/gitlab-ce/uploads/27b6cc0b2f88e0ccec234dd8d20db957/Screen_Shot_2015-05-22_at_6.39.26_PM.png)

Related to #1679 though I'm not sure if it entirely fixes it, since I don't have access to a Windows Phone.

See merge request !694
2015-05-27 09:53:40 +00:00
Marin Jankovski 1dbfecb2bb Merge branch 'master' of dev.gitlab.org:gitlab/gitlabhq 2015-05-27 11:18:10 +02:00
Douwe Maan 29290dbb34 Merge branch 'rs-title-change-note' into 'master'
Add a note when an Issue or Merge Request's title changes

> ![Screen_Shot_2015-05-26_at_9.40.19_PM](https://gitlab.com/gitlab-org/gitlab-ce/uploads/f05c6a7b9f489ce66560cfe724184ec9/Screen_Shot_2015-05-26_at_9.40.19_PM.png)

Closes #1434

See merge request !717
2015-05-27 08:28:56 +00:00