parlement 0.2 → 0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (125) hide show
  1. data/CHANGES +14 -4
  2. data/README +25 -5
  3. data/Rakefile +21 -21
  4. data/app/controllers/account_controller.rb +5 -1
  5. data/app/controllers/elt_controller.rb +7 -10
  6. data/app/controllers/person_controller.rb +9 -0
  7. data/app/controllers/subscriber_controller.rb +21 -0
  8. data/app/helpers/elt_helper.rb +25 -13
  9. data/app/helpers/mailman.rb +9 -92
  10. data/app/helpers/subscriber_helper.rb +2 -0
  11. data/app/models/attachment.rb +2 -0
  12. data/app/models/elt.rb +64 -2
  13. data/app/models/mail.rb +198 -0
  14. data/app/models/mail_notify.rb +63 -0
  15. data/app/models/person.rb +8 -1
  16. data/app/views/account/_login.rhtml +31 -28
  17. data/app/views/account/_show.rhtml +4 -4
  18. data/app/views/elt/_elt.rhtml +23 -28
  19. data/app/views/elt/_list.rhtml +6 -2
  20. data/app/views/elt/new.rhtml +1 -1
  21. data/app/views/elt/show.rhtml +32 -10
  22. data/app/views/layouts/top.rhtml +16 -10
  23. data/app/views/mail_notify/publish.text.html.rhtml +46 -0
  24. data/app/views/mail_notify/publish.text.plain.rhtml +2 -0
  25. data/app/views/person/_listElts.rhtml +33 -0
  26. data/app/views/person/show.rhtml +21 -19
  27. data/config/boot.rb +2 -0
  28. data/config/environment.rb +19 -13
  29. data/config/environments/development.rb +3 -1
  30. data/config/environments/production.rb +2 -0
  31. data/config/environments/test.rb +2 -0
  32. data/config/routes.rb +5 -2
  33. data/db/ROOT/mail.txt +2 -0
  34. data/db/ROOT/parlement/news/release0.2.txt +8 -0
  35. data/db/ROOT/parlement/news/release0.3.txt +11 -0
  36. data/db/ROOT/parlement/test.txt +6 -1
  37. data/db/ROOT/parlement.txt +23 -30
  38. data/db/ROOT/perso.txt +17 -18
  39. data/db/development_structure.sql +133 -217
  40. data/db/schema.rb +83 -0
  41. data/db/schema.sql +11 -15
  42. data/lib/data_import.rb +3 -1
  43. data/public/attachment/file/architecture.png +0 -0
  44. data/public/attachment/file/architecture.svg +8972 -0
  45. data/public/attachment/file/security.svg +8960 -0
  46. data/public/images/Sleep-Deprivation-5.JPG +0 -0
  47. data/public/images/eltBackground.png +0 -0
  48. data/public/images/eltBackground.svg +89 -0
  49. data/public/images/orange_by_darren_Hester_350o.jpg +0 -0
  50. data/public/images/rails.png +0 -0
  51. data/public/images/smile.png +0 -0
  52. data/public/images/smile.svg +257 -0
  53. data/public/images/world.png +0 -0
  54. data/public/images/world.svg +170 -0
  55. data/public/javascripts/controls.js +30 -1
  56. data/public/javascripts/dragdrop.js +210 -145
  57. data/public/javascripts/effects.js +261 -399
  58. data/public/javascripts/ie7.js +6 -0
  59. data/public/javascripts/prototype.js +131 -72
  60. data/public/oldindex.html +270 -71
  61. data/public/stylesheets/default.css +189 -215
  62. data/script/about +1 -1
  63. data/script/breakpointer +1 -1
  64. data/script/console +1 -1
  65. data/script/destroy +1 -1
  66. data/script/generate +1 -1
  67. data/script/performance/benchmarker +1 -1
  68. data/script/performance/profiler +1 -1
  69. data/script/plugin +1 -1
  70. data/script/process/reaper +1 -1
  71. data/script/process/spawner +1 -1
  72. data/script/process/spinner +1 -1
  73. data/script/runner +1 -1
  74. data/script/server +1 -1
  75. data/test/fixtures/elts.yml +2 -0
  76. data/test/fixtures/mail/mail_ruby +27 -0
  77. data/test/fixtures/mail/mail_rubyChild +28 -0
  78. data/test/fixtures/mail/mail_rubyWithAttachment +7932 -0
  79. data/test/fixtures/mail/mail_rubyWithSubject +27 -0
  80. data/test/fixtures/mails.yml +7 -1
  81. data/test/fixtures/people.yml +5 -0
  82. data/test/fixtures/subscribers.yml +11 -0
  83. data/test/functional/account_controller_test.rb +38 -37
  84. data/test/functional/subscriber_controller_test.rb +128 -0
  85. data/test/test_helper.rb +44 -0
  86. data/test/unit/attachment_test.rb +1 -1
  87. data/test/unit/elt_test.rb +3 -2
  88. data/test/unit/mail_notify_test.rb +37 -0
  89. data/test/unit/mail_test.rb +124 -1
  90. data/test/unit/notifier_test.rb +0 -14
  91. data/test/unit/person_test.rb +2 -1
  92. data/test/unit/subscriber_test.rb +35 -0
  93. data/test/unit/user_test.rb +3 -3
  94. data/vendor/plugins/file_column/CHANGELOG +64 -0
  95. data/vendor/plugins/file_column/README +54 -0
  96. data/vendor/plugins/file_column/Rakefile +36 -0
  97. data/vendor/plugins/file_column/TODO +6 -0
  98. data/vendor/plugins/file_column/init.rb +12 -0
  99. data/vendor/plugins/file_column/lib/file_column.rb +719 -0
  100. data/vendor/plugins/file_column/lib/file_column_helper.rb +145 -0
  101. data/vendor/plugins/file_column/lib/file_compat.rb +28 -0
  102. data/vendor/plugins/file_column/lib/magick_file_column.rb +188 -0
  103. data/vendor/plugins/file_column/lib/validations.rb +112 -0
  104. data/vendor/plugins/file_column/test/abstract_unit.rb +90 -0
  105. data/vendor/plugins/file_column/test/connection.rb +17 -0
  106. data/vendor/plugins/file_column/test/file_column_helper_test.rb +97 -0
  107. data/vendor/plugins/file_column/test/file_column_test.rb +630 -0
  108. data/vendor/plugins/file_column/test/fixtures/entry.rb +32 -0
  109. data/vendor/plugins/file_column/test/fixtures/invalid-image.jpg +1 -0
  110. data/vendor/plugins/file_column/test/fixtures/kerb.jpg +0 -0
  111. data/vendor/plugins/file_column/test/fixtures/mysql.sql +25 -0
  112. data/vendor/plugins/file_column/test/fixtures/schema.rb +10 -0
  113. data/vendor/plugins/file_column/test/fixtures/skanthak.png +0 -0
  114. data/vendor/plugins/file_column/test/magick_test.rb +251 -0
  115. data/vendor/plugins/file_column/test/magick_view_only_test.rb +21 -0
  116. data/vendor/plugins/guid/README.TXT +19 -0
  117. data/vendor/plugins/guid/init.rb +23 -0
  118. data/vendor/plugins/guid/lib/usesguid.rb +37 -0
  119. data/vendor/plugins/guid/lib/uuid22.rb +43 -0
  120. data/vendor/plugins/guid/lib/uuidtools.rb +565 -0
  121. metadata +83 -15
  122. data/db/ROOT/CV.txt +0 -166
  123. data/lib/file_column.rb +0 -263
  124. data/lib/file_column_helper.rb +0 -45
  125. /data/{lib → vendor/plugins/file_column/lib}/rails_file_column.rb +0 -0
