summaryrefslogtreecommitdiff
path: root/spec/helpers
Commit message (Collapse)AuthorAgeFilesLines
* Resolve CE/EE diffs in app/views/layouts viewlayouts-scbLuke Bennett2019-05-111-0/+12
| | | | Part of single codebase changes.
* Added blank lines to meet style guideEzekiel Kigbo2019-05-061-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Un-nest title variable output Update spec test names Rename sort_value_most_stars -> sort_value_stars_desc Rename sorted_by_stars -> sorted_by_stars_desc Renname sort_value_most_stars_asc -> sort_value_stars_asc Invert feature check, assign feature condition to a variable Inline conditional nav bar rendering Invert conditional label Added follow up task Fix filters returning 0 projects show the wrong view Move click action out of test expectation Use proper variable name for project in before block Rename projects_sort_admin_options_hash Renamed projects_sort_admin_options_has to old_projects_sort_options_hash as its not only used on the admin screen Fix extra whitespace errors Stub project_list_filter_bar in the projects_helper specs Added follow up task for `show_projects?` Removed url test expectations
* Add packages_size to ProjectStatisticsAlessio Caiazza2019-05-021-0/+24
| | | | | This new field will allow to keep track of the storage used by the packages features, it provides also aggregation at namespace level.
* Move scoped_label into label presenterJan Provaznik2019-04-231-19/+29
| | | | | | | When rendering a label we want to check 'scoped_label' feature availability on a project/group where label is being used. For this reason a label presenter is used in UI and information about context project/group is passed to this presenter.
* Add part of needed codeGosia Ksionek2019-04-051-3/+69
| | | | | | | | | | | | | | | | | Add columns to store project creation settings Add project creation level column in groups and default project creation column in application settings Remove obsolete line from schema Update migration with project_creation_level column existence check Rename migrations to avoid conflicts Update migration methods Update migration method
* Merge branch 'keyval-labels' into 'master'Sean McGivern2019-04-051-0/+20
|\ | | | | | | | | [CE] Add mutually exclusive labels See merge request gitlab-org/gitlab-ce!26804
| * Fix scoped_labels feature checkJan Provaznik2019-04-041-0/+20
| | | | | | | | | | Check this feature per project/group instead of globally. Also do not show tooltip if it's disabled.
* | Autocorrect with RSpec/ExampleWording copThong Kuah2019-04-053-8/+8
| | | | | | | | | | | | | | - rewords examples starting with 'should' - rewords examples starting with 'it' Note: I had to manually fixup "onlies" to "only"
* | Allow to sort wiki pages by date and titleIgor2019-04-041-0/+52
|/ | | | | - Add controls for sorting by title and date - Execute Gitaly call which now accepts sorting params for wikis
* Merge branch 'feature/webide_escaping' of gitlab.com:hiddentiger/gitlab-ce ↵Kieran Andrews2019-04-031-0/+13
| | | | into feature/webide_escaping
* Fix group transfer selection possibilitiesPeter Marko2019-04-021-0/+33
|
* [CE] Reduce the diff with EE in spec/helpers/projects_helper_spec.rbRémy Coutable2019-03-281-0/+2
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* [CE] Reduce the diff with EE in spec/helpers/merge_requests_helper_spec.rbRémy Coutable2019-03-281-0/+2
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* [CE] Reduce the diff with EE in spec/helpers/issuables_helper_spec.rbRémy Coutable2019-03-281-2/+4
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* [CE] Reduce the diff with EE in spec/helpers/group_helper_spec.rbRémy Coutable2019-03-281-0/+2
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* [CE] Reduce the diff with EE in spec/helpers/auth_helper_spec.rbRémy Coutable2019-03-281-0/+2
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* [CE] Reduce the diff with EE in spec/helpers/appearances_helper_spec.rbRémy Coutable2019-03-281-5/+3
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Improvements for Knative installationMayra Cabrera2019-03-251-0/+33
| | | | | | | Displays Knative domain field automatically after Helm is successfully installed. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/56954
* Move out link\unlink ability checks to a policyPavel Shutsin2019-03-191-9/+29
| | | | We can extend the policy in EE for additional behavior
* Enable/disable Auto DevOps at Group levelMayra Cabrera2019-03-121-3/+135
| | | | | | | | | | | | - Includes instance methods on Group model to detect when a group has AutoDevOps explicitly/implicitly enabled/disabled. - Includes migration to add a new column to namespaces table - Add UI necessary modifications - Add service and controller to update auto devops related instances - Updates project and groups auto devops badges Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/52447
* Add Saturday to first day of the weekhaghighi_ahmad2019-03-041-4/+12
| | | | | | | | | | | | | | | | | | | | fix #58023 docs for adding Saturday for first day of the week add related settings for Saturday as first day of the week firstDayOfWeek: Use enumeration, replace day's numbers with corresponding names make some variables lowercase (follow camelCase) add CHANGELOG entry Author: haghighi_ahmad <haghighi.ahmad@gmail.com> modified: app/assets/javascripts/pages/users/activity_calendar.js modified: app/helpers/preferences_helper.rb new file: changelogs/unreleased/58023-add-Saturday-to-localization-first-day-of-the-week.yml modified: doc/api/settings.md modified: doc/user/profile/preferences.md modified: locale/gitlab.pot modified: spec/helpers/preferences_helper_spec.rb
* Refactor model and specReuben Pereira2019-03-011-0/+50
| | | | | | - Move some specs into contexts - Let get_slugs method take a parameter and return a specific slug. - Add rescues when using Addressable::URI.
* Show header and footer system messages in emailAlexandru Croitor2019-02-271-0/+54
| | | | | | | | | | | * Add email_header_and_footer_enabled flag to appearances table * Set email_header_and_footer_enabled default value to false * Add checkbox to appearance to toggle show header and footer in emails * Add email_header_and_footer_enabled to allowed params in controller * Add header and footer messages to the html and text email layouts * Remove the color styling for emails header and footer * Add empty_mailer layout for emails without layout, to have the header and footer applied
* Makes the Web IDE the default editorPhil Hughes2019-02-261-0/+8
| | | | Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/42382
* Merge branch '55057-system-message-to-core' into 'master'Sean McGivern2019-02-221-0/+76
|\ | | | | | | | | | | | | Port EE System Header And Footer feature to CE Closes #55057 See merge request gitlab-org/gitlab-ce!25241
| * Port EE System Header And Footer feature to CEDouwe Maan2019-02-211-0/+76
| | | | | | | | | | | | | | | | remove EE specific code remove EE licence checks move migration from EE to CE folder structure move specs from EE to CE folder structure remove EE specific flag specs
* | Sort labels alphabeticallyDmitriy Zaporozhets2019-02-211-0/+13
|/ | | | | | | | Sorts labels alphabetically on issues (and merge requests) list. Before it was order id desc. Now it will be consistent with sidebar and labels page. Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Move language setting to preferencesFabian Schneider2019-02-201-0/+7
|
* Improve the GitHub and Gitea import feature table interfaceLuke Bennett2019-02-131-52/+5
| | | | | | | | | | | These are backend changes. Use Vue for the import feature UI for "githubish" providers (GitHub and Gitea). Add "Go to project" button after a successful import. Use CI-style status icons and improve spacing of the table and its component. Adds ETag polling to the github and gitea import jobs endpoint.
* Merge branch 'master' into ↵Sean McGivern2019-02-071-35/+0
|\ | | | | | | fabsrc/gitlab-ce-2105-add-setting-for-first-day-of-the-week
| * Merge branch '52363-ui-changes-to-cluster-and-ado-pages' into 'master'Grzegorz Bizon2019-02-071-35/+0
| |\ | | | | | | | | | | | | | | | | | | Moves domain setting to Clusters page Closes #52363 See merge request gitlab-org/gitlab-ce!24580
| | * Addresses UX and BE comments:52363-ui-changes-to-cluster-and-ado-pagesMayra Cabrera2019-02-061-35/+0
| | | | | | | | | | | | | | | | | | - Changes help text on clusters form to make it more explicit. - Removes unnecessary warnings on auto devops form - Simplifies cluster methods logic
* | | Add tests for preferences_helperFabian Schneider2019-02-061-0/+24
|/ /
* | Merge branch ↵Filipa Lacerda2019-02-061-0/+68
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | '43681-display-last-activity-and-created-at-datetimes-for-users-in-admin-users' into 'master' Resolve "Display last activity and created at datetimes for users" Closes #43681 See merge request gitlab-org/gitlab-ce!24181
| * | Add last activity to user administrationBrandon Labuschagne2019-02-051-0/+68
| | | | | | | | | | | | | | | | | | | | | | | | | | | The columns 'Created on' and 'Last activity' have been added to the admin -> users view. Sorting options have also been added for last activity and the search bar has been moved to match the issues page.
* | | Merge branch 'chore/update-js-regex' into 'master'Stan Hu2019-02-061-1/+1
|\ \ \ | | | | | | | | | | | | | | | | update js_regex 2.2.1 -> 3.1 See merge request gitlab-org/gitlab-ce!24433
| * | | remove unnuesd global regex flag gRoger Rüttimann2019-02-051-1/+1
| | | |
* | | | Merge branch 'jprovazn-remove-redcarpet' into 'master'Grzegorz Bizon2019-02-053-34/+0
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | | | | | | | | | Remove Redcarpet markdown engine Closes #51374 See merge request gitlab-org/gitlab-ce!24819
| * | | Remove Redcarpet markdown engineJan Provaznik2019-02-043-34/+0
| | |/ | |/| | | | | | | | | | This engine was replaced with CommonMarker in 11.4, it was deprecated since then.
* | | Changed external wiki query method to prevent attribute cachingFrancisco Javier López2019-02-041-8/+3
|/ /
* | Merge branch ↵Sean McGivern2019-02-041-0/+1
|\ \ | | | | | | | | | | | | | | | | | | '19745-forms-with-task-lists-can-be-overwritten-when-editing-simultaneously' into 'master' Forms with task lists can be overwritten when editing simultaneously See merge request gitlab-org/gitlab-ce!23938
| * | Accept lockVersion as a prop and add to storeFatih Acet2019-01-301-0/+1
| | |
* | | [master] Pipelines section is available to unauthorized usersKamil Trzciński2019-01-311-2/+14
| | |
* | | Add subresources removal to member destroy serviceJames Lopez2019-01-311-2/+2
| | |
* | | Add `sanitize_name` helper to sanitize URLs in user full nameKushal Pandya2019-01-311-0/+14
| | |
* | | Fixed bug when external wiki is enabledFrancisco Javier López2019-01-311-0/+20
|/ / | | | | | | | | | | | | | | When the external wiki is enabled, the internal wiki link is replaced by the external wiki url. But the internal wiki is still accessible. In this change the external wiki will have its own tab in the sidebar and only if the services are disabled the tab (and access rights) will not be displayed.
* | Merge branch 'sh-issue-53419-fix' into 'master'Rémy Coutable2019-01-301-0/+4
|\ \ | | | | | | | | | | | | | | | | | | Fix Bitbucket Server import not allowing personal projects Closes #53419 See merge request gitlab-org/gitlab-ce!23601
| * | Fix Bitbucket Server import not allowing personal projectsStan Hu2019-01-281-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | Bitbucket Server places personal projects in a namespace called `~username`. This change allows those projects and also strips them from the GitLab namespace. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/53419
* | | Re-enable MethodCallWithoutArgsParentheses CopAndrew Newdigate2019-01-291-1/+1
| | | | | | | | | | | | | | | Re-enables and autocorrects all instances of the Style/MethodCallWithoutArgsParentheses rule
* | | Merge branch 'bw-enable-sourcepos' into 'master'Robert Speicher2019-01-281-0/+1
|\ \ \ | |/ / |/| | | | | | | | Enable CommonMark source line position information See merge request gitlab-org/gitlab-ce!23971