Review main Abandoned

57476[FEATURE] Add CSV Importer to Redirects Module

Michael Giek CR 0 V 0 Expert +1185 −10 updated 08/31/18, 12:54

Commit message

A new functionality is added to import a CSV file for mass-importing
redirects into sys_redirects through an upload form in the
redirects module.

Some lowlevel checks are performed for required fields in the submitted
CSV file.

If everything is ok, the CSV file is imported in the database. The
required fields are `source_host`, `source_path`, `target_page_uid` and
the allowed fields are `source_host`, `source_path`, `target_page_uid`,
`force_https`, `is_regexp`, `target_statuscode`, `keep_query_parameters`,
`enable`, `starttime`, `endtime`.

The field `target_page_uid` must contain an integer value. The
enclosure and the delimiter can be selected upon uploading a file.

Review

  • Code review CR 0

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V 0

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 16