url(r"^widgets/(?P<template>[a-zA-Z_-]*)", main.widget, name="widgets"), url(r"^report-templates/(?P<template>[a-zA-Z_-]*)", main.report_templates, name="report-templates"), url(r"^function-templates/(?P<template>[a-zA-Z_-]*)", main.function_templates, name="function-templates"), url(r"^help-templates$", main.help_templates, name="help_templates"), url(r"^tile$", TileData.as_view(action="update_tile"), name="tile"), url(r"^tiles/reorder_tiles$", TileData.as_view(action="reorder_tiles"), name="reorder_tiles"), url(r"^tiles/tile_history$", TileData.as_view(action="tile_history"), name="tile_history"), url(r"^tiles/delete_provisional_tile$", TileData.as_view(action="delete_provisional_tile"), name="delete_provisional_tile"), url(r"^tiles/download_files$", TileData.as_view(action="download_files"), name="download_files"), url(r"^templates/(?P<template>[a-zA-Z_\-./]*)", main.templates, name="templates"), url(r"^map_layer_manager/(?P<maplayerid>%s)$" % uuid_regex, MapLayerManagerView.as_view(), name="map_layer_update"), url(r"^map_layer_manager/*", MapLayerManagerView.as_view(), name="map_layer_manager"), url(r"^feature_popup_content$", main.feature_popup_content, name="feature_popup_content"), url(r"^user$", UserManagerView.as_view(), name="user_profile_manager"), url(r"^user/get_user_names$", UserManagerView.as_view(action="get_user_names"), name="get_user_names"), url(r"^notifications$", NotificationView.as_view(), name="get_notifications"), url(r"^notifications/dismiss$", NotificationView.as_view(action="dismiss"), name="dismiss_notifications"), url(r"^notifications/get_types$", NotificationView.as_view(action="get_types"), name="get_notification_types"), url(r"^notifications/update_types$", NotificationView.as_view(action="update_types"), name="update_notification_types"), url(r"^collector_manager/*", MobileSurveyManagerView.as_view(), name="collector_manager"), url(r"^collector_designer/(?P<surveyid>%s)$" % uuid_regex, MobileSurveyDesignerView.as_view(), name="collector_designer"), url( r"^mobile_survey_resources/(?P<surveyid>%s)/resources$" % uuid_regex, MobileSurveyResources.as_view(), name="mobile_survey_resources", ), url(r"^couchdb/(?P<path>.*)$", api.CouchdbProxy.as_view()), url(r"^%s/(?P<path>.*)$" % settings.KIBANA_CONFIG_BASEPATH, api.KibanaProxy.as_view()), url(r"^mobileprojects/(?:(?P<surveyid>%s))?$" % uuid_regex, api.Surveys.as_view(), name="mobileprojects"), url(r"^sync/(?P<surveyid>%s|())$" % uuid_regex, api.Sync.as_view(), name="sync"), url(r"^checksyncstatus/(?P<synclogid>%s|())$" % uuid_regex, api.CheckSyncStatus.as_view(), name="checksyncstatus"),
url(r"^report-templates/(?P<template>[a-zA-Z_-]*)", main.report_templates, name="report-templates"), url(r"^function-templates/(?P<template>[a-zA-Z_-]*)", main.function_templates, name="function-templates"), url(r"^help-templates$", main.help_templates, name="help_templates"), url(r"^tile$", TileData.as_view(action="update_tile"), name="tile"), url(r"^tiles/reorder_tiles$", TileData.as_view(action="reorder_tiles"), name="reorder_tiles"), url(r"^tiles/tile_history$", TileData.as_view(action="tile_history"), name="tile_history"), url(r"^tiles/delete_provisional_tile$", TileData.as_view(action="delete_provisional_tile"), name="delete_provisional_tile"), url(r"^templates/(?P<template>[a-zA-Z_\-./]*)", main.templates, name="templates"), url(r"^map_layer_manager/(?P<maplayerid>%s)$" % uuid_regex, MapLayerManagerView.as_view(), name="map_layer_update"), url(r"^map_layer_manager/*", MapLayerManagerView.as_view(), name="map_layer_manager"), url(r"^feature_popup_content$", main.feature_popup_content, name="feature_popup_content"), url(r"^user$", UserManagerView.as_view(), name="user_profile_manager"), url(r"^user/get_user_names$", UserManagerView.as_view(action="get_user_names"), name="get_user_names"), url(r"^user_tasks$", UserTaskView.as_view(), name="get_user_tasks"), url(r"^user_tasks$", UserTaskView.as_view(action="get_all"), name="get_all_tasks"), url(r"^notifications$", NotificationView.as_view(), name="get_notifications"), url(r"^collector_manager/*", MobileSurveyManagerView.as_view(), name="collector_manager"), url(r"^collector_designer/(?P<surveyid>%s)$" % uuid_regex, MobileSurveyDesignerView.as_view(), name="collector_designer"), url( r"^mobile_survey_resources/(?P<surveyid>%s)/resources$" % uuid_regex, MobileSurveyResources.as_view(), name="mobile_survey_resources", ), url(r"^couchdb/(?P<path>.*)$", api.CouchdbProxy.as_view()), url(r"^mobileprojects/(?:(?P<surveyid>%s))?$" % uuid_regex, api.Surveys.as_view(), name="mobileprojects"), url(r"^sync/(?P<surveyid>%s|())$" % uuid_regex, api.Sync.as_view(), name="sync"), url(r"^resources/(?P<graphid>%s)/(?P<resourceid>%s|())$" % (uuid_regex, uuid_regex), api.Resources.as_view(), name="resources_graphid"), url(r"^resources/(?P<slug>[-\w]+)/(?P<resourceid>%s|())$" % uuid_regex, api.Resources.as_view(), name="resources_slug"), url(r"^resources/(?P<resourceid>%s|())$" % uuid_regex, api.Resources.as_view(), name="resources"), url(r"^rdm/concepts/(?P<conceptid>%s|())$" % uuid_regex, api.Concepts.as_view(), name="concepts"), url(r"^plugins/(?P<pluginid>%s)$" % uuid_regex, PluginView.as_view(), name="plugins"),
name="templates"), url(r"^map_layer_manager/(?P<maplayerid>%s)$" % uuid_regex, MapLayerManagerView.as_view(), name="map_layer_update"), url(r"^map_layer_manager/*", MapLayerManagerView.as_view(), name="map_layer_manager"), url(r"^feature_popup_content$", main.feature_popup_content, name="feature_popup_content"), url(r"^user$", UserManagerView.as_view(), name="user_profile_manager"), url(r"^user/get_user_names$", UserManagerView.as_view(action="get_user_names"), name="get_user_names"), url(r"^notifications$", NotificationView.as_view(), name="get_notifications"), url(r"^notifications/dismiss$", NotificationView.as_view(action="dismiss"), name="dismiss_notifications"), url(r"^notifications/get_types$", NotificationView.as_view(action="get_types"), name="get_notification_types"), url(r"^notifications/update_types$", NotificationView.as_view(action="update_types"), name="update_notification_types"), url(r"^collector_manager/*", MobileSurveyManagerView.as_view(), name="collector_manager"), url(r"^collector_designer/(?P<surveyid>%s)$" % uuid_regex, MobileSurveyDesignerView.as_view(),
url(r"^map_layer_manager/*", MapLayerManagerView.as_view(), name="map_layer_manager"), url(r"^feature_popup_content$", main.feature_popup_content, name="feature_popup_content"), url(r"^user$", UserManagerView.as_view(), name="user_profile_manager"), url(r"^user/get_user_names$", UserManagerView.as_view(action="get_user_names"), name="get_user_names"), url(r"^user_tasks$", UserTaskView.as_view(), name="get_user_tasks"), url(r"^user_tasks$", UserTaskView.as_view(action="get_all"), name="get_all_tasks"), url(r"^notifications$", NotificationView.as_view(), name="get_notifications"), url(r"^notifications$", NotificationView.as_view(action="dismiss"), name="dismiss_notifications"), url(r"^collector_manager/*", MobileSurveyManagerView.as_view(), name="collector_manager"), url(r"^collector_designer/(?P<surveyid>%s)$" % uuid_regex, MobileSurveyDesignerView.as_view(), name="collector_designer"), url( r"^mobile_survey_resources/(?P<surveyid>%s)/resources$" % uuid_regex, MobileSurveyResources.as_view(), name="mobile_survey_resources", ),