Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • Keel - LDH Middleware Keel - LDH Middleware
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 26
    • Issues 26
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • libertyliberty
  • hosthost
  • Keel - LDH MiddlewareKeel - LDH Middleware
  • Merge requests
  • !197

Add new Subscription class used to wrap all the WC subscription related operations

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Birin Sanchez requested to merge birin.sanchez/ldh_middleware:add_subscription_class into master Sep 27, 2019
  • Overview 0
  • Commits 2
  • Pipelines 1
  • Changes 21

This MR adds a new Subscription class that wraps all WooCommerce subscription related operation.

A summary of the changes is:

  • Clean up several modules moving subscription functionality to the new Subscription class.
  • Modify all views and commands so they make use of the new Subscription class.
  • Remove ExternalCredit model.
  • Remove all SSH VPN configuration parameters.
  • Remove all modules used by old subscription logic in Celery tasks.

Heads up as the removal of ExternalCredit model will trigger makemigrations on deployment.

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: add_subscription_class