summaryrefslogtreecommitdiff
path: root/spec
Commit message (Collapse)AuthorAgeFilesLines
* Only update the sidebar count caches when neededsidebar-cache-updatesYorick Peterse2017-08-302-0/+30
| | | | | | This ensures the issues/MR cache of the sidebar is only updated when the state or confidential flags changes, instead of changing this for every update.
* Cleans merge_jid when possible on MergeService36114-stuck-mrs-job-follow-upOswaldo Ferreira2017-08-281-5/+28
|
* Rename MergeRequest#async_merge to merge_asyncOswaldo Ferreira2017-08-281-2/+2
|
* Add changelogOswaldo Ferreira2017-08-281-11/+0
|
* Track enqueued and ongoing MRsOswaldo Ferreira2017-08-282-20/+28
|
* Merge branch 'rs-transient-mini-pipeline-graph-failure' into 'master'Douwe Maan2017-08-281-14/+4
|\ | | | | | | | | | | | | Fix a transient failure in mini_pipeline_graph_spec Closes #34323 See merge request !13844
| * Fix a transient failure in mini_pipeline_graph_specrs-transient-mini-pipeline-graph-failureRobert Speicher2017-08-281-14/+4
| | | | | | | | | | | | | | | | This spec failed reliably with a specific run order (see issue), the reasons for which are still unknown. This simplification resolves the failure. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/34323
* | Merge branch 'group-mr-search-bar' into 'master'Clement Ho2017-08-281-0/+15
|\ \ | | | | | | | | | | | | | | | | | | Add filtered search to group merge requests dashboard Closes #36703 See merge request !13688
| * | Add a simple spec that checks filtered search works at group merge request pageHiroyuki Sato2017-08-271-0/+15
| | |
* | | Merge branch 'sh-add-spec-to-protected-tags-deletion' into 'master'Robert Speicher2017-08-281-0/+17
|\ \ \ | | | | | | | | | | | | | | | | Add spec for deleting protected tags See merge request !13693
| * | | Add spec for deleting protected tagssh-add-spec-to-protected-tags-deletionStan Hu2017-08-201-0/+17
| |/ /
* | | Merge branch 'fix/import-events' into 'master'Sean McGivern2017-08-282-1/+6
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | Fix events error importing GitLab projects Closes #36965 See merge request !13868
| * | fix typoJames Lopez2017-08-281-1/+1
| | |
| * | fix specJames Lopez2017-08-282-1/+6
| | |
* | | Merge branch 'sh-improve-flaky-ace-editor-spec' into 'master'Robert Speicher2017-08-281-2/+1
|\ \ \ | | | | | | | | | | | | | | | | Improve flaky ACE editor spec See merge request !13854
| * | | Improve flaky ACE editor specsh-improve-flaky-ace-editor-specStan Hu2017-08-261-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | The ACE editor JavaScript may not be loaded when the spec runs evaluateScript. Wait for the editor to load before attempting to run ACE-specific JavaScript.
* | | | Merge branch 'fix-flakes' into 'master'Robert Speicher2017-08-283-3/+3
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | | | | | | | | | fix transient dropdown test failures Closes #37052 and #34436 See merge request !13862
| * | | fix transient test failures caused by wrong dropdown triggerfix-flakesSimon Knox2017-08-283-3/+3
| | | |
* | | | Merge branch '36792-inline-user-refresh-when-creating-project' into 'master'Douwe Maan2017-08-283-5/+59
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Don't wait for project authorization sidekiq jobs when creating projects Closes #36792 See merge request !13775
| * | | | Don't add admins as masters to projects created in another user's namespaceNick Thomas2017-08-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Only admins have the ability to create a project in another user's personal namespace. Prior to this commit, we were explicitly adding them as masters to the project. However, admins already have access (by virture of being admins), so this is unnecessary.
| * | | | Move sidekiq-based project authorization refresh out of Projects::CreateServiceNick Thomas2017-08-252-4/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If the project is in a group, the `group.refresh_members_authorized_projects` is made non-blocking, and we call `current_user.refresh_authorized_projects` directly. Projects in a personal namespace are more difficult. Rather than passing the `blocking:` parameter through the entire `add_master` chain, have the `AuthorizedProjectsWorker` automatically inline authorizations for three IDs or less. Since the maximum number of IDs in this path is 2, that has the same effect.
* | | | | Merge branch 'rs-aggregate-system-note-specs' into 'master'Douwe Maan2017-08-281-25/+4
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Combine multiple expectations into one for shared system note example See merge request !13814
| * | | | | Combine multiple expectations into one for shared system note examplers-aggregate-system-note-specsRobert Speicher2017-08-241-25/+4
| |/ / / / | | | | | | | | | | | | | | | | | | | | These are all performing unique checks on the same object, so there's no benefit to isolating them.
* | | | | Merge branch 'fix/gb/clear-schema-cache-after-running-migration-tests' into ↵Sean McGivern2017-08-281-0/+2
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 'master' Clear schema cache after running tests for migrations Closes #37086 See merge request !13870
| * | | | | Clear schema cache after running tests for migrationsGrzegorz Bizon2017-08-281-0/+2
| | | | | |
* | | | | | Merge branch 'rs-remove-filtered-issues-skips' into 'master'Douwe Maan2017-08-281-50/+0
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove skipped examples in filtered issues feature spec See merge request !13845
| * | | | | | Remove skipped examples in filtered issues feature specrs-remove-filtered-issues-skipsRobert Speicher2017-08-251-50/+0
| | |_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We perform a ton of expensive setup in this spec, via both `before` and `let!`. When we use `skip` inside an `it` block, rather than skipping the block entirely via `xit`, we still perform this expensive setup, only to do absolutely nothing with it, resulting in wasted time. Minutes, in this case. Further, these specs have been sitting in our test suite for about seven months now, so the likelihood of them being addressed soon seems low.
* | | | | | Merge branch '35642-add-owner-to-triggers-factory' into 'master'Kamil Trzciński2017-08-284-7/+10
|\ \ \ \ \ \ | |_|/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make sure we have an owner for triggers Closes #35642 See merge request !13799
| * | | | | Merge remote-tracking branch 'upstream/master' into ↵35642-add-owner-to-triggers-factoryLin Jen-Shin2017-08-2838-192/+481
| |\ \ \ \ \ | | | |_|/ / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 35642-add-owner-to-triggers-factory * upstream/master: (49 commits) Fire system hooks when a user is created via LDAP or OAuth Common Docker Documentation Location in `gitlab-ce` fix deprecation warning present during webpack compiles Enable 5 lines of Sidekiq backtrace lines to aid in debugging Add support for copying permalink to notes via more actions dropdown Docs: update - fix headers Handle creating a nested group on MySQL correctly Decrease statuses batch size even more in a migration Fix failure when issue author is nil Fix searching for files by path Fix invite by email address duplication Revert "Merge branch 'mk-reenable-mysql-tests-on-all-branches' into 'master'" Fix repo editor scrollbar Revert "Merge branch 'sh-sidekiq-backtrace' into 'master'" Replace 'source/search_code.feature' spinach test with an rspec analog Add missing third argument to `Git::Repository#initialize` in spec New doc: how to install GitLab on Azure Authorizations regarding OAuth - style confirmation Enable 5 lines of Sidekiq backtrace lines to aid in debugging Reenable MySQL tests on all branches ...
| * | | | | Remove duplicate update for ownerLin Jen-Shin2017-08-281-1/+0
| | | | | |
| * | | | | Make default trigger factory generate an ownerLin Jen-Shin2017-08-254-6/+10
| | | | | | | | | | | | | | | | | | | | | | | | And specify owners more clearly
* | | | | | Merge branch 'sh-simplify-system-hook-testing' into 'master'Douwe Maan2017-08-281-27/+6
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Simplify system hook testing and guarantee test will fire Closes #37067 See merge request !13858
| * | | | | | Simplify system hook testing and guarantee test will firesh-simplify-system-hook-testingStan Hu2017-08-271-27/+6
| | |_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The change in !11728 would cause an arbitrary project to be chosen to test system hooks, and it's likely that the project would not have any commits or relevant commits to test the hook. This would prevent admins from verifying that the hook fired. Instead of trying to create a representative hook dynamically, just send static data to guarantee the hook will actually be tested. Closes #37067
* | | | | | Merge branch 'bugfix.notify-custom-participants' into 'master'Sean McGivern2017-08-281-3/+14
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bugfix.notify custom participants Closes #36610 See merge request !13680
| * | | | | | rm a comment that is a liehttp://jneen.net/2017-08-211-1/+0
| | | | | | |
| * | | | | | add a spec for a participant with a :custom settinghttp://jneen.net/2017-08-211-2/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | where that custom setting is not enabled.
* | | | | | | Merge branch 'backstage/gb/rename-ci-cd-processing-sidekiq-queues' into 'master'Grzegorz Bizon2017-08-285-20/+123
|\ \ \ \ \ \ \ | |_|_|_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rename CI/CD related Sidekiq queues Closes #35532 See merge request !13714
| * | | | | | Merge commit '2be34630623711fc20ef8c101b5cef688f207cc1' into ↵backstage/gb/rename-ci-cd-processing-sidekiq-queuesGrzegorz Bizon2017-08-2610-94/+327
| |\ \ \ \ \ \ | | | |/ / / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | backstage/gb/rename-ci-cd-processing-sidekiq-queues * commit '2be34630623711fc20ef8c101b5cef688f207cc1': Common Docker Documentation Location in `gitlab-ce` fix deprecation warning present during webpack compiles Enable 5 lines of Sidekiq backtrace lines to aid in debugging Add support for copying permalink to notes via more actions dropdown Handle creating a nested group on MySQL correctly Decrease statuses batch size even more in a migration Fix repo editor scrollbar Replace 'source/search_code.feature' spinach test with an rspec analog Authorizations regarding OAuth - style confirmation Update README.md Refactor complicated API group finding rules into GroupsFinder Fix group and project search for anonymous users Document version Group Milestones API introduced Allow v4 API GET requests for groups to be unauthenticated Adjust a range and a size in stages statuses migration Update README.md Point to /developers on docs/administration/authentiq.md Indexes GFM markdown guide use inline links instead of referenced Add index on ci_runners.contacted_at
| * | | | | | Migrate new jobs when reverting pipeline queues migrationGrzegorz Bizon2017-08-251-2/+7
| | | | | | |
| * | | | | | Merge branch 'master' into 'backstage/gb/rename-ci-cd-processing-sidekiq-queues'Kamil Trzciński2017-08-2577-332/+1073
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | # Conflicts: # db/schema.rb
| * \ \ \ \ \ \ Merge branch 'master' into backstage/gb/rename-ci-cd-processing-sidekiq-queuesGrzegorz Bizon2017-08-2232-1281/+756
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * master: (115 commits) Use event-based waiting in Gitlab::JobWaiter Make sure repository's removal work for legacy and hashed storages Use `@hashed` prefix for hashed paths on disk, to avoid collision with existing ones Refactor project and storage types Prevent using gitlab import task when hashed storage is enabled Some codestyle changes and fixes for GitLab pages Removed some useless code, codestyle changes and removed an index Fix repository reloading in some specs Changelog Moving away from the "extend" based factory to a more traditional one. Enable automatic hashed storage for new projects by application settings New storage is now "Hashed" instead of "UUID" Add UUID Storage to Project Move create_repository back to project model as we can use disk_path and share it Codestyle: move hooks to the same place and move dependent methods to private Use non-i18n values for setting new group-level issue/MR button text indexes external issue tracker copyedit indexes user/search/ from /user/index Correctly encode string params for Gitaly's TreeEntries RPC ...
| * | | | | | | | Fix indentation in migration helpersGrzegorz Bizon2017-08-221-9/+9
| | | | | | | | |
| * | | | | | | | Add specs for pipeline sidekiq queues migrationGrzegorz Bizon2017-08-221-0/+50
| | | | | | | | |
| * | | | | | | | Add Sidekiq migration helpers for migrating queuesGrzegorz Bizon2017-08-221-3/+48
| | | | | | | | |
| * | | | | | | | Revert adding shared examples for every sidekiq workerGrzegorz Bizon2017-08-2256-120/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since this already exists in `every_sidekiq_worker_spec.rb`.
| * | | | | | | | Fix incorrect `let` in pipeline metrics worker specsGrzegorz Bizon2017-08-221-1/+8
| | | | | | | | |
| * | | | | | | | Fix inconsistent Sidekiq queues names in worker specsGrzegorz Bizon2017-08-221-1/+1
| | | | | | | | |
| * | | | | | | | Fix typo in shared examples name in worker specsGrzegorz Bizon2017-08-221-1/+1
| | | | | | | | |
| * | | | | | | | Add sidekiq worker shared examples to workers specsGrzegorz Bizon2017-08-2144-2/+88
| | | | | | | | |
| * | | | | | | | Remove sidekiq build queue and assign pipeline queueGrzegorz Bizon2017-08-216-14/+10
| | | | | | | | |