This repository was archived by the owner on Mar 22, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathCHANGES.txt
More file actions
632 lines (345 loc) · 13.4 KB
/
CHANGES.txt
File metadata and controls
632 lines (345 loc) · 13.4 KB
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
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
zeit.content.image changes
==========================
2.23.4 (unreleased)
-------------------
- Nothing changed yet.
2.23.3 (2019-03-29)
-------------------
- PERF: Don't grok browser packages by default
2.23.2 (2019-02-27)
-------------------
- BUG-1066: Apply upload validation to image group as well
2.23.1 (2019-02-26)
-------------------
- BUG-1066: Ignore browser-sent MIME type, inspect uploaded data instead;
reject unsupported MIME types (currently we handle only jpg and png)
2.23.0 (2019-02-18)
-------------------
- ZON-5136: Allow overriding output format when creating variant images, to support WEBP
- ZON-5134: Extract URL parsing into separate Traverser instead of ImageGroup.getitem
2.22.5 (2018-12-03)
-------------------
- FIX: Be more defensive about copyrights in single image view
2.22.4 (2018-11-29)
-------------------
- ZON-4106: Add more coprights via css
2.22.3 (2018-11-28)
-------------------
- ZON-4106: Adjust UI for copyrights
2.22.2 (2018-11-20)
-------------------
- FIX: Fix image references working with new default None for copyrights
2.22.1 (2018-11-15)
-------------------
- MAINT: Change image metadata api from 'copyrights' to 'copyright'
2.22.0 (2018-11-13)
-------------------
- ZON-4981: Be more strict when adding copyright information
2.21.7 (2018-10-05)
-------------------
- ZON-3312: Remove obsolete asset badges
2.21.6 (2018-07-16)
-------------------
- MAINT: Be more precise about when/how to update XML metadata
2.21.5 (2018-06-07)
-------------------
- TMS-213: Don't index images inside of image groups in TMS
2.21.4 (2018-05-09)
-------------------
- MAINT: Be defensive about broken/missing metatdata in image listing,
e.g. when the parent image group has been deleted in the meantime
2.21.3 (2018-03-13)
-------------------
- TMS-162: Make `factory` available on TypeDeclaration
2.21.2 (2018-01-09)
-------------------
- MAINT: Remove feature toggle `zeit.content.image.variants` which has
been in production for quite a long time now
2.21.1 (2017-11-09)
-------------------
- FIX: Restrict image upload to supported mime types
2.21.0 (2017-10-04)
-------------------
- ZON-3409: Move from remotetask to celery
2.20.4 (2017-09-18)
-------------------
- BUG-749: Fix formlib validation bug
- BUG-771: Don't break during deleting imagegroup due to deleted children
2.20.3 (2017-06-29)
-------------------
- FIX: Remove year+volume remnants
2.20.2 (2017-06-29)
-------------------
- MAINT: Make photographer non-required
- MAINT: Remove obsolete year+volume fields
2.20.1 (2017-06-28)
-------------------
- ZON-3174: Add heuristics for Reuters external IDs
2.20.0 (2017-06-26)
-------------------
- ZON-3174: Extend copyright field to include company (dropdown and freetext),
add field for external ID
2.19.2 (2017-06-21)
-------------------
- BUG-719: Normalize uploaded image file names
2.19.1 (2017-06-21)
-------------------
- Fix brown-bag release
2.19.0 (2017-06-21)
-------------------
- MAINT: Recreate thumbnail sources when user triggers cache refresh
- ZON-4027: Ignore errors when rendering image details so they always
render an edit button
- ZON-3940: Remove thumbnail images when their corresponding image is removed
2.18.1 (2016-12-06)
-------------------
- ZON-3363: Some UI/form field tweaks for infographics.
- ZON-3363: Hide thumbnails in content listing of ``ImageGroup``.
2.18.0 (2016-10-19)
-------------------
- ZON-3414: Add device pixel ratio to imageserver API
2.17.1 (2016-10-05)
-------------------
- Be defensive about zero-sized images.
2.17.0 (2016-09-28)
-------------------
- Deprecate automatic image link rewriting (VIV-263)
- Add nofollow flag to image links (ZON-3375)
2.16.3 (2016-09-26)
-------------------
- Update to `zeit.cms >= 2.90`.
2.16.2 (2016-09-12)
-------------------
- Handle non-ASCII uniqueIds in ``variant_url``.
2.16.1 (2016-09-05)
-------------------
- Be defensive about falling back to image metadata.
2.16.0 (2016-08-18)
-------------------
- Proxy image reference attribute access to its target and ignore
copied metadata (unless, of cause the attribute is overriden locally).
We still copy the XML on creation and update for compatibility. (Re ZON-1586)
2.15.1 (2016-08-11)
-------------------
- Have master_image_for_viewport() fall back on "the largest image" it
can find if a nonexistent name is configured.
2.15.0 (2016-08-10)
-------------------
- Add ``IImageGroup.master_image_for_viewport()``.
- Determine ratio for "original" Variant from the actual source image
during transform, so it is viewport-sensitive. This also means
``Variant.ratio`` for "original" is now None instead of a float,
since at that point we do not have the viewport information.
2.14.4 (2016-08-04)
-------------------
- Bugfix: actually create thumbnail source when an imagegroup is added.
2.14.3 (2016-08-02)
-------------------
- Be defensive about invalid master image properties.
2.14.2 (2016-08-02)
-------------------
- Improve wording.
2.14.1 (2016-08-01)
-------------------
- Pass IImageMetadata of synthesized images through to the image group.
2.14.0 (2016-07-26)
-------------------
- Be defensive about zoom=0 settings.
- Allow viewport modifier inside URL of image variants. (ZON-3171)
- Store multiple master images and which viewport they should be used for,
rather allowing a single master image for everything. (ZON-3171)
- Render variants using the master image for given viewport. (ZON-3171)
- Remove dependency to `zeit.imp`. (ZON-3171)
- Adjust image templates to preview them more similar to Friedbert. (ZON-3216)
2.13.5 (2016-06-27)
-------------------
- Be defensive about imagegroups with no master image.
- Be defensive about zero-sized images.
2.13.4 (2016-05-03)
-------------------
- Be defensive about invalid variant requests.
2.13.3 (2016-04-25)
-------------------
- Allow materialized images with legacy names to serve as source for
size and fill color transformation. (ZON-2029)
- Apply maximum image size only for the requested size, not the size
of the source/master image.
2.13.2 (2016-04-18)
-------------------
- Don't load Zope/UI specific ZCML in the model ZCML
2.13.1 (2016-04-18)
-------------------
- Set a maximum image size to protect against overload
2.13.0 (2016-04-07)
-------------------
- Deprecate image spoof protection signature (ZON-2878).
- Support rendering a fill color for images with alpha channel, e.g.
``cinema__100x200__0000ff`` (ZON-2878).
* Add parameter ``fill_color`` to ``variant_url()``
* Add property ``IImages.fill_color``
2.12.0 (2016-02-29)
-------------------
- Deprecate image alignment setting (ZON-2782).
2.11.8 (2016-02-25)
-------------------
- Determine XML reference attribute ``type`` from MIME if image filename has no
extension (BUG-357).
2.11.7 (2016-02-22)
-------------------
- Move ``MemoryFile`` to zeit.cms.
2.11.6 (2015-11-17)
-------------------
- Be more defensive about missing meta files when creating variant images.
2.11.5 (2015-10-30)
-------------------
- Use `libmagic` instead of hand-coded zope.app.file heuristics, it supports
a wider range of mimetypes (e.g. ico which z.c.cp uses for rss feeds).
2.11.4 (2015-10-30)
-------------------
- Use simple heuristic instead of PIL.image.open to determine mime-type
(since reading PSD files with PIL has been seen to hang indefinitely).
2.11.3 (2015-10-29)
-------------------
- Fix syntax error in image view template (only appears when a copyright as
``nofollow`` set).
2.11.2 (2015-09-22)
-------------------
- Store transformed images in memory instead of tempfiles.
2.11.1 (2015-09-18)
-------------------
- Validate sizes in URLs (and ignore zero and negative numbers).
2.11.0 (2015-09-18)
-------------------
- Add setting ``size`` to ``legacy-variant-source`` so we don't deliver the
original images to legacy clients (which don't know to ask for a specific,
smaller size). (ZON-2236)
2.10.1 (2015-09-17)
-------------------
- Clean up temporary image blob files on abort as well as commit. (ZON-2237)
2.10.0 (2015-09-12)
-------------------
- Use variant image of `default` configuration as master image in frontend to
preview image enhancements while ignoring cropping due to zoom. (DEV-826)
- Add UI and backend support to adjust variant images regarding their
brightness, contrast, saturation and sharpness. (DEV-826)
- Disable transparency of variant previews when displaying the master (DEV-910)
- Increase the size of cropper handles, to make it easier to grab the edge of
the canvas to resize a variant. (DEV-910)
- Automatically switch back to the master image, when the background of the
variant editor was clicked. (DEV-910)
- Show that the focuspoint can be dragged by changing cursor to grab. (DEV-910)
2.9.0 (2015-09-08)
------------------
- Add ``fallback_size`` setting for variants, also available as
``fallback_width`` and ``fallback_height`` (ZON-2145).
- Avoid ``KeyError`` for Variants that are no longer valid, i.e. those that are
missing from the XML config and are only present in the DAVProperty (DEV-910)
2.8.0 (2015-08-27)
------------------
- Support ``aspect_ration="original"`` in variant configuration (DEV-923).
- Handle missing dublincore times (ZON-2062).
2.7.2 (2015-08-14)
------------------
- Enable progressive jpeg encoding (ZON-2019).
2.7.1 (2015-08-04)
------------------
- Only change default tab to new editor if the feature toggle is present.
2.7.0 (2015-08-03)
------------------
- Set uniqueId on variant-generated images.
2.6.2 (2015-08-03)
------------------
- Handle wrongly mapped legacy variants.
2.6.1 (2015-07-31)
------------------
- Variants UI Styling updates by jpfn.
2.6.0 (2015-07-30)
------------------
- Ignore invalid image size specifications. (ZON-1586)
- Adjust variants and groups to friedbert's needs, e.g. limit default sizes
to largest max_size, always produce a master_image, configure pillow
encoder settings. (ZON-1586)
2.5.2 (2015-07-06)
------------------
- Set zoom and focuspoint of Variant sizes using a rectangular UI. (DEV-827)
2.5.1 (2015-06-23)
------------------
- Change name of thumbnail traverser so it does not conflict with the
``thumbnail`` view used by zeit.find.
2.5.0 (2015-06-19)
------------------
- Add bw-compat for CP editor: return old on-disk variants for new syntax
(DEV-783).
- Go to edit UI after adding an image group (DEV-798).
- Add `IImage.ratio`.
2.4.0 (2015-06-18)
------------------
- Access size of a Variant by giving name and size in URL, e.g.
``cinema__100x200``, introduce ``variant_url`` method to generate such URLs.
(DEV-782)
* New product config setting ``zeit.content.image:variant-secret``. If given,
variant URLs are generated and require a signature (to prevent URL
spoofing).
- Resize (and reposition if target size has a different ratio than the variant)
the generated variant image according to the target size parameter in the URL
(DEV-796).
- Support bw-compat mapping of old cropped image names to variants (DEV-783).
* New config file: ``/data/image-variants-legacy.xml``, for
``zeit.content.image:legacy-variant-source``
- Read attributes for ``z.c.image.variant.Variant`` from XML using it's schema
rather relying on manual type conversion. (DEV-786)
- Generate thumbnail images (for variants editor, cp editor etc.) from a
smaller image instead of the master image for better performance (DEV-797).
2.3.0 (2015-06-09)
------------------
- Introduce new cropping UI with focus points (UI has feature toggle
``zeit.content.image.variants``) (DEV-779).
* New config file: ``/data/image-variants.xml``, for ``zeit.content.image:
variant-source``
- Add validation rules for ImageGroup to check on publish that important
image sizes were created. (DEV-790).
- Update workflow adapter to display validation errors on publish (DEV-22).
2.2.7 (2015-03-17)
------------------
- Add ``suppress_errors`` parameter to ``IReference.update_metadata`` (VIV-629).
2.2.6 (2014-12-17)
------------------
- Update tests since mock connector now yields trailing slashes for folder ids
(FRIED-37).
2.2.5 (2014-12-17)
------------------
- Allow suppressing errors that are due to missing metadata files (VIV-629).
2.2.4 (2014-11-14)
------------------
- Extend behaviour of apply action in form by overwriting the action from zope,
rather using our custom applyChanges semantic that we just removed (VIV-516).
2.2.3 (2014-10-21)
------------------
- Update references when moving objects (WEB-298).
- Update dependency to ZODB-4.0.
2.2.2 (2014-09-18)
------------------
- Put a ghost in the workingcopy for new imagegroups (VIV-489).
2.2.1 (2014-07-17)
------------------
- Use <div class="inline-form"> instead of a nested <form> for reference
details (VIV-428).
- Fix "change copyright" icon.
2.2.0 (2014-05-22)
------------------
- Add ``IImage.format`` helper property (VIV-385).
2.1.1 (2014-05-09)
------------------
- Fix bug in IImageMetadata declaration: ``caption`` should not use a special
missing value (VIV-377).
2.1.0 (2014-04-22)
------------------
- Display original caption in reference details (VIV-365).
- Rewrite links from www.zeit.de to xml.zeit.de (VIV-263).
NOTE: This functionality is still disabled, since the frontend
does not interpret rewritten links correctly yet.
2.0.0 (2014-03-10)
------------------
- Provide ImageReference that allows overriding caption, alt and title locally
(VIV-305).
- Extracted from zeit.cms egg.