• last updated 2 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Rework of news_aggregator::source::update

- replace deprecated calls

- replace array idioms with dict idioms

- bring portable sql inline

This was tested against RSS feeds used downstream on a vanilla instance

Change adp expression so news can be displayed

Removed 'setResultEncoding' tdom option, which has no effect in Tcl > 8.0, and is removed in tdom > 0.9.0.

See upstream commit: http://tdom.org/index.html/info/d729de4c396d71ff

From the old docs: http://tdom.org/index.html/artifact/2a79d8cf33feacf9

dom setResultEncoding ?encodingName?

This option is for backward compatibility with Tcl 8.0. If tDOM is build

with any newer Tcl version this option does not has any effect.

If encodingName is not given the current global result encoding is

returned. Otherwise the global result encoding is set to encodingName.

All character data, attribute values etc. will then be converted from

UTF-8, which is delivered from the Expat XML parser, to the given 8 bit

encoding at XML/DOM parse time. Valid values for encodingName are:

utf-8, ascii, cp1250, cp1251, cp1252, cp1253, cp1254, cp1255, cp1256,

cp437, cp850, en, iso8859-1, iso8859-2, iso8859-3, iso8859-4, iso8859-5,

iso8859-6, iso8859-7, iso8859-8, iso8859-9, koi8-r.

Almost complete rewrite of news_aggregator::source::new

- replace deprecated calls

- remove code duplication

- don't loop through response items, as nothing is done with that information

- replace array idioms with dict idioms

- let stored procedure figure out the object_id

Works on WU RSS URLs on a vanilla instance

improve spelling

  1. … 11 more files in changeset.
Fix proc and contract doc elements, so they are properly parsed by apidoc::api_*_documentation.

- @cvs_id -> @cvs-id

- @version -> @cvs-id

- @creation_date -> @creation-date

- @date -> @creation-date

- Different variations of $Id$

- Remove wrong @param entry

- Fix typos

  1. … 368 more files in changeset.
Prefer literal in adp axpressions + Whitespace changes

  1. … 29 more files in changeset.
Revert massive replacement of empty list creation sentences. The use of '[list]' instead of '{}' adds semantics that could be used for performance improvements in the future, such as using a different internal representation. There is already work in this direction, avoiding the generation of the string representation during comparison of empty strings (huge thanks to Stefan Sobernig for the pointer: https://core.tcl.tk/tcl/info/44527c632ed609c2).

  1. … 474 more files in changeset.
Rework variable assignment (set -> lassign) + Whitespace changes

  1. … 17 more files in changeset.
Prefer '{}' to '[list]' when creating empty lists

  1. … 203 more files in changeset.
Rework variable assignment (set -> lassign)

  1. … 12 more files in changeset.
Fix typos

Fiy typo

Fix conditional expression. A typo in the original code survived succesive refactoring which made it not so obvious...

Fix variable existence test, as we are initially dealing with the variable name, not the value.

Whitespace changes

Fix typo

Rework conditional expressions

remove conditions, which are always true

remove parens

add editor hiints and cleanup whitespace

moderniize tcl

remove nested expr and improve linebreaks

modernize tcl

reduce usage of deprecated procs

modernize tcl

Fix boolean expressions in .adp files, make termination after connection closing commands explicit

na_items_item_id_seq created before na_items tables

- fix sloppy pseudo-comments to silence automated testing

  1. … 8 more files in changeset.
Catalogs of message keys from translate.openacs.org

only for local es_ES.

    • -3
    • +4
    ./catalog/news-aggregator.es_ES.ISO-8859-1.xml
  1. … 23 more files in changeset.
file news-aggregator.nl_NL.ISO-8859-1.xml was initially added on branch oacs-5-2.

    • -0
    • +0
    ./catalog/news-aggregator.nl_NL.ISO-8859-1.xml
Adding to acs-5-2 branch, message key catalog files from translation server

for acs-core packages, dotlrn-all packages and dotlrn-extras

packages.

    • -0
    • +2
    ./catalog/news-aggregator.es_ES.ISO-8859-1.xml
    • -0
    • +13
    ./catalog/news-aggregator.nl_NL.ISO-8859-1.xml
  1. … 967 more files in changeset.