Skip to content

2.0.0a3

Pre-release
Pre-release

Choose a tag to compare

@Geuthur Geuthur released this 22 Nov 21:21

Added

  • next_due property to PaymentAccount and update related views and templates

Changed

  • Generic Views Refactoring
    • account() view now supports both Corporation and Alliance owners
    • faq() view now supports both Corporation and Alliance owners
    • Views use get_manage_owner() for unified owner retrieval
    • Dynamic owner type detection with isinstance() checks
    • Generic Status checks instead of hardcoded CorporationPaymentAccount
    • Backwards compatible context keys maintained
  • Humanized Date Display
    • last_paid and next_due in manage.js now use moment.fromNow() for relative time display
    • Account template now uses Django's naturaltime filter for all date fields
    • More intuitive date representation (e.g., "2 days ago", "in 5 days")
  • View Permission Fix
    • generic_owner_own_payments() now correctly uses get_corporation() and get_alliance() instead of management methods
    • End-user view no longer requires management permissions

Full Changelog: v2.0.0a2...v2.0.0a3