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