Skip to content

Commit ba23eb8

Browse files
author
robocoder
committed
Squashed commit of the following:
commit 80c9cdf Merge: d68e40c 75ad061 Author: gary <gary.ng@robocoder.com> Date: Sun Mar 1 00:31:02 2020 -0800 Merge branch 'Community' of http://rcgit/git/RO into Community commit 75ad061 Author: rcpro <gary.ng@robocoder.com> Date: Sat Feb 29 23:07:23 2020 -0800 external community PTY for R11.128.00228 commit e2f4d35 Author: robocoder <cs@robocoder.com> Date: Sat Feb 29 19:25:53 2020 -0800 remove dev installer from community version commit d68e40c Author: gary <gary.ng@robocoder.com> Date: Sat Feb 29 18:15:05 2020 -0800 R11.128.00228 Community sync commit 6c003d8 Author: gary <gary.ng@robocoder.com> Date: Sat Feb 29 18:11:54 2020 -0800 minor react file changes commit 02e45ee Author: gary <gary.ng@robocoder.com> Date: Sat Feb 29 18:10:08 2020 -0800 sync with RO 020228 version commit 4b3e2ff Author: gary <gary.ng@robocoder.com> Date: Sat Feb 29 11:35:09 2020 -0800 Squashed commit of the following: commit 1c52b27a95bcfa8b6a1ab7aa383bb298d294782c Author: gary <gary.ng@robocoder.com> Date: Fri Feb 28 19:53:30 2020 -0800 more example in using context data in screen filter commit 94e352cbfe9a87af6577fd27808013438f48f123 Author: aaron xu <aaron.xu@robocoder.com> Date: Fri Feb 28 11:09:40 2020 -0800 Listbox Control and related generation code commit 6275b7df15c43f252f2150be48b8ee136545b080 Author: gary <gary.ng@robocoder.com> Date: Thu Feb 27 13:49:27 2020 -0800 better auditing info on access deny error for ValidatedMstId web service call and further enhancement to the filterIdIsName usage commit f50d87821ef7b6eca9bb08ff9e43c8e4e2d3bd16 Author: gary <gary.ng@robocoder.com> Date: Thu Feb 27 09:42:32 2020 -0800 make autocomplete to honour new image button content format from React Side commit fa991e32612e8faf46d99998fae6e589714c6a5c Author: gary <gary.ng@robocoder.com> Date: Thu Feb 27 08:12:31 2020 -0800 pass context info to filter SQL and normalize generated SP with CR/LF instead of just CR(line break inconsistency) commit ffd985b02538442117759cfcb7d02dc5165f5c62 Author: gary <gary.ng@robocoder.com> Date: Thu Feb 27 08:01:18 2020 -0800 preserve LImpr content order during duplicate removal commit f74d65058fec3ae68f38dd802cdb5011afd78f17 Author: gary <gary.ng@robocoder.com> Date: Wed Feb 26 14:45:39 2020 -0800 enhancement to react fileinput.js commit ed94820c224a990ace33989720b4a585a9d43fb3 Author: gary <gary.ng@robocoder.com> Date: Wed Feb 26 13:23:38 2020 -0800 more react fileinput component handling for 'no-user activated' scenary commit aa57adea5c8c4f595a0f7b408295001497a26d03 Author: gary <gary.ng@robocoder.com> Date: Tue Feb 25 11:48:08 2020 -0800 choco install ps script needs to change to handle TLS 1.2 commit 8f7187c Author: gary <gary.ng@robocoder.com> Date: Mon Feb 24 18:27:18 2020 -0800 sync community version with full version commit f871d13 Author: gary <gary.ng@robocoder.com> Date: Mon Feb 24 18:14:54 2020 -0800 Squashed commit of the following: commit 25b51ef60ee12ae99fe22b7af99f27aab67a7fa6 Author: gary <gary.ng@robocoder.com> Date: Mon Feb 24 16:08:23 2020 -0800 stop endless redirect of error(from Msg.aspx) and better checking of null value in Msg.ascx.cs(assumption not always held) commit 0c979b41c572a6c932a54f0ef8c2662c90097eed Author: gary <gary.ng@robocoder.com> Date: Mon Feb 24 14:32:29 2020 -0800 skip truncate of sysdiagrams related tables commit 9754524009babc9fda8dfa7e40476c3eb0a90ea2 Author: gary <gary.ng@robocoder.com> Date: Mon Feb 24 13:58:56 2020 -0800 IntBaseUrl not usable for multiple app server behind proxy but with 'common' web.config(either each has its own web.config or must be localhost or use server detected setup) commit a377a04042a0aff936a42ced5c8f97aefc16d7f6 Author: gary <gary.ng@robocoder.com> Date: Mon Feb 24 13:51:21 2020 -0800 web service validateMstId must cater for non-specific id(nothing or -1) when checking commit ff1109a3454c1c70f6135e0353dab36e1f7bb995 Author: gary <gary.ng@robocoder.com> Date: Mon Feb 24 11:15:58 2020 -0800 allow manually issuing license key commit 761ec83 Author: gary <gary.ng@robocoder.com> Date: Mon Feb 24 09:04:42 2020 -0800 revise community version specific files commit 9049518 Author: gary <gary.ng@robocoder.com> Date: Mon Feb 24 08:26:32 2020 -0800 Squashed commit of the following: commit 334bfee28ba3c561d3d27152c54e28622573cb12 Author: fintruxdev <gary.ng@robocoder.com> Date: Sat Feb 22 19:47:29 2020 -0800 skip sysdiagrams related content from SP/View/Index on deployment commit 2982eb005b67cb040df827a57c8a19b9bccbb36f Author: gary <gary.ng@robocoder.com> Date: Sat Feb 22 14:31:44 2020 -0800 SQL Server SSPI support commit 14dcbda6572bb0eb39f91dbbf12de891172f0bf1 Author: fintruxdev <gary.ng@robocoder.com> Date: Sat Feb 22 14:29:23 2020 -0800 better error handling/reporting for configure issue in cronjob commit d86a26c0f14c6a3c27e57526354cb0e74b4df35a Author: gary <gary.ng@robocoder.com> Date: Sat Feb 22 00:18:16 2020 -0800 do not include BLOB after save in web service(optimization on return load as it is already at client side) commit 6eb9fd8bb01e3618c2920a1552049e772bcd70d3 Author: gary <gary.ng@robocoder.com> Date: Fri Feb 21 23:20:38 2020 -0800 path handling in proxied setup, revise caching strategy of web service layer commit 806ebbf6d505f30b2ca67e1ad95a236c7de1fd7a Author: gary <gary.ng@robocoder.com> Date: Fri Feb 21 13:44:42 2020 -0800 minor change in autocomplete react component, better handling of undefined ExtBaseUrl, better validating for master key in web service layer commit 0ee8628bc4f583fbb9c5883c8f5b1afed86a2250 Author: gary <gary.ng@robocoder.com> Date: Fri Feb 21 10:31:41 2020 -0800 Adm React module by pretty printed generator with master record image button upload functionalities commit 5d000a34677ab841ff2378502498885ce2a6261c Author: gary <gary.ng@robocoder.com> Date: Fri Feb 21 10:15:40 2020 -0800 add image button handling to master records, change generated code to specifically using V1 version of dropdown and fileinput control commit 982ce2ae58a3d8a812f184980d8e775357bf85ee Author: gary <gary.ng@robocoder.com> Date: Thu Feb 20 21:05:24 2020 -0800 revised react generator to match vs code format, pass Usrs to react front end(need review later for security) commit 3d36736f774eeeb0d287f63fcd26638638b31618 Author: gary <gary.ng@robocoder.com> Date: Wed Feb 19 08:07:55 2020 -0800 re-work UsrImpr cache in web service side for more robust forced invalidating commit 9dd2a1f2c4c9ae0e42ca33f3e88a842f33290236 Author: gary <gary.ng@robocoder.com> Date: Wed Feb 19 08:05:17 2020 -0800 change React generator for pretty format generation of MstList.js/MstRecord.js files(VS code style, 2 space tab) commit d1c29ca1e7f46412da857cd035755b28f8071e1c Author: gary <gary.ng@robocoder.com> Date: Sat Feb 15 10:19:44 2020 -0800 improve generated web api layer to handle embedded image(image button) on save commit 622a603a54c134618f4f24c347fbfb26153278cf Author: gary <gary.ng@robocoder.com> Date: Sat Feb 15 10:18:49 2020 -0800 track react multi-doc upload error return commit 78326b602371c0b49b423ae76fac50c274f222d2 Author: gary <gary.ng@robocoder.com> Date: Sat Feb 15 10:17:47 2020 -0800 handle svg upload + thumbnail commit 7878e34c65f3ca6c7030051fc435e42cf4d8bd08 Author: gary <gary.ng@robocoder.com> Date: Fri Feb 14 08:55:57 2020 -0800 formalize web service caching strategy by classifying different type of data commit 30ca87d8e9fdca1e3f2c0c3b69a0f0b9d7b6ca00 Author: gary <gary.ng@robocoder.com> Date: Fri Feb 14 08:33:44 2020 -0800 improve web service(asmx) side caching handling on forced 're-auth' commit 2ba0abe780126f7a07eef2f3a550dd87983e7d79 Author: gary <gary.ng@robocoder.com> Date: Thu Feb 13 21:09:09 2020 -0800 enhance server side git checkout to track remote commit c954ab8a15f2d9c6498949e97a2ace475c0fd157 Author: gary <gary.ng@robocoder.com> Date: Thu Feb 13 21:09:09 2020 -0800 enhance server side git checkout to track remote commit 0800bb3001bb1b8f4901f3db0f9aeb489b3e2b22 Author: aaron xu <aaron.xu@robocoder.com> Date: Thu Feb 13 17:37:32 2020 -0800 1. handle money and currency for detail List 2. Only show one message if there is no value inside selectedMst commit be9e48b2d286660604800c6080f996a34a60b62a Author: gary <gary.ng@robocoder.com> Date: Thu Feb 13 11:52:49 2020 -0800 add more multi-doc handling for React commit 532266b440047f091158babb2306356181342449 Author: fintruxdev <gary.ng@robocoder.com> Date: Wed Feb 12 19:19:05 2020 -0800 allow client side refresh of authorized claims commit f4c5b41b5fdd3c0075287d20f0771b00b4f12b9d Author: fintruxdev <gary.ng@robocoder.com> Date: Wed Feb 12 16:15:26 2020 -0800 pull out cache time to centralized place for asmx services, add save doc/multi-doc hook, add client side request to refresh UsrImpr commit fa127853f73c5a760940f6276cbbf565944ac3ee Author: fintruxdev <gary.ng@robocoder.com> Date: Wed Feb 12 14:33:06 2020 -0800 change react functions to optionally flush cached UsrImpr commit 639773c318d241d9b17ab1bf8a5c92158c45534d Author: fintruxdev <gary.ng@robocoder.com> Date: Wed Feb 12 12:31:26 2020 -0800 generate proper dtl default for React commit ec7db4e29b95e909d5c9acdf60b203181a6189d9 Author: rcpro <gary.ng@robocoder.com> Date: Wed Feb 12 09:11:58 2020 -0800 remove more unwanted warning for hand coded sources commit a706ec4cdf1a8dacbbae9609bd8c8990f7818b2d Author: rcpro <gary.ng@robocoder.com> Date: Wed Feb 12 09:11:20 2020 -0800 remove more compilation warning from generated report/wizard(generator change and re-gen) commit abc13dea0c39298c5cc3a4006d766dea30ed0bd2 Author: rcpro <gary.ng@robocoder.com> Date: Wed Feb 12 08:01:29 2020 -0800 change generators to remove unwanted warnings in screen/report/wizard, no function change commit 5f41ae0700441e834258760d50be82a6c65154d5 Author: aaron xu <aaron.xu@robocoder.com> Date: Tue Feb 11 20:34:38 2020 -0800 Modify the formatContent function to handle currency case and empty case commit 6a89351f4cf36f2db5b3d2f0efd9e695a6d659a5 Author: gary <gary.ng@robocoder.com> Date: Tue Feb 11 14:46:39 2020 -0800 fix zip library problem of dangling .tmp file commit 328d5ebbc23eba2a3287f85237994a9d1b526d2e Author: fintruxdev <gary.ng@robocoder.com> Date: Tue Feb 11 13:22:44 2020 -0800 further cleanup about base url used for cronjob commit 0721b7cb2677ade4b4842c40f72c8328b0f805c6 Author: gary <gary.ng@robocoder.com> Date: Tue Feb 11 12:42:56 2020 -0800 enhance self-invoke to cater for non default site situation, remove installer configuration duplication entries causing issues. commit d3cfd930b46487a02156c13216fc4cf4d6552b92 Author: gary <gary.ng@robocoder.com> Date: Mon Feb 10 19:38:22 2020 -0800 check license once every 24 hours commit 7a100c57384f4523f8cdab763aeeeccec8ccf868 Author: fintruxdev <gary.ng@robocoder.com> Date: Mon Feb 10 14:22:42 2020 -0800 enhancement rintagi installation screen to issue License(arbitrary install id) . commit 362c82ac85881cde274b07813c3241bcac9bd746 Author: fintruxdev <gary.ng@robocoder.com> Date: Mon Feb 10 14:21:25 2020 -0800 enhancement installer template refresh logic(update only if newer) commit a9ceea5b04bf70f7917355451f00a0884932e1b8 Author: fintruxdev <gary.ng@robocoder.com> Date: Mon Feb 10 14:20:29 2020 -0800 react field content formatting(require re-gen) commit 0fefa05cd103f89d6ea22f41f24733899fcb2fbe Author: aaron xu <aaron.xu@robocoder.com> Date: Mon Feb 10 12:19:24 2020 -0800 Add formatcontent to handle money type commit a4228376274b393cf7fd21062cd9ce3100741f2a Author: fintruxdev <gary.ng@robocoder.com> Date: Mon Feb 10 11:24:13 2020 -0800 improve proxy configuration mismatch test for IIS urlrewrite commit 5243e7a6434bed23232d0fffb4ca0425a42c722c Author: fintruxdev <gary.ng@robocoder.com> Date: Mon Feb 10 11:03:37 2020 -0800 add cronjob sample in CronJob screen(for monitoring purpose too), remove obsoleted session.css from default.master commit d7b5345ccfc6efa5115e3fd0bcd06b7d270d5c0d Author: fintruxdev <gary.ng@robocoder.com> Date: Mon Feb 10 10:49:43 2020 -0800 more cleanup and enhancement to url transformation helper functions for difference cases(redirect, link inside email etc.), validation on mismatch proxy settings commit 3bfeb3a240d6d53d216198d1c3a5806511c1c8d7 Author: fintruxdev <gary.ng@robocoder.com> Date: Mon Feb 10 10:34:17 2020 -0800 centralize .Redirect() calls in customized web rule to handle proxy commit f7210bb88c799a741795cb627694de9c78410ec9 Author: fintruxdev <gary.ng@robocoder.com> Date: Sun Feb 9 11:58:47 2020 -0800 improved behind proxy handling of various fronting proxy(Microsoft ISA and those support X-Forwarded-For) -distinguish internal app base vs external app base -cleanup more .Redirect to use custom one for handling proxy situation commit be877f222f8119a75bad998aa9eff9805a58ebae Author: fintruxdev <gary.ng@robocoder.com> Date: Fri Feb 7 15:00:13 2020 -0800 further enhancement to handle deployment template refresh(for git pull/push scenario) commit ec89f527800eb7ad04a92160325da09059c00142 Author: Douglas Thiessen <douglas.thiessen@robocoder.com> Date: Fri Feb 7 11:41:13 2020 -0800 add google api key checking commit e5e92ac5926afa9801e3550867fbbd1703174986 Author: fintruxdev <gary.ng@robocoder.com> Date: Fri Feb 7 10:58:56 2020 -0800 refresh React Adm module(regen all screens and update shared components) commit ccdaf62e561971018fcb79c93206df1a835f60a6 Author: fintruxdev <gary.ng@robocoder.com> Date: Fri Feb 7 10:56:59 2020 -0800 ignore RO deployment projects for git commit 22c79255efa2efce24cfe85ef6021dd20935daef Author: gary <gary.ng@robocoder.com> Date: Fri Feb 7 10:40:37 2020 -0800 revise react project refresh scripts/prebuild.js and prestart.js to handle async op of cpx(serialize copy order) commit 8b45443dedd0e6a6c7e0599e21618d33ddb394c4 Author: gary <gary.ng@robocoder.com> Date: Fri Feb 7 10:10:04 2020 -0800 minor change to installer template project commit c70094242e4ed0da19f8e3b66113059f0a7a5c84 Author: gary <gary.ng@robocoder.com> Date: Fri Feb 7 09:35:34 2020 -0800 suppress system Id update feature in system maintenance screen(until tested in various scenarios) commit 2b68232ccdadc8097791660b45ca1bd645485880 Author: gary <gary.ng@robocoder.com> Date: Fri Feb 7 09:34:26 2020 -0800 add more customizable option related to app Url(for various proxy situation), change sql report to use Internal url base which is what the viewer sees. commit 30c01446d285c4793bbe4f3c074ec163c29e9f1b Author: gary <gary.ng@robocoder.com> Date: Thu Feb 6 15:36:04 2020 -0800 release tracking info and installer info commit e4b93e58f1acad5a7967871dde825fcbef7d2b1a Author: gary <gary.ng@robocoder.com> Date: Thu Feb 6 15:35:07 2020 -0800 more tracing for cronjob error commit a380cdea840e6c544f60beef3f89e655218780b7 Author: aaron xu <aaron.xu@robocoder.com> Date: Thu Feb 6 15:30:53 2020 -0800 Pass mst label, labelR, detail, detailR to generated MstRecord, DtlList, DetailRecord react pages commit 59a1733463b7a8725802ac693409551ab0ce2148 Author: gary <gary.ng@robocoder.com> Date: Thu Feb 6 14:27:27 2020 -0800 improve cronjob system to have better error tracking and customized url for proxied situation commit b2705ffd3f1012b610f71fd9971d5e151f202c53 Author: gary <gary.ng@robocoder.com> Date: Thu Feb 6 14:25:11 2020 -0800 add helper feature to system maint screen for changing SystemId in DbTable etc. commit c0816e3eb3ba33aa98c58f03f6e076ee1bc62763 Author: gary <gary.ng@robocoder.com> Date: Thu Feb 6 14:23:36 2020 -0800 change due to DbScript change(for incremental deployment) commit 2c77ea928034cdcb2232127ed4e52012fe4f4c8a Author: gary <gary.ng@robocoder.com> Date: Thu Feb 6 14:22:42 2020 -0800 add ErrorTrace to modulebase for asp.net side error tracking commit 1802918b9b1878969c2df17de56818cc9d0f4f27 Author: gary <gary.ng@robocoder.com> Date: Thu Feb 6 14:21:08 2020 -0800 add _GetDocList and _GetDocTableName to react generated asmx commit 2e695149b31159ddd3e18380d253ed045f4156e7 Author: gary <gary.ng@robocoder.com> Date: Thu Feb 6 14:20:21 2020 -0800 further enhancement to the deployment process for incremental module addition commit db19339186033aec1e842ec9ae616f00e7267899 Author: gary <gary.ng@robocoder.com> Date: Thu Feb 6 14:19:12 2020 -0800 fix licensing code for # of company/project/user/modules commit c95a741a783f3353f957acd76d96262b9877045f Author: aaron xu <aaron.xu@robocoder.com> Date: Tue Feb 4 15:29:03 2020 -0800 Modify LoadInitPage to get searchlist commit f1abb062a3e921b4bf7d9af12c4b52a78e9cbb2e Author: gary <gary.ng@robocoder.com> Date: Tue Feb 4 09:50:14 2020 -0800 enhance system maintenance for system id synchronization commit 851730c1874d5c9830f670c4c342903bfbed244d Author: gary <gary.ng@robocoder.com> Date: Mon Feb 3 16:47:38 2020 -0800 add configurable cronjob url to handle complex setup commit 830892a92acc8d619b2610a5ad2ca16df77ab5cd Author: gary <gary.ng@robocoder.com> Date: Mon Feb 3 16:46:33 2020 -0800 change asp.net gen screen to block primary key save and re-gen all screens commit 441e19c382097b99b7ee7bcf39091aef0bafaaa0 Author: gary <gary.ng@robocoder.com> Date: Mon Feb 3 16:45:16 2020 -0800 enhancement deployment framework for better handling of 'local' configure(in web.config) not to be copied out to new installation commit 7cdab781b48e7324756ffe06d58700e0f9bc38a5 Author: fintruxdev <gary.ng@robocoder.com> Date: Sat Feb 1 11:48:19 2020 -0800 enhance React generator to handle Document and ImageButton screen object code generation(api layer not UX nor redux layer yet) commit 3f3c9948e77078873ccf3c40827f4eacf9be359d Author: fintruxdev <gary.ng@robocoder.com> Date: Thu Jan 30 09:56:17 2020 -0800 remove debugger statement and minor enhancement for meaning of Skip* in LoadInitPage in React web api code commit 551688ca2e6524bc6387b576fcc23041af0c1248 Author: fintruxdev <gary.ng@robocoder.com> Date: Thu Jan 30 09:55:09 2020 -0800 enhance 'Document' display type for React side generation(and helper functions), AdmReport is the example screen commit 09604733c1685b31ed1f84607adc65d3bde07412 Author: fintruxdev <gary.ng@robocoder.com> Date: Thu Jan 30 09:53:04 2020 -0800 company/project limitation on restricted license checking must exclude blank entry commit b0ed4fe775275336b587e65f6e96c14fef0a1604 Author: fintruxdev <gary.ng@robocoder.com> Date: Tue Jan 28 12:09:33 2020 -0800 fix MkGetScreenIn to use appDatabase when multiDesignDb='N' commit 550126f23c21b4552302c98c755ff4f0660bd83e Author: fintruxdev <gary.ng@robocoder.com> Date: Mon Jan 27 10:22:32 2020 -0800 -report current RO version for telemetry to assist problem solving -also change some default installer setting for NDEV(new application setup) -remove unnecessary sybase related installer setting and re-order items(metadata db change before app db changes) -different default exclusion list in installer -fix null exception for webservice call without specific criteria from client side commit dbb427093ba435ec50bf6e068e43c4bbf07fe233 Author: fintruxdev <gary.ng@robocoder.com> Date: Fri Jan 24 17:53:05 2020 -0800 minor improvement to installer process of namespace change for UsrAccess/UsrRule commit a924f650f5edebb069c19f1e3aa02243ae1f06fc Author: fintruxdev <gary.ng@robocoder.com> Date: Fri Jan 24 07:47:09 2020 -0800 output *D views for cases where CmonD is specified before other *D losing common view due to execution sequence commit 52da57cece5e22cfcb6a6f79ad52575a34b6d408 Author: fintruxdev <gary.ng@robocoder.com> Date: Fri Jan 24 07:44:05 2020 -0800 remove redundant value in Ls(in SQL side of GetPermFilter) commit 0ebc2b25fdd947d187e330b1c6181d206cc47711 Author: fintruxdev <gary.ng@robocoder.com> Date: Thu Jan 23 22:29:42 2020 -0800 remove redundant value in LImpr Ls values commit 20da781dafc87f0a1b654468fc2ad6aeb3260adf Author: gary <gary.ng@robocoder.com> Date: Thu Jan 23 13:03:58 2020 -0800 move Key.cs file from Common3 to License3 commit e676f1ce91bd7869d48b5a52981a7191656ff4b0 Author: fintruxdev <gary.ng@robocoder.com> Date: Thu Jan 23 12:42:11 2020 -0800 excluding more operational table content from git source control(and export), minor change to releasedtl(version string) commit 5da28ec66dc1dbf80401eabd71a7c3c32f301b79 Author: fintruxdev <gary.ng@robocoder.com> Date: Thu Jan 23 11:37:19 2020 -0800 optimization of AppId retrieval commit 7fee51ac63f1ce0089dfa5682fe54e4f0826b894 Author: fintruxdev <gary.ng@robocoder.com> Date: Thu Jan 23 11:22:28 2020 -0800 handling of disabled modules in system dictionary commit ce1807c21e14724ab43179040f1ebf091b8952c7 Author: fintruxdev <gary.ng@robocoder.com> Date: Wed Jan 22 09:26:47 2020 -0800 -further improvement on installer configuration to catch(and fix) unwanted deployment of 'local tables' in metadata database(Design, *D) -suppress successful cronjob start message(remove noise) commit 3b32ed6392eef40bdb2b78ddedfc68a5c173f1c6 Author: fintruxdev <gary.ng@robocoder.com> Date: Wed Jan 22 09:14:04 2020 -0800 react enhancement about logout handling(unwanted re-acquire token after logout due to sync issue between asp.net and react), spinner fix for Login.js page commit a014ab5e59693138b892631ccb6f2eeede41d9c3 Author: fintruxdev <gary.ng@robocoder.com> Date: Tue Jan 21 11:53:36 2020 -0800 -always generate Sysbase stub(and ignore configure which is not used anyway), -fix installer for new installation name space change(with wrong PTY installer configuration is setup), -always ignore 'local tables' in Design and '*D' deployment(user, entity) in non-new installer setup commit a414f5c8d48b272ea99a12b00aefd558a47123a9 Author: fintruxdev <gary.ng@robocoder.com> Date: Tue Jan 21 11:45:39 2020 -0800 pull in Xls Import from seperate web service commit be90fb70b9256cda5f8b1cbb8bb97d3a4ff9c879 Author: Nelson <nelson.lin@robocoder.com> Date: Tue Jan 21 10:20:23 2020 -0800 Release rule inside GetScreenIn. commit 3569c1613ff444bcba237f7ccefb02e4572d1f3e Author: fintruxdev <gary.ng@robocoder.com> Date: Mon Jan 20 14:57:28 2020 -0800 add TLS 1.1 support for older servers/proxy etc.(outgoing request). Incoming is still controlled by hosting IIS commit 937b3939911a8445b0ddd5910f8826ff447673ce Author: fintruxdev <gary.ng@robocoder.com> Date: Mon Jan 20 12:09:51 2020 -0800 further enhancement for installer backup to handle 2 tier setup with restricted SQL login account(xp_create_subdir directory ACL issues) and fix a bug in new module installation dbowner setting commit d37ff565d99227073fa1a375e1b17bbfd7d42408 Author: fintruxdev <gary.ng@robocoder.com> Date: Sun Jan 19 16:00:00 2020 -0800 enhancements to the deployment system to support incremental module installation/upgrade and better support for two tier backup commit 0ad8330a8fb084034330ac72264fb3b5381a8a49 Author: fintruxdev <gary.ng@robocoder.com> Date: Thu Jan 16 16:36:45 2020 -0800 React FileInputV1.js handling of 'special' empty image(treat as nothing visually) commit d9d02e3908552fe37720156448c4722ead8bd7dc Author: aaron xu <aaron.xu@robocoder.com> Date: Thu Jan 16 16:33:52 2020 -0800 Handle empty file on FileInputV1.js commit 7a6b0326e22c6e0f399cb7178c6d2b56b702aabc Author: fintruxdev <gary.ng@robocoder.com> Date: Thu Jan 16 15:55:45 2020 -0800 improve deployment of View/SP to non-DROP version(to reduce chance of missing SP in the middle of upgrade), and re-gen all tracking SP commit e4b11d129c595e188b9b511ec502f008155f8a06 Author: fintruxdev <gary.ng@robocoder.com> Date: Wed Jan 15 13:50:12 2020 -0800 refine deployment to output metadata content commit 7a31dfefd3da5bec61883a76b379344a46f82a87 Author: fintruxdev <gary.ng@robocoder.com> Date: Wed Jan 15 10:02:43 2020 -0800 more react formatting fix commit d53143fa3715e332cc3a1fc7320a97a5bd9246a5 Author: fintruxdev <gary.ng@robocoder.com> Date: Wed Jan 15 08:52:33 2020 -0800 comment out prestart/prebuild sample script in template for inter-module copying(enable only needed) commit 7ec8d4917e872e1c11e3ed9732d7af629adf3a07 Author: fintruxdev <gary.ng@robocoder.com> Date: Wed Jan 15 07:51:27 2020 -0800 re-gen React Adm module with R10.100.00115 commit d8cf71373282d8095efc8e4b57a424db839419fe Author: fintruxdev <gary.ng@robocoder.com> Date: Wed Jan 15 07:49:53 2020 -0800 typo in react generator, cleaner cron started message, cleaner cronjob https detection commit b7e991d7a4c479cb1fd5f3a63113047cd1e50b5e Author: fintruxdev <gary.ng@robocoder.com> Date: Wed Jan 15 07:26:23 2020 -0800 Regenerate React Adm module commit 2b9e144d1316f028a0aa23ec331ef6be160f42cf Author: fintruxdev <gary.ng@robocoder.com> Date: Wed Jan 15 07:25:11 2020 -0800 React Generator formatting change commit f001e2ef1d003d39c322adc6e771a95f54aaa902 Author: fintruxdev <gary.ng@robocoder.com> Date: Tue Jan 14 17:28:00 2020 -0800 revised prestart/prebuild script for Adm React module commit c34f4945eb3a7234b255d5c8272e867941cdb82b Author: fintruxdev <gary.ng@robocoder.com> Date: Tue Jan 14 16:20:31 2020 -0800 exclude Import directory in .gitignore and output metadata content(and exclude SQL/Data* from git by default) commit e406aaa7c19d997c441b7e4fdb870620b8b645bd Author: fintruxdev <gary.ng@robocoder.com> Date: Tue Jan 14 13:30:26 2020 -0800 sanitize mixed newline in generated react screen commit 0c7640d1bc80405882bb55741ef5315a22569b32 Author: fintruxdev <gary.ng@robocoder.com> Date: Tue Jan 14 13:02:07 2020 -0800 missing change in ROCmonD WrGetScreenObj(for react screen generation) commit ede723dbd8d3aeb2d060f02324df2a7a383257c8 Author: fintruxdev <gary.ng@robocoder.com> Date: Tue Jan 14 12:18:14 2020 -0800 revert cookie path setting(case sensitivity by browser but not web server) commit 8e5b37e996c6b03a12310333a77e80e374689db8 Author: fintruxdev <gary.ng@robocoder.com> Date: Tue Jan 14 11:37:21 2020 -0800 improve prestart/prebuild script sample in template for local 'site'(i.e. shared between modules) based common react files(not the same as Rintagi controlled on) commit ded6e3dbdec27180d8bda33395d3871d1a067234 Author: aaron xu <aaron.xu@robocoder.com> Date: Tue Jan 14 11:35:25 2020 -0800 Edit LoadMst to handle empty case commit 905020b5a56707e225847cc1e17b6e63fea6fa34 Author: fintruxdev <gary.ng@robocoder.com> Date: Tue Jan 14 11:17:10 2020 -0800 installer package change to reset more 'local' settings(for new installation) commit 8d3ac32b72145d196b2fd0b0ff96651e479782e1 Author: fintruxdev <gary.ng@robocoder.com> Date: Tue Jan 14 11:16:24 2020 -0800 regenerated missing criterGetDdl commit 82d4623388217e7e4c190ece28ea6bbc6e773739 Author: fintruxdev <gary.ng@robocoder.com> Date: Tue Jan 14 11:14:20 2020 -0800 change unzip call to overwrite on existing(for VwAppItem export) commit 90efb398daafd70cae3fc64534fcc2f861b6610c Author: fintruxdev <gary.ng@robocoder.com> Date: Tue Jan 14 11:13:15 2020 -0800 generate all criteria GetDdl SP during screen generation commit 8e5d77d5c0edc1882b1916834debbca6d9a08954 Author: fintruxdev <gary.ng@robocoder.com> Date: Tue Jan 14 10:56:42 2020 -0800 add VwAppItem export for git commit 7c63849b273796c8bd344eebb8df9242ce04e13b Author: fintruxdev <gary.ng@robocoder.com> Date: Tue Jan 14 07:52:37 2020 -0800 change react generator to handle primary key is not identity and change helper function for screen without criteria commit 6edb60b5d6e9dc47223623fe6a857d34af3ba5d9 Author: fintruxdev <gary.ng@robocoder.com> Date: Mon Jan 13 22:34:51 2020 -0800 react related change on name space(behind proxy) and sqlreportmodule commit 808cbb5da2bfe47106eeaf6c82ae4cb063be8078 Author: fintruxdev <gary.ng@robocoder.com> Date: Mon Jan 13 15:27:18 2020 -0800 change .gitignore for License3\Key.cs commit b5a07cddd7a66e7fc9b622bbd5a8a21485efd295 Author: fintruxdev <gary.ng@robocoder.com> Date: Mon Jan 13 15:23:50 2020 -0800 add checklist control for React, proper user redux handling for password reset in React, cleanup remembered 'current' record on save/delete, better prestart/prebuild(shared react js update) script to preserve local changes. commit db7e08e76f2ae43f004a421c1d837064a5ff68c0 Author: fintruxdev <gary.ng@robocoder.com> Date: Mon Jan 13 15:17:15 2020 -0800 re-generate React Adm web api to handle non-identity PK or Tab folder only screen and associated SP changes commit cac273367934d94351f9554a441c988f720c7f28 Author: fintruxdev <gary.ng@robocoder.com> Date: Mon Jan 13 15:13:36 2020 -0800 re-gen screen to use consolidated Redirect call in modulebase commit 5ba9653fb118eaf1503674804b23077f914c4de9 Author: fintruxdev <gary.ng@robocoder.com> Date: Mon Jan 13 15:11:32 2020 -0800 consolidate Redirection treatment for proper handling of behind proxy server setup, revise cronjob handling for sitting behind proxy, add better tracing capability for behind proxy setup commit 2e2e777c4a538b357aa9df01df1206f6b7d6c481 Author: fintruxdev <gary.ng@robocoder.com> Date: Fri Jan 10 15:09:11 2020 -0800 improve react generator to lay ground work for multi design DB usage, handle screen with primary key which is not identity column commit 96868283a2638ada483ec1829c74d6bc4d8d3d19 Author: fintruxdev <gary.ng@robocoder.com> Date: Fri Jan 10 15:06:49 2020 -0800 enhancement for error tracking and reporting of various configuration issues commit 59feb3582a95fa39b6d7a5c172b99fe65ca5e306 Author: fintruxdev <gary.ng@robocoder.com> Date: Fri Jan 10 15:05:19 2020 -0800 remove Key.cs from Common3 Project(changed to License3), patch License3 project tool chain for VS2012 usage commit da6b60f734fb2f3a90dd36a901666219fecad065 Author: aaron xu <aaron.xu@robocoder.com> Date: Wed Jan 8 15:10:19 2020 -0800 Fix forget password system ID issue, auth.js reset password payload, (Add <add key="PasswordResetModule" value="1" /> to web.config with correct value) commit 6b8ccfe1efec8bb56ad3cd7ba30003412f2f7f62 Author: aaron xu <aaron.xu@robocoder.com> Date: Wed Jan 8 10:58:15 2020 -0800 Handle multi-select CheckList and flush the page when there is no record commit 76f8f3bf64e0e10d191614c4c504b34bbe062b2b Author: fintruxdev <gary.ng@robocoder.com> Date: Mon Jan 6 10:26:34 2020 -0800 sync screen.js between Template and Shared(for incremental upgrade) commit f6499502bece8ddf653391ecda32c35345a62421 Author: aaron xu <aaron.xu@robocoder.com> Date: Mon Jan 6 10:22:12 2020 -0800 Fix the includeDtl issue for the tab folder only screen and add checkboxchange into rintagi.js commit bb428e47780da84b8fa81ee5f3f3e1c59bfa0982 Author: fintruxdev <gary.ng@robocoder.com> Date: Sat Jan 4 00:15:38 2020 -0800 further normalized unusual CHAR(13) of generated SP on output(to make it git friendly) ! commit e0a4782b45da3d352302f0cf62bf2702c1580059 Author: gary <gary.ng@robocoder.com> Date: Fri Jan 3 20:55:59 2020 -0800 Internal PTY installer commit 78f1cfb1cb4c1e2e163012a846cb4b397c3bc858 Author: gary <gary.ng@robocoder.com> Date: Fri Jan 3 20:54:17 2020 -0800 cleanup inconsistent line break and unnecessary newline in SP on each upgrade commit aa685e40efd61a388412da5c3a1b56ef99051b85 Author: fintruxdev <gary.ng@robocoder.com> Date: Fri Jan 3 11:11:31 2020 -0800 minor typo in re-gen check commit dbd40d27d1c95c4ccda899f59ad5d76b0673da36 Author: fintruxdev <gary.ng@robocoder.com> Date: Fri Jan 3 11:10:13 2020 -0800 re-generated React Adm module(with new copying mechanism for shared files) commit f8c3a4896391c31beb74abbff1eb55d3d7873e47 Author: fintruxdev <gary.ng@robocoder.com> Date: Thu Jan 2 14:35:26 2020 -0800 minor change to remove 'unreachable code' warning for installer commit 1c7764807f9029e357015c575d91c3c308a647a3 Author: fintruxdev <gary.ng@robocoder.com> Date: Thu Jan 2 12:28:08 2020 -0800 enhance react project template with framework to handle pre-build/start file copy for cross module dependency and common component update commit c93543b0e5cf0972246c82808e15d8e5e2c34f25 Author: fintruxdev <gary.ng@robocoder.com> Date: Thu Jan 2 11:58:04 2020 -0800 force re-gen of GetScreenIn SP for possible 'parameter list' changes. commit 9e3a6df936c0c4fb69b975b341fd7872b895a3ae Author: fintruxdev <gary.ng@robocoder.com> Date: Tue Dec 31 15:29:29 2019 -0800 bring back react filecontrol v1 interface in screen(for generated screens) commit c25176cedf2aea5d43f3607f6e338a46493461bd Author: fintruxdev <gary.ng@robocoder.com> Date: Tue Dec 31 15:23:29 2019 -0800 refine code about path(directory) assuming ending with slash, allows redirect of project root to another drive, add back detail record key for editing existing record(in formik init value) commit 2b4f520b1a9f47af5d8ef8ef094dc3b8dc800f02 Author: fintruxdev <gary.ng@robocoder.com> Date: Mon Dec 30 12:46:24 2019 -0800 add new unrestricted key for internal DEV commit 6b5701f7b31ca8876fd9af46e97a81f7fd747e00 Author: fintruxdev <gary.ng@robocoder.com> Date: Mon Dec 30 12:44:55 2019 -0800 change project for vs2012 compatibility commit b38bb36c28d0b0debe9d1ffcf5c933407982f295 Author: gary <gary.ng@robocoder.com> Date: Mon Dec 23 14:59:00 2019 -0800 fix typo in GetScreenLisCri call of RODesign.dbo.fSanitizeKeyVal when key type is non-numeric commit 7ff30777f485fba75b01ab770e0eecc856090f0b Author: gary <gary.ng@robocoder.com> Date: Wed Dec 18 21:38:25 2019 -0800 set internal json serializer size commit e5c61511324a53ae02417fc058917b10b8cfff80 Author: gary <gary.ng@robocoder.com> Date: Wed Dec 18 17:33:46 2019 -0800 update React shared components(screen.js) commit f5aff60a1b128c9d7fa6b490f8bcceb9da9ff7ce Author: gary <gary.ng@robocoder.com> Date: Wed Dec 18 17:33:10 2019 -0800 regen Adm React module commit 81bd54c2290b36771b939885194d2e7b9594fb46 Author: aaron xu <aaron.xu@robocoder.com> Date: Wed Dec 18 15:53:32 2019 -0800 generation code change to hide unsupported controls. update dropdown to dropdownV1 commit 409e2c7d027e1af16c191743f00baf68d759f6a8 Author: gary <gary.ng@robocoder.com> Date: Wed Dec 18 10:32:46 2019 -0800 update installer version to 2.0.0.0 commit c6a62dd9988491cebbb2358cad9932a963ff9c92 Author: gary <gary.ng@robocoder.com> Date: Wed Dec 18 09:57:01 2019 -0800 further cleanup of license code to avoid unnecessary calls for fully licensed RO commit f4910eadb28f803aee70fa1a684a8c3af8af10ef Author: gary <gary.ng@robocoder.com> Date: Wed Dec 18 09:32:39 2019 -0800 revise .gitignore to not hiding deployment project shared files commit 2369d1c4c0ddc04df89e4f04345c4bbe095ef485 Author: gary <gary.ng@robocoder.com> Date: Wed Dec 18 09:31:38 2019 -0800 revise deployment package data entry on installation/project root directory entry for enhanced directory layout commit f867a81050321d5140fc95d85c5d45086d75b573 Author: gary <gary.ng@robocoder.com> Date: Wed Dec 18 09:27:43 2019 -0800 pass in regen flag to MkGetScreenIn for optimization(whether to re-vise generated SP) commit 66bf3d892bbda1a2b2508e775c82b07f4e50463c Author: gary <gary.ng@robocoder.com> Date: Wed Dec 18 09:25:54 2019 -0800 revise to optimize MkGetScreenIn call structure from 'drop then create' which cause race condition in fast usage scenario(React) to 'create if not exist then optionally revise', revise AsmxBase on the MkGetScreenIn usage to track potential race issues. commit c8281b76331cb38ac34375e593e9cb086a9126ff Author: aaron xu <aaron.xu@robocoder.com> Date: Mon Dec 16 15:49:02 2019 -0800 Fix for the criteria loading speed commit 536d6cc07bffc6e2482db145badb7aaca1ffba55 Author: gary <gary.ng@robocoder.com> Date: Mon Dec 16 08:59:51 2019 -0800 revise Community shadow stub commit 6077248c5227da046ee7d3f0e7e4543a7ed8d7e0 Author: gary <gary.ng@robocoder.com> Date: Thu Dec 12 13:56:05 2019 -0800 revise React Adm module with latest share features/components commit 66c4f1ecd8b15806addbf665b7e258a618cc4e30 Author: gary <gary.ng@robocoder.com> Date: Thu Dec 12 09:08:44 2019 -0800 enhancement to handle multiple backend server(behind load balancer) where even login must be stateless(accessCode not guaranteed to be available, need centralized sync in the future), also cater for clock skew(for JWT token time validity) commit e0d046caa2b90e168ca6464d04a8da11cbe242b9 Author: gary <gary.ng@robocoder.com> Date: Tue Dec 10 17:07:04 2019 -0800 re-generated Adm React module using Legacy FileInput component commit d66b492f16fa9f95b848d79c77d68250449825d9 Author: gary <gary.ng@robocoder.com> Date: Tue Dec 10 16:01:40 2019 -0800 work around race condition for criteria MkGetscreenIn, keep old version of FileInput component for generated code, default current machine name in installer for new system setup commit 5810b6866869e5c616b0a8918153415dce3b15ae Author: gary <gary.ng@robocoder.com> Date: Thu Dec 5 09:31:20 2019 -0800 add License Management screen(and associated required changes to license helper functions), fix SearchLink js error in new browser version commit 1d74e03ebc5cae7380561d608e2aaf735a777c48 Author: gary <gary.ng@robocoder.com> Date: Tue Dec 3 10:10:04 2019 -0800 add borrower/lender/guarantor info to impersonation, add better error tracing for mis-configured web service JSON size limit, add better tracing on criteria SP creation/renewal error condition(race), add better error tracing for machine that occurs(for multiple C# middle tier usage or localhost usage) commit 09d73c7bf977277c938064387c8da48a81f6854e Author: gary <gary.ng@robocoder.com> Date: Mon Dec 2 13:22:52 2019 -0800 fix rare race condition for MkScreenIn when used in the context of Asmx(wrap change inside transaction) commit f2703030720567f162a90ef96e3c4aae1c19602f Author: aaron xu <aaron.xu@robocoder.com> Date: Mon Dec 2 12:52:49 2019 -0800 Add borrower. lender, and guarantor to SetImpersonation commit 63d4fa090420256449f1d32855fcf30053378990 Author: gary <gary.ng@robocoder.com> Date: Mon Dec 2 09:28:43 2019 -0800 more tracing info in error tracing message(to identify server machine having the issue, in the case of multiple server behind proxy or localhost usage scenario) commit 2bed06471bc35a0d450927cd3507d1880f142b8e Author: gary <gary.ng@robocoder.com> Date: Fri Nov 29 12:14:09 2019 -0800 re-generate Adm React modules using the new revised template commit 29162ec6ae99d48f9144fb45c530dad11e0cab57 Author: gary <gary.ng@robocoder.com> Date: Fri Nov 29 12:13:14 2019 -0800 minor fix react gen code to match typo in shared js, revise sample(template) of customroute configuration definition commit ec3c3e5295fb2d048cc03841a9948844fbcbe902 Author: gary <gary.ng@robocoder.com> Date: Fri Nov 29 11:14:10 2019 -0800 better handling of info leakage on error for anonymous user(localhost should show more detail for error tracing) commit 735b45f27a8e27ebb7fb16ee95ef629e12f57bd5 Author: gary <gary.ng@robocoder.com> Date: Fri Nov 29 11:13:01 2019 -0800 revised React Template(and shared code) from Fintrux(and the generator code) commit 49a7e81446965a41a5260e0620d171eecb96414b Author: gary <gary.ng@robocoder.com> Date: Thu Nov 28 14:54:08 2019 -0800 handle usage case where RO.dbo.Systems contains modules not sharing the same db credential, namespace or server(mesh SQL backend modules usage), require re-gen of all screens(for Adm*) commit f2f94bf764a0365fa115dabd874b1c4bcb535241 Author: gary <gary.ng@robocoder.com> Date: Thu Nov 28 12:09:53 2019 -0800 handcoded AdmScreenModule that fix assumption of same credential for all modules defined in (XXDesign.dbo.Systems), need generator change commit cf07eb6aefe6d5c4c442bf67db7e2bdaba2675fb Author: gary <gary.ng@robocoder.com> Date: Thu Nov 28 12:08:34 2019 -0800 add case sensitive .gitignore for deployment projects(don't need source control), change SQL related SP that assumes all XXDesign.Systems share same Credential(not necessary the case) commit 679411f7a979eec3d7ea8b415a60a717f7be38c5 Author: gary <gary.ng@robocoder.com> Date: Mon Nov 25 14:03:34 2019 -0800 revise SerializedDictionary, jquery popup dialog closing logic commit 8fd93b5ecd219e1d303edbac6752f1413961ef3a Author: gary <gary.ng@robocoder.com> Date: Fri Nov 22 16:26:34 2019 -0800 rename login/ to Login/ (step 2) commit 1e9e0eb8aad24db25795eb721a56a9cf3f1a3db9 Author: gary <gary.ng@robocoder.com> Date: Fri Nov 22 16:24:48 2019 -0800 rename login/ to Login/(step 1) commit e76978a7310ce275a1c51f4207472e0c208c2a88 Author: gary <gary.ng@robocoder.com> Date: Fri Nov 22 14:27:35 2019 -0800 nail down react-popper package to 1.0.2 which is found to be the most 'compatible' commit e2cccab2a18d94ac72d724a6d4c1af40c5778775 Author: aaron xu <aaron.xu@robocoder.com> Date: Wed Nov 20 14:40:00 2019 -0800 button layout issue fixed commit dd39bd9fbd0cdde14e1f25d75c4b88942b398f43 Author: aaron xu <aaron.xu@robocoder.com> Date: Wed Nov 20 14:31:39 2019 -0800 fix generation code, template layout css commit 17748d02c2887c7091fcf41f6e7de533384f7a95 Author: gary <gary.ng@robocoder.com> Date: Fri Nov 15 13:09:20 2019 -0800 re-zip deployment template resources commit 25d6d7c911cd4f228c5ab846e0ec567fd5f44bfd Author: gary <gary.ng@robocoder.com> Date: Fri Nov 15 13:07:39 2019 -0800 update template resource commit 3fcd2f4f9e906a51fe3f43c75fc4051223c8572a Author: gary <gary.ng@robocoder.com> Date: Fri Nov 15 12:40:03 2019 -0800 remove compiler warning for installer, fix error reporting for anonymous logn(not revealing error detail), skip error tracking for webresource.axd(from crawler) commit 4477682f4d9a183dd250d5d3723ae7173bc6fcc3 Author: gary <gary.ng@robocoder.com> Date: Fri Nov 15 08:52:06 2019 -0800 make sure SQL login created do not check password expiry commit 876c337d9ae103aaaa314c1a5c4e90e5330ce89c Author: aaron xu <aaron.xu@robocoder.com> Date: Tue Nov 12 12:22:30 2019 -0800 Fix two factor authentication days issue to 90 days commit a2be061b032472d59e3ba0f1d9d12e56746fe47a Author: gary <gary.ng@robocoder.com> Date: Sat Oct 26 15:26:37 2019 -0700 sync shared react code commit 10137479d66188007ee3ef1d3ef8293900186b88 Author: gary <gary.ng@robocoder.com> Date: Sat Oct 26 15:19:14 2019 -0700 add published(runtime build) for Adm React app commit ac42ba7618d2d187bc5f122272736363cc94dcd6 Author: gary <gary.ng@robocoder.com> Date: Sat Oct 26 14:21:08 2019 -0700 update React Template style, revise Adm React styling from Template commit 1a36470d3d5b248d80d7b5d3af4b90c01f2fd98d Author: gary <gary.ng@robocoder.com> Date: Sat Oct 26 00:19:10 2019 -0700 fix Formik event handling code(field content change may not reflect in the same flow, need deferral through settimeout) commit 30524453c817f6dc81f9420a36e3fad8fb7afcfc Author: gary <gary.ng@robocoder.com> Date: Sat Oct 26 00:17:05 2019 -0700 revise React Custom screen routing layout commit 85aec8399511f783134c4cc9b7883ba924a17a26 Author: gary <gary.ng@robocoder.com> Date: Sat Oct 26 00:10:40 2019 -0700 Fix SQL injection vulnerability in generated SP(GetScreenLisCri, GetScreenLisI1ById, GetScreenLisI2ById needs to be changed and all screen re-generated) commit 59d2a05e80832b9fe056ab9878f72126693f9a6a Author: gary <gary.ng@robocoder.com> Date: Wed Oct 23 09:57:03 2019 -0700 re-structure React layout to allow hand coded custom pages commit 132e05df88617fd10e1b0cdf9929c7854f610f8e Author: gary <gary.ng@robocoder.com> Date: Wed Oct 23 08:21:34 2019 -0700 add custom reducer hook for react app and change generator for index.js file(for redux)
1 parent 8eca2a8 commit ba23eb8

