GitLab Bot
1caa60060b
Add latest changes from gitlab-org/gitlab@master
2019-12-19 00:08:01 +00:00
GitLab Bot
25989ab7ef
Add latest changes from gitlab-org/gitlab@master
2019-10-18 11:11:44 +00:00
Thong Kuah
a2cfc150ce
Add # frozen_string_literal to spec/models
...
Adds `# frozen_string_literal: true` to spec/models ruby files
2019-04-01 14:37:54 +13:00
Imre Farkas
6d92a3d4e2
Remove undigested token column from personal_access_tokens table
...
Token column are no longer used as token values are stored digested in
token_digest.
2019-02-20 11:39:37 +00:00
Kamil Trzciński
a910c09bbc
Encrypt CI/CD builds tokens
...
Brings back 1e8f1de0
reverted in !23644
Closes #52342
See merge request gitlab-org/gitlab-ce!23436
2018-12-07 10:42:47 +01:00
Robert Speicher
950b9130ad
Revert "Merge branch 'fix/gb/encrypt-ci-build-token' into 'master'"
...
This reverts commit 1e8f1de034
, reversing
changes made to 62d971129d
.
2018-12-06 18:53:24 -06:00
Grzegorz Bizon
7425070ab7
Add specs for encrypted build authentication tokens
2018-12-05 11:18:01 +01:00
Grzegorz Bizon
f1a74a656b
Encrypt new instance runners registration tokens
2018-11-15 15:17:32 +01:00
Imre Farkas
b9652d8e4d
[master] Persist only SHA digest of PersonalAccessToken#token
2018-10-29 16:06:45 +00:00
Imre Farkas
20dfe25c15
Export assigned issues in iCalendar feed
2018-05-31 14:01:04 +00:00
Douwe Maan
294fa6fcdc
Remove authentication using user.private_token
2017-11-02 11:39:02 +01:00
Robert Speicher
a6ec5121f0
Correct RSpec/SingleLineHook cop offenses
2017-06-14 13:18:56 -05:00
DJ Mountney
fb5f7733f1
Allow users to seed the initial runner registration token using an environment variable
...
This is useful for when runner is bundled with gitlab, like in a kubernetes stack, and we want the runner to be able to
register with gitlab as soon as they both come up.
2016-12-01 17:21:21 -08:00
tiagonbotelho
1d268a89de
adds second batch of tests changed to active tense
2016-08-09 15:11:39 +01:00
Robert Speicher
75739e54be
Enable RSpec/NotToNot cop and auto-correct offenses
...
Also removes the note from the development/testing.md guide
2016-05-24 15:40:29 -04:00
Robert Speicher
3ba72f69af
Enable Style/SpaceAroundKeyword cop and fix offenses
2016-05-23 14:16:35 -04:00
Grzegorz Bizon
37731ba1a1
Add method that persist ensured token in `TokenAuthenticatable`
2015-12-23 10:47:18 +01:00
Grzegorz Bizon
76f7e80455
Fix method that ensures authentication token
...
Until now, `ensure_#{token_filed_name}` method didn't persist new token in database.
This closes #4235 .
2015-12-23 09:37:01 +01:00
Grzegorz Bizon
917effb737
Make sure that token `ensure_*` method always returns a token
2015-12-11 14:39:51 +01:00
Grzegorz Bizon
30e29bb924
Add specs for `TokenAuthenticatable` concern
2015-12-11 10:39:39 +01:00