Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-03-28Inherit from ApplicationRecord instead of ActiveRecord::BaseNick Thomas
2018-08-03Enable frozen string for app/models/**/*.rbgfyoung
Partially addresses #47424.
2018-06-02Fix attr_encryption key settingsStan Hu
attr_encrypted does different things with `key` depending on what mode you are using: 1. In `:per_attribute_iv_and_salt` mode, it generates a hash with the salt: https://github.com/attr-encrypted/encryptor/blob/c3a62c4a9e74686dd95e0548f9dc2a361fdc95d1/lib/encryptor.rb#L77. There is no need to truncate the key to 32 bytes here. 2. In `:per_attribute_iv` mode, it sets the key directly to the password, so truncation to 32 bytes is necessary. Closes #47166
2018-05-30Upgrade to Ruby 2.4.4Stan Hu
Fixes that make this work: * A change in Ruby (https://github.com/ruby/ruby/commit/ce635262f53b760284d56bb1027baebaaec175d1) requires passing in the exact required length for OpenSSL keys and IVs. * Ensure the secrets.yml is generated before any prepended modules are loaded. This is done by renaming the `secret_token.rb` initializer to `01_secret_token.rb`, which is a bit ugly but involves the least impact on other files.
2017-11-16Adds Rubocop rule for line break after guard clauseJacopo
Adds a rubocop rule (with autocorrect) to ensure line break after guard clauses.
2017-11-07Change new occurrencies of n1-default-4bikebilly
2017-11-06Remove 10.3 comments (Tracked by a tech debts issue). Refactor spec factory ↵Shinya Maeda
name. Use ArgumentError
2017-10-29specs for models. Improved details.Shinya Maeda
2017-10-23This worksShinya Maeda
2017-10-23Refactor Clusters to be consisted from GcpProvider and KubernetesPlatformKamil Trzcinski