Commit Graph

18 Commits

Author SHA1 Message Date
Jean-Philippe Lang 00d16d07de MailHandler: exit with 75 when a SystemCallError is raised (#12528).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10954 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-08 09:14:06 +00:00
Jean-Philippe Lang 7b6d11ed6a Removed comments.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9651 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-05-07 17:24:20 +00:00
Jean-Philippe Lang 04fe0412e1 Use optparse instead rdoc/usage in rdm-mailhandler (#10837).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9650 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-05-07 17:23:30 +00:00
Toshi MARUYAMA be04f1dd62 remove trailing white-spaces from extra/mail_handler/rdm-mailhandler.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9292 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-04-01 12:19:25 +00:00
Jean-Philippe Lang d3a2564964 Adds an option to rdm-mailhandler for reading the API key from a file (#4976).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7954 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-27 16:40:42 +00:00
Jean-Philippe Lang 949c9a5b2f Adds an option to rdm-mailhandler to disable server certificate verification (#9496).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7953 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-27 16:25:21 +00:00
Jean-Philippe Lang ced782ecb2 Adds a User-Agent header to Redmine mailhandler requests (#7318).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4725 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-01-15 14:48:33 +00:00
Jean-Philippe Lang 06ca18b042 Adds a 'no_permission_check' option to the MailHandler.
Used with the 'project' option, it allows anyone to submit emails to a private inbox project (#4407).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3195 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-12-19 14:08:48 +00:00
Jean-Philippe Lang 84abeac304 Improve rdm-mailhandler exit status (#4368).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3143 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-12-09 10:44:15 +00:00
Jean-Philippe Lang 14c7a887ee Fixes broken --unknown-user option in mailhandler script (#3514).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2793 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-06-25 16:16:59 +00:00
Jean-Philippe Lang b3afde14fa Ability to accept incoming emails from unknown users (#2230, #3003).
An option lets you specify how to handle emails from unknown users:
* ignore: the email is ignored (previous and default behaviour)
* accept: the sender is considered as an anonymous user
* create: a user account is created (username/password are sent back to the user)

Permissions have to be consistent with the chosen option. Eg. if you choose 'create', the 'Non member' role must have the 'Add issues' permission so that an issue can be created by an unknown user via email. If you choose 'accept', the 'Anonymous' role must have this permission.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2789 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-06-14 14:48:34 +00:00
Jean-Philippe Lang 94899e0339 Adds --status option to rdm-mailhandler.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2076 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-11-30 15:51:44 +00:00
Jean-Philippe Lang ad97165f1b Changes ruby bang path to #!/usr/bin/env ruby (#1876).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2017 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-11-11 13:54:10 +00:00
Jean-Philippe Lang a987649b1a mailhandler: fixes exit status and adds an explicit message if response code is 403.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1868 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-09-16 21:56:02 +00:00
Jean-Philippe Lang 9afaf26d66 Use RDoc.usage
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1867 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-09-16 21:54:53 +00:00
Jean-Philippe Lang 2e4e9b88d2 Fixes rdm-mailhandler SSL support (#1724).
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1715 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-08-03 11:07:16 +00:00
Jean-Philippe Lang 40efaae6d5 Mail handler: more control over issue attributes (#1110).
Tracker, category and priority attributes can be specified in command line arguments and/or individually specified as overridable by email body keywords.

git-svn-id: http://redmine.rubyforge.org/svn/trunk@1643 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-07-06 16:26:25 +00:00
Jean-Philippe Lang 25bba80c9e Adds a simple API and a standalone script that can be used to forward emails from a local or remote email server to Redmine (#1110).
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1584 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-06-25 19:25:28 +00:00