summaryrefslogtreecommitdiff
path: root/spec/lib
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'fix/cycle-analytics-events-limit' into 'master' Sean McGivern2017-02-131-0/+45
|\ | | | | | | | | Add limit to the number of events showed in cycle analytics See merge request !7743
| * fix specJames Lopez2017-02-071-4/+5
| |
| * add specJames Lopez2017-02-062-35/+44
| |
| * user project and not empty_project as we need the repo stuffJames Lopez2017-02-061-1/+1
| |
| * fix typo [ci skip]James Lopez2017-02-061-2/+2
| |
| * Add limit to the number of events showed in cycle analytics and specJames Lopez2017-02-061-0/+35
| |
* | Merge branch '24976-start-of-line-mention' into 'master' Sean McGivern2017-02-131-0/+75
|\ \ | | | | | | | | | | | | | | | | | | Feature to create directly addressed Todos when mentioned in beginning Closes #24976 See merge request !7926
| * | Create directly_addressed Todos when mentioned in beginning of a lineErshad Kunnakkadan2017-02-081-0/+75
| | |
* | | Merge branch 'concurrent-foreign-keys' into 'master'Rémy Coutable2017-02-131-6/+70
|\ \ \ | | | | | | | | | | | | | | | | Add method for creating foreign keys concurrently See merge request !9069
| * | | Add method for creating foreign keys concurrentlyYorick Peterse2017-02-101-6/+70
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This method allows one to create foreign keys without blocking access to the source table, but only on PostgreSQL. When creating a regular foreign key the "ALTER TABLE" statement used for this won't return until all data has been validated. This statement in turn will acquire a lock on the source table. As a result this lock can be held for quite a long amount of time, depending on the number of rows and system load. By breaking up the foreign key creation process in two steps (creation, and validation) we can reduce the amount of locking to a minimum. Locking is still necessary for the "ALTER TABLE" statement that adds the constraint, but this is a fast process and so will only block access for a few milliseconds.
* | | | Rename Files::DeleteService to Files::DestroyServicedixpac2017-02-101-1/+1
|/ / / | | | | | | | | | | | | Reason for renaming is to comply with naming convention of services in codebase.
* | | Make sure our current .gitlab-ci.yml is validtest-for-current-gitlab-ci-ymlLin Jen-Shin2017-02-101-0/+10
|/ / | | | | | | | | | | | | This could prevent errors described in: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/8970 Everything we're using right now, should be valid of course.
* | Merge branch 'feature/gb/paginated-environments-api' into 'master'Rémy Coutable2017-02-082-1/+50
|\ \ | | | | | | | | | | | | Expose paginated environments list API endpoint See merge request !8928
| * | Make headers asserts explicit in pagination specsfeature/gb/paginated-environments-apiGrzegorz Bizon2017-02-071-5/+8
| | |
| * | Merge branch 'master' into feature/gb/paginated-environments-apiFilipa Lacerda2017-02-0714-49/+60
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * master: (301 commits) added missed commit in rebase update Grape routes to work with current version of Grape adds changelog fixes cursor issue on pipeline pagination Use random group name to prevent conflicts List all groups/projects for admins on explore pages Fix indentation More backport Fix filtered search user autocomplete for gitlab instances that are hosted on a subdirectory Fixed variables_controller_spec.rb test Backport of the frontend view, including tests Updated the #create action to render the show view in case of a form error Improved code styling on the variables_controller_spec Added tests for the variables controller #update action Added a variable_controller_spec test to test for flash messages on the #create action Modified redirection logic in the variables cont. Added redirections to the index actions for the variables and triggers controllers Added a flash message to the creation of triggers Fixed tests, renamed files and methods Changed the controller/route name to 'ci/cd' and renamed the corresponding files ...
| * | | Add specs for standalone pagination for serializersGrzegorz Bizon2017-02-061-0/+46
| | | |
| * | | Rename `Gitlab::Serialize` module to reuse it laterGrzegorz Bizon2017-02-061-1/+1
| | | |
* | | | Support a string source in the route mapDouwe Maan2017-02-071-10/+10
| | | |
* | | | Merge branch 'route-map' into 'master' Robert Speicher2017-02-072-0/+106
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | Add 'View on [env]' link to blobs and individual files in diffs See merge request !8867
| * | | | Address feedbackDouwe Maan2017-02-061-1/+2
| | | | |
| * | | | Improve performance of finding last deployed environmentDouwe Maan2017-02-061-0/+16
| | | | |
| * | | | Add testsDouwe Maan2017-02-061-0/+89
| | |/ / | |/| |
* | | | Use normal associations instead of polymorphic.Ruben Davila2017-02-072-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | We can't properly use foreign keys on columns that are configured for polymorphic associations which has disadvantages related to data integrity and storage. Given we only use time tracking for Issues and Merge Requests we're moving to the usage of regular associations.
* | | | Merge branch 'fix/import-group-members' into 'master' Rémy Coutable2017-02-073-8/+79
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | Fix missing group members from Import/Export Closes #25124 See merge request !8923
| * | | Add missing group members to export for I/Efix/import-group-membersJames Lopez2017-02-073-8/+79
| |/ /
* | | Merge branch 'fix-references-header-parsing' into 'master' Sean McGivern2017-02-062-0/+21
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Fix References header parser for Microsoft Exchange Closes #26567 See merge request !8620
| * \ \ Merge remote-tracking branch 'upstream/master' into ↵Lin Jen-Shin2017-02-03110-405/+1615
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fix-references-header-parsing * upstream/master: (574 commits) remove dateFormat global exception fix relative paths to xterm.js within fit.js use setFixtures instead of fixture.set prevent u2f tests from triggering a form submission while testing simplify test for focus state preload projects.json fixture preload projects.json fixture rework tests which rely on teaspoon-specific behavior Only render hr when user can't archive project. use setFixtures instead of fixture.set ensure helper classes and constants are exposed globally preload projects.json fixture fix fixture references in environments_spec allow console.xxx in tests, reorder eslint rules alphabetically remove redundant "data-toggle" attribute so Vue doesn't complain fix broken reference to formatDate in a CommonJS environment fix errors within gl_dropdown_spec.js when running in Karma fix intermittant errors in merge_commit_message_toggle_spec.rb Update installation docs to include Docker, others ignore node_modules in rubocop ...
| * | | | Fix References header parser for Microsoft ExchangeLin Jen-Shin2017-01-202-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Microsoft Exchange would append a comma and another message id into the References header, therefore we'll need to fallback and parse the header by ourselves. Closes #26567
* | | | | Merge branch 'fix/gb/backwards-compatibility-coverage-ci-yml' into 'master' Douwe Maan2017-02-062-23/+14
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Remove coverage entry from global CI/CD options See merge request !8981
| * | | | | Fix Rubocop offense in legacy CI/CD config specsGrzegorz Bizon2017-02-061-1/+1
| | | | | |
| * | | | | Remove coverage entry from global CI/CD optionsGrzegorz Bizon2017-02-042-23/+14
| | |_|/ / | |/| | |
* | | | | Merge branch 'jej-pages-to-ce' into 'master' Douwe Maan2017-02-062-5/+7
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adding GitLab Pages to CE Closes #14605, gitlab-com/infrastructure#1058, gitlab-ee#1333, and #323 See merge request !8463
| * \ \ \ \ Merge branch 'master' into 'jej-pages-to-ce'jej-pages-to-ceJames Edwards-Jones2017-02-063-12/+14
| |\ \ \ \ \ | | | |_|_|/ | | |/| | | | | | | | | # Conflicts: # db/schema.rb
| * | | | | Merge branch 'master' into jej-pages-picked-from-eeJames Edwards-Jones2017-02-0327-135/+482
| |\ \ \ \ \
| * | | | | | Excluded pages_domains from import/export specJames Edwards-Jones2017-02-011-0/+1
| | | | | | |
| * | | | | | Rename pages namespace or project path when changedKamil Trzcinski2017-01-311-5/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - Move UploadsTransfer to ProjectTransfer and inherit from this to UploadsTransfer and PagesTransfer
* | | | | | | Merge branch 'traits-for-featurs' into 'master'Robert Speicher2017-02-067-19/+14
|\ \ \ \ \ \ \ | |_|_|/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add traits for ProjectFeatures to Project factory Closes #24007 See merge request !8925
| * | | | | | Add traits for ProjectFeatures to Project factorySemyon Pupkov2017-02-057-19/+14
| | |_|/ / / | |/| | | | | | | | | | | | | | | | https://gitlab.com/gitlab-org/gitlab-ce/issues/24007
* | | | | | Introduce maximum session time for terminal websocket connectionterminal-max-session-timeAdam Niedzielski2017-02-061-2/+4
|/ / / / / | | | | | | | | | | | | | | | | | | | | Store the value in application settings. Expose the value to Workhorse.
* | | | | Merge branch 'rs-event-traits' into 'master' Rémy Coutable2017-02-032-10/+10
|\ \ \ \ \ | |_|/ / / |/| | | | | | | | | | | | | | Add traits for the different Event types to the Event factory See merge request !8870
| * | | | Add traits for the different Event types to the Event factoryrs-event-traitsRobert Speicher2017-02-012-10/+10
| | | | |
* | | | | Merge branch 'markdown-plantuml' into 'master' Sean McGivern2017-02-031-0/+32
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PlantUML support for Markdown Closes #4048 See merge request !8588
| * | | | | PlantUML support for MarkdownHoracio Sanson2017-02-031-0/+32
| | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allow rendering of PlantUML diagrams in Markdown documents using fenced blocks: ```plantuml Bob -> Sara : Hello Sara -> Bob : Go away ``` Closes: #4048
* | | | | Merge branch 'squash' into 'master' Sean McGivern2017-02-031-1/+3
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Backport changes from EE squash See merge request !8912
| * | | | | Backport changes from EE squashSean McGivern2017-02-031-1/+3
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Backport changes from the EE-only squash implementation, which would otherwise conflict when merge CE into EE. <https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/1024>
* | | | | Merge branch 'fwn-to-find-by-full-path' into 'master' Dmitriy Zaporozhets2017-02-031-1/+1
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | replace `find_with_namespace` with `find_by_full_path` See merge request !8949
| * | | | replace `find_with_namespace` with `find_by_full_path`Adam Pahlevi2017-02-031-1/+1
| |/ / / | | | | | | | | | | | | add complete changelog for !8949
* | | | Merge branch 'fix-git-hooks-when-creating-file' into 'master' Douwe Maan2017-02-024-24/+26
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Don't execute git hooks if you create branch as part of other change Closes #23439 See merge request !7237
| * \ \ \ Merge remote-tracking branch 'upstream/master' into ↵fix-git-hooks-when-creating-fileLin Jen-Shin2017-02-0223-125/+395
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fix-git-hooks-when-creating-file * upstream/master: (190 commits) Remove unnecessary returns / unset variables from the CoffeeScript -> JS conversion. update spec Change the reply shortcut to focus the field even without a selection. use destroy_all Remove settings cog from within admin scroll tabs; keep links centered add changelog remove old project members from project add spec replicating validation error Fix small typo on new branch button spec Improve styling of the new issue message Don't capitalize environment name in show page Abillity to promote project labels to group labels Edited the column header for the environments list from created to updated and added created to environments detail page colum header titles Update and pin the `jwt` gem to ~> 1.5.6 refactor merge request build service Update index.md Clarify that Auto Deploy requires a public project. 19164 Add settings dropdown to mobile screens cop for gem fetched from a git source Add CHANGELOG entry ...
| * \ \ \ \ Merge remote-tracking branch 'upstream/master' into ↵Lin Jen-Shin2017-01-2665-101/+114
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fix-git-hooks-when-creating-file * upstream/master: Ensure we have a project with a repo in GitlabMarkdownHelper specs Revert "Make sure TraceReader uses Encoding.default_external" Make sure TraceReader uses Encoding.default_external Update CONTRIBUTING.md after merging "up-for-grabs" and "Accepting Merge Requests" [ci skip] Use `:empty_project` where possible in finder specs Use `empty_project` where possible in controller specs Use `:empty_project` where possible in helper specs Don’t count tasks that are not defined as list items correctly Use a project factory with a repository where necessary Use `:empty_project` where possible throughout spec/lib Use hashrocket for dasherized attribute Remove markdown file extension and add anchor to link Fixed builds info link on project settings page Factories with a project association use `:empty_project` by default Update enviroments.md the example for deleting an environment is missing the "s" in environments. curl --request DELETE --header "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" "https://gitlab.example.com/api/v3/projects/1/environments/1" wil 404