Commit graph

22 commits

Author SHA1 Message Date
Sean McGivern
e6532ca203 Fix notes email with group-level notification email
A Noteable doesn't have a group directly, unless it's an epic - we need
to look for the project's group to find the right email address.
2019-06-24 09:20:10 +00:00
Wei-Meng Lee
1a402d888c Send notifications to group-specific email address
- Select notification email by walking up group/subgroup path
- Add settings UI to set group email notification address
- Add tests
2019-05-31 20:49:27 +08:00
Vladimir Shushlin
d69d29011c Mark unverified pages domains for removal
Set pages_domain.remove_at when disabling it
Add specs for marking pages domain for removal
Notify user that domain is being removed
Add documentation
2019-04-09 17:46:29 +00:00
Alexandru Croitor
77985826d9 Show header and footer system messages in email
* Add email_header_and_footer_enabled flag to appearances table
* Set email_header_and_footer_enabled default value to false
* Add checkbox to appearance to toggle show header and footer in emails
* Add email_header_and_footer_enabled to allowed params in controller
* Add header and footer messages to the html and text email layouts
* Remove the color styling for emails header and footer
* Add empty_mailer layout for emails without layout,
to have the header and footer applied
2019-02-27 22:07:50 +02:00
Rémy Coutable
3a2abc1d50
Enable the Layout/ExtraSpacing cop
Signed-off-by: Rémy Coutable <remy@rymai.me>
2019-01-24 13:05:45 +01:00
Heinrich Lee Yu
f54290de75 Remove caching of CSV file
Load whole file in memory to simplify code
2019-01-07 11:21:30 +08:00
Heinrich Lee Yu
3c02697114 Import CSV Backend
Process CSV uploads async using a worker then email results
2019-01-07 11:16:58 +08:00
Mayra Cabrera
177d847cf5 Automatically disable Auto DevOps for project upon first pipeline failure 2018-09-06 19:20:42 +00:00
Nick Thomas
ee68bd9771
Add DNS verification to Pages custom domains 2018-02-23 12:22:29 +00:00
Brett Walker
f9f4672275 Send a confirmation email when the user adds a secondary email address. Utilizes the Devise confirmable capabilities. Issue #37385 2017-09-23 15:23:11 +02:00
Alexis Reigel
c1281982bd notification email on add new gpg key 2017-07-27 15:40:41 +02:00
Sean McGivern
5069682d8e Enable RSpec/FilePath cop
- Ignore JS fixtures
- Ignore qa directory
- Rewrite concern specs to put concern name first
2017-04-26 12:50:32 +01:00
Robert Speicher
4abca08f14 Move the a new user email shared example to the Emails::Profile spec
This shared example was only used by this spec so having it in a
separate file provided no benefit, at the cost of clarity. This also
reduces the three `it` blocks into a single test with
`aggregate_failures`.
2017-03-21 16:07:52 -04:00
Kamil Trzciński
12dd5ac221 All CI offline migrations 2017-03-17 23:06:11 +00:00
Lin Jen-Shin
9c4e0d6445 Use Gitlab.config.gitlab.host over 'localhost'
This would fix long standing failures running tests on
my development machine, which set `Gitlab.config.gitlab.host`
to another host because it's not my local computer. Now I
finally cannot withstand it and decided to fix them once and
for all.
2016-11-18 20:17:10 +08:00
Jared Ready
204da00ea0 Move spec/mailers/shared/notify.rb to spec/support 2016-10-22 17:51:50 -05:00
Douwe Maan
c770201061 Merge branch 'master' into diff-line-comment-vuejs 2016-08-12 17:23:19 -05:00
Douwe Maan
9d9b7212bc Add specs for system note and email when all discussions are resolved 2016-08-12 16:41:09 -05:00
tiagonbotelho
1d268a89de adds second batch of tests changed to active tense 2016-08-09 15:11:39 +01:00
Rémy Coutable
76350e2ede Ensure "new SSH key" email do not ends up as dead Sidekiq jobs
Related to #2235.

This is done by:
1. Delaying the notification sending after the SSH key is commited in DB
2. Gracefully exit the mailer method if the record cannot be found
2016-03-15 11:23:57 +01:00
Grzegorz Bizon
c0033e96ba Move profile notifications specs to separate file 2016-02-12 14:01:28 +01:00
Grzegorz Bizon
055ec4dc0a Move build emails specs to separate file
This also extracts shared examples for notification emails to separate
file.
2016-02-12 14:01:28 +01:00