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