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