@@ -1,261 +1,235 @@
1
1
  html {
2
- border:none;
3
- background:black; }
2
+ background: url("/images/Sleep-Deprivation-5.JPG");
3
+ border: none;
4
+ margin: 0px;
5
+ padding: 0px; }
4
6
 
5
7
  body {
6
- font-family:serif;
7
- color:black;
8
- background:white;
9
- padding:0.8em;
10
- margin:0.8em;
11
- text-align:justify; }
8
+ font-family: Georgia, "Times New Roman", serif;
9
+ /*border: solid thin #578fc8;*/
10
+ border: solid 1px #9ec6ff;
11
+ color: black;
12
+ background: white;
13
+ margin: 3em 3% 3% 3%;
14
+ padding: 0 3%;
15
+ text-align: justify; }
16
+
12
17
  input, textarea {
13
- color:black;
14
- border-color:#889;
15
- background:transparent; }
16
- textarea { width:99%; }
18
+ color: black;
19
+ background: transparent; }
20
+
21
+ input[type='button'], input[type='submit'] {
22
+ margin: 0;
23
+ border: none;
24
+ border-left: #fd8 1px solid;
25
+ border-right: #fd8 1px solid; }
26
+ textarea { width: 99%; }
17
27
 
18
28
  img {
19
- border:none;
20
- max-width:100%; }
29
+ border: none;
30
+ max-width: 100%; }
21
31
 
