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