Subject | Hash | Author | Date (UTC) |
---|---|---|---|
Don't write to console.err if there's a rejectionFunction. | 630b8ec76a21733a6bb93d98ca54563aadd61da4 | Luigi Bai | 2020-09-08 22:30:29 |
Remove trailing comma on all rows. | e7605fa152a841eefc7fcab6bb7cfd64daf28b17 | Luigi Bai | 2020-09-07 22:43:36 |
Allow passing in query for Case.sqlAllCases() | 346862c0720ef9054426048cc95caa8f6b068868 | Luigi Bai | 2020-09-07 22:43:09 |
This version works in MS-SQL. | 4e3f33f464173c91c3f4ac4b6acb0235ed2d6720 | Luigi Bai | 2020-09-07 19:11:54 |
Add headers. | 4da1ccbdb2e3e852050de3460bc9ac9ba061ed7a | Luigi Bai | 2020-09-07 16:28:52 |
loadDockets now works to local. | 96ba8f7419f63be6612fe1efd3e24d5d30eaf20a | Luigi Bai | 2020-09-06 20:59:06 |
Fix for new column names. | 5791d77e19585c494e51c6062ab45440e5af0903 | Luigi Bai | 2020-09-06 20:44:50 |
Add headers | 32cb7264c06b28dc0404b715f24fd2d82b66633b | Luigi Bai | 2020-09-06 20:44:29 |
Have a working version of xfer - now transfers data to MS SQL Server from SQLITE3. | 428e493bcc5b7f718a741db046d08905f47d0f1c | Luigi Bai | 2020-09-05 22:11:55 |
Stupid MS SQL Server assumes case insensitive collation for text/char columns. Who does that? | 2700846d8c1233d27664fb74b582293ddb8cb32a | Luigi Bai | 2020-09-05 21:11:17 |
Fixed MS schema - 4096 too big for varchar. | ca3870f7e244d83e58d74c7f231baacbc19ba8fa | Luigi Bai | 2020-09-04 17:04:05 |
Remove interstitial console.log | 19481f6692d9f93e75aa173bee9716261ef54db0 | Luigi Bai | 2020-09-04 12:07:33 |
Added license/copyright info. Added shim for Promise. Rewrote xferData with await and shim. | 3930998d32fb2a19239e63b1b07bf1804c7ea46e | Luigi Bai | 2020-09-04 12:04:32 |
Fixed a typo. Ugh. | 64718362e042d4a987d3161f999de087edb7bc8a | Luigi Bai | 2020-09-04 03:59:37 |
Must have an example of the creds.js file to learn from. | 13d0e75c21bf8194c53e148e37cc6f85d8152de3 | Luigi Bai | 2020-09-04 03:59:16 |
Transfer local data to cloud based MS SQL-Server database. | 8035b6dac5ce05ced62474409ab46ca490a6db4a | Luigi Bai | 2020-09-04 03:50:32 |
Learned that package-lock.json should also be committed. | 20222232bd2e5388b76d3330e6f695b5aacfe393 | Luigi Bai | 2020-09-03 11:04:05 |
Fixed SPDX license expression. | c894ba842750ff63035c850095ac93399495f4bc | Luigi Bai | 2020-09-03 11:01:27 |
Updated README. Added .gitignore, node/npm package.json, and the schema definitions for the data stores. | a5baa30d1360514e217250737abf3a4518ab6a65 | Luigi Bai | 2020-09-02 17:35:09 |
Initial commit | f67ef5b180d66c95e84ee5c5aa0a893376afa5c4 | datajams-lbai | 2020-09-02 02:28:52 |
File | Lines added | Lines deleted |
---|---|---|
lib/HTTPConversation.class.js | 10 | 2 |
File lib/HTTPConversation.class.js changed (mode: 100644) (index 5c32b16..8cc9ae4) | |||
... | ... | module.exports = class { | |
25 | 25 | let opts = argv || {}; | let opts = argv || {}; |
26 | 26 | this.debug = opts.debug; | this.debug = opts.debug; |
27 | 27 | this.verbose = opts.verbose; | this.verbose = opts.verbose; |
28 | this.rejFN = opts.rejectFN; | ||
29 | |||
28 | 30 | this.jar = (new tough.CookieJar()); | this.jar = (new tough.CookieJar()); |
29 | 31 | }; | }; |
30 | 32 | ||
... | ... | module.exports = class { | |
71 | 73 | }); | }); |
72 | 74 | ||
73 | 75 | req.on('error', (e) => { | req.on('error', (e) => { |
74 | console.error(reqURL, e); | ||
76 | if (this.rejFN && "function" === typeof this.rejFN) | ||
77 | this.rejFN({ fn: "HC.postURLData", url: reqURL, err: e }); | ||
78 | else | ||
79 | console.error("HC.postURLData", reqURL, e); | ||
75 | 80 | }); | }); |
76 | 81 | ||
77 | 82 | let us = new URLSearchParams(args.data); | let us = new URLSearchParams(args.data); |
... | ... | module.exports = class { | |
124 | 129 | }); | }); |
125 | 130 | ||
126 | 131 | req.on('error', (e) => { | req.on('error', (e) => { |
127 | console.error(reqURL, e); | ||
132 | if (this.rejFN && "function" === typeof this.rejFN) | ||
133 | this.rejFN({ fn: "HC.getURL", url: reqURL, err: e }); | ||
134 | else | ||
135 | console.error("HC.getURL", reqURL, e); | ||
128 | 136 | }); | }); |
129 | 137 | ||
130 | 138 | // Ok GO: | // Ok GO: |