/
Changes.pod
2894 lines (1809 loc) · 79.4 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 VERSION
$Revision$
=head1 DATE
$Date$
=head1 DESCRIPTION
This document lists the Changes to Bricolage introduced with each release.
=head1 VERSION 1.5.1
=head2 Bug Fixes
=over 4
=item *
The default required length for usernames and passwords has been chnaged from
6 to 5. This is to make dealing with the default "admin" login easier.
=item *
It is once again possible to delete elements when they are not associated with
any story or media asset. [David]
=item *
The output channel profile once again only complains that the name of an
output channel is already in use if it happens to be true. [David]
=item *
Bric::Config now does its best to find a workable F<httpd.conf> file when
tests are begin run. [David]
=item *
Subclasses of Bric::Biz::Asset::Business::Media work again, and can have
keywords associated with them, too. [David]
=item *
The "Acces Denied" message is back for when someone tries to access an object
to which they don't have adequate permission. [David]
=item *
Previews of assets that are not checked out work again. [David]
=item *
Workfow and desk permissions relative to the assets they contain are now
restored to their previous behavior. Desks no longer simply inherit the
permission granted on any of the workflows they're in. This issue was resolved
by creating a new secret asset group ID for each workflow. [David]
=item *
The primary output channel is now always enabled by default in elements. This
is to make it much harder to create documents without output channel
associations, an event that can lead to database exceptions. [David]
=item *
The root category now lists itself as being in the "All Categories" group once
in the category profile. [David]
=item *
Assets will no longer appear to randomlly dissappear from workflow. [David]
=back
=head1 VERSION 1.5.1
=head2 New Features
=over 4
=item *
Lots of group-related optimizations. These should greatly improve the speed
with which permissions are checked. [David]
=item *
Improved testing support with lots more tests. Many more remain to be
written. See the new testing documentation in L<Bric::Hacker|Bric::Hacker> for
details. [David]
=item *
Added ability to publish assets at a future time to Bric::SOAP::Workflow.
Includes addition of new C<--publish-date> option to F<bric_soap>. [David]
=item *
A number of default groups where not properly added to the "All Groups"
group. Now they are. [David]
=item *
Added WebDAV mover. [JoE<atilde>o Pedro]
=item *
Fixed the description of the root category in the permissions profile for user
groups so that it properly displays its URI instead of its name. This only
affects the display of the root category in the permisisons profile for people
who installed (rather than upgraded to) Bricolage 1.4.5 or later. [David]
=item *
FTP and File System movers now atomically copy files to their destination
servers. [JoE<atilde>o Pedro]
=item *
Added "All Desks" group for managing the permission to access all desks.
[David]
=item *
Refactored and optimized the code used in the C<lookup()>, C<list()>,
C<list_ids()>, and, where pertinent, C<href()> methods in the following
classes:
=over 4
=item Bric::Biz::Asset
=item Bric::Biz::Asset::Business
=item Bric::Biz::Asset::Business::Story
=item Bric::Biz::Asset::Business::Media
=item Bric::Biz::Asset::Formatting
=item Bric::Biz::AssetType
=item Bric::Biz::ATType
=item Bric::Biz::Category
=item Bric::Biz::Org
=item Bric::Biz::Org::Person
=item Bric::Biz::Org::Source
=item Bric::Biz::OutputChannel
=item Bric::Biz::OutputChannel::Element
=item Bric::Biz::Person
=item Bric::Biz::Person::User
=item Bric::Biz::Workflow
=item Bric::Biz::Workflow::Parts::Desk
=item Bric::Dist::Job
=item Bric::Dist::ServerType
=item Bric::Util::AlertType
=item Bric::Util::Event
=item Bric::Util::Grp
=item Bric::Util::MediaType
=item Bric::Util::Pref
=back
This work will allow permission checking to be much faster for objects of
these classes, as the relevant group IDs are now looked up for each object
when the object is looked up, rather than by a separate select for each
object, one-at-a-time. The changes also include support for a C<grp_id>
parameter to be passed to the C<list()> method of these classes as a way of
allowing a group to return a list of the objects in the group en masse, rather
than one-at-a-time from the member objects of each group. Once similar
optimizations have been made to the Bric::Biz::Assest classes, the necessary
change will be made to Bric::Util::Grp to allow this functionality. [David and
Mark]
=item *
Added object caching to the base class, and calls to it from all classes with
a C<lookup()> method to take advantage of it. The caching is only for the
duration of a request for now, but can be expanded later. [David]
=item *
Updated F<INSTALL.MacOSX> to reflect changes thanks to the new Mac OS X suport
included in libapreq 1.1. [David]
=item *
Added "Super Bulk Edit", which is a bulk edit interface allowing users to
editall of the fields in an element at once using POD-like tags, rather than
just a single repeatable field. [Garth]
=item *
Added help topic for new "Super Bulk Edit" feature. [David]
=item *
Localization and Internationalization support introduced, with a Portuguese
library to complement the default English. Most message strings have been
replaced with calls to the proper localization method. Still to be done are
strings fetched from the database (e.g. events). [ClE<aacute>udio Valente]
=item *
Localization of text images (buttons), Help, and JavaScript message added.
These still need translation, however. [David]
=item *
Added Italian translation. [Marco Ghezzi]
=item *
Documented F<bric_dist_mon> and F<bric_ftpd>. [David]
=item *
Optimized and added tests for Bric::Util::Priv's C<get_acl()> and
C<get_acl_mtime()> methods. These should make the looking up of a user's
access control list faster. [David]
=item *
Added preview link to every element profile of a story profile. [Scott]
=item *
Pared down number of default User groups by eliminating those that relate to
only a single admin menu item. [David]
=item *
Fixed code in Bric::Util::Grp where the C<has_member()> method would fail to
look up an object with an ID of 0. [JoE<atilde>o Pedro]
=item *
Switched exceptions from home-grown to using Exception::Class. [Scott]
=item *
The installer now offers a more meaningful message when it encounters an
existing database and the user doesn't want to drop that existing database.
[David]
=item *
Added category group association, including ability to cascade membership
assignments into subcategories, to category profile. [JoE<atilde>o Pedro]
=item *
The installer will no longer try to load CPAN.pm if all modules are already
installed. Thanks to Ilia Chipitsine for the prodding. [David]
=item *
The "Content" section of story, media, and subelement profiles now attempts to
display a bit of text from the first text field in each listed subelement so
that it's easier to see at a glance which subelement is which. [JoE<atilde>o
Pedro]
=item *
Switched POD testing from Pod::Checker to Test::Pod (using Pod::Simple). Fixed
the POD errors it found, too. [David]
=item *
Test suite now runs all tests with warnings enabled. [David]
=item *
Modified C<< Grp->get_objects() >> to use use the C<grp_id> parameter to
C<list()>, now that support for that parameter has been added to all groupable
classes. Also went through all existing code to make sure that it uses this
approach, rather than constructing the relevant objects one-at-a-time from
each Member object. This should provide a drammatic speedup in many
operations.
=item *
Bric::App::Session now has an C<instance()> public class method to return the
C<%HTML::Mason::Commands::session> hash. [Scott]
=item *
Subelement can now nest. That is, they can contain themselves. Not in a story,
of course, but in the document model (element administration). [David]
=item *
Keywords can now be associated with media assets. [David]
=item *
Templates now have a C<published_version> attribute that properly reflects the
version of a template that was last deployed. This matches what Story and
Media have done since around version 1.3.2, and eliminates some warnings from
the error log. The UI has also been updated to properly show the deploy status
of templates. [David]
=item *
The installer should now properly detect that the Apache "log_config" module
is installed even when it's called "config_log". Thanks to Ilia Chipitsine for
the spot and the diagnostics needed to solve the problem. [David]
=back
=head2 Bug Fixes
=over
=item *
The publish attribute of desks can now be unset. Thanks to Sean Greathouse for
the catch! [David]
=item *
Fixed asset class date parameters to list(). The asset classes were neglecting
to change the dates pased in to list() to database dates before querying the
database. This lead to the wrong stories being returned for everyone not using
UTC as their local time zone. Thanks to Bill Cappel for the spot! [David]
=item *
Fixed bug where expired cookie resulted in a Bric::App::Session
error. [JoE<atilde>o Pedro]
=item *
Bricolage now does more to determine the media type of uploaded media by using
both the Apache media type determination and, failing that, a file name
extension. Thanks to Todd Tyree for the spot. [David]
=item *
An attempt to create a template with the same name and output channel as a
deactivated template now properly tells the user that the template already
exists. [David]
=item *
Fixed indexes for person objects so that they're case-insensitive. [David]
=item *
Fixed problem creating new business assets with SOAP where Bricolage was
trying to associate them with output channels twice, resulting in an SQL
Error. [David]
=item *
Fixed broken index on media type extensions. It was duplicating the index on
the media type names. It has been changed to uniquely index the media type
file name extensions. [David]
=item *
C<< Bric::Biz::Category->get_children >> now properly returns the children for
the root category. Thanks to Sam for the spot! [David]
=item *
Removed C<< Bric::Biz::AssetType->remove >>. It shouldn't be used anywhere,
and might be responsible for the mysterious dissappearance of elements in
general. Thanks to JoE<atilde>o Pedro for the spot. [David]
=item *
Assigned apporpriate permissions to allow the default "Story Editors," "Media
Producers," and "Template Developers" to access the default workflow and desks
relevant to them. They hadn't had that access by default before. [David]
=item *
Changed the plural name of the "Category Group" class from "Category Group" to
"Category Groups". [David]
=item *
Fixed bug introduced in 1.5.0 where stories where checked for duplicate URIs
for output channels that they weren't actually in. Thanks to Bill Cappel for
the spot. [David]
=item *
Fixed duplicate URI checking for media assets so that all output channels a
media asset is in will be checked for dupliate URIs instead of just the
primary URI. [David]
=item *
Fixed bug where all sources were being deactivated from their groups every
time they were saved. [David]
=item *
Fixed bug where the SOAP server would throw an exception when it attempted to
handle elements without subelements. Thanks to Sam Tregar for the report.
[David]
=item *
It is no longer possible to create a story type or media type element without
a primary output channel. [David]
=item *
Deleted output channels no longer show up in the list of output channels to
associate with a destination. Thanks to Alex Epshteyn for the spot! [David]
=item *
The installer now collects Apache configuration data from any C<Include>d
files, as well. Thanks to Alex Wheeler for the spot! [David]
=item *
Media types now can be added to groups. This means that permissions can be set
so that users can administer media types. Previously, only members of the
"Global Admins" group could administer meida types. [David]
=back
=head1 VERSION 1.5.0
=head2 New Features
=over 4
=item *
Added unit testing framework based on L<Test::Class|Test::Class> and executed
by L<Test::Harness|Test::Harness>. Tests can be run after C<make install> by
running C<make test> or C<make devtest>. The former runs tests that access
database data but execute no C<INSERT>, C<UPDATE>, or C<DELETE> commands. The
latter runs tests that can make changes to the database, and are intended to be
a full testing of Bricolage's API. Both make targets can be executed in
verbose mode by passing C<TEST_VERBOSE=1> to the make command. From now on,
all tests will be expected to pass before changes are committed to the
repository. [David]
=item *
Added F<Makefile.PL>. This is mainly a dummy script designed to mimic the
usual way in which Perl modules are installed. It doesn't actually create a
F<Makefile>, but processes the existing one, setting it up to use whatever
Perl was used to execute F<Makefile.PL> itself. The advantage to this is that
the Perl that executes F<Makefile.PL> will be used throughout Bricolage. [David]
=item *
Migrated tests in F<lib/Bric/Util/Grp.pl> to F<t/lib/Bric/Util/Grp/Test.pm>
and F<t/lib/Bric/Util/Grp/DevTest.pm>. [David]
=item *
Added F<t/Bric/Test/PodTest.pm>, which uses L<Pod::Checker|Pod::Checker> to
examine the POD in all the Bricolage modules, scripts, and test modules and
report errors. Currently, all the errors are "TODO" tests, which means that,
technically, they'll pass. But as soon as all existing POD errors are cleaned
out, errors will turn into test failures. This will help us to keep all of our
POD valid. These tests run as a part of C<make devtest>. [David]
=item *
Removed all old-style test scripts. Their contents have been copied into new
unit testing classes. These classes each execute a single test, and the old
testing contents are at the end of the file, after the C<__END__> symbol. Thus
we'll be able to use the old tests to write the new tests. [David]
=item *
Added documentation on merging CVS branches to
L<Bric::Hacker|Bric::Hacker>. [David]
=item *
Removed the URI Format and URI Case preferences and put them into Output
Channel objects, instead. They are now output channel-specific. [David]
=item *
URI format and URI case settings now properly format the URIs of media
objects, too. [David]
=item *
The slug can now be used in the Fixed URI Format. [David]
=item *
The slug can now be used for story file names. The option is supported on an
output channel basis, and will only work for stories that have a slug. [David]
=item *
Added a "and Shelve" option to the "Check In" select list in the button bar on
story, media, and asset pages. When this option is selected, the asset is
checked in and then removed from workflow without publishing. [David]
=item *
Removed the "Checkin/Publish" and "Checkin/Deploy" buttons in asset profiles
and replaced them with new "and Publish" or "and Deploy" options in the "Check
In" select list in the button bar. Doing this collects all the usual Check In
actions in one place and saves us screen real estate! [David]
=item *
Changed the way the "Checkin and Publish" and "Checkin and Deploy" callbacks
work to use existing code in the desk and publish widgets to do the dirty
work. This greatly reduces code duplication. [David]
=item *
Created a new class,
L<Bric::Biz::OutputChannel::Element|Bric::Biz::OutputChannel::Element>, which
is a subclass of L<Bric::Biz::OutputChannel|Bric::Biz::OutputChannel>. This
new class better manages the mapping of output channels to elements than the
old approach did. It also adds a new property, C<enabled>, which will be put
to use shortly. [David]
=item *
Replaced all the custom handling of output channel objects in
L<Bric::Biz::AssetType|Bric::Biz::AssetType> with a new
L<Bric::Util::Coll|Bric::Util::Coll> subclass that does it all. This is a lot
more efficient in terms of programmer time (and probably performance,
too). [David]
=item *
Modified Bric::Biz::Asset::Business to manage the association between business
assets and output channels by making use of the
Bric::Util::Coll::OutputChannel class. It also automatically adds all of the
"enabled" output channels of the element object as initial output channel
associations for new business assets. [David]
=item *
Adds a new property to templates: template types. This property can have one
of three value that correspond to different template types: "Element
Templates" (those associated with elements); Category Templates" (autohandlers
in Mason parlance, category templates to HTML::Template users, and until now
"generic templates" in the UI); and "Utility Templates" (those not associated
with anything, but can be used as includes). [David]
=item *
Templates are now guaranteed to have unique file name/output channel
combintations at the API and database levels. [David]
=item *
For stories on My Workspace, Replaced "Trail" with "Clone". Clicking this link
will make an exact copy of the story with the words "Clone of " prepended to
the story title. [David]
=item *
Got rid of the popup window. Now when the toolbar-less window isn't the
current window, the browser will be redirected to a a Welcome page where users
can click a link to open the new window with the Bricolage UI. [David]
=item *
Improved the interface for the assocation of output channels in Element
Profile. It now uses a list of output channels rather than a double list, and
a radio button to select the primary output channel. Also, each associated
output channel can be marked as "Enabled" or not, indicating whether a new
asset based on the element will by default be associated with that output
channel for publishing. [David]
=item *
On a related note, Stories and Media can now select which output channels to
be published to on a per-story basis as well as which is the primary output
channel, and the selection sticks with each version of a an asset. The list of
available output channels comes from the output channels associated with the
element on which the story or media asset is based. [David]
=item *
Bric::Util::Burner objects have a new property, C<mode>. This property
contains an integer value indicating whether a burner object is currently
publishing, previewing, or checking syntax. The value maps to the
conveniently-named constants "PUBLISH_MODE", "PREVIEW_MODE", and
"SYNTAX_MODE". [David]
=item *
The documentation in the Bric::Util::Burner class has been updated and
improved. [David]
=item *
Arguments can now be passed to the C<display_pages()>, C<display_element()>,
and C<chain_next()> methods of the C<$burner> object in Mason templates. These
arguments are passed to the templates that are executed just as they are if
you'd called C<< $m->comp >>, meaning that you can access their values via the
C<%ARGS> global and in C<< <%args> >> blocks in Mason templates. [David]
=item *
Changed the C<display_pages()> method of Bric::Util::Burner::Mason so that its
first argument can be an anonymous array of the names of different paginated
elements, and then all of those different paginated elements will be burned in
order. This allows a story to have more than one type of paginated
element. [David]
=item *
Added the methods C<prev_page_file()>, C<prev_page_uri()>,
C<next_page_file()>, and C<next_page_uri()> to Bric::Util::Burner. These
methods return the strings representing the file names or URIs of the previous
and next pages of a stsory, relative to the page that is currently being
burned and, in the case of the C<*_uri()> methods, appropriate to the
currently-burning Output Channel. Also updated the
L<Bric::Templates|Bric::Templates> and
L<Bric::AdvTemplates|Bric::AdvTemplates> documents to reflect these
additions. [David]
=item *
Added C<source__id> to list of criteria by which stories can be searched via
the Bric::Biz::Asset::Business::Story C<list()> and C<list_ids()>
methods. [David]
=item *
The Bricolage CSS document is now a static file served by Apache rather than a
Mason component processed by mod_perl. This allows the style sheet to be
cached by the browser so that it doesn't have to request it for every page in
Bricolage. It also cuts down on procesing time, since it doesn't have to be
managed dynamically as a Mason component anymore. Also, all font sizes are now
specified in pixels instead of points, in order to maximize the consistency of
cross-browser font rendering. [David]
=item *
Added a new style for the template profile, so that template code is now
displayed in its textarea box in a monospaced font. [David]
=item *
The main Bricolage JavaScript library has had several other JavaScript
libraries rolled into it, and is now a static file served by Apache rather
than a Mason component processed by mod_perl. This allows the JS to be cached
by the browser so that it doesn't have to request it for every page in
Bricolage. It also cuts down on procesing time, since it doesn't have to be
managed dynamically as a Mason component anymore. [David]
=item *
Added F<bricolage.conf> directive "ALLOW_WORKFLOW_TRANSFER" to allow assets on
shared desks to be able to be transferred across workflows via that shared
desk. [David]
=item *
Changed Bric::Util::Burner to set C<publish_status> after publishing, rather
than before. Thus it is only set if the publish is successful, while at the
same time templates can check C<publish_status> to determine if a story is
being published for the first time. [David]
=item *
Added C<get_more_pages()> method to Bric::Util::Burner::Mason. It returns true
if more pages remain to be burned, and false if not. However it's only
enumerated when C<display_pages()> is being used to output pages. [David]
=item *
Optimized Bric::Biz::Category to get a list of Group IDs for each category as
it is selected from the database. This prevents the C<get_grp_ids()> method
from having to query the database, which was happening for every category
object for which permissions are checked. [Mark & David]
=item *
Added event logging for keywords. [David]
=item *
Changed the code in Bric::Util::Burner::Mason to allow for new Mason burners
to be constructed and used to publish stories from within templates. This is
useful for generating tables of contents and such. [David]
=item *
Added support for the association between business assets and output channels
to the SOAP interface. [David]
=item *
Removed IO::String dependence. [Scott]
=item *
Added a FAQ. [Scott]
=item *
Added a preference for naming the Bricolage instance. [Scott]
=item *
Added search by Category URI to Find Stories. Although one could use the
search by URI feature for this before, it didn't allow for search by secondary
categories. Now stories can be searhed for in both primary and secondary
categories. [David]
=item *
Added the methods C<page_file()> and C<page_uri()> to Bric::Util::Burner. When
passed a page number argument, these methods return the strings representing
the file names or URIs of the given page in the curently-burning story and, in
the case of the C<page_uri()> method, appropriate to the currently-burning
Output Channel. These methods are best used in burners that don't burn one
page at a time, such as Burner::Template. [David]
=item *
Ported to HTML::Mason versions 1.15 and higher. [Scott]
=item *
Added C<make uninstall> support to installation system. [Scott]
=item *
Added C<page_filepath()> method to Bric::Util::Burner. This method allows
burner subclasses to get the name of a file to write to the file system
without needing to figure out the file name themselves. [David]
=item *
Optimized behavior of collections (internal API). Now when an object is
deleted from a collection (for example, when a member is deleted from a
group), all the existing objects in the collection won't first be looked up in
the database. The upshot is that certain parts of Bricolage that rely on
collections, such as desks, should be more responsive. [David]
=back
=head1 VERSION 1.4.6
=head2 Bug Fixes
=over 4
=item *
Bric::SAOP::Handler now properly logs fatal errors that are strings rather than
exceptions. [David]
=item *
Updated Bric::DBA documentation to better reflect PostgreSQL standards.
[Neil Conway]
=item *
Minor documentation correction in Bric::Util::Grp::Parts::Member. [Mark]
=item *
Fixed bug in SOAP interface where container subelements added to a story or
media asset were logged as if the story type element or media type element was
added instead of the appropriate subelement. [David]
=item *
Fixed bug in publish code that was attempting to use the Apache request object
as a media asset. Thanks to John Greene for the spot. [David]
=item *
Fixed bug where an empty or non-numeric <size> element in an imported
media object would cause an SQL error. [Sam]
=item *
The F<bric_apachectl>, F<bric_clean_tmp>, F<bric_dist_mon>, and F<bric_ftpd>
scripts are now smarter about loading Bricolage libraries and reporting
relevant errors when they can't load Bricoalge libraries. Thanks to Geoff
Richards for the patch. [David]
=item *
Category permissions are now properly checked on assets when they're not in
workflow as well as when they are in workflow. This means that if a group of
users is granted permission to access stories in a category, they can now
access those stories even if they're not in workflow. [David]
=item *
The search interface for locating media and story assets to relate to a story
now checks the permissions of the assets found and only displays the assets
for which the user has at least READ permission. Thanks to Sean Greathouse for
the spot. [David]
=item *
Reverting a media asset now properly reverts the media file itself, as well.
[David]
=item *
The "Last" field is now properly highlighted as the default order field when
displaying a list of contributors in the Contributor Manager. [David]
=item *
Contributor Association now includes search options and only
currently-associated contributors are displayed before searching. [David]
=item *
The ability to select different fields by which to sort a list of objects now
works again. [David]
=item *
The installer now checks to make sure that mod_perl is statically compiled
into Apache, since weird things tend to happen when Bricolage uses a DSO
mod_perl. [David]
=item *
Fixed reordering code for subelements. The select list for subelements should
now always have an appropriate value. [David]
=item *
The URI is now properly updated in media assets when some part of the URI is
changed in the UI. Thanks to Sean Greathouse for the spot. [David]
=item *
The Add More widget no longer throws an exception when "Add More" is clicked
and only one field currently exists. This had affected Keywords entry in
stories. Thanks to Sam for the spot. [David]
=item *
Fixed bug where a user could create two assets with the same URI as long as
they were both checked out by that user. Thanks to Shannon Brown for the spot!
[David]
=item *
Date fields can now be unset. That is, if each of the select fields is set to
its label, rather than a value, it'll stay that way. This was first noticed
with the "Expire Date" in stories. Thanks to Philip Fibiger for the spot.
[David]
=item *
Modified installation C<CREATE DATABASE> command to always create the database
with the encoding set to UTF-8 (UNICODE). [David]
=item *
Added instructions for installing readline library to README.MacOSX. [David]
=item *
Fixed some inaccurate image sizes. [Geoff Richards]
=item *
Added missing C<uri> parameter to the possible search options in
C<< Bric::SOAP::Category->list_ids >>. [David]
=back
=head1 VERSION 1.4.5
=head2 Changes
=over 4
=item *
Categories are now displayed by their URIs instead of their names wherever
possible. [David]
=item *
Added "Order" and "OrderDirection" parameters to C<< Bric::Util::Grp->list >>
in order to be able to specify a different column and sort order for getting a
list of groups. [David]
=item *
Improved error handling by the SOAP server. Full errors will now be printed to
the Apache error log, error messages sent back to the client are properly
escaped, and all database transactions for a single request will be rolled
back in the event of an error. [David]
=back
=head2 Bug Fixes
=over 4
=item *
Fixed error message generated from Bric::SOAP::Template->update() to
properly display the category name, rather than "ARRAY(0x9cf43bc)". [Sam]
=item *
The Bricolage SOAP interface will no longer allow the creation of
stories and media with duplicate URIs. [Sam]
=item *
Fixed circular dependency issues when Bricolage modules are used in the
C<PERL_LOADER> F<bricolage.conf> directive. [David]
=item *
Added the root category to the "All Categories" group. It should have been in
that group all along. [David]
=item *
Documentation for C<< Bric::Biz::Workflow->list >> has been improved, and the
method used for finding workflows and desks to put imported assets on in
Bric::SOAP has been simplified. [David]
=item *
Added printing of a message regarding the filenames being processed by
F<bric_soap>'s C<create> and C<update> commands when its C<--verbose> option
is set. [David]
=item *
Setting a story's cover date to a date that causes one of its URIs to conflict
with an existing story's URIs no longer causes an error. Thanks to Sam for the
spot! [David]
=item *
Display of the source was missing from the view Story and Media profiles, but
no longer. [David]
=item *
The correct source is now displayed in the Story and Media edit profiles.
[David]
=item *
An attempt to install Bricolage to use an existing PostgreSQL user no longer
causes an installation error when you decline drop the user. [David]
=item *
The burner no longer fails when it publishes an asset that's not on a
desk. [David]
=item *
SOAP now does the proper thing when deleting assets, removing them from desks
and workflow only if they're on desks and in workflow. [David]
=item *