summaryrefslogtreecommitdiffstats
path: root/org/madore/damlengine/TodoWrefAttr.java
Commit message (Collapse)AuthorAgeFilesLines
* Rename the "do_single_page" database column to "special_name", and update ↵David A. Madore2014-10-121-2/+2
| | | | | | | Java variables accordingly. The SQL command is: ALTER TABLE entries RENAME do_single_page TO special_name ;
* Separate the "has_cut" property from "do_single_page".David A. Madore2014-10-121-2/+2
| | | | | | | | | 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 ) ;
* Merge branch 'master' into servletDavid A. Madore2014-10-101-37/+44
|\ | | | | | | | | Conflicts: org/madore/damlengine/TodoWrefAttr.java
| * Introduce a WeblogLink class to refactor a lot of code on how links are written.David A. Madore2014-10-101-37/+42
| |
| * Add the principle of a d:wrefcat="@single" type.David A. Madore2014-10-101-4/+6
| |
* | Merge branch 'master' into servletDavid A. Madore2014-10-101-5/+10
|\|
| * Add a warning when d:wrefcat is being ignored.David A. Madore2014-10-101-0/+2
| |
| * Add support for d:wrefcat="@month" to link specifically to an entry in its ↵David A. Madore2014-10-101-5/+8
| | | | | | | | month.
* | Add a "dynamic context" global state, and make WeblogSummary stale when too old.David A. Madore2014-10-091-1/+1
|/
* Support for d:wrefcat attribute to create links inside a category.David A. Madore2013-04-061-0/+13
|
* Make local d:wref links inside single entry pages actually local.David A. Madore2013-04-061-3/+9
|
* Rewrite selection of d:wref target in a hopefully less messy way.David A. Madore2013-04-061-32/+36
|
* Try changing when d:wref refers to the "single page" version of an entry.David A. Madore2013-04-051-4/+7
| | | | Prefer single page version except when link is local.
* Entry single pages: handle permalinks gracefully, populate with attribute.David A. Madore2011-11-121-14/+23
| | | | | | | | | | * A single page is generated from the single-page attribute on <entry> element (stored in database as do_single_page). * Permalink refers to the single page. Same from weblog index. Other links are subject to debate (e.g., what about internal links? now we link to single page when link has a supplement part, but this is debatable).
* Avoid pollution by redundant xmlns attributes.David A. Madore2011-08-281-1/+1
|
* (Preliminary) handling of weblog entry selection and summary.David A. Madore2011-08-281-4/+17
|
* Prepare for weblog selection (and mess everything up).David A. Madore2011-08-281-2/+8
|
* Add weblog-internal-link class to links created by d:wref attribute.David A. Madore2011-08-261-0/+2
|
* Implement comments (talkback) link.David A. Madore2011-08-261-1/+1
|
* Handle d:wref attribute (incompletely).David A. Madore2011-08-261-0/+45