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
3 vuotta sitten
Go MAEDA
72d622dc9f
Display more detailed error message when attempting to import malformed CSV file (#34762).
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@20756 e93f8b46-1217-0410-a6f0-8f06a7374b81
3 vuotta sitten
Go MAEDA
135fd7b79f
CSV import raises an exception if CSV header has empty columns (#22913, #34326).
git-svn-id: http://svn.redmine.org/redmine/trunk@20576 e93f8b46-1217-0410-a6f0-8f06a7374b81
3 vuotta sitten
Toshi MARUYAMA
0e79d0d688
remove spaces inside {} of ImportsController
git-svn-id: http://svn.redmine.org/redmine/trunk@20373 e93f8b46-1217-0410-a6f0-8f06a7374b81
3 vuotta sitten
Toshi MARUYAMA
99914e0888
use "do end" instead of {} at ImportsController
git-svn-id: http://svn.redmine.org/redmine/trunk@20279 e93f8b46-1217-0410-a6f0-8f06a7374b81
3 vuotta sitten
Toshi MARUYAMA
79d5978b5c
add empty line after guard clause to ImportsController
git-svn-id: http://svn.redmine.org/redmine/trunk@20236 e93f8b46-1217-0410-a6f0-8f06a7374b81
3 vuotta sitten
Toshi MARUYAMA
ddcdac3017
avoid using rescue in its modifier form at ImportsController#import_type
git-svn-id: http://svn.redmine.org/redmine/trunk@19864 e93f8b46-1217-0410-a6f0-8f06a7374b81
3 vuotta sitten
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
4 vuotta sitten
Go MAEDA
efbfc76161
Auto select fields mapping in import based on the internal field name (ex: estimared_hours, fixed_version, spent_on) or field label (Estimated hours, Version, Date) (#22913).
* mappings are case insensitive
* a field is auto mapped only if there is no mapping setting present for that field
* "Current user" default value for User field when the user has permission to log time for other users is override by the auto mapped column
Patch by Haihan Ji, Yuichi HARADA, and Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@19524 e93f8b46-1217-0410-a6f0-8f06a7374b81
4 vuotta sitten
Jean-Philippe Lang
13da124b16
CSV import does not keep the project it was clicked from (#21766).
Patch by Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@19381 e93f8b46-1217-0410-a6f0-8f06a7374b81
4 vuotta sitten
Go MAEDA
4082069c75
Update copyright year.
git-svn-id: http://svn.redmine.org/redmine/trunk@18198 e93f8b46-1217-0410-a6f0-8f06a7374b81
5 vuotta sitten
Go MAEDA
b540046ed7
Generalize issues imports (#28234).
Extend import controller to support arbitrary imports based on Import subclasses. This way, we may add other kinds of imports, by providing some views and a custom import class. This may also be done from within plugins.
Patch by Gregor Schmidt.
git-svn-id: http://svn.redmine.org/redmine/trunk@18145 e93f8b46-1217-0410-a6f0-8f06a7374b81
5 vuotta sitten
Go MAEDA
07b3087fda
Enable frozen_string_literal for some files under app and lib directory (#26561).
git-svn-id: http://svn.redmine.org/redmine/trunk@17977 e93f8b46-1217-0410-a6f0-8f06a7374b81
5 vuotta sitten
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
5 vuotta sitten
Go MAEDA
158392ae93
Drop Ruby 2.2 support (#30356).
git-svn-id: http://svn.redmine.org/redmine/trunk@17887 e93f8b46-1217-0410-a6f0-8f06a7374b81
5 vuotta sitten
Go MAEDA
350a2e3782
Fix: ImportsControllerTest fails with csv gem 1.0.2 (#28689).
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@17326 e93f8b46-1217-0410-a6f0-8f06a7374b81
6 vuotta sitten
Jean-Philippe Lang
d74f0bfd5c
Merged rails-5.1 branch (#23630).
git-svn-id: http://svn.redmine.org/redmine/trunk@16859 e93f8b46-1217-0410-a6f0-8f06a7374b81
6 vuotta sitten
Jean-Philippe Lang
7fd04e1f8d
Update copyright.
git-svn-id: http://svn.redmine.org/redmine/trunk@16685 e93f8b46-1217-0410-a6f0-8f06a7374b81
6 vuotta sitten
Jean-Philippe Lang
ccb9d4ada9
Rescue any EncodingError exceptions (#25861).
git-svn-id: http://svn.redmine.org/redmine/trunk@16572 e93f8b46-1217-0410-a6f0-8f06a7374b81
7 vuotta sitten
Jean-Philippe Lang
4ee4fad19a
Menu items mapping.
git-svn-id: http://svn.redmine.org/redmine/trunk@16077 e93f8b46-1217-0410-a6f0-8f06a7374b81
7 vuotta sitten
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
7 vuotta sitten
Jean-Philippe Lang
f01b0887ff
Helper is needed to render the sidebar (#14790).
git-svn-id: http://svn.redmine.org/redmine/trunk@15643 e93f8b46-1217-0410-a6f0-8f06a7374b81
7 vuotta sitten
Jean-Philippe Lang
e3875ffd57
Make Tracker map-able for CSV import (#22951).
git-svn-id: http://svn.redmine.org/redmine/trunk@15490 e93f8b46-1217-0410-a6f0-8f06a7374b81
8 vuotta sitten
Jean-Philippe Lang
cda9c63d9c
Updates copyright for 2016.
git-svn-id: http://svn.redmine.org/redmine/trunk@15238 e93f8b46-1217-0410-a6f0-8f06a7374b81
8 vuotta sitten
Jean-Philippe Lang
035edd39c4
Import issues from CSV file (#950).
git-svn-id: http://svn.redmine.org/redmine/trunk@14493 e93f8b46-1217-0410-a6f0-8f06a7374b81
8 vuotta sitten