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