summaryrefslogtreecommitdiff
path: root/app
Commit message (Collapse)AuthorAgeFilesLines
* Fix link_to_gfm with only a reference having the incorrect linkrs-issue-1721Robert Speicher2015-05-291-3/+16
| | | | Closes #1721
* Make user settings account page nicerDmitriy Zaporozhets2015-05-282-14/+14
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Use panels instead of well for widgets in project sidebarDmitriy Zaporozhets2015-05-282-79/+77
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Merge branch 'profile-settings'Dmitriy Zaporozhets2015-05-289-108/+127
|\ | | | | | | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> Conflicts: app/views/profiles/accounts/show.html.haml
| * Prefer panels over fieldset when different formsDmitriy Zaporozhets2015-05-283-83/+92
| | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
| * Consistent header look for setting pagesDmitriy Zaporozhets2015-05-283-14/+24
| | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
| * Re-organize profile settings titles and headersDmitriy Zaporozhets2015-05-288-10/+11
| | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | Merge branch 'user-destroy-wo-groups' into 'master'Dmitriy Zaporozhets2015-05-287-31/+50
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | Fix current user removaluser-destroy-wo-groupsDmitriy Zaporozhets2015-05-281-1/+1
| | | | | | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
| * | You can not remove user if he/she is an only owner of groupDmitriy Zaporozhets2015-05-287-31/+50
| | | | | | | | | | | | | | | | | | | | | 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>
* | | Merge branch 'fix-git-blame-syntax-highlighting' into 'master'Douwe Maan2015-05-282-6/+6
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | Fix git blame syntax highlighting when different commits break up linesStan Hu2015-05-272-6/+6
| |/ / | | | | | | | | | Closes #1521
* | | Merge pull request #9184 from rumpelsepp/englishJeroen van Baarsen2015-05-281-17/+18
|\ \ \ | |_|/ |/| | Some language improvements
| * | Some language improvementsStefan Tatschner2015-05-271-17/+18
| |/
* | Merge branch 'rs-persist-tab-selection' into 'master'Dmitriy Zaporozhets2015-05-283-58/+96
|\ \ | | | | | | | | | | | | | | | | | | | | | Persist current merge request tab selection via URL Closes internal https://dev.gitlab.org/gitlab/gitlabhq/issues/2350 See merge request !728
| * | Persist current merge request tab selection via URLrs-persist-tab-selectionRobert Speicher2015-05-273-58/+96
| |/ | | | | | | Closes internal https://dev.gitlab.org/gitlab/gitlabhq/issues/2350
* | Merge branch 'header-icons' into 'master'Dmitriy Zaporozhets2015-05-281-2/+2
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | 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
| * Replace some icons in headerheader-iconsDmitriy Zaporozhets2015-05-271-2/+2
| | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | Merge branch 'browse-milestone-issues' into 'master'Douwe Maan2015-05-2710-34/+102
|\ \ | | | | | | | | | | | | | | | | | | | | | Fix milestone "Browse Issues" button. After refactoring around issue/merge requests filters, the button stopped working :( See merge request !699
| * | Add Browse Issues button to Dashboard and Group milestones.Douwe Maan2015-05-274-4/+10
| | |
| * | Fix milestone "Browse Issues" button.Douwe Maan2015-05-272-3/+3
| | |
| * | Set milestone on new issue when creating issue from index with milestone ↵Douwe Maan2015-05-274-27/+89
| | | | | | | | | | | | filter active.
* | | Merge branch 'fix-disabled-project-snippet-feature' into 'master'Douwe Maan2015-05-271-1/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix project snippets button appearing when it is disabled There was a typo in 9bcd36396b9b that caused the project snippets option to be shown when it is disabled. Closes #1705 See merge request !720
| * | | Fix project snippets button appearing when it is disabledStan Hu2015-05-271-1/+1
| | |/ | |/| | | | | | | Closes #1705
* | | Merge branch 'fix-safari-clone-url' into 'master'Douwe Maan2015-05-271-1/+4
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | Fix clone URL losing selection after a single click in Safari and ChromeStan Hu2015-05-241-1/+4
| | | | | | | | | | | | Closes #9326
* | | Merge branch 'support-file-attachments-milestones' into 'master'Douwe Maan2015-05-271-0/+1
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | Add file attachment support in Milestone descriptionStan Hu2015-05-251-0/+1
| | | | | | | | | | | | Closes #1648
* | | Merge branch 'profile-in-sidebar' into 'master'Dmitriy Zaporozhets2015-05-276-25/+58
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | Move user avatar and logout button to sidebarprofile-in-sidebarDmitriy Zaporozhets2015-05-276-25/+58
| | | | | | | | | | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | | | Merge branch 'nav-settings' into 'master'Dmitriy Zaporozhets2015-05-272-2/+2
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Clarify navigation labels for Project Settings and Group Settings. Addresses internal issue https://dev.gitlab.org/gitlab/gitlabhq/issues/2337. See merge request !703
| * | | | Clarify navigation labels for Project Settings and Group Settings.nav-settingsDouwe Maan2015-05-252-2/+2
| | |/ / | |/| |
* | | | Merge branch 'commit-graphs-by-email' into 'master'Dmitriy Zaporozhets2015-05-271-7/+13
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | | Group project contributions by both name and email.Douwe Maan2015-05-251-7/+13
| | | | |
* | | | | Merge branch 'emailsonpush-prefix' into 'master'Dmitriy Zaporozhets2015-05-271-1/+2
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Prefix EmailsOnPush email subject with `[Git]`. Fixes internal issue https://dev.gitlab.org/gitlab/gitlabhq/issues/2112. See merge request !701
| * | | | | Prefix EmailsOnPush email subject with `[Git]`.emailsonpush-prefixDouwe Maan2015-05-251-1/+2
| |/ / / /
* | | | | Merge branch 'accepted-rejected-mrs' into 'master'Dmitriy Zaporozhets2015-05-2715-25/+47
|\ \ \ \ \ | |_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | | Add Accepted and Rejected tabs to MR lists.Douwe Maan2015-05-259-13/+35
| | | | |
| * | | | Consistently refer to MRs as either Accepted or Rejected.Douwe Maan2015-05-256-12/+12
| |/ / /
* | | | Merge branch 'rs-to_reference' into 'master'Dmitriy Zaporozhets2015-05-2716-85/+347
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | | More SystemNoteService cleanuprs-to_referenceRobert Speicher2015-05-263-46/+22
| | | | |
| * | | | Surround Project.reference_pattern in parenthesis inside other patternsRobert Speicher2015-05-264-4/+7
| | | | |
| * | | | Make `cross_project_reference?` less magicalRobert Speicher2015-05-261-4/+3
| | | | |
| * | | | Support only double quotes for multi-word label referencesRobert Speicher2015-05-261-6/+4
| | | | |
| * | | | Fix for Snippets with a projectRobert Speicher2015-05-261-1/+1
| | | | |
| * | | | Minor documentation updatesRobert Speicher2015-05-262-2/+2
| | | | |
| * | | | Add `reference_pattern` to Referable modelsRobert Speicher2015-05-2611-9/+114
| | | | |
| * | | | Update CommitRange#to_reference to use full SHAsRobert Speicher2015-05-261-3/+6
| | | | | | | | | | | | | | | | | | | | We only want them shortened by the filter, which calls to_s
| * | | | Implement gfm_reference directly in MentionableRobert Speicher2015-05-264-19/+8
| | | | | | | | | | | | | | | | | | | | Except for Note, which still overrides it.
| * | | | Simplify `cross_project_reference` with `to_reference`Robert Speicher2015-05-261-7/+17
| | | | |