summaryrefslogtreecommitdiffstats
path: root/org/madore/damlengine/WeblogServlet.java
Commit message (Collapse)AuthorAgeFilesLines
* Use JDBC4, in order to use the .isValid() method.David A. Madore2014-10-121-2/+2
| | | | | | Note that the PostgreSQL implementation does not have this in the 9.1-901 version. Try 9.2-1002 instead (sucks: this is not in Debian stable...).
* Check whether database connection is still open.David A. Madore2014-10-121-1/+1
| | | | | Note, however, that a real check needs to use .isValid() which is only available starting from JDBC4. So, we need to move up to this.
* Separate the "has_cut" property from "do_single_page".David A. Madore2014-10-121-1/+1
| | | | | | | | | Note: the following SQL should be used to upgrade the database: ALTER TABLE entries ADD COLUMN has_cut boolean NOT NULL DEFAULT FALSE ; UPDATE entries SET has_cut = (array_length(xpath('.//d:cut-here', content, ARRAY[ARRAY['d', 'http://www.madore.org/~david/NS/daml/']]), 1) NOTNULL) ; -- Check that the following returns nothing: SELECT edate , id FROM entries WHERE has_cut != ( do_single_page NOTNULL ) ;
* Round lastModifiedTime to last second when returning it for HTTP, but not ↵David A. Madore2014-10-121-4/+2
| | | | internally.
* Fix stupid mistake: was passing a null DynamicContext.David A. Madore2014-10-121-1/+1
|
* Make it possible to link to previous and next entries from the single page ↵servletDavid A. Madore2014-10-111-1/+1
| | | | template.
* Allow for a way to access entries without giving number (redirect).David A. Madore2014-10-111-4/+60
|
* Permalinks in servlet system.David A. Madore2014-10-101-3/+8
|
* Add a "dynamic context" global state, and make WeblogSummary stale when too old.David A. Madore2014-10-091-1/+3
|
* Make up my mind as to what URLs should look like.David A. Madore2014-10-091-5/+8
|
* Take into account last modified time of Java class itself.David A. Madore2014-10-071-3/+13
| | | | (This is really unsatisfactory, but can I do better?)
* Implement .getLastModified() on WeblogServlet.David A. Madore2014-10-071-9/+72
|
* WeblogServlet: Take an entry number as input (request path).David A. Madore2014-10-071-1/+13
|
* Move servlet initialization in the .init() method.David A. Madore2014-10-071-6/+10
|
* Introduce at least a semblance of thread-safety.David A. Madore2014-10-051-17/+18
|
* First servlet version that is actually capable of (sometimes) producing some ↵David A. Madore2014-10-051-5/+37
| | | | | | output. Concurrency is completely broken, however.
* Start writing a servlet version. NOT USABLE YET.David A. Madore2014-10-031-0/+36