Commit graph

5 commits

Author SHA1 Message Date
f1016b039f Fixed database query execution
When queries are repeated, a method was supposed to be called in order
to check for prepared queries. This method did not exist. Which did not
help.
2012-02-06 18:25:03 +01:00
c73baa8488 Redirection fix
Redirection worked fine as long as the server was using HTTP. HTTPS was
a different matter entirely. Location headers will now be sent with full
protocol, server name and port.
2012-02-06 15:06:16 +01:00
b80ac7ee91 Added really basic error view
Added a terribly ugly view that displays errors (e.g. 404's). It may be
ugly but it's still better than a PHP exception.
2012-02-05 18:22:01 +01:00
29a026e71a Improved URL rewriting support
When this code was written, it did not include an internal URL mapper
and each page was loaded by a PHP script. The internal URL was a recent,
mostly unfinished addition.

Base URL is now supported:
 * for views, when they implement the BaseURLAware interface (a base
class that does what most views will do with that is provided -
BaseURLAwareView),
 * in the menu,
 * in form actions,
 * in boxes (for buttons, and for the contents if the inner view
implements BaseURLAware).
2012-02-05 17:42:53 +01:00
871d28cd16 Importing bits and pieces
This is the initial import based on a few files I had around.
2012-02-05 12:56:54 +01:00