Age | Commit message (Collapse) | Author |
|
Not necessarily with auth=on.
|
|
|
|
Provide an error message on those. Also add an error message from
libpq when it's available.
|
|
|
|
- Use XSLT_DIR instead of FCGI_CHDIR in the nginx configuration
example, since FCGI_CHDIR is not always available.
- Link the "dynamic websites" note as additional documentation.
|
|
Defaulting to application/xhtml+xml, but the xsl:output media-type
attribute can now be set to change that.
|
|
This eliminates the last of large Haskell dependencies.
The multipart enctype is not supported now.
|
|
|
|
It pulls Aeson, which is a rather large dependency (as does wai-extra,
but it's to be removed too), and its functionality was barely used
anyway.
|
|
It's not that useful for a couple of variables, but an additional
dependency.
|
|
The previously used Network.Wai.Middleware.Timeout is a part of
wai-extra, which has quite a few dependencies. Still depending on it,
but this is a step towards reducing the dependencies.
|
|
Maybe query parameters should instead be passed to XSLTs as a part of
the document to process, but perhaps better to ignore duplicate ones
for now.
|
|
|
|
Another step towards making pgxhtml more lightweight,
dependencies-wise.
|
|
The primary issue is that str:encode-uri function from EXSLT is not
available with HXT (but available with libxml's friends: libxslt and
libexslt, which are generally more complete). This function is
important for HTML documents.
Another reason is libxml being better documented and somewhat easier
to work with.
Yet another reason to switch is the intent to avoid dependencies that
reimplement common functionality, and/or normally get statically
linked.
|
|
- ResultError gets handled now
- No plain textual messages anymore
- An XML namespace is set, though an experimental one
Maybe the serialization should be changed to simplify templating. It
would also be nice to specify the schema (e.g., with relax ng), host
it, and use its URI for the namespace.
|
|
In addition to SqlError.
ResultError handling should be added as well, and perhaps the
resulting XML should be refined.
|
|
Add a security checklist, link automatic-api.
|
|
The initial working version, an example, and brief description are
included.
Error handling and reporting, perhaps HTTP headers, CLI arguments, and
documentation can still be improved, but that's for future commits.
|