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