Fix model import in raw/sources/views.py

Signed-off-by: Don Naegely <naegelyd@gmail.com>
Move template registration out of main.js

Signed-off-by: Don Naegely <naegelyd@gmail.com>
Add ResultSet and ResultSetItem models with admin integration

Signed-off-by: Byron Ruth <b@devel.io>
Update default modeltree with ResultSet route

Signed-off-by: Byron Ruth <b@devel.io>
Move contents of global_settings to settings

The local_settings.py.sample file and README has been updated to
reflect this change. Projects can import the settings and extend
where needed.

Signed-off-by: Byron Ruth <b@devel.io>
Revert "Move contents of global_settings to settings"

This reverts commit e425d0d263d1361c3be92e13ccca5c928a7642db.

Signed-off-by: Byron Ruth <b@devel.io>
Rename resource templates key_map field to aliases

key_map was deprecated in django-preserialize and has been renamed
to aliases.

Signed-off-by: Byron Ruth <b@devel.io>
Add version and created fields to sample template

Signed-off-by: Byron Ruth <b@devel.io>
Add base sample resource classes for authorization

The base classes limit the samples to what the requesting user
is authorized to view based on the projects they are associated with.

In addition, resource links have been updated to include the host.

Signed-off-by: Byron Ruth <b@devel.io>
Implement SampleDialog for selecting a sample

The dialog lists samples available to the user in a table which is
sortable and can be filtered. Clicking a row will select the sample
which then can be saved.

Signed-off-by: Byron Ruth <b@devel.io>
Add config constants for sample concept and field ids

Signed-off-by: Byron Ruth <b@devel.io>
Integrate sample dialog in main module

The sample dialog is initialized and available at
`cilantro.dialogs.sample`.

The notifyRequired handler has been replaced to open the sample dialog.

Signed-off-by: Byron Ruth <b@devel.io>
Validate context on sync, open dialog on concept focus

Signed-off-by: Byron Ruth <b@devel.io>
Ensure c.session is defined for view fix

Signed-off-by: Byron Ruth <b@devel.io>
Add data migration to mark sample concept as not queryable

This has the effect in Cilantro that it will not be displayed in the
list of available query concepts. The sample dialog is the new method
for selecting a sample.

Signed-off-by: Byron Ruth <b@devel.io>
Change 500 responses to use resource render method

Signed-off-by: Byron Ruth <b@devel.io>
Add description to comparator parse function

Remove unnecessary whitespace

Signed-off-by: Byron Ruth <b@devel.io>
Fix sample concept lookup in queryable migration

The previous lookup was using DataField fields. The migration now uses the name field of the DataConcept to find the sample concept(s)

Signed-off-by: Don Naegely <naegelyd@gmail.com>
Refactor summary and effects details sections

Signed-off-by: Don Naegely <naegelyd@gmail.com>
Refactor phenotypes details section

Signed-off-by: Don Naegely <naegelyd@gmail.com>