.set treated unimplemented values as an error
[bse.git] / Changes.txt
CommitLineData
fc3434bd
TC
1BSE 0.23 - unreleased
2========
3
4 - modify Generate::* classes to build templates by filename instead
5 of reading them into memory. This will allow caching by
6 Squirrel::Template.
7 https://rt4.develop-help.com/Ticket/Display.html?id=1341
8
9 - add [basic].cache_templates_locally to configure Squirrel::Template
10 to cache templates in memory. This removes the overhead of
11 (de-)serializing from/to an external cache, but may increase memory
12 use.
13
0af36ae1
TC
14 - tags can now depend on a tag from another category being selected
15 before being displayed.
16
17 - lookups in sql_statements are now cached.
18 https://rt4.develop-help.com/Ticket/Display.html?id=1352
19
3e9576c3 20BSE 0.22 - 08 Jun 2012
1e60d3c4
TC
21========
22
673086da
TC
23Bug fixes:
24
25 - the search index builder was ignoring configured field scores.
26
26b58957
TC
27 - the customer is no longer asked to select a shipper and shipping is
28 set to zero for orders where all products have zero weight.
29 https://rt4.develop-help.com/Ticket/Display.html?id=1328
30
f2df73fd
TC
31 - template engine: template tags implemented as a literal were no
32 replaced when that literal was false. (4a446ac3)
33 https://rt4.develop-help.com/Ticket/Display.html?id=1342
34
82d7cc3e
TC
35 - the body text markup doclink[] accepts link aliases, but didn't
36 allow for "-" in the alias. All "-" and document aliases are
37 permitted.
38
5287a8fd
TC
39 - shopadmin order_paid and order_unpaid are now recorded in the audit
40 log instead of being added to special instructions.
41 https://rt4.develop-help.com/Ticket/Display.html?id=1326
42
24185186
TC
43 - the scale() thumbnail operator, when used with a background would
44 paste rather than rubthrough() the source, leaving tranparent areas
45 black. If a fill is supplied, it is now always used for
46 transparent images.
47
2549999a
TC
48 - generate the correct refresh URL when the user isn't logged on
49 attempting to request an admin page.
50
673086da
TC
51Enhancements:
52
1e60d3c4
TC
53 - automatic image insertion can now be disabled globally or on a
54 per-article basis.
55 https://rt4.develop-help.com/Ticket/Display.html?id=1331
56
513aad53
TC
57 - templating re-re-work:
58 - still backward compatible
59 - new, faster, more regular processing internal to tags:
60 - variables supplied by code, similarly to TT, Mason
61 - macro definitions
62 - call macros or files with parameters and localized variables
63 - integration into BSE itself still limited, but one step at a
64 time.
65
200069c7
TC
66 - briefly documented bsexlsprod.pl (site/docs/bse_import.pod)
67
68 - bsexlsprod.pl can now update article tags
69
70 - bsexlsprod.pl can now update tiered pricing
71
0190baba
TC
72 - make the eimage variable available on the admin/image_edit template
73 and use it to display a thumbnail.
74 https://rt4.develop-help.com/Ticket/Display.html?id=1290
75
a45d595e
TC
76 - add the Courier::FixedAU shipping driver.
77
5287a8fd
TC
78 - that an order was manually paid is now recorded separately from the
79 payment type.
80 https://rt4.develop-help.com/Ticket/Display.html?id=1325
81
82 - the shopadmin order_paid target now accepts a paymentType variable
83 to optionally set a new payment type on manual payment
84 https://rt4.develop-help.com/Ticket/Display.html?id=1325
85
86 - the shopadmin order_paid and order_unpaid now require csfrp tokens.
87
1b37733d
TC
88 - siteuser admin view and edit targets now also accept userId to
89 identify the user.
90 https://rt4.develop-help.com/Ticket/Display.html?id=1351
91
29ff344f
TC
92Templates:
93
94 - admin/order_detail.tmpl - the product tag now uses tag_article as
95 it should.
96
5287a8fd
TC
97 - admin/order_detail.tmpl - added order, payment_types and
98 payment_type_desc as template variables.
99
a2ed0315
TC
100 - admin/subscr/list - isubscription is now an object tag, giving
101 access to the is_removable method
102 https://rt4.develop-help.com/Ticket/Display.html?id=1323
103
104 - admin/subscr/edit, admin/subscr/detail - subscription is now an
105 object tag
106
e860a1d9 107BSE 0.21 - 07 Mar 2012
1be64ebd
TC
108========
109
b25f4d0f
TC
110 - Squirrel::Template has largely been rewritten performing a parsing
111 then a processing step rather than doing many, many s/// over the
112 template text.
113
bf7dd331
TC
114 - verbose output of generate.pl is now based on the template
115 admin/generate.tmpl
1be64ebd 116
bf7dd331 117 - add the referer tag to all dynamic pages
1be64ebd 118
b23cb063
TC
119 - added [undeletable articles] to bse.cfg as a supplement to
120 @NO_DELETE. @NO_DELETE is now deprecated and may be removed in a
121 future release of BSE.
122 https://rt4.develop-help.com/Ticket/Display.html?id=1209
1be64ebd 123
595e72db
TC
124 - iterator inlines can now be filtered (Adrian Oldham)
125
126 - added some more extension to content type mappings for video
127 formats (Adrian Oldham)
128
8ddd08f7
TC
129 - the shopadmin order list targets are now much more efficient - they
130 no longer load the entire order table, are paginated, and let the
131 data do the selection of matching records.
132
133 NOTE: this removes some backward compatibility - iterator filters
134 no longer work and a new tag, all_order_count can be used to fetch
135 order counts. Extra search parameters have been provided to filter
136 the results.
137
138 - added a new adminurl2 tag where the second parameter is a target.
139
3d99ca04
TC
140 - siteusers.pl now flashes all success messages, and success message
141 text is fetched from the messages table
142
54fada18
TC
143 - added is_released and is_expired methods to Article. This should
144 be visible to article tags in templates.
145
41cbde00
TC
146 - more consistently use tag_article on the admin side of the site.
147
c4df989c
TC
148 - make tag_article smarter so it can call more methods
149
47e33eae
TC
150 - consistently use admin_tags instead of the old collection of admin
151 tag methods.
152
a8d74b1e
TC
153 - tag_object (used for object style tags) now checks
154 restricted_method() if implemented for the object.
155
156 - the editor file iterator is now an object iterator, and the efile
157 tag on the file edit page is now an object tag
158
159 - add file_exists to BSE::TB::Article::File
160 https://rt4.develop-help.com/Ticket/Display.html?id=1288
161
5f3c8bf8
TC
162 - refactored makeIndex.pl into makeIndex.pl (web) and
163 util/bse_makeindex.pl (console).
164 Output from these is now encoded using the default BSE encoding.
165 makeIndex.pl can now produce HTML output using admin/makeindex.tmpl
166 The bse_make_index background process now uses the console version.
167 https://rt4.develop-help.com/Ticket/Display.html?id=1301
168
ec5a2133
TC
169 - admin-mode article links now ignore the admin value stored in the
170 article record and always return a link to admin.pl for that
171 article.
172
8329ce1b
TC
173 - add a missing comma to BSE::UI, preventing a warning.
174
bf7dd331
TC
175Bug fixes:
176
177 - thumb.pl would return content types with doubled image/ prefixes,
178 eg. image/image/jpeg
e728024c 179
c710d90c
TC
180 - update BSE::AdminUsers, BSE::ChangePW, BSE::UI::AdminReport to use
181 more modern admin tags
0611c441 182 https://rt4.develop-help.com/Ticket/Display.html?id=1234 (partial)
c710d90c 183 (Adrian Oldham for BSE::ChangePW, BSE::UI::AdminReport)
0611c441 184
5b2aab45
TC
185 - with [site].secureadmin enabled, refreshes to the secure admin url
186 could cause a 500 error.
187
8fb3d3d4
TC
188 - check nomatch fields even for blank fields. Otherwise a field with
189 a LF or CR would not be caught by the dh_one_line validation rule.
190
a8a25cfd
TC
191 - saving a tag from the tag manager without changing the name or
192 deleting a tag that doesn't exist would result in a 500 error.
193 https://rt4.develop-help.com/Ticket/Display.html?id=1287
194
6e56cf75
TC
195 - setting an unfilled order's stage to "shipped" now sets whoFilled
196 and whenFilled for the order.
197 https://rt4.develop-help.com/Ticket/Display.html?id=1286
198
d9b0f5e1
TC
199 - an empty title (but no missing) when saving a user or group file no
200 longer defaults that to the file display name.
201 https://rt4.develop-help.com/Ticket/Display.html?id=1303
202
203 - validation errors are now correctly displayed for adding a user or
204 group file
205 https://rt4.develop-help.com/Ticket/Display.html?id=1302
206
207 - supplying an empty content type when saving a user or group file
208 now resets the content type to that derived from the file's display
209 name.
210 https://rt4.develop-help.com/Ticket/Display.html?id=1304
211
2c2618b0
TC
212 - fix the message id for the "move up a level to section" message in
213 the possible parents drop down.
214
c263b35e
TC
215 - error_img would produce an inline stack trace from an internal
216 error on a failed logon. (logon.pl)
217
8ddd08f7
TC
218Templates:
219
220 - admin/order_list*.tmpl - see the order list re-work above.
221
f8d5dfae 222 - you can now use <:- and -:> as tag delimiters to consume whitespace
b25f4d0f
TC
223 on the left and right of the tag.
224
225 - Squirrel::Template now documents the template syntax more regularly.
226
227 - Squirrel::Template is now much faster in most cases.
228
229 - admin/subscr/detail - the subscription orders iterator now includes
230 the billFirstName, billLastName and filled fields from the
231 order. (Adrian Oldham)
f8d5dfae 232
8ddd08f7
TC
233Internals:
234
235 - added a getCount() method to retrieve a count of matching records.
236
2897cd79 237BSE 0.20 - 22 Dec 2011
6abd8ce8
TC
238========
239
b27af108
TC
240Please read any NOTES below carefully.
241
6abd8ce8
TC
242 - store a truncated card number for credit card payments (both online
243 and email). Reinstate storage of the card holder name in ccName.
244 ccNumberHash is no longer populated.
245
246 - ifNeedDelivery (checkoutnew_base.tmpl) wasn't being reset on order
247 submission.
248
b27af108
TC
249 - the site_users table has been refactored into the bse_siteusers
250 table, removing the bill* fields and adding deliv* fields. Other
251 obsolete fields have also been removed.
252
253 NOTE: To preserve your registered users on upgrade, run the
254 provided schema/site_users_to_members.sql SQL through the mysql
255 tool. This will create entries in bse_siteusers corresponding to
256 those in your original site_users table. You MUST start with an
257 empty bse_siteusers table or the script will throw an error.
258
259 NOTE: Any configuration such as report definitions, query group
260 definitions should now refer to bse_siteusers instead of
261 site_users.
262
263 - Data::UUID 1.148 is now required
264
be262d15
TC
265 - remove target entry for the shop confirm action, which was
266 otherwise removed years ago. RT #1280.
267
fb10b11e
TC
268 - logon now starts a new session, preserving the cart. As a
269 side-effect this logs out the admin user, though this may
270 change. RT #1279.
271
272 - passing a new session id between the SSL and non-SSL versions of
273 the site is now validated. RT #1279.
274
f13d1b43
TC
275 NOTE: This requires that [site].secret be set to a value specific
276 to your site. Running:
277
278 openssl rand -base64 32
279
280 generates a suitable value.
281
fb10b11e
TC
282 - delete the session data for a site users session when they logoff.
283 As a side effect this will log out the admin user.
284
cd1c5bfa
TC
285 - allow dynamic content pages to display flashed messages with the
286 message tag. Note that not all actions flash a message.
287
6abd8ce8
TC
288Template updates:
289
b27af108
TC
290 - checkoutpay_base.tmpl - the name of the cardHolder payment field is
291 now ccName.
292
293 - admin/order_detail.tmpl - order ccPAN can be used to display the
294 truncated card number.
295
296 - user/options_billing_base.tmpl and its generated template have been
297 renamed with s/billing/delivery/ since it now contains delivery
298 details. The link to it from user/options(_base).tmpl has also
299 been updated.
300
301 - user/options_base.tmpl, user/register_base.tmpl,
302 admin/users/(add,edit,view).tmpl have been updated to match the new
303 site users schema.
304
fb10b11e
TC
305 - user/logon_base.tmpl, user/register_base.tmpl - updated the
306 "nothing is more permanent that a temporary solution" link text for
307 logon, register and recover password.
308
cd1c5bfa
TC
309 - shopitem.tmpl - display the flashed message, if any.
310
62e56298
TC
311 - removed the unused checkoutcard and checkoutconfirm templates
312
5f3c8bf8
TC
313 - added admin/generate.tmpl for generate.pl progress output.
314
315 - added admin/makeindex.tmpl for search index verbose output
316
b27af108 317Internals:
6abd8ce8 318
b27af108
TC
319 - Squirrel::Table->make now looks for default_I<colname> when looking
320 for default values for a column.