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