2.0.0
[2.0.0] - 2021-04-21
Fixed
- Error 500 due to missing
EveAllianceInfo
object in statistics view - Clear content of modal windows when they are closed
- Unique IDs for modals
Added
related_name
to foreign keys in models- Proper log model
- Proper log messages to fatlink detail view and edit actions to differenciate if
someone is only viewing or actually editing some details - Confirmation modal window when closing ESI fleets manually
- Ability to re-open clickable FAT links for a certain time after they have expired.
FAT links can be re-opened only once though (manage_afat
permissions are needed
to re-open FAT links) - Logs view (
log_view
permissions are needed to view the logs)
Changed
- Inline JS for DataTables moved to their own files
- Templates restructured
- Proper directory structure
- Proper names
- Links restructured
- Some changes in link names (mostly for ajax calls)
- Link segment order unified
- Function names following a proper naming convention
- Use swagger spec provided by CCP instead of maintaining our own file
- Migration from ImicusFAT now writes into the new AFAT log table
- Migration from bFAT now writes into the new AFAT log table
- Migration from native FAT module now writes into the new AFAT log table
- Wording in modal windows
- Modal windows merged into one file which is loaded conditionally
- Log messages improved
- Manual FAT log deactivated in favor of the new general log
- Forms for FAT link creation now properly using django forms
Removed
- Old code for flat lists. Not used anymore and will not be used ever again
⚠️ Update Instructions ⚠️
If you are updating from one of the 2.0.0-alpha versions
If you installed one of the alpha versions, make sure to reset your migrations first!
Migrations have been reset during the alpha versions a couple of times.
To do so, run:
python manage.py migrate afat 0017
Once done, proceed with the update as lined out below.
This release introduces a new periodic task, make sure to add it to your local.py
,
besides that, it is the usual steps to update ...
Download and install the new version
pip install -U allianceauth-afat
Add the new task to your local.py
CELERYBEAT_SCHEDULE["afat_logrotate"] = {
"task": "afat.tasks.logrotate",
"schedule": crontab(minute="0", hour="1"),
}
Run static collection and migrations
python manage.py collectstatic
python manage.py migrate
Restart your supervisor.
Finally migrate the Manual FAT log to the new logging table
python manage.py afat_migrate_manual_fat_log