chellow 1712839751.0.0__tar.gz → 1712929217.0.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of chellow might be problematic. Click here for more details.
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/PKG-INFO +2 -2
- chellow-1712929217.0.0/VERSION +1 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/e/hh_importer.py +62 -32
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/e/views.py +44 -3
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/dc_contract.html +3 -4
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/dc_contract_edit.html +0 -48
- chellow-1712929217.0.0/chellow/templates/e/dc_contract_properties.html +17 -0
- chellow-1712929217.0.0/chellow/templates/e/dc_contract_properties_edit.html +71 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/views.py +13 -1
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/pyproject.toml +1 -1
- chellow-1712839751.0.0/VERSION +0 -1
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/.ebextensions/chellow.config +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/.github/workflows/chellow.yml +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/.gitignore +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/README.md +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/application.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/bin/chellow_service_monitor.sh +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/bin/chellow_start.sh +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/__init__.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/api.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/bank_holidays.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/commands.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/dloads.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/e/__init__.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/e/aahedc.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/e/bill_importer.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/e/bill_parsers/__init__.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/e/bill_parsers/activity_mop_stark_xlsx.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/e/bill_parsers/annual_mop_stark_xlsx.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/e/bill_parsers/bgb_edi.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/e/bill_parsers/csv.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/e/bill_parsers/engie_edi.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/e/bill_parsers/engie_xls.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/e/bill_parsers/engie_xlsx.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/e/bill_parsers/gdf_csv.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/e/bill_parsers/haven_csv.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/e/bill_parsers/haven_edi.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/e/bill_parsers/haven_edi_tprs.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/e/bill_parsers/mm.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/e/bill_parsers/nonsettlement_dc_stark_xlsx.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/e/bill_parsers/settlement_dc_stark_xlsx.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/e/bill_parsers/sse_edi.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/e/bill_parsers/sww_xls.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/e/bmarketidx.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/e/bsuos.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/e/ccl.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/e/cfd.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/e/computer.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/e/dno_rate_parser.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/e/duos.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/e/elexon.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/e/energy_management.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/e/hh_parser_bg_csv.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/e/hh_parser_df2.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/e/hh_parser_simple_csv.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/e/laf_import.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/e/lcc.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/e/mdd_importer.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/e/rcrc.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/e/ro.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/e/scenario.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/e/system_price.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/e/tlms.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/e/tnuos.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/e/triad.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/edi_lib.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/gas/bill_import.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/gas/bill_parser_csv.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/gas/bill_parser_engie_edi.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/gas/ccl.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/gas/cv.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/gas/dn_rate_parser.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/gas/engine.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/gas/transportation.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/gas/views.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/general_import.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/models.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/national_grid.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/proxy.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/rate_server.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/reports/__init__.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/reports/report_109.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/reports/report_111.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/reports/report_169.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/reports/report_181.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/reports/report_183.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/reports/report_187.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/reports/report_219.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/reports/report_231.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/reports/report_233.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/reports/report_241.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/reports/report_247.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/reports/report_29.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/reports/report_291.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/reports/report_33.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/reports/report_387.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/reports/report_41.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/reports/report_429.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/reports/report_59.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/reports/report_81.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/reports/report_87.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/reports/report_asset_comparison.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/reports/report_batches.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/reports/report_bills.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/reports/report_csv_llfcs.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/reports/report_csv_site_hh_data.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/reports/report_csv_site_snags.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/reports/report_ecoes_comparison.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/reports/report_g_monthly_duration.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/reports/report_g_supplies_snapshot.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/reports/report_g_supply_virtual_bill.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/reports/report_g_virtual_bills.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/reports/report_g_virtual_bills_hh.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/reports/report_sscs.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/reports/report_supply_contacts.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/static/css/chellow.css +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/static/images/favicon.svg +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/static/images/favicon_test.svg +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/static/images/logo.png +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/static/js/htmx.min.js +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/403.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/base.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/bill_type.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/bill_types.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/chain.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/csv_sites_monthly_duration.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/downloads.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/asset_comparison.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/channel.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/channel_add.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/channel_edit.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/channel_snag.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/channel_snag_edit.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/channel_snags.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/comm.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/comms.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/cop.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/cops.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/csv_bills.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/csv_register_reads.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/csv_sites_hh_data.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/csv_sites_triad.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/csv_supplies_hh_data.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/csv_supplies_snapshot.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/csv_supplies_triad.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/dc_auto_importer.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/dc_batch.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/dc_batch_add.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/dc_batch_edit.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/dc_batch_file.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/dc_batch_file_edit.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/dc_batch_upload_file.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/dc_batches.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/dc_bill.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/dc_bill_add.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/dc_bill_edit.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/dc_bill_import.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/dc_bill_imports.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/dc_contract_hh_import.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/dc_contract_hh_imports.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/dc_contracts.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/dc_contracts_add.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/dc_rate_script.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/dc_rate_script_add.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/dc_rate_script_edit.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/dno.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/dno_rate_script.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/dno_rate_script_add.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/dno_rate_script_edit.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/dnos.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/dtc_meter_type.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/dtc_meter_types.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/duration_report.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/elexon.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/em_hh_data.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/em_months.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/em_site.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/em_totals.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/energisation_status.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/energisation_statuses.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/era_edit.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/era_edit_form.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/era_supplier_bill_add.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/generator_type.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/generator_types.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/gsp_group.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/gsp_groups.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/hh_datum_edit.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/lafs.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/lcc.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/llfc.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/llfc_edit.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/llfcs.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/market_role.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/market_roles.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/meter_payment_type.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/meter_payment_types.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/meter_type.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/meter_types.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/mop_batch.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/mop_batch_add.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/mop_batch_edit.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/mop_batch_file.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/mop_batch_file_edit.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/mop_batch_upload_file.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/mop_batches.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/mop_bill.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/mop_bill_add.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/mop_bill_edit.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/mop_bill_import.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/mop_bill_imports.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/mop_contract.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/mop_contract_add.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/mop_contract_edit.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/mop_contracts.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/mop_rate_script.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/mop_rate_script_add.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/mop_rate_script_edit.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/mtc.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/mtc_llfc.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/mtc_llfc_ssc.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/mtc_llfc_ssc_pc.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/mtc_llfc_ssc_pcs.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/mtc_llfc_sscs.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/mtc_llfcs.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/mtc_participant.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/mtc_participants.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/mtc_ssc.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/mtc_sscs.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/mtcs.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/ods_monthly_duration.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/participant.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/participants.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/parties.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/party.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/pc.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/pcs.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/read_add.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/read_edit.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/read_type.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/read_types.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/scenario.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/scenario_add.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/scenario_docs.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/scenario_edit.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/scenarios.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/site_add_e_supply.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/site_add_e_supply_form.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/site_hh_data.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/site_site_snags.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/site_snag.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/site_snag_edit.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/site_snags.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/site_snags_edit.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/source.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/sources.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/ssc.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/sscs.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/supplier_batch.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/supplier_batch_add.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/supplier_batch_edit.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/supplier_batch_file.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/supplier_batch_file_add.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/supplier_batch_file_edit.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/supplier_batch_upload_file.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/supplier_batches.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/supplier_bill.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/supplier_bill_add.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/supplier_bill_edit.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/supplier_bill_import.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/supplier_bill_imports.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/supplier_contract.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/supplier_contract_add.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/supplier_contract_edit.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/supplier_contracts.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/supplier_rate_script.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/supplier_rate_script_add.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/supplier_rate_script_edit.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/supply.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/supply_edit.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/supply_eras.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/supply_hh_data.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/supply_months.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/supply_note_add.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/supply_note_edit.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/supply_notes.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/supply_post.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/supply_virtual_bill.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/tpr.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/e/tprs.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/edi_viewer.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/g/batch.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/g/batch_add.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/g/batch_edit.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/g/batches.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/g/bill.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/g/bill_add.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/g/bill_edit.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/g/bill_import.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/g/bill_imports.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/g/dn.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/g/dns.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/g/era_edit.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/g/exit_zone.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/g/industry_auto_importer.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/g/industry_contract.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/g/industry_contract_add.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/g/industry_contract_edit.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/g/industry_contracts.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/g/industry_rate_script.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/g/industry_rate_script_add.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/g/industry_rate_script_edit.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/g/ldz.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/g/read_add.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/g/read_edit.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/g/read_type.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/g/read_types.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/g/reading_frequencies.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/g/reading_frequency.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/g/reports.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/g/supplier_contract.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/g/supplier_contract_add.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/g/supplier_contract_edit.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/g/supplier_contracts.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/g/supplier_rate_script.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/g/supplier_rate_script_add.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/g/supplier_rate_script_edit.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/g/supplies.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/g/supply.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/g/supply_edit.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/g/supply_note_add.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/g/supply_note_edit.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/g/supply_notes.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/g/unit.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/g/units.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/general_import.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/general_imports.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/home.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/input_date.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/local_report.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/local_reports.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/macros.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/national_grid.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/non_core_auto_importer.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/non_core_contract.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/non_core_contract_edit.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/non_core_contracts.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/non_core_rate_script.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/non_core_rate_script_add.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/non_core_rate_script_edit.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/object_summary.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/rate_server.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/report_run.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/report_run_asset_comparison.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/report_run_bill_check.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/report_run_ecoes_comparison.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/report_run_row.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/report_run_row_bill_check.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/report_run_supply_contacts.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/report_runs.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/site.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/site_add.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/site_edit.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/site_gen_graph.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/site_hh_data.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/site_months.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/site_used_graph.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/sites.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/supplies.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/system.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/tester.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/user.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/user_roles.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/templates/users.html +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/testing.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/utils.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/gpl.txt +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/requirements.txt +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/setup.cfg +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/systemd/chellow.service +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/systemd/chellow_upgrader.service +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/systemd/chellow_upgrader.timer +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/test/conftest.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/test/e/bill_parsers/test_activity_mop_stark_xlsx.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/test/e/bill_parsers/test_annual_mop_stark_xlsx.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/test/e/bill_parsers/test_bill_parser_csv.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/test/e/bill_parsers/test_bill_parser_engie_edi.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/test/e/bill_parsers/test_bill_parser_engie_xls.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/test/e/bill_parsers/test_bill_parser_engie_xlsx.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/test/e/bill_parsers/test_bill_parser_haven_csv.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/test/e/bill_parsers/test_bill_parser_haven_edi.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/test/e/bill_parsers/test_bill_parser_haven_edi_tprs.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/test/e/bill_parsers/test_bill_parser_nonsettlement_dc_stark_xlsx/bills.nonsettlement.dc.stark.xlsx +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/test/e/bill_parsers/test_bill_parser_nonsettlement_dc_stark_xlsx/bills_old.nonsettlement.dc.stark.xlsx +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/test/e/bill_parsers/test_bill_parser_nonsettlement_dc_stark_xlsx/test_bill_parser_nonsettlement_dc_stark_xlsx.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/test/e/bill_parsers/test_bill_parser_settlement_dc_stark_xlsx/bills.settlement.dc.stark.xlsx +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/test/e/bill_parsers/test_bill_parser_settlement_dc_stark_xlsx/test_bill_parser_settlement_dc_stark_xlsx.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/test/e/bill_parsers/test_bill_parser_sse_edi.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/test/e/bill_parsers/test_bill_parser_sww_xls.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/test/e/system_price/prices.xls +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/test/e/system_price/test_system_price.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/test/e/test_aahedc.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/test/e/test_bill_importer.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/test/e/test_bsuos.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/test/e/test_ccl.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/test/e/test_cfd.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/test/e/test_computer.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/test/e/test_dno_rate_parser.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/test/e/test_duos.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/test/e/test_e_views.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/test/e/test_hh_importer.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/test/e/test_laf_importer.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/test/e/test_mdd_importer.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/test/e/test_rcrc_importer.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/test/e/test_ro.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/test/e/test_scenario.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/test/e/test_tlms.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/test/e/test_tnuos.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/test/e/test_triad.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/test/gas/bill_parsers/test_g_bill_parser_engie_edi.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/test/gas/test_dn_rate_parser.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/test/gas/test_engine.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/test/gas/test_g_cv.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/test/gas/test_gas_views.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/test/gas/test_transportation.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/test/reports/test_g_monthly_duration.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/test/reports/test_g_supplies_snapshot.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/test/reports/test_g_supply_virtual_bill.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/test/reports/test_g_virtual_bills.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/test/reports/test_g_virtual_bills_hh.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/test/reports/test_report_109.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/test/reports/test_report_111.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/test/reports/test_report_169.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/test/reports/test_report_181.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/test/reports/test_report_183.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/test/reports/test_report_187.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/test/reports/test_report_219.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/test/reports/test_report_231.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/test/reports/test_report_233.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/test/reports/test_report_241.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/test/reports/test_report_247.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/test/reports/test_report_29.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/test/reports/test_report_291.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/test/reports/test_report_33.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/test/reports/test_report_387.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/test/reports/test_report_41.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/test/reports/test_report_429.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/test/reports/test_report_59.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/test/reports/test_report_81.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/test/reports/test_report_87.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/test/reports/test_report_asset_comparison.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/test/reports/test_report_batches.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/test/reports/test_report_bills.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/test/reports/test_report_csv_llfcs.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/test/reports/test_report_csv_site_hh_data.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/test/reports/test_report_csv_site_snags.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/test/reports/test_report_dno_vl_parser.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/test/reports/test_report_ecoes_comparison.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/test/reports/test_report_sscs.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/test/reports/test_report_supply_contacts.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/test/test_chellow.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/test/test_dloads.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/test/test_edi_viewer.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/test/test_general_import.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/test/test_models.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/test/test_rate_server.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/test/test_testing.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/test/test_utils.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/test/test_views.py +0 -0
- {chellow-1712839751.0.0 → chellow-1712929217.0.0}/test/utils.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: chellow
|
|
3
|
-
Version:
|
|
3
|
+
Version: 1712929217.0.0
|
|
4
4
|
Summary: Web Application for checking UK energy bills.
|
|
5
5
|
Project-URL: Homepage, https://github.com/WessexWater/chellow
|
|
6
6
|
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
|
|
@@ -11,13 +11,13 @@ Requires-Dist: flask-restx==1.2.0
|
|
|
11
11
|
Requires-Dist: flask==2.3.3
|
|
12
12
|
Requires-Dist: odio==0.0.22
|
|
13
13
|
Requires-Dist: openpyxl==3.1.2
|
|
14
|
+
Requires-Dist: paramiko==3.4.0
|
|
14
15
|
Requires-Dist: pep3143daemon==0.0.6
|
|
15
16
|
Requires-Dist: pg8000==1.31.1
|
|
16
17
|
Requires-Dist: pip>=9.0.1
|
|
17
18
|
Requires-Dist: psutil==5.9.5
|
|
18
19
|
Requires-Dist: pympler==1.0.1
|
|
19
20
|
Requires-Dist: pypdf==3.17.0
|
|
20
|
-
Requires-Dist: pysftp==0.2.9
|
|
21
21
|
Requires-Dist: python-dateutil==2.8.2
|
|
22
22
|
Requires-Dist: pytz==2022.6
|
|
23
23
|
Requires-Dist: requests==2.31.0
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "1712929217.0.0"
|
|
@@ -8,13 +8,13 @@ import traceback
|
|
|
8
8
|
from collections import defaultdict, deque
|
|
9
9
|
from datetime import datetime as Datetime, timedelta as Timedelta
|
|
10
10
|
from decimal import Decimal
|
|
11
|
-
from io import TextIOWrapper
|
|
11
|
+
from io import StringIO, TextIOWrapper
|
|
12
|
+
from pathlib import Path
|
|
12
13
|
|
|
13
14
|
import jinja2
|
|
14
15
|
|
|
15
|
-
import
|
|
16
|
+
from paramiko import AutoAddPolicy, RSAKey, SFTPError, SSHClient
|
|
16
17
|
|
|
17
|
-
import pysftp
|
|
18
18
|
|
|
19
19
|
import requests
|
|
20
20
|
|
|
@@ -174,7 +174,7 @@ class HhImportTask(threading.Thread):
|
|
|
174
174
|
self.log(f"Problem {e}")
|
|
175
175
|
sess.rollback()
|
|
176
176
|
self.is_error = True
|
|
177
|
-
except
|
|
177
|
+
except BaseException:
|
|
178
178
|
self.log(f"Unknown Exception {traceback.format_exc()}")
|
|
179
179
|
sess.rollback()
|
|
180
180
|
self.is_error = True
|
|
@@ -231,19 +231,19 @@ class HhImportTask(threading.Thread):
|
|
|
231
231
|
fl = None
|
|
232
232
|
|
|
233
233
|
for directory in directories:
|
|
234
|
-
self.log("Checking the directory '
|
|
234
|
+
self.log(f"Checking the directory '{directory}'.")
|
|
235
235
|
try:
|
|
236
236
|
last_import_key = last_import_keys[directory]
|
|
237
237
|
except KeyError:
|
|
238
238
|
last_import_key = last_import_keys[directory] = ""
|
|
239
239
|
|
|
240
240
|
dir_path = home_path + "/" + directory
|
|
241
|
-
ftp.
|
|
241
|
+
ftp.chdir(dir_path)
|
|
242
242
|
files = []
|
|
243
|
-
for fname in ftp.
|
|
243
|
+
for fname in ftp.listdir():
|
|
244
244
|
fpath = dir_path + "/" + fname
|
|
245
245
|
try:
|
|
246
|
-
ftp.
|
|
246
|
+
ftp.chdir(fpath)
|
|
247
247
|
continue # directory
|
|
248
248
|
except ftplib.error_perm:
|
|
249
249
|
pass
|
|
@@ -266,7 +266,7 @@ class HhImportTask(threading.Thread):
|
|
|
266
266
|
key, fpath = fl
|
|
267
267
|
self.log(f"Attempting to download {fpath} with key {key}.")
|
|
268
268
|
f = tempfile.TemporaryFile()
|
|
269
|
-
ftp.retrbinary("RETR "
|
|
269
|
+
ftp.retrbinary(f"RETR {fpath}", f.write)
|
|
270
270
|
self.log("File downloaded successfully.")
|
|
271
271
|
ftp.quit()
|
|
272
272
|
self.log("Logged out.")
|
|
@@ -290,25 +290,30 @@ class HhImportTask(threading.Thread):
|
|
|
290
290
|
contract = Contract.get_dc_by_id(sess, self.contract_id)
|
|
291
291
|
contract.update_state(state)
|
|
292
292
|
sess.commit()
|
|
293
|
-
self.log("Finished loading '"
|
|
293
|
+
self.log(f"Finished loading '{fpath}'")
|
|
294
294
|
return True
|
|
295
295
|
|
|
296
296
|
def sftp_handler(self, sess, properties, contract):
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
password = properties
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
297
|
+
hostname = properties["hostname"]
|
|
298
|
+
username = properties["username"]
|
|
299
|
+
password = properties.get("password")
|
|
300
|
+
private_key = properties.get("private_key")
|
|
301
|
+
pkey = None
|
|
302
|
+
if private_key is not None:
|
|
303
|
+
pkf = StringIO.StringIO(private_key)
|
|
304
|
+
pkf.seek(0)
|
|
305
|
+
pkey = RSAKey.from_private_key(pkf)
|
|
306
|
+
|
|
307
|
+
port = properties.get("port", 22)
|
|
304
308
|
file_type = properties["file_type"]
|
|
305
309
|
directories = properties["directories"]
|
|
310
|
+
known_hosts = properties["known_hosts"].strip()
|
|
306
311
|
state = contract.make_state()
|
|
307
312
|
|
|
308
313
|
try:
|
|
309
314
|
last_import_keys = state["last_import_keys"]
|
|
310
315
|
except KeyError:
|
|
311
|
-
last_import_keys = state["last_import_keys"] =
|
|
316
|
+
last_import_keys = state["last_import_keys"] = {}
|
|
312
317
|
|
|
313
318
|
ct_now = ct_datetime_now()
|
|
314
319
|
try:
|
|
@@ -323,36 +328,60 @@ class HhImportTask(threading.Thread):
|
|
|
323
328
|
latest_imports = state["latest_imports"] = []
|
|
324
329
|
|
|
325
330
|
sess.rollback()
|
|
326
|
-
self.log(f"Connecting to sftp server at {
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
+
self.log(f"Connecting to sftp server at {hostname}:{port}.")
|
|
332
|
+
|
|
333
|
+
client = SSHClient()
|
|
334
|
+
client.set_missing_host_key_policy(AutoAddPolicy)
|
|
335
|
+
|
|
336
|
+
client.connect(
|
|
337
|
+
hostname,
|
|
338
|
+
port=port,
|
|
339
|
+
username=username,
|
|
340
|
+
password=password,
|
|
341
|
+
pkey=pkey,
|
|
342
|
+
key_filename=None,
|
|
343
|
+
timeout=120,
|
|
344
|
+
banner_timeout=120,
|
|
345
|
+
auth_timeout=120,
|
|
346
|
+
channel_timeout=120,
|
|
347
|
+
look_for_keys=False,
|
|
331
348
|
)
|
|
332
|
-
|
|
333
|
-
|
|
349
|
+
host_keys = client.get_host_keys()
|
|
350
|
+
with tempfile.TemporaryDirectory() as tempdir:
|
|
351
|
+
td = Path(tempdir)
|
|
352
|
+
hfname = td / "hosts"
|
|
353
|
+
host_keys.save(hfname)
|
|
354
|
+
with hfname.open() as hf:
|
|
355
|
+
host_keys_str = hf.read().strip()
|
|
356
|
+
|
|
357
|
+
if host_keys_str != known_hosts:
|
|
358
|
+
raise BadRequest(
|
|
359
|
+
f"The returned host keys {host_keys_str} don't match the known "
|
|
360
|
+
f"hosts {known_hosts} property"
|
|
361
|
+
)
|
|
362
|
+
|
|
363
|
+
ftp = client.open_sftp()
|
|
334
364
|
|
|
335
365
|
f = None
|
|
336
366
|
|
|
337
367
|
for directory in directories:
|
|
338
|
-
self.log("Checking the directory '
|
|
368
|
+
self.log(f"Checking the directory '{directory}'.")
|
|
339
369
|
try:
|
|
340
370
|
last_import_key = last_import_keys[directory]
|
|
341
371
|
except KeyError:
|
|
342
372
|
last_import_key = last_import_keys[directory] = ""
|
|
343
373
|
|
|
344
|
-
|
|
345
|
-
ftp.cwd(dir_path)
|
|
374
|
+
ftp.chdir(directory)
|
|
346
375
|
files = []
|
|
347
376
|
for attr in ftp.listdir_attr():
|
|
348
|
-
fpath =
|
|
377
|
+
fpath = f"{directory}/{attr.filename}"
|
|
349
378
|
try:
|
|
350
|
-
ftp.
|
|
379
|
+
ftp.chdir(fpath)
|
|
351
380
|
continue # directory
|
|
352
|
-
except
|
|
381
|
+
except SFTPError:
|
|
353
382
|
pass
|
|
354
383
|
|
|
355
|
-
key =
|
|
384
|
+
key = f"{attr.st_mtime}_{attr.filename}"
|
|
356
385
|
if key > last_import_key:
|
|
357
386
|
files.append((key, fpath))
|
|
358
387
|
|
|
@@ -364,6 +393,7 @@ class HhImportTask(threading.Thread):
|
|
|
364
393
|
if f is None:
|
|
365
394
|
self.log("No new files found.")
|
|
366
395
|
ftp.close()
|
|
396
|
+
client.close()
|
|
367
397
|
self.log("Logged out.")
|
|
368
398
|
return False
|
|
369
399
|
else:
|
|
@@ -105,7 +105,11 @@ from chellow.utils import (
|
|
|
105
105
|
utc_datetime,
|
|
106
106
|
utc_datetime_now,
|
|
107
107
|
)
|
|
108
|
-
from chellow.views import
|
|
108
|
+
from chellow.views import (
|
|
109
|
+
chellow_redirect as credirect,
|
|
110
|
+
hx_redirect as chx_redirect,
|
|
111
|
+
requires_editor,
|
|
112
|
+
)
|
|
109
113
|
|
|
110
114
|
|
|
111
115
|
def chellow_redirect(path, code=None):
|
|
@@ -1075,6 +1079,44 @@ def dc_contract_get(dc_contract_id):
|
|
|
1075
1079
|
)
|
|
1076
1080
|
|
|
1077
1081
|
|
|
1082
|
+
@e.route("/dc_contracts/<int:dc_contract_id>/properties")
|
|
1083
|
+
@requires_editor
|
|
1084
|
+
def dc_contract_properties_get(dc_contract_id):
|
|
1085
|
+
contract = Contract.get_dc_by_id(g.sess, dc_contract_id)
|
|
1086
|
+
return render_template("dc_contract_properties.html", dc_contract=contract)
|
|
1087
|
+
|
|
1088
|
+
|
|
1089
|
+
@e.route("/dc_contracts/<int:dc_contract_id>/properties/edit")
|
|
1090
|
+
@requires_editor
|
|
1091
|
+
def dc_contract_properties_edit_get(dc_contract_id):
|
|
1092
|
+
dc_contract = Contract.get_dc_by_id(g.sess, dc_contract_id)
|
|
1093
|
+
return render_template("dc_contract_properties_edit.html", dc_contract=dc_contract)
|
|
1094
|
+
|
|
1095
|
+
|
|
1096
|
+
@e.route("/dc_contracts/<int:dc_contract_id>/properties/edit", methods=["POST"])
|
|
1097
|
+
def dc_contract_properties_edit_post(dc_contract_id):
|
|
1098
|
+
dc_contract = None
|
|
1099
|
+
try:
|
|
1100
|
+
dc_contract = Contract.get_dc_by_id(g.sess, dc_contract_id)
|
|
1101
|
+
properties = req_zish("properties")
|
|
1102
|
+
dc_contract.update(
|
|
1103
|
+
dc_contract.name, dc_contract.party, dc_contract.charge_script, properties
|
|
1104
|
+
)
|
|
1105
|
+
g.sess.commit()
|
|
1106
|
+
return chellow_redirect(f"/dc_contracts/{dc_contract.id}/properties", 303)
|
|
1107
|
+
except BadRequest as e:
|
|
1108
|
+
flash(e.description)
|
|
1109
|
+
if dc_contract is None:
|
|
1110
|
+
raise e
|
|
1111
|
+
else:
|
|
1112
|
+
return make_response(
|
|
1113
|
+
render_template(
|
|
1114
|
+
"dc_contract_properties_edit.html", dc_contract=dc_contract
|
|
1115
|
+
),
|
|
1116
|
+
400,
|
|
1117
|
+
)
|
|
1118
|
+
|
|
1119
|
+
|
|
1078
1120
|
@e.route("/dc_contracts/<int:dc_contract_id>/edit")
|
|
1079
1121
|
def dc_contract_edit_get(dc_contract_id):
|
|
1080
1122
|
parties = (
|
|
@@ -1127,9 +1169,8 @@ def dc_contract_edit_post(contract_id):
|
|
|
1127
1169
|
party_id = req_int("party_id")
|
|
1128
1170
|
name = req_str("name")
|
|
1129
1171
|
charge_script = req_str("charge_script")
|
|
1130
|
-
properties = req_zish("properties")
|
|
1131
1172
|
party = Party.get_by_id(g.sess, party_id)
|
|
1132
|
-
contract.update(name, party, charge_script, properties)
|
|
1173
|
+
contract.update(name, party, charge_script, contract.properties)
|
|
1133
1174
|
g.sess.commit()
|
|
1134
1175
|
return chellow_redirect(f"/dc_contracts/{contract.id}", 303)
|
|
1135
1176
|
except BadRequest as e:
|
|
@@ -66,6 +66,9 @@
|
|
|
66
66
|
</table>
|
|
67
67
|
<br>
|
|
68
68
|
<ul>
|
|
69
|
+
<li>
|
|
70
|
+
<a href="/e/dc_contracts/{{dc_contract.id}}/properties">Properties</a>
|
|
71
|
+
</li>
|
|
69
72
|
<li>
|
|
70
73
|
<a href="/e/dc_batches?dc_contract_id={{dc_contract.id}}">Batches</a>
|
|
71
74
|
</li>
|
|
@@ -99,10 +102,6 @@
|
|
|
99
102
|
|
|
100
103
|
<pre>{{dc_contract.charge_script}}</pre>
|
|
101
104
|
|
|
102
|
-
<h3>Properties</h3>
|
|
103
|
-
|
|
104
|
-
<pre>{{dc_contract.properties }}</pre>
|
|
105
|
-
|
|
106
105
|
<h3>State</h3>
|
|
107
106
|
|
|
108
107
|
<pre>{{dc_contract.state }}</pre>
|
|
@@ -42,58 +42,10 @@
|
|
|
42
42
|
{{input_textarea(
|
|
43
43
|
'charge_script', dc_contract.charge_script, 40, 80)}}
|
|
44
44
|
|
|
45
|
-
<label>Properties</label>
|
|
46
|
-
{{ input_textarea(
|
|
47
|
-
'properties', dc_contract.properties, 40, 80) }}
|
|
48
|
-
|
|
49
45
|
<input type="submit" value="Update">
|
|
50
46
|
</fieldset>
|
|
51
47
|
</form>
|
|
52
48
|
|
|
53
|
-
<h4>Example</h4>
|
|
54
|
-
|
|
55
|
-
<p>For the SFTP protocol:</p>
|
|
56
|
-
<code>
|
|
57
|
-
<pre>
|
|
58
|
-
{
|
|
59
|
-
"enabled": true,
|
|
60
|
-
"protocol": "sftp",
|
|
61
|
-
"file_type": ".df2",
|
|
62
|
-
"hostname": "example.com",
|
|
63
|
-
"username": "username",
|
|
64
|
-
"password": "password",
|
|
65
|
-
"directories": ["downloads1", "downloads2"]
|
|
66
|
-
"mpan_map": { \\ Optional
|
|
67
|
-
"99 0993 2821 985": null, \\ Ignore MPAN
|
|
68
|
-
},
|
|
69
|
-
}
|
|
70
|
-
</pre>
|
|
71
|
-
</code>
|
|
72
|
-
<p>For the HTTPS protocol:</p>
|
|
73
|
-
<code>
|
|
74
|
-
<pre>
|
|
75
|
-
{% raw %}
|
|
76
|
-
{
|
|
77
|
-
"enabled": true,
|
|
78
|
-
"protocol": "https",
|
|
79
|
-
"download_days": 8,
|
|
80
|
-
"parser": "meniscus",
|
|
81
|
-
"url_template": "https://data.example.com/?from={{chunk_start.strftime('%d/%m/%Y')}}&to={{chunk_finish.strftime('%d/%m/%Y')}}",
|
|
82
|
-
"url_values": {
|
|
83
|
-
"99 4298 4729 917": {
|
|
84
|
-
"name1": val1,
|
|
85
|
-
"name2": val2,
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
"mpan_map": { \\ Optional
|
|
89
|
-
"99 0993 2821 985": null, \\ Ignore MPAN
|
|
90
|
-
},
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
{% endraw %}
|
|
94
|
-
</pre>
|
|
95
|
-
</code>
|
|
96
|
-
|
|
97
49
|
<form action="/e/dc_contracts/{{dc_contract.id}}/edit" method="post">
|
|
98
50
|
<fieldset>
|
|
99
51
|
<legend>Update State</legend>
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{% extends "base.html" %}
|
|
2
|
+
|
|
3
|
+
{% block title %}
|
|
4
|
+
» DC Contracts » {{dc_contract.name}} » Properties
|
|
5
|
+
{% endblock %}
|
|
6
|
+
|
|
7
|
+
{% block nav %}
|
|
8
|
+
<a href="/e/dc_contracts">DC Contracts</a> »
|
|
9
|
+
<a href="/e/dc_contracts/{{dc_contract.id}}">{{dc_contract.name}}</a> »
|
|
10
|
+
Properties [<a href="/e/dc_contracts/{{dc_contract.id}}/properties/edit">edit</a>]
|
|
11
|
+
{% endblock %}
|
|
12
|
+
|
|
13
|
+
{% block content %}
|
|
14
|
+
|
|
15
|
+
<pre>{{dc_contract.properties }}</pre>
|
|
16
|
+
|
|
17
|
+
{% endblock %}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
{% extends "base.html" %}
|
|
2
|
+
|
|
3
|
+
{% block title %}
|
|
4
|
+
» DC Contracts » {{dc_contract.name}} » Properties » Edit
|
|
5
|
+
{% endblock %}
|
|
6
|
+
|
|
7
|
+
{% block nav %}
|
|
8
|
+
<a href="/e/dc_contracts">DC Contracts</a> »
|
|
9
|
+
<a href="/e/dc_contracts/{{dc_contract.id}}">{{dc_contract.name}}</a> »
|
|
10
|
+
<a href="/e/dc_contracts/{{dc_contract.id}}/properties">Properties</a> »
|
|
11
|
+
Edit
|
|
12
|
+
{% endblock %}
|
|
13
|
+
|
|
14
|
+
{% block content %}
|
|
15
|
+
|
|
16
|
+
<form action="/e/dc_contracts/{{dc_contract.id}}/properties/edit" method="post">
|
|
17
|
+
<fieldset>
|
|
18
|
+
<legend>Update Properties</legend>
|
|
19
|
+
|
|
20
|
+
<label>Properties</label>
|
|
21
|
+
{{ input_textarea('properties', dc_contract.properties, 40, 80, show_pos=True) }}
|
|
22
|
+
|
|
23
|
+
<input type="submit" value="Update">
|
|
24
|
+
</fieldset>
|
|
25
|
+
</form>
|
|
26
|
+
|
|
27
|
+
<h4>Example</h4>
|
|
28
|
+
|
|
29
|
+
<p>For the SFTP protocol:</p>
|
|
30
|
+
<code>
|
|
31
|
+
<pre>
|
|
32
|
+
{
|
|
33
|
+
"enabled": true,
|
|
34
|
+
"protocol": "sftp",
|
|
35
|
+
"file_type": ".df2",
|
|
36
|
+
"hostname": "example.com",
|
|
37
|
+
"username": "username",
|
|
38
|
+
"password": "password", /* Remove if using private key */
|
|
39
|
+
"private_key": "private_key", /* Remove if using password */
|
|
40
|
+
"directories": ["downloads1", "downloads2"],
|
|
41
|
+
"mpan_map": { /* Optional */
|
|
42
|
+
"99 0993 2821 985": null, /* Ignore MPAN */
|
|
43
|
+
},
|
|
44
|
+
}
|
|
45
|
+
</pre>
|
|
46
|
+
</code>
|
|
47
|
+
<p>For the HTTPS protocol:</p>
|
|
48
|
+
<code>
|
|
49
|
+
<pre>
|
|
50
|
+
{% raw %}
|
|
51
|
+
{
|
|
52
|
+
"enabled": true,
|
|
53
|
+
"protocol": "https",
|
|
54
|
+
"download_days": 8,
|
|
55
|
+
"parser": "meniscus",
|
|
56
|
+
"url_template": "https://data.example.com/?from={{chunk_start.strftime('%d/%m/%Y')}}&to={{chunk_finish.strftime('%d/%m/%Y')}}",
|
|
57
|
+
"url_values": {
|
|
58
|
+
"99 4298 4729 917": {
|
|
59
|
+
"name1": val1,
|
|
60
|
+
"name2": val2,
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
"mpan_map": { \\ Optional
|
|
64
|
+
"99 0993 2821 985": null, \\ Ignore MPAN
|
|
65
|
+
},
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
{% endraw %}
|
|
69
|
+
</pre>
|
|
70
|
+
</code>
|
|
71
|
+
{% endblock %}
|
|
@@ -11,6 +11,7 @@ import types
|
|
|
11
11
|
from collections import OrderedDict
|
|
12
12
|
from datetime import datetime as Datetime
|
|
13
13
|
from decimal import Decimal
|
|
14
|
+
from functools import wraps
|
|
14
15
|
from importlib import import_module
|
|
15
16
|
from io import DEFAULT_BUFFER_SIZE, StringIO
|
|
16
17
|
from itertools import chain, islice
|
|
@@ -52,7 +53,7 @@ from sqlalchemy.exc import IntegrityError
|
|
|
52
53
|
from sqlalchemy.orm import joinedload
|
|
53
54
|
from sqlalchemy.orm.attributes import flag_modified
|
|
54
55
|
|
|
55
|
-
from werkzeug.exceptions import BadRequest
|
|
56
|
+
from werkzeug.exceptions import BadRequest, Forbidden
|
|
56
57
|
|
|
57
58
|
import chellow.bank_holidays
|
|
58
59
|
import chellow.dloads
|
|
@@ -147,6 +148,17 @@ def hx_redirect(path, status=None):
|
|
|
147
148
|
return res
|
|
148
149
|
|
|
149
150
|
|
|
151
|
+
def requires_editor(f):
|
|
152
|
+
@wraps(f)
|
|
153
|
+
def decorated_function(*args, **kwargs):
|
|
154
|
+
if g.user.user_role.code == "editor":
|
|
155
|
+
return f(*args, **kwargs)
|
|
156
|
+
else:
|
|
157
|
+
raise Forbidden("You must be an editor to do this.")
|
|
158
|
+
|
|
159
|
+
return decorated_function
|
|
160
|
+
|
|
161
|
+
|
|
150
162
|
@home.route("/configuration", methods=["GET"])
|
|
151
163
|
def configuration():
|
|
152
164
|
config = Contract.get_non_core_by_name(g.sess, "configuration")
|
chellow-1712839751.0.0/VERSION
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "1712839751.0.0"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/e/bill_parsers/activity_mop_stark_xlsx.py
RENAMED
|
File without changes
|
{chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/e/bill_parsers/annual_mop_stark_xlsx.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{chellow-1712839751.0.0 → chellow-1712929217.0.0}/chellow/e/bill_parsers/settlement_dc_stark_xlsx.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|