22
- blockquote { font-style:italic; }
32
+ blockquote { font-style: italic; }
33
+
34
+ /* To make sure text is not glued to the right border */
35
+ p { padding-right: 2%; }
23
36
 
24
37
  h1, h2 {
25
- margin:0px;
26
- padding-left:1%;
27
- padding-bottom:1%; }
28
- h1 { padding-top:0.7em; }
29
- h2 {
30
- background:#ddd;
31
- /* Trouble for ie: */
32
- /*margin-top:1em;*/
33
- padding-top:1.2em;
34
- font-size:larger;
35
- font-weight:normal; }
36
-
37
- a:link, a:visited { color:#369; }
38
- a:hover, a:active {
39
- color:#060;
40
- background:#ff8; }
38
+ font-weight: bolder;
39
+ clear: left;
40
+ text-align: left;
41
+ padding-left: 1%;
42
+ padding-bottom: 1%; }
43
+ h1 { letter-spacing: 0.2em; }
44
+
45
+ /*a:link, a:visited { color: #578fc8; } */
46
+ a:link, a:visited, input[type='Button'], input[type='submit'] {
47
+ color: #3b76ae;
48
+ background: transparent;
49
+ padding: 1px; }
50
+ /*border: solid thin #578fc8;*/
51
+ a:hover, a:active, input[type='Button']:hover, input[type='submit']:hover {
52
+ border: outset 1px #9ec6ff;
53
+ color: #8b0000;
54
+ background-color: transparent;
55
+ padding: 0; }
56
+ a:active, input[type='Button']:active, input[type='submit']:active {
57
+ border: inset 1px #9ec6ff;
58
+ position: relative;
59
+ left: 2px;
60
+ top: 2px; }
41
61
 
42
62
 
43
63
  .notice, .warning, .error {
44
- font-size:larger;
45
- font-weight:bold;
46
- text-align:center; }
47
- .notice { color:#080; }
48
- .warning { color:#f84; }
49
- .error { color:#f00; }
50
-
51
- .login {
52
- margin-top:1em;
53
- margin-left:2em; }
64
+ font-size: larger;
65
+ font-weight: bold;
66
+ text-align: center; }
67
+ .notice { color: #080; }
68
+ .warning { color: #f84; }
69
+ .error { color: #f00; }
70
+
71
+ .login { margin-top: 1em; }
54
72
  .logout {
55
- float:left;
56
- font-size:smaller; }
73
+ float: left;
74
+ font-size: smaller; }
57
75
 
58
76
  .helpLink, .helpLinkClose {
59
- text-decoration:none;
60
- font-size:medium;
61
- font-style:italic;
62
- padding-left:1%;
63
- padding-right:1%; }
64
- .helpLink { cursor:help; }
65
- .helpLinkClose { text-decoration:line-through; }
77
+ text-decoration: none;
78
+ font-size: medium;
79
+ font-style: italic;
80
+ padding-left: 1%;
81
+ padding-right: 1%; }
82
+ .helpLink { cursor: help; }
83
+ .helpLinkClose { text-decoration: line-through; }
66
84
 
67
85
  .help {
68
- padding-top:1em;
69
- font-size:medium;
70
- font-weight:normal;
71
- background:transparent; }
86
+ text-align: left;
87
+ padding: 1em;
88
+ font-size: medium;
89
+ font-weight: normal;
90
+ background: transparent; }
72
91
 
73
92
  .helpTitle, .helpTitle:link, .helpTitle:visited {
74
- display:block;
75
- font-size:larger;
76
- font-weight:bolder; }
77
-
78
-
93
+ display: block;
94
+ font-size: larger;
95
+ font-weight: bolder; }
96
+
97
+
98
+ .sidebar, .links {
99
+ width: 30%;
100
+ text-align: center;
101
+ background: white; }
102
+ .links {
103
+ border: solid 1px #9ec6ff;
104
+ border-bottom: none;
105
+ background: white;
106
+ position: absolute;
107
+ top: 0;
108
+ right: 3%;
109
+ height: 3em; }
79
110
  .sidebar {
80
- float:right;
81
- clear:right;
82
- font-size:smaller;
83
- padding-left:1em;
84
- width:30%;
85
- text-align:center;
86
- background:white; }
111
+ padding-left: 2%;
112
+ margin-right: -1%;
113
+ float: right; }
114
+ /* Big hack for ie */
115
+ * html .links {
116
+ width: 33%;
117
+ margin-right: -1px; }
87
118
 
88
- .title {
89
- font-size:larger;
90
- font-weight:bolder;
91
- letter-spacing:0.3em; }
92
119
 
93
- .box {
94
- /* Due to IE, I recode the outset effet */
95
- border:solid 2px #668;
96
- border-top-color:#ccd;
97
- border-left-color:#ccd;
98
- background:#ccc;
99
- margin-top:1em;
100
- padding-bottom:1em; }
120
+ .title {
121
+ font-size: larger;
122
+ font-weight: bolder;
123
+ letter-spacing: 0.5em; }
124
+ .signets { font-size: smaller; }
101
125
 
102
126
  .boxTitle {
103
- text-align:left;
104
- font-weight:bold;
105
- padding:0.2em;
106
- margin-bottom:0.4em;
107
- color:#ff4;
108
- background:#557; }
127
+ background: url("/images/Sleep-Deprivation-5.JPG");
128
+ text-align: left;
129
+ font-weight: bolder;
130
+ padding: 0.5em;
131
+ color: #ff4; }
132
+
133
+ .box {
134
+ font-size: smaller;
135
+ margin-bottom: 0.8em;
136
+ background: #ccc;
137
+ padding: 0.5em 0px; }
109
138
 
110
139
  .boxSubtitle {
111
- font-size:small;
112
- text-align:right;
113
- color:#ff4;
114
- background:#557; }
140
+ font-size: small;
141
+ text-align: right;
142
+ color: #ff4;
143
+ background: #557; }
115
144
 
116
145
  .boxLine {
117
- text-align:left;
118
- padding-left:1em; }
146
+ text-align: left;
147
+ padding-left: 1em; }
119
148
  .boxLineR {
120
- float:right;
121
- padding-right:1em; }
149
+ float: right;
150
+ padding-right: 1em; }
122
151
 
123
152
  .boxMore {
124
- font-weight:bold;
125
- text-align:right; }
153
+ font-weight: bold;
154
+ text-align: right; }
126
155
 
