summaryrefslogtreecommitdiff
path: root/app/helpers
Commit message (Collapse)AuthorAgeFilesLines
* Reduce duplication and branching logic in EventsHelperRobert Speicher2016-05-161-41/+15
| | | | Remove unused methods from Event model
* Rename `Event#note_project_snippet?` to `project_snippet_note?`Robert Speicher2016-05-161-2/+2
|
* Rename `Event#note_commit?` to `commit_note?`Robert Speicher2016-05-161-5/+5
|
* Remove redundant `html_escape` calls from `title` attributesRobert Speicher2016-05-161-3/+3
| | | | These get escaped automatically.
* Fix titles for commit references in Event feedRobert Speicher2016-05-161-1/+2
| | | | | Prior, the `title` attribute was being included as an argument to the route helper rather than as an argument to `link_to`.
* Add an Event's target's title to its reference linkRobert Speicher2016-05-161-1/+1
| | | | | | | | Given an activity feed entry like: > Douwe Maan commented on [issue #123] at [gitlab-org/gitlab-ce] ...the `issue #123` link will now have a `title` attribute.
* Extract LegacyDiffNote out of NoteDouwe Maan2016-05-132-29/+22
|
* Merge branch 'rubocop/space-around-operators' into 'master' Robert Speicher2016-05-132-2/+2
|\ | | | | | | | | | | | | | | | | | | Rubocop: require space round operators This enables rubocop to require space around opertators and fix offenses in the codebase. There is another merge-request to solve remaining offenses in EE codebase, merge it first: gitlab-org/gitlab-ee!388 Fixes #17398 See merge request !4112
| * Codestyle: make sure we have space around operatorsGabriel Mazetto2016-05-132-2/+2
| |
* | Fix mobile dropdown bugAnnabel Dunstone2016-05-131-0/+8
|/
* Merge branch 'otzy007/gitlab-ce-disable_oauth_sign_in_sources'Douwe Maan2016-05-122-0/+24
|\
| * no need to define the help block since there's no help blockAndrei Gliga2016-05-121-3/+2
| |
| * Revert "Revert "no need to show the help about Github or the other ↵Andrei Gliga2016-05-121-8/+1
| | | | | | | | | | | | authentication sources"" This reverts commit 075ace5686c63d40f7e9fa02bf37e1bd3168f7e7.
| * Revert "no need to show the help about Github or the other authentication ↵Andrei Gliga2016-05-121-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | sources" This reverts commit 78a832d0fd7ff445c707809134dbb2a42d2a9e03. Show help only for the enabled OAuth Providers on oauth-providers-help block aria: { describedby: help_block_id } instead of 'aria-describedby' => help_block_id provider and not p a more simple approach to the OmniAuth helper links for oauth-providers-help
| * << instead of +=Andrei Gliga2016-05-121-1/+1
| |
| * enabled_button_based_providers.any? instead of ! empty? for ↵Andrei Gliga2016-05-121-1/+1
| | | | | | | | button_based_providers_enabled?
| * On Application Settings Page let the user select the enabled OAuth Sign in ↵Andrei Gliga2016-05-121-4/+4
| | | | | | | | sources instead of the disabled ones
| * method to check if oauth button based providers are enabledAndrei Gliga2016-05-121-0/+4
| |
| * method to get the enabled_button_based_providersAndrei Gliga2016-05-121-0/+6
| |
| * OAuth Providers disable from the ApplicationSettings pageAndrei Gliga2016-05-121-0/+15
| |
* | Only show forks for users who can download codeSean McGivern2016-05-121-2/+2
|/ | | | | The ForksController enforces this, so don't show the link if it won't go anywhere.
* Remove unused `icon_for_event` helperRobert Speicher2016-05-111-9/+0
|
* Merge branch 'rs-backport-ee-372' into 'master' Rémy Coutable2016-05-091-1/+2
|\ | | | | | | | | | | | | Backport changes from gitlab-org/gitlab-ee!372 Mostly replaces several Spinach tests with RSpec Feature tests. See merge request !4043
| * Backport changes from gitlab-org/gitlab-ee!372rs-backport-ee-372Robert Speicher2016-05-041-1/+2
| | | | | | | | Mostly replaces several Spinach tests with RSpec Feature tests.
* | Update SVG sanitizer to conform to SVG 1.1Stan Hu2016-05-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | Use a custom Loofah scrubber since sanitize 2.x transformers are inadequate to handle case-sensitive SVG attributes. sanitize parses documents as HTML instead of XML, which causes all SVG attribute names (e.g. viewBox) to be downcased. * SVG element list: https://www.w3.org/TR/SVG/eltindex.html * SVG attribute list: https://www.w3.org/TR/SVG/attindex.html Closes #14555
* | Merge branch 'master' into group-navigation-redesignDmitriy Zaporozhets2016-05-051-6/+8
|\ \
| * \ Merge branch 'rs-repository-size-format' into 'master' Stan Hu2016-05-041-6/+2
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use `number_to_human_size` helper to show repository size This will intelligently format large repository sizes in GBs (or, shudder, TBs). Also, removes `rescue` clause from `repository_size` helper. The repository size has since become calculated (and cached) more intelligently, and this should no longer be necessary. See merge request !4047
| | * | Remove `rescue` clause from `repository_size` helperrs-repository-size-formatRobert Speicher2016-05-041-5/+0
| | | | | | | | | | | | | | | | | | | | The repository size has since become calculated (and cached) more intelligently, and this should no longer be necessary.
| | * | Use `number_to_human_size` helper to show repository sizeRobert Speicher2016-05-041-1/+2
| | |/ | | | | | | | | | | | | This will intelligently format large repository sizes in GBs (or, shudder, TBs).
| * | Sanitize repo paths in new project error messageStan Hu2016-05-041-0/+6
| |/ | | | | | | Closes #17243
* | Group navigation design updateAnnabel Dunstone2016-05-031-5/+8
|/
* Merge remote-tracking branch 'dev/master' into 'master'Robert Speicher2016-05-021-15/+33
|\
| * Ensure URL in all Service subclasses are validRémy Coutable2016-04-251-15/+33
| | | | | | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* | Remove deprecated CI badge helperGrzegorz Bizon2016-04-291-13/+0
| | | | | | | | Closes #13446
* | Properly handle bigger filesZeger-Jan van de Weg2016-04-281-2/+2
| |
* | Merge branch 'sidebar-label-link' into 'master' Jacob Schatz2016-04-271-1/+1
|\ \ | | | | | | | | | | | | | | | | | | Updated label links to work correctly for filtering See !3846#note_5033951 See merge request !3920
| * | Updated label links to work correctly for filteringsidebar-label-linkPhil Hughes2016-04-261-1/+1
| |/ | | | | | | See !3846#note_5033951
* | Allow to pass custom classes to buttonAlfredo Sumaran2016-04-261-6/+9
| |
* | Hide button on mobileAlfredo Sumaran2016-04-261-1/+1
| |
* | Syntax and code improvementsAlfredo Sumaran2016-04-261-11/+13
| |
* | Rename methodAlfredo Sumaran2016-04-261-4/+4
| |
* | Use new method hide_whitespaces?Alfredo Sumaran2016-04-261-1/+1
| |
* | Add Hide/show whitespace changes button on diff and commit viewAlfredo Sumaran2016-04-261-0/+22
| |
* | Updated based on feedbacksearch-ui-updatePhil Hughes2016-04-261-6/+6
| | | | | | | | | | Changed some variable names Fixed CHANGELOG entry
* | Correctly shows no results textPhil Hughes2016-04-261-1/+1
| | | | | | | | Correct search results count
* | Humanize scope textPhil Hughes2016-04-261-2/+2
| |
* | Mobile updates for search UIPhil Hughes2016-04-261-1/+1
| |
* | Started updating search UIPhil Hughes2016-04-261-0/+10
|/
* Fix license detection to detect all license files, not only known licensesRémy Coutable2016-04-251-8/+12
| | | | | | Fixes #15470. Signed-off-by: Rémy Coutable <remy@rymai.me>
* Merge branch 'rs-diff_view' into 'master' Rémy Coutable2016-04-221-1/+7
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Always read diff_view setting from the cookie Prior, when the user had their view set to "parallel" and then visited a merge request's changes tab _without_ passing the `view` parameter via query string, the view would be parallel but the `Notes` class was always instantiated with the default value from `diff_view` ("inline"), resulting in broken markup when the form to add a line note was dynamically inserted. The cookie is set whenever the view is changed, so this value should always be up-to-date. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/14557 and https://gitlab.com/gitlab-org/gitlab-ce/issues/15285 See merge request !3732