Exemplo n.º 1
0
 url(r'^concepts/search$', concept.search, name="concept_search"),
 url(r'^concepts/(?P<conceptid>%s)/from_sparql_endpoint$' % uuid_regex, concept.add_concepts_from_sparql_endpoint, name="from_sparql_endpoint"),
 url(r'^concepts/search_sparql_endpoint$', concept.search_sparql_endpoint_for_concepts, name="search_sparql_endpoint"),
 url(r'^concepts/dropdown', concept.dropdown, name="dropdown"),
 url(r'^concepts/paged_dropdown', concept.paged_dropdown, name="paged_dropdown"),
 url(r'^concepts/export/(?P<conceptid>%s)$' % uuid_regex , concept.export, name="export_concept"),
 url(r'^concepts/export/collections', concept.export_collections, name="export_concept_collections"),
 url(r'^concepts/collections', concept.get_concept_collections, name="get_concept_collections"),
 url(r'^concepts/get_pref_label', concept.get_pref_label, name="get_pref_label"),
 url(r'^conceptvalue/', concept.concept_value, name="concept_value"),
 url(r'^search$', search.SearchView.as_view(), name="search_home"),
 url(r'^search/terms$', search.search_terms, name="search_terms"),
 url(r'^search/resources$', search.search_results, name="search_results"),
 url(r'^search/time_wheel_config$', search.time_wheel_config, name="time_wheel_config"),
 url(r'^buffer/$', search.buffer, name="buffer"),
 url(r'^settings/', NewResourceEditorView.as_view(), {'resourceid': settings.RESOURCE_INSTANCE_ID, 'view_template': 'views/resource/new-editor.htm', 'main_script': 'views/resource/new-editor', 'nav_menu': False}, name='config'),
 url(r'^graph/new$', GraphDataView.as_view(action='new_graph'), name='new_graph'),
 url(r'^graph/import/', GraphDataView.as_view(action='import_graph'), name='import_graph'),
 url(r'^graph/reorder_nodes$', GraphDataView.as_view(action='reorder_nodes'), name='reorder_nodes'),
 url(r'^graph/permissions$', PermissionDataView.as_view(), name='permission_data'),
 url(r'^graph/permissions/permission_manager_data$', PermissionDataView.as_view(action='get_permission_manager_data'), name='permission_manager_data'),
 url(r'^graph/(?P<graphid>%s|())$' % uuid_regex, GraphManagerView.as_view(), name='graph'),
 url(r'^graph/(?P<graphid>%s)/append_branch$' % uuid_regex, GraphDataView.as_view(action='append_branch'), name='append_branch'),
 url(r'^graph/(?P<graphid>%s)/append_node$' % uuid_regex, GraphDataView.as_view(action='append_node'), name='append_node'),
 url(r'^graph/(?P<graphid>%s)/move_node$' % uuid_regex, GraphDataView.as_view(action='move_node'), name='move_node'),
 url(r'^graph/(?P<graphid>%s)/update_node$' % uuid_regex, GraphDataView.as_view(action='update_node'), name='update_node'),
 url(r'^graph/(?P<graphid>%s)/delete_node$' % uuid_regex, GraphDataView.as_view(action='delete_node'), name='delete_node'),
 url(r'^graph/(?P<graphid>%s)/delete_instances$' % uuid_regex, GraphDataView.as_view(action='delete_instances'), name='delete_instances'),
 url(r'^graph/(?P<graphid>%s)/clone$' % uuid_regex, GraphDataView.as_view(action='clone_graph'), name='clone_graph'),
 url(r'^graph/(?P<graphid>%s)/export$' % uuid_regex, GraphDataView.as_view(action='export_graph'), name='export_graph'),
 url(r'^graph/(?P<graphid>%s)/delete$' % uuid_regex, GraphDataView.as_view(action='delete_graph'), name='delete_graph'),
Exemplo n.º 2
0
 url(r'^concepts/collections',
     concept.get_concept_collections,
     name="get_concept_collections"),
 url(r'^concepts/get_pref_label',
     concept.get_pref_label,
     name="get_pref_label"),
 url(r'^conceptvalue/', concept.concept_value, name="concept_value"),
 url(r'^search$', search.SearchView.as_view(), name="search_home"),
 url(r'^search/terms$', search.search_terms, name="search_terms"),
 url(r'^search/resources$', search.search_results, name="search_results"),
 url(r'^search/time_wheel_config$',
     search.time_wheel_config,
     name="time_wheel_config"),
 url(r'^buffer/$', search.buffer, name="buffer"),
 url(r'^settings/',
     NewResourceEditorView.as_view(), {
         'resourceid': settings.RESOURCE_INSTANCE_ID,
         'view_template': 'views/resource/new-editor.htm',
         'main_script': 'views/resource/new-editor',
         'nav_menu': False
     },
     name='config'),
 url(r'^graph/new$',
     GraphDataView.as_view(action='new_graph'),
     name='new_graph'),
 url(r'^graph/import/',
     GraphDataView.as_view(action='import_graph'),
     name='import_graph'),
 url(r'^graph/reorder_nodes$',
     GraphDataView.as_view(action='reorder_nodes'),
     name='reorder_nodes'),
