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