urls.py 4.03 KB
Newer Older
Administrator committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
"""."""
from django.conf.urls import url


from . import views
from . import admin

urlpatterns = [
    url(r'^$', views.index, name='index'),
    url(r'^([0-9\-\ \:]+)$', views.index_date, name='index_date'),
    url(r'^config$', admin.config),
    url(r'^settings$', admin.module_settings),
    url(r'^get_all_shift_templates/$', views.get_all_shift_templates),
    url(r'^shift_template/next_shift/([0-9]+)$',
        views.get_shift_templates_next_shift),
    url(r'^create_from_buffered_data/$', views.create_from_buffered_data),
    url(r'^import_from_csv', views.create_from_csv),
    url(r'^inscriptions/$', views.inscriptions),
    url(r'^inscriptions/([0-9]*)$', views.inscriptions),
    url(r'^prepa-odoo/$', views.prepa_odoo),
    url(r'^validation_inscription/(.+)$', views.validation_inscription),
    url(r'^manage_mess$', admin.manage_mess),
    url(r'^problematic_members$', admin.problematic_members),
    url(r'^remove_member_from_mess_list$', admin.remove_member_from_mess_list),
    url(r'^generate_barcode/([0-9]+)$', admin.generate_barcode),
    url(r'^generate_base_and_barcode/([0-9]+)$', admin.generate_base_and_barcode),
    url(r'^create_envelops$', admin.create_envelops),
    url(r'^raw_search$', admin.raw_search),
    url(r'^coop_warning_msg$', views.coop_warning_msg),
    url(r'^coop_validated_data$', views.coop_validated_data),
    url(r'^latest_coop_id/$', views.latest_coop_id),
    url(r'^get/([0-9]+)$', views.get),
    url(r'^exists/([a-zA-Z0-9_\-\.\+@]+)$', views.exists),
Etienne Freiss committed
34
    url(r'^is_associated/([0-9]+)$', views.is_associated),
Administrator committed
35 36 37 38
    url(r'^get_couchdb_odoo_markers/(.+)$', views.get_couchdb_odoo_markers),
    url(r'^menu/$', views.menu),
    url(r'^verify_final_state$', views.verify_final_state),
    url(r'^update_couchdb_barcodes$', views.update_couchdb_barcodes),
39
    url(r'^add_shares_to_member$', views.add_shares_to_member),
Administrator committed
40
    #  Borne accueil
41
    url(r'^search/([^\/.]+)/?([0-9]*)', views.search),
Administrator committed
42 43 44
    url(r'^save_photo/([0-9]+)$', views.save_photo, name='save_photo'),
    url(r'^services_at_time/([0-9TZ\-\: \.]+)/([0-9\-]+)$', views.services_at_time),
    url(r'^service_presence/$', views.record_service_presence),
45
    url(r'^record_absences/?([0-9\-\ \:]*)$', views.record_absences),
46
    url(r'^record_shift_absences/?([0-9]+)$', views.record_shift_absences),
Administrator committed
47 48 49 50 51
    url(r'^close_ftop_service$', views.close_ftop_service),
    url(r'^get_credentials$', views.get_credentials),
    url(r'^remove_data_from_couchdb$', views.remove_data_from_CouchDB),
    url(r'^image/([0-9]+)', views.getmemberimage),
    url(r'^add_pts_to_everybody/([0-9]+)/([a-zA-Z0-9_ ]+)$', admin.add_pts_to_everybody),
52
    url(r'^easy_validate_shift_presence$', views.easy_validate_shift_presence),
Administrator committed
53 54
    # conso / groupe recherche / socio
    url(r'^panel_get_purchases$', views.panel_get_purchases),
55
    # BDM
Etienne Freiss committed
56 57
    url(r'^save_partner_info$', views.save_partner_info),

58
    # BDM - members admin
59
    url(r'^admin/?$', admin.admin),
60
    url(r'^admin/manage_makeups$', admin.manage_makeups),
61
    url(r'^admin/manage_shift_registrations$', admin.manage_shift_registrations),
Félicie committed
62
    url(r'^admin/manage_regular_shifts$', admin.manage_regular_shifts),
63 64
    url(r'^get_makeups_members$', admin.get_makeups_members),
    url(r'^update_members_makeups$', admin.update_members_makeups),
65
    url(r'^delete_shift_registration$', admin.delete_shift_registration),
66
    url(r'^delete_shift_template_registration$', admin.delete_shift_template_registration),
67
    url(r'^shift_subscription$', admin.shift_subscription),
Félicie committed
68
    url(r'^admin/manage_attached$', admin.manage_attached),
69
    url(r'^admin/regenerate_member_delay$', admin.regenerate_member_delay),
Félicie committed
70 71
    url(r'^admin/manage_attached/create_pair$', admin.create_pair),
    url(r'^admin/manage_attached/delete_pair$', admin.delete_pair),
72 73
    url(r'^get_makeups_members$', admin.get_makeups_members),
    url(r'^update_members_makeups$', admin.update_members_makeups),
74
    url(r'^get_member_info/(\d+)$', admin.get_member_info),
Félicie committed
75
    url(r'^get_attached_members$', admin.get_attached_members),
76 77
    # External login 
    url(r'^external_login$', views.external_login)
Administrator committed
78
]