Commit Graph

14 Commits

Author SHA1 Message Date
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
Kamil Trzciński c5f1f7f3db Use encrypted runner tokens
This makes code to support encrypted runner tokens.
This code also finished previously started encryption
process.
2019-03-06 12:18:53 +00:00
Grzegorz Bizon 239a4f7264 Use plaintext token when migration is not complete 2018-12-03 14:29:51 +01:00
Grzegorz Bizon e9abacedb0 Refactor encrypted token strategy class 2018-12-03 14:12:51 +01:00
Grzegorz Bizon fe4b5c9820 Fix token encrypted strategy when migrating data 2018-12-03 13:40:45 +01:00
Grzegorz Bizon f8dea2e214 Implement migration strategy for token authenticatable 2018-12-03 12:35:49 +01:00
Grzegorz Bizon 718ea942dc Improve test cases description in token-related specs 2018-11-23 10:43:47 +01:00
Grzegorz Bizon 636b038e01 Only allow valid options when configuring tokens 2018-11-23 10:25:52 +01:00
Grzegorz Bizon d31a3873f4 Improve token strategy fallback and add more specs 2018-11-23 10:12:09 +01:00
Grzegorz Bizon 56e5a2a3ab Reset insecure token when setting an encrypted one 2018-11-20 15:25:45 +01:00
Grzegorz Bizon 0df989ba06 Add specs for token authenticable strategy factory method 2018-11-16 15:10:02 +01:00
Grzegorz Bizon f1a74a656b Encrypt new instance runners registration tokens 2018-11-15 15:17:32 +01:00
Grzegorz Bizon 9a830f1e0b Add unit tests for encrypted token authenticatable 2018-11-14 15:24:00 +01:00
Grzegorz Bizon c04f56d3b4 Add specs scaffold for encrypted token authenticatable 2018-11-14 14:58:11 +01:00