Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

Report intake, escrow, matching and secure delivery code for Callisto, an online reporting system for sexual assault.

Project description

callisto-core
=============

+----------------+---------------+
| Status | Support |
+================+===============+
| |Build Status| | |python 3.6| |
+----------------+---------------+
| |PyPI Version| | |django 1.11| |
+----------------+---------------+
| |Code Climate| | - |
+----------------+---------------+

This is the report intake, escrow, matching and secure delivery code for
`Callisto <https://www.projectcallisto.org>`__, an online reporting
system for sexual assault.

Learn more about how Callisto works

Learn more about information escrows

Requirements
~~~~~~~~~~~~

``callisto-core`` is built on top of
```django-wizard-builder`` <https://github.com/SexualHealthInnovations/django-wizard-builder>`__,
another open source Django package maintained by Sexual Health
Innovations. If you’re interested in contributing to Callisto, please
check out that repo as well.

Support us
~~~~~~~~~~

`Donate <https://www.projectcallisto.org/donate/>`__ to Sexual Health
Innovations, the organization behind Callisto.

Our current list of issues is available here
https://github.com/SexualHealthInnovations/callisto-core/issues

There’s documentation on `running a developement
version <https://github.com/SexualHealthInnovations/callisto-core/blob/master/docs/DEVELOPEMENT.md>`__
of this repository, and on `using callisto-core as a python
package <https://github.com/SexualHealthInnovations/callisto-core/blob/master/docs/USAGE.md>`__.

Finally there’s a live heroku testing application to give you a feeling
for how Callisto operates https://callisto-core.herokuapp.com/

Read more about this on our `contribution
guide <https://github.com/SexualHealthInnovations/callisto-core/blob/master/docs/CONTRIBUTING.md>`__.

Want to talk about extending the code to other applications, how
Callisto works, or schedule a demo of Callisto for your campus? Contact
us at tech@sexualhealthinnovations.org.

.. |Build Status| image:: https://travis-ci.org/SexualHealthInnovations/callisto-core.svg?branch=master
:target: https://travis-ci.org/SexualHealthInnovations/callisto-core
.. |python 3.6| image:: https://img.shields.io/badge/python-3.6-green.svg
.. |PyPI Version| image:: https://img.shields.io/pypi/v/callisto-core.svg
:target: https://pypi.python.org/pypi/callisto-core
.. |django 1.11| image:: https://img.shields.io/badge/django-1.11-yellowgreen.svg
.. |Code Climate| image:: https://codeclimate.com/github/SexualHealthInnovations/callisto-core/badges/gpa.svg
:target: https://codeclimate.com/github/SexualHealthInnovations/callisto-core
History / Changelog
===================

0.18.8 (2017-12-01)
-------------------

- required feild display overrides

.. section-1:

0.18.7 (2017-12-01)
-------------------

- HTML error display adjustments

.. section-2:

0.18.6 (2017-12-01)
-------------------

- allow decryption of records that didn’t get an encode prefix set

.. section-3:

0.18.5 (2017-11-23)
-------------------

- fix NotificationApi.get_cover_page incorrect attrs

.. section-4:

0.18.4 (2017-11-23)
-------------------

- add dashboard views, and update selenium tests
- add NotificationApi hooks

.. section-5:

0.18.2 (2017-11-22)
-------------------

- regenerate uuids, enforce their uniqueness

.. section-6:

0.18.0 (2017-11-22)
-------------------

- remove contenttypes dependency from delivery models

.. section-7:

0.17.3 (2017-11-21)
-------------------

- add sites middleware

.. section-8:

0.17.2 (2017-11-21)
-------------------

- resolve test path issues

.. section-9:

0.17.1 (2017-11-20)
-------------------

- resolve single EmailNotification when multiple present (and warn
about this behavior)

.. section-10:

0.17.0 (2017-11-20)
-------------------

- rework ``CallistoCoreMatchingApi``
- add ``TenantApi``, ``CallistoCoreTenantApi``
- moved the following attributes from ``settings.VAR`` to
``TenantApi('VAR')``

- ``COORDINATOR_NAME``
- ``COORDINATOR_EMAIL``
- ``COORDINATOR_PUBLIC_KEY``

- this is a fairly thoroughly breaking version, so be sure to check all
your corners

