summaryrefslogtreecommitdiff
path: root/app/helpers
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix git blame syntax highlighting when different commits break up linesStan Hu2015-05-271-5/+5
| | | | Closes #1521
* Merge branch 'accepted-rejected-mrs' into 'master'Dmitriy Zaporozhets2015-05-271-1/+6
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-251-1/+6
| |
* | Simplify `cross_project_reference` with `to_reference`Robert Speicher2015-05-261-7/+17
| |
* | Merge branch 'rs-link_to_label' into 'master'Dmitriy Zaporozhets2015-05-261-0/+38
|\ \ | | | | | | | | | | | | | | | | | | | | | Add link_to_label helper The primary purpose of this change was to make the actual labels on `Labels#index` clickable. See merge request !690
| * | Add link_to_label helperRobert Speicher2015-05-211-0/+38
| | |
* | | Refactor permission checks to use `can?` instead of `issues_enabled` and ↵Stan Hu2015-05-251-4/+12
| |/ |/| | | | | `merge_requests_enabled`
* | Use the user list from the target project in a merge requestStan Hu2015-05-221-2/+3
|/ | | | Closes #1535
* Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ceJob van der Voort2015-05-211-2/+4
|\
| * workaround for buggy lexersHannes Rosenögger2015-05-201-2/+4
| | | | | | | | if something goes wrong, fall back to the plaintext lexer
* | Disabled expansion of top/bottom blobs for new file diffsAlex Connor2015-05-211-0/+4
|/
* Simplify and unify helpers for rendering markupJakub Jirutka2015-05-182-10/+4
|
* Rename MarkdownHelper to MarkupHelperJakub Jirutka2015-05-182-4/+4
|
* Handle AsciiDoc better, reuse HTML pipeline filters (fixes #9263)Jakub Jirutka2015-05-183-3/+26
|
* Fill in email on the new password formVinnie Okada2015-05-161-1/+1
|
* Explain reset token expiration in emailsVinnie Okada2015-05-161-0/+19
| | | | | Tell new users when their password reset token expires and provide a link to get a new one.
* Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ceDmitriy Zaporozhets2015-05-153-12/+22
|\
| * Merge branch 'dashboard-references' into 'master'Dmitriy Zaporozhets2015-05-152-8/+10
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix reference links in dashboard activity and ATOM feeds. References like `@user` were not linked on the dashboard activity feed and in Atom feeds, because the reference parser depends on `@project` which isn't set in those situations. This MR passes the project in question to the reference parsers in an option. cc @rspeicher See merge request !653
| | * Fix reference links in dashboard activity and ATOM feeds.dashboard-referencesDouwe Maan2015-05-142-8/+10
| | |
| * | Small refactoring of state_filters_text_for helperuse-count-badgesDmitriy Zaporozhets2015-05-141-3/+2
| | |
| * | append empty space only if count existsDmitriy Zaporozhets2015-05-141-1/+1
| | |
| * | Use count badges with number_with_delimiter helper for issue, commit countDmitriy Zaporozhets2015-05-141-4/+13
| |/
* | Fix bug with default timezone en RSS gitlab eventsJorge Vasquez2015-05-141-1/+1
|/
* Merge branch 'master' of github.com:gitlabhq/gitlabhqDmitriy Zaporozhets2015-05-131-140/+0
|\
| * Merge pull request #9276 from jirutka/relative_link_filterDmitriy Zaporozhets2015-05-131-140/+0
| |\ | | | | | | Extract handling of relative file links to its own HTML filter
| | * Extract handling of relative file links to RelativeLinkFilterJakub Jirutka2015-05-111-140/+0
| | |
* | | Merge branch 'version-check' into 'master'Dmitriy Zaporozhets2015-05-131-0/+7
|\ \ \ | |/ / |/| | | | | | | | | | | Version check See merge request !1509
| * | Enable version check only for production environmentDmitriy Zaporozhets2015-05-111-1/+3
| | | | | | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
| * | Merge branch 'version-check' into gl-version-checkDmitriy Zaporozhets2015-05-081-0/+5
| |\ \ | | |/ | |/| | | | | | | | | | | | | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> Conflicts: app/controllers/admin/application_settings_controller.rb app/views/admin/application_settings/_form.html.haml db/schema.rb
| | * Remove encryptionDmitriy Zaporozhets2015-05-081-3/+1
| | | | | | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
| | * Prevent crash if file does not existsDmitriy Zaporozhets2015-03-091-1/+3
| | |
| | * Add version check badge to admin areaDmitriy Zaporozhets2015-03-091-0/+5
| | |
* | | Restructure project sidebar.Douwe Maan2015-05-121-3/+3
| | |
* | | Merge branch 'commit_time_timezone' into 'master'Douwe Maan2015-05-121-1/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix commit time being displayed in the wrong timezone in some cases This MR makes sure that the displayed commit date is shown in the timezone that's configured in the gitlab.yml. Before it was possible that the `committed_date` of a commit would display different values on the dashboard and the commit page. fixes gitlab-org/gitlab-ce#1278 /cc @DouweM See merge request !624
| * | | Fix commit time being displayed in the wrong timezone in some casesHannes Rosenögger2015-05-071-1/+1
| | | |
* | | | Improve create_mr_button? performance.Douwe Maan2015-05-091-5/+4
| | | |
* | | | Add Create Merge Request buttons to commits page and push event.Douwe Maan2015-05-091-12/+12
| |/ / |/| |
* | | Merge branch 'rs-task_list' into 'master'Dmitriy Zaporozhets2015-05-081-0/+4
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use task_list gem for task lists Task Lists can now be used in comments, and they'll render in previews. :clap: Closes internal https://dev.gitlab.org/gitlab/gitlabhq/issues/2271 See merge request !599
| * | | Don't add js-task-list-container to things the user can't editRobert Speicher2015-05-061-0/+4
| |/ /
* | | Merge branch 'rs-fix-filter-tooltips' into 'master'Robert Speicher2015-05-071-4/+8
|\ \ \ | | | | | | | | | | | | | | | | | | | | Fix tooltips for event filter links See merge request !618
| * | | Fix tooltips for event filter linksrs-fix-filter-tooltipsRobert Speicher2015-05-061-4/+8
| |/ /
* | | Merge branch 'feature/handle-big-diffs' into 'master'Douwe Maan2015-05-071-5/+14
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Improve handling of large diffs Diffs with a large number of changed lines time out (504 HTTP error) or generate a HTML page that's so heavy web browsers struggle with it. https://github.com/gitlabhq/gitlabhq/pull/5014 introduced limits on commit line count so that only a safe portion is rendered. This was later undone by code refactoring in be5b6db8, e0eb4803 and c741fcab. This patch re-introduces a safe limit on number of lines. See merge request !539
| * | Improve handling of large diffsAlex Lossent2015-05-051-5/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Diffs with a large number of changed lines time out (504 HTTP error) or generate a HTML page that's so heavy web browsers struggle with it. https://github.com/gitlabhq/gitlabhq/pull/5014 introduced limits on commit line count so that only a safe portion is rendered. This was later undone by code refactoring in be5b6db8, e0eb4803 and c741fcab. This patch re-introduces a safe limit on number of lines.
* | | When use change branches link at MR form - save source branch selection ↵mr-change-branchesDmitriy Zaporozhets2015-05-061-0/+12
|/ / | | | | | | | | | | instead of target one Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | Merge branch 'fix-wiki-search' into 'master'Dmitriy Zaporozhets2015-05-041-0/+2
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix Error 500 when searching Wiki pages If a Wiki page turns up a hit in the search results, an error will occur: ``` Completed 500 Internal Server Error in 836ms NoMethodError - undefined method `slug' for "test.markdown":String: app/helpers/wiki_helper.rb:10:in `namespace_project_wiki_path' app/views/search/results/_wiki_blob.html.haml:4:in `_app_views_search_results__wiki_blob_html_haml___2752621660395393333_70299911622700' actionview (4.1.9) lib/action_view/template.rb:145:in `block in render' activesupport (4.1.9) lib/active_support/notifications.rb:161:in `instrument' actionview (4.1.9) lib/action_view/template.rb:339:in `instrument' actionview (4.1.9) lib/action_view/template.rb:143:in `render' ``` An unhandled String containing the name of the Wiki page would be provided to the URL path generator. This MR handles that case. Closes #1547 See merge request !592
| * | Fix Error 500 when searching Wiki pagesStan Hu2015-04-301-0/+2
| | | | | | | | | | | | Closes #1547
* | | Merge branch 'master' of github.com:gitlabhq/gitlabhqRobert Schilling2015-05-031-1/+2
|\ \ \
| * \ \ Merge pull request #9234 from dsander/group-milestones-by-titleDmitriy Zaporozhets2015-05-031-1/+2
| |\ \ \ | | | | | | | | | | Group milestones by title in the dashboard and all other issue views
| | * | | Group milestones by title in the dashboard and all other issue viewsDominik Sander2015-05-011-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This groups milestones by title for issue views like it has been done for the milestone dashboard/project overview. Before milestones with the same title would show up multiple times in the filter dropdown and one could only filter per project and milestone. Now the milestone filter is based on the title of the milestone, i.e. all issues marked with the same milestone title are shown.
* | | | | Add period at snippet visibilty descriptionRobert Schilling2015-05-031-1/+1
|/ / / /