Exemplo n.º 3
0
     concept.get_pref_label,
     name="get_pref_label"),
 url(r"^conceptvalue/", concept.concept_value, name="concept_value"),
 url(r"^search$", search.SearchView.as_view(), name="search_home"),
 url(r"^search/terms$", search.search_terms, name="search_terms"),
 url(r"^search/resources$", search.search_results, name="search_results"),
 url(r"^search/time_wheel_config$",
     search.time_wheel_config,
     name="time_wheel_config"),
 url(r"^search/export_results$",
     search.export_results,
     name="export_results"),
 url(r"^buffer/$", search.buffer, name="buffer"),
 url(
     r"^settings/",
     NewResourceEditorView.as_view(),
     {
         "resourceid": settings.RESOURCE_INSTANCE_ID,
         "view_template": "views/resource/new-editor.htm",
         "main_script": "views/resource/new-editor",
         "nav_menu": False,
     },
     name="config",
 ),
 url(r"^graph/new$",
     GraphDataView.as_view(action="new_graph"),
     name="new_graph"),
 url(r"^graph/import/",
     GraphDataView.as_view(action="import_graph"),
     name="import_graph"),
 url(r"^graph/reorder_nodes$",
Exemplo n.º 4
0
 url(r"^concepts/dropdown", concept.dropdown, name="dropdown"),
 url(r"^concepts/paged_dropdown", concept.paged_dropdown, name="paged_dropdown"),
 url(r"^concepts/export/(?P<conceptid>%s)$" % uuid_regex, concept.export, name="export_concept"),
 url(r"^concepts/export/collections", concept.export_collections, name="export_concept_collections"),
 url(r"^concepts/collections", concept.get_concept_collections, name="get_concept_collections"),
 url(r"^concepts/get_pref_label", concept.get_pref_label, name="get_pref_label"),
 url(r"^conceptvalue/", concept.concept_value, name="concept_value"),
 url(r"^search$", search.SearchView.as_view(), name="search_home"),
 url(r"^search/terms$", search.search_terms, name="search_terms"),
 url(r"^search/resources$", search.search_results, name="search_results"),
 url(r"^search/time_wheel_config$", search.time_wheel_config, name="time_wheel_config"),
 url(r"^search/export_results$", search.export_results, name="export_results"),
 url(r"^buffer/$", search.buffer, name="buffer"),
 url(
     r"^settings/",
     NewResourceEditorView.as_view(),
     {
         "resourceid": settings.RESOURCE_INSTANCE_ID,
         "view_template": "views/resource/new-editor.htm",
         "main_script": "views/resource/new-editor",
         "nav_menu": False,
     },
     name="config",
 ),
 url(r"^graph/new$", GraphDataView.as_view(action="new_graph"), name="new_graph"),
 url(r"^graph/import/", GraphDataView.as_view(action="import_graph"), name="import_graph"),
 url(r"^graph/reorder_nodes$", GraphDataView.as_view(action="reorder_nodes"), name="reorder_nodes"),
 url(r"^graph/permissions$", PermissionDataView.as_view(), name="permission_data"),
 url(
     r"^graph/permissions/permission_manager_data$",
     PermissionDataView.as_view(action="get_permission_manager_data"),
Exemplo n.º 5
0
 url(r'^graph_settings/(?P<graphid>%s)$' % uuid_regex,
     NewGraphSettingsView.as_view(),
     name='new_graph_settings'),
 url(r'^components/datatypes/(?P<template>[a-zA-Z_-]*)',
     DatatypeTemplateView.as_view(),
     name='datatype_template'),
 url(r'^resource$', ResourceListView.as_view(), name='resource'),
 url(r'^resource/(?P<resourceid>%s)/(?P<graphid>%s)/add_resource$' %
     (uuid_regex, uuid_regex),
     ResourceEditorView.as_view(),
     name='old_add_resource'),
 url(r'^resource-old/(?P<resourceid>%s)$' % uuid_regex,
     ResourceEditorView.as_view(),
     name='old_resource_editor'),
 url(r'^resource/(?P<resourceid>%s)$' % uuid_regex,
     NewResourceEditorView.as_view(),
     name='resource_editor'),
 url(r'^add-resource/(?P<graphid>%s)$' % uuid_regex,
     NewResourceEditorView.as_view(),
     name='add_resource'),
 url(r'^resource/(?P<resourceid>%s)/copy$' % uuid_regex,
     ResourceEditorView.as_view(action='copy'),
     name='resource_copy'),
 url(r'^resource/(?P<resourceid>%s)/history$' % uuid_regex,
     ResourceEditLogView.as_view(),
     name='resource_edit_log'),
 url(r'^resource/(?P<resourceid>%s)/data/(?P<formid>%s)$' %
     (uuid_regex, uuid_regex),
     ResourceData.as_view(),
     name='resource_data'),
 url(r'^resource/(?P<resourceid>%s)/cards$' % uuid_regex,