.. section-11:

0.16.2 (2017-11-02)
-------------------

- add a ``site_id=1`` fallback to ``EmailNotification.objects.on_site``

.. section-12:

0.16.1 (2017-10-28)
-------------------

- bump version support to ``django-wizard-builder>=2.5,<2.6``

.. section-13:

0.16.0 (2017-10-19)
-------------------

- better support for multiple records
- scope stored passphrase to current report uuid
- rename various view methods

- ``KeyResetTemplatePartial`` => ``PassphraseClearingPartial``
- ``clear_passphrase`` => ``clear_passphrases``
- ``set_passphrase`` => ``set_passphrase``
- ``passphrase`` => ``passphrase``

- remove ``report_and_key_present``, as ``passphrase`` needs a report
now

https://github.com/project-callisto/callisto-core/pull/313

.. section-14:

0.15.11 (2017-10-19)
--------------------

- bugfixing record data updating (added in v0.15.8)

https://github.com/project-callisto/callisto-core/pull/311

.. section-15:

0.15.10 (2017-10-17)
--------------------

- bump version support to ``django-wizard-builder>=2.4,<2.5``

.. section-16:

0.15.9 (2017-10-17)
-------------------

- bump version support to ``django-wizard-builder>=2.3,<2.4``
- add TextArea to eval (note: eval is currently disabled)

https://github.com/project-callisto/callisto-core/pull/308

.. section-17:

0.15.8 (2017-10-13)
-------------------

- add functionality for updating the data format of records

https://github.com/project-callisto/callisto-core/pull/303

.. section-18:

0.15.7 (2017-10-08)
-------------------

