summaryrefslogtreecommitdiff
path: root/spec/models
Commit message (Collapse)AuthorAgeFilesLines
* Verify that deploy token has valid access when pulling container registry imageMayra Cabrera2018-04-101-10/+21
|
* Allow group owner to enable runners from subgroups (#41981)Dylan Griffith2018-04-091-0/+15
|
* Handle limit for datetime attributes on MySQLMayra Cabrera2018-04-061-0/+38
| | | | | | | | | | | The TIMESTAMP data type is used for values that contain both date and time parts. TIMESTAMP has a range of '1970-01-01 00:00:01' UTC to '2038-01-19 03:14:07' UTC. A Forever lib class was included to handle future dates for PostgreSQL and MySQL, also changes were made to DeployToken to enforce Forever.date Also removes extra conditional from JwtController
* Addresses database commentsMayra Cabrera2018-04-061-1/+0
| | | | | | | - Adds a default on expires_at datetime - Modifies deploy tokens views to handle default expires at value - Use datetime_with_timezone where possible - Remove unused scopes
* Increase test suite around deploy tokens behaviorMayra Cabrera2018-04-061-1/+20
| | | | Also, fixes broken specs
* Include ProjectDeployTokensMayra Cabrera2018-04-063-15/+52
| | | | | | Also: - Changes scopes from serializer to use boolean columns - Fixes broken specs
* Addreses backend review suggestionsMayra Cabrera2018-04-061-0/+1
| | | | | | - Remove extra method for authorize_admin_project - Ensure project presence - Rename 'read_repo' to 'read_repository' to be more verbose
* Implement 'read_repo' for DeployTokensMayra Cabrera2018-04-061-14/+32
| | | | This will allow to download a repo using the token from the DeployToken
* Create barebones for DeploytokenMayra Cabrera2018-04-061-0/+38
| | | | | | | | | | Includes: - Model, factories, create service and controller actions - As usual, includes specs for everything - Builds UI (copy from PAT) - Add revoke action Closes #31591
* Merge branch 'fix/gb/fix-deployment-platform-for-environment' into 'master'Kamil Trzciński2018-04-061-0/+26
|\ | | | | | | | | Fix environment deployment platform filter method See merge request gitlab-org/gitlab-ce!18216
| * Fix environment deployment platform filter methodGrzegorz Bizon2018-04-061-0/+26
| |
* | Merge branch 'ab-37462-cache-personal-projects-count' into 'master'Yorick Peterse2018-04-061-4/+16
|\ \ | | | | | | | | | | | | | | | | | | Cache personal projects count. Closes #37462 See merge request gitlab-org/gitlab-ce!18197
| * | Cache personal projects count.Andreas Brandl2018-04-061-4/+16
| |/ | | | | | | Closes #37462.
* | [Rails5] Update `type_cast_*_database` methodsblackst0ne2018-04-061-3/+3
|/
* Merge branch 'bvl-override-import-params' into 'master'Douwe Maan2018-04-051-0/+1
|\ | | | | | | | | | | | | Allow passing params to import API to override project attributes Closes gitlab-ee#4788 See merge request gitlab-org/gitlab-ce!18086
| * Don't export `Project#description_html`Bob Van Landuyt2018-04-051-0/+1
| | | | | | | | | | | | | | | | | | Since we can regenerate `description_html` from the `description`, we should not export it. This avoids some complexity when overriding the description during an import/export where we would need to invalidate this cached field. Now we refresh the markdown cache after the import
* | Merge branch 'use-chronic-duration-attribute-for-project-build-timeout' into ↵Kamil Trzciński2018-04-051-10/+24
|\ \ | | | | | | | | | | | | | | | | | | 'master' Use chronic duration attribute for project build timeout See merge request gitlab-org/gitlab-ce!17386
| * | Specify default value for Project#build_timeoutTomasz Maczukin2018-04-041-10/+24
| |/
* | Merge branch 'dm-internal-user-namespace' into 'master'Sean McGivern2018-04-051-0/+2
|\ \ | | | | | | | | | | | | Ensure internal users (ghost, support bot) get assigned a namespace See merge request gitlab-org/gitlab-ce!18194
| * | Ensure internal users (ghost, support bot) get assigned a namespacedm-internal-user-namespaceDouwe Maan2018-04-051-0/+2
| | |
* | | Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ceMarin Jankovski2018-04-051-0/+16
|\ \ \
| * \ \ Merge branch 'bvl-export-import-lfs' into 'master'Douwe Maan2018-04-051-0/+16
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Export and import LFS objects Closes #40643 See merge request gitlab-org/gitlab-ce!18115
| | * | | Add helper for accessing lfs_objects for projectBob Van Landuyt2018-04-051-0/+16
| | | |/ | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This makes accessing LFS Objects for a project easier project.lfs_storage_project.lfs_objects` becomes project.all_lfs_objects This will make the refactor in https://gitlab.com/gitlab-org/gitlab-ce/issues/39769 easier to deal with.
* | | | Merge branch 'jej/mattermost-notification-confidentiality-10-6' into ↵Douwe Maan2018-04-053-0/+46
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | 'security-10-6' [10.6] Prevent notes on confidential issues from being sent to chat See merge request gitlab/gitlabhq!2366 # Conflicts: # app/helpers/services_helper.rb
* | | Create metadata object on build object creationTomasz Maczukin2018-04-041-1/+1
|/ /
* | Revert "Allow CI/CD Jobs being grouped on version strings"Zeger-Jan van de Weg2018-04-041-3/+1
|/ | | | This reverts commit 4f2cdb51df0f2729055ec4dc6960ae347163da16.
* Merge branch 'fix/use-shard-name-in-gitlab-projects-instead-of-shard-path' ↵Sean McGivern2018-04-041-5/+2
|\ | | | | | | | | | | | | | | | | into 'master' Use shard name in Git::GitlabProjects instead of shard path Closes gitaly#1110 See merge request gitlab-org/gitlab-ce!18015
| * Use shard name in Git::GitlabProjects instead of shard pathAhmad Sherif2018-04-031-5/+2
| | | | | | | | Closes gitaly#1110
* | [Rails5] Rename `sort` methods to `sort_by_attribute`blackst0ne2018-04-042-10/+10
| |
* | Make error messages even more descriptiveDouwe Maan2018-04-021-2/+2
| |
* | Merge branch 'feature/gb/variables-expressions-in-only-except' into 'master'Kamil Trzciński2018-04-022-7/+122
|\ \ | | | | | | | | | | | | | | | | | | Pipeline variables expression in only/except configuration Closes #37397 See merge request gitlab-org/gitlab-ce!17316
| * | Improve naming and optimize methods of the build classGrzegorz Bizon2018-03-301-5/+5
| | |
| * | Extract build variables that depend on persistenceGrzegorz Bizon2018-03-291-7/+8
| | |
| * | Merge branch 'master' into 'feature/gb/variables-expressions-in-only-except'Grzegorz Bizon2018-03-2911-209/+471
| |\ \ | | | | | | | | | | | | Conflicts: app/models/ci/build.rb
| * | | Improve specs for predefined build variablesGrzegorz Bizon2018-03-271-6/+20
| | | |
| * | | Add specs for method that exposes build variables hashGrzegorz Bizon2018-03-271-0/+12
| | | |
| * | | Decouple build variables from persisted environmentGrzegorz Bizon2018-03-271-4/+4
| | | |
| * | | Merge branch 'master' into feature/gb/variables-expressions-in-only-exceptGrzegorz Bizon2018-03-2712-62/+297
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * master: (199 commits) Conflicts: lib/gitlab/ci/pipeline/seed/stage.rb
| * | | | Expose evaluable variables method from build objectGrzegorz Bizon2018-03-231-7/+28
| | | | |
| * | | | Integrate build seeds with variables expressions policyGrzegorz Bizon2018-03-231-0/+14
| | | | |
| * | | | Make it possible to access static builds variablesGrzegorz Bizon2018-03-231-0/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This makes it possible to access static build variables even when an object is not persisted yet. This will allow us to evaluate build variables using only/except policies before deciding whether we actually want to persist the build in the database, or not.
* | | | | Merge branch '44291-usage-ping-for-kubernetes-integration' into 'master'Kamil Trzciński2018-04-025-0/+84
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Resolve "Usage ping for Kubernetes integration" Closes #44291 See merge request gitlab-org/gitlab-ce!17922
| * | | | | Extract cluster installed query to scopeMatija Čupić2018-03-301-0/+12
| | | | | |
| * | | | | Merge branch 'master' into 44291-usage-ping-for-kubernetes-integrationMatija Čupić2018-03-2917-376/+851
| |\ \ \ \ \ | | | |_|/ / | | |/| | |
| * | | | | Add installed scope to cluster applicationsMatija Čupić2018-03-294-0/+48
| | | | | |
| * | | | | Add user_provided and gcp_provided cluster scopesMatija Čupić2018-03-291-0/+24
| | | | | |
* | | | | | Extend API for exporting a project with direct upload URLFrancisco Javier López2018-03-301-1/+18
| | | | | |
* | | | | | Add port number to artifacts links to gitlab-pages, if neededAlessio Caiazza2018-03-292-0/+41
| |/ / / / |/| | | |
* | | | | Merge branch 'add-per-runner-job-timeout' into 'master'Kamil Trzciński2018-03-293-6/+240
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add per runner job timeout Closes #43426 See merge request gitlab-org/gitlab-ce!17221
| * | | | | Remove Ci::Build#timeoutTomasz Maczukin2018-03-281-37/+0
| | | | | |