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