chnage note for 4340de9
[bse.git] / Changes.txt
1 BSE 0.22 - unreleased
2 ========
3
4 Bug fixes:
5
6  - the search index builder was ignoring configured field scores.
7
8  - the customer is no longer asked to select a shipper and shipping is
9    set to zero for orders where all products have zero weight.
10    https://rt4.develop-help.com/Ticket/Display.html?id=1328
11
12 Enhancements:
13
14  - automatic image insertion can now be disabled globally or on a
15    per-article basis.
16    https://rt4.develop-help.com/Ticket/Display.html?id=1331
17
18 Templates:
19
20  - admin/order_detail.tmpl - the product tag now uses tag_article as
21    it should.
22
23 BSE 0.21 - 07 Mar 2012
24 ========
25
26  - Squirrel::Template has largely been rewritten performing a parsing
27    then a processing step rather than doing many, many s/// over the
28    template text.
29
30  - verbose output of generate.pl is now based on the template
31    admin/generate.tmpl
32
33  - add the referer tag to all dynamic pages
34
35  - added [undeletable articles] to bse.cfg as a supplement to
36    @NO_DELETE.  @NO_DELETE is now deprecated and may be removed in a
37    future release of BSE.
38    https://rt4.develop-help.com/Ticket/Display.html?id=1209
39
40  - iterator inlines can now be filtered (Adrian Oldham)
41
42  - added some more extension to content type mappings for video
43    formats (Adrian Oldham)
44
45  - the shopadmin order list targets are now much more efficient - they
46    no longer load the entire order table, are paginated, and let the
47    data do the selection of matching records.
48
49    NOTE: this removes some backward compatibility - iterator filters
50    no longer work and a new tag, all_order_count can be used to fetch
51    order counts.  Extra search parameters have been provided to filter
52    the results.
53
54  - added a new adminurl2 tag where the second parameter is a target.
55
56  - siteusers.pl now flashes all success messages, and success message
57    text is fetched from the messages table
58
59  - added is_released and is_expired methods to Article.  This should
60    be visible to article tags in templates.
61
62  - more consistently use tag_article on the admin side of the site.
63
64  - make tag_article smarter so it can call more methods
65
66  - consistently use admin_tags instead of the old collection of admin
67    tag methods.
68
69  - tag_object (used for object style tags) now checks
70    restricted_method() if implemented for the object.
71
72  - the editor file iterator is now an object iterator, and the efile
73    tag on the file edit page is now an object tag
74
75  - add file_exists to BSE::TB::Article::File
76    https://rt4.develop-help.com/Ticket/Display.html?id=1288
77
78  - refactored makeIndex.pl into makeIndex.pl (web) and
79    util/bse_makeindex.pl (console).
80    Output from these is now encoded using the default BSE encoding.
81    makeIndex.pl can now produce HTML output using admin/makeindex.tmpl
82    The bse_make_index background process now uses the console version.
83    https://rt4.develop-help.com/Ticket/Display.html?id=1301
84
85  - admin-mode article links now ignore the admin value stored in the
86    article record and always return a link to admin.pl for that
87    article.
88
89  - add a missing comma to BSE::UI, preventing a warning.
90
91 Bug fixes:
92
93  - thumb.pl would return content types with doubled image/ prefixes,
94    eg. image/image/jpeg
95
96  - update BSE::AdminUsers, BSE::ChangePW, BSE::UI::AdminReport to use
97    more modern admin tags
98    https://rt4.develop-help.com/Ticket/Display.html?id=1234 (partial)
99    (Adrian Oldham for BSE::ChangePW, BSE::UI::AdminReport)
100
101  - with [site].secureadmin enabled, refreshes to the secure admin url
102    could cause a 500 error.
103
104  - check nomatch fields even for blank fields.  Otherwise a field with
105    a LF or CR would not be caught by the dh_one_line validation rule.
106
107  - saving a tag from the tag manager without changing the name or
108    deleting a tag that doesn't exist would result in a 500 error.
109    https://rt4.develop-help.com/Ticket/Display.html?id=1287
110
111  - setting an unfilled order's stage to "shipped" now sets whoFilled
112    and whenFilled for the order.
113    https://rt4.develop-help.com/Ticket/Display.html?id=1286
114
115  - an empty title (but no missing) when saving a user or group file no
116    longer defaults that to the file display name.
117    https://rt4.develop-help.com/Ticket/Display.html?id=1303
118
119  - validation errors are now correctly displayed for adding a user or
120    group file
121    https://rt4.develop-help.com/Ticket/Display.html?id=1302
122
123  - supplying an empty content type when saving a user or group file
124    now resets the content type to that derived from the file's display
125    name.
126    https://rt4.develop-help.com/Ticket/Display.html?id=1304
127
128  - fix the message id for the "move up a level to section" message in
129    the possible parents drop down.
130
131  - error_img would produce an inline stack trace from an internal
132    error on a failed logon. (logon.pl)
133
134 Templates:
135
136  - admin/order_list*.tmpl - see the order list re-work above.
137
138  - you can now use <:- and -:> as tag delimiters to consume whitespace
139    on the left and right of the tag.
140
141  - Squirrel::Template now documents the template syntax more regularly.
142
143  - Squirrel::Template is now much faster in most cases.
144
145  - admin/subscr/detail - the subscription orders iterator now includes
146    the billFirstName, billLastName and filled fields from the
147    order. (Adrian Oldham)
148
149 Internals:
150
151  - added a getCount() method to retrieve a count of matching records.
152
153 BSE 0.20 - 22 Dec 2011
154 ========
155
156 Please read any NOTES below carefully.
157
158  - store a truncated card number for credit card payments (both online
159    and email).  Reinstate storage of the card holder name in ccName.
160    ccNumberHash is no longer populated.
161
162  - ifNeedDelivery (checkoutnew_base.tmpl) wasn't being reset on order
163    submission.
164
165  - the site_users table has been refactored into the bse_siteusers
166    table, removing the bill* fields and adding deliv* fields.  Other
167    obsolete fields have also been removed.
168
169    NOTE: To preserve your registered users on upgrade, run the
170    provided schema/site_users_to_members.sql SQL through the mysql
171    tool.  This will create entries in bse_siteusers corresponding to
172    those in your original site_users table.  You MUST start with an
173    empty bse_siteusers table or the script will throw an error.
174
175    NOTE: Any configuration such as report definitions, query group
176    definitions should now refer to bse_siteusers instead of
177    site_users.
178
179  - Data::UUID 1.148 is now required
180
181  - remove target entry for the shop confirm action, which was
182    otherwise removed years ago. RT #1280.
183
184  - logon now starts a new session, preserving the cart.  As a
185    side-effect this logs out the admin user, though this may
186    change.  RT #1279.
187
188  - passing a new session id between the SSL and non-SSL versions of
189    the site is now validated.  RT #1279.
190
191    NOTE: This requires that [site].secret be set to a value specific
192    to your site.  Running:
193
194      openssl rand -base64 32
195
196    generates a suitable value.
197
198  - delete the session data for a site users session when they logoff.
199    As a side effect this will log out the admin user.
200
201  - allow dynamic content pages to display flashed messages with the
202    message tag.  Note that not all actions flash a message.
203
204 Template updates:
205
206  - checkoutpay_base.tmpl - the name of the cardHolder payment field is
207    now ccName.
208
209  - admin/order_detail.tmpl - order ccPAN can be used to display the
210    truncated card number.
211
212  - user/options_billing_base.tmpl and its generated template have been
213    renamed with s/billing/delivery/ since it now contains delivery
214    details.  The link to it from user/options(_base).tmpl has also
215    been updated.
216
217  - user/options_base.tmpl, user/register_base.tmpl,
218    admin/users/(add,edit,view).tmpl have been updated to match the new
219    site users schema.
220
221  - user/logon_base.tmpl, user/register_base.tmpl - updated the
222    "nothing is more permanent that a temporary solution" link text for
223    logon, register and recover password.
224
225  - shopitem.tmpl - display the flashed message, if any.
226
227  - removed the unused checkoutcard and checkoutconfirm templates
228
229  - added admin/generate.tmpl for generate.pl progress output.
230
231  - added admin/makeindex.tmpl for search index verbose output
232
233 Internals:
234
235  - Squirrel::Table->make now looks for default_I<colname> when looking
236    for default values for a column.