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