File tree

268 files changed

+7799
-1649
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

268 files changed

+7799
-1649
lines changed

Common3/Data/UsrImpr.cs

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,27 @@ public class UsrImpr
2929
public UsrImpr() {}
3030
private string Merge(string ls1, string ls2)
3131
{
32-
List<string> l1 = (ls1 ?? "").Split(new char[] { (char)191 }, StringSplitOptions.RemoveEmptyEntries).ToList();
33-
List<string> l2 = (ls2 ?? "").Split(new char[] { (char)191 }, StringSplitOptions.RemoveEmptyEntries).ToList();
34-
return string.Join(((char)191).ToString(), l1.Concat(l2).Distinct().ToArray());
32+
List<string> lo = new List<string>();
33+
HashSet<string> v = new HashSet<string>();
34+
string[] l1 = (ls1 ?? "").Split(new char[] { (char)191 }, StringSplitOptions.RemoveEmptyEntries);
35+
string[] l2 = (ls2 ?? "").Split(new char[] { (char)191 }, StringSplitOptions.RemoveEmptyEntries);
36+
foreach (string s in l1)
37+
{
38+
if (!v.Contains(s)) {
39+
lo.Add(s);
40+
v.Add(s);
41+
}
42+
}
43+
foreach (string s in l2)
44+
{
45+
if (!v.Contains(s))
46+
{
47+
lo.Add(s);
48+
v.Add(s);
49+
}
50+
}
51+
52+
return string.Join(((char)191).ToString(), lo.ToArray());
3553

3654
}
3755
public UsrImpr(string usrs, string usrGroups, string cultures, string rowAuthoritys, string companys, string projects, string investors, string customers, string vendors, string agents, string brokers, string members, string borrowers, string guarantors, string lenders)

