fix the bse_msg_base entry for bse/admin/generic/accessdenied
[bse.git] / Changes.txt
CommitLineData
1be64ebd
TC
1BSE 0.21 - unreleased
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
bf7dd331
TC
63Bug fixes:
64
65 - thumb.pl would return content types with doubled image/ prefixes,
66 eg. image/image/jpeg
e728024c 67
c710d90c
TC
68 - update BSE::AdminUsers, BSE::ChangePW, BSE::UI::AdminReport to use
69 more modern admin tags
0611c441 70 https://rt4.develop-help.com/Ticket/Display.html?id=1234 (partial)
c710d90c 71 (Adrian Oldham for BSE::ChangePW, BSE::UI::AdminReport)
0611c441 72
5b2aab45
TC
73 - with [site].secureadmin enabled, refreshes to the secure admin url
74 could cause a 500 error.
75
8fb3d3d4
TC
76 - check nomatch fields even for blank fields. Otherwise a field with
77 a LF or CR would not be caught by the dh_one_line validation rule.
78
a8a25cfd
TC
79 - saving a tag from the tag manager without changing the name or
80 deleting a tag that doesn't exist would result in a 500 error.
81 https://rt4.develop-help.com/Ticket/Display.html?id=1287
82
6e56cf75
TC
83 - setting an unfilled order's stage to "shipped" now sets whoFilled
84 and whenFilled for the order.
85 https://rt4.develop-help.com/Ticket/Display.html?id=1286
86
d9b0f5e1
TC
87 - an empty title (but no missing) when saving a user or group file no
88 longer defaults that to the file display name.
89 https://rt4.develop-help.com/Ticket/Display.html?id=1303
90
91 - validation errors are now correctly displayed for adding a user or
92 group file
93 https://rt4.develop-help.com/Ticket/Display.html?id=1302
94
95 - supplying an empty content type when saving a user or group file
96 now resets the content type to that derived from the file's display
97 name.
98 https://rt4.develop-help.com/Ticket/Display.html?id=1304
99
2c2618b0
TC
100 - fix the message id for the "move up a level to section" message in
101 the possible parents drop down.
102
c263b35e
TC
103 - error_img would produce an inline stack trace from an internal
104 error on a failed logon. (logon.pl)
105
8ddd08f7
TC
106Templates:
107
108 - admin/order_list*.tmpl - see the order list re-work above.
109
f8d5dfae 110 - you can now use <:- and -:> as tag delimiters to consume whitespace
b25f4d0f
TC
111 on the left and right of the tag.
112
113 - Squirrel::Template now documents the template syntax more regularly.
114
115 - Squirrel::Template is now much faster in most cases.
116
117 - admin/subscr/detail - the subscription orders iterator now includes
118 the billFirstName, billLastName and filled fields from the
119 order. (Adrian Oldham)
f8d5dfae 120
8ddd08f7
TC
121Internals:
122
123 - added a getCount() method to retrieve a count of matching records.
124
2897cd79 125BSE 0.20 - 22 Dec 2011
6abd8ce8
TC
126========
127
b27af108
TC
128Please read any NOTES below carefully.
129
6abd8ce8
TC
130 - store a truncated card number for credit card payments (both online
131 and email). Reinstate storage of the card holder name in ccName.
132 ccNumberHash is no longer populated.
133
134 - ifNeedDelivery (checkoutnew_base.tmpl) wasn't being reset on order
135 submission.
136
b27af108
TC
137 - the site_users table has been refactored into the bse_siteusers
138 table, removing the bill* fields and adding deliv* fields. Other
139 obsolete fields have also been removed.
140
141 NOTE: To preserve your registered users on upgrade, run the
142 provided schema/site_users_to_members.sql SQL through the mysql
143 tool. This will create entries in bse_siteusers corresponding to
144 those in your original site_users table. You MUST start with an
145 empty bse_siteusers table or the script will throw an error.
146
147 NOTE: Any configuration such as report definitions, query group
148 definitions should now refer to bse_siteusers instead of
149 site_users.
150
151 - Data::UUID 1.148 is now required
152
be262d15
TC
153 - remove target entry for the shop confirm action, which was
154 otherwise removed years ago. RT #1280.
155
fb10b11e
TC
156 - logon now starts a new session, preserving the cart. As a
157 side-effect this logs out the admin user, though this may
158 change. RT #1279.
159
160 - passing a new session id between the SSL and non-SSL versions of
161 the site is now validated. RT #1279.
162
f13d1b43
TC
163 NOTE: This requires that [site].secret be set to a value specific
164 to your site. Running:
165
166 openssl rand -base64 32
167
168 generates a suitable value.
169
fb10b11e
TC
170 - delete the session data for a site users session when they logoff.
171 As a side effect this will log out the admin user.
172
cd1c5bfa
TC
173 - allow dynamic content pages to display flashed messages with the
174 message tag. Note that not all actions flash a message.
175
6abd8ce8
TC
176Template updates:
177
b27af108
TC
178 - checkoutpay_base.tmpl - the name of the cardHolder payment field is
179 now ccName.
180
181 - admin/order_detail.tmpl - order ccPAN can be used to display the
182 truncated card number.
183
184 - user/options_billing_base.tmpl and its generated template have been
185 renamed with s/billing/delivery/ since it now contains delivery
186 details. The link to it from user/options(_base).tmpl has also
187 been updated.
188
189 - user/options_base.tmpl, user/register_base.tmpl,
190 admin/users/(add,edit,view).tmpl have been updated to match the new
191 site users schema.
192
fb10b11e
TC
193 - user/logon_base.tmpl, user/register_base.tmpl - updated the
194 "nothing is more permanent that a temporary solution" link text for
195 logon, register and recover password.
196
cd1c5bfa
TC
197 - shopitem.tmpl - display the flashed message, if any.
198
62e56298
TC
199 - removed the unused checkoutcard and checkoutconfirm templates
200
5f3c8bf8
TC
201 - added admin/generate.tmpl for generate.pl progress output.
202
203 - added admin/makeindex.tmpl for search index verbose output
204
b27af108 205Internals:
6abd8ce8 206
b27af108
TC
207 - Squirrel::Table->make now looks for default_I<colname> when looking
208 for default values for a column.