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