summaryrefslogtreecommitdiff
path: root/spec/lib
Commit message (Collapse)AuthorAgeFilesLines
* Finish migration to the new events setupevents-migration-cleanupYorick Peterse2017-09-064-94/+3
| | | | | | | | | | | | | This finishes the procedure for migrating events from the old format into the new format. Code no longer uses the old setup and the database tables used during the migration process are swapped, with the old table being dropped. While the database migration can be reversed this will 1) take a lot of time as data has to be coped around 2) won't restore data in the "events.data" column as we have no way of restoring this. Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/37241
* Merge branch 'system-checks-incoming-email' into 'master'Sean McGivern2017-09-061-1/+23
|\ | | | | | | | | Move Incoming Email checks to System Checks See merge request !14028
| * Added dynamic skip reason to SystemCheckGabriel Mazetto2017-09-041-1/+23
| |
* | Optimize SQL queries used in Groups::GroupMembersController#create27374-groups-groupmemberscontroller-create-is-slow-due-to-sqlRubén Dávila2017-09-051-0/+1
| | | | | | | | | | | | | | | | | | | | | | The following optimizations were performed: - Add new association to GroupMember and ProjectMember This new association will allow us to check if a user is a member of a Project or Group through a single query instead of two. - Optimize retrieving of Members when adding multiple Users
* | Migrate Gitlab::Git::Repository#find_branch to GitalyAhmad Sherif2017-09-051-14/+24
| |
* | Merge branch 'fuzzy-issue-search' into 'master'Sean McGivern2017-09-051-0/+120
|\ \ | | | | | | | | | | | | | | | | | | Fuzzy search issues / merge requests Closes #26835, #29994, and #20362 See merge request !13780
| * | Fix typoHiroyuki Sato2017-09-051-1/+1
| | |
| * | Fix MySQL spec errorsHiroyuki Sato2017-08-311-5/+5
| | |
| * | Fuzzy search issuable title or descriptionHiroyuki Sato2017-08-311-0/+120
| | |
* | | Merge branch 'mr-index-page-performance' into 'master'Sean McGivern2017-09-051-0/+37
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Re-use issue/MR counts for the pagination system Closes #27168 See merge request !13805
| * | | Re-use issue/MR counts for the pagination systemmr-index-page-performanceYorick Peterse2017-09-051-0/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This changes the issue and MR index pages so the pagination system re-uses the output of the COUNT(*) query used to calculate the number of rows per state (opened, closed, etc). This removes the need for an additional COUNT(*) on both pages.
* | | | use new #verification_statusAlexis Reigel2017-09-052-16/+11
| | | |
* | | | add verification_status: same_user_different_emailAlexis Reigel2017-09-051-2/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | this is used to make a difference between a committer email that belongs to user, where the user used a different email for the gpg key. this means that the user is the same, but a different, unverified email is used for the signature.
* | | | downcase gpg key's emailsAlexis Reigel2017-09-051-0/+15
| | | | | | | | | | | | | | | | this is necessary for email comparisons
* | | | extract shared exampleAlexis Reigel2017-09-051-20/+19
| | | |
* | | | match the committer's email against the gpg keyAlexis Reigel2017-09-051-69/+113
| | | | | | | | | | | | | | | | | | | | the updated verification of a gpg signature requires the committer's email to also match the user's and the key's emails.
* | | | pass whole commit to Gitlab::Gpg::Commit againAlexis Reigel2017-09-051-0/+21
|/ / / | | | | | | | | | | | | we need the commit object for the updated verification that also checks the committer's email to match the gpg key and user's emails.
* | | Merge branch 'feature/sm/37239-implement-failure_reason-on-ci_builds' into ↵Kamil Trzciński2017-09-051-0/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 'master' Implement `failure_reason` on `ci_builds` Closes #37239 See merge request !13937
| * | | - Allow runner API to pass failure_reasonShinya Maeda2017-09-051-0/+1
| | | | | | | | | | | | | | | | - Fix spec
* | | | Merge branch '37204-deprecate-git-user-manual-ssh-config' into 'master'Douwe Maan2017-09-051-0/+79
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | Deprecate custom SSH client configuration for the git user Closes #37204 See merge request !13930
| * | | Add a system check for the git user's custom SSH configurationNick Thomas2017-09-041-0/+79
| | | |
* | | | Merge branch 'feature/gb/kubernetes-only-pipeline-jobs' into 'master'Kamil Trzciński2017-09-042-3/+84
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | Check if Kubernetes is required when creating pipeline jobs Closes #34785 See merge request !13849
| * | | Merge branch 'master' into feature/gb/kubernetes-only-pipeline-jobsGrzegorz Bizon2017-09-0419-127/+919
| |\ \ \ | | | | | | | | | | | | | | | * master: (469 commits)
| * | | | Fix rubocop offense in CI/CD YAML processor specsfeature/gb/kubernetes-only-pipeline-jobsGrzegorz Bizon2017-09-041-2/+5
| | | | |
| * | | | Change CI/CD kubernetes policy keyword to `active`Grzegorz Bizon2017-09-012-13/+7
| | | | |
| * | | | Change kubernetes job policy allowed valuesGrzegorz Bizon2017-08-312-1/+45
| | | | | | | | | | | | | | | | | | | | It is now possible to use `kubernetes: configured`.
| * | | | Merge branch 'master' into feature/gb/kubernetes-only-pipeline-jobsGrzegorz Bizon2017-08-3125-71/+543
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * master: (275 commits) Decrease Metrics/PerceivedComplexity threshold to 17 Upgrade mail and nokogiri gems due to security issues Link out to stackoverflow answer on setting swappiness Document swappiness recomendations in the requirements doc Fix invalid attribute used for time-ago-tooltip component Update latest artifacts doc Add changelog entry for flipping verify_certificates Default LDAP config verify_certificates to true Update share project with groups docs remove accidental console.log from karma tests update specs to match reorganized monitoring components Remove tooltips from new sidebar Use `git update-ref --stdin -z` to delete refs Don't use public_send in destroy_conditionally! helper Remove unused expressions policy from ci/cd config Simplify code for appending strategies in CI/CD config Raise exception when simplifiable ci entry incomplete Add changelog entry Fix MySQL failure for emoji autocomplete max-width for lazy-loaded images (this was removed in the original MR through merge resolution most probably) ... Conflicts: lib/gitlab/ci/config/entry/policy.rb
| * | | | | Remove unused method from CI/CD YAML processorGrzegorz Bizon2017-08-311-1/+1
| | | | | |
| * | | | | Check if kubernetes required before creating a jobGrzegorz Bizon2017-08-261-0/+40
| | | | | |
| * | | | | Use new complex only/except policy internal schemeGrzegorz Bizon2017-08-261-2/+2
| | | | | |
* | | | | | Merge branch 'bvl-only-require-po-parser-in-rake' into 'master'Douwe Maan2017-09-041-0/+1
|\ \ \ \ \ \ | |_|_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Only require `simple_po_parser` in rake task that needs it Closes #37379 See merge request !14018
| * | | | | Only require `simple_po_parser` in rake task that needs itbvl-only-require-po-parser-in-rakeBob Van Landuyt2017-09-041-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | That way we don't need to install it in production, since it's really not needed there.
* | | | | | Merge branch ↵Kamil Trzciński2017-09-042-0/+22
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 'feature/sm/33281-protected-runner-executes-jobs-on-protected-branch' into 'master' Protected runner executes jobs on protected branch [Solution 1] Closes #33281 See merge request !13194
| * | | | | | Fix typoShinya Maeda2017-09-031-1/+1
| | | | | | |
| * | | | | | Fix schema. Add safe_model_attributes for pipelinesShinya Maeda2017-09-031-0/+1
| | | | | | |
| * | | | | | Impprove spec by godfat suggestionsShinya Maeda2017-09-031-1/+10
| | | | | | |
| * | | | | | Fix specShinya Maeda2017-09-031-0/+1
| | | | | | |
| * | | | | | Add the rest of specsShinya Maeda2017-09-031-0/+11
| | | | | | |
* | | | | | | Merge branch 'zj-sort-templates' into 'master'Kamil Trzciński2017-09-041-0/+18
|\ \ \ \ \ \ \ | |_|/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sort templates when fetching them Closes #37153 See merge request !13920
| * | | | | | Sort templates when fetching themZeger-Jan van de Weg2017-08-311-0/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Used to rely on the underlying filesystem to sort the entries, now its forced to be sorted on the name of the template.
* | | | | | | Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ceJose Ivan Vargas2017-09-0310-107/+788
|\ \ \ \ \ \ \ | | |/ / / / / | |/| | | | |
| * | | | | | Merge branch '17849-allow-admin-to-restrict-min-key-length-and-techno' into ↵Robert Speicher2017-09-013-82/+174
| |\ \ \ \ \ \ | | |_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 'master' Add settings for minimum key strength and allowed key type Closes #17849 See merge request !13712
| | * | | | | Address review commentsNick Thomas2017-08-301-12/+8
| | | | | | |
| | * | | | | Rework the permissions model for SSH key restrictionsNick Thomas2017-08-302-22/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `allowed_key_types` is removed and the `minimum_<type>_bits` fields are renamed to `<tech>_key_restriction`. A special sentinel value (`-1`) signifies that the key type is disabled. This also feeds through to the UI - checkboxes per key type are out, inline selection of "forbidden" and "allowed" (i.e., no restrictions) are in. As with the previous model, unknown key types are disallowed, even if the underlying ssh daemon happens to support them. The defaults have also been changed from the lowest known bit size to "no restriction". So if someone does happen to have a 768-bit RSA key, it will continue to work on upgrade, at least until the administrator restricts them.
| | * | | | | Add settings for minimum key strength and allowed key typeNick Thomas2017-08-303-82/+174
| | | |_|_|/ | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is an amalgamation of: * Cory Hinshaw: Initial implementation !5552 * Rémy Coutable: Updates !9350 * Nick Thomas: Resolve conflicts and add ED25519 support !13712
| * | | | | Merge branch 'bvl-validate-po-files' into 'master'Douwe Maan2017-09-015-1/+611
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Validate PO files in static analysis See merge request !13000
| | * | | | | Validate unescaped `%` chars in PO filesBob Van Landuyt2017-09-012-1/+83
| | | | | | |
| | * | | | | Fetch all translation keys using a regexBob Van Landuyt2017-08-311-1/+1
| | | | | | |
| | * | | | | Take `nplurals` into account when validating translations.Bob Van Landuyt2017-08-314-57/+72
| | | | | | |
| | * | | | | Check for newlines in different methods on TranslationEntryBob Van Landuyt2017-08-312-0/+34
| | | | | | |