"""DomainScript URL Configuration

The `urlpatterns` list routes URLs to views. For more information please see:
    https://docs.djangoproject.com/en/1.10/topics/http/urls/
Examples:
Function views
    1. Add an import:  from my_app import views
    2. Add a URL to urlpatterns:  url(r'^$', views.home, name='home')
Class-based views
    1. Add an import:  from other_app.views import Home
    2. Add a URL to urlpatterns:  url(r'^$', Home.as_view(), name='home')
Including another URLconf
    1. Import the include() function: from django.conf.urls import url, include
    2. Add a URL to urlpatterns:  url(r'^blog/', include('blog.urls'))
"""
from django.conf.urls import url
from django.contrib import admin
import domain.views

urlpatterns = [
    url(r'^admin/', admin.site.urls),
    url(r'^home_login/', domain.views.Login),
    url(r'^logout/', domain.views.Logout),
    #  editing
    url(r'^$', domain.views.editing),
    url(r'^run_script/', domain.views.runEditing),
    url(r'^change_setting/', domain.views.changeSetting),
    url(r'^save_zone_files/', domain.views.saveZoneFiles),
    #  raw leads
    url(r'^raw_leads/', domain.views.rawLeads),
    url(r'^raw_leads_all/', domain.views.rawLeadsAll),
    url(r'^reverse_state/', domain.views.reverse_state),
    url(r'^find_mails/', domain.views.find_mails),
    url(r'^truncate/', domain.views.truncate),
    url(r'^add_this_name/', domain.views.add_this_name),
    url(r'^rem_this_name/', domain.views.rem_this_name),
    url(r'^find_active/', domain.views.find_active),
    url(r'^mark_to_active/', domain.views.mark_to_active),
    url(r'^un_mark_to_active/', domain.views.un_mark_to_active),
    #  active leads
    url(r'^active_leads/', domain.views.activeLeads),
    url(r'^active_leads_tld/', domain.views.activeLeadsTld),
    url(r'^blacklist/', domain.views.blacklist),
    url(r'^blacklist_selected/', domain.views.blacklist_selected),
    url(r'^mark_to_send/', domain.views.mark_to_send),
    url(r'^un_mark_to_send/', domain.views.un_mark_to_send),
    url(r'^delete/', domain.views.delete),
    url(r'^send_mails/', domain.views.send_mails),
    url(r'^add_mail_man/', domain.views.add_mail_man),
    url(r'^rem_mail/', domain.views.rem_mail),
    url(r'^send_pending/', domain.views.send_pending),
    #  super blaklist
    url(r'^blacklisting/', domain.views.blacklisting),
    url(r'^super_blacklist/', domain.views.super_blacklist),
    url(r'^regular_blacklist/', domain.views.regular_blacklist),
    url(r'^remove_from_blacklist/', domain.views.remove_from_blacklist),
    #  download
    url(r'^download/', domain.views.download),
    url(r'^download_all/', domain.views.download_all),
    #  manual add
    url(r'^manual/', domain.views.manual),
    url(r'^add_manual_whois/', domain.views.add_manual),
    url(r'^add_multiple/', domain.views.add_multiple),
    url(r'^active_manual/', domain.views.active_manual),
    url(r'^del_hash/', domain.views.del_hash),
    # search
    url(r'^search/', domain.views.search),
    url(r'^search_results/', domain.views.search_results),
    url(r'^restore_lead/', domain.views.restoreDeleted),
    # admin
    url(r'^classified/', domain.views.admin),
    url(r'^whois_period/', domain.views.whois_period),
    url(r'^remove_unwanted/', domain.views.removeUnwanted),
    url(r'^delete_exception/', domain.views.deleteException),
    url(r'^delete_tld/', domain.views.deleteTld),
    url(r'^add_exception/', domain.views.addException),
    url(r'^add_tld/', domain.views.addTld),
    url(r'^whois_he_net/', domain.views.whoisHeNet),
    # Chart
    url(r'^chart/', domain.views.Chart),
]
