Commit 3b0c7a9
RSBC - Form ID Allocation (#468)
* forms-flow-rsbcservices boilerplate initial commit, IndexedDB schema definition, staticDataApi related functions
* Updated code with DBService exposed, fixed local run issues
* installed formio related packages.
* Updated the dbService code with fetchAndSaveStaticData() exposed
* added error handling
* deleted unnecessary files
* updated the README.md
* removed unnecesary codes
* cleanedup and removed unnecessary codes
* formsflow-rsbcservices initial setup and IndexedDB integration (#4)
* forms-flow-rsbcservices boilerplate initial commit, IndexedDB schema definition, staticDataApi related functions
* Updated code with DBService exposed, fixed local run issues
* installed formio related packages.
* Updated the dbService code with fetchAndSaveStaticData() exposed
* added error handling
* deleted unnecessary files
* updated the README.md
* removed unnecesary codes
* cleanedup and removed unnecessary codes
---------
Co-authored-by: divyav-aot <divyav-aot@github>
* Updated fetchAndSaveStaticData() to only fetch and save data if the table is empty
* Updated fetchAndSaveStaticData() to only fetch and save data if the table is empty (#5)
* forms-flow-rsbcservices boilerplate initial commit, IndexedDB schema definition, staticDataApi related functions
* Updated code with DBService exposed, fixed local run issues
* installed formio related packages.
* Updated the dbService code with fetchAndSaveStaticData() exposed
* added error handling
* deleted unnecessary files
* updated the README.md
* removed unnecesary codes
* cleanedup and removed unnecessary codes
* Updated fetchAndSaveStaticData() to only fetch and save data if the table is empty
---------
Co-authored-by: divyav-aot <divyav-aot@github>
* RSBCImage form.io custom component
* Remove unneeded library
* Updated the fetchAndSaveStaticData as it was not saving some of the static data
* settings for rsbc image
* Cleanup code
* Add description on RSBCImage settings
* Testing code to generate settings json
* Add fields tracker
* sample input output and settings
* Update json converter
* adding rsbcmapping json
* RSBC mapping for VI 24Hr StageTwo
* updated test data
* added test data
* rename sample test data
* update test data
* Fix code alignment. Add test data.
* adding combined file
* adding combined mapping with highlighting missing data
* Fix bug
* Update transformJson() logic
* Fix RSBCImage placeholder
* reverting package-lock.json in forms-flow-nav
* removing hardcoded ips
* removing hardcoded ips
* reverting package-lock.json in forms-flow-nav
* reverting package-lock.json in forms-flow-nav
* updating file names
* updating README.md
* cleanup code
* fix diff on package-lock.json
* Add rsbc/7.0.0 branch to GitHub Actions and update version
* Rename forms-flow-service to forms-flow-rsbcservice in GitHub Actions workflow
* change folder structure
* FOFR-35_Implementation_of_Keycloak_Token_Handling_in_Offline_Mode
NOTE:- This PR has been created for review purposes only by the forms flow product team for inputs regarding this approach and not for any merging to any branch.
Includes:- Handling token refresh while offine to avoid any page refresh which will display the "No Internet page" to the customer.
* Put div with id on images
* put div with id
* base64 work
* store svg images in this.component
* fixing html issue
* base64 png images
* Refactor code
* adding stage as a param to getBase64Images function
* fixing RSBC Image Settings default \"\" emtpy quotation issue
* updating invalid json error message
* Add print button
* Initial code on print button function
* Print preview is perfect but losing image in main window
* Extra page on print preview when 12Hour=true only
* Fully working print button
* Display Print button only in StageOne images
* emit printResponse event
* Refactored Printing Functionality
* FOFR_35_Keycloak_fix_for_offline_page_refresh
This checkin removes some redundant comments on the new code and also the commented earlier code.
* FOFR-35_keycloak_offline_issue_fix
Removes a comment inside the code
* adding print confirmation dialog
* Bug fix: images is gone when cancel button of the print confirmation dialog is clicked
* Dont allow multiple instances of confirmation dialog box
* Cleanup codes
* Cleanup codes
* Add descriptions on each functions
* Update README.md
* Optimize getTransformedInputData() function
* Put div with id on images
* put div with id
* base64 work
* store svg images in this.component
* fixing html issue
* base64 png images
* Refactor code
* adding stage as a param to getBase64Images function
* fixing RSBC Image Settings default \"\" emtpy quotation issue
* updating invalid json error message
* Add print button
* Initial code on print button function
* Print preview is perfect but losing image in main window
* Extra page on print preview when 12Hour=true only
* Fully working print button
* Display Print button only in StageOne images
* emit printResponse event
* Refactored Printing Functionality
* adding print confirmation dialog
* Bug fix: images is gone when cancel button of the print confirmation dialog is clicked
* Dont allow multiple instances of confirmation dialog box
* Cleanup codes
* Cleanup codes
* Add descriptions on each functions
* Update README.md
* Optimize getTransformedInputData() function
* Address sonarqube issues
* Fix sonarqube issues
* Fix sonarqube issues
* fixing issue 21 - member is never reassigned
* fixing fill tag is not allowed issue
* updating as -> AS to fix sonar issue
* Fix sonarqube issues
* Fix sonarqube issues
* Address sonarqube issues
* Fix sonarqube issues
* Add .dockerignore
* Fix sonarqube issues
* Fix sonarqube issues
* Fix sonarqube issues
* Restore Dockerfile
* Allow png and woff files to be uploaded to S3
* Form Definition, Draft and Submission changes related to offline (#12)
* added FF related tables to indexedDB and corresponding functions
* fixed reference error
* initial commit: offline submission table changes
* added null check for submissions and formData
* updated and add functions for offline use
* Split and refactor dbService.ts
* Refactored, seperated out the RSBC and FF related tables
* optimized the db service related codes
* added index for the offlineSubmissions table, updated the code to fetch individualSubmission
* fixed error related to DBService
* formdefinition changes: initial commit
* merge changes from rsbc/7.0.0
* refactored and fixed issues related to helper and DB services
* updated README.md with new features
---------
Co-authored-by: divyav-aot <divyav-aot@github>
* Remove comment
* brought the function comment back
* adding functions for formIds
* replaced math.Random() with crypto.getRandomValues to fix the security issue
* files removed
* removed commented lines to fix sonar cloud issues
* changes to align with rsbc/7.0.0
* cleanup
* addressing pr comments
* updating const names
* resolving pr issue
* updating indexes
* updating VERSION file
---------
Co-authored-by: divyav-aot <divyav-aot@github>
Co-authored-by: Divya Viswanath <79858022+divyav-aot@users.noreply.github.com>
Co-authored-by: aurelio-aot <aurelio.pascual.jr@gmail.com>
Co-authored-by: jimin-aot <jimin.byun@aot-technologies.com>
Co-authored-by: sandeep-aot <89100322+sandeep-aot@users.noreply.github.com>
Co-authored-by: Jimin Byun <148512774+jimin-aot@users.noreply.github.com>
Co-authored-by: aurelio-aot <97022120+aurelio-aot@users.noreply.github.com>
Co-authored-by: isuru <isuru.gnw@gmail.com>1 parent 7000857 commit 3b0c7a9
File tree
8 files changed
+255
-5
lines changed- forms-flow-rsbcservice/src
- constants
- endpoints
- request
- storage
8 files changed
+255
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
| 33 | + | |
32 | 34 | | |
33 | 35 | | |
34 | 36 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 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 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
5 | 7 | | |
6 | 8 | | |
7 | 9 | | |
| |||
206 | 208 | | |
207 | 209 | | |
208 | 210 | | |
209 | | - | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
210 | 321 | | |
211 | 322 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
| 9 | + | |
8 | 10 | | |
9 | 11 | | |
10 | 12 | | |
| |||
211 | 213 | | |
212 | 214 | | |
213 | 215 | | |
214 | | - | |
215 | | - | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
216 | 320 | | |
217 | 321 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
86 | 90 | | |
87 | 91 | | |
88 | 92 | | |
| |||
142 | 146 | | |
143 | 147 | | |
144 | 148 | | |
145 | | - | |
| 149 | + | |
146 | 150 | | |
147 | 151 | | |
148 | 152 | | |
| |||
0 commit comments