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