File: changes.xml

package info (click to toggle)
turbine 20010419-1
  • links: PTS
  • area: contrib
  • in suites: woody
  • size: 17,460 kB
  • ctags: 7,501
  • sloc: java: 41,929; xml: 12,430; sql: 637; sh: 90; makefile: 50
file content (377 lines) | stat: -rw-r--r-- 9,905 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
<?xml version="1.0"?>

<document>

<properties>
  <title>Changes</title>
  <author email="jvanzyl@apache.org">Jason van Zyl</author>
</properties>

<body>

<section name="Changes">

<p>
This document describes what has changed in Turbine on a
particular date. When we release these changes can be tracked
on a release to release basis, but for now we'll just use
the date to keep track of major changes.
</p>

</section>

<section name="18 March 2001">

<p>
  The following changes are a result of trying to order the
  initialization of the services according to order they
  are listed in the TR.props file. To effect this change, the
  Configuration class from Velocity was used because it
  internally keeps properties in order. Variants of the
  Configuration are used in three projects now so we should
  work on putting it somewhere so it can be reused. For
  now it's being pulled from the Velocity JAR included in
  the Turbine distribution but this will change when we
  find a home for the Configuration class.
</p>

<p>
  <ul>
    <li>
      The order of the services has been changed in the TR.props
      master file to reflect some dependencies services have
      on one another.
    </li>
    <li>
      The way to tools are specified for the Pull Service has
      changed because the Configuration class takes care of
      correct ordering. The <code>loader-order</code> key is no longer
      required as the tools will be instantiated in the order they
      appear in the TR.props file.
    </li>
    <li>
      Big cleanup to the TurbineResourcesService directory.
      The Configuration class is an amalgamation of the
      ConfigurationRepository/Configurations/ExtendedProperties
      class so they have been removed and the Configuration
      class is now used in their place. Here is a list of the
      affected files:
      <ul>
        <li>
          modules/actions/InitContextsAction.java
        </li>
        <li>
          services/BaseServiceBroker.java
        </li>
        <li>
          services/TurbineServices.java
        </li>
        <li>
          services/logging/PropertiesLoggingConfig.java
        </li>
        <li>
          services/naming/TurbineNamingService.java
        </li>
        <li>
          services/pull/TurbinePullService.java
        </li>
        <li>
          services/resources/ResourceService.java
        </li>
        <li>
          services/resources/TurbineResourceService.java
        </li>
        <li>
          services/resources/TurbineResources.java
        </li>
        <li>
          services/xmlrpc/TurbineXmlRpcService.java
        </li>
      </ul>

      <p>
      Most of these changes have to do with the fact the
      the keys returned from a Configuration are in the
      form of an Iterator, not an Enumeration.
      </p>

    </li>

    <li>
      Some dead files were removed from the TurbineResources
      directory. The ErrorResources and the MessageResources.
      The MessageResources wasn't doing anything and the
      ErrorResources looked like it was being used in
      TurbineResources but none of the errors it was supposed
      to trap had any effect. For example the message that
      it is supposed to display when the TR.props file is
      missing wasn't displayed. It looked a bit sketchy
      anyway so I removed it. If anyone feels strongly about
      it they can put it back. I think we can with a better
      error mechanism any way.
    </li>

    <li>
      The Velocity service has been updated to reflect recent
      changes made in Velocity. The Velocity service has started
      using the Velocity class which is now the client code
      contract with Velocity internals.
    </li>

    <li>
      TurbineUploadService changed so that a repository
      path specified without a leading <code>/</code> is relative to
      the webapp.
    </li>

  </ul>
</p>

</section>

<section name="21 March 2001">
  <ul>
    <li>
      Email classes
      <br/>
      Added ability to set SMTP-From headers, to direct all 'delivery
      failed' messages to a separate mailbox.
      <br/>
      TR.props also changed to allow for an address for all messages
      with failed delivery.
    </li>

    <li>
      Pull Service
      <br/>
      Added getTool() method to allow access to request level
      tools in the context without having to do an annoying cast.
    </li>

    <li>
      Scheduler Service
      <br/>
      Cleaned up logging in the WorkerThread class.
    </li>

  </ul>
</section>

<section name="22 March 2001">
  <ul>

    <li>
      HttpUtils class added
      <br/>
      A place to hang HTTP utility routines.  Currently provides date
      formatting and cache header control.  Unfortunate name conflict
      with HttpUtils class in the <code>javax.servlet package</code>,
      but consistant with current utility class naming scheme.
    </li>

  </ul>
</section>

