Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Subscriptions] System setting to receive email notifications for every new discussion #768

Closed
IvoPereira opened this issue Jan 30, 2016 · 24 comments

Comments

@IvoPereira
Copy link

Hello,

I've been trying out Flarum for my development team discussion boards, and so far it looks awesome.

However it would be great if we could be notified of every post made in the forums through email, as we are not constantly checking the forums.

Is it possible or planned at any future release? If not, I would love to get my hands dirty and create an extension for it.

Thanks

@luceos
Copy link
Member

luceos commented Jan 30, 2016

Not sure whether this should be part of core instead of an extension, @flarum/core ?

@tobyzerner
Copy link
Contributor

Part of the Subscriptions extension

@luceos
Copy link
Member

luceos commented Feb 1, 2016

@tobscure ha, yes that suits subscriptions perfectly!

@IvoPereira

Is it possible or planned at any future release? If not, I would love to get my hands dirty and create an extension for it.

I would create a PR the core subscriptions extensions, if you accept that challenge 😃

@oscarotero
Copy link

👍

@oscarotero
Copy link

I really need this feature. Is planed to add a "Automatically follow all new discussions" to the Suscriptions extension?

@kulga
Copy link

kulga commented Mar 30, 2016

This can be mitigated somewhat by

  • Automatically follow discussions that I reply to - True
  • Someone posts in a discussion I'm following - True (for email)

I don't know about a Automatically follow all new discussions though. That would flood the discussions with Following badges which doesn't seem like good design..

Perhaps in the notifications a option for "Someone makes a post"
-- Which would include new discussions and their initial post

@oscarotero
Copy link

In my use case, I'd like to use the forum as a replacement for google groups, so I think this feature is important because users are lazy to enter in the forum to search new discussions.

@franzliedke franzliedke added this to the 0.1.x milestone Apr 7, 2016
@oscarotero
Copy link

I've created a pull request with this feature. flarum/subscriptions#9
Any suggestion is welcome.

@tobyzerner
Copy link
Contributor

@kulga I don't know about a Automatically follow all new discussions though. That would flood the discussions with Following badges which doesn't seem like good design..

I'm thinking this too... @oscarotero your PR looks great from a technical point of view but I'm not sure if that's what we want to do from a design POV. Keen to hear others' thoughts and will think more deeply about it myself when I have a chance, but I suspect Kulga's suggestion for a notifications option for "Someone makes a post" would be a better approach?

@franzliedke
Copy link
Contributor

I suspect Kulga's suggestion for a notifications option for "Someone makes a post" would be a better approach?

Sounds better, yes. But that's going to cause a lot of load - maybe it should be an extension instead?

@oscarotero
Copy link

The problem with "Someone makes a post" is that users cannot unfollow a discussion, I other words: stop receiving emails with new posts of a discussión. Am I wrong?

@oscarotero
Copy link

oscarotero commented Apr 15, 2016

And from my point of view, as a designer, I think it's unneccesary to be so explicit about which discussions are followed and which not. This is a preference of the user (like, for example, the notifications in github issues). The star icon should be used to highlight things, not to follow.

@youds
Copy link

youds commented Feb 8, 2019

Is there any status of this availability in Flarum?

@franzliedke
Copy link
Contributor

To be honest, I am really unsure about adding this, unless we add support for queue workers / background jobs first.

@youds
Copy link

youds commented Mar 6, 2019

Hi

Filters such as "new posts from new users" could make it more popular as well as organising who receives what, like "mods a, b and c receive posts from forum 1 and 2" etc.

This is essential; board management especially with multiple boards can be really frustrating! I've used one of the extension modules for now. Some 3rd party app monitoring service.

@youds
Copy link

youds commented Mar 6, 2019

If I can be of any help at all, Youds Media Ltd is fully signed up to developing Flarum - are there any quick start guides for people wanting to fork the project?

@dsevillamartin
Copy link
Member

@youds You can find a brief guide on contributing to Flarum at https://flarum.org/docs/contributing.html#development-setup

@youds
Copy link

youds commented Mar 6, 2019

Thanks, I will enjoy this project :)

@franzliedke
Copy link
Contributor

Filters such as "new posts from new users" could make it more popular as well as organising who receives what, like "mods a, b and c receive posts from forum 1 and 2" etc.

That's not the topic of this issue, and well suited for extension space. 😀

Looking forward to your contributions!

@luceos
Copy link
Member

luceos commented Mar 7, 2019

Some thoughts I had about this:

  • We shouldn't want cron/queue functionality in core by default (please note flagrow/console for scheduled tasks exists and bokt/flarum-queue for queue functionality).
  • Sending large quantities of mail should really be pushed to a queue (not scheduled tasks please).

With both of the above in mind I'd say this should really be a third party extension. Whoever builds that can use said packages for faster prototyping and development.

In addition if you want to be notified of new posts as a team and use something like discord or slack, I can recommend the reflar/webhooks extension.

@franzliedke
Copy link
Contributor

We shouldn't want cron/queue functionality in core by default

Why not? It's absolutely an infrastructure concern and potentially useful for many extensions; and there are still default adapters that work well even on shared hosts.

Sending large quantities of mail should really be pushed to a queue (not scheduled tasks please).

Absolutely - and we already do so in some of our official extensions.

@luceos
Copy link
Member

luceos commented Mar 19, 2019

@franzliedke most likely this discussion about cron/queues should be separated into its own issue ;) I'd gladly pull the necessary changes into core if we want it though.

@tobyzerner
Copy link
Contributor

most likely this discussion about cron/queues should be separated into its own issue

#978

Why not? It's absolutely an infrastructure concern and potentially useful for many extensions; and there are still default adapters that work well even on shared hosts.

Agreed

I'd gladly pull the necessary changes into core if we want it though.

Yes please!

@franzliedke
Copy link
Contributor

After discussion in today's team meeting, I will close this issue and the corresponding pull requests. The feature itself (allowing users to receive emails about every new discussion) is probably not feasible for large forums, and - where it's feasible - probably a nice concern, so not suitable for most forums. Therefore, we decided this belongs into third-party extensions concern.

Don't worry, though - there are several good news for you:

  • With the imminent beta.11 release, Flarum's core itself will use its new queueing functionality to offload expensive tasks like sending lots of emails to background processes. This is the groundwork for this and similar features.
  • The fof/follow-tags extension implements this feature, limited to particular tags. Probably a good middle ground for most forums - you should really only use this with a proper queue backend, though!
  • The fof/subscribed extension implements - among other things - the ability to subscribe to all new discussions.
  • There's also Post Notifications per E-Mail - which allows sending these notifications to a whitelist of email addresses. Useful when a bunch of admins want to be aware of new activity without having to visit the forum all the time.

Beyond all of that, I would be happy to see another extension that lets you use Flarum as / via a mailing list - that would require some more work around email headers (and maybe even email inbox parsing) for proper threading support in mailboxes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

8 participants