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