Throw exception if the database is not connected when we try to query it.
[awl.git] / ChangeLog
blob7a441a17c0a55936b318bfdf70755aa5bb637639
1 2012-01-13  Andrew McMillan  <andrew@morphoss.com>
2         * [vComponent] Fix handling for vcard peculiarities.
3         * [vComponent] Don't escape all ; in N or ADR.
4         * [vComponent] Allow for property parameters to be multiply set.
5         * [AwlDbDialect] Don't treat binary strings longer than 6 characters as numbers.
6         * Release 0.51
8 2012-01-04  Andrew McMillan  <andrew@morphoss.com>
9         * Release 0.50
11 2011-11-09  Andrew McMillan  <andrew@morphoss.com>
12         * [AWLUtilities] Ensure we flush output buffers on abort.
14 2011-11-02  Andrew McMillan  <andrew@morphoss.com>
15         * [vCalendar] More support for scheduling-related actions.
16         * [vComponent] Minor performance tweaks.
18 2011-10-31  Andrew McMillan  <andrew@morphoss.com>
19         * [vCalendar] Add method to scrub a confidential event.
21 2011-10-24  Andrew McMillan  <andrew@morphoss.com>
22         * [AwlDatabase] Throw an exception when we can't rollback a transaction.
23         * [vCalendar] New functions for updating organizer/attendee status.
25 2011-10-20  Andrew McMillan  <andrew@morphoss.com>
26         * Release 0.49
27         * [vComponent] Allow re-rendering to be forced.
28         * [AwlUtilities] Add a new trace_bug() function which logs a stacktrace.
30 2011-10-18  Andrew McMillan  <andrew@morphoss.com>
31         * [AwlUtilities] timezone_identifiers_list() is only PHP5.2 onwards :-(
33 2011-10-16  Andrew McMillan  <andrew@morphoss.com>
34         * [Session] Support array of server_auth_type since Kerberos can send different ones.
36 2011-10-13  Andrew McMillan  <andrew@morphoss.com>
37         * [various session things] Force cast to text() to handle integer usernames
39 2011-10-05  Andrew McMillan  <andrew@morphoss.com>
40         * [AwlUtilities] Support for gzdecode where PHP does not.
42 2011-09-24  Andrew McMillan  <andrew@morphoss.com>
43         * Release 0.48
45 2011-09-17  Andrew McMillan  <andrew@morphoss.com>
46         * [vCalendar] More ways to get an Olson Time Zone ID.
48 2011-09-15  Andrew McMillan  <andrew@morphoss.com>
49         * [vComponent] Cleaned up the filter handling.
51 2011-09-14  Andrew McMillan  <andrew@morphoss.com>
52         * [vCalendar] Support replacement the last few iCalendar cases that were missing.
53         * Add TZ exception for America/Phoenix and config for doing these as config items.
54         * See http://wiki.davical.org/w/Configuration/settings/timezone_translations
56 2011-09-13  Andrew McMillan  <andrew@morphoss.com>
57         * Fix handling of properties enclosed in double-quotes.
58         * Release 0.47
60 2011-09-08  Andrew McMillan  <andrew@morphoss.com>
61         * [vCalendar] Developing this to be useful for scheduling.
63 2011-09-06  Andrew McMillan  <andrew@morphoss.com>
64         * [vComponent] add GetPValue() method and VCalendar class.
65         * [iCalendar] Remove deprecated() function moved to AwlUtilities.
66         * [AwlQuery] Change phpdoc to include possible values for TransactionState()
67         * [AwlDatabase] Make attempt to nest transactions a fatal error.
68         * [AWLUtlities] Add fatal() and deprecated() functions.
70 2011-06-04  Andrew McMillan  <andrew@morphoss.com>
71         * Fix some errors in filtering on arbitrary iCalendar properties.
72         * Better fallback between pluggable authentication things.
73         * Provide better logging when DB connection fails.
75 2011-02-23  Felix Möller  <mail@felixmoeller.de>
76         * Add support for RPM packages.
78 2011-02-22  Andrew McMillan  <andrew@morphoss.com>
79         * The " character should not be escaped per RFC5545 3.3.11
80         * [AwlCache] Add facility to lock / release something arbitrary.
82 2011-01-21  Andrew McMillan  <andrew@morphoss.com>
83         * Ensure all lines of the output VComponent are \r\n terminated.
85 2011-01-06  Andrew McMillan  <andrew@morphoss.com>
86         * [AuthPlugins] Fix misspelled __LINE__ constant.
87         * Add US/* as allowable timezone names.
89 2011-01-04  Andrew McMillan  <andrew@morphoss.com>
90         * [iCalendar] Add to the list of passed-through values on obfuscation.
91         * [DataUpdate] Move strange character check until after password hashing.
92           Well, well well.  For some years it has been impossible to have '
93           or \ in a password...
95 2011-01-01  Andrew McMillan  <andrew@morphoss.com>
96         * [AwlCache] Added: A Simple Memcached wrapper supporting namespaces.
98 2010-12-28  Andrew McMillan  <andrew@morphoss.com>
99         * The real release 0.46 :-)
100         * Really going to release 0.46 this time...
101         * [classBrowser] Fix checking of ordering fieldname.
102         * [Validation] Remove references to outdated ereg() functions.
103         * [AWLUtlities] Rename regex checking function more appropriately.
105 2010-12-28  Andrew McMillan  <andrew@morphoss.com>
106         * Release 0.46
107         * [classBrowser] Fix checking of ordering fieldname.
108         * [Validation] Remove references to outdated ereg() functions.
109         * [AWLUtlities] Rename regex checking function more appropriately.
110         * [Session] Don't use ereg() for parsing regex.
111         * [XMLDocument] Use __construct style for constructor.
113 2010-12-24  Andrew McMillan  <andrew@morphoss.com>
114         * [AwlQuery] Make the quote() method public/static.
116 2010-12-23  Andrew McMillan  <andrew@morphoss.com>
117         * Convert everything except PgQuery to use AwlQuery
118         * [AwlQuery] Add minor missing functionality so we can switch.
119         * [vComponent] Improve parameter splitting to allow for escapes.
120         * [classEditor] Avoid uninitialised variable warning.
122 2010-11-27  Andrew McMillan  <andrew@morphoss.com>
123         * [vComponent] Add __toString() methods.
124         * [Session] If someone is made inactive then their long-term login should cease.
126 2010-10-15  Andrew McMillan  <andrew@morphoss.com>
127         * [AWLUtilities] Add an awl_version() function.
129 2010-10-10  Andrew McMillan  <andrew@morphoss.com>
130         * [vComponent] It is OK to SetComponents() to an empty set.
132 2010-09-20  Andrew McMillan  <andrew@morphoss.com>
133         * [AWLDbDialect] Quote hex numbers as strings.
135 2010-09-11  Andrew McMillan  <andrew@morphoss.com>
136         * [iCalendar/vComponent/vEvent] UTF8 mode for RFC5545 wrap regexes
138 2010-09-10  Andrew McMillan  <andrew@morphoss.com>
139         * [AWLUtilities] Undeclared globals in force_utf8.
140         * [iCalendar,vEvent,vComponent] Fix the line wrapping in V* components.
142 2010-08-30  Andrew McMillan  <andrew@morphoss.com>
143         * [vComponent] Add a function to return a single property.
144         * Slightly better TZname to Olson matching.
146 2010-08-28  Andrew McMillan  <andrew@morphoss.com>
147         * [vComponent] Various changes in use with VCard.
148           - Enforce upercase property names.
149           - Invert array sense for MaskComponents / MaskProperties to match
150             the way it is with the GetProperties, GetComponents.
152 2010-08-26  Andrew McMillan  <andrew@morphoss.com>
153         * Add some basic filter processing for addressbook-query usage.
154         * Wrap password logging in logs behind $c->dbg['password'] = 1;
156 2010-06-23  Andrew McMillan  <andrew@morphoss.com>
157         * [XMLDocument] Add helper for CardDAVElement.
159 2010-06-17  Andrew McMillan  <andrew@morphoss.com>
160         * [Session] Try and clarify the lost password text a little better.
161         * Don't send multipart/form-data if the form is GET.
163 2010-05-28  Andrew McMillan  <debian@mcmillan.net.nz>
164         * [AwlQuery] Fixing backward compatibility with PgQuery.
165         * [AwlQuery] Fix handling of queries with no parameters.
167 2010-05-27  Andrew McMillan  <andrew@morphoss.com>
168         * [iCalendar] Apply correct wrapping for RFC5545.
169         * [iCalendar] Don't add a trailling space when wrapping for RFC5545.
171 2010-05-19  Andrew McMillan  <andrew@morphoss.com>
172         * [vComponent] Generic base class for handling VCALENDAR, VCARD, etc.
173         * Expose transaction state at query level.
174         * No need to return anything from the schema update.
176 2010-05-09  Andrew McMillan  <andrew@morphoss.com>
177         * [Translation] If gettext is not installed, fall back to English.
179 2010-05-08  Andrew McMillan  <andrew@morphoss.com>
180         * Add Australia to the list of possible TZ continents.
182 2010-04-28  Andrew McMillan  <andrew@morphoss.com>
183         * [AwlQuery] Handle setting an alternative connection somewhat better.
184         * [Session] _CheckLogin needs to access $c for external authentication.
185         * Allow for multiple records to have somehow got into the DB.
186         * Better parameter escaping, including escaping ? for older PHP::PDO.
188 2010-04-20  Andrew McMillan  <andrew@morphoss.com>
189         * Replace deprecated split() calls.
191 2010-04-17  Andrew McMillan  <andrew@morphoss.com>
192         * Release 0.43
194 2010-04-15  Andrew McMillan  <andrew@morphoss.com>
195         * [iCalendar] Add and use a new olson_from_tzstring() function.
197 2010-04-14  Andrew McMillan  <andrew@morphoss.com>
198         * We can close this bug now, since it was fixed a wee while ago.
199         * [AwlQuery] Warn if named parameters are passed in incorrectly.
200         * Fix strange alternate reality definition of aparche_read_header.
202 2010-04-12  Andrew McMillan  <andrew@morphoss.com>
203         * Preparing to release 0.43
204         * The new database libraries should be with the library code.
205           Especially since they're being used for more than just DAViCal now.
206 karora@dave:~/projects/awl$ gitlog-to-changelog --since=2010-04-13
207 2010-09-11  Andrew McMillan  <andrew@morphoss.com>
208         * [vComponent] Tweak wrapping one last time.
209         * [iCalendar/vComponent/vEvent] UTF8 mode for RFC5545 wrap regexes
210           The regexes used for wrapping to 72 characters in line with
211           RFC5545 wrapping rules need to be UTF8 aware, otherwise they
212           will break lines in the middle of UTF8 sequences and we get
213           to fail to put both broken parts into the database.
215 2010-09-10  Andrew McMillan  <andrew@morphoss.com>
216         * [AWLUtilities] Undeclared globals in force_utf8.
217         * Ignore Eclipse droppings.
218         * [iCalendar,vEvent,vComponent] Fix the line wrapping in V* components.
219           The wordwrap was not being done in a repeatably reversible manner
220           due to a misguided effort to make it more readable.  This gives up
221           on readability in favour of reversability.
223 2010-09-02  Andrew McMillan  <andrew@morphoss.com>
224         * [vComponent] Revert that last change.
226 2010-08-30  Andrew McMillan  <andrew@morphoss.com>
227         * [vComponent] Add a function to return a single property.
228         * Slightly better TZname to Olson matching.
230 2010-08-28  Andrew McMillan  <andrew@morphoss.com>
231         * [vComponent] Various changes in use with VCard.
232           - Enforce upercase property names.
233           - Invert array sense for MaskComponents / MaskProperties to match
234             the way it is with the GetProperties, GetComponents.
235           - Generally improve the consistency.
237 2010-08-26  Andrew McMillan  <andrew@morphoss.com>
238         * Add some basic filter processing for addressbook-query usage.
239         * Wrap password logging in logs behind $c->dbg['password'] = 1;
241 2010-06-23  Andrew McMillan  <andrew@morphoss.com>
242         * [XMLDocument] Add helper for CardDAVElement.
244 2010-06-17  Andrew McMillan  <andrew@morphoss.com>
245         * [Session] Try and clarify the lost password text a little better.
246         * Don't send multipart/form-data if the form is GET.
248 2010-05-28  Andrew McMillan  <debian@mcmillan.net.nz>
249         * [AwlQuery] Fixing backward compatibility with PgQuery.
250         * [AwlQuery] Fix handling of queries with no parameters.
252 2010-05-27  Andrew McMillan  <andrew@morphoss.com>
253         * [iCalendar] Apply correct wrapping for RFC5545.
254         * [iCalendar] Don't add a trailling space when wrapping for RFC5545.
256 2010-05-19  Andrew McMillan  <andrew@morphoss.com>
257         * [vComponent] Generic base class for handling VCALENDAR, VCARD, etc.
258         * Expose transaction state at query level.
259         * No need to return anything from the schema update.
261 2010-05-09  Andrew McMillan  <andrew@morphoss.com>
262         * [Translation] If gettext is not installed, fall back to English.
264 2010-05-08  Andrew McMillan  <andrew@morphoss.com>
265         * Add Australia to the list of possible TZ continents.
267 2010-04-28  Andrew McMillan  <andrew@morphoss.com>
268         * [AwlQuery] Handle setting an alternative connection somewhat better.
269         * [Session] _CheckLogin needs to access $c for external authentication.
270         * Allow for multiple records to have somehow got into the DB.
271         * Better parameter escaping, including escaping ? for older PHP::PDO.
273 2010-04-20  Andrew McMillan  <andrew@morphoss.com>
274         * Replace deprecated split() calls.
276 2010-04-17  Andrew McMillan  <andrew@morphoss.com>
277         * Release 0.43
279 2010-04-15  Andrew McMillan  <andrew@morphoss.com>
280         * [iCalendar] Add and use a new olson_from_tzstring() function.
282 2010-04-14  Andrew McMillan  <andrew@morphoss.com>
283         * We can close this bug now, since it was fixed a wee while ago.
284         * [AwlQuery] Warn if named parameters are passed in incorrectly.
285         * Fix strange alternate reality definition of aparche_read_header.
287 2010-04-12  Andrew McMillan  <andrew@morphoss.com>
288         * [AwlQuery] Move new database libraries into AWL
290 2010-04-01  Andrew McMillan  <andrew@morphoss.com>
291         * [classEditor] Tidy up logging.
292         * [DataUpdate] Merge sql_from_post() and sql_from_object().
294 2010-03-21  Andrew McMillan  <andrew@morphoss.com>
295         * [PgQuery] Add forward compatibility rows() method.
297 2010-03-18  Andrew McMillan  <andrew@morphoss.com>
298         * [iCalendar] Provide a better deprecation indication.
299         * [iCalendar] Add explicit need for PgQuery and mark stuff deprecated.
301 2010-03-10  Andrew McMillan  <andrew@morphoss.com>
302         * Switch to LGPL v3 license.
304 2010-03-08  Andrew McMillan  <andrew@morphoss.com>
305         * Release 0.42
306         * [XMLDocument] Return any created node. Also parse namespace in tag.
307           These functions are much more useful if we can actually use any
308           returned reference as another location within a document, so we
309           can have a hold of the root, and then add within each new tag
310           we add, supporting outer -> inner construction approaches along
311           with the existing inner -> outer approach used currently.
313 2010-03-07  Andrew McMillan  <andrew@morphoss.com>
314         * Note that the iCalendar class is DEPRECATED.
315         * Don't try to translate null/empty strings.
317 2010-03-05  Andrew McMillan  <andrew@morphoss.com>
318         * Add a PostToValues() method to update form data from POST.
320 2010-02-23  Andrew McMillan  <andrew@morphoss.com>
321         * Release 0.41
322         * [classEditor] Make Create/Apply form translatable.
323         * [User] Yes/No should be translatable.
325 2010-02-18  Andrew McMillan  <andrew@morphoss.com>
326         * [PgQuery] Don't log connection string on error as it may expose the password.
328 2010-02-17  Andrew McMillan  <andrew@morphoss.com>
329         * [DataUpdate] Translate empty string to NULL for bitfields.
331 2010-02-16  Andrew McMillan  <andrew@morphoss.com>
332         * [AWLUtilities] Add support for a legacy plain MD5 password hash
334 2010-02-01  Andrew McMillan  <andrew@morphoss.com>
335         * Move editor widget class into standard libraries.
337 2010-01-30  Andrew McMillan  <andrew@morphoss.com>
338         * [MenuSet] Remove deprecated backward compatibility with PHP4.
339         * Comply with E_STRICT and friends.
340         * [PgQuery] Make duration() conditional in case it is defined elsewhere.
342 2009-12-28  Andrew McMillan  <andrew@morphoss.com>
343         * [XMLElement] Make all properties protected, provide __tostring()
345 2009-12-27  Andrew McMillan  <andrew@morphoss.com>
346         * [XMLDocument] Fix for NS helpers assigning used NS alias.
348 2009-11-22  Andrew McMillan  <andrew@morphoss.com>
349         * [classBrowser] Add a Title() get/set method.
350         * [AWLUtilties] Support precision in type names.
352 2009-11-17  Andrew McMillan  <andrew@morphoss.com>
353         * [XMLElement] Looking for the xmlns attribute should return it.
355 2009-11-14  Andrew McMillan  <andrew@morphoss.com>
356         * Remove opportunity for unassigned value warning.
357         * [XMLElement] Allow the GetElements() method to be called with no tag.
359 2009-11-11  Andrew McMillan  <andrew@morphoss.com>
360         * [AWLUtilities] More generic implementation of request_headers.
362 2009-11-03  Andrew McMillan  <andrew@morphoss.com>
363         * [iCalendar] Comment a bunch of debugging messages.
365 2009-10-30  Matthias Mohr  <Matthias@Mohrenclan.de>
366         * Add translation features.
368 2009-10-20  Andrew McMillan  <andrew@morphoss.com>
369         * Restructure the external link handling.
370         * Add an option for links to open in a new tab/page.
372 2009-10-16  Andrew McMillan  <andrew@morphoss.com>
373         * [Session] Allow username/e-mail for forgotten password to be case-insensitive.
375 2009-09-25  Andrew McMillan <andrew@morphoss.com>
376         * [DataEntry] Remove uninitialised warning possibility.
377         * [XMLDocument] Remove uninitialised warning possibilty.
378         * [iCalendar] Remove deprecated function.  Add some convenience methods.
379         * [classBrowser] Add new replaceable variable for row even/odd ness.
381 2009-09-07  Andrew McMillan <andrew@morphoss.com>
382         * [AWLUtilities] Add a fix_latin() function to convert mixed charset into UTF-8.
384 2008-08-25 Andrew McMillan <andrew@morphoss.com>
386         * [PgQuery] Extend clean_string to recurse through an array.
387         * [DataUpdate] When value for an integer is null or empty string, use db NULL.
389 2009-06-25  Andrew McMillan <andrew@morphoss.com>
390         * [PgQuery] Add the ability for PgQuery to search a non-default schema.
392 2009-06-22  Andrew McMillan <andrew@morphoss.com>
394         * Release 0.37