Commit Graph

155 Commits

Author SHA1 Message Date
Marius Balteanu
38d950df55 Remove current year from source file copyright headers and update year in footer to 2024 (#40043).
git-svn-id: https://svn.redmine.org/redmine/trunk@22746 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-02-26 22:55:54 +00:00
Marius Balteanu
13aeb797cf Use ApplicationRecord instead of ActiveRecord::Base (#38975).
Patch by Minoru Maeda (@maeda-m).

git-svn-id: https://svn.redmine.org/redmine/trunk@22619 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-01-23 11:52:38 +00:00
Go MAEDA
894bb2f289 Fix that Example plugin (extra/sample_plugin) breaks Activity page (#38114).
Patch by Karel Pičman.


git-svn-id: https://svn.redmine.org/redmine/trunk@22079 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-01-27 04:04:20 +00:00
Go MAEDA
1481c721a2 Use require_relative instead of require File.expand_path(..., __FILE__) (#38093).
Patch by Go MAEDA.


git-svn-id: https://svn.redmine.org/redmine/trunk@22016 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-01-01 07:13:39 +00:00
Go MAEDA
92bd67c279 Update copyright year to 2023 (#38141).
git-svn-id: https://svn.redmine.org/redmine/trunk@22013 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-01-01 06:19:35 +00:00
Marius Balteanu
ce622c428e Avoid passing ActionController::Parameters outside of MailHandlerController (#36394).
Patch by Felix Schäfer.



git-svn-id: http://svn.redmine.org/redmine/trunk@21464 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-03-18 18:42:55 +00:00
Go MAEDA
3686b77eb6 Update copyright year in source files to 2022 (#36379).
git-svn-id: http://svn.redmine.org/redmine/trunk@21342 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-01-02 05:29:10 +00:00
Go MAEDA
3e36b5c452 Update copyright year in source files to 2021 (#33069).
git-svn-id: http://svn.redmine.org/redmine/trunk@20846 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-03-25 06:58:56 +00:00
Go MAEDA
e48ff48820 Evaluate acts_as_activity_provider's scope lazily (#33664).
Patch by Pavel Rosický.


git-svn-id: http://svn.redmine.org/redmine/trunk@20148 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-10-17 02:02:50 +00:00
Go MAEDA
907e0173e4 Update copyright year in source files to 2020 (#33069).
git-svn-id: http://svn.redmine.org/redmine/trunk@19553 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-03-03 00:24:10 +00:00
Go MAEDA
50becaf5ee Incoming emails may cause "invalid byte sequence" error depending on the default external encoding, due to r18317 (#31549).
git-svn-id: http://svn.redmine.org/redmine/trunk@18544 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-09-26 13:01:01 +00:00
Go MAEDA
6b2fe85b74 LF line terminators cause misparse of a multi-part email when 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
2019-06-25 23:38:28 +00:00
Go MAEDA
4082069c75 Update copyright year.
git-svn-id: http://svn.redmine.org/redmine/trunk@18198 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-05-25 07:36:06 +00:00
Go MAEDA
b0e17e8199 Don't rescue Exception class (#31387).
Patch by Go MAEDA and Pavel Rosický.


git-svn-id: http://svn.redmine.org/redmine/trunk@18197 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-05-25 06:50:25 +00:00
Go MAEDA
3b55f65407 Remove frozen_string_literal magic comment from files which are not used when running the application or tests (#23630).
git-svn-id: http://svn.redmine.org/redmine/trunk@17997 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-21 06:06:53 +00:00
Go MAEDA
5861160ffc Add "frozen_string_literal: false" for all files (#26561).
This will be changed to true in the future.


git-svn-id: http://svn.redmine.org/redmine/trunk@17947 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-15 01:32:57 +00:00
Go MAEDA
aaf0c81719 Update the app name in extra/sample_plugin/init.rb: s/RedMine/Redmine/ (#28478).
Patch by Go MAEDA.


git-svn-id: http://svn.redmine.org/redmine/trunk@17255 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-04-02 22:25:02 +00:00
Go MAEDA
cfd49183b0 Remove 'unloadable' from bundled sample plugin (#27963).
Patch by Mischa The Evil.


git-svn-id: http://svn.redmine.org/redmine/trunk@17170 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-01-10 08:33:42 +00:00
Go MAEDA
53e419d5bb Fix typo in rdm-mailhandler.rb: s/subadress/subaddress/ (#27812)
git-svn-id: http://svn.redmine.org/redmine/trunk@17120 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-12-17 06:35:07 +00:00
Go MAEDA
861273e85a Fix typo in rdm-mailhandler.rb: s/Proccessed/Processed/ (#27810).
git-svn-id: http://svn.redmine.org/redmine/trunk@17115 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-12-17 05:20:26 +00:00
Toshi MARUYAMA
9fcc66b4dd use versioned migrations for sample plugin in the same way of core r16807
git-svn-id: http://svn.redmine.org/redmine/trunk@16961 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-08-31 15:57:32 +00:00
Jean-Philippe Lang
0910b2bdbe Drop Darcs support (#26391).
Patch by Go MAEDA.

git-svn-id: http://svn.redmine.org/redmine/trunk@16886 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-07-25 17:32:53 +00:00
Jean-Philippe Lang
7fd04e1f8d Update copyright.
git-svn-id: http://svn.redmine.org/redmine/trunk@16685 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-06-25 08:40:31 +00:00
Jean-Philippe Lang
f7c2103d8d Adjust reposman log messages.
git-svn-id: http://svn.redmine.org/redmine/trunk@16593 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-06-01 20:29:42 +00:00
Jean-Philippe Lang
482345e642 Show message before registering repository in Redmine.
git-svn-id: http://svn.redmine.org/redmine/trunk@16592 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-06-01 20:14:49 +00:00
Jean-Philippe Lang
42d3f7e504 Use JSON instead of XML for reposman.rb.
git-svn-id: http://svn.redmine.org/redmine/trunk@16591 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-06-01 20:09:08 +00:00
Toshi MARUYAMA
6139e0033a spelling fixes (#25495)
git-svn-id: http://svn.redmine.org/redmine/trunk@16445 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-04-02 03:34:44 +00:00
Jean-Philippe Lang
427a745184 Check that repository module is enabled (#24307).
git-svn-id: http://svn.redmine.org/redmine/trunk@16286 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-29 08:53:41 +00:00
Jean-Philippe Lang
08e5fab777 Typo (#23865).
Patch by Go MAEDA.

git-svn-id: http://svn.redmine.org/redmine/trunk@15847 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-10-01 07:41:36 +00:00
Jean-Philippe Lang
25b9ecd0ca Wrong allow-override example in rdm-mailhandler.rb (#23829).
git-svn-id: http://svn.redmine.org/redmine/trunk@15843 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-10-01 07:12:39 +00:00
Jean-Philippe Lang
ee82a55602 Use .before_action instead of .before_filter.
git-svn-id: http://svn.redmine.org/redmine/trunk@15655 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-07-14 07:27:31 +00:00
Jean-Philippe Lang
ffdcb22ccb Ability to define a default assigned_to when receiving emails (#23020).
git-svn-id: http://svn.redmine.org/redmine/trunk@15547 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-06-18 07:07:41 +00:00
Jean-Philippe Lang
cda9c63d9c Updates copyright for 2016.
git-svn-id: http://svn.redmine.org/redmine/trunk@15238 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-03-13 10:30:10 +00:00
Jean-Philippe Lang
cf59a9b62e rdm-mailhandler with project-from-subaddress fails (#21531).
git-svn-id: http://svn.redmine.org/redmine/trunk@14986 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-12-20 10:53:48 +00:00
Jean-Philippe Lang
6526c9b990 Only select actual users from the database in Redmine.pm (#21312).
Patch by Holger Just.

git-svn-id: http://svn.redmine.org/redmine/trunk@14892 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-11-28 05:59:48 +00:00
Jean-Philippe Lang
928ac47246 Redmine.pm errors when cloning public project (#16948).
git-svn-id: http://svn.redmine.org/redmine/trunk@14883 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-11-24 20:59:13 +00:00
Jean-Philippe Lang
0df7fa714b Allow a default version to be set on the command line for incoming emails (#7346).
git-svn-id: http://svn.redmine.org/redmine/trunk@14789 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-11-01 08:56:27 +00:00
Jean-Philippe Lang
3795c22730 Makes project selection by subaddress optional (#20732).
git-svn-id: http://svn.redmine.org/redmine/trunk@14690 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-10-19 16:56:13 +00:00
Jean-Philippe Lang
1079089e75 Updates rdm-mailhandler.rb help.
git-svn-id: http://svn.redmine.org/redmine/trunk@14689 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-10-17 10:20:26 +00:00
Jean-Philippe Lang
54952a2b25 Updates rdm-mailhandler.rb help.
git-svn-id: http://svn.redmine.org/redmine/trunk@14688 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-10-17 10:13:36 +00:00
Jean-Philippe Lang
9e39ad4719 Mail Handler: option for specifying a custom CA bundle (#19182).
Patch by Stephane Lapie.

git-svn-id: http://svn.redmine.org/redmine/trunk@14289 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-05-30 08:56:05 +00:00
Jean-Philippe Lang
c89fa2be57 Connection leak in Redmine.pm (#19956).
Patch by Bruno Orcha García.

git-svn-id: http://svn.redmine.org/redmine/trunk@14281 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-05-30 08:18:34 +00:00
Jean-Philippe Lang
d640f7b249 Adds private issue option to receiving emails (#8424).
git-svn-id: http://svn.redmine.org/redmine/trunk@14262 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-05-10 09:07:36 +00:00
Jean-Philippe Lang
2277f61046 Added missing :permission option in sample plugin.
git-svn-id: http://svn.redmine.org/redmine/trunk@14031 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-02-18 21:11:37 +00:00
Jean-Philippe Lang
dbcdc3415d Removed no longer used :find_options option for acts_as_activity_provider.
git-svn-id: http://svn.redmine.org/redmine/trunk@14030 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-02-18 21:10:22 +00:00
Jean-Philippe Lang
d1ad182192 rdm-mailhandler.rb should catch EOFError (#18922).
Patch by Go MAEDA.

git-svn-id: http://svn.redmine.org/redmine/trunk@13961 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-02-07 07:37:21 +00:00
Jean-Philippe Lang
000124f44f Copyright update.
git-svn-id: http://svn.redmine.org/redmine/trunk@13872 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-11 09:09:50 +00:00
Jean-Philippe Lang
7e7ac5340a Adds buit-in groups to give specific permissions to anonymous and non members users per project (#17976).
git-svn-id: http://svn.redmine.org/redmine/trunk@13417 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-09-28 14:51:08 +00:00
Toshi MARUYAMA
35cc911192 update copyright year (#15977)
Contributed by Daniel Felix.

git-svn-id: http://svn.redmine.org/redmine/trunk@12736 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-29 22:45:39 +00:00
Jean-Philippe Lang
f77ed4a7c3 Mail handler: adds --no-notification option to disable notifications to the created user (#13341).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11526 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-03-03 08:57:00 +00:00