/
CHANGES.txt
518 lines (353 loc) · 13.1 KB
/
CHANGES.txt
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
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
Changelog
=========
1.5.5 (unreleased)
------------------
- Nothing changed yet.
1.5.4 (2012-10-15)
------------------
- Create a transaction savepoint after setting a blob's value in order to
make it available at its temporary path (within the same transaction).
[tomgross]
1.5.3 (2012-09-20)
------------------
- Update mutator to take care of filename in keyword args.
[gotcha]
- Check for unicode filename first in ``index_html``.
[vangheem]
1.5.2 (2012-05-25)
------------------
- Deprecated aliases were replaced on tests.
[hvelarde]
- Keep the acquisition context of the blob in index_html, as otherwise
we cannot get the http__etag method.
[maurits]
- Move download implementation (the ``index_html`` method) to the blob
wrapper class. The wrapper object is now directly viewable via the
Zope 2 publisher.
This change adds support for publishing of the original image data
for any image field via the scaling view (even for fields that have
been added via schema extension).
Previously, if the blob wrapper was published for a content object
that did not derive from the provided image class, Plone's default
``index_html`` template would be used, rendering an HTML page
instead of the image.
[malthe]
1.5.1 (2011-08-19)
------------------
- ATImage adapter should take care of cases where no image was uploaded.
[gotcha]
1.5 (2011-04-21)
----------------
- Test fixes.
[davisagli]
1.4 (2011-02-14)
----------------
- Avoid breaking on startup if PIL is not present.
[davisagli]
1.3 (2010-09-28)
----------------
- Adjust tests to the fixed spelling of 'kB'.
[witsch]
1.2 (2010-09-22)
----------------
- Fix the ``type`` of blob-based fields so they are distinguishable as
blob fields.
[davisagli]
- Fix broken migration-forms.
[WouterVH]
1.1 (2010-08-13)
----------------
- Properly close written blobs in all `IBlobbable` adapters in order to
avoid `POSKeyErrors`.
This fixes http://plone.org/products/plone.app.blob/issues/43
[jbaach, witsch]
- Allow explicitly setting a mimetype via a keyword passed to the mutator.
[davidblewett, kleist, witsch]
- Don't raise `AttributeError` when calling `getSize` on empty images.
[ggozad, witsch]
1.0 (2010-07-18)
----------------
- Correct blob migration count to ignore unrelated messages. This closes
http://dev.plone.org/plone/ticket/10114.
[hannosch]
- Update license to GPL version 2 only.
[hannosch]
1.0b18 (2010-07-01)
-------------------
- Avoid deprecation warnings under Zope 2.13.
[hannosch]
- Test fix: Use the API to look at request headers.
[hannosch]
1.0b17 (2010-06-03)
-------------------
- Fix deletion of blob-based content even if the field is not called 'file'
or 'image'.
[regebro]
- The `ImageField` could not be copied, which broke the standard way of
subclassing archetypes schemas.
[regebro]
- Migration screen tried to check for installation via quick installer. We
check the product of the destination portal type instead now. This closes
http://dev.plone.org/plone/ticket/10365.
[dunlapm, hannosch]
- Enable "Image" replacement content type by default.
[witsch]
- Don't break when image-specific methods are accidentally used on
"File" content.
[witsch]
1.0b16 (2010-05-02)
-------------------
- Remove existing image scales when updating blob-aware image fields.
Fixes http://dev.plone.org/plone/ticket/10455
[frisi]
- Correct dependency on plone.app.imaging to >1.0b9 since we need the
new IImageScaleFactory feature.
[wichert]
1.0b15 (2010-04-10)
-------------------
- Provide blob-aware factory for new-style image scales.
[witsch]
- Don't set the modification date of migrated content.
[rossp]
- Restore support for defining per-field image scale sizes.
Refs http://dev.plone.org/plone/ticket/10328 and
fixes http://dev.plone.org/plone/ticket/10159
[witsch]
- Provide base classes for file and image fields to be used in custom
types not based on `archetypes.schemaextender`.
Fixes http://dev.plone.org/plone/ticket/10328
[witsch]
- Drop workaround for broken index accessor handling, which has been fixed
upstream in `archetypes.schemaextender`.
[witsch]
- Don't try to determine image dimensions for content other than images.
Refs http://plone.org/products/cmfeditions/issues/58
[witsch, do3cc]
1.0b14 (2010-03-07)
-------------------
- Revert the change to use the URL normalizer when generating content ids
based on filename and reinstate the previous (and expected) behavior.
Refs http://dev.plone.org/plone/ticket/8591
[witsch]
1.0b13 (2010-03-06)
-------------------
- Use updated version of `createScales` as monkey-patched in
`plone.app.imaging`. Refs http://dev.plone.org/plone/ticket/10186
[witsch]
1.0b12 (2010-02-16)
-------------------
- Change test setup to reuse the same directory when setting up blob
storages, thereby fixing some BBB test issues.
[witsch]
- Remove temporary monkey wrapper for `Blob.open` used to work around an
issue with `CMFEditions`. Refs http://dev.plone.org/plone/ticket/10200
[witsch]
- Use URL normalizer when generating content ids based on filename.
[terapyon, papago, witsch]
- Update view to analyse approximate content size grouped by type.
[witsch]
- Add `z3c.autoinclude` entry point for automatic ZCML loading in Plone 3.3+.
[witsch]
- Make sure image scales from old AT image fields are removed during
migration to blob fields, when using the BlobMigrator. This closes
http://dev.plone.org/plone/ticket/10160
[davisagli]
- Updated migration.pt to follow the recent markup conventions.
References http://dev.plone.org/plone/ticket/9981
[spliter]
- Make it possible to delete image content.
[witsch]
1.0b11 (2010-01-30)
-------------------
- Fix issues regarding migration from `OFS.File` and `OFS.Image` content.
[optilude, witsch]
- Revert changes to make things more robust in case of missing blob files.
This refs http://plone.org/products/plone.app.blob/issues/10
[witsch]
- Try to re-fetch blobs that have been removed from a client-side ZEO cache
before giving up and raising an error. This makes it possible to control
the client blob cache size via external processes (e.g. `cron`) even with
ZODB 3.8. See http://dev.plone.org/plone/changeset/32170/ for more info.
[svincic, witsch]
- Fix issue with incorrect values for "Type" catalog index after migration.
[yomatters, witsch]
1.0b10 (2009-12-03)
-------------------
- Add support for accessing image scales via path expressions like
`here/image_thumb` for backward-compatibility.
[witsch]
1.0b9 (2009-11-26)
------------------
- Unify the ATBlob factories (for CMF>=2.2 and CMF<2.2) while still
preventing events from being fired for the former.
[witsch]
- Fix range support for open ranges.
[j23d, witsch]
- Make the title field non-required for ATBlobs, since it will be
generated from the filename if necessary.
[davisagli]
- If a title was entered, use it instead of the filename to generate an
id for files (matching what was already done for images).
[davisagli]
- Update the CMF 2.2 version of the ATBlob factory to match a fix I made
in Archetypes 2.0a2.
[davisagli]
1.0b8 (2009-11-17)
------------------
- Added a modified version of the customized ATBlob factory for use with
CMF 2.2.
[davisagli]
- Make sure that BlobWrappers for zero-length blobs still evaluate to
boolean True.
[davisagli]
- Implement range support for downloads. This fixes
http://plone.org/products/plone.app.blob/issues/11
[j23d, rossp, witsch]
- Fix image field validator to match that from `ATContentTypes`.
[rossp]
- With `ATContentTypes` >=2.0, check the `_should_set_id_to_filename`
method to determine if `ATBlob`'s `fixAutoId` method should set the
item id to the filename of the blob field. For images, don't set it
to the filename if a title was supplied.
[davisagli]
- Add blobbable adapters for Python file objects and OFS Pdata objects.
[davisagli]
- Add helper view to get a rough estimate of the total size of binary
content in a site.
[witsch]
1.0b7 (2009-11-06)
------------------
- Fix regression in setup for running bbb tests against Plone 3.x.
[witsch]
- Update migration view to issue warning when `plone.app.blob` has not
been quick-installed yet. Fixes http://dev.plone.org/plone/ticket/8496
[witsch]
- Preserve filename when editing via WebDAV. This fixes
http://plone.org/products/plone.app.blob/issues/23
[witsch]
- Update basic blob content type to be LinguaPlone-aware. This fixes
http://plone.org/products/plone.app.blob/issues/24
[j23d]
- Override helper method to provide file-like objects for image
transformations. This fixes http://dev.plone.org/plone/ticket/8506
[amleczko, witsch]
- Add some additional CMF/ATCT compatibility to the ATCT
replacement types using the "cmf_edit" method.
[alecm]
- Provide helper methods for easier migration of custom content types.
[ggozad, witsch]
- Refactor test setup to make it work with ZODB 3.9.
[witsch]
1.0b6 (2009-10-10)
------------------
- Minor fixes and test updates for compatibility with Plone 4.0.
[witsch]
- Store image scales in blobs.
[witsch]
- Use correct permissions when registering replacement types for
"File" and "Image" content.
See http://plone.org/products/plone.app.blob/issues/9
[witsch]
- Fix migration issue regarding stale catalog index- & meta-data.
[witsch]
- Allow certain file types to be downloaded immediately.
See http://plone.org/products/plone.app.blob/issues/4
[optilude]
- Fix performance issue regarding extension field.
[witsch]
1.0b5 (2009-08-26)
------------------
- Fix compatibility issue with `repoze.zope2`.
[optilude, witsch]
- Fix compatibility issues with ZODB 3.9 and Plone 4.0.
[witsch]
- Speed up migration of existing content by using "in-place" migrators
and avoid unnecessary re-indexing.
[witsch]
- Fix registration of blob-based image scale adapter to prevent getting
404s for content other than images. This fixes the second issue
related to http://plone.org/products/plone.app.blob/issues/19
[witsch]
1.0b4 (2009-11-19)
------------------
- Provide maintenance view for (re)setting blob sub-types, which can also
be used to fix things after upgrading from 1.0b2 or earlier.
This fixes http://plone.org/products/plone.app.blob/issues/19
[witsch]
1.0b3 (2009-11-15)
------------------
- Clean up GenericSetup profiles to allow separate installation of
replacement types for "File" and "Image" content.
[witsch]
- Add index accessor to make indexing of file content work again.
This fixes http://plone.org/products/plone.app.blob/issues/12
[witsch]
- Make code more robust in case of missing blob files.
This fixes http://plone.org/products/plone.app.blob/issues/10
[witsch]
- Make tests clean up their temporary blob directories.
[stefan]
- Remove quota argument from DemoStorage calls.
[stefan]
- Add workaround to prevent breakage with CMFEditions (blob-based
content can still not be versioned, though).
[witsch]
- Add missing acquisition-wrapper, also allowing to remove circular
references between instance and field, which broke pickling.
[witsch]
- Fix helper for determining image sizes to not break for non-image
content.
[witsch]
- Use PIL for determining image sizes as the OFS code cannot handle
certain types of JPEGs.
[witsch]
- Added missing metadata.xml to the default profile.
[hannosch]
- Only use the file name for id generation for the replacement types,
i.e. "File" and "Image", but not custom types. This fixes
http://plone.org/products/plone.app.blob/issues/3
[witsch]
- Fix issue where the mime-type registry returned an empty tuple when
looking up an unknown mime-type. This fixes
http://plone.org/products/plone.app.blob/issues/1
[witsch]
1.0b2 (2008-02-29)
------------------
- Reverted fix for Windows that closed the file upload object in order
to work around a problem with reading from the blob file afterwards.
[witsch]
1.0b1 (2008-02-28)
------------------
- Minor bug fixes and cleanups
[witsch]
- Fix for a problem regarding file uploads on Windows, where renaming
the still open temporary file isn't allowed and hence caused an error.
Now the file is closed before the call to `consumeFile()`.
[rochael]
- Fix for Windows regarding the generation of the temporary file used for
file uploads so that it doesn't get deleted after being moved to the
blob storare
[rochael]
- Change file size calculation so as not to need to reopen the file, which
broke on Windows
[rochael]
- Changed the primary field of the blob content types to not to be
"searchable" as this causes indexing of the blob content making ram
consumption go through the roof
[witsch]
1.0a2 (2007-12-12)
------------------
- Various minor bug fixes regarding migration, content icons etc
[witsch]
- String value are now wrapped using StringIO to make them adaptable, so
that their mime-type can be guessed as well.
[naro]
- Added alternative GenericSetup profile to allow to replace ATFile
as the "File" content type
[witsch]
1.0a1 (2007-12-07)
------------------
- Initial version
[witsch]
- Initial package structure.
[zopeskel]