Common3/Encryption.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ namespace RO.Common3
1212
public class Encryption: Key
1313
{
1414
private string pExpiryDt = "9999.12.01";
15+
public const string ROVersion = "20200228";
1516
// RCEncryption uses TripleDES algorithm to encrypt and/or decrypt an input string.
1617
// By default a key is used to do the decryption, this key should be the same for decryption and encryption.
1718

@@ -202,7 +203,7 @@ public Tuple<string, bool, string> DecodeLicenseString(string _licenseStringBase
202203
}
203204

204205

205-
public string RenewLicense(string LicenseServerEndPoint)
206+
public string RenewLicense(string LicenseServerEndPoint, string InstallID=null, string AppId = null, string AppNameSpace = null)
206207
{
207208
return null;
208209
}

Common3/Utils.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1356,10 +1356,10 @@ public static bool IsFullyLicense(string moduleName, string resourceName)
13561356
RO.Common3.Encryption e = new RO.Common3.Encryption();
13571357
return e.CheckValidLicense(moduleName, resourceName);
13581358
}
1359-
public static string RenewLicense(string LicenseServerEndPoint = null)
1359+
public static string RenewLicense(string LicenseServerEndPoint = null, string InstallID = null, string AppId = null, string AppNameSpace = null)
13601360
{
13611361
RO.Common3.Encryption e = new RO.Common3.Encryption();
1362-
return e.RenewLicense(LicenseServerEndPoint);
1362+
return e.RenewLicense(LicenseServerEndPoint, InstallID, AppId, AppNameSpace);
13631363
}
13641364

