summaryrefslogtreecommitdiff
path: root/spec/models/deploy_token_spec.rb
Commit message (Collapse)AuthorAgeFilesLines
* Add latest changes from gitlab-org/gitlab@15-0-stable-eev15.0.0-rc42GitLab Bot2022-05-191-2/+8
|
* Add latest changes from gitlab-org/gitlab@14-10-stable-eev14.10.0-rc42GitLab Bot2022-04-201-0/+1
|
* Add latest changes from gitlab-org/gitlab@14-2-stable-eev14.2.0-rc42GitLab Bot2021-08-191-0/+70
|
* Add latest changes from gitlab-org/gitlab@14-1-stable-eev14.1.0-rc42GitLab Bot2021-07-201-0/+1
|
* Add latest changes from gitlab-org/gitlab@14-0-stable-eev14.0.0-rc42GitLab Bot2021-06-161-45/+31
|
* Add latest changes from gitlab-org/gitlab@13-11-stable-eev13.11.0-rc43GitLab Bot2021-04-201-1/+1
|
* Add latest changes from gitlab-org/gitlab@13-6-stable-eev13.6.0-rc42GitLab Bot2020-11-191-0/+33
|
* Add latest changes from gitlab-org/gitlab@13-5-stable-eev13.5.0-rc42GitLab Bot2020-10-211-0/+25
|
* Add latest changes from gitlab-org/gitlab@13-2-stable-eeGitLab Bot2020-07-201-1/+1
|
* Add latest changes from gitlab-org/gitlab@13-0-stable-eeGitLab Bot2020-05-201-1/+3
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-04-141-2/+2
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-02-061-15/+155
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-01-291-0/+2
|
* Add username to deploy tokensKrasimir Angelov2019-07-021-2/+33
| | | | | | | | | This new attribute is optional and used when set instead of the default format `gitlab+deploy-token-#{id}`. Empty usernames will be saved as null in the database. Related to https://gitlab.com/gitlab-org/gitlab-ce/issues/50228.
* Autocorrect with RSpec/ExampleWording copThong Kuah2019-04-051-16/+16
| | | | | | | - rewords examples starting with 'should' - rewords examples starting with 'it' Note: I had to manually fixup "onlies" to "only"
* Add # frozen_string_literal to spec/modelsThong Kuah2019-04-011-0/+2
| | | | Adds `# frozen_string_literal: true` to spec/models ruby files
* Fix deploy tokens without `expire_at` crashesBob Van Landuyt2018-08-021-0/+8
|
* Resolve "Deploy Tokens failed to clone LFS repository"Mayra Cabrera2018-07-231-1/+8
|
* Refactor deploy token methods on Ci::BuildMayra Cabrera2018-04-201-0/+19
| | | | | Also include a class method for retriving the gitlab_deploy_token on DeployTokens
* Verify that deploy token has valid access when pulling container registry imageMayra Cabrera2018-04-101-10/+21
|
* 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
* Increase test suite around deploy tokens behaviorMayra Cabrera2018-04-061-1/+20
| | | | Also, fixes broken specs
* Include ProjectDeployTokensMayra Cabrera2018-04-061-15/+35
| | | | | | 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