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