• last updated 3 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Add missing constraint at creation

improve .adp quoting, fix spelling, whitespace changes

Fix upgrade timing

Make guid,source_id unique for na_items

    • -0
    • +5
    ./sql/postgresql/upgrade-0.9d-0.10d.sql
Whitespace changes + Editor hints

Rework news source update to simplify the logics and handle updating of existing news items (passes tests)

Move normalization of the pub date closer to its source

New test checking behavior of the news aggregator

This currently fails for what concerns updating an existing news item

    • -0
    • +90
    ./tcl/test/news-aggregator-test-procs.tcl
Use existing api

Prepend source URL to the one of the news item in case this is not an absolute URL

Add test for the news aggregator and feed-parser

news-aggregator will reuse basic test from the feed parser

    • -0
    • +46
    ./tcl/test/news-aggregator-test-procs.tcl
  1. … 1 more file in changeset.
Fix subscription form error (left behind from previous commit)

Trim whitespace

Repair form validation of URL

New test to check whether configured news feeds look ok

Trim whitespace

Replace deprecated header_stuff with head

Give some feedback in case of error

Repair broken opml export, exploit new api to streamline query, fix typo

    • -17
    • +0
    ./tcl/aggregator-procs-postgresql.xql
Return 0 also when a default is there but is the empty string

Bring other sql inline, simplify idioms

    • -49
    • +0
    ./tcl/aggregator-procs-postgresql.xql
Bring sql for this proc inline, remove unused statements

    • -41
    • +0
    ./tcl/aggregator-procs-postgresql.xql
Document public procs (fixes automated tests), rework code, remove leftover statements

Modernize tcl

Trim whitespace

Remove obsolete xql files

    • -34
    • +0
    ./tcl/subscription-procs-postgresql.xql
Make all sql portable and bring it in line, remove code duplication

Further UI fixing after tests to make so that actions are displayed only when the proper conditions are met

Revision of the index page:

- pass template properties according to conventions

- streamline boolean expressions

- fix UI, show purge button and its explanation when the actual form is generated

- make sql portable and bring it inline

- better exploit api

Use db_0or1row flag to return an array natively, repair news_aggregator::aggregator::as_xml as for some reason creating the xml processing instruction via tDOM is broken on tDOM 0.8.3

    • -10
    • +0
    ./tcl/aggregator-procs-postgresql.xql