<section name="25 March 2001">
  <ul>

    <li>
      Configuration functionality add to services.
      <br/>
      Services now have access to a Configuration object that
      can be used instead of a Properties object. Hopefully
      we can eliminate the use of Properties all together.
      Right now the Velocity Service is the example of how
      to use the Configuration object inside a service.
    </li>

    <li>
      Torque
      <br/>
      The Torque tasks have been cleaned up. Tried to place
      as much of the information required for generation
      in a configuration file. Hopefully this will allow
      us to add functionality to the generating process without
      having to alter the ant task code.
    </li>

    <li>
      Velocity Service
      <br/>
      Updated to keep in step with the changes that are
      being made as Velocity moves to 1.0. Velocity can
      now be fully configured from the TR.props. In the
      Velocity service the subset of the TR.props that
      pertain to the Velocity service are extracted
      and passed on to the Velocity Runtime. This should
      make the Velocity service easier to configure.
    </li>

  </ul>
</section>

<section name="2 April 2001">
  <ul>

    <li>
      Template Services
      <br/>
      TemplateService was reworked to associate template file name
      extensions with TemplateEngineService implementations and
      delegate to the appropriate registered service.  The easiest
      wasy to write such a TemplateEngineService implementation is to
      extend the new BaseTemplateEngineService class.
    </li>

    <li>
      BasePeer
      <br/>
      Added <code>database.query.debug</code> flag for control of
      query logging at the <code>DEBUG</code> level.
    </li>

  </ul>
</section>

<section name="5 April 2001">
  <ul>

    <li>
      SQL Logging Facility
      <br/>
      A new SQL logging facility has been defined, initially set to
      ERROR level.  Currently, the logging level must be loosened to
      DEBUG to produce logging output.
    </li>

    <li>
      BasePeer
      <br/>
      Dropped <code>database.query.debug</code> from BasePeer in favor
      of logging SQL queries to the <code>sql</code> facility instead.
      at DEBUG level.
    </li>

  </ul>
</section>



<section name="7 April 2001">
  <ul>

    <li>
      Added SequencedHashtable and BufferCache Collections classes
      <br/>
      <code>SequencedHashtable</code> is a Hashtable whose keys are
      sequenced.  The sequencing of the keys allow easy access to the
      values in the order which they were added in.  Thread safe.
      <br/>
      <code>BufferCache</code> is a fixed length object cache
      implementing the LRU algorithm.  Convenient for buffering
      recently used objects.
    </li>

  </ul>
</section>

<section name="8 April 2001">
  <ul>

    <li>
      Service Names and TurbineResources.properties
      <br/>
      Each service's SERVICE_NAME constant has been changed from the
      name of Turbine's implemtating class to the name of the
      service's interface.
    </li>

  </ul>
</section>

<section name="9 April 2001">
  <ul>

    <li>
      TurbineServices
      <br/>
      Bug fix to getProperties(String name) to properly handle
      internal use of Configuration class for multi-value keys.  A
      ClassCastException was being thrown erroneously, contradicting
      the behavior noted in the JavaDoc.  JavaDoc was updated to
      recommend getConfiguration(String name) for multi-value keys.
    </li>

  </ul>
</section>

<section name="11 April 2001">
  <ul>

    <li>
      TurbineUploadService
      <p/>
      Bug fix to close FileItem OutputStream after data has been 
      written into it.
    </li>
  
    <li>
      MultiPartEmail and FileItem (upload service)
      <p/>
      Made FileItem implement the javax.activation.DataSource
      interface, and had MultiPartEmail accept DataSource
      specified attachments.
    </li>

    <li>
      HtmlEmail
      <p/>
      Now will only form a multipart/alternative body part if
      both the HTML and text parts are specified. If either is
      omitted, only the other will be used as the body.
    </li>

  </ul>
</section>

<section name="14 April 2001">
  <ul>

    <li>
      StringUtils and VelocityEmail
      <p/>
      Text wrapping capabilities added to StringUtils.  Hooks added to
      VelocityEmail to make use of this new StringUtils functionality.
    </li>

  </ul>
</section>

<section name="17 April 2001">
  <ul>

    <li>
      Security
      <p/>
      Users/Roles/Groups security was extensively revamped in a
      branch.  Now merged back into the HEAD.
    </li>

  </ul>
</section>

<section name="18 April 2001">
  <ul>

    <li>
      BaseUnicastRemoteService
      <p/>
      Added a base implementation of a java.rmi.server.UnicastRemoteObject
      as a Turbine Service.
    </li>

  </ul>
</section>

</body>
</document>