- fix email notification admin (s/o [@lisac](https://github.com/lisac))

https://github.com/project-callisto/callisto-core/pull/301

.. section-19:

0.15.6 (2017-10-06)
-------------------

- fix form error displaying in submission flow

https://github.com/project-callisto/callisto-core/pull/299

.. section-20:

0.15.5 (2017-10-05)
-------------------

- all pdf datetimes now display in a human readable format

https://github.com/project-callisto/callisto-core/pull/298

.. section-21:

0.15.4 (2017-10-05)
-------------------

- the system now sends an email to all parties whenever a match is
found

https://github.com/project-callisto/callisto-core/pull/297

.. section-22:

0.15.3 (2017-10-04)
-------------------

- remove Report.autosaved
- update Report.last_edited on save

https://github.com/project-callisto/callisto-core/pull/296

.. section-23:

0.15.2 (2017-10-03)
-------------------

- added a hook for using different types of validators in the matching
flow

https://github.com/project-callisto/callisto-core/pull/295

.. section-24:

0.15.1 (2017-09-22)
-------------------

- fix match report notifications

https://github.com/project-callisto/callisto-core/pull/292

.. section-25:

0.15.0 (2017-09-21)
-------------------

- removed EmailNotification from delivery migrations

https://github.com/project-callisto/callisto-core/pull/289

.. section-26:

0.14.1 (2017-09-20)
-------------------

- fix matching form, update model encryption docs

https://github.com/project-callisto/callisto-core/pull/287

.. section-27:

0.14.0 (2017-09-19)
-------------------

- add ``reporting_success_url`` and ``get_reporting_success_url``

https://github.com/project-callisto/callisto-core/pull/284

.. section-28:

0.13.3 (2017-09-14)
-------------------

- General view fixes

https://github.com/project-callisto/callisto-core/pull/280

.. section-29:

0.13.2 (2017-09-14)
-------------------

- Add distinct view and download PDF options

https://github.com/project-callisto/callisto-core/pull/278

.. section-30:

0.13.1 (2017-09-14)
-------------------

- Fix some view issues introduced in v0.13.0

https://github.com/project-callisto/callisto-core/pull/277

.. section-31:

0.13.0 (2017-09-14)
-------------------

- Clarified urls.py views.py vs view_partials.py vs view_helpers.py
- Moved view functions around to account for the above. See the
respective files for an explaination

https://github.com/project-callisto/callisto-core/pull/274

.. section-32:

0.12.9 (2017-09-13)
-------------------

- create an upgrade path for reports created before django wizard
builder 2.0

https://github.com/project-callisto/callisto-core/pull/273

.. section-33:

0.12.8 (2017-09-12)
-------------------

- update EncryptedStorageHelper for django wizard builder 2.0

https://github.com/project-callisto/callisto-core/pull/272

.. section-34:

0.12.7 (2017-09-08)
-------------------

- fix delivery migration 0014, add delivery migration 0016

https://github.com/project-callisto/callisto-core/pull/266

.. section-35:

0.12.6 (2017-09-08)
-------------------

- fix report action views

https://github.com/project-callisto/callisto-core/pull/265

.. section-36:

0.12.4 (2017-09-06)
-------------------

- use updated wizard builder review page in report pdfs

https://github.com/project-callisto/callisto-core/pull/263

.. section-37:

0.12.2 (2017-09-05)
-------------------

- refactor view inheritance, stabilize reporting and matching views
- un-pin dependencies

https://github.com/project-callisto/callisto-core/pull/260
https://github.com/project-callisto/callisto-core/pull/261

.. section-38:

0.12.0 (2017-08-24)
-------------------

- add reporting and matching views

https://github.com/project-callisto/callisto-core/pull/251

.. section-39:

0.11.0 (2017-08-21)
-------------------

- update to wizard builder 1.0

.. section-40:

0.10.12 (2017-08-20)
--------------------

- new record form encryption process
- include requirements and tests in package

https://github.com/project-callisto/callisto-core/pull/213

.. section-41:

0.9.2 (2017-07-07)
------------------

- don’t overwrite email domain if it’s already set

https://github.com/project-callisto/callisto-core/pull/213

.. section-42:

0.9.1 (2017-07-06)
------------------

- update MatchingApi to match NotificationApi

https://github.com/project-callisto/callisto-core/pull/212

.. section-43:

0.9.0 (2017-07-06)
------------------

- NotificationApi update, allowing for more effective subclassing

https://github.com/project-callisto/callisto-core/pull/210

.. section-44:

0.8.2 (2017-07-03)
------------------

- add logging to email notifications

https://github.com/project-callisto/callisto-core/pull/208

.. section-45:

0.8.1 (2017-06-26)
------------------

- remove password entropy requirement

https://github.com/project-callisto/callisto-core/pull/205

.. section-46:

0.8.0 (2017-06-23)
------------------

- DeliveryApi => NotificationApi
- cleanup and normalize Api classes
- drop python 2 support
- drop django 1.8, 1.10 support
- callisto/ => callisto_core/
- add UUID to Report

https://github.com/project-callisto/callisto-core/pull/123
https://github.com/project-callisto/callisto-core/pull/202

.. section-47:

0.7.0 (2017-06-13)
------------------

- update to django wizard builder version 0.2.1

.. section-48:

0.6.7 (2017-06-12)
------------------

- fix version missing from pypi release

.. section-49:

0.6.2 (2017-06-08)
------------------

- make django dependency explicit
- removed ‘environ’ dependency

https://github.com/project-callisto/callisto-core/pull/191

.. section-50:

0.6.1 (2017-06-08)
------------------

- install dependencies on pypi

https://github.com/project-callisto/callisto-core/pull/184

.. section-51:

0.6.0 (2017-06-01)
------------------

- Allow for custom matching identifiers
- Add a Twitter matching identifier validation

.. section-52:

0.5.2 (2017-04-27)
------------------

- Update django wizard builder version

.. section-53:

0.5.1 (2017-04-27)
------------------

- Don’t auto-add settings.SITE_ID to newly created emails

https://github.com/project-callisto/callisto-core/pull/172

.. section-54:

0.5.0 (2017-04-27)
------------------

- Add support for getting the site_id from the request’s domain

.. section-55:

0.4.3 (2017-04-27)
------------------

- Added sites EmailNotification admin
- Added EmailNotification (name + sites) uniqueness validator

.. section-56:

0.4.2 (2017-04-25)
------------------

- Fixed a bug with saving string SITE_IDs multiple times

.. section-57:

0.4.1 (2017-04-25)
------------------

- Gave EmailNotification an id primary key

.. section-58:

0.4.0 (2017-04-24)
------------------

- Introduced MatchingApi to allow customization of matching behavior
- Renamed many instances of “school” to “authority”

.. section-59:

0.3.0 (2017-04-24)
------------------

- Moved EmailNotification from delivery to notification (may cause
subtle bugs with migrations)

.. section-60:

0.2.0 (2017-04-24)
------------------

- Added multi-tenant support (via django’s sites framework) for
EmailNotification

.. section-61:

0.1.1 (2016-10-24)
------------------

- First release on PyPI.

Project details


Release history Release notifications

History Node

0.23.6

History Node

0.23.5

History Node

0.23.4

History Node

0.23.3

History Node

0.23.2

History Node

0.23.1

History Node

0.23.0

History Node

0.22.0

History Node

0.21.4

History Node

0.21.3

History Node

0.21.2

History Node

0.21.1

History Node

0.21.0

History Node

0.20.17

History Node

0.20.16

History Node

0.20.15

History Node

0.20.14

History Node

0.20.13

History Node

0.20.12

History Node

0.20.11

History Node

0.20.10

History Node

0.20.9

History Node

0.20.8

History Node

0.20.7

History Node

0.20.6

History Node

0.20.5

History Node

0.20.4

History Node

0.20.3.2

History Node

0.20.3.1

History Node

0.20.3

History Node

0.20.2

History Node

0.20.1

History Node

0.19.9

History Node

0.19.8

History Node

0.19.7

History Node

0.19.6

History Node

0.19.4

History Node

0.19.3

History Node

0.19.2

History Node

0.19.1

History Node

0.19.0

This version
History Node

0.18.8

History Node

0.18.7

History Node

0.18.6

History Node

0.18.5.1

History Node

0.18.5

History Node

0.18.4.1

History Node

0.18.4

History Node

0.18.3

History Node

0.18.2

History Node

0.18.1

History Node

0.18.0.1

History Node

0.18.0

History Node

0.17.3

History Node

0.17.2

History Node

0.17.1

History Node

0.17.0

History Node

0.16.2.4

History Node

0.16.2.3

History Node

0.16.2.2

History Node

0.16.2.1

History Node

0.16.2

History Node

0.16.1

History Node

0.16.0

History Node

0.15.11

History Node

0.15.10

History Node

0.15.9

History Node

0.15.8

History Node

0.15.7

History Node

0.15.6

History Node

0.15.5

History Node

0.15.4

History Node

0.15.3

History Node

0.15.2

History Node

0.15.1

History Node

0.15.0

History Node

0.14.1

History Node

0.14.0

History Node

0.13.3

History Node

0.13.2

History Node

0.13.1

History Node

0.13.0

History Node

0.12.9

History Node

0.12.8

History Node

0.12.7

History Node

0.12.6

History Node

0.12.5

History Node

0.12.4

History Node

0.12.3

History Node

0.12.2

History Node

0.12.1

History Node

0.12.0

History Node

0.11.1

History Node

0.11.0

History Node

0.10.12

History Node

0.10.11

History Node

0.10.10

History Node

0.10.8

History Node

0.10.7

History Node

0.10.6

History Node

0.10.5

History Node

0.10.4

History Node

0.10.0

History Node

0.9.2

History Node

0.9.1

History Node

0.9.0

History Node

0.8.2

History Node

0.8.1

History Node

0.8.0

History Node

0.7.0

History Node

0.6.7

History Node

0.6.6

History Node

0.6.5

History Node

0.6.4

History Node

0.6.3

History Node

0.6.2

History Node

0.6.1

History Node

0.6.0

History Node

0.5.2

History Node

0.5.2rc3

History Node

0.5.2rc2

History Node

0.5.2rc1

History Node

0.5.1

History Node

0.5.0

History Node

0.4.3

History Node

0.4.2

History Node

0.4.1

History Node

0.4.0

History Node

0.3.3

History Node

0.3.2

History Node

0.3.1.1

History Node

0.3.1

History Node

0.3.0.2

History Node

0.3.0.1

History Node

0.3.0

History Node

0.2.2

History Node

0.2.1

History Node

0.1.1

History Node

0.1.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
callisto_core-0.18.8-py3-none-any.whl (163.8 kB) Copy SHA256 hash SHA256 Wheel 3.6 Dec 7, 2017
callisto-core-0.18.8.tar.gz (237.1 kB) Copy SHA256 hash SHA256 Source None Dec 7, 2017

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page