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