Go MAEDA
a9518e28b8
Fix RuboCop offense Rails/HttpStatus (#39889).
git-svn-id: https://svn.redmine.org/redmine/trunk@22837 e93f8b46-1217-0410-a6f0-8f06a7374b81
hace 1 mes
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
hace 4 meses
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
hace 1 año
Go MAEDA
92bd67c279
Update copyright year to 2023 (#38141).
git-svn-id: https://svn.redmine.org/redmine/trunk@22013 e93f8b46-1217-0410-a6f0-8f06a7374b81
hace 1 año
Go MAEDA
84627cb774
Add missing fixture versions to MailHandlerControllerTest (#37470).
Patch by Dmitry Makurin.
git-svn-id: https://svn.redmine.org/redmine/trunk@21727 e93f8b46-1217-0410-a6f0-8f06a7374b81
hace 1 año
Marius Balteanu
1d02d8ec0b
Don't verify CSRF authenticity token in mail handler (#37030).
Patch by Go MAEDA.
git-svn-id: https://svn.redmine.org/redmine/trunk@21568 e93f8b46-1217-0410-a6f0-8f06a7374b81
hace 2 años
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
hace 2 años
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
hace 3 años
Toshi MARUYAMA
461fe8304f
use with_settings at MailHandlerControllerTest#test_new
git-svn-id: http://svn.redmine.org/redmine/trunk@20599 e93f8b46-1217-0410-a6f0-8f06a7374b81
hace 3 años
Toshi MARUYAMA
bef2644f88
use with_settings at MailHandlerControllerTest#test_should_not_allow_with_wrong_key
git-svn-id: http://svn.redmine.org/redmine/trunk@20575 e93f8b46-1217-0410-a6f0-8f06a7374b81
hace 3 años
Toshi MARUYAMA
7c292dd23c
use with_settings at MailHandlerControllerTest#test_should_not_allow_with_api_disabled
git-svn-id: http://svn.redmine.org/redmine/trunk@20561 e93f8b46-1217-0410-a6f0-8f06a7374b81
hace 3 años
Toshi MARUYAMA
f9d6dc3031
use with_settings at MailHandlerControllerTest#test_should_respond_with_422_if_not_created
git-svn-id: http://svn.redmine.org/redmine/trunk@20546 e93f8b46-1217-0410-a6f0-8f06a7374b81
hace 3 años
Toshi MARUYAMA
6d4414b1cb
use with_settings at MailHandlerControllerTest#test_should_update_issue
git-svn-id: http://svn.redmine.org/redmine/trunk@20517 e93f8b46-1217-0410-a6f0-8f06a7374b81
hace 3 años
Toshi MARUYAMA
bee9ea910a
use with_settings at MailHandlerControllerTest#test_should_create_issue_with_options
git-svn-id: http://svn.redmine.org/redmine/trunk@20504 e93f8b46-1217-0410-a6f0-8f06a7374b81
hace 3 años
Toshi MARUYAMA
426777a358
use with_settings at MailHandlerControllerTest#test_should_create_issue
git-svn-id: http://svn.redmine.org/redmine/trunk@20477 e93f8b46-1217-0410-a6f0-8f06a7374b81
hace 3 años
Toshi MARUYAMA
2ab86419ce
shorten long line of MailHandlerControllerTest
git-svn-id: http://svn.redmine.org/redmine/trunk@20466 e93f8b46-1217-0410-a6f0-8f06a7374b81
hace 3 años
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
hace 4 años
Toshi MARUYAMA
c20f1d0aaa
cleanup: rubocop: fix Layout/IndentFirstHashElement in test/functional/mail_handler_controller_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19258 e93f8b46-1217-0410-a6f0-8f06a7374b81
hace 4 años
Go MAEDA
4082069c75
Update copyright year.
git-svn-id: http://svn.redmine.org/redmine/trunk@18198 e93f8b46-1217-0410-a6f0-8f06a7374b81
hace 5 años
Go MAEDA
4f5a3a156c
Enable frozen_string_literal for some files under test directory (#26561).
git-svn-id: http://svn.redmine.org/redmine/trunk@17978 e93f8b46-1217-0410-a6f0-8f06a7374b81
hace 5 años
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
hace 5 años
Jean-Philippe Lang
e82e018938
Adding an issue note via email fails due to NoMethodError (#30455).
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@17817 e93f8b46-1217-0410-a6f0-8f06a7374b81
hace 5 años
Jean-Philippe Lang
7fd04e1f8d
Update copyright.
git-svn-id: http://svn.redmine.org/redmine/trunk@16685 e93f8b46-1217-0410-a6f0-8f06a7374b81
hace 7 años
Jean-Philippe Lang
b834e81d7f
Use Rails 5 syntax for functional tests.
git-svn-id: http://svn.redmine.org/redmine/trunk@16585 e93f8b46-1217-0410-a6f0-8f06a7374b81
hace 7 años
Jean-Philippe Lang
8b107b6058
Don't use render :text => "".
git-svn-id: http://svn.redmine.org/redmine/trunk@15731 e93f8b46-1217-0410-a6f0-8f06a7374b81
hace 8 años
Jean-Philippe Lang
2e4e610930
Adds our own class for controller tests.
git-svn-id: http://svn.redmine.org/redmine/trunk@15661 e93f8b46-1217-0410-a6f0-8f06a7374b81
hace 8 años
Jean-Philippe Lang
cda9c63d9c
Updates copyright for 2016.
git-svn-id: http://svn.redmine.org/redmine/trunk@15238 e93f8b46-1217-0410-a6f0-8f06a7374b81
hace 8 años
Jean-Philippe Lang
95f7471e9c
Adds a form to manually submit an email to the mail handler.
Use GET /mail_handler?key= to get the form.
git-svn-id: http://svn.redmine.org/redmine/trunk@14314 e93f8b46-1217-0410-a6f0-8f06a7374b81
hace 9 años
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
hace 9 años
Jean-Philippe Lang
e3618bdbec
Add support for multiple email addresses per user (#4244).
git-svn-id: http://svn.redmine.org/redmine/trunk@13886 e93f8b46-1217-0410-a6f0-8f06a7374b81
hace 9 años
Jean-Philippe Lang
000124f44f
Copyright update.
git-svn-id: http://svn.redmine.org/redmine/trunk@13872 e93f8b46-1217-0410-a6f0-8f06a7374b81
hace 9 años
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
hace 10 años
Jean-Philippe Lang
e396a0eebe
Copyright for 2013 (#12788).
Patch by Daniel Felix.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11169 e93f8b46-1217-0410-a6f0-8f06a7374b81
hace 11 años
Jean-Philippe Lang
4cc4e8bfd3
Functional tests cleanup.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10936 e93f8b46-1217-0410-a6f0-8f06a7374b81
hace 11 años
Jean-Baptiste Barth
9280182bde
Fixed test/functional/mail_handler_controller_test.rb breaking when run alone (#12285)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10783 e93f8b46-1217-0410-a6f0-8f06a7374b81
hace 11 años
Jean-Philippe Lang
ba5a052c8c
Copyright update.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9636 e93f8b46-1217-0410-a6f0-8f06a7374b81
hace 12 años
Jean-Philippe Lang
fe4c7237fb
Adds tests for MailHandler.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8095 e93f8b46-1217-0410-a6f0-8f06a7374b81
hace 12 años
Toshi MARUYAMA
2ea5e634eb
remove trailing white-spaces from test/functional/mail_handler_controller_test.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6831 e93f8b46-1217-0410-a6f0-8f06a7374b81
hace 13 años
Jean-Baptiste Barth
17f86d964f
Use absolute paths in test/**/* requires for Ruby 1.9.2 compatibility. #4050
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4509 e93f8b46-1217-0410-a6f0-8f06a7374b81
hace 13 años
Eric Davis
7b0cb6aba8
Upgraded to Rails 2.3.4 (#3597)
* Ran the Rails upgrade
* Upgraded to Rails Engines 2.3.2
* Added a plugin to let Engines override application views.
* Converted tests to use the new classes:
** ActionController::TestCase for functional
** ActiveSupport::TestCase for units
* Converted ActiveRecord::Error message to a string.
* ActiveRecord grouping returns an ordered hash which doesn't have #sort!
* Updated the I18n storage_units format.
* Added some default initializers from a fresh rails app
* Changed the order of check_box_tags and hidden_field_tags. The hidden tag
needs to appear first in Rails 2.3, otherwise it will override any value in
the check_box_tag.
* Removed the custom handler for when the cookie store is tampered with.
Rails 2.3 removed the TamperedWithCookie exception and instead Rails will not
load the data from it when it's been tampered with (e.g. no user login).
* Fixed mail layouts, 2.3 has problems with implicit multipart emails that
use layouts. Also removed some custom Redmine mailer code.
* Fixed a bug that occurred in tests where the "required" span tag would be
added to the :field_status translation. This resulted in an email string of:
<li>Status<span class="required"> *</span><span class="required"> *</span>
Instead of:
<li>Status: New</li>
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2887 e93f8b46-1217-0410-a6f0-8f06a7374b81
hace 15 años
Jean-Philippe Lang
7dccf9fda6
Allows multiple roles on the same project (#706). Prerequisite for user groups feature.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2726 e93f8b46-1217-0410-a6f0-8f06a7374b81
hace 15 años
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
hace 16 años
Jean-Philippe Lang
80a7486f95
File viewer for attached text files.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1520 e93f8b46-1217-0410-a6f0-8f06a7374b81
hace 16 años
Jean-Philippe Lang
29b3614bcb
Forums enhancements:
* messages can now be edited/deleted (explicit permissions need to be given)
* topics can be locked so that no reply can be added (only by users allowed to edit messages)
* topics can be marked as sticky so that they always appear at the top of the list (only by users allowed to edit messages)
git-svn-id: http://redmine.rubyforge.org/svn/trunk@926 e93f8b46-1217-0410-a6f0-8f06a7374b81
hace 16 años
Jean-Philippe Lang
ad68a82be1
Moved ProjectsController#list_news to NewsController#index.
Removed FeedsController, issues and news feeds are now handled by issues and news controllers.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@888 e93f8b46-1217-0410-a6f0-8f06a7374b81
hace 16 años
Jean-Philippe Lang
603e11d7a5
Merged 0.6 branch into trunk.
Permissions management was rewritten. Some permissions can now be specifically defined for non member and anonymous users.
This migration:
* is irreversible (please, don't forget to *backup* your database before upgrading)
* resets role's permissions (go to "Admin -> Roles & Permissions" to set them after upgrading)
git-svn-id: http://redmine.rubyforge.org/svn/trunk@674 e93f8b46-1217-0410-a6f0-8f06a7374b81
hace 17 años
Jean-Philippe Lang
10cf1ccc1a
added rss/atom feeds at project levels for:
* news
* new issues reported
* details of issue changes
issue cutom queries can be used as feeds
git-svn-id: http://redmine.rubyforge.org/svn/trunk@339 e93f8b46-1217-0410-a6f0-8f06a7374b81
hace 17 años
Jean-Philippe Lang
85f32b956f
added italian translation [Alessio Spadaro]
git-svn-id: http://redmine.rubyforge.org/svn/trunk@334 e93f8b46-1217-0410-a6f0-8f06a7374b81
hace 17 años
Jean-Philippe Lang
1fcc9e977f
updated supported language count in test (now 5)
git-svn-id: http://redmine.rubyforge.org/svn/trunk@284 e93f8b46-1217-0410-a6f0-8f06a7374b81
hace 17 años
Jean-Philippe Lang
5101c55e10
added lang files validition test
git-svn-id: http://redmine.rubyforge.org/svn/trunk@214 e93f8b46-1217-0410-a6f0-8f06a7374b81
hace 17 años