]> git.imager.perl.org - bse.git/blob - Changes.txt
consistently use admin_tags instead of the old set of admin tag methods
[bse.git] / Changes.txt
1 BSE 0.21 - unreleased
2 ========
3
4  - verbose output of generate.pl is now based on the template
5    admin/generate.tmpl
6
7  - add the referer tag to all dynamic pages
8
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
13
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
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
30  - siteusers.pl now flashes all success messages, and success message
31    text is fetched from the messages table
32
33  - added is_released and is_expired methods to Article.  This should
34    be visible to article tags in templates.
35
36  - more consistently use tag_article on the admin side of the site.
37
38 Bug fixes:
39
40  - thumb.pl would return content types with doubled image/ prefixes,
41    eg. image/image/jpeg
42
43  - update BSE::AdminUsers, BSE::ChangePW, BSE::UI::AdminReport to use
44    more modern admin tags
45    https://rt4.develop-help.com/Ticket/Display.html?id=1234 (partial)
46    (Adrian Oldham for BSE::ChangePW, BSE::UI::AdminReport)
47
48  - with [site].secureadmin enabled, refreshes to the secure admin url
49    could cause a 500 error.
50
51  - check nomatch fields even for blank fields.  Otherwise a field with
52    a LF or CR would not be caught by the dh_one_line validation rule.
53
54  - saving a tag from the tag manager without changing the name or
55    deleting a tag that doesn't exist would result in a 500 error.
56    https://rt4.develop-help.com/Ticket/Display.html?id=1287
57
58  - setting an unfilled order's stage to "shipped" now sets whoFilled
59    and whenFilled for the order.
60    https://rt4.develop-help.com/Ticket/Display.html?id=1286
61
62  - an empty title (but no missing) when saving a user or group file no
63    longer defaults that to the file display name.
64    https://rt4.develop-help.com/Ticket/Display.html?id=1303
65
66  - validation errors are now correctly displayed for adding a user or
67    group file
68    https://rt4.develop-help.com/Ticket/Display.html?id=1302
69
70  - supplying an empty content type when saving a user or group file
71    now resets the content type to that derived from the file's display
72    name.
73    https://rt4.develop-help.com/Ticket/Display.html?id=1304
74
75 Templates:
76
77  - admin/order_list*.tmpl - see the order list re-work above.
78
79  - you can now use <:- and -:> as tag delimiters to consume whitespace
80    on the left and right of the tag.  This doesn't occur for wrap, but
81    should for other tags.
82
83 Internals:
84
85  - added a getCount() method to retrieve a count of matching records.
86
87 BSE 0.20 - 22 Dec 2011
88 ========
89
90 Please read any NOTES below carefully.
91
92  - store a truncated card number for credit card payments (both online
93    and email).  Reinstate storage of the card holder name in ccName.
94    ccNumberHash is no longer populated.
95
96  - ifNeedDelivery (checkoutnew_base.tmpl) wasn't being reset on order
97    submission.
98
99  - the site_users table has been refactored into the bse_siteusers
100    table, removing the bill* fields and adding deliv* fields.  Other
101    obsolete fields have also been removed.
102
103    NOTE: To preserve your registered users on upgrade, run the
104    provided schema/site_users_to_members.sql SQL through the mysql
105    tool.  This will create entries in bse_siteusers corresponding to
106    those in your original site_users table.  You MUST start with an
107    empty bse_siteusers table or the script will throw an error.
108
109    NOTE: Any configuration such as report definitions, query group
110    definitions should now refer to bse_siteusers instead of
111    site_users.
112
113  - Data::UUID 1.148 is now required
114
115  - remove target entry for the shop confirm action, which was
116    otherwise removed years ago. RT #1280.
117
118  - logon now starts a new session, preserving the cart.  As a
119    side-effect this logs out the admin user, though this may
120    change.  RT #1279.
121
122  - passing a new session id between the SSL and non-SSL versions of
123    the site is now validated.  RT #1279.
124
125    NOTE: This requires that [site].secret be set to a value specific
126    to your site.  Running:
127
128      openssl rand -base64 32
129
130    generates a suitable value.
131
132  - delete the session data for a site users session when they logoff.
133    As a side effect this will log out the admin user.
134
135  - allow dynamic content pages to display flashed messages with the
136    message tag.  Note that not all actions flash a message.
137
138 Template updates:
139
140  - checkoutpay_base.tmpl - the name of the cardHolder payment field is
141    now ccName.
142
143  - admin/order_detail.tmpl - order ccPAN can be used to display the
144    truncated card number.
145
146  - user/options_billing_base.tmpl and its generated template have been
147    renamed with s/billing/delivery/ since it now contains delivery
148    details.  The link to it from user/options(_base).tmpl has also
149    been updated.
150
151  - user/options_base.tmpl, user/register_base.tmpl,
152    admin/users/(add,edit,view).tmpl have been updated to match the new
153    site users schema.
154
155  - user/logon_base.tmpl, user/register_base.tmpl - updated the
156    "nothing is more permanent that a temporary solution" link text for
157    logon, register and recover password.
158
159  - shopitem.tmpl - display the flashed message, if any.
160
161  - removed the unused checkoutcard and checkoutconfirm templates
162
163 Internals:
164
165  - Squirrel::Table->make now looks for default_I<colname> when looking
166    for default values for a column.