-
Notifications
You must be signed in to change notification settings - Fork 1
/
HydroServer Redesign Part 7.txt
108 lines (48 loc) · 2.39 KB
/
HydroServer Redesign Part 7.txt
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
HydroServer Redesign Part 7
**** Summary ****
- Additions in the following areas:
- Add logic for download of rejected items file from Rejected Items dialog
- Add logic to update/display changes in DbSummary counts after successful rejected item(s) re-uploads
- Revise uploaded *.csv file validation logic to treat missing OPTIONAL file headers as valid
- Miscellaneous: Revise some UI return pathways add some additional pathways
**** HydroServerTools ****
- Web.config
- <customErrors> off for debugging
**** HydroServerTools/App_Start ****
- WebApiConfig.cs
- New REST API route: api/revisedupload/get/rejecteditemsfile/{uploadId}/{tableName}
**** HydroServerTools/Controllers ****
- CSVUploadController.cs
- method RevisedUploadData(...) - Comment out 'hack for previous bug - prevents display of upload data values page
**** HydroServerTools/Controllers/api ****
- RevisedUploadController.cs
- New controller method: GetRejectedItemsFile(...)
**** HydroServerTools/Utilities ****
- DbLoadContext.cs
- New method: DbLoadCounts.UpdateCounts(...)
- RepositoryContext.cs
- New methods:
- RepositoryContext.GetRecordValues(...)
- RepositoryContext.StreamItemsToModelList<...>(...)
- Method: RepositoryContext.UpdateDbTable<...>(...)
- Add call to DbLoadResult.UpdateCounts(...)
**** HydroServerTools/Validators ****
- CsvValidator.cs
- Revise method: CsvValidator.reset()
- Revise method: CsvValidator.headerValidationCallback() to treat missing OPTIONAL headers as valid
- New properties: CurrentModelType, FileEncoding
- Revise method: ValidateFileContents()
**** HydroServerTools/Views/CSVUpload ****
- DbSummaryReport.cshtml
- Add buttons: Upload Meta-data, Upload Data Values
- Rejected Items Dialog:
- Convert btnRejectedItemsModalDownload from button '<button>' to anchor '<a>'
- Convert btnRejectedItemsModalClose from button '<button>' to anchor '<a>'
- function updateRejectedItemsTable(...)
- Revise row deletion code to form a separate JavaScript 'closure' on each rowId value
- function shownRejectedItems(...)
- set href for anchor 'btnRejectedItemsModalDownload' to download current rejected items
- function removeUploadId(...)
- change window.href value from '/home/index' to /.../SelectUploadType
**** Test CSV Files ****
- Changes to Martin's files