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