Skip to content

Releases: CentreForDigitalHumanities/lettercraft

0.6.0

27 Nov 08:48
Compare
Choose a tag to compare

What's Changed

Full Changelog: 0.5.1...0.6.0

0.5.1

04 Oct 12:39
Compare
Choose a tag to compare

What's Changed

Full Changelog: 0.5.0...0.5.1

0.5.0

01 Oct 15:40
016125e
Compare
Choose a tag to compare

What's Changed

Adds basic forms in the frontend for sources, episodes, agents, letters, gitfs, and locations.

Full Changelog: 0.4.0...0.5.0

0.4.0

10 Jun 14:49
7426cda
Compare
Choose a tag to compare

What's Changed

  • Changes to frontend code structure (#53, #65)
  • Basic authentication functionality (#54)
  • Add more metadata to source model (#55)
  • Rename "name" field to "designators" (#71)
  • Remove data models for social status (#69)
  • Remove Sender and Addressee on Letter and Gift (#73)

Configuration changes

Backend settings need several new properties to handle authentication.

Add the following INSTALLED_APPS:

  • 'django.contrib.sites'
  • 'rest_framework.authtoken'
  • 'dj_rest_auth'
  • 'dj_rest_auth.registration'
  • 'allauth'
  • 'allauth.account'

Add 'allauth.account.middleware.AccountMiddleware' to MIDDLEWARE

Adjust the REST_FRAMEWORK configuration to add default authentication classes. If there were no previous configurations in REST_FRAMEWORK set it to the following. Otherwise, merge this with existing settings.

REST_FRAMEWORK = {
    "DEFAULT_AUTHENTICATION_CLASSES": [
        "rest_framework.authentication.TokenAuthentication",
        "rest_framework.authentication.SessionAuthentication",
    ]
}

Configure the email backend. See Django documentation on email backends. Also set DEFAULT_FROM_EMAIL to the address that the application will send from.

Configure the site object. This is used messages for email verification and password reset.

SITE_ID = 1
SITE_NAME = 'Lettercraft'
HOST = 'example.com' # replace with actual hostname

Add the following setting:

REST_AUTH = {
    "USER_DETAILS_SERIALIZER": "user.serializers.CustomUserDetailsSerializer",
}

Contributors: @XanderVertegaal , @lukavdplas

Full Changelog: 0.3.0...0.4.0

0.3.0

24 Apr 15:25
5a73ecb
Compare
Choose a tag to compare

What's Changed

  • Extensive refactor of the data models for letters, agents, and events. Models are simplified and more directly linked to (narrative) source texts (#48, #49, #50).
  • Implemented a custom User model (#52).
  • Added collaborators to citation metadata (#43).

Configuration changes

In backend settings:

  • Add 'user' to `INSTALLED_APPS
  • Set AUTH_USER_MODEL = 'user.User'

Contributors: @XanderVertegaal , @lukavdplas

Full Changelog: 0.2.0...0.3.0

0.2.0

13 Mar 15:46
fc4b6c1
Compare
Choose a tag to compare

What's Changed

  • Added scripts for data generation during development (#29)
  • Person has been changed into the more generic Agent, which can be a person or a group. Occupation has been changed to Status (social status (#37)
  • Added a data model for space (physical locations) (#36)

Required changes to deployment configuration:

  • Add "space" app to settings.py

Contributors: @lukavdplas , @XanderVertegaal

Full Changelog: 0.1.0...0.2.0

0.1.0

21 Feb 17:04
35205f8
Compare
Choose a tag to compare

What's Changed

  • Expanded the data model for letters (#17): admins can now fill in names, categories, addressees and senders for letters. The admin interface will also display the date range for actions involving the letter.
  • Added data models for source texts and references (#26)
  • Expanded the data model for epistolary events (#27):
    • added a date model for gifts that accompany letters
    • added a data model for "world events"
    • added data models for causal links between world/epistolary events
    • improved the way dates are displayed in the admin interface
    • roles for individuals in actions now include "instigator"

Server configuration changes

  • The source app must be added to INSTALLED_APPS.

Contributors: @lukavdplas , @XanderVertegaal

Full Changelog: 0.0.0...0.1.0

0.0.0

06 Feb 10:15
Compare
Choose a tag to compare

What's Changed

  • Initial work on the data model (#1)
  • Basic frontend created (#5, #6)
  • Readme updated (#7)
  • Epistolary Events split into Epistolary Events and Letter Actions (#14)
  • Updates to Person model (#20)

Code quality

  • Splitting code into separate apps (#16)

Full Changelog: https://github.com/CentreForDigitalHumanities/lettercraft/commits/0.0.0