158 lines
13 KiB
Python
158 lines
13 KiB
Python
from django.urls import path, re_path, register_converter, include
|
|
from django.conf.urls import handler404
|
|
|
|
from . import views
|
|
|
|
urlpatterns = [
|
|
path('', views.artsurvey_params, name='artsurvey index'),
|
|
path('resolve/name/<str:name>/', views.resolve_name, name='artsurvey resolve name'),
|
|
path('profile', views.profile, name='artsurvey profile'),
|
|
path('history', views.history, name='artsurvey history'),
|
|
path('search/coords', views.search_coords_form, name='artsurvey search by coords'),
|
|
path('search/name', views.search_name_form, name='artsurvey search by name'),
|
|
path('search/resolve', views.resolve_name, name='artsurvey resolve name'),
|
|
path('catalog', views.index, name='artsurvey catalog'),
|
|
path('tex', views.tex, name='artsurvey tex'),
|
|
|
|
path('paper', views.index_catalog, name='artsurvey paper'),
|
|
path('paper/tex', views.get_tex_catalog, name='artsurvey tex catalog'),
|
|
path('paper/tex/notes', views.get_tex_notes, name='artsurvey tex notes'),
|
|
|
|
path('paper2/cat', views.index_catalog_paper2, name='artsurvey cat paper2'),
|
|
path('paper2/csv', views.get_csv_catalog_paper2, name='artsurvey csv paper2'),
|
|
path('paper2/tex/catalog', views.get_tex_paper2_catalog, name='artsurvey tex paper2 catalog'),
|
|
path('paper2/tex/notes', views.get_tex_paper2_notes, name='artsurvey tex paper2 notes'),
|
|
|
|
path('types', views.types, name='artsurvey types'),
|
|
path('match', views.artsurvey_crossmatch, name='artsurvey crossmatch'),
|
|
path('summary', views.summary, name='artsurvey summary'),
|
|
path('match/integral2020', views.integral2020, name='artsurvey integral2020'),
|
|
path('sort/ra/asc', views.index_sort_ra_asc, name='artsurvey sort ra asc'),
|
|
path('sort/ra/desc', views.index_sort_ra_desc, name='artsurvey sort ra desc'),
|
|
path('sort/nfalse/asc', views.index_sort_nfalse_asc, name='artsurvey sort nfalse asc'),
|
|
path('sort/nfalse/desc', views.index_sort_nfalse_desc, name='artsurvey sort nfalse desc'),
|
|
path('sort/dec/asc', views.index_sort_dec_asc, name='artsurvey sort dec asc'),
|
|
path('sort/dec/desc', views.index_sort_dec_desc, name='artsurvey sort dec desc'),
|
|
path('sort/sign/asc', views.index_sort_sign_asc, name='artsurvey sort sign asc'),
|
|
path('sort/sign/desc', views.index_sort_sign_desc, name='artsurvey sort sign desc'),
|
|
path('sort/flux/asc', views.index_sort_flux_asc, name='artsurvey sort flux asc'),
|
|
path('sort/flux/desc', views.index_sort_flux_desc, name='artsurvey sort flux desc'),
|
|
path('<int:source_id>/new', views.create_artsurvey, name='Create ArtSurveySource'),
|
|
path('<int:source_id>/delete', views.delete_artsurvey_source, name='Delete ArtSurveySource'),
|
|
path('<int:source_id>/markbad', views.markbad_artsurvey_source, name='Mark bad ArtSurveySource'),
|
|
path('<int:source_id>/usercat', views.new_heasarc_source, name='new heasarc source'),
|
|
path('<int:source_id>/artsource', views.show_artsurvey_source, name='Show ArtSurveySource'),
|
|
path('<int:source_id>/artsource/ds9', views.get_artsurvey_source_ds9, name='Show ArtSurveySource DS9'),
|
|
path('<int:source_id>/artsource/ds9/linked', views.get_artsurvey_source_ds9_linked, name='Show ArtSurveySource DS9 linked'),
|
|
path('<int:source_id>/metasource', views.show_metasource, name='Show MetaSource'),
|
|
path('<int:source_id>/metasource/<int:band_id>', views.show_metasource_band, name='Show MetaSource band'),
|
|
path('<int:source_id>/metasource/delete', views.delete_metasource, name='Delete MetaSource'),
|
|
path('<int:source_id>/metasource/delete/paper', views.delete_paper_metasource, name='Delete Paper MetaSource'),
|
|
path('<int:source_id>/gaia/<int:gaia_id>/', views.set_artsurvey_gaia, name='set ArtSurveySource GAIA'),
|
|
path('<int:source_id>/link/heasarc/<int:heasarc_id>/', views.link_heasarc, name='Link HEASARC'),
|
|
path('<int:source_id>/unlink/heasarc/<int:heasarc_id>/', views.unlink_heasarc, name='unLink HEASARC'),
|
|
path('<int:source_id>/unlink/heasarc/all', views.unlink_heasarc_all, name='unLink HEASARC all'),
|
|
path('<int:source_id>/gaia/<int:gaia_id>/', views.set_artsurvey_gaia, name='set ArtSurveySource GAIA'),
|
|
path('<int:source_id>/allwise/<int:allwise_id>/', views.set_artsurvey_allwise, name='set ArtSurveySource AllWISE'),
|
|
path('<int:source_id>/nvss/<int:nvss_id>/', views.set_artsurvey_nvss, name='set ArtSurveySource NVSS'),
|
|
path('<int:source_id>/vlass/<int:vlass_id>/', views.set_artsurvey_vlass, name='set ArtSurveySource VLASS'),
|
|
path('<int:source_id>/gaiadr3/<int:gaiadr3_id>/', views.set_artsurvey_gaiadr3, name='set ArtSurveySource GAIADR3'),
|
|
path('<int:source_id>/bj2021/<int:bj2021_id>/', views.set_artsurvey_bj2021, name='set ArtSurveySource BJ2021'),
|
|
path('<int:source_id>/first/<int:first_id>/', views.set_artsurvey_first, name='set ArtSurveySource FIRST'),
|
|
path('<int:source_id>/sumss/<int:sumss_id>/', views.set_artsurvey_sumss, name='set ArtSurveySource SUMSS'),
|
|
path('<int:source_id>/wise/<int:wise_id>/', views.set_artsurvey_wise, name='set ArtSurveySource WISE'),
|
|
path('<int:source_id>/allwise/clean/', views.clean_artsurvey_allwise, name='clean ArtSurveySource AllWISE'),
|
|
path('<int:source_id>/gaiadr3/clean/', views.clean_artsurvey_gaiadr3, name='clean ArtSurveySource GAIADR3'),
|
|
path('<int:source_id>/bj2021/clean/', views.clean_artsurvey_bj2021, name='clean ArtSurveySource BJ2021'),
|
|
path('<int:source_id>/nvss/clean/', views.clean_artsurvey_nvss, name='clean ArtSurveySource NVSS'),
|
|
path('<int:source_id>/first/clean/', views.clean_artsurvey_first, name='clean ArtSurveySource FIRST'),
|
|
path('<int:source_id>/sumss/clean/', views.clean_artsurvey_sumss, name='clean ArtSurveySource SUMSS'),
|
|
path('<int:source_id>/wise/clean/', views.clean_artsurvey_wise, name='clean ArtSurveySource WISE'),
|
|
path('<int:source_id>/gaia/clean/', views.clean_artsurvey_gaia, name='clean ArtSurveySource GAIA'),
|
|
path('<int:source_id>/type', views.type_artsurvey_source, name='Type ArtSurveySource'),
|
|
path('<int:source_id>/notes', views.notes, name='Notes ArtSurveySource'),
|
|
path('<int:survey_id>/notes/survey', views.notes_survey, name='Notes ArtSurvey'),
|
|
path('<int:source_id>/cname', views.cname, name='CName ArtSurveySource'),
|
|
path('<int:source_id>/update/source', views.update_artsurveysource, name='Update ArtSurveySource'),
|
|
path('<int:source_id>/load/skyview/<str:survey>/', views.load_skyview_image, name='load SkyView image'),
|
|
path('<int:source_id>/load/ps1/color', views.load_ps1_color_image, name='load PS1 color image'),
|
|
path('<int:source_id>/load/ps1/gray', views.load_ps1_gray_image, name='load PS1 gray image'),
|
|
path('<int:source_id>/load/ps1/fits/<str:filtername>', views.load_ps1_fits_image, name='load PS1 fits image'),
|
|
path('type/<int:type_id>/show', views.show_type, name='artsurvey show type'),
|
|
path('ajax/autocomplete/', views.ajax_autocomplete, name='artsurvey ajax autocomplete'),
|
|
path('<int:source_id>/update/', views.update_type, name='artsurvey update type'),
|
|
path('params', views.artsurvey_params, name='artsurvey params'),
|
|
path('params/reset', views.artsurvey_params_reset, name='artsurvey params reset'),
|
|
path('csv/selection', views.get_csv_selection, name='artsurvey csv selection'),
|
|
path('csv/all', views.get_csv_all, name='artsurvey csv all'),
|
|
path('ds9/all', views.get_ds9_all, name='artsurvey ds9 all'),
|
|
path('ds9/all/flux', views.get_ds9_all_flux, name='artsurvey ds9 all flux'),
|
|
path('ds9/all/paper', views.get_ds9_all_paper, name='artsurvey ds9 all paper'),
|
|
path('ds9/all/paper2', views.get_ds9_all_paper2, name='artsurvey ds9 all paper2'),
|
|
path('ds9/all/paper/newonly', views.get_ds9_all_paper_newonly, name='artsurvey ds9 all paper newonly'),
|
|
path('ds9/all/paper/known', views.get_ds9_all_paper_known, name='artsurvey ds9 all paper known'),
|
|
path('csv/catalog', views.get_csv_catalog, name='artsurvey csv catalog'),
|
|
path('<int:source_id>/counterpart', views.counterpart, name='counterpart new'),
|
|
path('<int:source_id>/vizier', views.vizier, name='artsurvey vizier'),
|
|
path('category/<int:source_id>/update', views.update_category, name='artsurvey update category'),
|
|
path('category/<int:category_id>/show', views.show_category, name='artsurvey show category'),
|
|
path('<int:source_id>/oname', views.other_name_add, name='artsurvey add other name'),
|
|
path('<int:othername_id>/oname/delete/', views.other_name_delete, name='artsurvey delete other name'),
|
|
path('<int:othername_id>/oname/update/', views.other_name_update, name='artsurvey update other name'),
|
|
path('tentative/<int:source_id>/mark', views.mark_tentative, name='mark tentative'),
|
|
path('tentative/<int:source_id>/remove', views.remove_tentative, name='remove tentative'),
|
|
path('turkish', views.show_turkish, name='artsurvey show turkish'),
|
|
path('turkish/<int:source_id>/mark', views.mark_turkish, name='mark turkish'),
|
|
path('turkish/<int:source_id>/remove', views.remove_turkish, name='remove turkish'),
|
|
path('newxray/<int:source_id>/mark', views.mark_newxray, name='mark new X-ray'),
|
|
path('newxray/<int:source_id>/remove', views.remove_newxray, name='remove new X-ray'),
|
|
path('type/<int:source_id>/clean', views.clean_class, name='clean class'),
|
|
path('swiftbat105m/filter', views.swiftbat105m_filter, name='artsurvey swiftbat105m filter'),
|
|
path('swiftbat105m/exclude', views.swiftbat105m_exclude, name='artsurvey swiftbat105m exclude'),
|
|
path('swiftbat105m/filter/csv', views.swiftbat105m_filter_csv, name='artsurvey swiftbat105m filter csv'),
|
|
path('swiftbat105m/exclude/csv', views.swiftbat105m_exclude_csv, name='artsurvey swiftbat105m exclude csv'),
|
|
path('xmmdr10', views.xmmdr10, name='artsurvey xmmdr10'),
|
|
path('xmmdr12', views.xmmdr12, name='artsurvey xmmdr12'),
|
|
path('xmmsl2', views.xmmsl2, name='artsurvey xmmsl2'),
|
|
path('rass2rxs/filter', views.rass2rxs_filter, name='artsurvey rass2rxs filter'),
|
|
path('rass2rxs/filter/csv', views.rass2rxs_filter_csv, name='artsurvey rass2rxs filter csv'),
|
|
path('rass2rxs/exclude', views.rass2rxs_exclude, name='artsurvey rass2rxs exclude'),
|
|
path('rass2rxs/exclude/csv', views.rass2rxs_exclude_csv, name='artsurvey rass2rxs exclude csv'),
|
|
path('rxte', views.rxte, name='artsurvey rxte'),
|
|
path('intfercat', views.intrefcat, name='artsurvey intrefcat'),
|
|
path('maxigsc', views.maxigsc, name='artsurvey maxigsc'),
|
|
path('3maxi', views.maxi3, name='artsurvey 3maxi'),
|
|
path('maxi7yr', views.maxi7yr, name='artsurvey maxi7yr'),
|
|
path('fermi', views.fermi, name='artsurvey fermi'),
|
|
path('exclude_xray', views.exclude_xray, name='artsurvey exclude xray'),
|
|
#path('tubitak', views.show_turkpossible, name='artsurvey turk possible'),
|
|
path('filter_xray', views.filter_xray, name='artsurvey filter xray'),
|
|
path('<int:source_id>/upload', views.artsource_upload, name='artsource upload'),
|
|
path('<int:source_id>/upload/delete/<int:upload_id>', views.delete_upload, name='artsource delete upload'),
|
|
path('<int:source_id>/upload/edit/<int:upload_id>', views.edit_upload, name='artsource edit upload'),
|
|
|
|
path('<int:survey_id>/survey/upload/primary/clean', views.clean_primary_upload_survey, name='artsource upload'),
|
|
path('<int:survey_id>/survey/upload/primary/<int:upload_id>', views.set_primary_upload_survey, name='artsource upload'),
|
|
path('<int:survey_id>/survey/upload', views.artsource_upload_survey, name='artsource upload'),
|
|
path('<int:survey_id>/survey/upload/delete/<int:upload_id>', views.delete_upload_survey, name='artsource delete upload'),
|
|
path('<int:survey_id>/survey/upload/edit/<int:upload_id>', views.edit_upload_survey, name='artsource edit upload'),
|
|
|
|
path('<int:source_id>/metasource/group/<int:friend_id>', views.metasource_group, name='metasource group'),
|
|
path('<int:source_id>/metasource/upload', views.metasource_upload, name='metasource upload'),
|
|
path('<int:source_id>/metasource/upload/delete/<int:upload_id>', views.delete_upload_metasource, name='artsource delete upload'),
|
|
path('<int:source_id>/metasource/upload/edit/<int:upload_id>', views.edit_upload_metasource, name='artsource edit upload metasource'),
|
|
path('<int:source_id>/selection/add', views.add_to_selection, name='artsource add to selection'),
|
|
path('<int:source_id>/selection/remove', views.remove_from_selection, name='artsource remove from selection'),
|
|
path('<int:source_id>/selection/remove/profile', views.remove_from_selection_profile, name='artsource remove from selection profile'),
|
|
path('<int:source_id>/selection/remove/basket/<int:basket_id>', views.remove_from_basket, name='artsource remove from basket'),
|
|
path('bad_button', views.bad_button, name='ajax bad button'),
|
|
path('SGP/<int:survey_id>', views.set_galplane_survey, name='artsurvey set galplane survey'),
|
|
path('<int:comment_id>/comment/delete', views.delete_comment, name='artsource delete comment'),
|
|
path('<int:source_id>/transfer/<int:transfer_from_id>', views.transfer, name='artsource transfer from'),
|
|
path('basket/create', views.basket_create, name='artsurvey basket create'),
|
|
path('basket/<int:basket_id>/update', views.basket_update, name='artsurvey basket update'),
|
|
path('basket/<int:basket_id>/show', views.basket_show, name='artsurvey basket show'),
|
|
path('basket/<int:basket_id>/delete', views.basket_delete, name='artsurvey basket delete'),
|
|
]
|
|
|