summaryrefslogtreecommitdiff
path: root/spec/lib/gitlab
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* - Allow runner API to pass failure_reasonShinya Maeda2017-09-051-0/+1
| | | | - Fix spec
* Merge branch 'feature/gb/kubernetes-only-pipeline-jobs' into 'master'Kamil Trzciński2017-09-041-2/+46
|\ | | | | | | | | | | | | 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-0418-126/+918
| |\ | | | | | | | | | * master: (469 commits)
| * | Change CI/CD kubernetes policy keyword to `active`Grzegorz Bizon2017-09-011-4/+4
| | |
| * | Change kubernetes job policy allowed valuesGrzegorz Bizon2017-08-311-0/+44
| | | | | | | | | | | | 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
| * | | 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
| | | | | | |
| | * | | | | Split translation & metadata entries into classesBob Van Landuyt2017-08-314-142/+157
| | | | | | |
| | * | | | | Validate the number of plurals in an entryBob Van Landuyt2017-08-312-6/+106
| | | | | | |
| | * | | | | Move detailed information of an entry into a separate classBob Van Landuyt2017-08-312-5/+76
| | | | | | |
| | * | | | | Move `PoLinter` into `Gitlab::I18n`Bob Van Landuyt2017-08-311-1/+1
| | | | | | |
| | * | | | | Only perform `join_message` in `validate_variable_usage`Bob Van Landuyt2017-08-311-1/+0
| | | | | | |
| | * | | | | Check newlines in translationsBob Van Landuyt2017-08-311-2/+16
| | | | | | |
| | * | | | | Add spec for languages without pluralsBob Van Landuyt2017-08-311-0/+16
| | | | | | |
| | * | | | | Add a linter for PO filesBob Van Landuyt2017-08-312-1/+252
| | | | | | |
| | * | | | | Track the locale in Sentry so we know which ones are failingBob Van Landuyt2017-08-311-0/+13
| | | | | | |
| * | | | | | Merge branch '37202-revert-changes-to-signing-enabled' into 'master'Douwe Maan2017-09-011-10/+0
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rollback changes made to signing_enabled. Closes #37202 See merge request !13956
| | * | | | | | Rollsback changes made to signing_enabled.Tiago Botelho2017-09-011-10/+0
| | | | | | | |
| * | | | | | | Make Gitaly PostUploadPack mandatoryJacob Vosmaer (GitLab)2017-09-011-14/+3
| | | | | | | |
* | | | | | | | Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ceMarin Jankovski2017-09-013-16/+87
|\ \ \ \ \ \ \ \ | |/ / / / / / /
| * | | | | | | Merge branch 'gitaly-shell-redis' into 'master'Dmitriy Zaporozhets2017-09-011-0/+37
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement /internal/post_receive unified endpoint for PostReceive tasks See merge request !13916
| | * | | | | | | Implement /internal/post_receive unified endpoint for PostReceive tasksgitaly-shell-redisAlejandro Rodríguez2017-08-311-0/+37
| | | |_|_|/ / / | | |/| | | | |
| * | | | | | | Merge branch ↵Douwe Maan2017-08-311-1/+1
| |\ \ \ \ \ \ \ | | |_|_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | '37266-nomethoderror-undefined-method-current_application_settings-build-failed-30837482' into 'master' `current_application_settings` belongs on `Gitlab::CurrentSettings` Closes #37266 See merge request !13955
| | * | | | | | `current_application_settings` belongs on `Gitlab::CurrentSettings`Sean McGivern2017-08-311-1/+1
| | | |_|_|_|/ | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The initializers including this were doing so at the top level, so every object loaded after them had a `current_application_settings` method. However, if someone had rack-attack enabled (which was loaded before these initializers), it would try to load the API, and fail, because `Gitlab::CurrentSettings` didn't have that method. To fix this: 1. Don't include `Gitlab::CurrentSettings` at the top level. We do not need `Object.new.current_application_settings` to work. 2. Make `Gitlab::CurrentSettings` explicitly `extend self`, as we already use it like that in several places. 3. Change the initializers to use that new form.
| * | | | | | Merge branch 'gitaly-440-shell-fetch-remote' into 'master'Sean McGivern2017-08-311-15/+49
| |\ \ \ \ \ \ | | |/ / / / / | |/| | | | | | | | | | | | | | | | | | | Migrate Repository.FetchRemote to Gitaly See merge request !13625
| | * | | | | Migrate Repository.FetchRemote to Gitalygitaly-440-shell-fetch-remoteKim "BKC" Carlbäcker2017-08-301-15/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - `Gitlab::Shell.fetch_remote` now takes a `Gitlab::Git::Repository` instead
* | | | | | | Merge branch 'master' of dev.gitlab.org:gitlab/gitlabhqMarin Jankovski2017-08-312-3/+3
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | |
| * | | | | | Merge branch '36743-existing-repo-master' into 'master'Douwe Maan2017-08-312-3/+3
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [master] Prevent project creation (blank, import or fork) when repository already exists on disk See merge request gitlab/gitlabhq!2169
| | * | | | | | Prevent new / renamed project from using a repository path that already ↵Gabriel Mazetto2017-08-252-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | exists on disk There are some redundancies in the validation steps, and that is to preserve current error messages behavior Also few specs have to be changed in order to fix madness in validation logic.