Ignore `.pyc` files in `fab check`
Celery tasks take IDs instead of objects

Changes to `tasks.py`:
* In all tasks, pass `import_type, import_event_id` instead of `ie`
* Change function order to top-down
* Add helpers to retrieve import event from type and ID

Also:
* Change task-creation calls to use the new signatures
* Remove unused `views.process_commit`
Fixes #1737
Merge pull request #1784 from ctaylo37/Fixes-#1737

Fixes #1737
Merge pull request #1782 from RickMohr/celery-tasks-take-ids-not-objects

Celery tasks now take ID's, not objects
Convert species "choice" fields to unstructured text

The species fields "flowering period" and "fruit and nut period" were a choice field in OTM1,
with choices hardcoded to spring/summer/fall/winter. There are two problems with this:
* Hardcoded strings won't work for i18n
* The LA species import file has values like "spring,summer,fall"

The right solution is to support UDF's on Species objects, make these multi-select choice fields, and
let international users edit the values.

That's not going to happen soon. Switching to unstructured text seems like a reasonable solution for now,
since we don't actually do anything with these fields.

Also:
* Remove "choice fields" logic from the importer. Choice fields for trees will be UDFs and validated there.
fixes OpenTreeMap/otm2-addons#296

-Made the instance name column a fixed width with ellipses rather than
a horizontal scroll bar.
Merge pull request #1786 from ctaylo37/Fixes-#296

fixes OpenTreeMap/otm2-addons#296
There is no need to have 2 <meta charset="utf-8"> tags
Merge pull request #1785 from RickMohr/unstructured-species-period-fields

Convert species "choice" fields to unstructured text
Merge pull request #1787 from maurizi/remove-extra-meta

There is no need to have 2 <meta charset="utf-8"> tags
Fix scrollbar in Importer "status" tables

Now it scrolls just the very-wide table, and not the pagination buttons below it.
Auto-refresh pending imports

* Factor out `import-tables.html`,  including hidden `importsFinished` field indicating if all imports have finished
* In `importsList.js`, test that field whenver content is loaded, and refresh all tables if imports haven't finished
* New endpoint `refresh_imports_endpoint`
* Refresh every 5 seconds
* Start refreshing when "Bulk Imports" tab is shown, and stop when tab is hidden
* Clean up `import_table.html` and show spinner until import completes
Merge pull request #1790 from RickMohr/auto-reload-importer-status

Auto reload importer status
Add comment