Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • B bladns-web
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Luke Bratch
  • bladns-web
  • Merge requests
  • !2

WIP: Refactor code so we use classes to modularize the code and allow variations and development to each component

  • Review changes

  • Download
  • Patches
  • Plain diff
Open Phil Burton requested to merge feature/class-refactor into master Apr 12, 2017
  • Overview 0
  • Commits 12
  • Pipelines 0
  • Changes 45

Done

  • Create php config files in /config to allow configs reaming out of the code and the repo
  • Create A base config class that handles loading the php config files
  • Create ssh and zone config classes that extend the base and handle verifying a complete config
  • Create a base File Handler to deal with writing and reading zone files
  • Create an Ssh handler that extends the base and deals with reading and writing via ssh
  • Create a Zone handler that deals with creating a valid zone file path
  • Unit test coverage of all the above (needs review)

Todo:

  • Work out how to handle the view files
  • Work out how to handle posts (some sort of really basic controller?)

Thoughts? Other ideas?

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: feature/class-refactor