/
Changes.pod
11756 lines (7463 loc) · 340 KB
/
Changes.pod
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
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
=head1 NAME
Bric::Changes - Bricolage Changes
=head1 DATE
$LastChangedDate$
=head1 DESCRIPTION
This document lists the Changes to Bricolage introduced with each release.
=head1 VERSION 1.10.10 ()
=head2 Improvements
=over
=item *
When displaying categories associated with a story when the
C<ENABLE_CATEGORY_BROWSER> F<bricolage.conf> directive is true, the categories
are now displayed in alphabetical order by URI. [David]
=item *
The installer no longer requires that L<Term::ReadPassword> be installed from
the CPAN before it continues. It will use it if it finds it, but if not
substitutes a simple implementation that does the trick (Bug #136). [David]
=back
=head2 Bug Fixes
=over
=item *
L<Bric::Util::Burner>'s C<publish()> method no longer removes documents from
workflow after publishing them, as such is the responsbility of the code that
calls publish. The publish callback already did, and now so does the
L<Bric::SOAP::Workflow> C<publish()> method. Thanks to David Beaudet for the
report and Aaron Fuleki for the steps to replicate (Bug #98). [David]
=item *
Fixed a bug where contributor and category search results would be propagated
to the contributor and category editing screens with a story or media
document. Searches from within documents should cache their own results,
separate from the admin search interfaces. [David]
=item *
Contributors associated with a story or media document and categories
associated with a story document are no longer paginated. When there were more
contributors or categories than would fit on a paginated page, the pagination
didn't work and reording didn't work. So by disabling pagination in this case,
we get around that issue. Documents with that many categories or contributors
are rare, so the trade-off seems worthwhile. Thanks to Bret Dawson for the
report (Bug #121). [David]
=item *
When associating a contributor with a media document, don't prompt for role
selection if the contributor has only one role. This saves a page load for
each contributor association and brings media in line with how story
contributor association already works. [David]
=item *
Fixed the "Log In" button so that the word "In" is antialiased. [Waldo
Jaquith]
=item *
Fixed the "Not a GLOB reference" error when using the PHP burner on Perl 5.10.
[Alex Krohn]
=back
=head1 VERSION 1.10.9 (2010-01-28)
=head2 Improvements
=over
=item *
The SFTP mover now respects a port specification in the host name (e.g,
"foo.example.com:22"), just like the FTP mover. Thanks to Iván Chavero for the
report and fix. [David]
=item *
The virtual FTP server now assumes that template files uploaded to it are
encoded in the user's preferred encoding. So if you have Windows gremlins in
your templates, you can set your Character Set preference to "CP1252" and it
will just work. Thanks to Phillip Smith for the report (Bug #124). [David]
=back
=head2 Bug Fixes
=over
=item *
Cover dates are no longer exported via the SOAP interface with the wrong year
(2009) when their dates are in the first three days of 2010. Thanks to Paul
Orrock for the spot (Bug #122) and David Oliveira via Bret Dawson for the fix!
[David]
=item *
Fixed an error in L<Bric::Biz::Contact> where a boolean value was not passed
to the database as a boolean. [David Oliveira]
=item *
Fixed the F<favicon.ico> redirect so that it points to a full URL, not just a
URI path. [David]
=back
=head1 VERSION 1.10.8 (2009-11-14)
=head2 Improvements
=over
=item *
Added the C<sql_type> element to the export of field types from SOAP. This
prevents the SOAP server from having to guess the SQL type of a field type
when updating an element type. Thanks to David Oliveira for the report (Bug
#79). [David]
=item *
The C<AddModule> lines are now commented-out in the F<httpd.conf> generated by
the installer. As near as I can tell from my research, this directive hasn't
been relevant for a long time. Since we require 1.3.34 (ca. 2005), It seems
good enough to comment it out and add a note to uncomment them if necessary
(Bug #33). [David]
=back
=head2 Bug Fixes
=over
=item *
Fixed a compatibility issue in
L<Bric::Dist::Action::DTDValidate|Bric::Dist::Action::DTDValidate>. Apparently
C<get_last_error()> was removed from L<XML::LibXML|XML::LibXML> 1.59 "for
thread-safety reasons." This change backward-compatible with older versions of
XML::LibXML. [David]
=item *
Fixed a bug where a story published but with no resources (files) could cause
an error. Reported by Paul Hyland. [David]
=item *
Fixed a bug where assets could not be checked in and their version numbers
would revert to older ones (Bug #93). [Greg Heo & David]
=item *
Passing a false value for the C<published_version> parameter to the C<list()>
method of
L<Bric::Biz::Asset::Business::Story|Bric::Biz::Asset::Business::Story>,
L<Bric::Biz::Asset::Business::Media|Bric::Biz::Asset::Business::Media>, and
L<Bric::Biz::Asset::Template|Bric::Biz::Asset::Template> now works as
expected, returning the latest version of all stories regardless of their
publish status, rather than no stories at all (Bug #1). [David]
=item *
Template notes are once again editable from the template profile. Thanks to
Aaron Fuleki for the report (Bug #101). [David]
=item *
Emails sent by Bricolage now have the character set specified in the
content-type header when they're text messages. Thanks to Czerny for the
report (Bug #94). [David]
=item *
Paginated results in the element type manager no longer lose top-level element
type results when clicking the links for subsequent pages. Fixed by preventing
the C<list()> method of L<Bric::Biz::ElementType|Bric::Biz::ElementType> from
modifying the parameter hash passed to it, as the modification was persisting
in the list manager's state. Thanks to Aaron Fuleki for the report and for
making the Denison Bricolage installation available to diagnose the problem
(Bug #102). [David]
=item *
Avoid C<//> in distribution file names and/or directories. This caused
problems with FTP distribution, but it seems prudent to fix it for SFTP and
WebDAV, too. [David]
=item *
Fix LDAP 500 Error when a password is blank. Thanks to Aaron Fuleki for the
report (Bug #103). [David]
=item *
The "Site" column no longer comes and goes when searching for categories in
with multiple sites. Thanks to Paul Orrock for the spot (Bug #100). [David]
=back
=head1 VERSION 1.10.7 (2009-03-12)
=head2 Improvements
=over
=item *
The "Save, Save and Stay, and Return" buttons in the Edit Categories screen
of the story profile are moved to the right to better align with the interface
buttons. [Matt Rolf]
=item *
Improved documentation of the C<FTP_UNLINK_BEFORE_MOVE> F<bricolage.conf>
directive with specific reference to SFTP versions. [Alex Krohn]
=item *
Events are now logged using wallclock time rather than transaction start time,
so that multiple events logged in a single transaction can be displayed in the
order they were created, rather than in an arbitrary order. [David]
=item *
C<< Bric::Util::Burner->publish_another >> will now throw an exception if the
document you pass to it is checked out. This is because publishing a story
that's checked out can cause no end of havoc. The solution, as mentioned in
the error message, is to pass C<< published_version => 1 >> when looking for
documents to publish from within templates. [David]
=back
=head3 Bug Fixes
=over
=item *
Fixed a bug where authorization failures in callbacks could lead to a bogus
error, rather than sending a "Permission Denied" error to the user. Reported
by Matt Rolf (Bug #1362). [David]
=item *
Fixed a div nesting bug which was causing buttons to improperly align
depending on pagination choices. [Matt Rolf]
=item *
Fixed a typo in F<bric_soap> that prevented it from compiling. Reported by
Ashlee Caul. [David]
=item *
Fixed a bug where a publish would appear to fail when no publish jobs were
created (for example, when a story is published to a destination with no
associated servers). Reported by Ashlee Caul. [David]
=item *
Fixed a bug where the media type of an uploaded file would not be detected if
its extension had upper-case characters. Reported by Bret Dawson. [Greg Heo]
=item *
Changed the SOAP checkin code so that it is functinally identical to the UI
checkin code. Hoping that this solves the issue with duplicate version
constraint violations. [David]
=item *
Looking up a document or template by version ID no longer fails if the asset
has been checked out and not yet checked back in since that version ID was
created. Among other subtle bugs, this change fixes publishes that failed with
the error message 'Can't call method "get_id" on an undefined value'. Reported
by Scott (Bug #1417). [David]
=item *
Fixed a bug where a scheduled publish can muck with version numbers. Reported
by Matt Rolf, Ashlee Caul, and others. [David]
=item *
Fixed a bug with the virtual FTP server where deploying a template by renaming
it with ".deploy" at the end can cause the template to be stranded on a desk.
Reported by Phillip Smith (Bug # 1372). [David]
=item *
Fixed resource (file name) lookups when publishing and/or previewing documents
so that SQL C<LIKE> wildcard characters are ignored, so as to avoid confusing,
for example, C</foo/bar> with C</foo_bar>. Reported by Scott (Bug # 1368).
[David]
=item *
Files uploaded as images but without any suffix (such as ".jpg") no longer
cause an error. Reported by Scott (Bug # 1409). [David]
=item *
Fixed a bug in the SOAP server where attempting to check in an asset results
in an error. Reported by Ashlee Caul. [David]
=item *
Republishing a story will no longer delete files from that story on preview
servers. Similarly, publishing a media document with a new file but with the same
name as a previously-published version will no longer cause that file to be
deleted from production destinations. This bug has been fixed and refixed
numerous times, but this time tests have been added to make sure that it
I<stays> fixed. Reported by Matt Rolf, Ashlee Caul, and others (Bug # 1368).
[David]
=item *
Fixed a bug in the virtual FTP server so that, when a template is deployed by
uploading it with F<.deploy> appended to its name, it is properly removed from
that deploy desk. Reported by Phillip Smith (Bug #1372). [David]
=item *
The "Logged in as" link at the top of every screen now properly uses SSL when
appropriate. [David]
=item *
Fixed an inconsistency in how the case of file names in media documents was
not always properly set according to the rules for the output channel. This
means that if your media document's output channel requires lowercase URIs,
the URI for the media document will always be lowercase, including the file
name. The file name is also now always consistently URI escaped (Bug #1419).
[David]
=item *
Eliminated a SQL injection vulnerability in the querying for stories, media,
and templates. [David]
=item *
Fixed an issue where a document gets renamed so that a single character is
replaced with an underscore: The old file was not getting removed upon
publish. Reported by Ashlee Caul (Bug #1446). [David]
=item *
The C<bric_media_upload> app works again. [David]
=item *
Response error handling in L<Bric::Dist::Client|Bric::Dist::Client>, which is
used by F<bric_dist_mon>, now properly checks the error status before looking
to see if the response is from a proper distribution handler URL. This makes
it easier to see what problems there are in a failed response, rather than
just bailing without any useful information. [David]
=item *
Fixed a bug introduced in 1.10.7 where the C<get_uri()> method, now properly
URI-escaping itself, was breaking media distribution for media documents with
spaces or other URI-escapeable characters in their file names. Thanks to Scott
Lanning for the spot, and Aaron Fuleki for the kick to get it fixed (Bug #82 /
#1456). [David]
=back
=head1 VERSION 1.10.6 (2008-10-02)
=head2 Improvements
=over
=item *
Added an "TraceEnable off" entry to the config in
L<Bric::App::ApacheConfig|Bric::App::ApacheConfig>> for Apache to neutralize
the potentially malicious use of HTTP TRACE requests.
L<http://www.apacheweek.com/issues/03-01-24> [Dave Beaudet, Alex Krohn]
=item *
Changed an index in the story and media instance tables to improve query
speed. Thanks to Alex Krohn for reporting the performance issue. [David and
Josh Berkus]
=item *
Tweaked F<contrib/bric_media_upload/bric_media_upload> so that it uses
C<bric_soap site list_ids> instead of C<bric_soap category list_ids> for setting
the login cookie. That should be more efficient for installations that have many
more categories than they have sites. [Scott]
=item *
Added C<--use-related-uri> option to C<bric_soap>. [Scott, David]
=item *
For media uploaded through the Story Profile, the cover date now defaults to
the current date/time instead of the cover date of the story. [Scott]
=item *
Added search by Keyword to "Find Media". [Scott]
=item *
When the "Filter by Site Context" preference is turned on, if a user does a
search and then changes the site context, the search results will not change
to the new site until the user submits a new search. Reported by Matt Rolf
(Bug #1337). [David]
=item *
Rewrote (again) the way in which stale files are identified for expiration. It
used to be that Bricolage would look for all resources associated with a given
document and output channel but none of the current jobs. But if a story had
previously been in two output channels and one was removed, Bricolage didn't
look for stale files in that output channel. So now Bricolage asks for a list
of resources associated with a document but none of the jobs created in a
publish, and then expires them all, regardless of URI, output channel, or file
system path. This should fix the expiration of stale files once and for all
(Bug #1351). [David]
=item *
The links to jump to different kinds of assets on My Workspace (or a desk if
it happens to have different kinds of assets) are now generated in a more
sensible manner, and display as text links rather than the ugly images we had
previously. [David]
=item *
The "Checkout" and "Publish Checked" buttons in the "Find" interface for
stories, media, and templates are now displayed on the right-hand side of the
screen, better aligning them with the checkboxes that they're associated with.
Suggested by Matt Rolf (Bug #1361). [David]
=back
=head2 Bug Fixes
=over
=item *
Really fix bug 1232 (saving categories with 3 keywords), that was falsely claimed
to have been fixed in 1.10.3. [Scott]
=item *
Fixed bug 1340, where Preview buttons weren't working within Related assets.
[Scott & David]
=item *
The download link in Media Profile wasn't popping up into a new window on some
browsers due to a typo. Spotted by Tatiana Titova. [Scott]
=item *
In the Contributors Manager, sometimes there aren't "New" links, and this was
causing the latest Locale::Maketext indigestion. Spotted by John Watson. [Scott]
=item *
Fix for bug 1344 (spotted by Ed Guzman) and hopefully better fix for bug 1326
(my suggestion wasn't quite right). The handling of C<< <publish_status> >>
elements in C<bric_soap> has been a bit dodgy. Also changed C<publish_status>
to C<deploy_status> in C<Bric::SOAP::Template>. [Scott]
=item *
The state for Log lists was getting stuck, so if you go to the 2nd page of the
log for a media, say, every log thereafter was the same. Reported by John
Kirkwood. [Scott]
=item *
Fix both parts of bug 1345, Bulk Edit had problems with blank lines. [Scott]
=item *
Fixed CCS bug which was preventing the jump buttons from displaying in Firefox
and Safari. [Matt Rolf]
=item *
Tweaked Bricolage Instance Name display. [Matt Rolf]
=item *
Fixed bug 1343, View Diff wasn't working in IE. Reported by Ed Guzman. [Scott]
=item *
A category with associated with a story different URIs but the same name as
the primary category can now properly be deleted. Reported by Matt Rolf (Bug
#1341). [David]
=item *
Media documents are now properly expired. Reported by Matt Rolf (Bug #1347).
[David]
=item *
The login window no longer shows the username in the top right corner right
after logging out. Reported by Matt Rolf (Bug #1149). [David]
=item *
Fixed a bug uploading a file to a related media element when that related
media element has lockable fields. Reported by Scott (Bug #1353). [David]
=item *
Editing user preferences when SSL is enabled no longer breaks the User
profile. Reported by Scott (Bug#1339). [David]
=item *
Reverting an image media document works again. Reported by Scott Lanning (Bug
#1352). [David]
=item *
The links to jump to different kinds of assets on My Workspace (or a desk if
it happens to have different kinds of assets) will now jump to the proper page
when pagination is turned on. Reported by Matt Rolf (Bug #150). [David]
=back
=head1 VERSION 1.10.5 (2008-04-29)
=head2 Improvements
=over
=item *
Added support for the JS-Quicktags WYSIWYG editor. [Greg Heo]
=item *
API doc corrections reported by Rod Taylor. [Scott]
=item *
Added the C<active_sites> parameter to C<< Bric::Biz::Category->list >>.
[David]
=item *
Categories associated with inactive sites are no longer displayed in the
category manager. Suggested by Jesper Andersen (Bug # 1286). [David]
=item *
Improved the display of related media and story information in the element
list, including links to preview them (Bug # 1293). [David]
=item *
The C<get_related_objects()> method of
L<Bric::Biz::Asset::Business|Bric::Biz::Asset::Business> now only returns
relateds for an alias that are in the same site as the alias, or that are
aliases in the same site of the original relateds. This means that the
automatic publishing of related documents should now properly republish only
relateds in the same site as the alias document being published, rather than
the relateds of the document it aliases (Bug # 1296). [David]
=item *
In the New Story form, the "Slug" field is no longer required if the
C<ALLOW_SLUGLESS_NONFIXED> F<bricolage.conf> directive is disabled and the
C<AUTOGENERATE_SLUG> directive is enabled. It is still required in the normal
story edit form, of course. Suggested by Phillip Smith (Bug # 1306). [David]
=item *
When the C<ENABLE_CATEGORY_BROWSER> F<bricolage.conf> directive is disabled
(as it is by default), allow the categories to be deleted from the story
profile when a user checks the delete checkbox and clicks "Save" or "Check
In", instead of requiring that the "Delete" button be clicked. Suggested by
Phillip Smith (Bug # 1308). [David]
=item *
Object attributes that are edited in textarea fields in the UI and that have a
limited size -- mainly "description" fields -- now have their line endings
converted to Unix line endings. This is so that character counts properly
correspond to the limits set by the UI (think of the character counter in the
story profile for the description field). Reported by Matt Rolf (Bug #1318).
[David]
=item *
Added code to the SOAP interface for creating and updating stories, media, and
templates to throw an exception if publish dates are set when
C<publish_status> is false, or vice versa, rather than waiting for an
exception from the database constraint. Suggested by Scott (Bug # 1326).
[David]
=item *
Template code submitted via the template profile now has non-Unix line endings
converted to Unix line endings. [David]
=item *
The select lists for viewing diffs now set the default "from version" to the
previous version instead of the current version. The current version is still
the default for the "to version". [David]
=item *
Added another directory to search for Apache. [Brian Smith]
=item *
Made the Perl program and library installers (F<lib/Makefile.PL> and
F<bin/Makefile.PL> more intelligent in their support of the C<$BRICOLAGE_ROOT>
configuration variable. [Brian Smith]
=item *
Removed redudant permission granting code from the upgrade script library,
since `make db_grant` is always run by `make db_upgrade`, anyway. [David]
=item *
Eliminated extra processing and a potential error caused by mod_perl
internally creating a sub-request. [David]
=item *
Bricolage no longer throws an exception when Imager fails to open an image
file, which is what happens when Bricolage tries to create a thumbnail. Since
most often the error will be due to a bad media file, it now just sends a
warning to the error log and, if the file was just uploaded by the user, sends
a message to the user, and then continues on its merry way. Suggested by Scott
(Bug #1358). [David]
=back
=head2 Bug Fixes
=over
=item *
Patch for codeselect. [Greg Heo]
=item *
Eliminated the display of the login screen in the side nav when C<NO_TOOLBAR>
is set to false and a session expires. Reported by Matt Rolf (Bug #921).
[David]
=item *
Worked around a bug in SOAP::Lite that only appears when used in conjunction with
LWP 5.810 and later. [David]
=item *
Fixed issue in F<db_grant.pl>, which was trying to grant permissions to a row
count. [Paul Orrock]
=item *
Fixed a bug when publishing or previewing a story with related media where an
error could occur when a media document was published to more than one output
channel with different URIs. Reported by Matt Wlazlo. [David]
=item *
Fixed an issue when a user with publish permission selects "Check in and
Publish" for a newly created document. Reported by Chris Heiland and Matt Rolf
(RT #1261). [David]
=item *
When creating a new media document from a related media element, if the user
clicks "Save" or "Save and Stay" instead of "Create", it will properly create
the related media document. [David]
=item *
When creating creating a new media document by uploading a file in a related
media element, clicking "Save", "Cancel", or "Check in" on the media profile
page now properly redirects back to the related media element profile. [David]
=item *
A template deployed via SOAP now has its C<published_version> attribute
properly set. Reported by Brad Harder (Bug #1288). [David]
=item *
Fixed issue with C<ANY()> not working with the C<exclude_id> parameter to
C<< Bric::Biz::Asset::Business::Story->list() >> (Bug #1303). [Paul and David]
=item *
A search is no longer cached if it results in an error (Bug #1300). [David]
=item *
When creating a new media document by uploading a file to a related media
element, if there is a duplicate URI for the new media document, there will no
longer be an SQL error to prevent the association from going through once the
URI is made unique in the media profile. Spotted by Phillip Smith (Bug #1310).
[David]
=item *
Fixed a bug in the handling of the C<subelement_id> parameter to the C<list>
methods of
L<Bric::Biz::Asset::Business::Story|Bric::Biz::Asset::Business::Story> and
L<Bric::Biz::Asset::Business::Media|Bric::Biz::Asset::Business::Media> where
they were finding stories that had deleted a subelement, because it was still
in the story, but was not active. This means that the advanced search for
stories and media will no longer return stories that have deleted a
subelement. Thanks to Chris Schults for the spot (Bug #1316). [David]
=item *
Fixed a compatibility issue in the installer with newer versions of
L<CPAN|CPAN>. Reported by Jean-Michel Caricand. [David]
=item *
Fixed the fix for the "ident" authentication issue when granting database
permissions. [Rolf Schaufelberger]
=item *
Fixed the display of a field name when confirming changes to a field type.
[David]
=item *
Fixed a bug in the subelement type search display where the last element type
search term was displayed in the search box. It now properly displays the last
subelement type search string, if any. [David]
=item *
Reverted the change in the login redirect originally submitted to fix Bug #
1267. It turns out that this change is effectively the same as just setting
the C<ALWAYS_USE_SSL> F<bricolage.conf> directive to true. So just do that
instead (I've suggested this in L<Bric::Admin|Bric::Admin>, too). [David]
=item *
Fixed C<make clean> so that it cleans out F<bin>. It was leaving junk in
there! [David]
=item *
The code that handles note editing is now more careful to check that the user
has the relevant document checked out before applying the note to it, and uses
a smarter algorithm for caching the document in the user's session. This is an
attempt to fix a bug reported by David Beaudet (Bug # 1265). [David]
=item *
Clicking "Return" when viewing a diff now properly returns the user to the
document or template profile, rather than My Workspace. Thanks to Matt Rolf
for the spot (Bug #1327)! [David]
=item *
Fixed logout exception (hardly noticeable, but there nonetheless) when the
C<ALWAYS_USE_SSL> F<bricolage.conf> directive is enabled, or when a user
checks the "Use SSL" checkbox and logs in. [David]
=back
=head1 VERSION 1.10.4 (2008-03-09)
=head2 Improvements
=over
=item *
Nicer use of the "Bricolage Instance Name" preference, now used on every page.
[Phillip Smith]
=item *
More German corrections. [Steffen Schwigon]
=item *
Documented the need to look at
L<Bric::Biz::Workflow::Parts::Desk|Bric::Biz::Workflow::Parts::Desk> in
L<Bric::Biz::Asset|Bric::Biz::Asset>'s C<set_desk_id()> method. [Greg Heo]
=item *
Fixed documentation of C<Bric::Biz::Element::Container>'s C<delete_elements>
method. [Bret Dawson]
=item *
Include meta-equiv tag in the header to set the charset to be UTF-8 if it is
the only charset loaded in C<$LOAD_CHAR_SETS>. Reported by Daisuke Maki. [Paul
Orrock]
=item *
Added C<--site> option to C<bric_republish>. Suggested by Chauncey Thorn. [David]
=item *
Updated autovacuum documentation in L<Bric::DBA|Bric::DBA>. [David]
=item *
The installer now also checks in F</usr/lib> for libraries, by way of searching
C<$Config{libpth}> as well as C<$Config{loclibpth}>. [Steffen Schwigon]
=item *
The C<publish_status> attribute can now be set in stories and media created
via SOAP. [David]
=item *
The code in code select fields can now access the
C<Bric::Biz::Element::Field|Bric::Biz::Element::Field> object itself using the
variable C<$field>. [Greg Heo]
=item *
When viewing elements when not checked out, whitespace is preserved for IE7,
FF2, and Safari 3, so that reading and copying code is easier. Suggested by
Michael Herring. [Matt Rolf]
=back
=head2 Bug Fixes
=over
=item *
More changes around bug 1267, remove protocol+hostname+port from practically
all redirects (especially "user profiles") in order to allow reverse proxying
to work in Apache2. [Steffen Schwigon]
=item *
The C<$BRICOLAGE_ROOT> environment variable specified in
F<contrib/start_scripts/freebsd> is now exported, allowing it to be properly
passed through to F<bric_apachectl>. [David]
=item *
Fix for bug 1254: checkbox fields are now saved correctly. Reported by
Dawn Buie. [Scott]
=item *
Fix for bug 1294, where Search/Replace in Bulk Edit wasn't working. Reported by
Phillip Smith. [Greg Heo]
=item *
Fix for bug 1269, needed to HTML-escape Notes. Reported by Matt Rolf. [Scott]
=item *
For bug 1284, weren't able to search element_type by output_channel in
C<bric_soap>. Reported by George Harrison. [Scott]
=item *
Bug 1291, added check for max_length of fields when importing in
C<bric_soap>. Reported by Simon Wilcox. [Scott]
=item *
Fix bug 1264, prevent searching on bad dates (like February 31). Reported by
Marshall Roch. [Greg Heo]
=item *
Fix bug 1259, so burn_again works in the TT and PHP burners. Reported by
Adeola Awoyemi. [David and Scott]
=item *
Fix bug 1307, related stories can be unrelated. Reported by Steffen Schwigon.
[Scott]
=item *
Fixed issue with trailing newlines sometimes becoming a part of a
contributor's name. [Greg Heo and Ryan O'Toole]
=item *
Eliminated backslashes in F<sql/Pg/Bric/Biz/Asset/Template.val>, which were
causing warnings under PostgreSQL 8.3. The backslashes were for newlines, so I
just switched to real newlines, instead.
=item *
Fixed a Perl 5.10 warning in
L<Bric::App::Callback::Search|Bric::App::Callback::Search>, where calls to
C<substr> were being properly resolved to C<CORE::substr>.
=item *
Fixed the handling of globs in
L<Bric::Util::Burner::TemplateToolkit|Bric::Util::Burner::TemplateToolkit>. It
seems that in Perl 5.10, package scalars can actually be C<SCALAR>s rather
than `GLOB`s.
=item *
PostgreSQL 8.3 warns when we try to apply inappropriate permissions to
sequences, so we updated F<bin/bric_pgimport> and F<inst/db_grant.pl> to grant
permissions to sequences and tables separately.
=item *
Fix for bugs 1255 and 1271, which addresses pagination problems in searches for
elements, groups, media, and templates. [Matt Rolf and Michael Herring]
=item *
Yet another fix for the "ident" authentication issue, this time for granting
database permissions. [Alex Krohn]
=back
=head1 VERSION 1.10.3 "Finally" (2007-08-09)
=head2 Improvements
=over
=item *
If C<Term::ReadPassword> isn't found during installation, a better error
message is displayed. [Scott]
=item *
Added output channel name to "Could not find template" error message in
the Mason Burner. [Paul Orrock]
=item *
The contributed Linux start script (F<contrib/start_scripts/linux>) now
restarts the C<bric_queued> server when the C<restart> command is used and the
C<bric_queued> server is enabled. It also now also passes a log file name to
C<bric_queued> so that publishing errors can more easily be traced. [David]
=item *
Overriding Mason inheritance in story element templates by setting C<$inherit>
in the C<< <%flags> >> block now works correctly. Thanks to Alexey Sheynuk for
tracking down the issue. Reported by Ashlee Caul. [David]
=item *
Added start script for FreeBSD, F<contrib/start_scripts/freebsd>. [David]
=item *
Updated the Portuguese localizations. [Pedro Custodio]