127
156
 
128
157
  .parent {
129
- text-align:center;
130
- font-size:smaller;
131
- font-style:italic;
132
- padding-bottom:1.4em; /* To make sure no following author gest garbled */ }
158
+ position: relative;
159
+ top: -2em;
160
+ font-weight: bolder;
161
+ font-style: italic; }
162
+ .parent > a:link, .parent > a:visited { color: white; background: transparent; }
163
+ .parent > a:hover, .parent > a:active { color: #ffa500; background: transparent; }
133
164
 
134
165
  .author {
135
- font-style:italic;
136
- float:left; }
137
- /* Because of a discrepancy with ie: */
166
+ margin-right: 0.4em;
167
+ font-style: italic;
168
+ float: left; }
169
+ .author:before {
170
+ content: '<';
171
+ margin-right: -0.5em; }
138
172
  .author:after {
139
- content:" ";
140
- white-space:pre; }
173
+ content: '>';
174
+ margin-left: -0.5em; }
141
175
 
142
176
  .eltInfo {
143
- float:right;
144
- margin-left:0.5em; }
177
+ float: right;
178
+ margin-left: 0.5em; }
179
+
180
+ .icon {
181
+ text-decoration: none;
182
+ margin-right: 0.5em;
183
+ color: #e94;
184
+ font-weight: bolder;
185
+ letter-spacing: -5px; }
186
+ .icon:hover, .icon:active { color: #f0f; }
145
187
 
146
188
  .created_on {
147
- margin-right:0.5em;
148
- font-size:smaller;
149
- font-weight:normal;
150
- float:right; }
189
+ margin-right: 0.5em;
190
+ font-size: smaller;
191
+ font-weight: normal;
192
+ float: right; }
151
193
 
