Releases: CentreForDigitalHumanities/lettercraft
0.6.0
What's Changed
- Feature/update labels and mention levels by @lukavdplas in #153
- Feature/order episodes in source by @XanderVertegaal in #155
- Fix: confirm email flow by @XanderVertegaal in #156
- Feature: delete user by @XanderVertegaal in #157
Full Changelog: 0.5.1...0.6.0
0.5.1
What's Changed
- Hotfix: designators in episode form by @XanderVertegaal in #146
- Hotfix: location cache issue in agent form by @lukavdplas in #147
Full Changelog: 0.5.0...0.5.1
0.5.0
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
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
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
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
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 toINSTALLED_APPS
.
Contributors: @lukavdplas , @XanderVertegaal
Full Changelog: 0.0.0...0.1.0
0.0.0
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