Commit graph

12 commits

Author SHA1 Message Date
GitLab Bot
db24ab2b72 Add latest changes from gitlab-org/gitlab@master 2020-01-28 12:08:44 +00:00
Alexandru Croitor
306fed6afd
Redirect user to root path after unsubscribing from private resource
If user unsubsrcribes from a resource that they no longer have
access to they should not be revealed the resource path, but be
redirected to app root instead.

https://gitlab.com/gitlab-org/gitlab-ce/issues/64938
2019-09-30 14:22:05 +02:00
GitLab Bot
b7dfe2ae40 Add latest changes from gitlab-org/gitlab@master 2019-09-13 13:26:31 +00:00
Martin Wortschack
76e8960f4a Externalize strings in flash messages
- Externalize strings in controllers
- Update PO file
2019-04-08 14:17:45 +00:00
gfyoung
73322a0e55 Enable frozen string in app/controllers/**/*.rb
Enables frozen string for the following:

* app/controllers/*.rb
* app/controllers/admin/**/*.rb
* app/controllers/boards/**/*.rb
* app/controllers/ci/**/*.rb
* app/controllers/concerns/**/*.rb

Partially addresses #47424.
2018-09-18 21:22:45 -07:00
Mario de la Ossa
02741ca4c5
Backport 5480-epic-notifications from EE 2018-05-07 12:58:47 -06:00
Douglas Barbosa Alexandre
0c052f116c Remove default value for project argument on subscribable concern 2016-11-17 15:10:13 -02:00
Rémy Coutable
c61a54f7fe Fix initial implementation to actually render the unsubscribe page
Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-09-20 09:52:57 +02:00
Maximiliano Perez Coto
b335730817 Fix "Unsubscribe" link in notification emails that is triggered by anti-virus
* Created a force=true param that will continue with the previous
  behaviour of the unsubscribe method
* Created a filter for not-logged users so they see a unsubsribe
  confirmation page
* Added the List-Unsubscribe header on emails so the email client can
  display it on top
2016-09-20 09:52:57 +02:00
Zeger-Jan van de Weg
be08490863 #can_unsubscribe? -> #?unsubscribable? 2016-01-11 14:23:45 +01:00
Zeger-Jan van de Weg
26cedc7e0b Minor improvements, unsubscribe from email footer 2016-01-09 19:32:03 +01:00
Zeger-Jan van de Weg
58867eff46 Unsubscribe from thread through link in email footer 2016-01-09 12:41:22 +01:00