152
- .eltBody { padding-left:1%; }
194
+ .elt { background: url("/images/eltBackground.png") repeat-x; }
153
195
 
154
- .eltSub, .help {
155
- border-bottom:solid 1px white; /* Or IE would add strange vertical lines in
196
+ .eltBody { padding-left: 1%; }
197
+
198
+ .eltSub {
199
+ border-bottom: solid 1px white; /* Or IE would add strange vertical lines in
156
200
  the close part */
157
- margin-left:2%;
158
- border-left:solid 2px #bbb;
159
- padding-left:2%; }
201
+ margin-left: 2%;
202
+ border-left: solid 9px #fd8;
203
+ border-bottom: solid 1px #fd8;
204
+ padding-left: 2%; }
160
205
 
161
206
  .pageCount {
162
- margin-left:2em;
163
- margin-right:2em;
164
- font-size:smaller;
165
- letter-spacing:0.3em; }
166
-
167
- .eltSubsClose {
168
- margin-left:1%;
169
- font-size:smaller; }
170
-
171
- .version, .version:link, .version:visited, .version:hover, .version:active {
172
- display:block;
173
- text-align:right;
174
- clear:right; /* To make sure the sidebar is not element at the bottom */
175
- font-size:smaller;
176
- color:#aaa;
177
- background:transparent;
178
- cursor:default;
179
- text-decoration:none;
180
-
181
- /*
182
- .link {
183
- padding-left:1em;
184
- font-weight:bold;
185
- vertical-align:middle; }
186
-
187
- .xml {
188
- position:absolute;
189
- top:0em;
190
- right:0em; }
191
-
192
- .level {
193
- display:inline;
194
- font-weight:bold;
195
- color:#44C; }
196
-
197
- .propose, .choose, .delegate { margin-left:1em; }
198
- .propose:before { color:#881; }
199
- .choose:before { color:#188; }
200
- .delegate:before { color:#818; }
201
- .propose:before, .choose:before, .delegate:before {
202
- content:"->";
203
- font-size:x-large;
204
- font-weight:bold; }
205
- .moderate { text-align:center; font-weight:bold; font-size:larger; }
206
- .moderate:before { color:#CCC; content:"-> "; }
207
- .moderateActual { display:inline; color:#44F; }
208
- .moderateActual:before { content:"["; }
209
- .moderateActual:after { content:"]"; }
210
-
211
- .messageTitle {
212
- font-size:larger;
213
- font-weight:bold;
214
- font-weight:italic;
215
- color:#333; }
216
-
217
- .ancestor { text-align:right; }
218
-
219
- .section {
220
- border:outset thin #889;
221
- margin-bottom:1em; }
222
-
223
- .sectionTitle {
224
- font-size:x-large;
225
- text-align:left;
226
- font-weight:bold;
227
- padding:6px;
228
- background:#eef; }
229
-
230
- .subTitle { text-align:right; }
231
-
232
- .out, .err, .info {
233
- font-size:larger;
234
- font-weight:bold;
235
- padding:1em;
236
- text-align:center;
237
- background:white; }
238
- .out { color:#080; }
239
- .err { color:#800; }
240
- .info { color:#008; }
241
-
242
-
243
- .footnote:before { content:"("; }
244
- .footnote {
245
- font-size:smaller;
246
- text-align:right;
247
- margin-top:1em; }
248
- .footnote:after { content:")"; }
249
-
250
- th.visu, td.visu, th.param, td.param {
251
- padding-left:1em;
252
- padding-right:1em;
253
- background:#ddd; }
254
- th.visu, th.param { background:#ddf; }
255
- td.visu { background:#bbb; }
256
-
257
- input.param { width:100%; }
258
- textarea.param { width:100%; height:50em; }
259
- textarea.paramSmall { width:100%; height:1.5em; }
260
-
261
- */
207
+ margin-left: 2em;
208
+ margin-right: 2em;
209
+ font-size: smaller;
210
+ letter-spacing: 0.3em; }
211
+
212
+ .eltSubsClose { margin-left: 3%; }
213
+
214
+ .version {
215
+ text-align: right;
216
+ /* To make sure the sidebar is not the last element at the bottom */
217
+ clear: right; }
218
+ .version > a {
219
+ font-size: smaller;
220
+ color: #aaa;
221
+ cursor: default;
222
+ text-decoration: none; }
223
+
224
+ .version > a + a { display: none; }
225
+ .version:hover > a + a { display: inline; }
226
+
227
+
228
+ body { -moz-border-radius: 1em 0 1em 1em; }
229
+ input, textarea, input[type='button'], input[type='submit'] {
230
+ -moz-border-radius: 0.5em 0 0.5em 0; }
231
+ .links { -moz-border-radius: 1em 1em 0 0; }
232
+ /* Due to IE, I recode the outset effet */
233
+ .box { -moz-border-radius: 0 0 1em 1em; }
234
+ .eltSub { -moz-border-radius: 0 0 0 1em; }
235
+
data/script/about CHANGED
@@ -1,3 +1,3 @@
1
- #!/usr/bin/ruby1.8
1
+ #!/usr/bin/env ruby
2
2
  require File.dirname(__FILE__) + '/../config/boot'
