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