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