3
3
  require 'commands/about'
data/script/breakpointer CHANGED
@@ -1,3 +1,3 @@
1
- #!/usr/bin/ruby1.8
1
+ #!/usr/bin/env ruby
2
2
  require File.dirname(__FILE__) + '/../config/boot'
3
3
  require 'commands/breakpointer'
data/script/console CHANGED
@@ -1,3 +1,3 @@
1
- #!/usr/bin/ruby1.8
1
+ #!/usr/bin/env ruby
2
2
  require File.dirname(__FILE__) + '/../config/boot'
3
3
  require 'commands/console'
data/script/destroy CHANGED
@@ -1,3 +1,3 @@
1
- #!/usr/bin/ruby1.8
1
+ #!/usr/bin/env ruby
2
2
  require File.dirname(__FILE__) + '/../config/boot'
3
3
  require 'commands/destroy'
data/script/generate CHANGED
@@ -1,3 +1,3 @@
1
- #!/usr/bin/ruby1.8
1
+ #!/usr/bin/env ruby
2
2
  require File.dirname(__FILE__) + '/../config/boot'
3
3
  require 'commands/generate'
@@ -1,3 +1,3 @@
1
- #!/usr/bin/ruby1.8
1
+ #!/usr/bin/env ruby
2
2
  require File.dirname(__FILE__) + '/../../config/boot'
3
3
  require 'commands/performance/benchmarker'
@@ -1,3 +1,3 @@
1
- #!/usr/bin/ruby1.8
1
+ #!/usr/bin/env ruby
2
2
  require File.dirname(__FILE__) + '/../../config/boot'
3
3
  require 'commands/performance/profiler'
data/script/plugin CHANGED
@@ -1,3 +1,3 @@
1
- #!/usr/bin/ruby1.8
1
+ #!/usr/bin/env ruby
2
2
  require File.dirname(__FILE__) + '/../config/boot'
3
3
  require 'commands/plugin'
@@ -1,3 +1,3 @@
1
- #!/usr/bin/ruby1.8
1
+ #!/usr/bin/env ruby
2
2
  require File.dirname(__FILE__) + '/../../config/boot'
3
3
  require 'commands/process/reaper'
@@ -1,3 +1,3 @@
1
- #!/usr/bin/ruby1.8
1
+ #!/usr/bin/env ruby
2
2
  require File.dirname(__FILE__) + '/../../config/boot'
3
3
  require 'commands/process/spawner'
@@ -1,3 +1,3 @@
1
- #!/usr/bin/ruby1.8
1
+ #!/usr/bin/env ruby
2
2
  require File.dirname(__FILE__) + '/../../config/boot'
3
3
  require 'commands/process/spinner'
