summaryrefslogtreecommitdiff
path: root/spec/lib
Commit message (Collapse)AuthorAgeFilesLines
* Allow enabling and disabling commit and MR events for JIRAissue_5541Felipe Artur2016-11-181-1/+2
|
* Merge branch 'feature/cycle-analytics-events' into 'master' Douwe Maan2016-11-1811-0/+561
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Cycle Analytics: Events per stage Adds list of events to each stage: - Issue: list of issues created in the last XX days, that have been labeled or added to a milestone. - Plan: list of commits that reference for the fist time an issue from the last stage. - Code: list of MR created in this stage - Test: List of unique builds triggered by the commits. - Review: List of MR merged - Staging: List of deployed builds - Production: list of issues with the time from idea to production Fixes #23449 - [x] [CHANGELOG](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CHANGELOG) entry added - [ ] [Documentation created/updated](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/development/doc_styleguide.md) - Tests - [x] Added for this feature/bug - [x] All builds are passing - [x] Conform by the [merge request performance guides](http://docs.gitlab.com/ce/development/merge_request_performance_guidelines.html) - [x] Conform by the [style guides](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CONTRIBUTING.md#style-guides) - [x] Branch has no merge conflicts with `master` (if it does - rebase it please) - [ ] [Squashed related commits together](https://git-scm.com/book/en/Git-Tools-Rewriting-History#Squashing-Commits) See merge request !6859
| * refactored updater and updated specsJames Lopez2016-11-183-24/+25
| |
| * fix small typoJames Lopez2016-11-181-1/+1
| |
| * added new build updater, specs and refactored allowed_idsJames Lopez2016-11-182-0/+24
| |
| * run pipeline worker in cycle analytics dev setupJames Lopez2016-11-181-1/+1
| |
| * refactor eventsJames Lopez2016-11-182-9/+9
| |
| * fix spec failuresfeature/cycle-analytics-eventsJames Lopez2016-11-188-26/+28
| |
| * more refactoring and added some auth checksJames Lopez2016-11-171-1/+1
| |
| * fix specsJames Lopez2016-11-171-5/+5
| |
| * refactor events facade so it uses separate classes and refactor query stuffJames Lopez2016-11-178-14/+18
| |
| * added custom date helper and spec and fixed some unrelated spec failuresJames Lopez2016-11-171-7/+7
| |
| * Refactor all query config stuff into separate classes and added specsJames Lopez2016-11-179-1/+90
| |
| * get rid of light url builder and fix wrong specJames Lopez2016-11-171-46/+91
| |
| * serialize all the things!James Lopez2016-11-171-2/+6
| |
| * get all stages to use serlalizers - apart from plan - WIPJames Lopez2016-11-171-17/+25
| |
| * fix issue events and related spec - now using generic serializer for a hashJames Lopez2016-11-171-3/+3
| |
| * WIP - refactored events to use build serializer, related spec passingJames Lopez2016-11-171-59/+59
| |
| * refactored and added missing spec to light URL builderJames Lopez2016-11-173-92/+166
| |
| * Updated production events with new fieldsJames Lopez2016-11-171-4/+15
| |
| * Refactored staging events, added missing fields and fixed specsJames Lopez2016-11-171-7/+55
| |
| * Added branch option to test eventsJames Lopez2016-11-171-1/+1
| | | | | | | | Also fixed test events ordering issue
| * Refactored test eventsJames Lopez2016-11-171-3/+34
| | | | | | | | Now test events return the builds instead a list of pipelines to avoid calling pipeline.builds per each and get the info. Also, added missing fields/data, URLs, and fixed specs in events spec.
| * added missing fields to code events and updated specJames Lopez2016-11-171-3/+7
| |
| * added missing fields to plan events and updated specJames Lopez2016-11-171-9/+19
| |
| * added missing fields to issue. Also, added a light url builder to add URLs ↵James Lopez2016-11-171-3/+7
| | | | | | | | easily from arel. Updated specs.
| * add email to user related queries so it can be used for displaying avatar in ↵James Lopez2016-11-171-0/+16
| | | | | | | | the UI
| * added production events and related specJames Lopez2016-11-171-0/+29
| |
| * added staging events and specJames Lopez2016-11-171-0/+26
| |
| * fixing spec failuresJames Lopez2016-11-171-5/+6
| |
| * review events - spec and logicJames Lopez2016-11-171-0/+25
| |
| * Added test events specs and logic. Also fixed some SQL and refactored the ↵James Lopez2016-11-171-1/+23
| | | | | | | | pipeline worker spec.
| * Added code events spec and logic. Also fixed SQL issues and refactored the ↵James Lopez2016-11-171-1/+29
| | | | | | | | code a bit.
| * plan events and spec working. Also added some TODOs to the code.James Lopez2016-11-171-2/+2
| |
| * commit events and specJames Lopez2016-11-171-3/+15
| |
| * fix specs - issue events workingJames Lopez2016-11-171-5/+5
| |
| * fix timestamp diff and specJames Lopez2016-11-171-4/+4
| |
| * fixed spec and SQL queryJames Lopez2016-11-171-2/+18
| |
| * WIP - refactored some arel queriesJames Lopez2016-11-171-2/+3
| |
| * Started refactoring stuff to add events to cycle analyticsJames Lopez2016-11-171-0/+26
| | | | | | | | | | | | - Refactored cycle analytics class to extract DB logic - Reuse logic in new events fetcher - Started adding cycle analytics events class and spec (still not functional)
* | Merge branch 'feature/24072-improve-importing-of-github-pull-requests' into ↵Sean McGivern2016-11-172-8/+5
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | 'master' Improve importing of github pull requests Closes #24072 See merge request !7241
| * | Refactor github import to reduce number of API callsAndrew Smith2016-11-182-8/+5
| | | | | | | | | | | | Ref #24073
* | | Merge branch 'chat-name-authorize' into 'master' Rémy Coutable2016-11-171-0/+37
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | Allows to authorize chat user against GitLab. This is needed for: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/7438 See merge request !7450
| * | Improve code design after code reviewKamil Trzcinski2016-11-161-3/+1
| | |
| * | Merge remote-tracking branch 'origin/master' into chat-name-authorizeKamil Trzcinski2016-11-1630-116/+270
| |\ \
| * | | Add most of specs for chat namesKamil Trzcinski2016-11-161-0/+39
| | |/ | |/|
* | | Search for a filename in a project23117-search-for-a-filename-in-a-projectValery Sizov2016-11-161-4/+47
| |/ |/|
* | Merge branch 'stanhu/gitlab-ce-fix-error-500-with-mr-images' into 'master' Douwe Maan2016-11-151-0/+24
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix Error 500 when creating a merge request that contains an image that was deleted and added _Originally opened at !4816 by @stanhu._ - - - ## What does this MR do? This MR fixes an Error 500 when creating a merge request that contains an image that was deleted and added. Before, when displaying the before and after image, the code would always retrieve the image from the parent commit. However, in a diff, this could cause two different problems: The "before" image may not actually be the image you want to compare against (regression of #14327) It may appear as though a file was modified when it was really just added during the diff ## Are there points in the code the reviewer needs to double check? There may be a more elegant to fix this bug. ## What are the relevant issue numbers? Closes #3893, gitlab-org/gitlab-ee#678 See merge request !7457
| * | Fix Error 500 when creating a merge request that contains an image that was ↵stanhu/gitlab-ce-fix-error-500-with-mr-imagesStan Hu2016-11-141-0/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | deleted and added Steps to reproduce: 1. Start with a repo with an image 2. Add a commit to delete the image 3. Add another commit to replace the image with another image In a diff comparison, we really just compare about what the image was before the diff, not the direct parent of the last commit. This MR fixes that. Closes #3893, gitlab-org/gitlab-ee#678 Signed-off-by: Rémy Coutable <remy@rymai.me>
* | | Merge branch 'fix_saml_ldap_link' into 'master' Douwe Maan2016-11-151-1/+22
|\ \ \ | |/ / |/| | | | | | | | | | | | | | Omniauth auto link LDAP user falls back to find by DN when user cannot be found by uid Unfortunately, SAML IDs can be an LDAP UID, DN, or something else entirely. UID and DN are most common, though. This adds a fallback scenario so we first try to find a matching LDAP user by UID, then by DN. This will fix a problem for the customer in https://gitlab.zendesk.com/agent/tickets/43298 See merge request !7002