Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Change how redirects are done (any extra string is allowed, and redirect if ↵ | David A. Madore | 2021-01-05 | 1 | -3/+6 |
| | | | | it doesn't match as expected). | ||||
* | Rename the "do_single_page" database column to "special_name", and update ↵ | David A. Madore | 2014-10-12 | 1 | -5/+5 |
| | | | | | | | Java variables accordingly. The SQL command is: ALTER TABLE entries RENAME do_single_page TO special_name ; | ||||
* | Use JDBC4, in order to use the .isValid() method. | David A. Madore | 2014-10-12 | 1 | -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. Madore | 2014-10-12 | 1 | -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. Madore | 2014-10-12 | 1 | -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. Madore | 2014-10-12 | 1 | -4/+2 |
| | | | | internally. | ||||
* | Fix stupid mistake: was passing a null DynamicContext. | David A. Madore | 2014-10-12 | 1 | -1/+1 |
| | |||||
* | Make it possible to link to previous and next entries from the single page ↵servlet | David A. Madore | 2014-10-11 | 1 | -1/+1 |
| | | | | template. | ||||
* | Allow for a way to access entries without giving number (redirect). | David A. Madore | 2014-10-11 | 1 | -4/+60 |
| | |||||
* | Permalinks in servlet system. | David A. Madore | 2014-10-10 | 1 | -3/+8 |
| | |||||
* | Add a "dynamic context" global state, and make WeblogSummary stale when too old. | David A. Madore | 2014-10-09 | 1 | -1/+3 |
| | |||||
* | Make up my mind as to what URLs should look like. | David A. Madore | 2014-10-09 | 1 | -5/+8 |
| | |||||
* | Take into account last modified time of Java class itself. | David A. Madore | 2014-10-07 | 1 | -3/+13 |
| | | | | (This is really unsatisfactory, but can I do better?) | ||||
* | Implement .getLastModified() on WeblogServlet. | David A. Madore | 2014-10-07 | 1 | -9/+72 |
| | |||||
* | WeblogServlet: Take an entry number as input (request path). | David A. Madore | 2014-10-07 | 1 | -1/+13 |
| | |||||
* | Move servlet initialization in the .init() method. | David A. Madore | 2014-10-07 | 1 | -6/+10 |
| | |||||
* | Introduce at least a semblance of thread-safety. | David A. Madore | 2014-10-05 | 1 | -17/+18 |
| | |||||
* | First servlet version that is actually capable of (sometimes) producing some ↵ | David A. Madore | 2014-10-05 | 1 | -5/+37 |
| | | | | | | output. Concurrency is completely broken, however. | ||||
* | Start writing a servlet version. NOT USABLE YET. | David A. Madore | 2014-10-03 | 1 | -0/+36 |