Homec4science

WebJournal: various improvements and demo journal

Authored by Jerome Caffaro <jerome.caffaro@cern.ch> on Jul 7 2009, 15:58.

Description

WebJournal: various improvements and demo journal

  • Renamed elements/widgets. bfe_ObjectLanguage.py is being replaced by bfe_webjournal_info.py. Old bfe_ObjectLanguage.py is moved to CERN-specific repository. bfe_bulletin.py is split into bfe_webjournal_article_body.py, bfe_webjournal_article_title.py, bfe_webjournal_article_admin_links.py.
  • Atlantis Times journal: demo records, templates and configuration.
  • Improved language support.
  • More generic issue handling: does not restrict to weekly-based issues.
  • Hide non-released issues.
  • Infrastructure to update articles tagged as "draft" (offline) when releasing an issue.
  • Improved caching and speed.
  • Added WebJournal documentation.
  • Other bug fixes, new features, code cleaning, refactoring and commenting, including:
    • New configuration variables: issues_per_year, issue_grouping, hide_unreleased_issues, first_issue, alert_recipients, languages, submission and draft_keyword.
    • Send email using mailutils.py.
    • Filter issue articles using intbitset operations instead of building search query.
    • "Legacy" URLs only enabled if CFG_CERN_SITE.
    • Style of article titles (in menus) can be modified based on 595__a field and knowledge base.
    • Nice journal name displayed when displaying error dialog.
    • parse_journal_url() cleans archive_year.
    • parse_journal_url() includes archive_search parameter.
    • Fixed link to admin interface after issue has been released.
    • get_issue_number_display() don't fail if requesting unreleased issue.
    • get_xml_from_config() accepts "deeper" node paths.
    • Wash journal names to make them case insensitive (for main URLs).
    • Journal config files are now named %(journal_name)s-config.xml.
    • Do not accept non-digit issue numbers in URLs.
    • Do not raise error in admin interface when no journal exist.
    • Keep HTML links in articles headers when displaying journal index page.
    • Respect ordering of journal categories as defined in the journal XML config file (when displaying navigation menu + "What's new" widget).
    • "What's new" widget display articles in the order defined by the article metadata.
    • Improved detection and display of images and headers when displaying journal index page.
    • New CSS class for categories in "What's new" widget.
    • Images on journal index page link to corresponding article.
    • Improved journal cache cleaning.
    • Fixed crash when trying to release a new issue without selecting an issue.
    • New 'identifier_element' and 'identifier_field' config tags for improved access to edit articles.
    • Improved backward compatibility with "CERN Bulletin" journal.
    • Filter out attached files which are not images when trying to extract images from articles.
    • Updated documentation.
    • RSS icon uses absolute URL when possible.
    • Improved HTML markup.
    • Do not cache index page when issue is not released.
    • Display HTML newsletter preview before sending alert.
    • Other minor improvements.

Details

Committed
Tibor Simko <tibor.simko@cern.ch>Jul 7 2009, 16:11
Parents
R3600:4bed94404d2a: WebJournal: sample widgets and elements
Branches
Unknown
Tags
Unknown

Event Timeline

Tibor Simko <tibor.simko@cern.ch> committed R3600:e216aa5d2212: WebJournal: various improvements and demo journal (authored by Jerome Caffaro <jerome.caffaro@cern.ch>).Jul 7 2009, 16:11