summaryrefslogtreecommitdiff
path: root/app/helpers
Commit message (Collapse)AuthorAgeFilesLines
* 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
| * Always read diff_view setting from the cookieRobert Speicher2016-04-141-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | Merge branch 'top-navigation-concept' into 'master' Dmitriy Zaporozhets2016-04-212-0/+16
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement top navigation for profile area Main idea is to keep left sidebar static so user is not confused by changing context. Instead we put changing navigation with changing content in one main block. I used profile area as a simplest way to implement and test this concept. Your feedback is welcome in comments For https://gitlab.com/gitlab-org/gitlab-ce/issues/14354#note_4878536 Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> See merge request !3824
| * | Implement top navigation concept for profile areaDmitriy Zaporozhets2016-04-192-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | Main idea is to keep left sidebar static so user is not confused by changing context. Instead we put changing navigation with changing content in one main block Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | | Merge branch 'issue_5838' into 'master' Rémy Coutable2016-04-211-0/+4
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Show project members only for members fixes #5838 See merge request !3752
| * | | Remove unused authorization from controllerFelipe Artur2016-04-201-1/+1
| | | |
| * | | Show project members only for membersFelipe Artur2016-04-181-0/+4
| | | |