Skip to content

4.8.20 dev v6 - #661

Open
Rajnikanth31 wants to merge 824 commits into
sunbird-cb:mainfrom
KB-iGOT:4.8.20-dev-v6
Open

4.8.20 dev v6#661
Rajnikanth31 wants to merge 824 commits into
sunbird-cb:mainfrom
KB-iGOT:4.8.20-dev-v6

Conversation

@Rajnikanth31

@Rajnikanth31 Rajnikanth31 commented Dec 13, 2024

Copy link
Copy Markdown

Mahesh has requested a new dev branch with the name cbrelease-4.8.20.

saipradeep_ravipati and others added 30 commits February 7, 2024 15:18
Added restriction cond for count as well
Condition in the Karma Count Fetch
* Karma Points History Sorting by Credit Date Asc

* Changed from Asc to Desc Karma Points Pagination

* reverted un-wanted commits

* src/main/java/org/sunbird/cassandra/utils/CassandraOperationImpl.java

* Karma Points to ristrict from Dec

* Added restriction cond for count as well

* Condition in the Karma Count Fetch

* Ehrms Changes

* enabled async mail sending (#444)

* Operational Report Flow Structure added

* Change in end point url for e-HRMS

* Digi locker integration (#445)

* Add API for DigiLocker Integration

* Add Config changes for DigiLocker Integration

* Added the userEnrollment API changes

* Updated for docType

* Updated for application.properties

* Code Review changes

* Code Review changes for V1

* Added the issuerId

* Updated the error Logs

* E-Hrms Token Generation Error Fix

---------

Co-authored-by: saipradeep_ravipati <[email protected]>
Co-authored-by: SaipradeepR <[email protected]>
Co-authored-by: dkttarento <[email protected]>
Co-authored-by: ravisaurav-tarento <[email protected]>
Co-authored-by: Sahil-tarento <[email protected]>
* KCM Report added (#451)

* Report changes (#454)
* src/main/java/org/sunbird/cassandra/utils/CassandraOperationImpl.java

* Karma Points to ristrict from Dec

* Added restriction cond for count as well

* Condition in the Karma Count Fetch

* Applying changes of E-HRMS module on hotfix (#452) (#453)

Co-authored-by: dkttarento <[email protected]>

* API for wheebox (#468)

Co-authored-by: saipradeep_ravipati <[email protected]>

---------

Co-authored-by: saipradeep_ravipati <[email protected]>
Co-authored-by: dkttarento <[email protected]>
…tected zip report (#458)

* KB-2485 - BE | Dev | Create a new API for downloading a password-protected zip report

1. Implemented the code to download the zip file from s3 to server.
2. Unzip the zip file with the password and zip with the new password.
3. Download the file  to the local using INputstreaming.

* KB-2485 - BE | Dev | Create a new API for downloading a password-protected zip report

dependency added

* KB-2485 |  BE | Dev | Create a new API for downloading a password-protected zip report

Added logs to analyse the code

* KB-2485 | BE | Dev | Create a new API for downloading a password-protected zip report

1. Added logs

* KB-2485 | BE | Dev | Create a new API for downloading a password-protected zip report

Added logs

* KB-2485 | BE | Dev | Create a new API for downloading a password-protected zip report

Added logs

* KB-2485 - BE | Dev | Create a new API for downloading a password-protected zip report

Added the Storage service initiailizer

* KB-2485 - BE | Dev | Create a new API for downloading a password-protected zip report

Code Clean Up

* KB-2485 - BE | Dev | Create a new API for downloading a password-protected zip report

Code Review Comments

* KB-2485 - BE | Dev | Create a new API for downloading a password-protected zip report

1. Commented the removeDIrectory functionality.

* KB-2485 - BE | Dev | Create a new API for downloading a password-protected zip report

1. Uncommented code.
* Karma Points History Sorting by Credit Date Asc

* Changed from Asc to Desc Karma Points Pagination

* reverted un-wanted commits

* Ehrms Changes

* Operational Report Flow Structure added

* Change in end point url for e-HRMS

* Logger added in e-HRMS

* Added logger on e-HRMS

* Operation report grant access API

* Grant access API -removed generic Exception

* Added constant for Grant Access API

* Refactor constant,exception as per sonar conflict for grant access API

* Grant access API conflicts resolved

* resolved conflicts

---------

Co-authored-by: saipradeep_ravipati <[email protected]>
* DigiLocker Update response and request

* Update the metaData changes

* DigiLocker API update for Certificate MetaData
* Adding the sorting logic for v2 explore API

* Adding the sorted Logic for v2
vikrantbipin and others added 29 commits November 12, 2024 18:09
* "Implemented BP report with or without surveyId and Enhanced the code"

* "BP Report corrected email filed key"

* "BP Report code enhancement and exception handling"

* "BP Report bug fix"

* "BP Report bug fix"

* "BP Report bug fix"

* Revert ""BP Report bug fix""

This reverts commit 8c07dd1.

* "BP Report bug fix"

* "BP Report : Bug Fix( Added logic to show all fields to MDO_ADMIN and custom fields to PC"

* "BP Report : Bug Fix( Added logic to show all fields to MDO_ADMIN and custom fields to PC"

* "BP Report : Bug Fix( Added logic to show all fields to MDO_ADMIN and custom fields to PC"

* "BP Report : Bug Fix( Added logic to show all fields to MDO_ADMIN and custom fields to PC"
…e certificate for user consumed more than 4 hours and also added certificate reissue"
Modified Physical Event certificate issue feature to support generate certificate for user consumed more than 4 hours and also added certificate reissue
* 4.8.18 dev v5 (#146)

* commiting for file uploading and downloading cios logs (#142)

* commiting for file uploading and downloading cios logs

* commiting for deleting temp file directly in download api.

* "Resolved Security Hotspots by adding proper logging" (#145)

* "Resolved Security Hotspots by adding proper logging"

* "Resolved bugs raised by SonarQube"

* "Resolved bugs raised by SonarQube"

---------

Co-authored-by: pathiktarento1089 <[email protected]>
Co-authored-by: vikrantbipin <[email protected]>

* 4.8.18 merged (#148)

* 4.8.17 dev v5 (#44)

* KB-6678 - if assessment is submitted without selecting any option then same questions are repeating in each attempt (in question weightage)

1. Getting NaN if both correct and incorrect are 0 , So added a check.

* added api for to show V6 competencies (#40)

* added api for to show V6 competencies

* worked on code review comments

* worked on code review comments

* Update application.properties removed spaces between the values

---------

Co-authored-by: anilkumar <[email protected]>

---------

Co-authored-by: SaipradeepR <[email protected]>
Co-authored-by: tarentomaheshvakkund <[email protected]>
Co-authored-by: anilkumarkammalapalli <[email protected]>
Co-authored-by: anilkumar <[email protected]>

* public link generation and calling email sending api

* public link generation and calling email sending api (#112)

* convertToPng code added

* png and email encryption method added (#114)

* public link generation and calling email sending api

* convertToPng code added

* pull from upstream

* Cbrelease 4.8.17 (#115)

* public link generation and calling email sending api

* convertToPng code added

* pull from upstream

* svg issue resolved

* svg issue resolved (#118)

* public link generation and calling email sending api

* convertToPng code added

* pull from upstream

* svg issue resolved

* 4.8.17 report fix (#107)

* Adding impl for report download (#101)

* 4.8.17 mdo report fix (#105)

* Adding impl for report download

* Adding impl for report download

* Adding impl for report download (#106)

* upload issue resolved

* Cbrelease 4.8.17 (#119)

* public link generation and calling email sending api

* convertToPng code added

* pull from upstream

* svg issue resolved

* upload issue resolved

* certificateId hardCode removed

* CertificateId hard code removed (#120)

* public link generation and calling email sending api

* convertToPng code added

* pull from upstream

* svg issue resolved

* upload issue resolved

* certificateId hardCode removed

* producer code added

* producer code added

* MAde the impl changes for pdf generator (#122)

* Remove unused impl and adding null check (#123)

* Remove unused impl and update the check (#124)

* Remove unused impl (#125)

* Update the property (#126)

* Adding the impl changes for pdf issue (#127)

* Added the check for the kafka event process

* Integerating content progress update along with assessment submit API - KAR-788 (#129) (#133)

Co-authored-by: sreerag-tarento <[email protected]>

* Integerating content progress API with all v4,v5 & v6 version of assessment submit API - KAR-788 (#135) (#139)

* Integerating content progress update along with assessment submit API - KAR-788

* Integerating content progress APi with all v4,v5 & v6 version of assessment submit API

Co-authored-by: sreerag-tarento <[email protected]>

* Fixed build issues

* Creating v2 API to fetch l1, l2 child from postgres (#147)

---------

Co-authored-by: Karthikeyan Rajendran <[email protected]>
Co-authored-by: SaipradeepR <[email protected]>
Co-authored-by: tarentomaheshvakkund <[email protected]>
Co-authored-by: anilkumarkammalapalli <[email protected]>
Co-authored-by: anilkumar <[email protected]>
Co-authored-by: arpithasureshappa <[email protected]>
Co-authored-by: Sharath Prasad <[email protected]>
Co-authored-by: sreerag-tarento <[email protected]>
Co-authored-by: karthik-tarento <[email protected]>

* For ticket https://karmayogibharat.atlassian.net/browse/KAR-818 (#149)

* 4.8.18 merged v1 (#151)

* 4.8.17 dev v5 (#44)

* KB-6678 - if assessment is submitted without selecting any option then same questions are repeating in each attempt (in question weightage)

1. Getting NaN if both correct and incorrect are 0 , So added a check.

* added api for to show V6 competencies (#40)

* added api for to show V6 competencies

* worked on code review comments

* worked on code review comments

* Update application.properties removed spaces between the values

---------

Co-authored-by: anilkumar <[email protected]>

---------

Co-authored-by: SaipradeepR <[email protected]>
Co-authored-by: tarentomaheshvakkund <[email protected]>
Co-authored-by: anilkumarkammalapalli <[email protected]>
Co-authored-by: anilkumar <[email protected]>

* public link generation and calling email sending api

* public link generation and calling email sending api (#112)

* convertToPng code added

* png and email encryption method added (#114)

* public link generation and calling email sending api

* convertToPng code added

* pull from upstream

* Cbrelease 4.8.17 (#115)

* public link generation and calling email sending api

* convertToPng code added

* pull from upstream

* svg issue resolved

* svg issue resolved (#118)

* public link generation and calling email sending api

* convertToPng code added

* pull from upstream

* svg issue resolved

* 4.8.17 report fix (#107)

* Adding impl for report download (#101)

* 4.8.17 mdo report fix (#105)

* Adding impl for report download

* Adding impl for report download

* Adding impl for report download (#106)

* upload issue resolved

* Cbrelease 4.8.17 (#119)

* public link generation and calling email sending api

* convertToPng code added

* pull from upstream

* svg issue resolved

* upload issue resolved

* certificateId hardCode removed

* CertificateId hard code removed (#120)

* public link generation and calling email sending api

* convertToPng code added

* pull from upstream

* svg issue resolved

* upload issue resolved

* certificateId hardCode removed

* producer code added

* producer code added

* MAde the impl changes for pdf generator (#122)

* Remove unused impl and adding null check (#123)

* Remove unused impl and update the check (#124)

* Remove unused impl (#125)

* Update the property (#126)

* Adding the impl changes for pdf issue (#127)

* Added the check for the kafka event process

* Integerating content progress update along with assessment submit API - KAR-788 (#129) (#133)

Co-authored-by: sreerag-tarento <[email protected]>

* Integerating content progress API with all v4,v5 & v6 version of assessment submit API - KAR-788 (#135) (#139)

* Integerating content progress update along with assessment submit API - KAR-788

* Integerating content progress APi with all v4,v5 & v6 version of assessment submit API

Co-authored-by: sreerag-tarento <[email protected]>

* Fixed build issues

* Creating v2 API to fetch l1, l2 child from postgres (#147)

* Adding the check for childrenId's (#150)

---------

Co-authored-by: Karthikeyan Rajendran <[email protected]>
Co-authored-by: SaipradeepR <[email protected]>
Co-authored-by: tarentomaheshvakkund <[email protected]>
Co-authored-by: anilkumarkammalapalli <[email protected]>
Co-authored-by: anilkumar <[email protected]>
Co-authored-by: arpithasureshappa <[email protected]>
Co-authored-by: Sharath Prasad <[email protected]>
Co-authored-by: sreerag-tarento <[email protected]>
Co-authored-by: karthik-tarento <[email protected]>

* 4.8.18 fix bulk upload (#153)

* Doing the impl changes for User Bulk Upload csv Impl

* Doing the impl changes for User Bulk Upload csv Impl

* Update HallOfFameServiceImpl.java

Added "XS" to National Learning Week

* 4.8.18 dev (#155)

* "Public User Event Bulk Onboard Feature" (#152)

* "Public user event bulk onboard - Bug Fix" (#154)

* "Public user event bulk onboard - Bug Fix"

* Review changes

---------

Co-authored-by: vikrantbipin <[email protected]>
Co-authored-by: sreerag-tarento <[email protected]>

* Added default status,progress and comletion percentage for public event bulk onboard (#156)

* "Public User Event Bulk Onboard Feature"

* "Public User Event Bulk Onboard Feature-bug fix"

* "Added default status,progress and comletion percentage for public event bulk onboard"

* "Added default status,progress and comletion percentage for public event bulk onboard"

* PublicUserEventBulkOnboard: Added claim event karma points, fixed bugs and enhanced code (#157)

* "Public User Event Bulk Onboard Feature"

* "Public User Event Bulk Onboard Feature-bug fix"

* "Added default status,progress and comletion percentage for public event bulk onboard"

* "Added default status,progress and comletion percentage for public event bulk onboard"

* "PublicUserEventBulkOnboard:Added claim event karma points, fixed bugs and enhanced code"

* "Commented karma points event triggering because  Karma points are generated inside event-cert generator flink job"

* Claim karma point event and corrected ets time (#158)

* "Public User Event Bulk Onboard Feature"

* "Public User Event Bulk Onboard Feature-bug fix"

* "Added default status,progress and comletion percentage for public event bulk onboard"

* "Added default status,progress and comletion percentage for public event bulk onboard"

* "PublicUserEventBulkOnboard:Added claim event karma points, fixed bugs and enhanced code"

* "Commented karma points event triggering because  Karma points are generated inside event-cert generator flink job"

* "Claim karma point event and corrected ets time"

* LearnerLeaderBoard API returning empty when no data instead of not-found (#159)

* added lrc_progressdetails for offline event enrolment (#160)

* "Public User Event Bulk Onboard Feature"

* "Public User Event Bulk Onboard Feature-bug fix"

* "Added default status,progress and comletion percentage for public event bulk onboard"

* "Added default status,progress and comletion percentage for public event bulk onboard"

* "PublicUserEventBulkOnboard:Added claim event karma points, fixed bugs and enhanced code"

* "Commented karma points event triggering because  Karma points are generated inside event-cert generator flink job"

* "Claim karma point event and corrected ets time"

* "added lrc_progressdetails"

* Fixed class cast exception for event duration (#162)

* "Public User Event Bulk Onboard Feature"

* "Public User Event Bulk Onboard Feature-bug fix"

* "Added default status,progress and comletion percentage for public event bulk onboard"

* "Added default status,progress and comletion percentage for public event bulk onboard"

* "PublicUserEventBulkOnboard:Added claim event karma points, fixed bugs and enhanced code"

* "Commented karma points event triggering because  Karma points are generated inside event-cert generator flink job"

* "Claim karma point event and corrected ets time"

* "added lrc_progressdetails"

* "Fixed class cast exception for event duration"

* Corrected karma point event format (#163)

* "Public User Event Bulk Onboard Feature"

* "Public User Event Bulk Onboard Feature-bug fix"

* "Added default status,progress and comletion percentage for public event bulk onboard"

* "Added default status,progress and comletion percentage for public event bulk onboard"

* "PublicUserEventBulkOnboard:Added claim event karma points, fixed bugs and enhanced code"

* "Commented karma points event triggering because  Karma points are generated inside event-cert generator flink job"

* "Claim karma point event and corrected ets time"

* "added lrc_progressdetails"

* "Fixed class cast exception for event duration"

* "Corrected karma point event format"

* Added validation for invalid event details (#165)

* "Public User Event Bulk Onboard Feature"

* "Public User Event Bulk Onboard Feature-bug fix"

* "Added default status,progress and comletion percentage for public event bulk onboard"

* "Added default status,progress and comletion percentage for public event bulk onboard"

* "PublicUserEventBulkOnboard:Added claim event karma points, fixed bugs and enhanced code"

* "Commented karma points event triggering because  Karma points are generated inside event-cert generator flink job"

* "Claim karma point event and corrected ets time"

* "added lrc_progressdetails"

* "Fixed class cast exception for event duration"

* "Corrected karma point event format"

* "Added validation for invalid event details"

* Added condition to update the existing enrollment and trigger the kafka event (#166)

* "Public User Event Bulk Onboard Feature"

* "Public User Event Bulk Onboard Feature-bug fix"

* "Added default status,progress and comletion percentage for public event bulk onboard"

* "Added default status,progress and comletion percentage for public event bulk onboard"

* "PublicUserEventBulkOnboard:Added claim event karma points, fixed bugs and enhanced code"

* "Commented karma points event triggering because  Karma points are generated inside event-cert generator flink job"

* "Claim karma point event and corrected ets time"

* "added lrc_progressdetails"

* "Fixed class cast exception for event duration"

* "Corrected karma point event format"

* "Added validation for invalid event details"

* "Added condition to update the enrollment and trigger the kafka event"

* 4.8.18 dev v8 (#169)

* Events to be generated based on the data recieved in CSV File. (#161)

* LearnerLeaderBoard API returning empty when no data instead of not-found

* Events to be generated based on the data recieved in CSV File.

1. If the user have consumed the event more than 180 seconds we need to generate the event  for karma points and certificate generation.
2. Input would be csv file.

---------

Co-authored-by: karthik-tarento <[email protected]>

* worked on user event consumption (#164)

* worked on user event consumption

* worked on code review comments

---------

Co-authored-by: anilkumar <[email protected]>

* removed date from csv (#168)

Co-authored-by: anilkumar <[email protected]>

---------

Co-authored-by: tarentomaheshvakkund <[email protected]>
Co-authored-by: anilkumarkammalapalli <[email protected]>
Co-authored-by: anilkumar <[email protected]>

* Added comments for user event enrolment updates

* User event enrolment: fixed typo in event message

* Fix for updating completedOn column value

* Created new APIs to fetch status of offline event bulkonboard and download the processed csv file (#170)

* "Public User Event Bulk Onboard Feature"

* "Public User Event Bulk Onboard Feature-bug fix"

* "Added default status,progress and comletion percentage for public event bulk onboard"

* "Added default status,progress and comletion percentage for public event bulk onboard"

* "PublicUserEventBulkOnboard:Added claim event karma points, fixed bugs and enhanced code"

* "Commented karma points event triggering because  Karma points are generated inside event-cert generator flink job"

* "Claim karma point event and corrected ets time"

* "added lrc_progressdetails"

* "Fixed class cast exception for event duration"

* "Corrected karma point event format"

* "Added validation for invalid event details"

* "Added condition to update the enrollment and trigger the kafka event"

* "Created new APIs to fetch status of offline event bulkonboard and download the processed csv file"

* Updated logic for event cert generation script

* Handling invalid records

* Reading event duration from event_batch table

* Added max_size while updating record

* Handling completed user event enrolment in script

* Added condition to skip status 0

* Added parsing for edge cases

* Added API to update event enrolment status value

* Updated code to check issueCertificates

* Updated code to check issueCertificates

* Updated code to check issueCertificates

* "Public user event bulkonboard-> Added logic to reissue the certificate if already exist"

* "Modified Physical Event certificate issue feature to support generate certificate for user consumed more than 4 hours"

* "Modified Physical Event certificate issue feature to support generate certificate for user consumed more than 4 hours"

* "Modified Physical Event certificate issue feature to support generate certificate for user consumed more than 4 hours"

* "Modified Physical Event certificate issue feature to support generate certificate for user consumed more than 4 hours and also added certificate reissue"

* "Modified Physical Event certificate issue feature to support generate certificate for user consumed more than 4 hours and also added certificate reissue"

* Removed unnecessary changes

---------

Co-authored-by: pathiktarento1089 <[email protected]>
Co-authored-by: vikrantbipin <[email protected]>
Co-authored-by: Sahil-tarento <[email protected]>
Co-authored-by: SaipradeepR <[email protected]>
Co-authored-by: tarentomaheshvakkund <[email protected]>
Co-authored-by: anilkumarkammalapalli <[email protected]>
Co-authored-by: anilkumar <[email protected]>
Co-authored-by: arpithasureshappa <[email protected]>
Co-authored-by: Sharath Prasad <[email protected]>
Co-authored-by: sreerag-tarento <[email protected]>
Co-authored-by: sureshece16 <[email protected]>
Co-authored-by: vikrantsingh <[email protected]>
* KB-7297 | DEV | BE | Self Registration | QR Code generation and registration link generation. (#183)

* 4.8.19 fix org designation (#173)

* Cbrelease 4.8.18 (#171)

* 4.8.18 dev v5 (#146)

* commiting for file uploading and downloading cios logs (#142)

* commiting for file uploading and downloading cios logs

* commiting for deleting temp file directly in download api.

* "Resolved Security Hotspots by adding proper logging" (#145)

* "Resolved Security Hotspots by adding proper logging"

* "Resolved bugs raised by SonarQube"

* "Resolved bugs raised by SonarQube"

---------

Co-authored-by: pathiktarento1089 <[email protected]>
Co-authored-by: vikrantbipin <[email protected]>

* 4.8.18 merged (#148)

* 4.8.17 dev v5 (#44)

* KB-6678 - if assessment is submitted without selecting any option then same questions are repeating in each attempt (in question weightage)

1. Getting NaN if both correct and incorrect are 0 , So added a check.

* added api for to show V6 competencies (#40)

* added api for to show V6 competencies

* worked on code review comments

* worked on code review comments

* Update application.properties removed spaces between the values

---------

Co-authored-by: anilkumar <[email protected]>

---------

Co-authored-by: SaipradeepR <[email protected]>
Co-authored-by: tarentomaheshvakkund <[email protected]>
Co-authored-by: anilkumarkammalapalli <[email protected]>
Co-authored-by: anilkumar <[email protected]>

* public link generation and calling email sending api

* public link generation and calling email sending api (#112)

* convertToPng code added

* png and email encryption method added (#114)

* public link generation and calling email sending api

* convertToPng code added

* pull from upstream

* Cbrelease 4.8.17 (#115)

* public link generation and calling email sending api

* convertToPng code added

* pull from upstream

* svg issue resolved

* svg issue resolved (#118)

* public link generation and calling email sending api

* convertToPng code added

* pull from upstream

* svg issue resolved

* 4.8.17 report fix (#107)

* Adding impl for report download (#101)

* 4.8.17 mdo report fix (#105)

* Adding impl for report download

* Adding impl for report download

* Adding impl for report download (#106)

* upload issue resolved

* Cbrelease 4.8.17 (#119)

* public link generation and calling email sending api

* convertToPng code added

* pull from upstream

* svg issue resolved

* upload issue resolved

* certificateId hardCode removed

* CertificateId hard code removed (#120)

* public link generation and calling email sending api

* convertToPng code added

* pull from upstream

* svg issue resolved

* upload issue resolved

* certificateId hardCode removed

* producer code added

* producer code added

* MAde the impl changes for pdf generator (#122)

* Remove unused impl and adding null check (#123)

* Remove unused impl and update the check (#124)

* Remove unused impl (#125)

* Update the property (#126)

* Adding the impl changes for pdf issue (#127)

* Added the check for the kafka event process

* Integerating content progress update along with assessment submit API - KAR-788 (#129) (#133)

Co-authored-by: sreerag-tarento <[email protected]>

* Integerating content progress API with all v4,v5 & v6 version of assessment submit API - KAR-788 (#135) (#139)

* Integerating content progress update along with assessment submit API - KAR-788

* Integerating content progress APi with all v4,v5 & v6 version of assessment submit API

Co-authored-by: sreerag-tarento <[email protected]>

* Fixed build issues

* Creating v2 API to fetch l1, l2 child from postgres (#147)

---------

Co-authored-by: Karthikeyan Rajendran <[email protected]>
Co-authored-by: SaipradeepR <[email protected]>
Co-authored-by: tarentomaheshvakkund <[email protected]>
Co-authored-by: anilkumarkammalapalli <[email protected]>
Co-authored-by: anilkumar <[email protected]>
Co-authored-by: arpithasureshappa <[email protected]>
Co-authored-by: Sharath Prasad <[email protected]>
Co-authored-by: sreerag-tarento <[email protected]>
Co-authored-by: karthik-tarento <[email protected]>

* For ticket https://karmayogibharat.atlassian.net/browse/KAR-818 (#149)

* 4.8.18 merged v1 (#151)

* 4.8.17 dev v5 (#44)

* KB-6678 - if assessment is submitted without selecting any option then same questions are repeating in each attempt (in question weightage)

1. Getting NaN if both correct and incorrect are 0 , So added a check.

* added api for to show V6 competencies (#40)

* added api for to show V6 competencies

* worked on code review comments

* worked on code review comments

* Update application.properties removed spaces between the values

---------

Co-authored-by: anilkumar <[email protected]>

---------

Co-authored-by: SaipradeepR <[email protected]>
Co-authored-by: tarentomaheshvakkund <[email protected]>
Co-authored-by: anilkumarkammalapalli <[email protected]>
Co-authored-by: anilkumar <[email protected]>

* public link generation and calling email sending api

* public link generation and calling email sending api (#112)

* convertToPng code added

* png and email encryption method added (#114)

* public link generation and calling email sending api

* convertToPng code added

* pull from upstream

* Cbrelease 4.8.17 (#115)

* public link generation and calling email sending api

* convertToPng code added

* pull from upstream

* svg issue resolved

* svg issue resolved (#118)

* public link generation and calling email sending api

* convertToPng code added

* pull from upstream

* svg issue resolved

* 4.8.17 report fix (#107)

* Adding impl for report download (#101)

* 4.8.17 mdo report fix (#105)

* Adding impl for report download

* Adding impl for report download

* Adding impl for report download (#106)

* upload issue resolved

* Cbrelease 4.8.17 (#119)

* public link generation and calling email sending api

* convertToPng code added

* pull from upstream

* svg issue resolved

* upload issue resolved

* certificateId hardCode removed

* CertificateId hard code removed (#120)

* public link generation and calling email sending api

* convertToPng code added

* pull from upstream

* svg issue resolved

* upload issue resolved

* certificateId hardCode removed

* producer code added

* producer code added

* MAde the impl changes for pdf generator (#122)

* Remove unused impl and adding null check (#123)

* Remove unused impl and update the check (#124)

* Remove unused impl (#125)

* Update the property (#126)

* Adding the impl changes for pdf issue (#127)

* Added the check for the kafka event process

* Integerating content progress update along with assessment submit API - KAR-788 (#129) (#133)

Co-authored-by: sreerag-tarento <[email protected]>

* Integerating content progress API with all v4,v5 & v6 version of assessment submit API - KAR-788 (#135) (#139)

* Integerating content progress update along with assessment submit API - KAR-788

* Integerating content progress APi with all v4,v5 & v6 version of assessment submit API

Co-authored-by: sreerag-tarento <[email protected]>

* Fixed build issues

* Creating v2 API to fetch l1, l2 child from postgres (#147)

* Adding the check for childrenId's (#150)

---------

Co-authored-by: Karthikeyan Rajendran <[email protected]>
Co-authored-by: SaipradeepR <[email protected]>
Co-authored-by: tarentomaheshvakkund <[email protected]>
Co-authored-by: anilkumarkammalapalli <[email protected]>
Co-authored-by: anilkumar <[email protected]>
Co-authored-by: arpithasureshappa <[email protected]>
Co-authored-by: Sharath Prasad <[email protected]>
Co-authored-by: sreerag-tarento <[email protected]>
Co-authored-by: karthik-tarento <[email protected]>

* 4.8.18 fix bulk upload (#153)

* Doing the impl changes for User Bulk Upload csv Impl

* Doing the impl changes for User Bulk Upload csv Impl

* Update HallOfFameServiceImpl.java

Added "XS" to National Learning Week

* 4.8.18 dev (#155)

* "Public User Event Bulk Onboard Feature" (#152)

* "Public user event bulk onboard - Bug Fix" (#154)

* "Public user event bulk onboard - Bug Fix"

* Review changes

---------

Co-authored-by: vikrantbipin <[email protected]>
Co-authored-by: sreerag-tarento <[email protected]>

* Added default status,progress and comletion percentage for public event bulk onboard (#156)

* "Public User Event Bulk Onboard Feature"

* "Public User Event Bulk Onboard Feature-bug fix"

* "Added default status,progress and comletion percentage for public event bulk onboard"

* "Added default status,progress and comletion percentage for public event bulk onboard"

* PublicUserEventBulkOnboard: Added claim event karma points, fixed bugs and enhanced code (#157)

* "Public User Event Bulk Onboard Feature"

* "Public User Event Bulk Onboard Feature-bug fix"

* "Added default status,progress and comletion percentage for public event bulk onboard"

* "Added default status,progress and comletion percentage for public event bulk onboard"

* "PublicUserEventBulkOnboard:Added claim event karma points, fixed bugs and enhanced code"

* "Commented karma points event triggering because  Karma points are generated inside event-cert generator flink job"

* Claim karma point event and corrected ets time (#158)

* "Public User Event Bulk Onboard Feature"

* "Public User Event Bulk Onboard Feature-bug fix"

* "Added default status,progress and comletion percentage for public event bulk onboard"

* "Added default status,progress and comletion percentage for public event bulk onboard"

* "PublicUserEventBulkOnboard:Added claim event karma points, fixed bugs and enhanced code"

* "Commented karma points event triggering because  Karma points are generated inside event-cert generator flink job"

* "Claim karma point event and corrected ets time"

* LearnerLeaderBoard API returning empty when no data instead of not-found (#159)

* added lrc_progressdetails for offline event enrolment (#160)

* "Public User Event Bulk Onboard Feature"

* "Public User Event Bulk Onboard Feature-bug fix"

* "Added default status,progress and comletion percentage for public event bulk onboard"

* "Added default status,progress and comletion percentage for public event bulk onboard"

* "PublicUserEventBulkOnboard:Added claim event karma points, fixed bugs and enhanced code"

* "Commented karma points event triggering because  Karma points are generated inside event-cert generator flink job"

* "Claim karma point event and corrected ets time"

* "added lrc_progressdetails"

* Fixed class cast exception for event duration (#162)

* "Public User Event Bulk Onboard Feature"

* "Public User Event Bulk Onboard Feature-bug fix"

* "Added default status,progress and comletion percentage for public event bulk onboard"

* "Added default status,progress and comletion percentage for public event bulk onboard"

* "PublicUserEventBulkOnboard:Added claim event karma points, fixed bugs and enhanced code"

* "Commented karma points event triggering because  Karma points are generated inside event-cert generator flink job"

* "Claim karma point event and corrected ets time"

* "added lrc_progressdetails"

* "Fixed class cast exception for event duration"

* Corrected karma point event format (#163)

* "Public User Event Bulk Onboard Feature"

* "Public User Event Bulk Onboard Feature-bug fix"

* "Added default status,progress and comletion percentage for public event bulk onboard"

* "Added default status,progress and comletion percentage for public event bulk onboard"

* "PublicUserEventBulkOnboard:Added claim event karma points, fixed bugs and enhanced code"

* "Commented karma points event triggering because  Karma points are generated inside event-cert generator flink job"

* "Claim karma point event and corrected ets time"

* "added lrc_progressdetails"

* "Fixed class cast exception for event duration"

* "Corrected karma point event format"

* Added validation for invalid event details (#165)

* "Public User Event Bulk Onboard Feature"

* "Public User Event Bulk Onboard Feature-bug fix"

* "Added default status,progress and comletion percentage for public event bulk onboard"

* "Added default status,progress and comletion percentage for public event bulk onboard"

* "PublicUserEventBulkOnboard:Added claim event karma points, fixed bugs and enhanced code"

* "Commented karma points event triggering because  Karma points are generated inside event-cert generator flink job"

* "Claim karma point event and corrected ets time"

* "added lrc_progressdetails"

* "Fixed class cast exception for event duration"

* "Corrected karma point event format"

* "Added validation for invalid event details"

* Added condition to update the existing enrollment and trigger the kafka event (#166)

* "Public User Event Bulk Onboard Feature"

* "Public User Event Bulk Onboard Feature-bug fix"

* "Added default status,progress and comletion percentage for public event bulk onboard"

* "Added default status,progress and comletion percentage for public event bulk onboard"

* "PublicUserEventBulkOnboard:Added claim event karma points, fixed bugs and enhanced code"

* "Commented karma points event triggering because  Karma points are generated inside event-cert generator flink job"

* "Claim karma point event and corrected ets time"

* "added lrc_progressdetails"

* "Fixed class cast exception for event duration"

* "Corrected karma point event format"

* "Added validation for invalid event details"

* "Added condition to update the enrollment and trigger the kafka event"

* 4.8.18 dev v8 (#169)

* Events to be generated based on the data recieved in CSV File. (#161)

* LearnerLeaderBoard API returning empty when no data instead of not-found

* Events to be generated based on the data recieved in CSV File.

1. If the user have consumed the event more than 180 seconds we need to generate the event  for karma points and certificate generation.
2. Input would be csv file.

---------

Co-authored-by: karthik-tarento <[email protected]>

* worked on user event consumption (#164)

* worked on user event consumption

* worked on code review comments

---------

Co-authored-by: anilkumar <[email protected]>

* removed date from csv (#168)

Co-authored-by: anilkumar <[email protected]>

---------

Co-authored-by: tarentomaheshvakkund <[email protected]>
Co-authored-by: anilkumarkammalapalli <[email protected]>
Co-authored-by: anilkumar <[email protected]>

* Added comments for user event enrolment updates

* User event enrolment: fixed typo in event message

* Fix for updating completedOn column value

* Created new APIs to fetch status of offline event bulkonboard and download the processed csv file (#170)

* "Public User Event Bulk Onboard Feature"

* "Public User Event Bulk Onboard Feature-bug fix"

* "Added default status,progress and comletion percentage for public event bulk onboard"

* "Added default status,progress and comletion percentage for public event bulk onboard"

* "PublicUserEventBulkOnboard:Added claim event karma points, fixed bugs and enhanced code"

* "Commented karma points event triggering because  Karma points are generated inside event-cert generator flink job"

* "Claim karma point event and corrected ets time"

* "added lrc_progressdetails"

* "Fixed class cast exception for event duration"

* "Corrected karma point event format"

* "Added validation for invalid event details"

* "Added condition to update the enrollment and trigger the kafka event"

* "Created new APIs to fetch status of offline event bulkonboard and download the processed csv file"

* Updated logic for event cert generation script

* Handling invalid records

* Reading event duration from event_batch table

* Added max_size while updating record

* Handling completed user event enrolment in script

* Added condition to skip status 0

* Added parsing for edge cases

* Added API to update event enrolment status value

* Updated code to check issueCertificates

* Updated code to check issueCertificates

* Updated code to check issueCertificates

---------

Co-authored-by: Karthikeyan Rajendran <[email protected]>
Co-authored-by: pathiktarento1089 <[email protected]>
Co-authored-by: vikrantbipin <[email protected]>
Co-authored-by: SaipradeepR <[email protected]>
Co-authored-by: tarentomaheshvakkund <[email protected]>
Co-authored-by: anilkumarkammalapalli <[email protected]>
Co-authored-by: anilkumar <[email protected]>
Co-authored-by: arpithasureshappa <[email protected]>
Co-authored-by: Sharath Prasad <[email protected]>
Co-authored-by: sreerag-tarento <[email protected]>
Co-authored-by: karthik-tarento <[email protected]>
Co-authored-by: sureshece16 <[email protected]>

* Update the orgDesignation Bug Fixes

---------

Co-authored-by: Karthikeyan Rajendran <[email protected]>
Co-authored-by: pathiktarento1089 <[email protected]>
Co-authored-by: vikrantbipin <[email protected]>
Co-authored-by: SaipradeepR <[email protected]>
Co-authored-by: tarentomaheshvakkund <[email protected]>
Co-authored-by: anilkumarkammalapalli <[email protected]>
Co-authored-by: anilkumar <[email protected]>
Co-authored-by: arpithasureshappa <[email protected]>
Co-authored-by: Sharath Prasad <[email protected]>
Co-authored-by: sreerag-tarento <[email protected]>
Co-authored-by: karthik-tarento <[email protected]>
Co-authored-by: sureshece16 <[email protected]>

* Revert "4.8.19 fix org designation (#173)" (#174)

This reverts commit 40f54b0.

* 4.8.19 dev fix1 (#175)

* Update the orgDesignation Bug Fixes

* Update the orgDesignation Bug Fixes

* KB-7297 | DEV | BE | Self Registration | QR Code generation and registration link generation.

1. Created a new api for customeselfregistration .
2. generatePdfV2 this method is overriten since in earlier case we are returning bytes and not the file.
3. new template for the body is added since the old template is used by the blended program and it was custom.
4. configurations are added for container name and folder name the attribute values need to be updated.

* KB-7297 | DEV | BE | Self Registration | QR Code generation and registration link generation.

1. Attributes updated.

---------

Co-authored-by: Sahil-tarento <[email protected]>
Co-authored-by: Karthikeyan Rajendran <[email protected]>
Co-authored-by: pathiktarento1089 <[email protected]>
Co-authored-by: vikrantbipin <[email protected]>
Co-authored-by: SaipradeepR <[email protected]>
Co-authored-by: anilkumarkammalapalli <[email protected]>
Co-authored-by: anilkumar <[email protected]>
Co-authored-by: arpithasureshappa <[email protected]>
Co-authored-by: Sharath Prasad <[email protected]>
Co-authored-by: sreerag-tarento <[email protected]>
Co-authored-by: karthik-tarento <[email protected]>
Co-authored-by: sureshece16 <[email protected]>

* KB-7297 | DEV | BE | Self Registration | QR Code generation and registration link generation. (#184)

1. Organization id uncomemnted.

* KB-7297 | DEV | BE | Self Registration | QR Code generation and registration link generation. (#185)

* KB-7297 | DEV | BE | Self Registration | QR Code generation and registration link generation.

1. Organization id uncomemnted.

* KB-7297 | DEV | BE | Self Registration | QR Code generation and registration link generation.

1. Updated response structure.
2. Added few logs.
3. Added attribute values to be updated in the constants file.

* KB-7297 | DEV | BE | Self Registration | QR Code generation and registration link generation.

1. Constant value updated

* KB-7297 | DEV | BE | Self Registration | QR Code generation and registration link generation. (#186)

1. Getting  406 not acceptable http status code, creating a new object for processing final result.
2. Added real time values in the application.properties.

* KB-7297 | DEV | BE | Self Registration | QR Code generation and registration link generation. (#187)

1. Return response statement added.

* KB-7333 - DEV | BE | Self Registration | Validation of the desgination for an organization. (#190)

1.Validation of the designation for the organization based on frameworks.

* KB-7333 - DEV | BE | Self Registration | Validation of the desgination for an organization. (#191)

1.Refractored the code
2. produces = MediaType.APPLICATION_JSON_VALUE changed from PDF to JSON

* KB-7297 | DEV | BE | Self Registration | QR Code generation and registration link generation. (#196)

1. New attributes added to be showed in the pdf file.
2. OrgId is read from the request body sent, orgname is fetched using cassandra query to the organisation table.
3. Constants added for string attributes.

* KB-7297 | DEV | BE | Self Registration | QR Code generation and registration link generation. (#197)

1. Added log in the method for printing session information.
2. Added a break parameter in the template

* KB-7297 | DEV | BE | Self Registration | QR Code generation and registration link generation. (#198)

1. The Key should be in lower case to fetch result from the cassandra response.

* KB-7297 | DEV | BE | Self Registration | QR Code generation and registration link generation. (#199)

* KB-7297 | DEV | BE | Self Registration | QR Code generation and registration link generation.

1. The Key should be in lower case to fetch result from the cassandra response.

* KB-7297 | DEV | BE | Self Registration | QR Code generation and registration link generation.

1. orgName was throwing nullpointer exception due to wrong casting to lower case - fixed by creating new constant and passing it.
2. New method is implemented in PdfGeneratorServiceImpl to convert the html file data to png.
3. New property added to store the tempImage files.

---------

Co-authored-by: SaipradeepR <[email protected]>

* KB-7297 | DEV | BE | Self Registration | QR Code generation and registration link generation. (#200)

1. _body.pdf.png was the file name generated , configured it to png.

* KB-7297 | DEV | BE | Self Registration | QR Code generation and registration link generation. (#202)

1. Enhancement of the png images increased the quality.
2. Set the height and width.
3. Increased the dots per inch - default is 96 so set it to 300.
4. Increased the zoom for clearity.

* KB-7297 | DEV | BE | Self Registration | QR Code generation and registration link generation. (#204)

1. Removed the dpi parameter since it is not supported by the wkhtmltoimage version used.

* KB-7361 | Testing and Enhancements | BE | Self Registration | QR Code generation and registration link generation. (#205)

1. Increased the resolutions and zoom size.

* KB-7361 | Testing and Enhancements | BE | Self Registration | QR Code generation and registration link generation. (#206)

* KB-7361 | Testing and Enhancements | BE | Self Registration | QR Code generation and registration link generation.

1. Increased the resolutions and zoom size.

* KB-7361  - Testing and Enhancements | BE | Self Registration | QR Code generation and registration link generation.

1. Increased the resolution while generating the qrcode.

* KB-7361 | Testing and Enhancements | BE | Self Registration | QR Code generation and registration link generation.

1. Removed the resolutions while generating image .

* KB-7361 | Testing and Enhancements | BE | Self Registration | QR Code generation and registration link generation.

removed the resolutions

* KB-7361 | Testing and Enhancements | BE | Self Registration | QR Code generation and registration link generation. (#207)

1. Added Jpeg file creation in the pdfgenerator service.
2. Passing only the link while generating the qr not the object link.

* KB-7361 | Testing and Enhancements | BE | Self Registration | QR Code generation and registration link generation.  (#208)

* KB-7361 | Testing and Enhancements | BE | Self Registration | QR Code generation and registration link generation.

1. Added Jpeg file creation in the pdfgenerator service.
2. Passing only the link while generating the qr not the object link.

* KB-7361 | Testing and Enhancements | BE | Self Registration | QR Code generation and registration link generation.

1. Saving as a jpeg which was earlier png.
2. format issues were there fixed it.

* Compilation error fix (#209)

* KB-7361 | Testing and Enhancements | BE | Self Registration | QR Code generation and registration link generation. (#211)

* KB-7361 | Testing and Enhancements | BE | Self Registration | QR Code generation and registration link generation.

1. Implemented the new template for the qr code.
2. Added the necessary resources also.

* KB-7361 | Testing and Enhancements | BE | Self Registration | QR Code generation and registration link generation.

1. Removed unecessary attribute.

* KB-7361 | Testing and Enhancements | BE | Self Registration | QR Code generation and registration link generation. (#212)

1. Image is not getting picked from the template path,  so added base64 string to test.

* KB-7361 | Testing and Enhancements | BE | Self Registration | QR Code generation and registration link generation. (#213)

1. Increased the width resolution.

* KB-7399 | DEV | BE | Self Registration | New Attributes additon while QR Code and registration link generation. (#214)

* KB-7399 | DEV | BE | Self Registration | New Attributes additon while QR Code and registration link generation.

1. Added New model class to handle the attributes from the request body.
2. Added registrationenddate, registrationstartdate, description, logo  attributes - this attributes will be added to the orgUpdate params before calling the orgupdate API.
3. Added new method in the User registration which validates if the user is registering in the provided time period -else it will throw an error.

* KB-7399 | DEV | BE | Self Registration | New Attributes additon while QR Code and registration link generation.

1. Added validation of the request body for the new parameters.

* KB-7399 | DEV | BE | Self Registration | New Attributes additon while QR Code and registration link generation.

1. Type of date changed.

* KB-7399 | DEV | BE | Self Registration | New Attributes additon while QR Code and registration link generation. (#215)

1. The method which was doing validation of the fields that were added for registrationstartdate, registrationenddate was inverted so corrected it.
2. Registrationstartdate and registrationenddate should be long value so doing direct typecasting instead of doing string type casting.
4. SInce registrationdate details is expected to be long - removed the string validation.

* KB-7399 | DEV | BE | Self Registration | New Attributes additon while QR Code and registration link generation. (#216)

1. Converting to string the values.

* KB-7399 | DEV | BE | Self Registration | New Attributes additon while QR Code and registration link generation. #216 (#217)

1. Removed the logo and description attributes while generating the qr code.

* KB-7426 | DEV | BE | Self Registration | Wrapper API to update the orgname and other details. (#220)

1. Added new API org update .
2. It fetches the data from postgres by passing sborgid and checks if the sborgsubtype is board if it is then allows to update the orgname.
3. The orgname update is only applicable for organisation , its not allowed for the ministry,state and department.
4. Once the data is updated we call the learner service orgupdate to update the data in cassandra and sync back data to elastic search.
5. Apart from updating orgname we can update the logo and description field if its available in the request body else it is skipped.
6. Changed the attribute name in the self registration api and the date format also - changed wrt KB-7399

* KB-7427 | DEV | BE | Self Registration | Creating new entity for persisting the QR data and other meta. (#223)

1. Created a new entity registration_qr_code which persists the qr data and other meta data.
2. We check if there is a active qrcode link if its active then we will restrict to generate new qr.
3. One new configuration is there which allows to generate new qr code even if there is a active qr code - by default its set to false .
4. Removed the registration date updates to the organisation table- this update was done using learner service.

* KB-6422 | Q6 | Self registration | SPV | Create custom registration link (#224)

* KB-6422 | Q6 | Self registration | SPV | Create custom registration link

KB-7427 | DEV | BE | Self Registration | Creating new entity for persisting the QR data and other meta.

1.  Response of the cassandra db was not handled properly - fixed it.
2.  In link generation of the url appending  timestamp as string , made changes to the code. example: https://portal.dev.karmayogibharat.net/1732391175371/crp?id=0140788510336040962 -> 1732391175371 is time stamp appended dynamically.

KB-7430 | DEV | BE | Self Registration | Validation of user while doing registration.
1. Based on the registrationlink fetching the unique code in the above case its 1732391175371, getting the data from the registrationqr entity and performing the necessary validation.
2. Checking if the current date lies between the startdate and endate.

* KB-6422 | Q6 | Self registration | SPV | Create custom registration link #224

1. Constants and logs added.

* KB-6422 |Q6 | Self registration | SPV | Create custom registration link

1. MIgrated the RegistrationQR Entity from cassandra to postgres.
2. Created new API for getting the list of the qrcode based on the organisation.
3. Internal API to expired the qr code.

* KB-7427 | DEV | BE | Self Registration | Creating new entity for persisting the QR data and other meta. (#226)

1. Removed validation - startdate and enddate validation removed the the url is also modified.
2. Removed the validation while registering the user .

* KB-7427 | DEV | BE | Self Registration | Creating new entity for persisting the QR data and other meta. (#227)

* KB-7427 | DEV | BE | Self Registration | Creating new entity for persisting the QR data and other meta.

1. Removed validation - startdate and enddate validation removed the the url is also modified.
2. Removed the validation while registering the user .

* KB-7427 | DEV | BE | Self Registration | Creating new entity for persisting the QR data and other meta.

1.  removed update to database

* KB-7427 | DEV | BE | Self Registration | Creating new entity for persisting the QR data and other meta.  (#228)

* KB-7427 | DEV | BE | Self Registration | Creating new entity for persisting the QR data and other meta.

1. Removed validation - startdate and enddate validation removed the the url is also modified.
2. Removed the validation while registering the user .

* KB-7427 | DEV | BE | Self Registration | Creating new entity for persisting the QR data and other meta.

1.  removed update to database

* KB-7427 | DEV | BE | Self Registration | Creating new entity for persisting the QR data and other meta.

1. Removed the construction of startdate and enddate  attribute while generating the model class.

* KB-7482 | DEV | BE | Self Registration | Enhancements of logo upload while organisation creation (#229)

1. Created a generic method for uploading image in storage service.
2. Calling the method from a new api in custom self registration for uploading image.

* KB-7482 |DEV | BE | Self Registration | Enhancements of logo upload while organisation creation  (#230)

* KB-7482 | DEV | BE | Self Registration | Enhancements of logo upload while organisation creation

1. Created a generic method for uploading image in storage service.
2. Calling the method from a new api in custom self registration for uploading image.

* KB-7482 | DEV | BE | Self Registration | Enhancements of logo upload while organisation creation

1. Contstructed the public path of the image uploaded and sending in the response.

* KB-7482 | DEV | BE | Self Registration | Enhancements of logo upload while organisation creation and adding other attributes to the orgtable. (#231)

1. Validation of the parentMapId while creating the organisation.
2. We Validate the parentMapId only for the organisationsubtype as board.
3. We fetch the deptDetails based on the parentMapid ie. by passing the mapid data with parentmapid and similiarily the ministry details and state details and construct the request body.
4. After constructing the request body the request goes to the learner service for the organistation creation

* KB-7427 | DEV | BE | Self Registration | Creating new entity for persisting the QR data and other meta. (#233)

1.While generating the qr code we save the registration metadata to the new table in the postres i.e registration_qr_code.
2. Added new method to update the count of the onboarded user based on the org and the unique code.
3.Checking If the org is created under ministry/state or department and fetching the details accordingly.
4. Renamed the attribute uniqueCodeRegistration to registrationLink.
5. Updating the user count in the consumer topic of the user registration.
6. Validation of the user on the registration api.

* KB-7427 | DEV | BE | Self Registration | Creating new entity for persisting the QR data and other meta. (#234)

1. Request body structure was wrong while validation - fixed it.

* KB-7427 | DEV | BE | Self Registration | Creating new entity for persisting the QR data and other meta. (#235)

1. endate was formed using startdate - corrected it.

---------

Co-authored-by: tarentomaheshvakkund <[email protected]>
Co-authored-by: Sahil-tarento <[email protected]>
Co-authored-by: Karthikeyan Rajendran <[email protected]>
Co-authored-by: pathiktarento1089 <[email protected]>
Co-authored-by: vikrantbipin <[email protected]>
Co-authored-by: anilkumarkammalapalli <[email protected]>
Co-authored-by: anilkumar <[email protected]>
Co-authored-by: arpithasureshappa <[email protected]>
Co-authored-by: Sharath Prasad <[email protected]>
Co-authored-by: sreerag-tarento <[email protected]>
Co-authored-by: karthik-tarento <[email protected]>
Co-authored-by: sureshece16 <[email protected]>
* KB-7620 | DEV | BE | Self Registration | Creating new API for checking if the registration link is active. (#239)

* KB-7620 | DEV | BE | Self Registration | Creating new API for checking if the registration link is active.

1. Saving the qrimage to the postgres registration_qr_Code table.
2. Made changes to the url /uniquecode/crp/orgid -> /crp/uniquecode/orgid
3. Added new api for the validation of the registration link is active or no.

* Regex updated

* KB-7620 | DEV | BE | Self Registration | Creating new API for checking if the registration link is active. (#240)

1.Removed the authtoken.

---------

Co-authored-by: tarentomaheshvakkund <[email protected]>
… Its not updating

1. User count was not updating.
…ardedcount

KB-7643 | Number of user onboarded using the link is displaying as 0. Its not updating
* QA Issues - Custom Self Registration. (#243)

KB-7697 - Learner should be able to view an error message when an expired URL or expired QR code is clicked or scanned. Currently registration page is loading

-We were only checking for status , but will be checking for startdate,enddate also.

KB-7565 -  SPV porta: The QR code is not downloading when clicking on the download QR button. It just opens as an image

-Increased the width of the container.

* QA Issues - Custom Self Registration. (#244)

KB-7565 -  SPV porta: The QR code is not downloading when clicking on the download QR button. It just opens as an image

-Increased the width of the container.

* KB-7361 | Testing and Enhancements | BE | Self Registration | QR Code generation and registration link generation. (#245)

1. Create a new api for cron job.
2. Setting end date by default to 23 hrs 59min 59 seconds.
3. Code issue fix.

---------

Co-authored-by: tarentomaheshvakkund <[email protected]>
* KB-7643 | Number of user onboarded using the link is displaying as 0. Its not updating (#247)

1. Onboarded user count issue fixed.
2. Added new flag to persist the whatsapp consent.

* KB-7361 | Testing and Enhancements | BE | Self Registration | QR Code generation and registration link generation. (#248)

1. Validation of the registration link.

---------

Co-authored-by: tarentomaheshvakkund <[email protected]>
… generation and registration link generation.1.

1. While creating a new qrcode for registration for a particular organisation need to deactivate the old  qr - we are expiring the qrcodes .
* Fix - Adding validation for Group in admin extPatch API - KB-7703

* Code refactor

* Review Changes
KB-7361 | Testing and Enhancements | BE | Self Registration | QR Code generation and registration link generation.1.
…e generation and registration link generation.

1. Added new qr logo .
…nhanacement

 KB-7361 | Testing and Enhancements | BE | Self Registration | QR Code generation and registration link generation.
… generation and registration link generation.

1. Logo path added.
KB-7361 | Testing and Enhancements | BE | Self Registration | QR Code generation and registration link generation.
…e generation and registration link generation. (#265)

1. Logo path added.
@SaipradeepR
SaipradeepR deleted the 4.8.20-dev-v6 branch December 16, 2024 08:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.