summaryrefslogtreecommitdiffstats
path: root/extra/mail_handler
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright year to 2023 (#38141).Go MAEDA2023-01-011-1/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/branches/5.0-stable@22014 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Avoid passing ActionController::Parameters outside of MailHandlerController ↵Marius Balteanu2022-03-181-0/+3
| | | | | | | | | | (#36394). Patch by Felix Schäfer. git-svn-id: http://svn.redmine.org/redmine/trunk@21464 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year in source files to 2022 (#36379).Go MAEDA2022-01-021-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@21342 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year in source files to 2021 (#33069).Go MAEDA2021-03-251-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20846 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year in source files to 2020 (#33069).Go MAEDA2020-03-031-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@19553 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Incoming emails may cause "invalid byte sequence" error depending on the ↵Go MAEDA2019-09-261-1/+1
| | | | | | default external encoding, due to r18317 (#31549). git-svn-id: http://svn.redmine.org/redmine/trunk@18544 e93f8b46-1217-0410-a6f0-8f06a7374b81
* LF line terminators cause misparse of a multi-part email when ↵Go MAEDA2019-06-251-1/+1
| | | | | | | | | rdm-mailhandler.rb is invoked from /etc/aliases (#31549). Patch by Yuichi HARADA. git-svn-id: http://svn.redmine.org/redmine/trunk@18317 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year.Go MAEDA2019-05-251-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@18198 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Don't rescue Exception class (#31387).Go MAEDA2019-05-251-1/+1
| | | | | | | Patch by Go MAEDA and Pavel Rosický. git-svn-id: http://svn.redmine.org/redmine/trunk@18197 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add "frozen_string_literal: false" for all files (#26561).Go MAEDA2019-03-151-0/+2
| | | | | | | This will be changed to true in the future. git-svn-id: http://svn.redmine.org/redmine/trunk@17947 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix typo in rdm-mailhandler.rb: s/subadress/subaddress/ (#27812)Go MAEDA2017-12-171-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@17120 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix typo in rdm-mailhandler.rb: s/Proccessed/Processed/ (#27810).Go MAEDA2017-12-171-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@17115 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright.Jean-Philippe Lang2017-06-251-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16685 e93f8b46-1217-0410-a6f0-8f06a7374b81
* spelling fixes (#25495)Toshi MARUYAMA2017-04-021-2/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16445 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Wrong allow-override example in rdm-mailhandler.rb (#23829).Jean-Philippe Lang2016-10-011-2/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15843 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Ability to define a default assigned_to when receiving emails (#23020).Jean-Philippe Lang2016-06-181-0/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15547 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Updates copyright for 2016.Jean-Philippe Lang2016-03-131-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15238 e93f8b46-1217-0410-a6f0-8f06a7374b81
* rdm-mailhandler with project-from-subaddress fails (#21531).Jean-Philippe Lang2015-12-201-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14986 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Allow a default version to be set on the command line for incoming emails ↵Jean-Philippe Lang2015-11-011-0/+1
| | | | | | (#7346). git-svn-id: http://svn.redmine.org/redmine/trunk@14789 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Makes project selection by subaddress optional (#20732).Jean-Philippe Lang2015-10-191-9/+20
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14690 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Updates rdm-mailhandler.rb help.Jean-Philippe Lang2015-10-171-27/+31
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14689 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Updates rdm-mailhandler.rb help.Jean-Philippe Lang2015-10-171-6/+19
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14688 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Mail Handler: option for specifying a custom CA bundle (#19182).Jean-Philippe Lang2015-05-301-2/+6
| | | | | | Patch by Stephane Lapie. git-svn-id: http://svn.redmine.org/redmine/trunk@14289 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds private issue option to receiving emails (#8424).Jean-Philippe Lang2015-05-101-0/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14262 e93f8b46-1217-0410-a6f0-8f06a7374b81
* rdm-mailhandler.rb should catch EOFError (#18922).Jean-Philippe Lang2015-02-071-1/+1
| | | | | | Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@13961 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Copyright update.Jean-Philippe Lang2015-01-111-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13872 e93f8b46-1217-0410-a6f0-8f06a7374b81
* update copyright year (#15977)Toshi MARUYAMA2014-01-291-1/+1
| | | | | | Contributed by Daniel Felix. git-svn-id: http://svn.redmine.org/redmine/trunk@12736 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Mail handler: adds --no-notification option to disable notifications to the ↵Jean-Philippe Lang2013-03-031-1/+4
| | | | | | created user (#13341). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11526 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Mail handler: adds --no-account-notice option for not sending account ↵Jean-Philippe Lang2013-03-031-2/+6
| | | | | | information to the created user (#11498). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11525 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Typo and text formatting in rdm-mailhandler usage.Jean-Philippe Lang2013-03-031-6/+6
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11524 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds copyright.Jean-Philippe Lang2013-03-031-0/+16
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11523 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Mail handler: adds --default-group option to add created user to one or more ↵Jean-Philippe Lang2013-03-031-7/+12
| | | | | | groups (#13340). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11522 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed thatinitialize_http_header overrides basic auth in rdm-mailhandler.rb ↵Jean-Philippe Lang2013-02-141-2/+2
| | | | | | | | (#13165). Patch by Jean-Louis Fuchs. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11371 e93f8b46-1217-0410-a6f0-8f06a7374b81
* MailHandler: exit with 75 when a SystemCallError is raised (#12528).Jean-Philippe Lang2012-12-081-1/+6
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10954 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Removed comments.Jean-Philippe Lang2012-05-071-54/+0
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9651 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use optparse instead rdoc/usage in rdm-mailhandler (#10837).Jean-Philippe Lang2012-05-071-52/+64
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9650 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove trailing white-spaces from extra/mail_handler/rdm-mailhandler.rbToshi MARUYAMA2012-04-011-19/+19
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9292 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds an option to rdm-mailhandler for reading the API key from a file (#4976).Jean-Philippe Lang2011-11-271-0/+12
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7954 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds an option to rdm-mailhandler to disable server certificate verification ↵Jean-Philippe Lang2011-11-271-4/+11
| | | | | | (#9496). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7953 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds a User-Agent header to Redmine mailhandler requests (#7318).Jean-Philippe Lang2011-01-151-2/+5
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4725 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds a 'no_permission_check' option to the MailHandler.Jean-Philippe Lang2009-12-191-3/+9
| | | | | | 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
* Improve rdm-mailhandler exit status (#4368).Jean-Philippe Lang2009-12-091-4/+22
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3143 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixes broken --unknown-user option in mailhandler script (#3514).Jean-Philippe Lang2009-06-251-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2793 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Ability to accept incoming emails from unknown users (#2230, #3003).Jean-Philippe Lang2009-06-141-3/+13
| | | | | | | | | | | 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
* Adds --status option to rdm-mailhandler.Jean-Philippe Lang2008-11-301-1/+3
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2076 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Changes ruby bang path to #!/usr/bin/env ruby (#1876).Jean-Philippe Lang2008-11-111-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2017 e93f8b46-1217-0410-a6f0-8f06a7374b81
* mailhandler: fixes exit status and adds an explicit message if response code ↵Jean-Philippe Lang2008-09-161-1/+4
| | | | | | is 403. git-svn-id: http://redmine.rubyforge.org/svn/trunk@1868 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use RDoc.usageJean-Philippe Lang2008-09-161-49/+50
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@1867 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixes rdm-mailhandler SSL support (#1724).Jean-Philippe Lang2008-08-031-1/+14
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@1715 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Mail handler: more control over issue attributes (#1110).Jean-Philippe Lang2008-07-061-16/+49
| | | | | | 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