allow <:- and -:> to strip whitespace
[bse.git] / Changes.txt
CommitLineData
1be64ebd
TC
1BSE 0.21 - unreleased
2========
3
bf7dd331
TC
4 - verbose output of generate.pl is now based on the template
5 admin/generate.tmpl
1be64ebd 6
bf7dd331 7 - add the referer tag to all dynamic pages
1be64ebd 8
b23cb063
TC
9 - added [undeletable articles] to bse.cfg as a supplement to
10 @NO_DELETE. @NO_DELETE is now deprecated and may be removed in a
11 future release of BSE.
12 https://rt4.develop-help.com/Ticket/Display.html?id=1209
1be64ebd 13
595e72db
TC
14 - iterator inlines can now be filtered (Adrian Oldham)
15
16 - added some more extension to content type mappings for video
17 formats (Adrian Oldham)
18
8ddd08f7
TC
19 - the shopadmin order list targets are now much more efficient - they
20 no longer load the entire order table, are paginated, and let the
21 data do the selection of matching records.
22
23 NOTE: this removes some backward compatibility - iterator filters
24 no longer work and a new tag, all_order_count can be used to fetch
25 order counts. Extra search parameters have been provided to filter
26 the results.
27
28 - added a new adminurl2 tag where the second parameter is a target.
29
3d99ca04
TC
30 - siteusers.pl now flashes all success messages, and success message
31 text is fetched from the messages table
32
bf7dd331
TC
33Bug fixes:
34
35 - thumb.pl would return content types with doubled image/ prefixes,
36 eg. image/image/jpeg
e728024c 37
c710d90c
TC
38 - update BSE::AdminUsers, BSE::ChangePW, BSE::UI::AdminReport to use
39 more modern admin tags
0611c441 40 https://rt4.develop-help.com/Ticket/Display.html?id=1234 (partial)
c710d90c 41 (Adrian Oldham for BSE::ChangePW, BSE::UI::AdminReport)
0611c441 42
5b2aab45
TC
43 - with [site].secureadmin enabled, refreshes to the secure admin url
44 could cause a 500 error.
45
8fb3d3d4
TC
46 - check nomatch fields even for blank fields. Otherwise a field with
47 a LF or CR would not be caught by the dh_one_line validation rule.
48
a8a25cfd
TC
49 - saving a tag from the tag manager without changing the name or
50 deleting a tag that doesn't exist would result in a 500 error.
51 https://rt4.develop-help.com/Ticket/Display.html?id=1287
52
6e56cf75
TC
53 - setting an unfilled order's stage to "shipped" now sets whoFilled
54 and whenFilled for the order.
55 https://rt4.develop-help.com/Ticket/Display.html?id=1286
56
d9b0f5e1
TC
57 - an empty title (but no missing) when saving a user or group file no
58 longer defaults that to the file display name.
59 https://rt4.develop-help.com/Ticket/Display.html?id=1303
60
61 - validation errors are now correctly displayed for adding a user or
62 group file
63 https://rt4.develop-help.com/Ticket/Display.html?id=1302
64
65 - supplying an empty content type when saving a user or group file
66 now resets the content type to that derived from the file's display
67 name.
68 https://rt4.develop-help.com/Ticket/Display.html?id=1304
69
8ddd08f7
TC
70Templates:
71
72 - admin/order_list*.tmpl - see the order list re-work above.
73
74Internals:
75
76 - added a getCount() method to retrieve a count of matching records.
77
2897cd79 78BSE 0.20 - 22 Dec 2011
6abd8ce8
TC
79========
80
b27af108
TC
81Please read any NOTES below carefully.
82
6abd8ce8
TC
83 - store a truncated card number for credit card payments (both online
84 and email). Reinstate storage of the card holder name in ccName.
85 ccNumberHash is no longer populated.
86
87 - ifNeedDelivery (checkoutnew_base.tmpl) wasn't being reset on order
88 submission.
89
b27af108
TC
90 - the site_users table has been refactored into the bse_siteusers
91 table, removing the bill* fields and adding deliv* fields. Other
92 obsolete fields have also been removed.
93
94 NOTE: To preserve your registered users on upgrade, run the
95 provided schema/site_users_to_members.sql SQL through the mysql
96 tool. This will create entries in bse_siteusers corresponding to
97 those in your original site_users table. You MUST start with an
98 empty bse_siteusers table or the script will throw an error.
99
100 NOTE: Any configuration such as report definitions, query group
101 definitions should now refer to bse_siteusers instead of
102 site_users.
103
104 - Data::UUID 1.148 is now required
105
be262d15
TC
106 - remove target entry for the shop confirm action, which was
107 otherwise removed years ago. RT #1280.
108
fb10b11e
TC
109 - logon now starts a new session, preserving the cart. As a
110 side-effect this logs out the admin user, though this may
111 change. RT #1279.
112
113 - passing a new session id between the SSL and non-SSL versions of
114 the site is now validated. RT #1279.
115
f13d1b43
TC
116 NOTE: This requires that [site].secret be set to a value specific
117 to your site. Running:
118
119 openssl rand -base64 32
120
121 generates a suitable value.
122
fb10b11e
TC
123 - delete the session data for a site users session when they logoff.
124 As a side effect this will log out the admin user.
125
cd1c5bfa
TC
126 - allow dynamic content pages to display flashed messages with the
127 message tag. Note that not all actions flash a message.
128
6abd8ce8
TC
129Template updates:
130
b27af108
TC
131 - checkoutpay_base.tmpl - the name of the cardHolder payment field is
132 now ccName.
133
134 - admin/order_detail.tmpl - order ccPAN can be used to display the
135 truncated card number.
136
137 - user/options_billing_base.tmpl and its generated template have been
138 renamed with s/billing/delivery/ since it now contains delivery
139 details. The link to it from user/options(_base).tmpl has also
140 been updated.
141
142 - user/options_base.tmpl, user/register_base.tmpl,
143 admin/users/(add,edit,view).tmpl have been updated to match the new
144 site users schema.
145
fb10b11e
TC
146 - user/logon_base.tmpl, user/register_base.tmpl - updated the
147 "nothing is more permanent that a temporary solution" link text for
148 logon, register and recover password.
149
cd1c5bfa
TC
150 - shopitem.tmpl - display the flashed message, if any.
151
62e56298
TC
152 - removed the unused checkoutcard and checkoutconfirm templates
153
b27af108 154Internals:
6abd8ce8 155
b27af108
TC
156 - Squirrel::Table->make now looks for default_I<colname> when looking
157 for default values for a column.