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