#6107 Disable email posting for the forum? [ss3579]

v1.3.0
closed
General
Heith Seewald
2015-08-20
2013-04-15
Chris Tsai
No

[forge:site-support:#3579]

Is that possible we can disable the email posting for the forum?
Some users use auto response about the email system. However, it's really annoying to see all the forums are covered with those auto response mails/posts.
I'd like the users could only use web interface to post. Not via email.
Please allow the admin to choose if he/she wants email posting on the forum or not? This function should be an option for an admin on the forum admin interface, e.g.
https://sourceforge.net/p/$PROJECT/admin/discussion/forums

Sounds reasonable to me. Though perhaps we want to put the setting somewhere that makes for easier reuse on other tools.

Discussion

  • Anonymous - 2014-04-01

    Originally by: ilg-ul

    fully agree!

    until you find a more elaborate solution, could you just temporarily patch the forum software to send the notification messages as from a non existing user, like 'no-reply@support-request... to prevent them reaching the database?

    Liviu

     
  • Liviu Ionescu - 2015-02-09

    any progress with this?

    I got bored by how many messages I have to edit because people reply by email.

    Liviu

     
  • Dave Brondsema

    Dave Brondsema - 2015-03-09
    • labels: support, p3 --> support, p3, sf-current, sf-4
     
  • Dave Brondsema

    Dave Brondsema - 2015-03-09

    This setting could apply to all tools, not just forums.

    When an admin chooses to disable it for a tool, several things should change:

    • From address should be the noreply address
    • Add text to message footer saying not to reply and link to the artifact / thread to post replies there
    • Make mail handler reject it (perhaps via the Application.has_access method?, which is specifically for mail handling)
    • Check to see if there are links to forum email addresses (I think there are) and don't show those.
     
  • Igor Bondarenko - 2015-03-10
    • Owner: Anonymous --> Igor Bondarenko
    • Labels: support, p3, sf-current, sf-4 --> sf-4, p3, support, 42cc, sf-current
    • Status: open --> in-progress
     
  • Igor Bondarenko - 2015-05-04
    • status: in-progress --> review
     
  • Igor Bondarenko - 2015-05-04

    Closed #748. ib/6107

    New option added to the following tools: wiki, discussion, tracker, blog. You can disable it by going to project admin -> Tools -> Options for a specific tool.

     
  • Heith Seewald - 2015-05-13
    • Reviewer: Heith Seewald
     
  • Heith Seewald - 2015-05-14
    • status: review --> in-progress
     
  • Heith Seewald - 2015-05-14

    Looking good — just a few quick questions:

    What about the scenario where the “Discussion Disabled” flag is set? Maybe that should take precedent when determining the footer message?

    I also noticed we added the following lines:

    Allura/Allura/allura/model/repository.py
    571:            reversed(self.app.url[1:-1].split('/'))).replace('_', '-')
    
    Allura/ForgeBlog/forgeblog/model/blog.py
    190:                reversed(self.app.url[1:-1].split('/'))).replace('_', '-')
    
    Allura/ForgeDiscussion/forgediscussion/model/forum.py
    84:                reversed(self.app.url[1:-1].split('/'))).replace('_', '-')
    
    Allura/ForgeTracker/forgetracker/model/ticket.py
    767:                reversed(self.app.url[1:-1].split('/'))).replace('_', '-')
    
    Allura/ForgeWiki/forgewiki/model/wiki.py
    165:                reversed(self.app.url[1:-1].split('/'))).replace('_', '-‘)
    

    Maybe this could get put on the artifact model or just a function? That might make it simpler when testing as well. What do you think?

     
    • Igor Bondarenko - 2015-05-15

      Good points, Heith. I'll look into it

       
  • Igor Bondarenko - 2015-05-15
    • status: in-progress --> review
     
  • Igor Bondarenko - 2015-05-15

    Closed #770. Updated ib/6107

     
  • Heith Seewald - 2015-05-15

    Nice work, Igor.

     
  • Heith Seewald - 2015-05-15
    • status: review --> closed
     
  • Dave Brondsema

    Dave Brondsema - 2015-05-18
    • labels: sf-4, p3, support, 42cc, sf-current --> sf-4, p3, support, 42cc
     
  • Liviu Ionescu - 2015-05-18

    New option added to the following tools: wiki, discussion, tracker, blog. You can disable it by going to project admin -> Tools -> Options for a specific tool.

    could not find any new option in my trackers (SF project gnuarmeclipse).

     
  • Dave Brondsema

    Dave Brondsema - 2015-05-18

    The code changes are done, but not release to SourceForge yet. That will likely happen within a week or so, so check again soon.

     
  • Igor Bondarenko - 2015-06-18
    • Milestone: unreleased --> asf_release_1.3.0
     

Log in to post a comment.