Esempio n. 1
0
    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'),

    # Uncomment the admin/doc line below to enable admin documentation:
    # url(r'^admin/doc/', include('django.contrib.admindocs.urls')),

    # Uncomment the next line to enable the admin:
    url(r'^admin/', admin.site.urls),
    url(r'^password_reset/$', auth_views.password_reset, name='password_reset', kwargs={"password_reset_form":ArchesPasswordResetForm}),
    url(r'^password_reset/done/$', auth_views.password_reset_done, name='password_reset_done'),
    url(r'^reset/(?P<uidb64>[0-9A-Za-z_\-]+)/(?P<token>[0-9A-Za-z]{1,13}-[0-9A-Za-z]{1,20})/$', auth_views.password_reset_confirm, name='password_reset_confirm', kwargs={"set_password_form":ArchesSetPasswordForm}),
Esempio n. 2
0
 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"),
 url(r"^api/nodes/(?P<nodeid>%s|())$" % (uuid_regex), api.Node.as_view(), name="api_nodes"),
 url(r"^api/instance_permissions/$", api.InstancePermission.as_view(), name="api_instance_permissions"),
 url(r"^api/node_value/$", api.NodeValue.as_view(), name="api_node_value"),
 url(r"^api/resource_report/(?P<resourceid>%s|())$" % (uuid_regex), api.ResourceReport.as_view(), name="api_resource_report"),
 url(r"^api/bulk_resource_report$", api.BulkResourceReport.as_view(), name="api_bulk_resource_report"),
 url(
     r"^api/bulk_disambiguated_resource_instance$",
     api.BulkDisambiguatedResourceInstance.as_view(),
     name="api_bulk_disambiguated_resource_instance",
 ),
 url(r"^api/search/export_results$", api.SearchExport.as_view(), name="api_export_results"),
 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"^geojson$", api.GeoJSON.as_view(), name="geojson"),
 url(
     r"^mvt/(?P<nodeid>%s)/(?P<zoom>[0-9]+|\{z\})/(?P<x>[0-9]+|\{x\})/(?P<y>[0-9]+|\{y\}).pbf$" % uuid_regex,
     api.MVT.as_view(),
     name="mvt",
 ),
 url(r"^images$", api.Images.as_view(), name="images"),
 url(r"^ontology_properties$", api.OntologyProperty.as_view(), name="ontology_properties"),
 url(r"^validate/(?P<itemtype>[-\w]+)/(?P<itemid>[-\w]+)", api.Validator.as_view(), name="validate"),
 url(r"^validate/(?P<itemtype>[-\w]+)", api.Validator.as_view(), name="validatejson"),
 url(r"^tileserver/(?P<path>.*)$", TileserverProxyView.as_view()),
 url(r"^history/$", ResourceActivityStreamCollectionView.as_view(), name="as_stream_collection"),
Esempio n. 3
0
     name="api_tiles"),
 url(r"^api/nodes/(?P<nodeid>%s|())$" % (uuid_regex),
     api.Node.as_view(),
     name="api_nodes"),
 url(r"^api/instance_permissions/$",
     api.InstancePermission.as_view(),
     name="api_instance_permissions"),
 url(r"^api/node_value/$", api.NodeValue.as_view(), name="api_node_value"),
 url(r"^api/search/export_results$",
     api.SearchExport.as_view(),
     name="api_export_results"),
 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"^geojson$", api.GeoJSON.as_view(), name="geojson"),
 url(
     r"^mvt/(?P<nodeid>%s)/(?P<zoom>[0-9]+|\{z\})/(?P<x>[0-9]+|\{x\})/(?P<y>[0-9]+|\{y\}).pbf$"
     % uuid_regex,
     api.MVT.as_view(),
     name="mvt",
 ),
Esempio n. 4
0
        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'),

    # Uncomment the admin/doc line below to enable admin documentation:
    # url(r'^admin/doc/', include('django.contrib.admindocs.urls')),

    # Uncomment the next line to enable the admin:
    url(r'^admin/', admin.site.urls),
    url(r'^password_reset/$',
Esempio n. 5
0
     search.search_results,
     name="search_results"),
 url(r'^consultations/', include('arches.urls', namespace='consultations')),
 url(
     r'^plugins/active-consultations$',
     RedirectView.as_view(
         url='/consultations/plugins/active-consultations')),
 url(r'^', include('arches.urls')),
 # url(r'^consultations', ConsultationView.as_view(), name='consultations'),
 url(r'^consultations/index.htm', main.index, name='home'),
 url(r'^consultations/user$',
     UserManagerView.as_view(),
     name="user_profile_manager"),
 url(r'^filetemplate', FileTemplateView.as_view(), name='filetemplate'),
 url(r'^consultations/plugins/active-consultations',
     PluginView.as_view(),
     name='active-consultations'),
 url(r'^activeconsultations',
     ActiveConsultationsView.as_view(),
     name='activeconsultations'),
 url(r'^consultations/plugins/consultation-workflow',
     PluginView.as_view(),
     name='consultation-workflow'),
 url(r'^consultations/plugins/application-area',
     PluginView.as_view(),
     name='application-area'),
 url(r'^consultations/plugins/site-visit',
     PluginView.as_view(),
     name='site-visit'),
 url(r'^consultations/plugins/correspondence-workflow',
     PluginView.as_view(),