Redmine 4.1.1
This commit is contained in:
parent
33e7b881a5
commit
3d976f1b3b
1593 changed files with 36180 additions and 19489 deletions
75
test/fixtures/attachments.yml
vendored
75
test/fixtures/attachments.yml
vendored
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
attachments_001:
|
||||
---
|
||||
attachments_001:
|
||||
created_on: 2006-07-19 21:07:27 +02:00
|
||||
downloads: 0
|
||||
content_type: text/plain
|
||||
|
@ -13,7 +13,7 @@ attachments_001:
|
|||
filename: error281.txt
|
||||
author_id: 2
|
||||
description: An attachment
|
||||
attachments_002:
|
||||
attachments_002:
|
||||
created_on: 2007-01-27 15:08:27 +01:00
|
||||
downloads: 0
|
||||
content_type: text/plain
|
||||
|
@ -26,7 +26,7 @@ attachments_002:
|
|||
filesize: 28
|
||||
filename: document.txt
|
||||
author_id: 2
|
||||
attachments_003:
|
||||
attachments_003:
|
||||
created_on: 2006-07-19 21:07:27 +02:00
|
||||
downloads: 0
|
||||
content_type: image/gif
|
||||
|
@ -40,7 +40,7 @@ attachments_003:
|
|||
filename: logo.gif
|
||||
description: This is a logo
|
||||
author_id: 2
|
||||
attachments_004:
|
||||
attachments_004:
|
||||
created_on: 2006-07-19 21:07:27 +02:00
|
||||
container_type: Issue
|
||||
container_id: 2
|
||||
|
@ -54,7 +54,7 @@ attachments_004:
|
|||
author_id: 2
|
||||
description: This is a Ruby source file
|
||||
content_type: application/x-ruby
|
||||
attachments_005:
|
||||
attachments_005:
|
||||
created_on: 2006-07-19 21:07:27 +02:00
|
||||
container_type: Issue
|
||||
container_id: 3
|
||||
|
@ -67,7 +67,7 @@ attachments_005:
|
|||
filename: changeset_iso8859-1.diff
|
||||
author_id: 2
|
||||
content_type: text/x-diff
|
||||
attachments_006:
|
||||
attachments_006:
|
||||
created_on: 2006-07-19 21:07:27 +02:00
|
||||
container_type: Issue
|
||||
container_id: 3
|
||||
|
@ -80,7 +80,7 @@ attachments_006:
|
|||
filename: archive.zip
|
||||
author_id: 2
|
||||
content_type: application/zip
|
||||
attachments_007:
|
||||
attachments_007:
|
||||
created_on: 2006-07-19 21:07:27 +02:00
|
||||
container_type: Issue
|
||||
container_id: 4
|
||||
|
@ -93,7 +93,7 @@ attachments_007:
|
|||
filename: archive.zip
|
||||
author_id: 1
|
||||
content_type: application/zip
|
||||
attachments_008:
|
||||
attachments_008:
|
||||
created_on: 2006-07-19 21:07:27 +02:00
|
||||
container_type: Project
|
||||
container_id: 1
|
||||
|
@ -106,7 +106,7 @@ attachments_008:
|
|||
filename: project_file.zip
|
||||
author_id: 2
|
||||
content_type: application/octet-stream
|
||||
attachments_009:
|
||||
attachments_009:
|
||||
created_on: 2006-07-19 21:07:27 +02:00
|
||||
container_type: Version
|
||||
container_id: 1
|
||||
|
@ -119,7 +119,7 @@ attachments_009:
|
|||
filename: version_file.zip
|
||||
author_id: 2
|
||||
content_type: application/octet-stream
|
||||
attachments_010:
|
||||
attachments_010:
|
||||
created_on: 2006-07-19 21:07:27 +02:00
|
||||
container_type: Issue
|
||||
container_id: 2
|
||||
|
@ -132,7 +132,7 @@ attachments_010:
|
|||
filename: picture.jpg
|
||||
author_id: 2
|
||||
content_type: image/jpeg
|
||||
attachments_011:
|
||||
attachments_011:
|
||||
created_on: 2007-02-12 15:08:27 +01:00
|
||||
container_type: Document
|
||||
container_id: 1
|
||||
|
@ -171,7 +171,7 @@ attachments_013:
|
|||
filename: foo.zip
|
||||
author_id: 2
|
||||
content_type: application/octet-stream
|
||||
attachments_014:
|
||||
attachments_014:
|
||||
created_on: 2006-07-19 21:07:27 +02:00
|
||||
container_type: Issue
|
||||
container_id: 3
|
||||
|
@ -184,7 +184,7 @@ attachments_014:
|
|||
filename: changeset_utf8.diff
|
||||
author_id: 2
|
||||
content_type: text/x-diff
|
||||
attachments_015:
|
||||
attachments_015:
|
||||
id: 15
|
||||
created_on: 2010-07-19 21:07:27 +02:00
|
||||
container_type: Issue
|
||||
|
@ -198,7 +198,7 @@ attachments_015:
|
|||
author_id: 2
|
||||
content_type: text/x-diff
|
||||
description: attachement of a private issue
|
||||
attachments_016:
|
||||
attachments_016:
|
||||
content_type: image/png
|
||||
downloads: 0
|
||||
created_on: 2010-11-23 16:14:50 +09:00
|
||||
|
@ -212,7 +212,7 @@ attachments_016:
|
|||
filename: testfile.png
|
||||
filesize: 2654
|
||||
author_id: 2
|
||||
attachments_017:
|
||||
attachments_017:
|
||||
content_type: image/png
|
||||
downloads: 0
|
||||
created_on: 2010-12-23 16:14:50 +09:00
|
||||
|
@ -254,7 +254,7 @@ attachments_019:
|
|||
filename: Testテスト.PNG
|
||||
filesize: 3582
|
||||
author_id: 2
|
||||
attachments_020:
|
||||
attachments_020:
|
||||
content_type: text/plain
|
||||
downloads: 0
|
||||
created_on: 2012-05-12 16:14:50 +09:00
|
||||
|
@ -268,3 +268,44 @@ attachments_020:
|
|||
filename: root_attachment.txt
|
||||
filesize: 54
|
||||
author_id: 2
|
||||
attachments_021:
|
||||
created_on: 2007-03-05 15:08:27 +01:00
|
||||
container_type: Document
|
||||
container_id: 3
|
||||
downloads: 0
|
||||
disk_filename: 060719210727_archive.zip
|
||||
disk_directory: "2006/07"
|
||||
digest: b91e08d0cf966d5c6ff411bd8c4cc3a2
|
||||
id: 21
|
||||
filesize: 157
|
||||
filename: archive.zip
|
||||
author_id: 1
|
||||
content_type: application/zip
|
||||
attachments_022:
|
||||
created_on: 2019-04-30 09:23:44 +09:00
|
||||
container_type: Project
|
||||
container_id: 1
|
||||
downloads: 0
|
||||
disk_filename: 190430092344_redmine_logo.ai.unknown
|
||||
disk_directory: "2019/04"
|
||||
digest: 68d90c016f0806d88234a6f16530fdf0b7f1d2481354798f1a5fd165dca6b04f
|
||||
id: 22
|
||||
filesize: 4994
|
||||
filename: redmine_logo.ai.unknown
|
||||
author_id: 1
|
||||
description: unknown type
|
||||
content_type:
|
||||
attachments_023:
|
||||
created_on: 2019-05-11 14:18:19 +09:00
|
||||
content_type: application/pdf
|
||||
container_type: WikiPage
|
||||
container_id: 1
|
||||
downloads: 0
|
||||
disk_filename: 190511141819_ecookbook-gantt.pdf
|
||||
disk_directory: "2019/05"
|
||||
digest: da9c52e79d9eee7d47b9ee5db477985c542ea683e9f23ed32db55e35ef99c479
|
||||
id: 23
|
||||
filesize: 31620
|
||||
filename: ecookbook-gantt.pdf
|
||||
author_id: 2
|
||||
description: Gantt chart as of May 11
|
||||
|
|
4
test/fixtures/comments.yml
vendored
4
test/fixtures/comments.yml
vendored
|
@ -4,7 +4,7 @@ comments_001:
|
|||
commented_id: 1
|
||||
id: 1
|
||||
author_id: 1
|
||||
comments: my first comment
|
||||
content: my first comment
|
||||
created_on: 2006-12-10 18:10:10 +01:00
|
||||
updated_on: 2006-12-10 18:10:10 +01:00
|
||||
comments_002:
|
||||
|
@ -12,6 +12,6 @@ comments_002:
|
|||
commented_id: 1
|
||||
id: 2
|
||||
author_id: 2
|
||||
comments: This is an other comment
|
||||
content: This is an other comment
|
||||
created_on: 2006-12-10 18:12:10 +01:00
|
||||
updated_on: 2006-12-10 18:12:10 +01:00
|
||||
|
|
8
test/fixtures/configuration/default.yml
vendored
8
test/fixtures/configuration/default.yml
vendored
|
@ -1,8 +0,0 @@
|
|||
default:
|
||||
somesetting: foo
|
||||
|
||||
production:
|
||||
|
||||
development:
|
||||
|
||||
test:
|
7
test/fixtures/configuration/empty.yml
vendored
7
test/fixtures/configuration/empty.yml
vendored
|
@ -1,7 +0,0 @@
|
|||
default:
|
||||
|
||||
production:
|
||||
|
||||
development:
|
||||
|
||||
test:
|
8
test/fixtures/configuration/no_default.yml
vendored
8
test/fixtures/configuration/no_default.yml
vendored
|
@ -1,8 +0,0 @@
|
|||
default:
|
||||
|
||||
production:
|
||||
|
||||
development:
|
||||
|
||||
test:
|
||||
somesetting: foo
|
9
test/fixtures/configuration/overrides.yml
vendored
9
test/fixtures/configuration/overrides.yml
vendored
|
@ -1,9 +0,0 @@
|
|||
default:
|
||||
somesetting: foo
|
||||
|
||||
production:
|
||||
|
||||
development:
|
||||
|
||||
test:
|
||||
somesetting: bar
|
11
test/fixtures/documents.yml
vendored
11
test/fixtures/documents.yml
vendored
|
@ -1,14 +1,21 @@
|
|||
documents_001:
|
||||
documents_001:
|
||||
created_on: 2007-01-27 15:08:27 +01:00
|
||||
project_id: 1
|
||||
title: "Test document"
|
||||
id: 1
|
||||
description: "Document description"
|
||||
category_id: 1
|
||||
documents_002:
|
||||
documents_002:
|
||||
created_on: 2007-02-12 15:08:27 +01:00
|
||||
project_id: 1
|
||||
title: "An other document"
|
||||
id: 2
|
||||
description: ""
|
||||
category_id: 1
|
||||
documents_003:
|
||||
created_on: 2007-03-05 15:08:27 +01:00
|
||||
project_id: 1
|
||||
title: "An other document 2"
|
||||
id: 3
|
||||
description: ""
|
||||
category_id: 3
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
# The Greeter class
|
||||
class Greeter
|
||||
def initialize(name)
|
||||
|
|
232
test/fixtures/files/2019/04/190430092344_redmine_logo.ai.unknown
vendored
Normal file
232
test/fixtures/files/2019/04/190430092344_redmine_logo.ai.unknown
vendored
Normal file
|
@ -0,0 +1,232 @@
|
|||
%!PS-Adobe-3.0
|
||||
%%Creator: Adobe Fireworks
|
||||
%%DocumentNeededResources: procset Adobe_level2_AI5 1.0 0
|
||||
%%+ procset Adobe_packedarray 2.0 0
|
||||
%%+ procset Adobe_cmykcolor 1.1 0
|
||||
%%+ procset Adobe_cshow 1.1 0
|
||||
%%+ procset Adobe_customcolor 1.0 0
|
||||
%%+ procset Adobe_typography_AI5 1.0 0
|
||||
%%+ procset Adobe_Illustrator_AI5 1.0 0
|
||||
%%BoundingBox:0 0 183 94
|
||||
%AI3_TemplateBox: 0 0 183 94
|
||||
%%PageOrigin:0 0
|
||||
%AI5_FileFormat 3
|
||||
%AI3_ColorUsage: Color
|
||||
%%DocumentProcessColors: Cyan Magenta Yellow Black
|
||||
%%EndComments
|
||||
%%BeginProlog
|
||||
%%EndProlog
|
||||
%%BeginSetup
|
||||
Adobe_packedarray /initialize get exec
|
||||
Adobe_cmykcolor /initialize get exec
|
||||
Adobe_cshow /initialize get exec
|
||||
Adobe_customcolor /initialize get exec
|
||||
Adobe_typography_AI5 /initialize get exec
|
||||
Adobe_Illustrator_AI5 /initialize get exec
|
||||
[
|
||||
39/quotesingle 96/grave 130/quotesinglbase 131/florin 132/quotedblbase
|
||||
133/ellipsis 134/dagger 135/daggerdbl 136/circumflex 137/perthousand
|
||||
139/guilsinglleft 140/OE 145/quoteleft 146/quoteright 147/quotedblleft
|
||||
148/quotedblright 149/bullet 150/endash 151/emdash 152/tilde
|
||||
155/guilsinglright 156/oe 157/dotlessi 159/Ydieresis 164/currency
|
||||
166/brokenbar 168/dieresis 169/copyright 170/ordfeminine 172/logicalnot
|
||||
174/registered 175/macron 176/ring 177/plusminus 178/twosuperior
|
||||
179/threesuperior 180/acute 181/mu 183/periodcentered 184/cedilla
|
||||
185/onesuperior 186/ordmasculine 188/onequarter 189/onehalf
|
||||
190/threequarters 192/Agrave 193/Aacute 194/Acircumflex 195/Atilde
|
||||
196/Adieresis 197/Aring 198/AE 199/Ccedilla 200/Egrave 201/Eacute
|
||||
202/Ecircumflex 203/Edieresis 204/Igrave 205/Iacute 206/Icircumflex
|
||||
207/Idieresis 208/Eth 209/Ntilde 210/Ograve 211/Oacute 212/Ocircumflex
|
||||
213/Otilde 214/Odieresis 215/multiply 216/Oslash 217/Ugrave 218/Uacute
|
||||
219/Ucircumflex 220/Udieresis 221/Yacute 222/Thorn 223/germandbls
|
||||
224/agrave 225/aacute 226/acircumflex 227/atilde 228/adieresis
|
||||
229/aring 230/ae 231/ccedilla 232/egrave 233/eacute 234/ecircumflex
|
||||
235/edieresis 236/igrave 237/iacute 238/icircumflex 239/idieresis
|
||||
240/eth 241/ntilde 242/ograve 243/oacute 244/ocircumflex 245/otilde
|
||||
246/odieresis 247/divide 248/oslash 249/ugrave 250/uacute 251/ucircumflex
|
||||
252/udieresis 253/yacute 254/thorn 255/ydieresis
|
||||
TE
|
||||
%AI3_BeginEncoding: _Delicious-Bold-Bold Delicious-Bold-Bold
|
||||
[/_Delicious-Bold-Bold/Delicious-Bold-Bold 0 0 0 TZ
|
||||
%AI3_EndEncoding TrueType
|
||||
%%EndSetup
|
||||
1 1 1 1 0 0 0 79 128 255 Lb
|
||||
(Ebene 1) Ln
|
||||
0.000 0.000 0.000 Xa
|
||||
1 XR
|
||||
44.00 44.80 m
|
||||
49.60 44.80 l
|
||||
50.00 49.60 l
|
||||
44.80 50.80 l
|
||||
44.00 44.80 l
|
||||
f
|
||||
0.000 0.000 0.000 Xa
|
||||
1 XR
|
||||
45.00 51.60 m
|
||||
50.00 50.40 l
|
||||
51.20 54.60 l
|
||||
47.00 56.80 l
|
||||
45.00 51.60 l
|
||||
f
|
||||
0.000 0.000 0.000 Xa
|
||||
1 XR
|
||||
47.40 57.60 m
|
||||
51.40 55.40 l
|
||||
54.60 57.60 l
|
||||
51.60 61.00 l
|
||||
47.40 57.60 l
|
||||
f
|
||||
0.000 0.000 0.000 Xa
|
||||
1 XR
|
||||
69.80 44.80 m
|
||||
64.20 44.80 l
|
||||
63.80 49.60 l
|
||||
69.00 50.80 l
|
||||
69.80 44.80 l
|
||||
f
|
||||
0.000 0.000 0.000 Xa
|
||||
1 XR
|
||||
68.80 51.60 m
|
||||
63.80 50.40 l
|
||||
62.60 54.60 l
|
||||
66.80 56.80 l
|
||||
68.80 51.60 l
|
||||
f
|
||||
0.000 0.000 0.000 Xa
|
||||
1 XR
|
||||
66.40 57.60 m
|
||||
62.40 55.40 l
|
||||
59.20 57.60 l
|
||||
62.20 61.00 l
|
||||
66.40 57.60 l
|
||||
f
|
||||
0.000 0.000 0.000 Xa
|
||||
1 XR
|
||||
52.60 61.60 m
|
||||
55.60 58.00 l
|
||||
58.40 58.00 l
|
||||
61.00 61.60 l
|
||||
58.40 62.40 l
|
||||
55.53 62.40 l
|
||||
52.60 61.60 l
|
||||
f
|
||||
1 To
|
||||
1 0 0 1 74 43 0.000000 Tp
|
||||
74.80 43.20 m
|
||||
141.58 43.20 l
|
||||
141.58 34.56 l
|
||||
74.80 34.56 l
|
||||
74.80 43.20 l
|
||||
n
|
||||
TP
|
||||
0 -14.00 Td
|
||||
0.200 0.200 0.200 Xa
|
||||
/_Delicious-Bold-Bold 14.00 Tf
|
||||
0.000000 Ts
|
||||
100.000000 100.0 Tz
|
||||
1 0 Tk
|
||||
0.000000 Tt
|
||||
0 Ta
|
||||
0.200 0.200 0.200 Xa
|
||||
0 Tr
|
||||
(Flexible Project Management) Tj
|
||||
TO
|
||||
1 To
|
||||
1 0 0 1 74 60 0.000000 Tp
|
||||
74.00 60.00 m
|
||||
139.29 60.00 l
|
||||
139.29 36.48 l
|
||||
74.00 36.48 l
|
||||
74.00 60.00 l
|
||||
n
|
||||
TP
|
||||
0 -45.00 Td
|
||||
0.604 0.027 0.000 Xa
|
||||
/_Delicious-Bold-Bold 45.00 Tf
|
||||
0.000000 Ts
|
||||
100.000000 100.0 Tz
|
||||
1 0 Tk
|
||||
0.000000 Tt
|
||||
0 Ta
|
||||
0.604 0.027 0.000 Xa
|
||||
0 Tr
|
||||
(RED) Tj
|
||||
/_Delicious-Bold-Bold 45.00 Tf
|
||||
0.000000 Ts
|
||||
100.000000 100.0 Tz
|
||||
1 0 Tk
|
||||
0.000000 Tt
|
||||
0 Ta
|
||||
0.753 0.106 0.102 Xa
|
||||
0 Tr
|
||||
(MINE) Tj
|
||||
TO
|
||||
0.604 0.027 0.000 Xa
|
||||
1 XR
|
||||
44.00 44.80 m
|
||||
49.60 44.80 l
|
||||
50.00 49.60 l
|
||||
44.80 50.80 l
|
||||
44.00 44.80 l
|
||||
f
|
||||
0.706 0.055 0.059 Xa
|
||||
1 XR
|
||||
45.00 51.60 m
|
||||
50.00 50.40 l
|
||||
51.20 54.60 l
|
||||
47.00 56.80 l
|
||||
45.00 51.60 l
|
||||
f
|
||||
0.753 0.106 0.102 Xa
|
||||
1 XR
|
||||
47.40 57.60 m
|
||||
51.40 55.40 l
|
||||
54.60 57.60 l
|
||||
51.60 61.00 l
|
||||
47.40 57.60 l
|
||||
f
|
||||
0.604 0.027 0.000 Xa
|
||||
1 XR
|
||||
69.80 44.80 m
|
||||
64.20 44.80 l
|
||||
63.80 49.60 l
|
||||
69.00 50.80 l
|
||||
69.80 44.80 l
|
||||
f
|
||||
0.706 0.055 0.059 Xa
|
||||
1 XR
|
||||
68.80 51.60 m
|
||||
63.80 50.40 l
|
||||
62.60 54.60 l
|
||||
66.80 56.80 l
|
||||
68.80 51.60 l
|
||||
f
|
||||
0.753 0.106 0.102 Xa
|
||||
1 XR
|
||||
66.40 57.60 m
|
||||
62.40 55.40 l
|
||||
59.20 57.60 l
|
||||
62.20 61.00 l
|
||||
66.40 57.60 l
|
||||
f
|
||||
0.753 0.106 0.102 Xa
|
||||
1 XR
|
||||
52.60 61.60 m
|
||||
55.60 58.00 l
|
||||
58.40 58.00 l
|
||||
61.00 61.60 l
|
||||
58.40 62.40 l
|
||||
55.53 62.40 l
|
||||
52.60 61.60 l
|
||||
f
|
||||
LB
|
||||
%%PageTrailer
|
||||
gsave annotatepage grestore showpage
|
||||
%%Trailer
|
||||
Adobe_Illustrator_AI5 /terminate get exec
|
||||
Adobe_typography_AI5 /terminate get exec
|
||||
Adobe_customcolor /terminate get exec
|
||||
Adobe_cshow /terminate get exec
|
||||
Adobe_cmykcolor /terminate get exec
|
||||
Adobe_packedarray /terminate get exec
|
||||
%%EOF
|
BIN
test/fixtures/files/2019/05/190511141819_ecookbook-gantt.pdf
vendored
Normal file
BIN
test/fixtures/files/2019/05/190511141819_ecookbook-gantt.pdf
vendored
Normal file
Binary file not shown.
1
test/fixtures/files/hello.js
vendored
Normal file
1
test/fixtures/files/hello.js
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
document.write('Hello, World!');
|
2
test/fixtures/files/import_dates_ja.csv
vendored
Normal file
2
test/fixtures/files/import_dates_ja.csv
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
subject;start
|
||||
Date in %Y/%m/%d format;2019/05/28;
|
|
8
test/fixtures/files/import_issues.csv
vendored
8
test/fixtures/files/import_issues.csv
vendored
|
@ -1,4 +1,4 @@
|
|||
priority;subject;description;start_date;due_date;parent;private;progress;custom;version;category;user;estimated_hours;tracker;status
|
||||
High;First;First description;2015-07-08;2015-08-25;;no;;PostgreSQL;;New category;dlopper;1;bug;new
|
||||
Normal;Child 1;Child description;;;1;yes;10;MySQL;2.0;New category;;2;feature request;new
|
||||
Normal;Child of existing issue;Child description;;;#2;no;20;;2.1;Printing;;3;bug;assigned
|
||||
priority;subject;description;start_date;due_date;parent;private;progress;custom;version;category;user;estimated_hours;tracker;status;multicustom
|
||||
High;First;First description;2015-07-08;2015-08-25;;no;;PostgreSQL;;New category;dlopper;1;bug;new;"PostgreSQL, Oracle"
|
||||
Normal;Child 1;Child description;;;1;yes;10;MySQL;2.0;New category;;2;feature request;new;MySQL
|
||||
Normal;Child of existing issue;Child description;;;#2;no;20;;2.1;Printing;;3;bug;assigned;
|
||||
|
|
|
5
test/fixtures/files/import_subtasks_with_unique_id.csv
vendored
Normal file
5
test/fixtures/files/import_subtasks_with_unique_id.csv
vendored
Normal file
|
@ -0,0 +1,5 @@
|
|||
id;tracker;subject;parent
|
||||
RED-I;bug;Root;
|
||||
RED-II;bug;Child 1;RED-I
|
||||
RED-III;bug;Grand-child;RED-IV
|
||||
RED-IV;bug;Child 2;RED-I
|
|
5
test/fixtures/files/import_time_entries.csv
vendored
Normal file
5
test/fixtures/files/import_time_entries.csv
vendored
Normal file
|
@ -0,0 +1,5 @@
|
|||
row;issue_id;date;hours;comment;activity;overtime;user_id
|
||||
1;;2020-01-01;1;Some Design;Design;yes;jsmith@somenet.foo
|
||||
2;;2020-01-02;2;Some Development;Development;yes;jsmith@somenet.foo
|
||||
3;1;2020-01-03;3;Some QA;QA;no;dlopper@somenet.foo
|
||||
4;2;2020-01-04;4;Some Inactivity;Inactive Activity;no;jsmith@somenet.foo
|
|
3
test/fixtures/files/testfile.md
vendored
Normal file
3
test/fixtures/files/testfile.md
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
# Header 1
|
||||
## Header 2
|
||||
### Header 3
|
5
test/fixtures/files/testfile.textile
vendored
Normal file
5
test/fixtures/files/testfile.textile
vendored
Normal file
|
@ -0,0 +1,5 @@
|
|||
h1. Header 1
|
||||
|
||||
h2. Header 2
|
||||
|
||||
h3. Header 3
|
4
test/fixtures/issues.yml
vendored
4
test/fixtures/issues.yml
vendored
|
@ -15,6 +15,7 @@ issues_001:
|
|||
status_id: 1
|
||||
start_date: <%= 1.day.ago.to_date.to_s(:db) %>
|
||||
due_date: <%= 10.day.from_now.to_date.to_s(:db) %>
|
||||
estimated_hours: 200.0
|
||||
root_id: 1
|
||||
lft: 1
|
||||
rgt: 2
|
||||
|
@ -35,6 +36,7 @@ issues_002:
|
|||
status_id: 2
|
||||
start_date: <%= 2.day.ago.to_date.to_s(:db) %>
|
||||
due_date:
|
||||
estimated_hours: 0.5
|
||||
root_id: 2
|
||||
lft: 1
|
||||
rgt: 2
|
||||
|
@ -56,6 +58,7 @@ issues_003:
|
|||
status_id: 1
|
||||
start_date: <%= 15.day.ago.to_date.to_s(:db) %>
|
||||
due_date: <%= 5.day.ago.to_date.to_s(:db) %>
|
||||
estimated_hours: 1.0
|
||||
root_id: 3
|
||||
lft: 1
|
||||
rgt: 2
|
||||
|
@ -90,6 +93,7 @@ issues_005:
|
|||
assigned_to_id:
|
||||
author_id: 2
|
||||
status_id: 1
|
||||
estimated_hours: 2.0
|
||||
root_id: 5
|
||||
lft: 1
|
||||
rgt: 2
|
||||
|
|
38
test/fixtures/mail_handler/different_contents_in_text_and_html.eml
vendored
Normal file
38
test/fixtures/mail_handler/different_contents_in_text_and_html.eml
vendored
Normal file
|
@ -0,0 +1,38 @@
|
|||
From JSmith@somenet.foo Sun Mar 02 23:30:00 2019
|
||||
From: John Smith <JSmith@somenet.foo>
|
||||
Content-Type: multipart/mixed; boundary="Apple-Mail=_33C8180A-B097-4B87-A925-441300BDB9C9"
|
||||
Message-Id: <BB533668-3CC8-41CA-A951-0A5D8EA37FB0@somenet.foo>
|
||||
Mime-Version: 1.0 (Mac OS X Mail 6.3 \(1503\))
|
||||
Subject: Different contents in text part and HTML part
|
||||
Date: Sun, 03 Mar 2019 08:30:00 +0900
|
||||
To: redmine@somenet.foo
|
||||
X-Mailer: Apple Mail (2.1503)
|
||||
|
||||
|
||||
|
||||
--Apple-Mail=_33C8180A-B097-4B87-A925-441300BDB9C9
|
||||
Content-Transfer-Encoding: quoted-printable
|
||||
Content-Type: text/plain;
|
||||
charset=us-ascii
|
||||
|
||||
The text part.
|
||||
|
||||
|
||||
--Apple-Mail=_33C8180A-B097-4B87-A925-441300BDB9C9
|
||||
Content-Transfer-Encoding: quoted-printable
|
||||
Content-Type: text/html;
|
||||
charset=us-ascii
|
||||
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://ww=
|
||||
w.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns=3D"http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf-8" />
|
||||
</head>
|
||||
<body>
|
||||
<p>The html part.</p>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
|
||||
--Apple-Mail=_33C8180A-B097-4B87-A925-441300BDB9C9--
|
8
test/fixtures/mail_handler/fullname_of_sender_in_parentheses.eml
vendored
Normal file
8
test/fixtures/mail_handler/fullname_of_sender_in_parentheses.eml
vendored
Normal file
|
@ -0,0 +1,8 @@
|
|||
Return-Path: <jdoe@example.net>
|
||||
From: jdoe@example.net (John Doe)
|
||||
To: <redmine@example.net>
|
||||
Subject: Name in parentheses
|
||||
Date: Sun, 03 Mar 2019 21:23:00 +0900
|
||||
Content-Type: text/plain; charset="utf-8"
|
||||
|
||||
The author's full name is enclosed in parentheses.
|
9
test/fixtures/mail_handler/subject_japanese_3.eml
vendored
Normal file
9
test/fixtures/mail_handler/subject_japanese_3.eml
vendored
Normal file
|
@ -0,0 +1,9 @@
|
|||
From: John Smith <JSmith@somenet.foo>
|
||||
To: "redmine@somenet.foo" <redmine@somenet.foo>
|
||||
Subject: =?iso-2022-jp?B?GyRCLSEbKEIgGyRCNF0/dDt6JUYlOSVIGyhC?=
|
||||
Date: Mon, 27 Aug 2018 09:30:00 +0900
|
||||
Message-ID: <87C31D42249DD0489D1A1444E3232DD7019D6183@foo.bar>
|
||||
|
||||
The subject contains a "CIRCLED DIGIT ONE" character (U+2460).
|
||||
It is undefined in ISO-2022-JP but defined in some vendor-extended
|
||||
variants such as ISO-2022-JP-MS.
|
|
@ -5,6 +5,7 @@ Received: from osiris ([127.0.0.1])
|
|||
Message-ID: <000501c8d452$a95cd7e0$0a00a8c0@osiris>
|
||||
From: "John Doe" <john.doe@somenet.foo>
|
||||
To: <redmine@somenet.foo>
|
||||
Cc: <dlopper@somenet.foo>
|
||||
Subject: Ticket by unknown user
|
||||
Date: Sun, 22 Jun 2008 12:28:07 +0200
|
||||
MIME-Version: 1.0
|
||||
|
|
|
@ -38,6 +38,7 @@ Assigned to: John Smith
|
|||
fixed version: alpha
|
||||
estimated hours: 2.5
|
||||
done ratio: 30
|
||||
parent issue: 4
|
||||
|
||||
--- This line starts with a delimiter and should not be stripped
|
||||
|
||||
|
|
41
test/fixtures/mail_handler/ticket_with_localized_private_flag.eml
vendored
Normal file
41
test/fixtures/mail_handler/ticket_with_localized_private_flag.eml
vendored
Normal file
|
@ -0,0 +1,41 @@
|
|||
Return-Path: <jsmith@somenet.foo>
|
||||
Received: from osiris ([127.0.0.1])
|
||||
by OSIRIS
|
||||
with hMailServer ; Sun, 22 Jun 2008 12:28:07 +0200
|
||||
Message-ID: <000501c8d452$a95cd7e0$0a00a8c0@osiris>
|
||||
From: "John Smith" <jsmith@somenet.foo>
|
||||
To: <redmine@somenet.foo>
|
||||
Subject: New ticket on a given project
|
||||
Date: Sun, 22 Jun 2008 12:28:07 +0200
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain;
|
||||
format=flowed;
|
||||
charset="iso-8859-1";
|
||||
reply-type=original
|
||||
Content-Transfer-Encoding: 7bit
|
||||
X-Priority: 3
|
||||
X-MSMail-Priority: Normal
|
||||
X-Mailer: Microsoft Outlook Express 6.00.2900.2869
|
||||
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869
|
||||
|
||||
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Maecenas imperdiet
|
||||
turpis et odio. Integer eget pede vel dolor euismod varius. Phasellus
|
||||
blandit eleifend augue. Nulla facilisi. Duis id diam. Class aptent taciti
|
||||
sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. In
|
||||
in urna sed tellus aliquet lobortis. Morbi scelerisque tortor in dolor. Cras
|
||||
sagittis odio eu lacus. Aliquam sem tortor, consequat sit amet, vestibulum
|
||||
id, iaculis at, lectus. Fusce tortor libero, congue ut, euismod nec, luctus
|
||||
eget, eros. Pellentesque tortor enim, feugiat in, dignissim eget, tristique
|
||||
sed, mauris. Pellentesque habitant morbi tristique senectus et netus et
|
||||
malesuada fames ac turpis egestas. Quisque sit amet libero. In hac habitasse
|
||||
platea dictumst.
|
||||
|
||||
Nulla et nunc. Duis pede. Donec et ipsum. Nam ut dui tincidunt neque
|
||||
sollicitudin iaculis. Duis vitae dolor. Vestibulum eget massa. Sed lorem.
|
||||
Nullam volutpat cursus erat. Cras felis dolor, lacinia quis, rutrum et,
|
||||
dictum et, ligula. Sed erat nibh, gravida in, accumsan non, placerat sed,
|
||||
massa. Sed sodales, ante fermentum ultricies sollicitudin, massa leo
|
||||
pulvinar dui, a gravida orci mi eget odio. Nunc a lacus.
|
||||
|
||||
Projet: onlinestore
|
||||
Privée: oui
|
1
test/fixtures/plugins/other_plugin/_other_plugin_settings.html.erb
vendored
Normal file
1
test/fixtures/plugins/other_plugin/_other_plugin_settings.html.erb
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
<p><label>Example setting</label><%= text_field_tag 'settings[sample_setting]', @settings['sample_setting'] %></p>
|
3
test/fixtures/projects_trackers.yml
vendored
3
test/fixtures/projects_trackers.yml
vendored
|
@ -44,3 +44,6 @@ projects_trackers_014:
|
|||
projects_trackers_015:
|
||||
project_id: 6
|
||||
tracker_id: 1
|
||||
projects_trackers_016:
|
||||
project_id: 3
|
||||
tracker_id: 1
|
||||
|
|
BIN
test/fixtures/repositories/darcs_repository.tar.gz
vendored
BIN
test/fixtures/repositories/darcs_repository.tar.gz
vendored
Binary file not shown.
BIN
test/fixtures/repositories/git_repository.tar.gz
vendored
BIN
test/fixtures/repositories/git_repository.tar.gz
vendored
Binary file not shown.
25
test/fixtures/roles.yml
vendored
25
test/fixtures/roles.yml
vendored
|
@ -1,12 +1,12 @@
|
|||
---
|
||||
roles_001:
|
||||
---
|
||||
roles_001:
|
||||
name: Manager
|
||||
id: 1
|
||||
builtin: 0
|
||||
issues_visibility: all
|
||||
users_visibility: all
|
||||
permissions: |
|
||||
---
|
||||
---
|
||||
- :add_project
|
||||
- :edit_project
|
||||
- :close_project
|
||||
|
@ -36,6 +36,7 @@ roles_001:
|
|||
- :view_time_entries
|
||||
- :edit_time_entries
|
||||
- :delete_time_entries
|
||||
- :import_time_entries
|
||||
- :view_news
|
||||
- :manage_news
|
||||
- :comment_news
|
||||
|
@ -51,6 +52,7 @@ roles_001:
|
|||
- :protect_wiki_pages
|
||||
- :delete_wiki_pages
|
||||
- :rename_wiki_pages
|
||||
- :manage_wiki
|
||||
- :view_messages
|
||||
- :add_messages
|
||||
- :edit_messages
|
||||
|
@ -66,14 +68,14 @@ roles_001:
|
|||
- :import_issues
|
||||
|
||||
position: 1
|
||||
roles_002:
|
||||
roles_002:
|
||||
name: Developer
|
||||
id: 2
|
||||
builtin: 0
|
||||
issues_visibility: default
|
||||
users_visibility: all
|
||||
permissions: |
|
||||
---
|
||||
---
|
||||
- :edit_project
|
||||
- :manage_members
|
||||
- :manage_versions
|
||||
|
@ -116,14 +118,14 @@ roles_002:
|
|||
- :view_changesets
|
||||
|
||||
position: 2
|
||||
roles_003:
|
||||
roles_003:
|
||||
name: Reporter
|
||||
id: 3
|
||||
builtin: 0
|
||||
issues_visibility: default
|
||||
users_visibility: all
|
||||
permissions: |
|
||||
---
|
||||
---
|
||||
- :edit_project
|
||||
- :manage_members
|
||||
- :manage_versions
|
||||
|
@ -159,14 +161,14 @@ roles_003:
|
|||
- :view_changesets
|
||||
|
||||
position: 3
|
||||
roles_004:
|
||||
roles_004:
|
||||
name: Non member
|
||||
id: 4
|
||||
builtin: 1
|
||||
issues_visibility: default
|
||||
users_visibility: all
|
||||
permissions: |
|
||||
---
|
||||
---
|
||||
- :view_issues
|
||||
- :add_issues
|
||||
- :edit_issues
|
||||
|
@ -191,14 +193,14 @@ roles_004:
|
|||
- :view_changesets
|
||||
|
||||
position: 1
|
||||
roles_005:
|
||||
roles_005:
|
||||
name: Anonymous
|
||||
id: 5
|
||||
builtin: 2
|
||||
issues_visibility: default
|
||||
users_visibility: all
|
||||
permissions: |
|
||||
---
|
||||
---
|
||||
- :view_issues
|
||||
- :add_issue_notes
|
||||
- :view_gantt
|
||||
|
@ -214,4 +216,3 @@ roles_005:
|
|||
- :view_changesets
|
||||
|
||||
position: 1
|
||||
|
||||
|
|
23
test/fixtures/time_entries.yml
vendored
23
test/fixtures/time_entries.yml
vendored
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
time_entries_001:
|
||||
---
|
||||
time_entries_001:
|
||||
created_on: 2007-03-23 12:54:18 +01:00
|
||||
tweek: 12
|
||||
tmonth: 3
|
||||
|
@ -12,8 +12,9 @@ time_entries_001:
|
|||
id: 1
|
||||
hours: 4.25
|
||||
user_id: 2
|
||||
author_id: 2
|
||||
tyear: 2007
|
||||
time_entries_002:
|
||||
time_entries_002:
|
||||
created_on: 2007-03-23 14:11:04 +01:00
|
||||
tweek: 11
|
||||
tmonth: 3
|
||||
|
@ -26,8 +27,9 @@ time_entries_002:
|
|||
id: 2
|
||||
hours: 150.0
|
||||
user_id: 1
|
||||
author_id: 1
|
||||
tyear: 2007
|
||||
time_entries_003:
|
||||
time_entries_003:
|
||||
created_on: 2007-04-21 12:20:48 +02:00
|
||||
tweek: 16
|
||||
tmonth: 4
|
||||
|
@ -40,8 +42,9 @@ time_entries_003:
|
|||
id: 3
|
||||
hours: 1.0
|
||||
user_id: 1
|
||||
author_id: 1
|
||||
tyear: 2007
|
||||
time_entries_004:
|
||||
time_entries_004:
|
||||
created_on: 2007-04-22 12:20:48 +02:00
|
||||
tweek: 16
|
||||
tmonth: 4
|
||||
|
@ -50,12 +53,13 @@ time_entries_004:
|
|||
updated_on: 2007-04-22 12:20:48 +02:00
|
||||
activity_id: 10
|
||||
spent_on: 2007-04-22
|
||||
issue_id:
|
||||
issue_id:
|
||||
id: 4
|
||||
hours: 7.65
|
||||
user_id: 1
|
||||
author_id: 1
|
||||
tyear: 2007
|
||||
time_entries_005:
|
||||
time_entries_005:
|
||||
created_on: 2011-03-22 12:20:48 +02:00
|
||||
tweek: 12
|
||||
tmonth: 3
|
||||
|
@ -64,9 +68,10 @@ time_entries_005:
|
|||
updated_on: 2011-03-22 12:20:48 +02:00
|
||||
activity_id: 10
|
||||
spent_on: 2011-03-22
|
||||
issue_id:
|
||||
issue_id:
|
||||
id: 5
|
||||
hours: 7.65
|
||||
user_id: 1
|
||||
author_id: 1
|
||||
tyear: 2011
|
||||
|
||||
|
||||
|
|
2
test/fixtures/trackers.yml
vendored
2
test/fixtures/trackers.yml
vendored
|
@ -5,12 +5,14 @@ trackers_001:
|
|||
is_in_chlog: true
|
||||
default_status_id: 1
|
||||
position: 1
|
||||
description: Description for Bug tracker
|
||||
trackers_002:
|
||||
name: Feature request
|
||||
id: 2
|
||||
is_in_chlog: true
|
||||
default_status_id: 1
|
||||
position: 2
|
||||
description: Description for Feature request tracker
|
||||
trackers_003:
|
||||
name: Support request
|
||||
id: 3
|
||||
|
|
35
test/fixtures/user_preferences.yml
vendored
35
test/fixtures/user_preferences.yml
vendored
|
@ -1,41 +1,42 @@
|
|||
---
|
||||
user_preferences_001:
|
||||
---
|
||||
user_preferences_001:
|
||||
others: |
|
||||
---
|
||||
---
|
||||
:no_self_notified: false
|
||||
:my_page_layout:
|
||||
left:
|
||||
:my_page_layout:
|
||||
left:
|
||||
- latestnews
|
||||
- documents
|
||||
right:
|
||||
right:
|
||||
- issuesassignedtome
|
||||
top:
|
||||
top:
|
||||
- calendar
|
||||
:bookmarked_project_ids: "1,5"
|
||||
|
||||
id: 1
|
||||
user_id: 1
|
||||
hide_mail: true
|
||||
user_preferences_002:
|
||||
user_preferences_002:
|
||||
others: |
|
||||
---
|
||||
---
|
||||
:no_self_notified: false
|
||||
|
||||
|
||||
id: 2
|
||||
user_id: 2
|
||||
hide_mail: true
|
||||
user_preferences_003:
|
||||
user_preferences_003:
|
||||
others: |
|
||||
---
|
||||
---
|
||||
:no_self_notified: false
|
||||
:my_page_layout:
|
||||
left:
|
||||
:my_page_layout:
|
||||
left:
|
||||
- latestnews
|
||||
- documents
|
||||
right:
|
||||
right:
|
||||
- issuesassignedtome
|
||||
top:
|
||||
top:
|
||||
- calendar
|
||||
|
||||
|
||||
id: 3
|
||||
user_id: 3
|
||||
hide_mail: false
|
||||
|
|
1
test/fixtures/versions.yml
vendored
1
test/fixtures/versions.yml
vendored
|
@ -19,6 +19,7 @@ versions_002:
|
|||
effective_date: <%= 20.day.from_now.to_date.to_s(:db) %>
|
||||
status: locked
|
||||
sharing: 'none'
|
||||
wiki_page_title: ECookBookV1
|
||||
versions_003:
|
||||
created_on: 2006-07-19 21:00:33 +02:00
|
||||
name: "2.0"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue