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