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