Commit Graph

22 Commits

Author SHA1 Message Date
GitLab Bot 9865665cb1 Add latest changes from gitlab-org/gitlab@master 2019-10-08 12:06:01 +00:00
Yorick Peterse 90a8a44f01
Use spec_helper for S/MIME settings specs
The constant tested is defined in an initializer, and these are not
loaded when using fast_spec_helper. When running just this test file, or
when running this test first this can lead to test failures. To fix this
we just use spec_helper instead of fast_spec_helper.
2019-09-04 14:06:59 +02:00
Diego Louzán 0dcb9d21ef feat: SMIME signed notification emails
- Add mail interceptor the signs outgoing email with SMIME
- Add lib and helpers to work with SMIME data
- New configuration params for setting up SMIME key and cert files
2019-08-20 16:13:32 +02:00
gfyoung 93a44e135b Add some frozen string to spec/**/*.rb
Adds frozen string to the following:

* spec/bin/**/*.rb
* spec/config/**/*.rb
* spec/controllers/**/*.rb

xref https://gitlab.com/gitlab-org/gitlab-ce/issues/59758
2019-04-15 10:17:05 +00:00
Thong Kuah 4ec16912b8 Autocorrect with RSpec/ExampleWording cop
- rewords examples starting with 'should'
- rewords examples starting with 'it'

Note: I had to manually fixup "onlies" to "only"
2019-04-05 08:43:27 +00:00
Andrew Newdigate e2cc500e4e Filter note parameters
This change adds `note` to the Rails `filter_parameters` configuration.
2019-02-14 10:46:27 +02:00
Grzegorz Bizon 4c7665f2f9 Pad encryption keys with UTF-8 0 instead of \0 char 2018-11-28 12:00:17 +01:00
Grzegorz Bizon d1311119fa Fix static analysis in utf8 helper methods 2018-11-23 10:03:43 +01:00
Grzegorz Bizon 777b6713bb Ensure that db encryption keys have proper bytesize 2018-11-22 15:35:49 +01:00
Nick Thomas b4dc492123
Enable omniauth by default 2018-09-13 13:44:04 +01:00
Dmitriy Zaporozhets edf1c1fccf Make ObjectStoreSettings use more explicit and add specs
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2018-07-24 14:44:44 +03:00
Robert Speicher c8b802471b Enable the RSpec/HookArgument cop and auto-correct offenses 2017-08-10 19:29:42 -04:00
Paul Charlton cb3b4a15e6 Support multiple Redis instances based on queue type 2017-07-11 03:35:47 +00:00
Douwe Maan 353d3da44c Fix redis spec 2017-03-15 18:36:20 -06:00
Douwe Maan 4eb24c3161 Verify config/mail_room.yml is interpretable Ruby 2017-03-15 16:21:45 -06:00
Gabriel Mazetto e49d55e961 Use newer mail_room to get `require_relative` support 2017-02-20 17:38:21 +01:00
Marin Jankovski aa9a289ce5 Make mail_room idle_timeout option configurable. 2016-11-16 12:46:37 +01:00
Gabriel Mazetto f9126fbe0a Updated mail_room and added sentinel support to Reply by Email 2016-10-26 05:02:47 +02:00
Gabriel Mazetto ce41b5c73f Small refactor and a few documentation fixes 2016-08-04 19:02:39 +02:00
Gabriel Mazetto 67ae8adc72 Fixed MailRoom specs and make sure it works with new resque.yml format
Some codestyle changes
2016-08-04 18:55:37 +02:00
Connor Shea 9cc0937b3a Enable the Rubocop DeprecatedClassMethods cop
This reports uses of `File.exists?` and `Dir.exists?`, which were both
deprecated in Ruby and will eventually be removed in favor of
`.exist?`. Also fixes all existing uses of the deprecated methods.
2016-05-08 15:33:34 -06:00
Douwe Maan bbdb9ba036 Don't load all of GitLab in mail_room
Fixes #12731
2016-02-26 18:48:13 -08:00