summaryrefslogtreecommitdiff
path: root/lib/gitlab
Commit message (Collapse)AuthorAgeFilesLines
* refactor code based on feedbackfix/import-export-performanceJames Lopez2017-09-061-3/+1
|
* fix spec failuresJames Lopez2017-09-061-1/+1
|
* small refactorJames Lopez2017-09-061-5/+5
|
* fix specsJames Lopez2017-09-051-6/+4
|
* refactor code a littleJames Lopez2017-09-051-3/+12
|
* fix export performance of CI buildsJames Lopez2017-09-052-3/+2
|
* started refactoring readerJames Lopez2017-09-051-1/+3
|
* some more refactoringJames Lopez2017-09-052-18/+5
|
* some more refactoringJames Lopez2017-09-051-17/+15
|
* enable AR caching, refactor tree hash loopJames Lopez2017-09-051-12/+27
|
* remove relation after used from the hash treeJames Lopez2017-09-051-6/+3
|
* more refactoringJames Lopez2017-09-051-3/+5
|
* some more performance refactoringJames Lopez2017-09-051-12/+33
|
* start improving memory use on I/EJames Lopez2017-09-051-3/+6
|
* Merge branch 'mr-index-page-performance' into 'master'Sean McGivern2017-09-051-0/+50
|\ | | | | | | | | | | | | 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/+50
| | | | | | | | | | | | | | 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.
* | Merge branch 'move-operation-service-call-sites' into 'master'Sean McGivern2017-09-051-0/+43
|\ \ | | | | | | | | | | | | Add Gitaly migration points for branch/tag create/delete See merge request !13993
| * | Add Gitaly migration points for branch/tag create/deletemove-operation-service-call-sitesJacob Vosmaer2017-09-051-0/+43
| |/
* | drop backwards compatibility for valid_signatureAlexis Reigel2017-09-051-7/+1
| |
* | use new #verification_statusAlexis Reigel2017-09-052-2/+7
| |
* | only use symbols instead of enum hash accessorAlexis Reigel2017-09-051-7/+7
| |
* | simplify if/else with guardsAlexis Reigel2017-09-051-7/+7
| |
* | add verification_status: same_user_different_emailAlexis Reigel2017-09-051-0/+2
| | | | | | | | | | | | | | 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-1/+1
| | | | | | | | this is necessary for email comparisons
* | match the committer's email against the gpg keyAlexis Reigel2017-09-051-3/+13
| | | | | | | | | | 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-11/+6
|/ | | | | 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/gb/kubernetes-only-pipeline-jobs' into 'master'Kamil Trzciński2017-09-042-0/+30
|\ | | | | | | | | | | | | 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-0425-83/+561
| |\ | | | | | | | | | * master: (469 commits)
| * | Change CI/CD kubernetes policy keyword to `active`Grzegorz Bizon2017-09-011-1/+1
| | |
| * | Change kubernetes job policy allowed valuesGrzegorz Bizon2017-08-312-1/+9
| | | | | | | | | | | | It is now possible to use `kubernetes: configured`.
| * | Merge branch 'master' into feature/gb/kubernetes-only-pipeline-jobsGrzegorz Bizon2017-08-3127-51/+460
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
| * | | Check if kubernetes required before creating a jobGrzegorz Bizon2017-08-261-6/+5
| | | |
| * | | Use new complex only/except policy internal schemeGrzegorz Bizon2017-08-261-0/+4
| | | |
* | | | Merge branch 'move-git-operation-service' into 'master'Sean McGivern2017-09-042-0/+169
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | Move GitOperationService to Gitlab::Git See merge request !13984
| * | | | Move GitOperationService to Gitlab::Gitmove-git-operation-serviceJacob Vosmaer2017-09-012-0/+169
| | | | |
* | | | | Merge branch 'git-operation-service-to-git' into 'master'Sean McGivern2017-09-042-1/+105
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | Prepare GitOperationService for moving to Gitlab::Git See merge request !13773
| * | | | Add Gitlab::Git::Repository#==Jacob Vosmaer2017-09-011-0/+4
| | | | |
| * | | | Prepare GitOperationService for move to Gitlab::GitJacob Vosmaer2017-08-312-1/+101
| | |/ / | |/| |
* | | | Merge branch 'bvl-only-require-po-parser-in-rake' into 'master'Douwe Maan2017-09-041-2/+0
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | | | | | | | | | 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-2/+0
| | | | | | | | | | | | | | | | | | | | That way we don't need to install it in production, since it's really not needed there.
* | | | Merge branch ↵Kamil Trzciński2017-09-041-1/+8
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | '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
| * | | | Add the rest of specsShinya Maeda2017-09-031-5/+7
| | | | |
| * | | | Add spec. Fix runner setting page. It worked.Shinya Maeda2017-09-031-1/+1
| | | | |
| * | | | Update application code by the db schema changeShinya Maeda2017-09-031-1/+6
| |/ / /
* | | | Merge branch 'zj-sort-templates' into 'master'Kamil Trzciński2017-09-041-1/+5
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | Sort templates when fetching them Closes #37153 See merge request !13920
| * | | Sort templates when fetching themZeger-Jan van de Weg2017-08-311-1/+5
| | | | | | | | | | | | | | | | | | | | 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 '17849-allow-admin-to-restrict-min-key-length-and-techno' into ↵Robert Speicher2017-09-013-48/+80
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 'master' Add settings for minimum key strength and allowed key type Closes #17849 See merge request !13712
| * | | | Address review commentsNick Thomas2017-08-302-10/+7
| | | | |
| * | | | Rework the permissions model for SSH key restrictionsNick Thomas2017-08-301-31/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `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-48/+93
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is an amalgamation of: * Cory Hinshaw: Initial implementation !5552 * Rémy Coutable: Updates !9350 * Nick Thomas: Resolve conflicts and add ED25519 support !13712