data/script/runner CHANGED
@@ -1,3 +1,3 @@
1
- #!/usr/bin/ruby1.8
1
+ #!/usr/bin/env ruby
2
2
  require File.dirname(__FILE__) + '/../config/boot'
3
3
  require 'commands/runner'
data/script/server CHANGED
@@ -1,3 +1,3 @@
1
- #!/usr/bin/ruby1.8
1
+ #!/usr/bin/env ruby
2
2
  require File.dirname(__FILE__) + '/../config/boot'
3
3
  require 'commands/server'
@@ -5,6 +5,7 @@ second_elts:
5
5
  id: 0
6
6
  parent_id: ROOT
7
7
  subject: zeroth element
8
+ body: zeroeth element
8
9
  another_elts:
9
10
  id: 1
10
11
  parent_id: ROOT
@@ -13,3 +14,4 @@ mail:
13
14
  id: mail
14
15
  parent_id: ROOT
15
16
  subject: Mails
17
+ body: The different mailing lists managed on this server
@@ -0,0 +1,27 @@
1
+ From manu@leparlement.org Fri Jan 20 20:58:33 2006
2
+ Return-path: <manu@leparlement.org>
3
+ Envelope-to: manu@localhost
4
+ Delivery-date: Fri, 20 Jan 2006 20:58:33 +0100
5
+ Received: from localhost ([127.0.0.1])
6
+ by localhost.localdomain with esmtp (Exim 4.60)
7
+ (envelope-from <manu@leparlement.org>)
8
+ id 1F02P3-0005yR-JN
9
+ for manu@localhost; Fri, 20 Jan 2006 20:58:33 +0100
10
+ Received: from echarp.org [81.66.133.96]
11
+ by localhost with IMAP (fetchmail-6.2.5.4)
12
+ for manu@localhost (single-drop); Fri, 20 Jan 2006 20:58:33 +0100 (CET)
13
+ Received: from manu by vvv with local (Exim 4.60)
14
+ (envelope-from <manu@leparlement.org>)
15
+ id 1F02OK-0002EG-DN
16
+ for manu@localhost; Fri, 20 Jan 2006 20:57:48 +0100
17
+ From: echarp <manu@leparlement.org>
18
+ To: mailingList@leparlement.org
19
+ Subject: test parlement
20
+ Date: Fri, 20 Jan 2006 18:11:00 -0000
21
+ Content-Type: text/plain; charset="utf-8"
22
+ Message-Id: <E1F02OK-0002EG-DN@vvv>
23
+ Status: RO
24
+ Content-Length: 1007
25
+ Lines: 18
26
+
27
+ Test d'envoi de mail!
@@ -0,0 +1,28 @@
1
+ From manu@leparlement.org Fri Jan 20 20:58:33 2006
2
+ Return-path: <manu@leparlement.org>
3
+ Envelope-to: manu@localhost
4
+ Delivery-date: Fri, 20 Jan 2006 20:58:33 +0100
5
+ Received: from localhost ([127.0.0.1])
6
+ by localhost.localdomain with esmtp (Exim 4.60)
7
+ (envelope-from <manu@leparlement.org>)
8
+ id 1F02P3-0005yR-JN
9
+ for manu@localhost; Fri, 20 Jan 2006 20:58:33 +0100
10
+ Received: from echarp.org [81.66.133.96]
11
+ by localhost with IMAP (fetchmail-6.2.5.4)
12
+ for manu@localhost (single-drop); Fri, 20 Jan 2006 20:58:33 +0100 (CET)
13
+ Received: from manu by vvv with local (Exim 4.60)
14
+ (envelope-from <manu@leparlement.org>)
15
+ id 1F02OK-0002EG-DN
16
+ for manu@localhost; Fri, 20 Jan 2006 20:57:48 +0100
17
+ From: echarp <manu@leparlement.org>
18
+ To: mailingList@leparlement.org
19
+ Subject: test threaded parlement reply
20
+ Date: Fri, 20 Jan 2006 18:11:00 -0000
21
+ Content-Type: text/plain; charset="utf-8"
22
+ Message-Id: <E1F02OK-0002EG-DQ@vvv>
23
+ references: <E1F02OK-0002EG-DN@vvv>
24
+ Status: RO
25
+ Content-Length: 1007
26
+ Lines: 18
27
+
28
+ Test d'envoi de mail!