Exemplo n.º 1
0
 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"^graphs/(?P<graph_id>%s)$" % (uuid_regex), api.Graphs.as_view(), name="graphs_api"),
 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"^api/tiles/(?P<tileid>%s|())$" % (uuid_regex), api.Tile.as_view(), name="api_tiles"),
Exemplo n.º 2
0
 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'^tileserver/*', tileserver.handle_request, name="tileserver"),
 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'^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'),
 url(r'^plugins/(?P<slug>[-\w]+)$', PluginView.as_view(), name='plugins'),
 url(r'^cards/(?P<resourceid>%s|())$' % uuid_regex, api.Card.as_view(), name='api_card'),
 url(r'^search_component_data/(?P<componentname>[-\w]+)$', api.SearchComponentData.as_view(), name='api_search_component_data'),
 url(r'^history/$', ResourceActivityStreamCollectionView.as_view(), name="as_stream_collection"),
 url(r'^history/(?P<page>[0-9]+)$', ResourceActivityStreamPageView.as_view(), name='as_stream_page'),
 url(r'^icons$', IconDataView.as_view(), name='icons'),
Exemplo n.º 3
0
     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'^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'),