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