208 Commits

Author SHA1 Message Date
mullenm
8f66c71974 Created a virus scanning procedure.
Download file to server, perform AV check, re-import whatever's left.  If the file isn't there, delete it from MIP as it may be malicious.

git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3696 248e525c-4dfb-0310-94bc-949c084e9493
2008-02-25 17:08:37 +00:00
mullenm
8dd4c9f73b added mip_documents to the list.
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3680 248e525c-4dfb-0310-94bc-949c084e9493
2008-02-22 14:49:28 +00:00
mullenm
e21a767030 Some new document procedures for setting the status of docs in MIP.
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3679 248e525c-4dfb-0310-94bc-949c084e9493
2008-02-22 14:48:58 +00:00
mullenm
9739b6ad3a Addressed issues with the address creation and expiry bits.
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3678 248e525c-4dfb-0310-94bc-949c084e9493
2008-02-22 14:45:25 +00:00
hardya
aab27144a0 Remove timestamp from output of mip_friendly_messages.pck
Add constraint to regi_enqu_exclusions to prevent both enquiry and additional items being recorded on the same row.

Allow schema to be passed to apex_auto_install.rb.

git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3666 248e525c-4dfb-0310-94bc-949c084e9493
2008-02-21 17:56:52 +00:00
hardya
cc3f165ee5 Updated LeadTimes.csv and modules in line with Gareths email of 20/2/2008
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3648 248e525c-4dfb-0310-94bc-949c084e9493
2008-02-20 18:24:35 +00:00
PriestJ
9e3cf59e6b fixed mam bug. Altered the way mam text is gotten, now uses the quotation_text column rather than the description. Added text for logger caveat. Altered hunt group number to the correct number.
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3644 248e525c-4dfb-0310-94bc-949c084e9493
2008-02-20 15:11:19 +00:00
PriestJ
f68701d4f1 remove publicly exposed function
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3640 248e525c-4dfb-0310-94bc-949c084e9493
2008-02-20 12:49:30 +00:00
hardya
5946cde4dd Fixes to mip_friendly_messages.pck.
Changed additional_items.lead_time to number field.

Removed 'WORKSPACE_IMAGE' references from NG theme.

git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3637 248e525c-4dfb-0310-94bc-949c084e9493
2008-02-19 20:46:13 +00:00
hardya
7b05c4f822 Addresses #241
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3636 248e525c-4dfb-0310-94bc-949c084e9493
2008-02-19 18:30:21 +00:00
mullenm
c9f7cc028d Updated whilst fixing numerous tickets.
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3632 248e525c-4dfb-0310-94bc-949c084e9493
2008-02-19 17:09:47 +00:00
hardya
2b3d0c909c Added support for 'friendly' database constraint messages.
Changed SUPP role type description following training session.

git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3628 248e525c-4dfb-0310-94bc-949c084e9493
2008-02-19 11:30:44 +00:00
hardya
21a555697d Addresses #130
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3626 248e525c-4dfb-0310-94bc-949c084e9493
2008-02-18 20:46:01 +00:00
hardya
cd398f258c Changes made following test of the training environment.
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3608 248e525c-4dfb-0310-94bc-949c084e9493
2008-02-15 20:34:04 +00:00
hardya
dfd3210818 Bulk Load: Changes to default values for 'unknown' items, inclusion of LeadTimes.csv
MIP_QUOTATION: Changes to make use of LeadTimes.csv

git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3605 248e525c-4dfb-0310-94bc-949c084e9493
2008-02-15 18:01:40 +00:00
hardya
3dcee7fb94 Latest version of BULK_LOAD.xls exported as CSV files, changes to syco.ctl file.
Modified mip_bulk_load.pck to convert '"' to 'inch' in meter size codes imported from LABOUR_COSTS.csv.

git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3527 248e525c-4dfb-0310-94bc-949c084e9493
2008-02-12 16:52:40 +00:00
PriestJ
091671c9f5 initcap'd the housing description for housing type
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3521 248e525c-4dfb-0310-94bc-949c084e9493
2008-02-12 15:32:42 +00:00
PriestJ
b30310ea22 altered code so that it takes into account document status for anti-virus and deletions
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3519 248e525c-4dfb-0310-94bc-949c084e9493
2008-02-12 14:14:37 +00:00
PriestJ
62f5351697 Altered code to handle extra caveat condition when a logger exists and the job is a std removal, removal or adversarial then the caveat appears at the bottom of the caveats page list of caveats. Removed references to the ventilation values on the caveats page also at GW's request. Will need to run through a bit more testing and also add the text for the logger caveat once GW provides it.
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3514 248e525c-4dfb-0310-94bc-949c084e9493
2008-02-11 16:54:26 +00:00
hardya
68f300c2ca Fixes made for #102, #103, #49, #108
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3504 248e525c-4dfb-0310-94bc-949c084e9493
2008-02-08 16:23:12 +00:00
hardya
224e841305 Add module Qmax to bulk load process and quotation generation.
Add tripartite_agreement_message to mip_quotation.pck (supported by mip_tripartite.pck). Produces a message when enquiry does not meet tripartite requirements.

