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