summaryrefslogtreecommitdiff
path: root/features
Commit message (Collapse)AuthorAgeFilesLines
* Remove sleeping and replace escaped text.Connor Shea2016-08-131-6/+6
|
* Filters test fixPhil Hughes2016-08-131-3/+6
|
* Fixed filtering testsPhil Hughes2016-08-132-13/+5
|
* Removed screenshot command :poop:Phil Hughes2016-08-131-3/+0
|
* Updated failing testsPhil Hughes2016-08-134-0/+23
|
* Updated testsPhil Hughes2016-08-1311-3/+29
|
* Merge remote-tracking branch 'origin/master' into improve-pipeline-processingKamil Trzcinski2016-08-122-29/+0
|\
| * Show member roles to all users on members page20614-show-member-roles-to-all-usersDouwe Maan2016-08-112-29/+0
| |
* | Fix test failures, that did occur because of missing previously used ↵Kamil Trzcinski2016-08-111-1/+1
| | | | | | | | `reload_status!` call
* | Use state machine for pipeline event processingKamil Trzcinski2016-08-111-2/+0
|/
* Pre-create all builds for Pipeline when a trigger is receivedKamil Trzcinski2016-08-111-3/+5
| | | | | | | | | | | This change simplifies a Pipeline processing by introducing a special new status: created. This status is used for all builds that are created for a pipeline. We are then processing next stages and queueing some of the builds (created -> pending) or skipping them (created -> skipped). This makes it possible to simplify and solve a few ordering problems with how previously builds were scheduled. This also allows us to visualise a full pipeline (with created builds). This also removes an after_touch used for updating a pipeline state parameters. Right now in various places we explicitly call a reload_status! on pipeline to force it to be updated and saved.
* Merge branch 'master' into feature/svg-badge-templateGrzegorz Bizon2016-08-085-5/+16
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * master: (363 commits) Added changelog item for issuable form dropdowns Add 'run tests' docs from GDK Bump gitlab_git to lazy load compare commits Add examples to repository files API (!5465) Ignore URLs starting with // (!5677) Add failing test for #7032 Update timeago to shorter representation Add missing DOWNTIME constant to the AddTimestampsToMembersAgain migration Added guide about migrations and downtime Update CHANGELOG for 8.10.4 Add a data migration to fix some missing timestamps in the members table (again) Move abilities by subject class to a dedicated method Remove unnecessary empty line after css var Set consistency in list text height css Add description to text/plain emails Fix Rename `add_users_into_project` and `projects_ids` fix spec Underscore variable to camelCase using shared path for project import uploads and refactored gitlab remove export worker Structure the development documentation ...
| * Add unfold links for Side-by-Side viewTim Masliuchenko2016-08-042-0/+12
| |
| * Improve spinach test to be more specific about link to clickStan Hu2016-07-311-1/+1
| | | | | | | | | | If you add another branch to gitlab-test that includes the word 'test', browse_files.feature will fail with an ambiguous match.
| * Fix all specs related to changes in !5081.Timothy Andrew2016-07-291-1/+1
| | | | | | | | | | | | | | | | 1. Remove `Project#developers_can_push_to_protected_branch?` since it isn't used anymore. 2. Remove `Project#developers_can_merge_to_protected_branch?` since it isn't used anymore.
| * Merge branch 'simple-cov' into 'master' Robert Speicher2016-07-271-3/+2
| |\ | | | | | | | | | | | | | | | | | | Generate coverage report from whole test suite Extends our CI plan to merge all coverage results and generate HTML report. See merge request !5018
| | * Introduce SimpleCovEnv singleton helper and use itGrzegorz Bizon2016-07-211-2/+2
| | |
| | * Fix spinach testsKamil Trzcinski2016-07-211-1/+1
| | |
| | * Update configuration of SimpleCovKamil Trzcinski2016-07-211-0/+1
| | |
| | * Store all simplecov configuration in one fileKamil Trzcinski2016-07-211-11/+1
| | |
| | * Add simplecov to spinach testsKamil Trzcinski2016-07-211-0/+8
| | |
* | | Use new badge template to render build status badgeGrzegorz Bizon2016-08-081-1/+1
|/ /
* | Add spec for dashes in pathsStan Hu2016-07-241-4/+4
| |
* | Add a spec for #20079.Timothy Andrew2016-07-222-0/+16
|/ | | | | The issue was fixed in 2ba5e62. The spec is going in separately just so the fix could go in as soon as possible.
* Allow slack service to send messages on different channelsFelipe Artur2016-07-191-8/+8
|
* Revert "Merge branch 'gl-dropdown-issuable-form' into 'master'"revert-bdb6f1e6Douwe Maan2016-07-153-8/+8
| | | This reverts merge request !4970
* Merge branch 'revert-lock-for-issuable' into 'master' Robert Speicher2016-07-151-1/+1
|\ | | | | | | | | | | | | | | | | Revert "Optimistic locking for Issue and Merge Requests" The migration to add `lock_version` in !5146 to every issue and merge request takes too long on GitLab.com since it has to add a default value of 0 to every row. Unfortunately, Rails 4.2 doesn't work properly if the value is left as `nil`; anything using optimistic locking cannot be edited. This bug was fixed in Rails 5.0 via this commit: https://github.com/rails/rails/commit/13772bfa49325a8dc26410d2dcb555665a320f92. I suggest we revert this change for now, and when we upgrade to Rails 5.0 we can reintroduce this feature. See merge request !5245
| * Revert "Optimistic locking for Issue and Merge Requests"revert-lock-for-issuableStan Hu2016-07-131-1/+1
| | | | | | | | This reverts commit c39356998b1850f3dc26fe0b987cb419c1d1afb4.
* | Merge branch 'gl-dropdown-issuable-form' into 'master' Jacob Schatz2016-07-153-8/+8
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | GL dropdowns in issuable form ## What does this MR do? Changed all the issuable dropdown menus over to user GL dropdowns. This brings the dropdowns to be inline with the issuable filter dropdowns and allows for labels to be created whilst creating/editing an issuable. ## What are the relevant issue numbers? Closes #12574 ## Screenshots (if relevant) See merge request !4970
| * Updated testsPhil Hughes2016-07-073-8/+8
| |
* | Merge branch 'fix-knapsack-for-spinach' into 'master' Kamil Trzciński2016-07-131-1/+1
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix Knapsack report generation for Spinach ## What does this MR do? Makes Knapsack auto-balacing work for Spinach tests ## Why was this MR needed? We used wrong Knapsack adapter, thus making spinach to run split, but not auto-balanced tests for spinach. See merge request !5230
| * | Fix Knapsack report generation for Spinachfix-knapsack-for-spinachKamil Trzcinski2016-07-131-1/+1
| | |
* | | Optimistic locking for Issue and Merge RequestsValery Sizov2016-07-121-1/+1
| | |
* | | Merge branch 'quick-start-ci-route' into 'master' Douwe Maan2016-07-121-1/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make "Get started with Builds" Help Page link work properly `help_page_path('ci/quick_start', 'README')` causes a link to `https://gitlab.com/help/ci%2Fquick_start/README` which in turn breaks every relative link on the page. This remedies the problem. That said, this is probably a horrible way of fixing this issue, *but* it does work. I can’t find much information on linking this deeply with Rails routes. If anyone has suggestions as to a better way of handling this, I'll gladly take them. I tried a few different things, but none of them really worked. Resolves #14872. cc: @axil @rspeicher @elstamey See merge request !3561
| * | | Update the help_page_path route to accept paths directly instead of using ↵Connor Shea2016-07-111-1/+1
| | | | | | | | | | | | | | | | parameters.
* | | | Merge branch 'master' into faster-diffsfaster-diffsJacob Schatz2016-07-116-35/+16
|\ \ \ \ | |/ / /
| * | | Merge branch 'single-file-diffs' into 'master' Douwe Maan2016-07-112-24/+0
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Single file diffs Closes #14103. Related (not part of this MR): #19553. This adds a `diff_for_path` action to each place we render diffs (commit, compare, new MR, existing MR) which renders the diff for a single path. The action is always available with the same params as the 'parent' action, to make it simpler to generate the URIs. If a diff is bigger than 10 KB, it will be collapsed by default and have a data attribute added. You can then click the message or the filename to expand that diff. For expanded files, you can collapse and expand them, but they won't make any AJAX requests. ![Expand_and_collapse_diffs](/uploads/a4072029085082b85c47006f67ac531c/Expand_and_collapse_diffs.gif) See merge request !4990
| | * | | Disable overflow messagesSean McGivern2016-07-082-24/+0
| | |/ / | | | | | | | | | | | | | | | | With the option to expand and collapse individual diffs, these aren't needed any more.
| * | | Merge branch 'send-entry-via-Gitlab-Workhorse-Send-Data' into 'master' Douwe Maan2016-07-111-4/+10
| |\ \ \ | | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use Gitlab-Workhorse-Send-Data to send entry ## What does this MR do? Use Gitlab-Workhorse-Send-Data to send entry: Closes #19224, Closes #19128 Also requires this MR to work: https://gitlab.com/gitlab-org/gitlab-workhorse/merge_requests/53 ## Are there points in the code the reviewer needs to double check? Do we have a test for this? ## Why was this MR needed? This way gitlab-workhorse does not have to call any API. See merge request !5094
| | * | Just remove the prefix, feedback:send-entry-via-Gitlab-Workhorse-Send-DataLin Jen-Shin2016-07-111-1/+2
| | | | | | | | | | | | | | | | https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/5094#note_12987385
| | * | Fix one of the failing tests. Test against the headersLin Jen-Shin2016-07-061-4/+9
| | | |
| * | | Revert "Revert "Merge branch 'issue_3946' into 'master' ""Robert Speicher2016-07-072-5/+8
| | | | | | | | | | | | | | | | This reverts commit bf2a86b73cce332ff8f4392ffc8df501193f32ec.
| * | | Revert "Merge branch 'issue_3946' into 'master' "Robert Speicher2016-07-072-8/+5
| | | | | | | | | | | | | | | | | | | | This reverts commit 68155ee73b549a4f79744bb325542c29d45c71ea, reversing changes made to 7ebd011ed1de7aee706f07a53c63c90f1c8aa5d4.
| * | | Merge branch 'issues-blank-state' into 'master' Jacob Schatz2016-07-073-7/+6
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added blank state to issues ## What does this MR do? Adds new blank state to issues when no issues exist. Part of #18519 ## Screenshots (if relevant) ![Screen_Shot_2016-06-24_at_16.37.12](/uploads/0c3f385615b29216ef1137bd6fac06af/Screen_Shot_2016-06-24_at_16.37.12.png) See merge request !4908
| | * | | Updated testsPhil Hughes2016-07-053-7/+6
| | | | |
* | | | | Merge branch 'master' into faster-diffsDouwe Maan2016-07-075-15/+18
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | # Conflicts: # app/helpers/notes_helper.rb # app/views/projects/diffs/_line.html.haml # app/views/projects/diffs/_parallel_view.html.haml # app/views/projects/diffs/_text_file.html.haml # features/steps/shared/diff_note.rb
| * | | | Merge branch 'new-diff-notes' into 'master' Douwe Maan2016-07-072-9/+8
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | New diff notes Fixes #12732, #14731, #19375, #14783 Builds on https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/4110 To do: - [x] Get it mostly working - [x] Validate position validity - [x] Fix: Don’t link to `#` - [x] Fix: Base ref can be `nil`, potentially, when the MR has an oprhan source branch => Yep, doesn’t work. We need to store a `start_id` - [x] Optimize: Fewer duplicate `git diff` compares - [x] Optimize: Pass paths to `PositionTracer#diff` for faster diffs - [x] Refactor: Use `head_id` in `MergeRequest`/`MergeRequestDiff` instead of `source_sha` - [x] Refactor: Convert existing array-based diff refs to the DiffRefs model - [x] Tweak: Use `note_type` in `Autosave` key - [x] Tweak: Remove `line_code: note.line_code` from `link_to_reply_discussion` - [x] Update: `SentNotifications` and reply-by-email receiver - [x] Update: MR diff notification email - [x] Update: API (MR, Commit note creation and entity) - [x] Update: GitHub importer - [x] Address any other TODO comments - [x] Fix: Suppress "edited 4 minutes ago" - [x] Write tests - [x] `LineMapper` - [x] `PositionTracer` - [x] `Position` - [x] `DiffPositionUpdateService` - [x] `DiffNote` - [x] `MergeRequests::RefreshService` / `MergeRequest#update_diff_notes_positions` - [x] Make sure commits with diff notes don't get cleaned up, since this would prevent the diff notes from being rendered (https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/5062) Future improvements: - Display unresolved comments on files outside the diff, if the comment was added when that file _was_ part of the diff - Allow commenting on sections between hunks, when expanding the diff using `...` - (We'd need to generate line code based on Position if we have it, even if it falls outside bounds of diff) - `diff_hunk` on diff note API entity - Show diff hunk in notification email - Resolved line notes would have a boolean, and be inactive through `notes.any? { !active? || resolved? }` - Multi line notes would store a number of positions, and do the right thing (™) in grouping and then rendering if the first item is multiline? => true - Image diff notes could store x,y,width,height instead of old_line,new_line for similar grouping. Does it need a reference to say if it's on old or new? These can't have line_codes, clearly. Rendering would be interesting. - Show commit line comments in the MR diff - Comment on specific selected words - Comment on file header - Unfold top of discussion diff note - New diff notes API for commits and MRs /cc @rspeicher See merge request !4101
| | * | | | Display new diff notes and allow creation through the web interfaceDouwe Maan2016-07-061-6/+6
| | | | | |
| | * | | | Add DiffNote modelDouwe Maan2016-07-061-2/+1
| | | | | |
| | * | | | Rename MergeRequest methods that return commits or shas to be more clear and ↵Douwe Maan2016-07-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | consistent