summaryrefslogtreecommitdiff
path: root/app/helpers
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'ignore-references' into 'master'Dmitriy Zaporozhets2015-06-021-15/+12
|\ | | | | | | | | | | | | | | Don't notify users mentioned in code blocks or blockquotes. cc @rspeicher See merge request !753
| * Actually ignore references in code blocks etc.Douwe Maan2015-06-021-15/+12
| |
* | Remove now-unused `escaped_autolink` helper and rails_autolink gemRobert Speicher2015-06-021-4/+0
|/
* Merge branch 'rs-issue-1721' into 'master'Douwe Maan2015-06-021-3/+16
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix link_to_gfm with only a reference having the incorrect link Before: ```ruby link_to_gfm("#4", "/foo") # => "<a href="/namespace/project/issues/4" class="gfm gfm-issue">#4</a>" link_to_gfm("See #4", "/foo") # => "<a href="/foo">See </a><a href="/namespace/project/issues/4" class="gfm gfm-issue">#4</a>" ``` After: ```ruby link_to_gfm("#4", "/foo") # => "<a href="/foo">#4</a>" link_to_gfm("See #4", "/foo") # => "<a href="/foo">See </a><a href="/namespace/project/issues/4" class="gfm gfm-issue">#4</a>" ``` Closes #192 Closes #1721 Closes [GitHub #7115](https://github.com/gitlabhq/gitlabhq/issues/7115) See merge request !739
| * Fix link_to_gfm with only a reference having the incorrect linkrs-issue-1721Robert Speicher2015-05-291-3/+16
| | | | | | | | Closes #1721
* | Merge branch 'leave-project' into 'master'Dmitriy Zaporozhets2015-05-291-0/+12
|\ \ | | | | | | | | | | | | | | | | | | | | | Add ability to leave project Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> See merge request !744
| * | Add ability to leave projectDmitriy Zaporozhets2015-05-291-0/+12
| |/ | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | Add option to disallow users from registering any application to use GitLab ↵user-oauth-applicationsDouwe Maan2015-05-291-0/+4
|/ | | | as an OAuth provider
* 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