13651365
public static List<DataStructure> AnalyseExcelData(DataTable dtImp, int rowsToExamine)
@@ -1437,7 +1437,7 @@ public static List<DataStructure> AnalyseExcelData(DataTable dtImp, int rowsToEx
14371437
return (from x in columns where !string.IsNullOrEmpty(x.ColumnName) select x).ToList();
14381438
}
14391439

1440-
public static void DirectoryCleanup(string sourceDirName, string searchPattern, bool recursve = false)
1440+
public static void DirectoryCleanup(string sourceDirName, string searchPattern, bool recursive = false)
14411441
{
14421442
if (string.IsNullOrEmpty(searchPattern)) return;
14431443

@@ -1460,15 +1460,15 @@ public static void DirectoryCleanup(string sourceDirName, string searchPattern,
14601460
{ }
14611461
}
14621462

1463-
if (recursve)
1463+
if (recursive)
14641464
{
14651465
// Get the subdirectories for the specified directory.
14661466
try
14671467
{
14681468
DirectoryInfo[] dirs = dir.GetDirectories();
14691469
foreach (DirectoryInfo subdir in dirs)
14701470
{
1471-
DirectoryCleanup(subdir.FullName, searchPattern, recursve);
1471+
DirectoryCleanup(subdir.FullName, searchPattern, recursive);
14721472
}
14731473
}
14741474
catch { }

DeploySetup/rintagi_machine_setup_install_prerequisite.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Write-Output "Install chocolatey"
22

3-
Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
3+
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
44

55
choco feature enable -n allowGlobalConfirmation
66

React/Adm/src/components/custom/AutoCompleteField.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ export default class AutoCompleteField extends Component {
138138

139139
render() {
140140
return (
141-
<div className='form__form-group-input-wrap'>
141+
<div className={`${this.props.className} form__form-group-input-wrap`}>
142142
<Fragment>
143143
<Typeahead
144144
ref={(typeahead) => this.typeahead = typeahead}

React/Adm/src/components/custom/FileInput.js

Lines changed: 28 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ import { Row, Col, Spinner } from 'reactstrap';
88
import { showNotification } from '../../redux/Notification';
99
import Skeleton from 'react-skeleton-loader';
1010
import { formatBytes } from '../../helpers/formatter';
11-
import { previewContent,uuid } from '../../helpers/utils';
11+
import { previewContent, uuid } from '../../helpers/utils';
12+
import moment from 'moment';
13+
1214
function calcSize(width, height, max_width, max_height, noSwap) {
1315

1416
if (!max_height && !max_width) return { width, height };
@@ -135,7 +137,7 @@ function getFile(file, index, options, success, state, setState) {
135137
// Resizing image
136138
var canvas = document.createElement('canvas');
137139
var ctx = canvas.getContext("2d");
138-
140+
139141
ctx.drawImage(img, 0, 0);
140142

141143
// var options = _this.props.options || {};
@@ -363,22 +365,22 @@ class FileInputField extends Component {
363365
fileSig: previewSig,
364366
};
365367
/* window.open MUST BE DONE here in the click even function or it would be blocked by popup blocker */
366-
sessionStorage.setItem("PreviewAttachment",JSON.stringify({...dataObj,fileSig:previewSig}));
367-
const win = (!isIE || isImage) && !download && window.open(envPublicUrl + '/helper/showAttachment.html' + '?fileSig=' + previewSig,'_blank');
368+
sessionStorage.setItem("PreviewAttachment", JSON.stringify({ ...dataObj, fileSig: previewSig }));
369+
const win = (!isIE || isImage) && !download && window.open(envPublicUrl + '/helper/showAttachment.html' + '?fileSig=' + previewSig, '_blank');
368370
previewContent({
369-
dataObj:dataObj
370-
, download:false
371-
, winObj:win
372-
, dataPromise:undefined
373-
, previewSig:previewSig
374-
, containerUrl: envPublicUrl + '/helper/showAttachment.html'
375-
});
371+
dataObj: dataObj
372+
, download: false
373+
, winObj: win
374+
, dataPromise: undefined
375+
, previewSig: previewSig
376+
, containerUrl: envPublicUrl + '/helper/showAttachment.html'
377+
});
376378
return;
377379
const makeDoc = (body) => {
378380
return "<html><header>" + "<title>" + currentUrlTitle + ' ' + (selectedFile.fileName || '') + "</title>"
379381
+ "<header><body>" + body + "</body></html>"
380382
}
381-
const injectContent = function(file) {
383+
const injectContent = function (file) {
382384
//debugger;
383385
const header = win.document.getElementById('header');
384386
const body = win.document.getElementsByTagName('body');
@@ -389,7 +391,7 @@ class FileInputField extends Component {
389391
const content = addPreviewUrl(selectedFile).contentUrl;
390392
//const content = 'https://www.youtube.com/embed/01ON04GCwKs'
391393
//const content = '<iframe width="560" height="315" src="https://www.youtube.com/embed/01ON04GCwKs" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>'
392-
win.postMessage(content,"*");
394+
win.postMessage(content, "*");
393395
// if (body[0])
394396
// body[0].innerHTML = makeDoc('<iframe src="' + addPreviewUrl(selectedFile).contentUrl + '" frameborder="0" style="position: absolute; border:0; top:0px; left:0px; bottom:0px; right:0px; width:100%; height:100%;" allowfullscreen></iframe>');
395397
// else
@@ -405,7 +407,7 @@ class FileInputField extends Component {
405407
};
406408

407409
// win.onload = function(){
408-
410+
409411
// //debugger;
410412
// injectContent(selectedFile);
411413
// // const header = win.document.getElementById('header');
@@ -624,31 +626,35 @@ class FileInputField extends Component {
624626
.map((obj, i) => {
625627
return (
626628
<div className="dropzone__holder" key={i}>
627-
<div className='dropzone__img pointer' style={{ backgroundImage: 'url(' + addPreviewUrl(obj).previewUrl + ')' }} onClick={this.previewSelectedFile(i)}>
628-
{!(obj || {}).base64 && <Skeleton height="100px" widthRandomness="0" />}
629+
<div className={`dropzone__img pointer ${this.props.disabled && 'rad-4 mb-20'}`} style={{ backgroundImage: 'url(' + addPreviewUrl(obj).previewUrl + ')' }} onClick={this.previewSelectedFile(i)}>
630+
{(!(obj || {}).base64 && !(obj || {}).icon) && <Skeleton height="100px" widthRandomness="0" />}
629631
{obj && !(obj.mimeType || '').match(/image/) &&
630632
<i className={`fa ${this.icon(i)} fs-38 color-green`}></i>
631633
}
632-
<p className='dropzone__img-name truncate-inline'>{obj && ((!obj.base64 ? 'Loading...' : obj.fileName))}</p>
634+
{obj && obj.ts && <p className={`dropzone__img-name truncate-inline pb-17 ${this.props.disabled && 'bblr-4'}`}><u>{moment(obj.ts).format('MMM D, YYYY')}</u></p>}
635+
{obj && obj.InputOn && <p className={`dropzone__img-name truncate-inline pb-17 ${this.props.disabled && 'bblr-4'}`}><u>{moment(obj.InputOn, moment.ISO_8601).format('MMM D, YYYY')}</u></p>}
636+
<p className={`dropzone__img-name truncate-inline ${this.props.disabled && 'bblr-4'}`}>{obj && (((!obj.base64 && !obj.icon) ? 'Loading...' : obj.fileName))}</p>
633637
</div>
634-
{!this.props.disabled
635-
? <button type='button' className='dropzone__img-delete-custom' onClick={this.removeSelectedFile(i)}>{'Remove'}</button>
636-
: <button type='button' className='dropzone__img-delete-custom' onClick={this.previewSelectedFile(i)}>{'Preview'}</button>
638+
{!this.props.disabled
639+
&& <button type='button' className='dropzone__img-delete-custom' onClick={this.removeSelectedFile(i)}>{'Remove'}</button>
637640
}
638641
</div>
639642
)
640643
})
641644
}
645+
{(this.state.files || []).length < 1 && this.props.disabled &&
646+
<div className="fw-600 m-auto pt-20">No documents in this section</div>
647+
}
642648
{!this.props.disabled && <div className={`dropzone__holder ${filesAmount >= maxAllowed && 'd-none'}`}>
643649
<label className="dropzone__input-custom" htmlFor={this.props.name || (this.props.field || {}).name}>
644650
{!this.props.multiple && (this.state.files || []).length > 0 && <i className="fa fa-repeat"></i>}
645651
{!this.props.multiple && (this.state.files || []).length === 0 && (!this.state.progress
646652
? <i className="fa fa-plus"></i>
647-
: <Spinner color="success" style={{ width: '2rem', height: '2rem', marginTop: '35%', marginLeft: '32.5%' }} />
653+
: <Spinner color="success" style={{ width: '2rem', height: '2rem', margin: 'auto' }} />
648654
)}
649655
{this.props.multiple && (!this.state.progress
650656
? <i className="fa fa-plus"></i>
651-
: <Spinner color="success" style={{ width: '2rem', height: '2rem', marginTop: '35%', marginLeft: '32.5%' }} />
657+
: <Spinner color="success" style={{ width: '2rem', height: '2rem', margin: 'auto' }} />
652658
)}
653659
</label>
654660
<input

React/Adm/src/components/custom/FileInputV1.js

Lines changed: 26 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -94,9 +94,10 @@ class FileInputField extends Component {
9494
let reader = new FileReader();
9595
let file = value.target.files[0] || { type: '' };
9696
var fileType = file['type'];
97+
const actionTimeStamp = Date.now();
9798

9899
reader.fileName = file.name;
99-
100+
100101
if (fileType.split('/')[0] === 'image') {
101102

102103
const _this = this;
@@ -149,7 +150,15 @@ class FileInputField extends Component {
149150
});
150151

151152
// Passing name and base64 value of our rotated and resized image
152-
_this.props.onChange({ name: files[0].name, mimeType: files[0].type, size: files[0].size, width: width, height: height, lastModified: files[0].lastModified, base64: readerResizedImg });
153+
_this.props.onChange({
154+
name: files[0].name,
155+
mimeType: files[0].type,
156+
size: files[0].size,
157+
width: width,
158+
height: height,
159+
ts: actionTimeStamp + 1,
160+
lastModified: files[0].lastModified,
161+
base64: readerResizedImg });
153162
}
154163
})
155164
};
@@ -161,7 +170,14 @@ class FileInputField extends Component {
161170
previewUrl: reader.result,
162171
fileName: reader.fileName
163172
});
164-
this.props.onChange({ name: files[0].name, mimeType: files[0].type, size: files[0].size, lastModified: files[0].lastModified, base64: reader });
173+
this.props.onChange({
174+
name: files[0].name,
175+
mimeType: files[0].type,
176+
size: files[0].size,
177+
lastModified: files[0].lastModified,
178+
ts: actionTimeStamp + 1,
179+
base64: reader
180+
});
165181
// this.props.onChange({ name: files[0].name, base64: reader });
166182
};
167183
}
@@ -210,7 +226,11 @@ class FileInputField extends Component {
210226
result: "iVBORw0KGgoAAAANSUhEUgAAAhwAAAABCAQAAAA/IL+bAAAAFElEQVR42mN89p9hFIyCUTAKSAIABgMB58aXfLgAAAAASUVORK5CYII=",
211227
}
212228

213-
this.props.onChange({ name: '', base64: emptyObject });
229+
this.props.onChange({
230+
name: '',
231+
base64: emptyObject,
232+
ts:Date.now() + 1,
233+
});
214234
this.setState({ deleteBtnVisibility: false });
215235
}
216236

@@ -268,7 +288,7 @@ class FileInputField extends Component {
268288
<label htmlFor={this.props.name}>{this.props.label}</label>
269289
<label className={`ml-15 ${previewClass}`} onClick={this.removeSelectedFile}>{options.CancelFileButton}</label>
270290
{
271-
(fileInfo.base64 || '').length > 0 && <label className={`ml-15 ${deleteClass}`} onClick={this.sendEmptyFile}>{options.DeleteFileButton}</label>
291+
(fileInfo.base64 || fileInfo.icon || '').length > 0 && <label className={`ml-15 ${deleteClass}`} onClick={this.sendEmptyFile}>{options.DeleteFileButton}</label>
272292
}
273293
<input
274294
className="fileInput"
@@ -283,7 +303,7 @@ class FileInputField extends Component {
283303
</Col>
284304
<Col className="mw-133">
285305
{
286-
(fileInfo.base64 || fileInfo.icon || '').length > 0 && inPlaceImg && fileInfo.base64 !== emptyFile &&
306+
(fileInfo.base64 || '').length > 0 && inPlaceImg && fileInfo.base64 !== emptyFile &&
287307
<div className={`form__form-group truncate pointer ${deleteIconClass}`} onClick={this.previewServerFile(fileContent, mimeType)} src={fileContent || iconContent}>
288308
<i className={`fa ${iconClass} fs-38 fill-fintrux`}></i>
289309
<p>{fileInfo.fileName}</p>
Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
import React, { Component } from 'react';
2+
import log from '../../helpers/logger'
3+
import CheckIcon from 'mdi-react/CheckIcon';
4+
export default class ListBox extends Component {
5+
constructor(props) {
6+
super(props);
7+
8+
const selectedValue = ((this.props.value || '').replace('(', '').replace(')', '').split(",") || []).filter(o => (o)).reduce((a, o) => { a[o] = true; return a }, {});
9+
this.state = {
10+
options: (this.props.options || []).filter(o => o.value),
11+
selectedValue: selectedValue,
12+
}
13+
}
14+
15+
hanldeCheck = (value => {
16+
return function (evt) {
17+
const curValues = { ...this.state.selectedValue };
18+
curValues[value] = !curValues[value];
19+
20+
if (typeof this.props.onChange === 'function') {
21+
this.setState({
22+
selectedValue: curValues
23+
});
24+
const revisedValues = Object.keys(curValues).filter(o => (curValues[o])).map(o => (o)).join(",");
25+
this.props.onChange(this.props.name || (this.props.field || {}).name, revisedValues);
26+
} else {
27+
this.setState({
28+
selectedValue: curValues
29+
});
30+
}
31+
32+
}.bind(this);
33+
34+
}).bind(this);
35+
36+
render() {
37+
const optionList = (this.props.options || []).filter(o => o.value);
38+
return (
39+
<div className='listboxSelection'>
40+
{optionList.map((obj, i) => (
41+
<div className='form__form-group' key={i}>
42+
<label className='checkbox-btn checkbox-btn--colored-click'>
43+
<input
44+
name={this.props.name + "_" + obj.value}
45+
value={obj.value}
46+
type="checkbox"
47+
listidx={i}
48+
keyid={obj.key}
49+
className='checkbox-btn__checkbox'
50+
disabled={obj.disabled}
51+
onClick={this.hanldeCheck(obj.value)}
52+
defaultChecked={this.state.selectedValue[obj.value]}
53+
/>
54+
<span className='checkbox-btn__checkbox-custom'><CheckIcon /></span>
55+
<span className='checkbox-btn__label'>{obj.label}</span>
56+
</label>
57+
</div>))}
58+
</div>
59+
);
60+
};
61+
};

React/Adm/src/components/custom/Screen.js

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -412,6 +412,18 @@ export default class RintagiScreen extends Component {
412412
}
413413
}
414414

415+
ListBoxChange(setFieldValue, setFieldTouched, forName, formikCurValues, dependents = []) {
416+
const _this = this;
417+
return function (name, value) {
418+
_this.FieldInFocus = name || forName;
419+
const val = value && '(' + value + ')';
420+
log.debug('List Box Change', val, name, forName)
421+
setFieldTouched(name || forName, true);
422+
setFieldValue(name || forName, val);
423+
dependents.filter(f => typeof f === "function").reduce((formikCurValues, f) => f(val, name || forName, formikCurValues), formikCurValues);
424+
}
425+
}
426+
415427
TextFocus(event) {
416428
// log.debug(event);
417429
// event.target.select();
@@ -482,6 +494,7 @@ export default class RintagiScreen extends Component {
482494
mimeType: value.mimeType,
483495
lastModified: value.lastModified,
484496
base64: value.base64.result,
497+
ts:value.ts,
485498
} : null;
486499
_this.setState({ filename: (file || {}).fileName });
487500
setFieldValue(name, file);

0 commit comments

Comments
 (0)