Homec4science

WebStyle: new /goto URL handler

Authored by Samuele Kaplun <samuele.kaplun@cern.ch> on Oct 5 2012, 17:24.

Description

WebStyle: new /goto URL handler

  • Introduces new /goto URL handler. This is a plugin-based framework for URL redirectors, allowing a per-user registration of URLs under /goto/ path that will dynamically resolve to a final URL based on pluggable algorithms.
  • Implements three plugins:
    • goto_plugin_simple, to implement a simple URL shortner;
    • goto_plugin_latest_record, to redirect to the latest record in a given collection or query;
    • goto_plugin_cern_hr_documents as an example of complex plugin that is used at the CERN Document Server.
  • Implements the gotoadmin CLI. (closes #1178)
  • Merge note: amended tests and left two of them in FIXME state. Need to touch them later.

Signed-off-by: Tibor Simko <tibor.simko@cern.ch>

Details

Committed
Tibor Simko <tibor.simko@cern.ch>Jan 14 2013, 15:41
Parents
R3600:fc9c0a93ef36: dateutils: new get_time_estimator function
Branches
Unknown
Tags
Unknown

Event Timeline

Tibor Simko <tibor.simko@cern.ch> committed R3600:c2076bb4be70: WebStyle: new /goto URL handler (authored by Samuele Kaplun <samuele.kaplun@cern.ch>).Jan 14 2013, 15:41