2017-10-24 19:16:36 +05:00
|
|
|
from django.conf.urls import url
|
2019-12-12 11:04:05 +05:00
|
|
|
from . import views
|
2017-10-24 19:16:36 +05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
urlpatterns = [
|
|
|
|
|
url(r'^$', views.loadWebsitesHome, name='loadWebsitesHome'),
|
2018-11-06 00:19:58 +05:00
|
|
|
url(r'^createWebsite$', views.createWebsite, name='createWebsite'),
|
|
|
|
|
url(r'^listWebsites$', views.listWebsites, name='listWebsites'),
|
2019-12-22 17:03:58 +05:00
|
|
|
url(r'^listChildDomains$', views.listChildDomains, name='listChildDomains'),
|
2018-11-06 00:19:58 +05:00
|
|
|
url(r'^modifyWebsite$', views.modifyWebsite, name='modifyWebsite'),
|
|
|
|
|
url(r'^deleteWebsite$', views.deleteWebsite, name='deleteWebsite'),
|
|
|
|
|
url(r'^siteState$', views.siteState, name='siteState'),
|
2017-10-24 19:16:36 +05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
# Website modification url
|
|
|
|
|
|
|
|
|
|
|
2018-11-06 00:19:58 +05:00
|
|
|
url(r'^submitWebsiteCreation$', views.submitWebsiteCreation, name='submitWebsiteCreation'),
|
|
|
|
|
url(r'^submitWebsiteDeletion$', views.submitWebsiteDeletion, name='submitWebsiteDeletion'),
|
|
|
|
|
url(r'^submitWebsiteListing$', views.getFurtherAccounts, name='submitWebsiteListing'),
|
2019-08-18 21:07:54 +05:00
|
|
|
url(r'^fetchWebsitesList$', views.fetchWebsitesList, name='fetchWebsitesList'),
|
2019-12-22 17:03:58 +05:00
|
|
|
url(r'^fetchChildDomainsMain$', views.fetchChildDomainsMain, name='fetchChildDomainsMain'),
|
2019-12-23 17:02:34 +05:00
|
|
|
url(r'^convertDomainToSite$', views.convertDomainToSite, name='convertDomainToSite'),
|
2019-02-22 09:19:16 +05:00
|
|
|
url(r'^searchWebsites$', views.searchWebsites, name='searchWebsites'),
|
2018-11-06 00:19:58 +05:00
|
|
|
url(r'^submitWebsiteModification$', views.deleteWebsite, name='submitWebsiteModification'),
|
|
|
|
|
url(r'^submitWebsiteStatus$', views.submitWebsiteStatus, name='submitWebsiteStatus'),
|
2017-10-24 19:16:36 +05:00
|
|
|
|
|
|
|
|
|
2018-11-06 00:19:58 +05:00
|
|
|
url(r'^getWebsiteDetails$', views.submitWebsiteModify, name='getWebsiteDetails'),
|
2017-10-24 19:16:36 +05:00
|
|
|
url(r'^saveWebsiteChanges', views.saveWebsiteChanges, name='saveWebsiteChanges'),
|
|
|
|
|
|
2018-11-06 00:19:58 +05:00
|
|
|
url(r'^getDataFromLogFile$', views.getDataFromLogFile, name='getDataFromLogFile'),
|
|
|
|
|
url(r'^fetchErrorLogs$', views.fetchErrorLogs, name='fetchErrorLogs'),
|
2017-12-14 06:56:27 -05:00
|
|
|
|
2018-11-06 00:19:58 +05:00
|
|
|
url(r'^getDataFromConfigFile$', views.getDataFromConfigFile, name='getDataFromConfigFile'),
|
2017-10-24 19:16:36 +05:00
|
|
|
|
2018-11-06 00:19:58 +05:00
|
|
|
url(r'^saveConfigsToFile$', views.saveConfigsToFile, name='saveConfigsToFile'),
|
2017-10-24 19:16:36 +05:00
|
|
|
|
|
|
|
|
|
2018-11-06 00:19:58 +05:00
|
|
|
url(r'^getRewriteRules$', views.getRewriteRules, name='getRewriteRules'),
|
2017-10-24 19:16:36 +05:00
|
|
|
|
2018-11-06 00:19:58 +05:00
|
|
|
url(r'^saveRewriteRules$', views.saveRewriteRules, name='saveRewriteRules'),
|
2017-10-24 19:16:36 +05:00
|
|
|
|
2018-11-06 00:19:58 +05:00
|
|
|
url(r'^saveSSL$', views.saveSSL, name='saveSSL'),
|
2017-10-24 19:16:36 +05:00
|
|
|
|
2017-10-29 22:16:06 +05:00
|
|
|
## sub/add/park domains
|
|
|
|
|
|
2018-11-06 00:19:58 +05:00
|
|
|
url(r'^submitDomainCreation$', views.submitDomainCreation, name='submitDomainCreation'),
|
2017-10-29 22:16:06 +05:00
|
|
|
|
|
|
|
|
## fetch domains
|
|
|
|
|
|
2018-11-06 00:19:58 +05:00
|
|
|
url(r'^fetchDomains$', views.fetchDomains, name='submitDomainCreation'),
|
|
|
|
|
url(r'^changePHP$', views.changePHP, name='changePHP'),
|
|
|
|
|
url(r'^submitDomainDeletion$', views.submitDomainDeletion, name='submitDomainDeletion'),
|
2020-08-15 13:01:40 +05:00
|
|
|
url(r'^searchChilds$', views.searchChilds, name='searchChilds'),
|
2018-03-01 16:11:49 +00:00
|
|
|
# crons
|
2018-03-02 18:13:26 +05:00
|
|
|
|
2018-11-06 00:19:58 +05:00
|
|
|
url(r'^listCron$',views.listCron,name="listCron"),
|
|
|
|
|
url(r'^getWebsiteCron$',views.getWebsiteCron,name="getWebsiteCron"),
|
|
|
|
|
url(r'^getCronbyLine$',views.getCronbyLine,name="getCronbyLine"),
|
|
|
|
|
url(r'^remCronbyLine$',views.remCronbyLine,name="remCronbyLine"),
|
|
|
|
|
url(r'^saveCronChanges$',views.saveCronChanges,name="saveCronChanges"),
|
|
|
|
|
url(r'^addNewCron$',views.addNewCron,name="addNewCron"),
|
2017-10-29 22:16:06 +05:00
|
|
|
|
|
|
|
|
|
2018-05-05 00:10:05 +05:00
|
|
|
## Domain Alias
|
|
|
|
|
|
2018-11-06 00:19:58 +05:00
|
|
|
url(r'^(?P<domain>(.*))/domainAlias$', views.domainAlias, name='domainAlias'),
|
|
|
|
|
url(r'^submitAliasCreation$',views.submitAliasCreation,name="submitAliasCreation"),
|
|
|
|
|
url(r'^issueAliasSSL$',views.issueAliasSSL,name="issueAliasSSL"),
|
|
|
|
|
url(r'^delateAlias$',views.delateAlias,name="delateAlias"),
|
2018-05-05 00:10:05 +05:00
|
|
|
|
2018-05-21 21:52:35 +05:00
|
|
|
|
|
|
|
|
## Openbasedir
|
|
|
|
|
url(r'^changeOpenBasedir$',views.changeOpenBasedir,name="changeOpenBasedir"),
|
|
|
|
|
|
2018-07-13 21:45:40 +05:00
|
|
|
## WP Install
|
|
|
|
|
|
2018-11-06 00:19:58 +05:00
|
|
|
url(r'^(?P<domain>(.*))/wordpressInstall$', views.wordpressInstall, name='wordpressInstall'),
|
2018-07-13 04:26:40 +05:00
|
|
|
url(r'^installWordpressStatus$',views.installWordpressStatus,name="installWordpressStatus"),
|
2018-07-13 21:45:40 +05:00
|
|
|
url(r'^installWordpress$', views.installWordpress, name='installWordpress'),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## Joomla Install
|
|
|
|
|
|
|
|
|
|
url(r'^installJoomla$', views.installJoomla, name='installJoomla'),
|
2018-11-06 00:19:58 +05:00
|
|
|
url(r'^(?P<domain>(.*))/joomlaInstall$', views.joomlaInstall, name='joomlaInstall'),
|
2018-07-13 21:45:40 +05:00
|
|
|
|
2018-08-05 01:46:31 +05:00
|
|
|
## PrestaShop Install
|
|
|
|
|
|
|
|
|
|
url(r'^prestaShopInstall$', views.prestaShopInstall, name='prestaShopInstall'),
|
2018-11-06 00:19:58 +05:00
|
|
|
url(r'^(?P<domain>(.*))/installPrestaShop$', views.installPrestaShop, name='installPrestaShop'),
|
2018-08-05 01:46:31 +05:00
|
|
|
|
2019-11-07 09:37:06 +05:00
|
|
|
## magento
|
|
|
|
|
|
|
|
|
|
url(r'^(?P<domain>(.*))/installMagento$', views.installMagento, name='installMagento'),
|
|
|
|
|
url(r'^magentoInstall$', views.magentoInstall, name='magentoInstall'),
|
|
|
|
|
|
2020-08-25 15:49:52 +05:00
|
|
|
## mautic
|
|
|
|
|
|
|
|
|
|
url(r'^(?P<domain>(.*))/installMautic$', views.installMautic, name='installMautic'),
|
|
|
|
|
url(r'^mauticInstall$', views.mauticInstall, name='mauticInstall'),
|
|
|
|
|
|
2018-07-13 04:26:40 +05:00
|
|
|
|
2018-07-26 04:11:10 +05:00
|
|
|
## Git
|
2018-11-06 00:19:58 +05:00
|
|
|
url(r'^(?P<domain>(.*))/setupGit$', views.setupGit, name='setupGit'),
|
2018-07-26 04:11:10 +05:00
|
|
|
url(r'^setupGitRepo$', views.setupGitRepo, name='setupGitRepo'),
|
|
|
|
|
|
2019-07-16 23:23:16 +05:00
|
|
|
## Set up SSH Access
|
|
|
|
|
url(r'^(?P<domain>(.*))/sshAccess$', views.sshAccess, name='sshAccess'),
|
|
|
|
|
url(r'^saveSSHAccessChanges$', views.saveSSHAccessChanges, name='saveSSHAccessChanges'),
|
|
|
|
|
|
2019-08-03 14:53:31 +05:00
|
|
|
## Staging Enviroment
|
|
|
|
|
|
|
|
|
|
url(r'^(?P<domain>(.*))/setupStaging$', views.setupStaging, name='setupStaging'),
|
|
|
|
|
url(r'^startCloning$', views.startCloning, name='startCloning'),
|
|
|
|
|
url(r'^(?P<domain>(.*))/(?P<childDomain>(.*))/syncToMaster$', views.syncToMaster, name='syncToMaster'),
|
|
|
|
|
url(r'^startSync$', views.startSync, name='startSync'),
|
|
|
|
|
|
2019-07-16 23:23:16 +05:00
|
|
|
|
2018-11-06 00:19:58 +05:00
|
|
|
url(r'^(?P<domain>(.*))/gitNotify$', views.gitNotify, name='gitNotify'),
|
2018-07-28 01:25:51 +05:00
|
|
|
url(r'^detachRepo$', views.detachRepo, name='detachRepo'),
|
|
|
|
|
url(r'^changeBranch$', views.changeBranch, name='changeBranch'),
|
2018-07-26 23:13:02 +05:00
|
|
|
|
2020-03-07 19:01:54 +05:00
|
|
|
### Manage GIT
|
|
|
|
|
|
|
|
|
|
url(r'^(?P<domain>(.*))/manageGIT$', views.manageGIT, name='manageGIT'),
|
2020-03-19 22:13:47 +05:00
|
|
|
url(r'^(?P<domain>(.*))/webhook$', views.webhook, name='webhook'),
|
2020-03-07 21:03:17 +05:00
|
|
|
url(r'^fetchFolderDetails$', views.fetchFolderDetails, name='fetchFolderDetails'),
|
2020-03-09 08:59:57 +05:00
|
|
|
url(r'^initRepo$', views.initRepo, name='initRepo'),
|
2020-03-09 16:30:56 +05:00
|
|
|
url(r'^setupRemote$', views.setupRemote, name='setupRemote'),
|
2020-03-10 12:49:35 +05:00
|
|
|
url(r'^changeGitBranch$', views.changeGitBranch, name='changeGitBranch'),
|
2020-03-10 15:06:42 +05:00
|
|
|
url(r'^createNewBranch$', views.createNewBranch, name='createNewBranch'),
|
|
|
|
|
url(r'^commitChanges$', views.commitChanges, name='commitChanges'),
|
2020-03-10 21:04:57 +05:00
|
|
|
url(r'^gitPull$', views.gitPull, name='gitPull'),
|
|
|
|
|
url(r'^gitPush$', views.gitPush, name='gitPush'),
|
2020-03-11 15:00:20 +05:00
|
|
|
url(r'^attachRepoGIT$', views.attachRepoGIT, name='attachRepoGIT'),
|
|
|
|
|
url(r'^removeTracking$', views.removeTracking, name='removeTracking'),
|
2020-03-12 13:30:18 +05:00
|
|
|
url(r'^fetchGitignore$', views.fetchGitignore, name='fetchGitignore'),
|
|
|
|
|
url(r'^saveGitIgnore$', views.saveGitIgnore, name='saveGitIgnore'),
|
2020-03-12 18:56:28 +05:00
|
|
|
url(r'^fetchCommits$', views.fetchCommits, name='fetchCommits'),
|
2020-03-13 11:12:40 +05:00
|
|
|
url(r'^fetchFiles$', views.fetchFiles, name='fetchFiles'),
|
|
|
|
|
url(r'^fetchChangesInFile$', views.fetchChangesInFile, name='fetchChangesInFile'),
|
2020-03-16 19:14:39 +05:00
|
|
|
url(r'^saveGitConfigurations$', views.saveGitConfigurations, name='saveGitConfigurations'),
|
2020-03-17 20:51:45 +05:00
|
|
|
url(r'^fetchGitLogs$', views.fetchGitLogs, name='fetchGitLogs'),
|
2020-03-10 21:04:57 +05:00
|
|
|
|
2020-10-25 10:07:50 +05:00
|
|
|
### SSH Configs
|
|
|
|
|
|
|
|
|
|
url(r'^getSSHConfigs$', views.getSSHConfigs, name='getSSHConfigs'),
|
|
|
|
|
url(r'^deleteSSHKey$', views.deleteSSHKey, name='deleteSSHKey'),
|
|
|
|
|
url(r'^addSSHKey$', views.addSSHKey, name='addSSHKey'),
|
|
|
|
|
|
2020-03-10 21:04:57 +05:00
|
|
|
|
2018-11-06 00:19:58 +05:00
|
|
|
## Catch all for domains
|
|
|
|
|
url(r'^(?P<domain>(.*))/(?P<childDomain>(.*))$', views.launchChild, name='launchChild'),
|
|
|
|
|
url(r'^(?P<domain>(.*))$', views.domain, name='domain'),
|
2017-10-24 19:16:36 +05:00
|
|
|
]
|