• Birin Sanchez's avatar
    Add bundlechange App that takes care of customers upgrades and · 56dbe057
    Birin Sanchez authored
    
    downgrades.
    
    Changes:
    
    limitmonitor.common module:
      * Add billing_period to parse_subscription
      * Add order_paid, cancel_subscription, get_user_external_credit,
        get_available_bundles and get_user_upgrade_choices
    
    limitmonitor.task_resources.subscription:
      * Process pending_regs in reverse order
      * Add upgrade_user_subscription and process_bundle_changes
    
    limitmonitor.views:
      * Add can_upgrade control
    
    middleware.settings:
      * Add BundleChange app
      * Add new config variable for BundleChange
    
    purist:
      * Rename DeleteAcccountForm for reuse
      * Add display names to AccountType
      * Move spinner animation into a single template in purist module for
       reuse
    
    3 new config options:
      * WOO_PARENT_PROD_ID
      * WOO_UPGRADE_PAY_URL
      * WOO_BUNDLES_INFO_FILE
    
    Signed-off-by: default avatarBirin Sanchez <birin.sanchez@puri.sm>
    56dbe057