Skip to content

Commit

Permalink
Plesk 10.x.x Data Sync added
Browse files Browse the repository at this point in the history
  • Loading branch information
maestropanel2 committed Dec 8, 2015
1 parent 7093112 commit 0da8fb0
Show file tree
Hide file tree
Showing 7 changed files with 743 additions and 8 deletions.
117 changes: 109 additions & 8 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,109 @@
################################################################################
# This .gitignore file was automatically created by Microsoft(R) Visual Studio.
################################################################################

/MpMigrate.Core/obj/Debug
/MpMigrate.Test/obj/Debug
/MpMigrate/bin/Release
/MpMigrate.Data/obj/Release
# Build Folders (you can keep bin if you'd like, to store dlls and pdbs)
[Bb]in/
[Oo]bj/

# mstest test results
TestResults

## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.

# User-specific files
*.suo
*.user
*.sln.docstates

# Build results
[Dd]ebug/
[Rr]elease/
x64/
*_i.c
*_p.c
*.ilk
*.meta
*.obj
*.pch
*.pdb
*.pgc
*.pgd
*.rsp
*.sbr
*.tlb
*.tli
*.tlh
*.tmp
*.log
*.vspscc
*.vssscc
.builds

# Visual C++ cache files
ipch/
*.aps
*.ncb
*.opensdf
*.sdf

# Visual Studio profiler
*.psess
*.vsp
*.vspx

# Guidance Automation Toolkit
*.gpState

# ReSharper is a .NET coding add-in
_ReSharper*

# NCrunch
*.ncrunch*
.*crunch*.local.xml

# Installshield output folder
[Ee]xpress

# DocProject is a documentation generator add-in
DocProject/buildhelp/
DocProject/Help/*.HxT
DocProject/Help/*.HxC
DocProject/Help/*.hhc
DocProject/Help/*.hhk
DocProject/Help/*.hhp
DocProject/Help/Html2
DocProject/Help/html

# Click-Once directory
publish

# Publish Web Output
*.Publish.xml

# NuGet Packages Directory
packages

# Windows Azure Build Output
csx
*.build.csdef

# Windows Store app package directory
AppPackages/

# Others
[Bb]in
[Oo]bj
TestResults
[Tt]est[Rr]esult*
*.Cache
ClientBin
[Ss]tyle[Cc]op.*
~$*
*.dbmdl
Generated_Code #added for RIA/Silverlight projects

_UpgradeReport_Files/
UpgradeLog*.XML

*.exe
*.msi
*.zip
*.msu
Binary file modified MpImport.v11.suo
Binary file not shown.
6 changes: 6 additions & 0 deletions MpMigrate.Core/MigrateManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ public enum PanelTypes
Plesk_11,
Plesk_12,
Plesk_10,
Plesk_10x,
MaestroPanel,
Entrenix,
Helm,
Expand Down Expand Up @@ -423,6 +424,9 @@ private void LoadVariations()
variationList.Add(new Tuple<PanelTypes, DatabaseProviders, DboFactory, IDiscovery>
(PanelTypes.Plesk_10, DatabaseProviders.MYSQL, new Plesk_10_MySql(), new Plesk_10_Discover()));

variationList.Add(new Tuple<PanelTypes, DatabaseProviders, DboFactory, IDiscovery>
(PanelTypes.Plesk_10x, DatabaseProviders.MYSQL, new Plesk_10X_MySql(), new Plesk_10_Discover()));

variationList.Add(new Tuple<PanelTypes, DatabaseProviders, DboFactory, IDiscovery>
(PanelTypes.Entrenix, DatabaseProviders.ACCESS, new Entrenix_Access(), new Entrenix_Discover()));

Expand All @@ -443,6 +447,8 @@ private void LoadVariations()

variationList.Add(new Tuple<PanelTypes, DatabaseProviders, DboFactory, IDiscovery>
(PanelTypes.Plesk_82, DatabaseProviders.OLEDB_ACCESS, new Plesk_82_Access(), new Plesk_86_Discover()));


}

private void SetSourceDatabaseAutomatically(IDiscovery discover)
Expand Down
Loading

0 comments on commit 0da8fb0

Please sign in to comment.