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
Bob Van Landuyt
c982edfa19 Avoid race conditions when creating GpgSignature
This avoids race conditions when creating GpgSignature.
2019-02-06 15:24:46 +01:00
Shinya Maeda
e1449df7a2 Fix coding offence 2018-12-04 19:24:21 +09:00
Shinya Maeda
45a5ed6d02 fix wording 2018-12-03 22:01:30 +09:00
Shinya Maeda
bec4740f30 Fix the coding style 2018-12-03 21:47:26 +09:00
Shinya Maeda
dd4a8df4cb Validate enum uniqueness 2018-12-03 20:10:13 +09:00
Rubén Dávila
4aa2deb478 Fix error with GPG signature updater when commit was deleted 2017-10-07 10:47:53 -05:00
Rubén Dávila
dd139e65b5 Invalidate GpgSignatures associated to GpgKeySubkeys when revoking the GpgKey 2017-10-05 08:26:02 -05:00
Rubén Dávila
866ef2bb2e Add more specs to cover subkeys scenarios 2017-10-05 08:25:27 -05:00
Robert Speicher
9513bd18c4 Ensure all project factories use :repository trait or :empty_project 2017-08-01 14:51:52 -04:00
Alexis Reigel
fef030c23d validate the foreign_key instead of the relation 2017-07-27 15:46:04 +02:00
Alexis Reigel
a7d2ebe508 simplify fetching of commit 2017-07-27 15:43:37 +02:00
Alexis Reigel
5d5fd4babe store gpg_key_primary_keyid for unknown gpg keys
we need to store the keyid to be able to update the signature later in
case the missing key is added later.
2017-07-27 15:42:53 +02:00
Alexis Reigel
8236b12dff gpg signature model for gpg verification caching 2017-07-27 15:42:53 +02:00