Created by Matt Brown and last modified

General development by Matt Brown work to support the haiti instance of Sahana

Get this branch:
bzr branch lp:~mattbrown/sahana-eden/haiti-dev
Only Matt Brown can upload to this branch. If you are Matt Brown please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Matt Brown

Recent revisions

520. By Matt Brown

Add crontab entries for the import_job scripts.

519. By Matt Brown

* Add cron script to import lines.
* Fix validation bugs in the processing cron job
  - Don't pass a session or the code will expect a matching formkey.
  - Pass in matching formname parameters.
* Display list of lines and their states for failed jobs.
* Add view for imported jobs with details of each line's state.

518. By Matt Brown

* Display a list of procesed import lines to the user.
* Allow the user to select any valid import line to ignore.
* Update import line status in database, based on user selection.
* Move job to 'import' state ready for the cronjob to import.

517. By Matt Brown

Extend common sahana code to support:
* Adding extra stylesheets to the page based on a list supplied in
  response.extra_styles. The list should contain paths to extra stylesheets
  relative to the static/styles directory.
* Include an id attribute on every TR output by SQLTABLE2, named after the
  table being displayed and with the final portion of the id, being the
  database id for the row.
* Include a class on every TD output by SQLTABLE2, named after the model
  field in that column.

These changes allow us to have more control over the display and look of
the generated tables.

516. By Matt Brown

Complete logic for handling jobs in the 'processing' state.

515. By Matt Brown

Merge from trunk.

514. By Matt Brown

Basic logic for the cron job to handle import jobs in the 'processing' state.

513. By Matt Brown

Remove extraneous debugging prints.

512. By Matt Brown

* Add logic to update CSV to model column map.
* Add view for jobs in the 'processing' state, with auto page reload every
  N seconds until the job moves to state 'processed'.

511. By Matt Brown

Add import_lines model

Branch metadata

Branch format:
Branch format 6
Repository format:
Bazaar pack repository format 1 (needs bzr 0.92)
This branch contains Public information 
Everyone can see this information.