Removed extraneous role types for Seed/prtp.ctl and Seed/rt.ctl.

git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3497 248e525c-4dfb-0310-94bc-949c084e9493
2008-02-08 12:25:46 +00:00
hardya
ee3dcd0ad9 Alter bulk_load routines to match discussions with Gareth regarding costs.
Added 'quotation_text' and 'contact_text' to regions, to be used during quote document generation.

git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3494 248e525c-4dfb-0310-94bc-949c084e9493
2008-02-07 17:52:22 +00:00
hardya
12f2693a5c Changes to schema and code to place 'id' as PK field in quote_events and enquiry_events as part of ticket #78.
Changed BULK_LOAD.xls to have two tabs to represent costs. Also includes QMAX against module - none of these changes are represented in the current code.

git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3480 248e525c-4dfb-0310-94bc-949c084e9493
2008-02-06 17:28:44 +00:00
PriestJ
33dab61850 added functions to test if a file uploaded for the enquiry is over 3meg and if the files for an enquiry are over 10meg
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3478 248e525c-4dfb-0310-94bc-949c084e9493
2008-02-06 17:23:18 +00:00
mullenm
fd973c8cdd git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3477 248e525c-4dfb-0310-94bc-949c084e9493 2008-02-06 16:04:57 +00:00
hardya
e4547a542b Add support for system calls (ticket #77).
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3465 248e525c-4dfb-0310-94bc-949c084e9493
2008-02-05 10:28:17 +00:00
mullenm
cb44876a0b added new procedures and functions for virus checking.
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3459 248e525c-4dfb-0310-94bc-949c084e9493
2008-02-04 17:48:21 +00:00
hardya
c8bf407cc8 mip_bulk_load.pck: moved call to get_globals to reduce occasional 'parent not found' errors.
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3454 248e525c-4dfb-0310-94bc-949c084e9493
2008-02-04 11:31:51 +00:00
hardya
6c4617b1c3 Bulk Load: Latest version of POSTCODES.csv.
Data/Seed and Data/Test: Correction to apau.ctl to remove duplicates.

Modules/compile.sql: Correction to 'report' query.

Schema/ext...: Check whether external tables have been defined before attempting to drop them.

Schema/v_...: Force creation of views that rely on PL/SQL code. Explicitly name the column returned by V_QUOTE_DETAILS.vw so that the comments can be applied.



git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3452 248e525c-4dfb-0310-94bc-949c084e9493
2008-02-04 10:49:50 +00:00
PriestJ
92d4ebcb67 added function to test if a quotation document/file exists
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3446 248e525c-4dfb-0310-94bc-949c084e9493
2008-02-01 17:33:52 +00:00
PriestJ
6833abac25 added delete_enquiry function so that web mip admin and i&c can delete enquiries
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3436 248e525c-4dfb-0310-94bc-949c084e9493
2008-01-31 16:00:40 +00:00
PriestJ
05d0caac63 Added function to delete the file from the documents, document_roles tables and wwv_flow_files view. It accepts the document id (from the documents table)
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3432 248e525c-4dfb-0310-94bc-949c084e9493
2008-01-30 17:35:11 +00:00
PriestJ
f7bdbda3bd Fixed exchange PDF bug (too few parameters). Added code to report 2 different table 1's, one for LP jobs and one for MP jobs. Adjusted the layout of some of the pages so that the caveats will all fit on one page.
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3428 248e525c-4dfb-0310-94bc-949c084e9493
2008-01-30 12:06:46 +00:00
PriestJ
1d109ffdff made changes to pdf output inline with request from GW, awaiting confirmation on 2 further points that he raised so there will be further changes...
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3421 248e525c-4dfb-0310-94bc-949c084e9493
2008-01-29 18:19:51 +00:00
PriestJ
f9672916f0 ah made changes to build scripts to fix a few errors
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3416 248e525c-4dfb-0310-94bc-949c084e9493
2008-01-29 13:11:12 +00:00
hardya
5f2186b3ac mip_quotation.pck - remove reference to gtt_manadatory_checks
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3412 248e525c-4dfb-0310-94bc-949c084e9493
2008-01-29 11:40:23 +00:00
hardya
7e4f08658b Amend mip_quotation to refer to a permanent table for validation results.
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3409 248e525c-4dfb-0310-94bc-949c084e9493
2008-01-29 11:33:37 +00:00
hardya
db78bf5c4c DatabaseItemToFunctionalSpecificationReference.xls - renamed METY_CODE to EXISTING_METY_CODE, included DISPLAY_SEQUENCE to be used in the generation of emails, etc.
Minor internal changes to operation of cout_assert.pck and cout_err.pck.
mip_quotation.pck - made validation routines open to external processes. Added enquiry entry details to manual quotes.

Schema - Removed data_items table and amended data_item_roles to support display_sequence requirements.



git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3407 248e525c-4dfb-0310-94bc-949c084e9493
2008-01-28 18:41:24 +00:00
hardya
64339b874a Record the party selecting a quote.
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3384 248e525c-4dfb-0310-94bc-949c084e9493
2008-01-24 14:14:07 +00:00
hardya
8638b8b2ae Modules/mip_helper_special_cases.pck - correction to rule OM-4
Modules/mip_quotation.pck - add prty_id and owner_prty_id to quote status procedures to record the relevant roles. Add debug routine 'pl' to write a log file of processing. Tidy-up email wording.
Modules/mip_regions.pck - convert given postcode to uppercase before processing.
Modules/mip_virus_check.pck - started work on the virus checking module. So far, just have the ability to write a document to the filesystem. Added new directory, 'WEBMIP_VIRUS' to store these files in.

git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3381 248e525c-4dfb-0310-94bc-949c084e9493
2008-01-23 18:24:40 +00:00
hardya
7311d92835 Seed/enst.ctl - add INVALID status
Documentation/Design/DatabaseItemToFunctionalSpecificationReference.xls - add rule O-M5
Documentation/pldoc - regenerated
Modules/mip_helper_special_cases.pck - make reference to Tripartite rule O-M5 (handled by mip_quotation.pck and mip_tripartite.pck
Schema - removed DATA_ITEM_ROLES_IMPORT, added views of enquiries and quote statuses

git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3354 248e525c-4dfb-0310-94bc-949c084e9493
2008-01-22 17:59:56 +00:00
PriestJ
374ba0aee9 added function to get enquiry status, intend to use it to make enquiry read only
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3345 248e525c-4dfb-0310-94bc-949c084e9493
2008-01-22 17:08:03 +00:00
PriestJ
d985e13a1d removed set_file_association function as this is now stored and called from the mip_files package
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3335 248e525c-4dfb-0310-94bc-949c084e9493
2008-01-22 13:36:54 +00:00
hardya
32dac70391 Updated 'mandatory' field checks.
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3322 248e525c-4dfb-0310-94bc-949c084e9493
2008-01-21 18:56:25 +00:00
hardya
acf28dc3b1 Alter references from mety_code to existing_mety_code in response to r3310
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3317 248e525c-4dfb-0310-94bc-949c084e9493
2008-01-21 16:01:06 +00:00
PriestJ
620d7765b3 removed references to mip_dev_e schema, must have been copied from some test code, caused an error on the test instance of webmip, and would have on the live system
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3313 248e525c-4dfb-0310-94bc-949c084e9493
2008-01-21 12:29:04 +00:00
PriestJ
6bd8f2d96c Fixed bug in drawing_exists function it never returned a value if the drawing wasn't found, now returns false. Added null checks on the update association so that the where clause has a chance of working
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3311 248e525c-4dfb-0310-94bc-949c084e9493
2008-01-21 11:45:25 +00:00
hardya
e9b5c5a125 mip_quotation.pck - produce quotes for 'EXCHANGE'
V_QUOTE_DETAILS.vw - include hou_code

git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3303 248e525c-4dfb-0310-94bc-949c084e9493
2008-01-18 16:04:45 +00:00
PriestJ
7408008ed9 Added DH's signature back is, had forgotten to set it back after testing
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3297 248e525c-4dfb-0310-94bc-949c084e9493
2008-01-18 15:11:12 +00:00
PriestJ
246c8fe946 made the update_drawing and drawing_exists functions public, so they can be called by the apex file upload screens
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3296 248e525c-4dfb-0310-94bc-949c084e9493
2008-01-18 15:06:32 +00:00