Metadata-Version: 2.4
Name: persona-integration
Version: 3.2.2
Summary: This repo contains the backend plugin that implements the Persona integration to be used for id
Home-page: https://github.com/edx/persona-integration
Author: 2U, Inc.
Author-email: team-cosmonauts@edx.org
License: AGPL 3.0
Keywords: Python edx
Classifier: Development Status :: 3 - Alpha
Classifier: Framework :: Django
Classifier: Framework :: Django :: 4.2
Classifier: Framework :: Django :: 5.2
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Python: >=3.11
License-File: LICENSE
License-File: LICENSE.txt
Requires-Dist: Django
Requires-Dist: django-model-utils
Requires-Dist: djangorestframework
Requires-Dist: edx-drf-extensions
Requires-Dist: openedx-atlas
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: home-page
Dynamic: keywords
Dynamic: license
Dynamic: license-file
Dynamic: requires-dist
Dynamic: requires-python
Dynamic: summary

persona-integration
#############################

.. note::

  This README was auto-generated. Maintainer: please review its contents and
  update all relevant sections. Instructions to you are marked with
  "PLACEHOLDER" or "TODO". Update or remove those sections, and remove this
  note when you are done.

|pypi-badge| |ci-badge| |codecov-badge| |doc-badge| |pyversions-badge|
|license-badge| |status-badge|

Purpose
*******

This repo contains the backend plugin that implements the Persona integration to be used for id verification.

TODO: The ``README.rst`` file should start with a brief description of the repository and its purpose.
Describe your repo for the audience you intend it for.

Getting Started with Development
********************************

Add real content to describe how to deploy the component, and where the documentation is.
Deploying
*********

TODO: How can a new user go about deploying this component? Is it just a few
commands? Is there a larger how-to that should be linked here?

Add real content to describe how to deploy the component, and where the documentation is.
Getting Help
************

Documentation
=============

PLACEHOLDER: Start by going through `the documentation`_.  If you need more help see below.

.. _the documentation: https://docs.openedx.org/projects/persona-integration

(TODO: `Set up documentation <https://openedx.atlassian.net/wiki/spaces/DOC/pages/21627535/Publish+Documentation+on+Read+the+Docs>`_)

More Help
=========

Write a paragraph explaining how people can get help with the repo.  Here are some possibilities:

“This repo is available for you to use, but we are unable to provide help.”

“If you are interested in using this repo, contact <PERSON>@2u.com, and we will see what we can do.”

License
*******

The code in this repository is licensed under the AGPL 3.0 unless
otherwise noted.

Please see `LICENSE.txt <LICENSE.txt>`_ for details.

Contributing
************

This repo is not currently accepting contributions.

The Open edX Code of Conduct
****************************

All community members are expected to follow the `Open edX Code of Conduct`_.

.. _Open edX Code of Conduct: https://openedx.org/code-of-conduct/

Reporting Security Issues
*************************

Please do not report security issues in public. Please email security@edx.org.

.. |pypi-badge| image:: https://img.shields.io/pypi/v/persona-integration.svg
    :target: https://pypi.python.org/pypi/persona-integration/
    :alt: PyPI

.. |ci-badge| image:: https://github.com/edx/persona-integration/workflows/Python%20CI/badge.svg?branch=main
    :target: https://github.com/edx/persona-integration/actions
    :alt: CI

.. |codecov-badge| image:: https://codecov.io/github/edx/persona-integration/coverage.svg?branch=main
    :target: https://codecov.io/github/edx/persona-integration?branch=main
    :alt: Codecov

.. |doc-badge| image:: https://readthedocs.org/projects/persona-integration/badge/?version=latest
    :target: https://docs.openedx.org/projects/persona-integration
    :alt: Documentation

.. |pyversions-badge| image:: https://img.shields.io/pypi/pyversions/persona-integration.svg
    :target: https://pypi.python.org/pypi/persona-integration/
    :alt: Supported Python versions

.. |license-badge| image:: https://img.shields.io/github/license/edx/persona-integration.svg
    :target: https://github.com/edx/persona-integration/blob/main/LICENSE.txt
    :alt: License

.. TODO: Choose one of the statuses below and remove the other status-badge lines.
.. |status-badge| image:: https://img.shields.io/badge/Status-Experimental-yellow
.. .. |status-badge| image:: https://img.shields.io/badge/Status-Maintained-brightgreen
.. .. |status-badge| image:: https://img.shields.io/badge/Status-Deprecated-orange
.. .. |status-badge| image:: https://img.shields.io/badge/Status-Unsupported-red


Change Log
##########

..
   All enhancements and patches to persona_integration will be documented
   in this file.  It adheres to the structure of https://keepachangelog.com/ ,
   but in reStructuredText instead of Markdown (for ease of incorporation into
   Sphinx documentation and the PyPI description).

   This project adheres to Semantic Versioning (https://semver.org/).

.. There should always be an "Unreleased" section for changes pending release.

Unreleased
**********

3.2.1
*****
* Added support for Django 5.2

3.2.0 2024-12-18
****************
* Removed the requirement on Python 3.12 or greater. 
* Added Python 3.11 to the matrix for the Python CI tests step.
* Added Python 3.11 to the tox envlist.

3.1.0 2024-12-18
****************
* Updated the is_valid_status_transition API method to allow terminal status transitions.

3.0.0  2024-10-25
*****************

Added
=====
* Upgraded to  ``Python 3.12``
* Dropped support for ``Python<3.12``

2.2.0  2024-10-10
*****************

Added
=====
* Fix bug regarding mapping of status between this backend's VerificationAttempt model and the one in the LMS (The definitions of the "pending" status were different between the two models).

2.1.0  2024-10-09
*****************

Added
=====
* Fix bug preventing VerificationAttempt model from being synchronized to the LMS.
* Add VerificationAttempt.platform_verification_attempt_id field to admin.

2.0.4 - 2024-10-07
******************

Added
=====
* Fix errors in UserPersonaAccount and VerificationAttempt Django admin forms.

2.0.3 - 2024-09-27
******************

Added
=====
* Removed undesired email-related variables in Persona payload.

2.0.2 - 2024-09-27
******************

Added
=====
* Add __init__.py to signals package.

2.0.1 - 2024-09-26
******************

Added
=====
* Add user persona account model and admin.
* Add VerificationAttempt model and admin to store Persona attempts.
* Add a view to handle Persona webhooks.
* Add a create inquiry view.
* Add field for edx-platform VerificationAttempt model id.
* Add event listener for user retirement signal.
* Update name of reverse accessor on User model to resolve conflict.
* Modify VerificationAttemptView to return inquiry_id.
* Make several fixes to the VerificationAttemptView view and the create_inquiry API method.
* Replace field `verified_name` with `name_first` when communicating with persona.
* Fix an error on the payload for create_inquiry API call to Persona.
* Sync updates to VerificationAttempt model.

2.0.0 - 2024-09-25
******************

Added
=====
* Bump version.

1.0.0 - 2024-07-18
******************

Added
=====

* Initial release.
* Setup repo using template.

0.1.0 - 2024-07-18
******************

Added
=====

* First release on PyPI.
