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