Skip to content

04/sep removing community contrbutor barrier#267

Merged
praveenkumar911 merged 6 commits intodevfrom
04/sep_removing_community_contrbutor_barrier
Sep 5, 2025
Merged

04/sep removing community contrbutor barrier#267
praveenkumar911 merged 6 commits intodevfrom
04/sep_removing_community_contrbutor_barrier

Conversation

@praveenkumar911
Copy link
Copy Markdown
Contributor

Testing env bug

@praveenkumar911 praveenkumar911 merged commit 753af26 into dev Sep 5, 2025
praveenkumar911 added a commit that referenced this pull request Sep 19, 2025
* cron poc

* code completion in cron

* create and update checks in adding contributors to a ticket

* sending report to discord bot added

* Cron Fixes Mentor and Contributor

* logs and await added in add_contributors

* user activity calling type changed

* Cron Fixes

* Updated requirements.txt

* code changes for cron token generation

* changes in requirements.txt

* jwt generator and access token changes

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* updated jwt token generator for deploy testing

* updated jwt token generator for deploy testing

* updated requirements.txt for deploy testing

* updated requirements.txt for deploy testing

* updated token generator for deploy testing

* remove jwt to resolve conflict

* trying with local path of pem file to resolve conflict

* updating docker file for pem file

* cleaner

* cleaner

* Removed submodule

* Readded submodule

* Updated Pem location

* Testing - Pem and client id

* pagination and state added to get all apis

* pagination and state added to get all apis

* pagination and state added to get all apis

* 1. Added Access token based requests within handlers.
2. Fixed Issue handler and Pr Handler for cron

* Removed submodule

* Readded submodule

* 1. Mentors data now being fetched from db
2. Since added in comments fetching

* 1. Removed Bot Commenting

* 1. Removed Bot Commenting
2. Added Logger

* 1. Minor fixes for prod deployment
2. Discord Report commented

* 1. Changed cron temporarily to run trigger in batches (#236)

* 1. Handled Exception in Getting Angle Mentor from Markdown Contents

* 1. uncommented PRs from cronjob (#238)

* [Fix] (#240)

1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* Fix/leaderboard (#241)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* Fix/leaderboard (#242)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* Fix/leaderboard (#243)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* Fix/leaderboard (#244)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* Fix/leaderboard (#245)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* Fix/leaderboard (#247)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Added Comments for logic flow in Fetching / Updating Contributor and Angle Mentor in Issue Closed Event.

2. Removed Comments.

3. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* Fix/leaderboard (#248)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Added Comments for logic flow in Fetching / Updating Contributor and Angle Mentor in Issue Closed Event.

2. Removed Comments.

3. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* [Fix]

1. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* Fix/leaderboard (#249)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Added Comments for logic flow in Fetching / Updating Contributor and Angle Mentor in Issue Closed Event.

2. Removed Comments.

3. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* [Fix]

1. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* [Fix]

1. merged_at to be str

* [Fix]

1. Removed duplication handling of merged at

* [Fix]

1. Commenting PR processing from Cron. Todo later - add it as a param in the API whether to process or not

* [FIX]
1. Changed default route response for testing

* added-basic-auth (#251)

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#253)

* added-basic-auth

* removed pass

* added_basic_auth

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#255)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#256)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#257)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#258)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#259)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

* testing from env#3

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#260)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

* testing from env#3

* renamed env for auth

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#261)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

* testing from env#3

* renamed env for auth

* added

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* removed barrier (#262)

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#263)

* removed barrier

* reverting to old code

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#264)

* removed barrier

* reverting to old code

* modified contributor

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#267)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#268)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* Revert "04/sep removing community contrbutor barrier (#268)" (#269)

This reverts commit b52c76c.

* 04/sep removing community contrbutor barrier (#270)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#271)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#272)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

---------

Co-authored-by: Shreyash <shreyash.sahare@esmagico.in>
Co-authored-by: jaanbaaz <jaanbaaz.akhtar@esmagico.in>
Co-authored-by: jaanbaaz <106968030+jaanbaaz@users.noreply.github.com>
Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>
praveenkumar911 added a commit that referenced this pull request Sep 19, 2025
* cron poc

* code completion in cron

* create and update checks in adding contributors to a ticket

* sending report to discord bot added

* Cron Fixes Mentor and Contributor

* logs and await added in add_contributors

* user activity calling type changed

* Cron Fixes

* Updated requirements.txt

* code changes for cron token generation

* changes in requirements.txt

* jwt generator and access token changes

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* updated jwt token generator for deploy testing

* updated jwt token generator for deploy testing

* updated requirements.txt for deploy testing

* updated requirements.txt for deploy testing

* updated token generator for deploy testing

* remove jwt to resolve conflict

* trying with local path of pem file to resolve conflict

* updating docker file for pem file

* cleaner

* cleaner

* Removed submodule

* Readded submodule

* Updated Pem location

* Testing - Pem and client id

* pagination and state added to get all apis

* pagination and state added to get all apis

* pagination and state added to get all apis

* 1. Added Access token based requests within handlers.
2. Fixed Issue handler and Pr Handler for cron

* Removed submodule

* Readded submodule

* 1. Mentors data now being fetched from db
2. Since added in comments fetching

* 1. Removed Bot Commenting

* 1. Removed Bot Commenting
2. Added Logger

* 1. Minor fixes for prod deployment
2. Discord Report commented

* 1. Changed cron temporarily to run trigger in batches (#236)

* 1. Handled Exception in Getting Angle Mentor from Markdown Contents

* 1. uncommented PRs from cronjob (#238)

* [Fix] (#240)

1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* Fix/leaderboard (#241)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* Fix/leaderboard (#242)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* Fix/leaderboard (#243)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* Fix/leaderboard (#244)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* Fix/leaderboard (#245)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* Fix/leaderboard (#247)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Added Comments for logic flow in Fetching / Updating Contributor and Angle Mentor in Issue Closed Event.

2. Removed Comments.

3. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* Fix/leaderboard (#248)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Added Comments for logic flow in Fetching / Updating Contributor and Angle Mentor in Issue Closed Event.

2. Removed Comments.

3. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* [Fix]

1. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* Fix/leaderboard (#249)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Added Comments for logic flow in Fetching / Updating Contributor and Angle Mentor in Issue Closed Event.

2. Removed Comments.

3. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* [Fix]

1. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* [Fix]

1. merged_at to be str

* [Fix]

1. Removed duplication handling of merged at

* [Fix]

1. Commenting PR processing from Cron. Todo later - add it as a param in the API whether to process or not

* [FIX]
1. Changed default route response for testing

* added-basic-auth (#251)

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#253)

* added-basic-auth

* removed pass

* added_basic_auth

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#255)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#256)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#257)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#258)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#259)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

* testing from env#3

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#260)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

* testing from env#3

* renamed env for auth

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#261)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

* testing from env#3

* renamed env for auth

* added

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* removed barrier (#262)

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#263)

* removed barrier

* reverting to old code

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#264)

* removed barrier

* reverting to old code

* modified contributor

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#267)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#268)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* Revert "04/sep removing community contrbutor barrier (#268)" (#269)

This reverts commit b52c76c.

* 04/sep removing community contrbutor barrier (#270)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#271)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#272)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#274)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

---------

Co-authored-by: Shreyash <shreyash.sahare@esmagico.in>
Co-authored-by: jaanbaaz <jaanbaaz.akhtar@esmagico.in>
Co-authored-by: jaanbaaz <106968030+jaanbaaz@users.noreply.github.com>
Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>
praveenkumar911 added a commit that referenced this pull request Sep 30, 2025
* cron poc

* code completion in cron

* create and update checks in adding contributors to a ticket

* sending report to discord bot added

* Cron Fixes Mentor and Contributor

* logs and await added in add_contributors

* user activity calling type changed

* Cron Fixes

* Updated requirements.txt

* code changes for cron token generation

* changes in requirements.txt

* jwt generator and access token changes

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* updated jwt token generator for deploy testing

* updated jwt token generator for deploy testing

* updated requirements.txt for deploy testing

* updated requirements.txt for deploy testing

* updated token generator for deploy testing

* remove jwt to resolve conflict

* trying with local path of pem file to resolve conflict

* updating docker file for pem file

* cleaner

* cleaner

* Removed submodule

* Readded submodule

* Updated Pem location

* Testing - Pem and client id

* pagination and state added to get all apis

* pagination and state added to get all apis

* pagination and state added to get all apis

* 1. Added Access token based requests within handlers.
2. Fixed Issue handler and Pr Handler for cron

* Removed submodule

* Readded submodule

* 1. Mentors data now being fetched from db
2. Since added in comments fetching

* 1. Removed Bot Commenting

* 1. Removed Bot Commenting
2. Added Logger

* 1. Minor fixes for prod deployment
2. Discord Report commented

* 1. Changed cron temporarily to run trigger in batches (#236)

* 1. Handled Exception in Getting Angle Mentor from Markdown Contents

* 1. uncommented PRs from cronjob (#238)

* [Fix] (#240)

1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* Fix/leaderboard (#241)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* Fix/leaderboard (#242)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* Fix/leaderboard (#243)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* Fix/leaderboard (#244)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* Fix/leaderboard (#245)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* Fix/leaderboard (#247)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Added Comments for logic flow in Fetching / Updating Contributor and Angle Mentor in Issue Closed Event.

2. Removed Comments.

3. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* Fix/leaderboard (#248)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Added Comments for logic flow in Fetching / Updating Contributor and Angle Mentor in Issue Closed Event.

2. Removed Comments.

3. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* [Fix]

1. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* Fix/leaderboard (#249)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Added Comments for logic flow in Fetching / Updating Contributor and Angle Mentor in Issue Closed Event.

2. Removed Comments.

3. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* [Fix]

1. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* [Fix]

1. merged_at to be str

* [Fix]

1. Removed duplication handling of merged at

* [Fix]

1. Commenting PR processing from Cron. Todo later - add it as a param in the API whether to process or not

* [FIX]
1. Changed default route response for testing

* added-basic-auth (#251)

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#253)

* added-basic-auth

* removed pass

* added_basic_auth

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#255)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#256)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#257)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#258)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#259)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

* testing from env#3

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#260)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

* testing from env#3

* renamed env for auth

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#261)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

* testing from env#3

* renamed env for auth

* added

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* removed barrier (#262)

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#263)

* removed barrier

* reverting to old code

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#264)

* removed barrier

* reverting to old code

* modified contributor

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#267)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#268)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* Revert "04/sep removing community contrbutor barrier (#268)" (#269)

This reverts commit b52c76c.

* 04/sep removing community contrbutor barrier (#270)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#271)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#272)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#274)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 26/sep token issue (#276)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* added debug statements

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 26/sep token issue (#277)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* added debug statements

* added c4gt_bounty coding etc

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

---------

Co-authored-by: Shreyash <shreyash.sahare@esmagico.in>
Co-authored-by: jaanbaaz <jaanbaaz.akhtar@esmagico.in>
Co-authored-by: jaanbaaz <106968030+jaanbaaz@users.noreply.github.com>
Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>
praveenkumar911 added a commit that referenced this pull request Oct 8, 2025
* cron poc

* code completion in cron

* create and update checks in adding contributors to a ticket

* sending report to discord bot added

* Cron Fixes Mentor and Contributor

* logs and await added in add_contributors

* user activity calling type changed

* Cron Fixes

* Updated requirements.txt

* code changes for cron token generation

* changes in requirements.txt

* jwt generator and access token changes

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* updated jwt token generator for deploy testing

* updated jwt token generator for deploy testing

* updated requirements.txt for deploy testing

* updated requirements.txt for deploy testing

* updated token generator for deploy testing

* remove jwt to resolve conflict

* trying with local path of pem file to resolve conflict

* updating docker file for pem file

* cleaner

* cleaner

* Removed submodule

* Readded submodule

* Updated Pem location

* Testing - Pem and client id

* pagination and state added to get all apis

* pagination and state added to get all apis

* pagination and state added to get all apis

* 1. Added Access token based requests within handlers.
2. Fixed Issue handler and Pr Handler for cron

* Removed submodule

* Readded submodule

* 1. Mentors data now being fetched from db
2. Since added in comments fetching

* 1. Removed Bot Commenting

* 1. Removed Bot Commenting
2. Added Logger

* 1. Minor fixes for prod deployment
2. Discord Report commented

* 1. Changed cron temporarily to run trigger in batches (#236)

* 1. Handled Exception in Getting Angle Mentor from Markdown Contents

* 1. uncommented PRs from cronjob (#238)

* [Fix] (#240)

1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* Fix/leaderboard (#241)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* Fix/leaderboard (#242)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* Fix/leaderboard (#243)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* Fix/leaderboard (#244)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* Fix/leaderboard (#245)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* Fix/leaderboard (#247)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Added Comments for logic flow in Fetching / Updating Contributor and Angle Mentor in Issue Closed Event.

2. Removed Comments.

3. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* Fix/leaderboard (#248)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Added Comments for logic flow in Fetching / Updating Contributor and Angle Mentor in Issue Closed Event.

2. Removed Comments.

3. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* [Fix]

1. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* Fix/leaderboard (#249)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Added Comments for logic flow in Fetching / Updating Contributor and Angle Mentor in Issue Closed Event.

2. Removed Comments.

3. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* [Fix]

1. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* [Fix]

1. merged_at to be str

* [Fix]

1. Removed duplication handling of merged at

* [Fix]

1. Commenting PR processing from Cron. Todo later - add it as a param in the API whether to process or not

* [FIX]
1. Changed default route response for testing

* added-basic-auth (#251)

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#253)

* added-basic-auth

* removed pass

* added_basic_auth

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#255)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#256)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#257)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#258)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#259)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

* testing from env#3

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#260)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

* testing from env#3

* renamed env for auth

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#261)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

* testing from env#3

* renamed env for auth

* added

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* removed barrier (#262)

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#263)

* removed barrier

* reverting to old code

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#264)

* removed barrier

* reverting to old code

* modified contributor

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#267)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#268)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* Revert "04/sep removing community contrbutor barrier (#268)" (#269)

This reverts commit b52c76c.

* 04/sep removing community contrbutor barrier (#270)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#271)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#272)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#274)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 26/sep token issue (#276)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* added debug statements

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 26/sep token issue (#277)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* added debug statements

* added c4gt_bounty coding etc

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#279)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

---------

Co-authored-by: Shreyash <shreyash.sahare@esmagico.in>
Co-authored-by: jaanbaaz <jaanbaaz.akhtar@esmagico.in>
Co-authored-by: jaanbaaz <106968030+jaanbaaz@users.noreply.github.com>
Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>
praveenkumar911 added a commit that referenced this pull request Nov 24, 2025
* cron poc

* code completion in cron

* create and update checks in adding contributors to a ticket

* sending report to discord bot added

* Cron Fixes Mentor and Contributor

* logs and await added in add_contributors

* user activity calling type changed

* Cron Fixes

* Updated requirements.txt

* code changes for cron token generation

* changes in requirements.txt

* jwt generator and access token changes

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* updated jwt token generator for deploy testing

* updated jwt token generator for deploy testing

* updated requirements.txt for deploy testing

* updated requirements.txt for deploy testing

* updated token generator for deploy testing

* remove jwt to resolve conflict

* trying with local path of pem file to resolve conflict

* updating docker file for pem file

* cleaner

* cleaner

* Removed submodule

* Readded submodule

* Updated Pem location

* Testing - Pem and client id

* pagination and state added to get all apis

* pagination and state added to get all apis

* pagination and state added to get all apis

* 1. Added Access token based requests within handlers.
2. Fixed Issue handler and Pr Handler for cron

* Removed submodule

* Readded submodule

* 1. Mentors data now being fetched from db
2. Since added in comments fetching

* 1. Removed Bot Commenting

* 1. Removed Bot Commenting
2. Added Logger

* 1. Minor fixes for prod deployment
2. Discord Report commented

* 1. Changed cron temporarily to run trigger in batches (#236)

* 1. Handled Exception in Getting Angle Mentor from Markdown Contents

* 1. uncommented PRs from cronjob (#238)

* [Fix] (#240)

1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* Fix/leaderboard (#241)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* Fix/leaderboard (#242)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* Fix/leaderboard (#243)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* Fix/leaderboard (#244)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* Fix/leaderboard (#245)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* Fix/leaderboard (#247)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Added Comments for logic flow in Fetching / Updating Contributor and Angle Mentor in Issue Closed Event.

2. Removed Comments.

3. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* Fix/leaderboard (#248)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Added Comments for logic flow in Fetching / Updating Contributor and Angle Mentor in Issue Closed Event.

2. Removed Comments.

3. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* [Fix]

1. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* Fix/leaderboard (#249)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Added Comments for logic flow in Fetching / Updating Contributor and Angle Mentor in Issue Closed Event.

2. Removed Comments.

3. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* [Fix]

1. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* [Fix]

1. merged_at to be str

* [Fix]

1. Removed duplication handling of merged at

* [Fix]

1. Commenting PR processing from Cron. Todo later - add it as a param in the API whether to process or not

* [FIX]
1. Changed default route response for testing

* added-basic-auth (#251)

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#253)

* added-basic-auth

* removed pass

* added_basic_auth

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#255)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#256)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#257)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#258)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#259)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

* testing from env#3

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#260)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

* testing from env#3

* renamed env for auth

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#261)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

* testing from env#3

* renamed env for auth

* added

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* removed barrier (#262)

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#263)

* removed barrier

* reverting to old code

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#264)

* removed barrier

* reverting to old code

* modified contributor

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#267)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#268)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* Revert "04/sep removing community contrbutor barrier (#268)" (#269)

This reverts commit b52c76c.

* 04/sep removing community contrbutor barrier (#270)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#271)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#272)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#274)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 26/sep token issue (#276)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* added debug statements

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 26/sep token issue (#277)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* added debug statements

* added c4gt_bounty coding etc

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#279)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* Revert "04/sep removing community contrbutor barrier (#279)" (#282)

This reverts commit 9e59683.

* 04/sep removing community contrbutor barrier (#283)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

---------

Co-authored-by: Shreyash <shreyash.sahare@esmagico.in>
Co-authored-by: jaanbaaz <jaanbaaz.akhtar@esmagico.in>
Co-authored-by: jaanbaaz <106968030+jaanbaaz@users.noreply.github.com>
Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>
praveenkumar911 added a commit that referenced this pull request Nov 24, 2025
* cron poc

* code completion in cron

* create and update checks in adding contributors to a ticket

* sending report to discord bot added

* Cron Fixes Mentor and Contributor

* logs and await added in add_contributors

* user activity calling type changed

* Cron Fixes

* Updated requirements.txt

* code changes for cron token generation

* changes in requirements.txt

* jwt generator and access token changes

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* updated jwt token generator for deploy testing

* updated jwt token generator for deploy testing

* updated requirements.txt for deploy testing

* updated requirements.txt for deploy testing

* updated token generator for deploy testing

* remove jwt to resolve conflict

* trying with local path of pem file to resolve conflict

* updating docker file for pem file

* cleaner

* cleaner

* Removed submodule

* Readded submodule

* Updated Pem location

* Testing - Pem and client id

* pagination and state added to get all apis

* pagination and state added to get all apis

* pagination and state added to get all apis

* 1. Added Access token based requests within handlers.
2. Fixed Issue handler and Pr Handler for cron

* Removed submodule

* Readded submodule

* 1. Mentors data now being fetched from db
2. Since added in comments fetching

* 1. Removed Bot Commenting

* 1. Removed Bot Commenting
2. Added Logger

* 1. Minor fixes for prod deployment
2. Discord Report commented

* 1. Changed cron temporarily to run trigger in batches (#236)

* 1. Handled Exception in Getting Angle Mentor from Markdown Contents

* 1. uncommented PRs from cronjob (#238)

* [Fix] (#240)

1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* Fix/leaderboard (#241)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* Fix/leaderboard (#242)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* Fix/leaderboard (#243)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* Fix/leaderboard (#244)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* Fix/leaderboard (#245)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* Fix/leaderboard (#247)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Added Comments for logic flow in Fetching / Updating Contributor and Angle Mentor in Issue Closed Event.

2. Removed Comments.

3. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* Fix/leaderboard (#248)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Added Comments for logic flow in Fetching / Updating Contributor and Angle Mentor in Issue Closed Event.

2. Removed Comments.

3. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* [Fix]

1. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* Fix/leaderboard (#249)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Added Comments for logic flow in Fetching / Updating Contributor and Angle Mentor in Issue Closed Event.

2. Removed Comments.

3. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* [Fix]

1. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* [Fix]

1. merged_at to be str

* [Fix]

1. Removed duplication handling of merged at

* [Fix]

1. Commenting PR processing from Cron. Todo later - add it as a param in the API whether to process or not

* [FIX]
1. Changed default route response for testing

* added-basic-auth (#251)

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#253)

* added-basic-auth

* removed pass

* added_basic_auth

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#255)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#256)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#257)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#258)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#259)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

* testing from env#3

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#260)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

* testing from env#3

* renamed env for auth

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#261)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

* testing from env#3

* renamed env for auth

* added

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* removed barrier (#262)

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#263)

* removed barrier

* reverting to old code

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#264)

* removed barrier

* reverting to old code

* modified contributor

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#267)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#268)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* Revert "04/sep removing community contrbutor barrier (#268)" (#269)

This reverts commit b52c76c.

* 04/sep removing community contrbutor barrier (#270)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#271)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#272)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#274)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 26/sep token issue (#276)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* added debug statements

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 26/sep token issue (#277)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* added debug statements

* added c4gt_bounty coding etc

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#279)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* Revert "04/sep removing community contrbutor barrier (#279)" (#282)

This reverts commit 9e59683.

* 04/sep removing community contrbutor barrier (#283)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#285)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

---------

Co-authored-by: Shreyash <shreyash.sahare@esmagico.in>
Co-authored-by: jaanbaaz <jaanbaaz.akhtar@esmagico.in>
Co-authored-by: jaanbaaz <106968030+jaanbaaz@users.noreply.github.com>
Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>
praveenkumar911 added a commit that referenced this pull request Nov 24, 2025
* cron poc

* code completion in cron

* create and update checks in adding contributors to a ticket

* sending report to discord bot added

* Cron Fixes Mentor and Contributor

* logs and await added in add_contributors

* user activity calling type changed

* Cron Fixes

* Updated requirements.txt

* code changes for cron token generation

* changes in requirements.txt

* jwt generator and access token changes

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* updated jwt token generator for deploy testing

* updated jwt token generator for deploy testing

* updated requirements.txt for deploy testing

* updated requirements.txt for deploy testing

* updated token generator for deploy testing

* remove jwt to resolve conflict

* trying with local path of pem file to resolve conflict

* updating docker file for pem file

* cleaner

* cleaner

* Removed submodule

* Readded submodule

* Updated Pem location

* Testing - Pem and client id

* pagination and state added to get all apis

* pagination and state added to get all apis

* pagination and state added to get all apis

* 1. Added Access token based requests within handlers.
2. Fixed Issue handler and Pr Handler for cron

* Removed submodule

* Readded submodule

* 1. Mentors data now being fetched from db
2. Since added in comments fetching

* 1. Removed Bot Commenting

* 1. Removed Bot Commenting
2. Added Logger

* 1. Minor fixes for prod deployment
2. Discord Report commented

* 1. Changed cron temporarily to run trigger in batches (#236)

* 1. Handled Exception in Getting Angle Mentor from Markdown Contents

* 1. uncommented PRs from cronjob (#238)

* [Fix] (#240)

1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* Fix/leaderboard (#241)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* Fix/leaderboard (#242)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* Fix/leaderboard (#243)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* Fix/leaderboard (#244)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* Fix/leaderboard (#245)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* Fix/leaderboard (#247)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Added Comments for logic flow in Fetching / Updating Contributor and Angle Mentor in Issue Closed Event.

2. Removed Comments.

3. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* Fix/leaderboard (#248)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Added Comments for logic flow in Fetching / Updating Contributor and Angle Mentor in Issue Closed Event.

2. Removed Comments.

3. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* [Fix]

1. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* Fix/leaderboard (#249)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Added Comments for logic flow in Fetching / Updating Contributor and Angle Mentor in Issue Closed Event.

2. Removed Comments.

3. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* [Fix]

1. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* [Fix]

1. merged_at to be str

* [Fix]

1. Removed duplication handling of merged at

* [Fix]

1. Commenting PR processing from Cron. Todo later - add it as a param in the API whether to process or not

* [FIX]
1. Changed default route response for testing

* added-basic-auth (#251)

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#253)

* added-basic-auth

* removed pass

* added_basic_auth

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#255)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#256)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#257)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#258)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#259)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

* testing from env#3

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#260)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

* testing from env#3

* renamed env for auth

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#261)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

* testing from env#3

* renamed env for auth

* added

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* removed barrier (#262)

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#263)

* removed barrier

* reverting to old code

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#264)

* removed barrier

* reverting to old code

* modified contributor

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#267)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#268)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* Revert "04/sep removing community contrbutor barrier (#268)" (#269)

This reverts commit b52c76c.

* 04/sep removing community contrbutor barrier (#270)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#271)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#272)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#274)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 26/sep token issue (#276)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* added debug statements

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 26/sep token issue (#277)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* added debug statements

* added c4gt_bounty coding etc

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#279)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* Revert "04/sep removing community contrbutor barrier (#279)" (#282)

This reverts commit 9e59683.

* 04/sep removing community contrbutor barrier (#283)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#285)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#287)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

---------

Co-authored-by: Shreyash <shreyash.sahare@esmagico.in>
Co-authored-by: jaanbaaz <jaanbaaz.akhtar@esmagico.in>
Co-authored-by: jaanbaaz <106968030+jaanbaaz@users.noreply.github.com>
Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>
praveenkumar911 added a commit that referenced this pull request Nov 27, 2025
* cron poc

* code completion in cron

* create and update checks in adding contributors to a ticket

* sending report to discord bot added

* Cron Fixes Mentor and Contributor

* logs and await added in add_contributors

* user activity calling type changed

* Cron Fixes

* Updated requirements.txt

* code changes for cron token generation

* changes in requirements.txt

* jwt generator and access token changes

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* updated jwt token generator for deploy testing

* updated jwt token generator for deploy testing

* updated requirements.txt for deploy testing

* updated requirements.txt for deploy testing

* updated token generator for deploy testing

* remove jwt to resolve conflict

* trying with local path of pem file to resolve conflict

* updating docker file for pem file

* cleaner

* cleaner

* Removed submodule

* Readded submodule

* Updated Pem location

* Testing - Pem and client id

* pagination and state added to get all apis

* pagination and state added to get all apis

* pagination and state added to get all apis

* 1. Added Access token based requests within handlers.
2. Fixed Issue handler and Pr Handler for cron

* Removed submodule

* Readded submodule

* 1. Mentors data now being fetched from db
2. Since added in comments fetching

* 1. Removed Bot Commenting

* 1. Removed Bot Commenting
2. Added Logger

* 1. Minor fixes for prod deployment
2. Discord Report commented

* 1. Changed cron temporarily to run trigger in batches (#236)

* 1. Handled Exception in Getting Angle Mentor from Markdown Contents

* 1. uncommented PRs from cronjob (#238)

* [Fix] (#240)

1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* Fix/leaderboard (#241)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* Fix/leaderboard (#242)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* Fix/leaderboard (#243)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* Fix/leaderboard (#244)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* Fix/leaderboard (#245)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* Fix/leaderboard (#247)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Added Comments for logic flow in Fetching / Updating Contributor and Angle Mentor in Issue Closed Event.

2. Removed Comments.

3. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* Fix/leaderboard (#248)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Added Comments for logic flow in Fetching / Updating Contributor and Angle Mentor in Issue Closed Event.

2. Removed Comments.

3. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* [Fix]

1. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* Fix/leaderboard (#249)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Added Comments for logic flow in Fetching / Updating Contributor and Angle Mentor in Issue Closed Event.

2. Removed Comments.

3. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* [Fix]

1. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* [Fix]

1. merged_at to be str

* [Fix]

1. Removed duplication handling of merged at

* [Fix]

1. Commenting PR processing from Cron. Todo later - add it as a param in the API whether to process or not

* [FIX]
1. Changed default route response for testing

* added-basic-auth (#251)

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#253)

* added-basic-auth

* removed pass

* added_basic_auth

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#255)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#256)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#257)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#258)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#259)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

* testing from env#3

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#260)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

* testing from env#3

* renamed env for auth

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#261)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

* testing from env#3

* renamed env for auth

* added

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* removed barrier (#262)

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#263)

* removed barrier

* reverting to old code

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#264)

* removed barrier

* reverting to old code

* modified contributor

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#267)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#268)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* Revert "04/sep removing community contrbutor barrier (#268)" (#269)

This reverts commit b52c76c.

* 04/sep removing community contrbutor barrier (#270)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#271)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#272)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#274)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 26/sep token issue (#276)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* added debug statements

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 26/sep token issue (#277)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* added debug statements

* added c4gt_bounty coding etc

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#279)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* Revert "04/sep removing community contrbutor barrier (#279)" (#282)

This reverts commit 9e59683.

* 04/sep removing community contrbutor barrier (#283)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#285)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#287)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#289)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#291)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* Update app.py

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

---------

Co-authored-by: Shreyash <shreyash.sahare@esmagico.in>
Co-authored-by: jaanbaaz <jaanbaaz.akhtar@esmagico.in>
Co-authored-by: jaanbaaz <106968030+jaanbaaz@users.noreply.github.com>
Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>
praveenkumar911 added a commit that referenced this pull request Nov 27, 2025
* cron poc

* code completion in cron

* create and update checks in adding contributors to a ticket

* sending report to discord bot added

* Cron Fixes Mentor and Contributor

* logs and await added in add_contributors

* user activity calling type changed

* Cron Fixes

* Updated requirements.txt

* code changes for cron token generation

* changes in requirements.txt

* jwt generator and access token changes

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* updated jwt token generator for deploy testing

* updated jwt token generator for deploy testing

* updated requirements.txt for deploy testing

* updated requirements.txt for deploy testing

* updated token generator for deploy testing

* remove jwt to resolve conflict

* trying with local path of pem file to resolve conflict

* updating docker file for pem file

* cleaner

* cleaner

* Removed submodule

* Readded submodule

* Updated Pem location

* Testing - Pem and client id

* pagination and state added to get all apis

* pagination and state added to get all apis

* pagination and state added to get all apis

* 1. Added Access token based requests within handlers.
2. Fixed Issue handler and Pr Handler for cron

* Removed submodule

* Readded submodule

* 1. Mentors data now being fetched from db
2. Since added in comments fetching

* 1. Removed Bot Commenting

* 1. Removed Bot Commenting
2. Added Logger

* 1. Minor fixes for prod deployment
2. Discord Report commented

* 1. Changed cron temporarily to run trigger in batches (#236)

* 1. Handled Exception in Getting Angle Mentor from Markdown Contents

* 1. uncommented PRs from cronjob (#238)

* [Fix] (#240)

1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* Fix/leaderboard (#241)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* Fix/leaderboard (#242)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* Fix/leaderboard (#243)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* Fix/leaderboard (#244)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* Fix/leaderboard (#245)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* Fix/leaderboard (#247)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Added Comments for logic flow in Fetching / Updating Contributor and Angle Mentor in Issue Closed Event.

2. Removed Comments.

3. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* Fix/leaderboard (#248)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Added Comments for logic flow in Fetching / Updating Contributor and Angle Mentor in Issue Closed Event.

2. Removed Comments.

3. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* [Fix]

1. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* Fix/leaderboard (#249)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Added Comments for logic flow in Fetching / Updating Contributor and Angle Mentor in Issue Closed Event.

2. Removed Comments.

3. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* [Fix]

1. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* [Fix]

1. merged_at to be str

* [Fix]

1. Removed duplication handling of merged at

* [Fix]

1. Commenting PR processing from Cron. Todo later - add it as a param in the API whether to process or not

* [FIX]
1. Changed default route response for testing

* added-basic-auth (#251)

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#253)

* added-basic-auth

* removed pass

* added_basic_auth

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#255)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#256)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#257)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#258)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#259)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

* testing from env#3

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#260)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

* testing from env#3

* renamed env for auth

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#261)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

* testing from env#3

* renamed env for auth

* added

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* removed barrier (#262)

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#263)

* removed barrier

* reverting to old code

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#264)

* removed barrier

* reverting to old code

* modified contributor

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#267)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#268)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* Revert "04/sep removing community contrbutor barrier (#268)" (#269)

This reverts commit b52c76c.

* 04/sep removing community contrbutor barrier (#270)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#271)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#272)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#274)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 26/sep token issue (#276)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* added debug statements

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 26/sep token issue (#277)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* added debug statements

* added c4gt_bounty coding etc

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#279)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* Revert "04/sep removing community contrbutor barrier (#279)" (#282)

This reverts commit 9e59683.

* 04/sep removing community contrbutor barrier (#283)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#285)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#287)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#289)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#291)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* Update app.py

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

---------

Co-authored-by: Shreyash <shreyash.sahare@esmagico.in>
Co-authored-by: jaanbaaz <jaanbaaz.akhtar@esmagico.in>
Co-authored-by: jaanbaaz <106968030+jaanbaaz@users.noreply.github.com>
Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>
praveenkumar911 added a commit that referenced this pull request Nov 27, 2025
* cron poc

* code completion in cron

* create and update checks in adding contributors to a ticket

* sending report to discord bot added

* Cron Fixes Mentor and Contributor

* logs and await added in add_contributors

* user activity calling type changed

* Cron Fixes

* Updated requirements.txt

* code changes for cron token generation

* changes in requirements.txt

* jwt generator and access token changes

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* updated jwt token generator for deploy testing

* updated jwt token generator for deploy testing

* updated requirements.txt for deploy testing

* updated requirements.txt for deploy testing

* updated token generator for deploy testing

* remove jwt to resolve conflict

* trying with local path of pem file to resolve conflict

* updating docker file for pem file

* cleaner

* cleaner

* Removed submodule

* Readded submodule

* Updated Pem location

* Testing - Pem and client id

* pagination and state added to get all apis

* pagination and state added to get all apis

* pagination and state added to get all apis

* 1. Added Access token based requests within handlers.
2. Fixed Issue handler and Pr Handler for cron

* Removed submodule

* Readded submodule

* 1. Mentors data now being fetched from db
2. Since added in comments fetching

* 1. Removed Bot Commenting

* 1. Removed Bot Commenting
2. Added Logger

* 1. Minor fixes for prod deployment
2. Discord Report commented

* 1. Changed cron temporarily to run trigger in batches (#236)

* 1. Handled Exception in Getting Angle Mentor from Markdown Contents

* 1. uncommented PRs from cronjob (#238)

* [Fix] (#240)

1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* Fix/leaderboard (#241)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* Fix/leaderboard (#242)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* Fix/leaderboard (#243)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* Fix/leaderboard (#244)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* Fix/leaderboard (#245)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* Fix/leaderboard (#247)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Added Comments for logic flow in Fetching / Updating Contributor and Angle Mentor in Issue Closed Event.

2. Removed Comments.

3. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* Fix/leaderboard (#248)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Added Comments for logic flow in Fetching / Updating Contributor and Angle Mentor in Issue Closed Event.

2. Removed Comments.

3. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* [Fix]

1. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* Fix/leaderboard (#249)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Added Comments for logic flow in Fetching / Updating Contributor and Angle Mentor in Issue Closed Event.

2. Removed Comments.

3. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* [Fix]

1. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* [Fix]

1. merged_at to be str

* [Fix]

1. Removed duplication handling of merged at

* [Fix]

1. Commenting PR processing from Cron. Todo later - add it as a param in the API whether to process or not

* [FIX]
1. Changed default route response for testing

* added-basic-auth (#251)

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#253)

* added-basic-auth

* removed pass

* added_basic_auth

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#255)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#256)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#257)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#258)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#259)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

* testing from env#3

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#260)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

* testing from env#3

* renamed env for auth

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#261)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

* testing from env#3

* renamed env for auth

* added

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* removed barrier (#262)

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#263)

* removed barrier

* reverting to old code

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#264)

* removed barrier

* reverting to old code

* modified contributor

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#267)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#268)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* Revert "04/sep removing community contrbutor barrier (#268)" (#269)

This reverts commit b52c76c.

* 04/sep removing community contrbutor barrier (#270)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#271)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#272)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#274)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 26/sep token issue (#276)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* added debug statements

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 26/sep token issue (#277)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* added debug statements

* added c4gt_bounty coding etc

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#279)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* Revert "04/sep removing community contrbutor barrier (#279)" (#282)

This reverts commit 9e59683.

* 04/sep removing community contrbutor barrier (#283)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#285)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#287)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#289)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#291)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* Update app.py

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#293)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

---------

Co-authored-by: Shreyash <shreyash.sahare@esmagico.in>
Co-authored-by: jaanbaaz <jaanbaaz.akhtar@esmagico.in>
Co-authored-by: jaanbaaz <106968030+jaanbaaz@users.noreply.github.com>
Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>
praveenkumar911 added a commit that referenced this pull request Nov 27, 2025
* cron poc

* code completion in cron

* create and update checks in adding contributors to a ticket

* sending report to discord bot added

* Cron Fixes Mentor and Contributor

* logs and await added in add_contributors

* user activity calling type changed

* Cron Fixes

* Updated requirements.txt

* code changes for cron token generation

* changes in requirements.txt

* jwt generator and access token changes

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* updated jwt token generator for deploy testing

* updated jwt token generator for deploy testing

* updated requirements.txt for deploy testing

* updated requirements.txt for deploy testing

* updated token generator for deploy testing

* remove jwt to resolve conflict

* trying with local path of pem file to resolve conflict

* updating docker file for pem file

* cleaner

* cleaner

* Removed submodule

* Readded submodule

* Updated Pem location

* Testing - Pem and client id

* pagination and state added to get all apis

* pagination and state added to get all apis

* pagination and state added to get all apis

* 1. Added Access token based requests within handlers.
2. Fixed Issue handler and Pr Handler for cron

* Removed submodule

* Readded submodule

* 1. Mentors data now being fetched from db
2. Since added in comments fetching

* 1. Removed Bot Commenting

* 1. Removed Bot Commenting
2. Added Logger

* 1. Minor fixes for prod deployment
2. Discord Report commented

* 1. Changed cron temporarily to run trigger in batches (#236)

* 1. Handled Exception in Getting Angle Mentor from Markdown Contents

* 1. uncommented PRs from cronjob (#238)

* [Fix] (#240)

1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* Fix/leaderboard (#241)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* Fix/leaderboard (#242)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* Fix/leaderboard (#243)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* Fix/leaderboard (#244)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* Fix/leaderboard (#245)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* Fix/leaderboard (#247)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Added Comments for logic flow in Fetching / Updating Contributor and Angle Mentor in Issue Closed Event.

2. Removed Comments.

3. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* Fix/leaderboard (#248)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Added Comments for logic flow in Fetching / Updating Contributor and Angle Mentor in Issue Closed Event.

2. Removed Comments.

3. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* [Fix]

1. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* Fix/leaderboard (#249)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Added Comments for logic flow in Fetching / Updating Contributor and Angle Mentor in Issue Closed Event.

2. Removed Comments.

3. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* [Fix]

1. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* [Fix]

1. merged_at to be str

* [Fix]

1. Removed duplication handling of merged at

* [Fix]

1. Commenting PR processing from Cron. Todo later - add it as a param in the API whether to process or not

* [FIX]
1. Changed default route response for testing

* added-basic-auth (#251)

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#253)

* added-basic-auth

* removed pass

* added_basic_auth

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#255)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#256)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#257)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#258)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#259)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

* testing from env#3

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#260)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

* testing from env#3

* renamed env for auth

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#261)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

* testing from env#3

* renamed env for auth

* added

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* removed barrier (#262)

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#263)

* removed barrier

* reverting to old code

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#264)

* removed barrier

* reverting to old code

* modified contributor

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#267)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#268)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* Revert "04/sep removing community contrbutor barrier (#268)" (#269)

This reverts commit b52c76c.

* 04/sep removing community contrbutor barrier (#270)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#271)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#272)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#274)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 26/sep token issue (#276)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* added debug statements

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 26/sep token issue (#277)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* added debug statements

* added c4gt_bounty coding etc

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#279)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* Revert "04/sep removing community contrbutor barrier (#279)" (#282)

This reverts commit 9e59683.

* 04/sep removing community contrbutor barrier (#283)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#285)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#287)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#289)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#291)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* Update app.py

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#293)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#295)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

---------

Co-authored-by: Shreyash <shreyash.sahare@esmagico.in>
Co-authored-by: jaanbaaz <jaanbaaz.akhtar@esmagico.in>
Co-authored-by: jaanbaaz <106968030+jaanbaaz@users.noreply.github.com>
Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>
praveenkumar911 added a commit that referenced this pull request Nov 27, 2025
* cron poc

* code completion in cron

* create and update checks in adding contributors to a ticket

* sending report to discord bot added

* Cron Fixes Mentor and Contributor

* logs and await added in add_contributors

* user activity calling type changed

* Cron Fixes

* Updated requirements.txt

* code changes for cron token generation

* changes in requirements.txt

* jwt generator and access token changes

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* updated jwt token generator for deploy testing

* updated jwt token generator for deploy testing

* updated requirements.txt for deploy testing

* updated requirements.txt for deploy testing

* updated token generator for deploy testing

* remove jwt to resolve conflict

* trying with local path of pem file to resolve conflict

* updating docker file for pem file

* cleaner

* cleaner

* Removed submodule

* Readded submodule

* Updated Pem location

* Testing - Pem and client id

* pagination and state added to get all apis

* pagination and state added to get all apis

* pagination and state added to get all apis

* 1. Added Access token based requests within handlers.
2. Fixed Issue handler and Pr Handler for cron

* Removed submodule

* Readded submodule

* 1. Mentors data now being fetched from db
2. Since added in comments fetching

* 1. Removed Bot Commenting

* 1. Removed Bot Commenting
2. Added Logger

* 1. Minor fixes for prod deployment
2. Discord Report commented

* 1. Changed cron temporarily to run trigger in batches (#236)

* 1. Handled Exception in Getting Angle Mentor from Markdown Contents

* 1. uncommented PRs from cronjob (#238)

* [Fix] (#240)

1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* Fix/leaderboard (#241)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* Fix/leaderboard (#242)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* Fix/leaderboard (#243)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* Fix/leaderboard (#244)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* Fix/leaderboard (#245)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* Fix/leaderboard (#247)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Added Comments for logic flow in Fetching / Updating Contributor and Angle Mentor in Issue Closed Event.

2. Removed Comments.

3. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* Fix/leaderboard (#248)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Added Comments for logic flow in Fetching / Updating Contributor and Angle Mentor in Issue Closed Event.

2. Removed Comments.

3. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* [Fix]

1. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* Fix/leaderboard (#249)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Added Comments for logic flow in Fetching / Updating Contributor and Angle Mentor in Issue Closed Event.

2. Removed Comments.

3. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* [Fix]

1. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* [Fix]

1. merged_at to be str

* [Fix]

1. Removed duplication handling of merged at

* [Fix]

1. Commenting PR processing from Cron. Todo later - add it as a param in the API whether to process or not

* [FIX]
1. Changed default route response for testing

* added-basic-auth (#251)

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#253)

* added-basic-auth

* removed pass

* added_basic_auth

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#255)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#256)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#257)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#258)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#259)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

* testing from env#3

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#260)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

* testing from env#3

* renamed env for auth

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#261)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

* testing from env#3

* renamed env for auth

* added

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* removed barrier (#262)

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#263)

* removed barrier

* reverting to old code

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#264)

* removed barrier

* reverting to old code

* modified contributor

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#267)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#268)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* Revert "04/sep removing community contrbutor barrier (#268)" (#269)

This reverts commit b52c76c.

* 04/sep removing community contrbutor barrier (#270)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#271)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#272)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#274)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 26/sep token issue (#276)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* added debug statements

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 26/sep token issue (#277)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* added debug statements

* added c4gt_bounty coding etc

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#279)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* Revert "04/sep removing community contrbutor barrier (#279)" (#282)

This reverts commit 9e59683.

* 04/sep removing community contrbutor barrier (#283)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#285)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#287)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#289)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#291)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* Update app.py

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#293)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#295)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#297)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

---------

Co-authored-by: Shreyash <shreyash.sahare@esmagico.in>
Co-authored-by: jaanbaaz <jaanbaaz.akhtar@esmagico.in>
Co-authored-by: jaanbaaz <106968030+jaanbaaz@users.noreply.github.com>
Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>
praveenkumar911 added a commit that referenced this pull request Nov 27, 2025
* cron poc

* code completion in cron

* create and update checks in adding contributors to a ticket

* sending report to discord bot added

* Cron Fixes Mentor and Contributor

* logs and await added in add_contributors

* user activity calling type changed

* Cron Fixes

* Updated requirements.txt

* code changes for cron token generation

* changes in requirements.txt

* jwt generator and access token changes

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* updated jwt token generator for deploy testing

* updated jwt token generator for deploy testing

* updated requirements.txt for deploy testing

* updated requirements.txt for deploy testing

* updated token generator for deploy testing

* remove jwt to resolve conflict

* trying with local path of pem file to resolve conflict

* updating docker file for pem file

* cleaner

* cleaner

* Removed submodule

* Readded submodule

* Updated Pem location

* Testing - Pem and client id

* pagination and state added to get all apis

* pagination and state added to get all apis

* pagination and state added to get all apis

* 1. Added Access token based requests within handlers.
2. Fixed Issue handler and Pr Handler for cron

* Removed submodule

* Readded submodule

* 1. Mentors data now being fetched from db
2. Since added in comments fetching

* 1. Removed Bot Commenting

* 1. Removed Bot Commenting
2. Added Logger

* 1. Minor fixes for prod deployment
2. Discord Report commented

* 1. Changed cron temporarily to run trigger in batches (#236)

* 1. Handled Exception in Getting Angle Mentor from Markdown Contents

* 1. uncommented PRs from cronjob (#238)

* [Fix] (#240)

1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* Fix/leaderboard (#241)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* Fix/leaderboard (#242)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* Fix/leaderboard (#243)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* Fix/leaderboard (#244)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* Fix/leaderboard (#245)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* Fix/leaderboard (#247)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Added Comments for logic flow in Fetching / Updating Contributor and Angle Mentor in Issue Closed Event.

2. Removed Comments.

3. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* Fix/leaderboard (#248)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Added Comments for logic flow in Fetching / Updating Contributor and Angle Mentor in Issue Closed Event.

2. Removed Comments.

3. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* [Fix]

1. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* Fix/leaderboard (#249)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Added Comments for logic flow in Fetching / Updating Contributor and Angle Mentor in Issue Closed Event.

2. Removed Comments.

3. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* [Fix]

1. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* [Fix]

1. merged_at to be str

* [Fix]

1. Removed duplication handling of merged at

* [Fix]

1. Commenting PR processing from Cron. Todo later - add it as a param in the API whether to process or not

* [FIX]
1. Changed default route response for testing

* added-basic-auth (#251)

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#253)

* added-basic-auth

* removed pass

* added_basic_auth

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#255)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#256)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#257)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#258)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#259)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

* testing from env#3

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#260)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

* testing from env#3

* renamed env for auth

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#261)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

* testing from env#3

* renamed env for auth

* added

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* removed barrier (#262)

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#263)

* removed barrier

* reverting to old code

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#264)

* removed barrier

* reverting to old code

* modified contributor

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#267)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#268)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* Revert "04/sep removing community contrbutor barrier (#268)" (#269)

This reverts commit b52c76c.

* 04/sep removing community contrbutor barrier (#270)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#271)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#272)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#274)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 26/sep token issue (#276)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* added debug statements

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 26/sep token issue (#277)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* added debug statements

* added c4gt_bounty coding etc

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#279)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* Revert "04/sep removing community contrbutor barrier (#279)" (#282)

This reverts commit 9e59683.

* 04/sep removing community contrbutor barrier (#283)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#285)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#287)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#289)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#291)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* Update app.py

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#293)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#295)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#297)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#299)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

---------

Co-authored-by: Shreyash <shreyash.sahare@esmagico.in>
Co-authored-by: jaanbaaz <jaanbaaz.akhtar@esmagico.in>
Co-authored-by: jaanbaaz <106968030+jaanbaaz@users.noreply.github.com>
Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>
praveenkumar911 added a commit that referenced this pull request Nov 27, 2025
* cron poc

* code completion in cron

* create and update checks in adding contributors to a ticket

* sending report to discord bot added

* Cron Fixes Mentor and Contributor

* logs and await added in add_contributors

* user activity calling type changed

* Cron Fixes

* Updated requirements.txt

* code changes for cron token generation

* changes in requirements.txt

* jwt generator and access token changes

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* updated jwt token generator for deploy testing

* updated jwt token generator for deploy testing

* updated requirements.txt for deploy testing

* updated requirements.txt for deploy testing

* updated token generator for deploy testing

* remove jwt to resolve conflict

* trying with local path of pem file to resolve conflict

* updating docker file for pem file

* cleaner

* cleaner

* Removed submodule

* Readded submodule

* Updated Pem location

* Testing - Pem and client id

* pagination and state added to get all apis

* pagination and state added to get all apis

* pagination and state added to get all apis

* 1. Added Access token based requests within handlers.
2. Fixed Issue handler and Pr Handler for cron

* Removed submodule

* Readded submodule

* 1. Mentors data now being fetched from db
2. Since added in comments fetching

* 1. Removed Bot Commenting

* 1. Removed Bot Commenting
2. Added Logger

* 1. Minor fixes for prod deployment
2. Discord Report commented

* 1. Changed cron temporarily to run trigger in batches (#236)

* 1. Handled Exception in Getting Angle Mentor from Markdown Contents

* 1. uncommented PRs from cronjob (#238)

* [Fix] (#240)

1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* Fix/leaderboard (#241)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* Fix/leaderboard (#242)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* Fix/leaderboard (#243)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* Fix/leaderboard (#244)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* Fix/leaderboard (#245)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* Fix/leaderboard (#247)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Added Comments for logic flow in Fetching / Updating Contributor and Angle Mentor in Issue Closed Event.

2. Removed Comments.

3. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* Fix/leaderboard (#248)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Added Comments for logic flow in Fetching / Updating Contributor and Angle Mentor in Issue Closed Event.

2. Removed Comments.

3. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* [Fix]

1. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* Fix/leaderboard (#249)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Added Comments for logic flow in Fetching / Updating Contributor and Angle Mentor in Issue Closed Event.

2. Removed Comments.

3. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* [Fix]

1. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* [Fix]

1. merged_at to be str

* [Fix]

1. Removed duplication handling of merged at

* [Fix]

1. Commenting PR processing from Cron. Todo later - add it as a param in the API whether to process or not

* [FIX]
1. Changed default route response for testing

* added-basic-auth (#251)

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#253)

* added-basic-auth

* removed pass

* added_basic_auth

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#255)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#256)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#257)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#258)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#259)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

* testing from env#3

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#260)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

* testing from env#3

* renamed env for auth

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#261)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

* testing from env#3

* renamed env for auth

* added

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* removed barrier (#262)

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#263)

* removed barrier

* reverting to old code

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#264)

* removed barrier

* reverting to old code

* modified contributor

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#267)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#268)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* Revert "04/sep removing community contrbutor barrier (#268)" (#269)

This reverts commit b52c76c.

* 04/sep removing community contrbutor barrier (#270)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#271)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#272)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#274)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 26/sep token issue (#276)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* added debug statements

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 26/sep token issue (#277)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* added debug statements

* added c4gt_bounty coding etc

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#279)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* Revert "04/sep removing community contrbutor barrier (#279)" (#282)

This reverts commit 9e59683.

* 04/sep removing community contrbutor barrier (#283)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#285)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#287)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#289)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#291)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* Update app.py

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#293)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#295)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#297)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#299)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#301)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#303)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

---------

Co-authored-by: Shreyash <shreyash.sahare@esmagico.in>
Co-authored-by: jaanbaaz <jaanbaaz.akhtar@esmagico.in>
Co-authored-by: jaanbaaz <106968030+jaanbaaz@users.noreply.github.com>
Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>
praveenkumar911 added a commit that referenced this pull request Nov 27, 2025
* cron poc

* code completion in cron

* create and update checks in adding contributors to a ticket

* sending report to discord bot added

* Cron Fixes Mentor and Contributor

* logs and await added in add_contributors

* user activity calling type changed

* Cron Fixes

* Updated requirements.txt

* code changes for cron token generation

* changes in requirements.txt

* jwt generator and access token changes

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* updated jwt token generator for deploy testing

* updated jwt token generator for deploy testing

* updated requirements.txt for deploy testing

* updated requirements.txt for deploy testing

* updated token generator for deploy testing

* remove jwt to resolve conflict

* trying with local path of pem file to resolve conflict

* updating docker file for pem file

* cleaner

* cleaner

* Removed submodule

* Readded submodule

* Updated Pem location

* Testing - Pem and client id

* pagination and state added to get all apis

* pagination and state added to get all apis

* pagination and state added to get all apis

* 1. Added Access token based requests within handlers.
2. Fixed Issue handler and Pr Handler for cron

* Removed submodule

* Readded submodule

* 1. Mentors data now being fetched from db
2. Since added in comments fetching

* 1. Removed Bot Commenting

* 1. Removed Bot Commenting
2. Added Logger

* 1. Minor fixes for prod deployment
2. Discord Report commented

* 1. Changed cron temporarily to run trigger in batches (#236)

* 1. Handled Exception in Getting Angle Mentor from Markdown Contents

* 1. uncommented PRs from cronjob (#238)

* [Fix] (#240)

1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* Fix/leaderboard (#241)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* Fix/leaderboard (#242)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* Fix/leaderboard (#243)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* Fix/leaderboard (#244)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* Fix/leaderboard (#245)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* Fix/leaderboard (#247)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Added Comments for logic flow in Fetching / Updating Contributor and Angle Mentor in Issue Closed Event.

2. Removed Comments.

3. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* Fix/leaderboard (#248)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Added Comments for logic flow in Fetching / Updating Contributor and Angle Mentor in Issue Closed Event.

2. Removed Comments.

3. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* [Fix]

1. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* Fix/leaderboard (#249)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Added Comments for logic flow in Fetching / Updating Contributor and Angle Mentor in Issue Closed Event.

2. Removed Comments.

3. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* [Fix]

1. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* [Fix]

1. merged_at to be str

* [Fix]

1. Removed duplication handling of merged at

* [Fix]

1. Commenting PR processing from Cron. Todo later - add it as a param in the API whether to process or not

* [FIX]
1. Changed default route response for testing

* added-basic-auth (#251)

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#253)

* added-basic-auth

* removed pass

* added_basic_auth

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#255)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#256)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#257)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#258)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#259)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

* testing from env#3

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#260)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

* testing from env#3

* renamed env for auth

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#261)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

* testing from env#3

* renamed env for auth

* added

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* removed barrier (#262)

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#263)

* removed barrier

* reverting to old code

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#264)

* removed barrier

* reverting to old code

* modified contributor

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#267)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#268)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* Revert "04/sep removing community contrbutor barrier (#268)" (#269)

This reverts commit b52c76c.

* 04/sep removing community contrbutor barrier (#270)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#271)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#272)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#274)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 26/sep token issue (#276)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* added debug statements

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 26/sep token issue (#277)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* added debug statements

* added c4gt_bounty coding etc

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#279)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* Revert "04/sep removing community contrbutor barrier (#279)" (#282)

This reverts commit 9e59683.

* 04/sep removing community contrbutor barrier (#283)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#285)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#287)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#289)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#291)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* Update app.py

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#293)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#295)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#297)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#299)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#301)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#303)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#305)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

---------

Co-authored-by: Shreyash <shreyash.sahare@esmagico.in>
Co-authored-by: jaanbaaz <jaanbaaz.akhtar@esmagico.in>
Co-authored-by: jaanbaaz <106968030+jaanbaaz@users.noreply.github.com>
Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>
praveenkumar911 added a commit that referenced this pull request Nov 27, 2025
* cron poc

* code completion in cron

* create and update checks in adding contributors to a ticket

* sending report to discord bot added

* Cron Fixes Mentor and Contributor

* logs and await added in add_contributors

* user activity calling type changed

* Cron Fixes

* Updated requirements.txt

* code changes for cron token generation

* changes in requirements.txt

* jwt generator and access token changes

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* updated jwt token generator for deploy testing

* updated jwt token generator for deploy testing

* updated requirements.txt for deploy testing

* updated requirements.txt for deploy testing

* updated token generator for deploy testing

* remove jwt to resolve conflict

* trying with local path of pem file to resolve conflict

* updating docker file for pem file

* cleaner

* cleaner

* Removed submodule

* Readded submodule

* Updated Pem location

* Testing - Pem and client id

* pagination and state added to get all apis

* pagination and state added to get all apis

* pagination and state added to get all apis

* 1. Added Access token based requests within handlers.
2. Fixed Issue handler and Pr Handler for cron

* Removed submodule

* Readded submodule

* 1. Mentors data now being fetched from db
2. Since added in comments fetching

* 1. Removed Bot Commenting

* 1. Removed Bot Commenting
2. Added Logger

* 1. Minor fixes for prod deployment
2. Discord Report commented

* 1. Changed cron temporarily to run trigger in batches (#236)

* 1. Handled Exception in Getting Angle Mentor from Markdown Contents

* 1. uncommented PRs from cronjob (#238)

* [Fix] (#240)

1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* Fix/leaderboard (#241)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* Fix/leaderboard (#242)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* Fix/leaderboard (#243)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* Fix/leaderboard (#244)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* Fix/leaderboard (#245)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* Fix/leaderboard (#247)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Added Comments for logic flow in Fetching / Updating Contributor and Angle Mentor in Issue Closed Event.

2. Removed Comments.

3. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* Fix/leaderboard (#248)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Added Comments for logic flow in Fetching / Updating Contributor and Angle Mentor in Issue Closed Event.

2. Removed Comments.

3. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* [Fix]

1. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* Fix/leaderboard (#249)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Added Comments for logic flow in Fetching / Updating Contributor and Angle Mentor in Issue Closed Event.

2. Removed Comments.

3. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* [Fix]

1. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* [Fix]

1. merged_at to be str

* [Fix]

1. Removed duplication handling of merged at

* [Fix]

1. Commenting PR processing from Cron. Todo later - add it as a param in the API whether to process or not

* [FIX]
1. Changed default route response for testing

* added-basic-auth (#251)

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#253)

* added-basic-auth

* removed pass

* added_basic_auth

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#255)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#256)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#257)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#258)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#259)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

* testing from env#3

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#260)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

* testing from env#3

* renamed env for auth

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#261)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

* testing from env#3

* renamed env for auth

* added

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* removed barrier (#262)

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#263)

* removed barrier

* reverting to old code

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#264)

* removed barrier

* reverting to old code

* modified contributor

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#267)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#268)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* Revert "04/sep removing community contrbutor barrier (#268)" (#269)

This reverts commit b52c76c.

* 04/sep removing community contrbutor barrier (#270)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#271)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#272)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#274)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 26/sep token issue (#276)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* added debug statements

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 26/sep token issue (#277)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* added debug statements

* added c4gt_bounty coding etc

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#279)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* Revert "04/sep removing community contrbutor barrier (#279)" (#282)

This reverts commit 9e59683.

* 04/sep removing community contrbutor barrier (#283)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#285)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#287)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#289)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#291)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* Update app.py

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#293)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#295)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#297)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#299)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#301)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#303)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#305)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#307)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

---------

Co-authored-by: Shreyash <shreyash.sahare@esmagico.in>
Co-authored-by: jaanbaaz <jaanbaaz.akhtar@esmagico.in>
Co-authored-by: jaanbaaz <106968030+jaanbaaz@users.noreply.github.com>
Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>
praveenkumar911 added a commit that referenced this pull request Nov 27, 2025
* cron poc

* code completion in cron

* create and update checks in adding contributors to a ticket

* sending report to discord bot added

* Cron Fixes Mentor and Contributor

* logs and await added in add_contributors

* user activity calling type changed

* Cron Fixes

* Updated requirements.txt

* code changes for cron token generation

* changes in requirements.txt

* jwt generator and access token changes

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* updated jwt token generator for deploy testing

* updated jwt token generator for deploy testing

* updated requirements.txt for deploy testing

* updated requirements.txt for deploy testing

* updated token generator for deploy testing

* remove jwt to resolve conflict

* trying with local path of pem file to resolve conflict

* updating docker file for pem file

* cleaner

* cleaner

* Removed submodule

* Readded submodule

* Updated Pem location

* Testing - Pem and client id

* pagination and state added to get all apis

* pagination and state added to get all apis

* pagination and state added to get all apis

* 1. Added Access token based requests within handlers.
2. Fixed Issue handler and Pr Handler for cron

* Removed submodule

* Readded submodule

* 1. Mentors data now being fetched from db
2. Since added in comments fetching

* 1. Removed Bot Commenting

* 1. Removed Bot Commenting
2. Added Logger

* 1. Minor fixes for prod deployment
2. Discord Report commented

* 1. Changed cron temporarily to run trigger in batches (#236)

* 1. Handled Exception in Getting Angle Mentor from Markdown Contents

* 1. uncommented PRs from cronjob (#238)

* [Fix] (#240)

1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* Fix/leaderboard (#241)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* Fix/leaderboard (#242)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* Fix/leaderboard (#243)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* Fix/leaderboard (#244)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* Fix/leaderboard (#245)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* Fix/leaderboard (#247)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Added Comments for logic flow in Fetching / Updating Contributor and Angle Mentor in Issue Closed Event.

2. Removed Comments.

3. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* Fix/leaderboard (#248)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Added Comments for logic flow in Fetching / Updating Contributor and Angle Mentor in Issue Closed Event.

2. Removed Comments.

3. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* [Fix]

1. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* Fix/leaderboard (#249)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Added Comments for logic flow in Fetching / Updating Contributor and Angle Mentor in Issue Closed Event.

2. Removed Comments.

3. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* [Fix]

1. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* [Fix]

1. merged_at to be str

* [Fix]

1. Removed duplication handling of merged at

* [Fix]

1. Commenting PR processing from Cron. Todo later - add it as a param in the API whether to process or not

* [FIX]
1. Changed default route response for testing

* added-basic-auth (#251)

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#253)

* added-basic-auth

* removed pass

* added_basic_auth

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#255)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#256)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#257)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#258)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#259)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

* testing from env#3

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#260)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

* testing from env#3

* renamed env for auth

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#261)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

* testing from env#3

* renamed env for auth

* added

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* removed barrier (#262)

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#263)

* removed barrier

* reverting to old code

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#264)

* removed barrier

* reverting to old code

* modified contributor

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#267)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#268)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* Revert "04/sep removing community contrbutor barrier (#268)" (#269)

This reverts commit b52c76c.

* 04/sep removing community contrbutor barrier (#270)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#271)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#272)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#274)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 26/sep token issue (#276)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* added debug statements

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 26/sep token issue (#277)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* added debug statements

* added c4gt_bounty coding etc

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#279)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* Revert "04/sep removing community contrbutor barrier (#279)" (#282)

This reverts commit 9e59683.

* 04/sep removing community contrbutor barrier (#283)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#285)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#287)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#289)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#291)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* Update app.py

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#293)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#295)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#297)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#299)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#301)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#303)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#305)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#307)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#309)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

---------

Co-authored-by: Shreyash <shreyash.sahare@esmagico.in>
Co-authored-by: jaanbaaz <jaanbaaz.akhtar@esmagico.in>
Co-authored-by: jaanbaaz <106968030+jaanbaaz@users.noreply.github.com>
Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>
praveenkumar911 added a commit that referenced this pull request Nov 27, 2025
* cron poc

* code completion in cron

* create and update checks in adding contributors to a ticket

* sending report to discord bot added

* Cron Fixes Mentor and Contributor

* logs and await added in add_contributors

* user activity calling type changed

* Cron Fixes

* Updated requirements.txt

* code changes for cron token generation

* changes in requirements.txt

* jwt generator and access token changes

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* updated jwt token generator for deploy testing

* updated jwt token generator for deploy testing

* updated requirements.txt for deploy testing

* updated requirements.txt for deploy testing

* updated token generator for deploy testing

* remove jwt to resolve conflict

* trying with local path of pem file to resolve conflict

* updating docker file for pem file

* cleaner

* cleaner

* Removed submodule

* Readded submodule

* Updated Pem location

* Testing - Pem and client id

* pagination and state added to get all apis

* pagination and state added to get all apis

* pagination and state added to get all apis

* 1. Added Access token based requests within handlers.
2. Fixed Issue handler and Pr Handler for cron

* Removed submodule

* Readded submodule

* 1. Mentors data now being fetched from db
2. Since added in comments fetching

* 1. Removed Bot Commenting

* 1. Removed Bot Commenting
2. Added Logger

* 1. Minor fixes for prod deployment
2. Discord Report commented

* 1. Changed cron temporarily to run trigger in batches (#236)

* 1. Handled Exception in Getting Angle Mentor from Markdown Contents

* 1. uncommented PRs from cronjob (#238)

* [Fix] (#240)

1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* Fix/leaderboard (#241)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* Fix/leaderboard (#242)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* Fix/leaderboard (#243)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* Fix/leaderboard (#244)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* Fix/leaderboard (#245)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* Fix/leaderboard (#247)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Added Comments for logic flow in Fetching / Updating Contributor and Angle Mentor in Issue Closed Event.

2. Removed Comments.

3. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* Fix/leaderboard (#248)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Added Comments for logic flow in Fetching / Updating Contributor and Angle Mentor in Issue Closed Event.

2. Removed Comments.

3. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* [Fix]

1. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* Fix/leaderboard (#249)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Added Comments for logic flow in Fetching / Updating Contributor and Angle Mentor in Issue Closed Event.

2. Removed Comments.

3. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* [Fix]

1. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* [Fix]

1. merged_at to be str

* [Fix]

1. Removed duplication handling of merged at

* [Fix]

1. Commenting PR processing from Cron. Todo later - add it as a param in the API whether to process or not

* [FIX]
1. Changed default route response for testing

* added-basic-auth (#251)

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#253)

* added-basic-auth

* removed pass

* added_basic_auth

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#255)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#256)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#257)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#258)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#259)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

* testing from env#3

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#260)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

* testing from env#3

* renamed env for auth

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#261)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

* testing from env#3

* renamed env for auth

* added

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* removed barrier (#262)

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#263)

* removed barrier

* reverting to old code

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#264)

* removed barrier

* reverting to old code

* modified contributor

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#267)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#268)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* Revert "04/sep removing community contrbutor barrier (#268)" (#269)

This reverts commit b52c76c.

* 04/sep removing community contrbutor barrier (#270)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#271)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#272)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#274)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 26/sep token issue (#276)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* added debug statements

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 26/sep token issue (#277)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* added debug statements

* added c4gt_bounty coding etc

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#279)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* Revert "04/sep removing community contrbutor barrier (#279)" (#282)

This reverts commit 9e59683.

* 04/sep removing community contrbutor barrier (#283)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#285)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#287)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#289)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#291)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* Update app.py

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#293)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#295)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#297)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#299)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#301)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#303)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#305)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#307)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#309)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#312)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

---------

Co-authored-by: Shreyash <shreyash.sahare@esmagico.in>
Co-authored-by: jaanbaaz <jaanbaaz.akhtar@esmagico.in>
Co-authored-by: jaanbaaz <106968030+jaanbaaz@users.noreply.github.com>
Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>
praveenkumar911 added a commit that referenced this pull request Nov 27, 2025
* cron poc

* code completion in cron

* create and update checks in adding contributors to a ticket

* sending report to discord bot added

* Cron Fixes Mentor and Contributor

* logs and await added in add_contributors

* user activity calling type changed

* Cron Fixes

* Updated requirements.txt

* code changes for cron token generation

* changes in requirements.txt

* jwt generator and access token changes

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* updated jwt token generator for deploy testing

* updated jwt token generator for deploy testing

* updated requirements.txt for deploy testing

* updated requirements.txt for deploy testing

* updated token generator for deploy testing

* remove jwt to resolve conflict

* trying with local path of pem file to resolve conflict

* updating docker file for pem file

* cleaner

* cleaner

* Removed submodule

* Readded submodule

* Updated Pem location

* Testing - Pem and client id

* pagination and state added to get all apis

* pagination and state added to get all apis

* pagination and state added to get all apis

* 1. Added Access token based requests within handlers.
2. Fixed Issue handler and Pr Handler for cron

* Removed submodule

* Readded submodule

* 1. Mentors data now being fetched from db
2. Since added in comments fetching

* 1. Removed Bot Commenting

* 1. Removed Bot Commenting
2. Added Logger

* 1. Minor fixes for prod deployment
2. Discord Report commented

* 1. Changed cron temporarily to run trigger in batches (#236)

* 1. Handled Exception in Getting Angle Mentor from Markdown Contents

* 1. uncommented PRs from cronjob (#238)

* [Fix] (#240)

1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* Fix/leaderboard (#241)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* Fix/leaderboard (#242)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* Fix/leaderboard (#243)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* Fix/leaderboard (#244)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* Fix/leaderboard (#245)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* Fix/leaderboard (#247)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Added Comments for logic flow in Fetching / Updating Contributor and Angle Mentor in Issue Closed Event.

2. Removed Comments.

3. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* Fix/leaderboard (#248)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Added Comments for logic flow in Fetching / Updating Contributor and Angle Mentor in Issue Closed Event.

2. Removed Comments.

3. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* [Fix]

1. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* Fix/leaderboard (#249)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Added Comments for logic flow in Fetching / Updating Contributor and Angle Mentor in Issue Closed Event.

2. Removed Comments.

3. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* [Fix]

1. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* [Fix]

1. merged_at to be str

* [Fix]

1. Removed duplication handling of merged at

* [Fix]

1. Commenting PR processing from Cron. Todo later - add it as a param in the API whether to process or not

* [FIX]
1. Changed default route response for testing

* added-basic-auth (#251)

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#253)

* added-basic-auth

* removed pass

* added_basic_auth

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#255)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#256)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#257)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#258)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#259)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

* testing from env#3

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#260)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

* testing from env#3

* renamed env for auth

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#261)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

* testing from env#3

* renamed env for auth

* added

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* removed barrier (#262)

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#263)

* removed barrier

* reverting to old code

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#264)

* removed barrier

* reverting to old code

* modified contributor

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#267)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#268)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* Revert "04/sep removing community contrbutor barrier (#268)" (#269)

This reverts commit b52c76c.

* 04/sep removing community contrbutor barrier (#270)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#271)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#272)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#274)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 26/sep token issue (#276)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* added debug statements

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 26/sep token issue (#277)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* added debug statements

* added c4gt_bounty coding etc

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#279)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* Revert "04/sep removing community contrbutor barrier (#279)" (#282)

This reverts commit 9e59683.

* 04/sep removing community contrbutor barrier (#283)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#285)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#287)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#289)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#291)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* Update app.py

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#293)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#295)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#297)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#299)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#301)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#303)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#305)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#307)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#309)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#312)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#314)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

---------

Co-authored-by: Shreyash <shreyash.sahare@esmagico.in>
Co-authored-by: jaanbaaz <jaanbaaz.akhtar@esmagico.in>
Co-authored-by: jaanbaaz <106968030+jaanbaaz@users.noreply.github.com>
Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>
praveenkumar911 added a commit that referenced this pull request Dec 15, 2025
* cron poc

* code completion in cron

* create and update checks in adding contributors to a ticket

* sending report to discord bot added

* Cron Fixes Mentor and Contributor

* logs and await added in add_contributors

* user activity calling type changed

* Cron Fixes

* Updated requirements.txt

* code changes for cron token generation

* changes in requirements.txt

* jwt generator and access token changes

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* updated jwt token generator for deploy testing

* updated jwt token generator for deploy testing

* updated requirements.txt for deploy testing

* updated requirements.txt for deploy testing

* updated token generator for deploy testing

* remove jwt to resolve conflict

* trying with local path of pem file to resolve conflict

* updating docker file for pem file

* cleaner

* cleaner

* Removed submodule

* Readded submodule

* Updated Pem location

* Testing - Pem and client id

* pagination and state added to get all apis

* pagination and state added to get all apis

* pagination and state added to get all apis

* 1. Added Access token based requests within handlers.
2. Fixed Issue handler and Pr Handler for cron

* Removed submodule

* Readded submodule

* 1. Mentors data now being fetched from db
2. Since added in comments fetching

* 1. Removed Bot Commenting

* 1. Removed Bot Commenting
2. Added Logger

* 1. Minor fixes for prod deployment
2. Discord Report commented

* 1. Changed cron temporarily to run trigger in batches (#236)

* 1. Handled Exception in Getting Angle Mentor from Markdown Contents

* 1. uncommented PRs from cronjob (#238)

* [Fix] (#240)

1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* Fix/leaderboard (#241)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* Fix/leaderboard (#242)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* Fix/leaderboard (#243)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* Fix/leaderboard (#244)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* Fix/leaderboard (#245)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* Fix/leaderboard (#247)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Added Comments for logic flow in Fetching / Updating Contributor and Angle Mentor in Issue Closed Event.

2. Removed Comments.

3. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* Fix/leaderboard (#248)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Added Comments for logic flow in Fetching / Updating Contributor and Angle Mentor in Issue Closed Event.

2. Removed Comments.

3. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* [Fix]

1. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* Fix/leaderboard (#249)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Added Comments for logic flow in Fetching / Updating Contributor and Angle Mentor in Issue Closed Event.

2. Removed Comments.

3. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* [Fix]

1. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* [Fix]

1. merged_at to be str

* [Fix]

1. Removed duplication handling of merged at

* [Fix]

1. Commenting PR processing from Cron. Todo later - add it as a param in the API whether to process or not

* [FIX]
1. Changed default route response for testing

* added-basic-auth (#251)

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#253)

* added-basic-auth

* removed pass

* added_basic_auth

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#255)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#256)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#257)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#258)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#259)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

* testing from env#3

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#260)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

* testing from env#3

* renamed env for auth

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#261)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

* testing from env#3

* renamed env for auth

* added

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* removed barrier (#262)

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#263)

* removed barrier

* reverting to old code

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#264)

* removed barrier

* reverting to old code

* modified contributor

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#267)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#268)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* Revert "04/sep removing community contrbutor barrier (#268)" (#269)

This reverts commit b52c76c.

* 04/sep removing community contrbutor barrier (#270)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#271)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#272)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#274)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 26/sep token issue (#276)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* added debug statements

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 26/sep token issue (#277)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* added debug statements

* added c4gt_bounty coding etc

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#279)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* Revert "04/sep removing community contrbutor barrier (#279)" (#282)

This reverts commit 9e59683.

* 04/sep removing community contrbutor barrier (#283)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#285)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#287)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#289)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#291)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* Update app.py

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#293)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#295)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#297)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#299)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#301)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#303)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#305)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#307)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#309)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#312)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#314)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#316)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* program-tickets

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

---------

Co-authored-by: Shreyash <shreyash.sahare@esmagico.in>
Co-authored-by: jaanbaaz <jaanbaaz.akhtar@esmagico.in>
Co-authored-by: jaanbaaz <106968030+jaanbaaz@users.noreply.github.com>
Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>
praveenkumar911 added a commit that referenced this pull request Dec 15, 2025
* cron poc

* code completion in cron

* create and update checks in adding contributors to a ticket

* sending report to discord bot added

* Cron Fixes Mentor and Contributor

* logs and await added in add_contributors

* user activity calling type changed

* Cron Fixes

* Updated requirements.txt

* code changes for cron token generation

* changes in requirements.txt

* jwt generator and access token changes

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* updated jwt token generator for deploy testing

* updated jwt token generator for deploy testing

* updated requirements.txt for deploy testing

* updated requirements.txt for deploy testing

* updated token generator for deploy testing

* remove jwt to resolve conflict

* trying with local path of pem file to resolve conflict

* updating docker file for pem file

* cleaner

* cleaner

* Removed submodule

* Readded submodule

* Updated Pem location

* Testing - Pem and client id

* pagination and state added to get all apis

* pagination and state added to get all apis

* pagination and state added to get all apis

* 1. Added Access token based requests within handlers.
2. Fixed Issue handler and Pr Handler for cron

* Removed submodule

* Readded submodule

* 1. Mentors data now being fetched from db
2. Since added in comments fetching

* 1. Removed Bot Commenting

* 1. Removed Bot Commenting
2. Added Logger

* 1. Minor fixes for prod deployment
2. Discord Report commented

* 1. Changed cron temporarily to run trigger in batches (#236)

* 1. Handled Exception in Getting Angle Mentor from Markdown Contents

* 1. uncommented PRs from cronjob (#238)

* [Fix] (#240)

1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* Fix/leaderboard (#241)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* Fix/leaderboard (#242)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* Fix/leaderboard (#243)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* Fix/leaderboard (#244)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* Fix/leaderboard (#245)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* Fix/leaderboard (#247)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Added Comments for logic flow in Fetching / Updating Contributor and Angle Mentor in Issue Closed Event.

2. Removed Comments.

3. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* Fix/leaderboard (#248)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Added Comments for logic flow in Fetching / Updating Contributor and Angle Mentor in Issue Closed Event.

2. Removed Comments.

3. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* [Fix]

1. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* Fix/leaderboard (#249)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Added Comments for logic flow in Fetching / Updating Contributor and Angle Mentor in Issue Closed Event.

2. Removed Comments.

3. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* [Fix]

1. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* [Fix]

1. merged_at to be str

* [Fix]

1. Removed duplication handling of merged at

* [Fix]

1. Commenting PR processing from Cron. Todo later - add it as a param in the API whether to process or not

* [FIX]
1. Changed default route response for testing

* added-basic-auth (#251)

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#253)

* added-basic-auth

* removed pass

* added_basic_auth

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#255)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#256)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#257)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#258)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#259)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

* testing from env#3

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#260)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

* testing from env#3

* renamed env for auth

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#261)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

* testing from env#3

* renamed env for auth

* added

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* removed barrier (#262)

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#263)

* removed barrier

* reverting to old code

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#264)

* removed barrier

* reverting to old code

* modified contributor

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#267)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#268)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* Revert "04/sep removing community contrbutor barrier (#268)" (#269)

This reverts commit b52c76c.

* 04/sep removing community contrbutor barrier (#270)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#271)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#272)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#274)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 26/sep token issue (#276)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* added debug statements

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 26/sep token issue (#277)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* added debug statements

* added c4gt_bounty coding etc

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#279)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* Revert "04/sep removing community contrbutor barrier (#279)" (#282)

This reverts commit 9e59683.

* 04/sep removing community contrbutor barrier (#283)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#285)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#287)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#289)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#291)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* Update app.py

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#293)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#295)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#297)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#299)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#301)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#303)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#305)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#307)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#309)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#312)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#314)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#316)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* program-tickets

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

---------

Co-authored-by: Shreyash <shreyash.sahare@esmagico.in>
Co-authored-by: jaanbaaz <jaanbaaz.akhtar@esmagico.in>
Co-authored-by: jaanbaaz <106968030+jaanbaaz@users.noreply.github.com>
Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>
praveenkumar911 added a commit that referenced this pull request Dec 15, 2025
* cron poc

* code completion in cron

* create and update checks in adding contributors to a ticket

* sending report to discord bot added

* Cron Fixes Mentor and Contributor

* logs and await added in add_contributors

* user activity calling type changed

* Cron Fixes

* Updated requirements.txt

* code changes for cron token generation

* changes in requirements.txt

* jwt generator and access token changes

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* updated jwt token generator for deploy testing

* updated jwt token generator for deploy testing

* updated requirements.txt for deploy testing

* updated requirements.txt for deploy testing

* updated token generator for deploy testing

* remove jwt to resolve conflict

* trying with local path of pem file to resolve conflict

* updating docker file for pem file

* cleaner

* cleaner

* Removed submodule

* Readded submodule

* Updated Pem location

* Testing - Pem and client id

* pagination and state added to get all apis

* pagination and state added to get all apis

* pagination and state added to get all apis

* 1. Added Access token based requests within handlers.
2. Fixed Issue handler and Pr Handler for cron

* Removed submodule

* Readded submodule

* 1. Mentors data now being fetched from db
2. Since added in comments fetching

* 1. Removed Bot Commenting

* 1. Removed Bot Commenting
2. Added Logger

* 1. Minor fixes for prod deployment
2. Discord Report commented

* 1. Changed cron temporarily to run trigger in batches (#236)

* 1. Handled Exception in Getting Angle Mentor from Markdown Contents

* 1. uncommented PRs from cronjob (#238)

* [Fix] (#240)

1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* Fix/leaderboard (#241)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* Fix/leaderboard (#242)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* Fix/leaderboard (#243)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* Fix/leaderboard (#244)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* Fix/leaderboard (#245)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* Fix/leaderboard (#247)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Added Comments for logic flow in Fetching / Updating Contributor and Angle Mentor in Issue Closed Event.

2. Removed Comments.

3. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* Fix/leaderboard (#248)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Added Comments for logic flow in Fetching / Updating Contributor and Angle Mentor in Issue Closed Event.

2. Removed Comments.

3. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* [Fix]

1. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* Fix/leaderboard (#249)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Added Comments for logic flow in Fetching / Updating Contributor and Angle Mentor in Issue Closed Event.

2. Removed Comments.

3. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* [Fix]

1. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* [Fix]

1. merged_at to be str

* [Fix]

1. Removed duplication handling of merged at

* [Fix]

1. Commenting PR processing from Cron. Todo later - add it as a param in the API whether to process or not

* [FIX]
1. Changed default route response for testing

* added-basic-auth (#251)

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#253)

* added-basic-auth

* removed pass

* added_basic_auth

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#255)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#256)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#257)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#258)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#259)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

* testing from env#3

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#260)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

* testing from env#3

* renamed env for auth

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#261)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

* testing from env#3

* renamed env for auth

* added

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* removed barrier (#262)

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#263)

* removed barrier

* reverting to old code

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#264)

* removed barrier

* reverting to old code

* modified contributor

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#267)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#268)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* Revert "04/sep removing community contrbutor barrier (#268)" (#269)

This reverts commit b52c76c.

* 04/sep removing community contrbutor barrier (#270)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#271)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#272)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#274)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 26/sep token issue (#276)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* added debug statements

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 26/sep token issue (#277)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* added debug statements

* added c4gt_bounty coding etc

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#279)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* Revert "04/sep removing community contrbutor barrier (#279)" (#282)

This reverts commit 9e59683.

* 04/sep removing community contrbutor barrier (#283)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#285)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#287)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#289)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#291)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* Update app.py

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#293)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#295)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#297)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#299)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#301)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#303)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#305)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#307)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#309)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#312)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#314)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#316)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* program-tickets

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#318)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* program-tickets

* program tickets

* program tickets

* program tickets

* program tickets

* changed api

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#320)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* program-tickets

* program tickets

* program tickets

* program tickets

* program tickets

* changed api

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

---------

Co-authored-by: Shreyash <shreyash.sahare@esmagico.in>
Co-authored-by: jaanbaaz <jaanbaaz.akhtar@esmagico.in>
Co-authored-by: jaanbaaz <106968030+jaanbaaz@users.noreply.github.com>
Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>
praveenkumar911 added a commit that referenced this pull request Dec 15, 2025
* cron poc

* code completion in cron

* create and update checks in adding contributors to a ticket

* sending report to discord bot added

* Cron Fixes Mentor and Contributor

* logs and await added in add_contributors

* user activity calling type changed

* Cron Fixes

* Updated requirements.txt

* code changes for cron token generation

* changes in requirements.txt

* jwt generator and access token changes

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* updated jwt token generator for deploy testing

* updated jwt token generator for deploy testing

* updated requirements.txt for deploy testing

* updated requirements.txt for deploy testing

* updated token generator for deploy testing

* remove jwt to resolve conflict

* trying with local path of pem file to resolve conflict

* updating docker file for pem file

* cleaner

* cleaner

* Removed submodule

* Readded submodule

* Updated Pem location

* Testing - Pem and client id

* pagination and state added to get all apis

* pagination and state added to get all apis

* pagination and state added to get all apis

* 1. Added Access token based requests within handlers.
2. Fixed Issue handler and Pr Handler for cron

* Removed submodule

* Readded submodule

* 1. Mentors data now being fetched from db
2. Since added in comments fetching

* 1. Removed Bot Commenting

* 1. Removed Bot Commenting
2. Added Logger

* 1. Minor fixes for prod deployment
2. Discord Report commented

* 1. Changed cron temporarily to run trigger in batches (#236)

* 1. Handled Exception in Getting Angle Mentor from Markdown Contents

* 1. uncommented PRs from cronjob (#238)

* [Fix] (#240)

1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* Fix/leaderboard (#241)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* Fix/leaderboard (#242)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* Fix/leaderboard (#243)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* Fix/leaderboard (#244)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* Fix/leaderboard (#245)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* Fix/leaderboard (#247)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Added Comments for logic flow in Fetching / Updating Contributor and Angle Mentor in Issue Closed Event.

2. Removed Comments.

3. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* Fix/leaderboard (#248)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Added Comments for logic flow in Fetching / Updating Contributor and Angle Mentor in Issue Closed Event.

2. Removed Comments.

3. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* [Fix]

1. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* Fix/leaderboard (#249)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Added Comments for logic flow in Fetching / Updating Contributor and Angle Mentor in Issue Closed Event.

2. Removed Comments.

3. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* [Fix]

1. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* [Fix]

1. merged_at to be str

* [Fix]

1. Removed duplication handling of merged at

* [Fix]

1. Commenting PR processing from Cron. Todo later - add it as a param in the API whether to process or not

* [FIX]
1. Changed default route response for testing

* added-basic-auth (#251)

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#253)

* added-basic-auth

* removed pass

* added_basic_auth

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#255)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#256)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#257)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#258)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#259)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

* testing from env#3

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#260)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

* testing from env#3

* renamed env for auth

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#261)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

* testing from env#3

* renamed env for auth

* added

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* removed barrier (#262)

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#263)

* removed barrier

* reverting to old code

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#264)

* removed barrier

* reverting to old code

* modified contributor

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#267)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#268)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* Revert "04/sep removing community contrbutor barrier (#268)" (#269)

This reverts commit b52c76c.

* 04/sep removing community contrbutor barrier (#270)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#271)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#272)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#274)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 26/sep token issue (#276)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* added debug statements

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 26/sep token issue (#277)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* added debug statements

* added c4gt_bounty coding etc

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#279)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* Revert "04/sep removing community contrbutor barrier (#279)" (#282)

This reverts commit 9e59683.

* 04/sep removing community contrbutor barrier (#283)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#285)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#287)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#289)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#291)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* Update app.py

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#293)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#295)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#297)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#299)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#301)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#303)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#305)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#307)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#309)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#312)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#314)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#316)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* program-tickets

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#318)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* program-tickets

* program tickets

* program tickets

* program tickets

* program tickets

* changed api

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#320)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* program-tickets

* program tickets

* program tickets

* program tickets

* program tickets

* changed api

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#322)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* program-tickets

* program tickets

* program tickets

* program tickets

* program tickets

* changed api

* added program ticket

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

---------

Co-authored-by: Shreyash <shreyash.sahare@esmagico.in>
Co-authored-by: jaanbaaz <jaanbaaz.akhtar@esmagico.in>
Co-authored-by: jaanbaaz <106968030+jaanbaaz@users.noreply.github.com>
Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>
praveenkumar911 added a commit that referenced this pull request Dec 15, 2025
* cron poc

* code completion in cron

* create and update checks in adding contributors to a ticket

* sending report to discord bot added

* Cron Fixes Mentor and Contributor

* logs and await added in add_contributors

* user activity calling type changed

* Cron Fixes

* Updated requirements.txt

* code changes for cron token generation

* changes in requirements.txt

* jwt generator and access token changes

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* updated jwt token generator for deploy testing

* updated jwt token generator for deploy testing

* updated requirements.txt for deploy testing

* updated requirements.txt for deploy testing

* updated token generator for deploy testing

* remove jwt to resolve conflict

* trying with local path of pem file to resolve conflict

* updating docker file for pem file

* cleaner

* cleaner

* Removed submodule

* Readded submodule

* Updated Pem location

* Testing - Pem and client id

* pagination and state added to get all apis

* pagination and state added to get all apis

* pagination and state added to get all apis

* 1. Added Access token based requests within handlers.
2. Fixed Issue handler and Pr Handler for cron

* Removed submodule

* Readded submodule

* 1. Mentors data now being fetched from db
2. Since added in comments fetching

* 1. Removed Bot Commenting

* 1. Removed Bot Commenting
2. Added Logger

* 1. Minor fixes for prod deployment
2. Discord Report commented

* 1. Changed cron temporarily to run trigger in batches (#236)

* 1. Handled Exception in Getting Angle Mentor from Markdown Contents

* 1. uncommented PRs from cronjob (#238)

* [Fix] (#240)

1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* Fix/leaderboard (#241)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* Fix/leaderboard (#242)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* Fix/leaderboard (#243)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* Fix/leaderboard (#244)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* Fix/leaderboard (#245)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* Fix/leaderboard (#247)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Added Comments for logic flow in Fetching / Updating Contributor and Angle Mentor in Issue Closed Event.

2. Removed Comments.

3. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* Fix/leaderboard (#248)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Added Comments for logic flow in Fetching / Updating Contributor and Angle Mentor in Issue Closed Event.

2. Removed Comments.

3. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* [Fix]

1. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* Fix/leaderboard (#249)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Added Comments for logic flow in Fetching / Updating Contributor and Angle Mentor in Issue Closed Event.

2. Removed Comments.

3. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* [Fix]

1. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* [Fix]

1. merged_at to be str

* [Fix]

1. Removed duplication handling of merged at

* [Fix]

1. Commenting PR processing from Cron. Todo later - add it as a param in the API whether to process or not

* [FIX]
1. Changed default route response for testing

* added-basic-auth (#251)

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#253)

* added-basic-auth

* removed pass

* added_basic_auth

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#255)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#256)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#257)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#258)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#259)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

* testing from env#3

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#260)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

* testing from env#3

* renamed env for auth

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#261)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

* testing from env#3

* renamed env for auth

* added

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* removed barrier (#262)

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#263)

* removed barrier

* reverting to old code

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#264)

* removed barrier

* reverting to old code

* modified contributor

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#267)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#268)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* Revert "04/sep removing community contrbutor barrier (#268)" (#269)

This reverts commit b52c76c.

* 04/sep removing community contrbutor barrier (#270)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#271)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#272)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#274)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 26/sep token issue (#276)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* added debug statements

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 26/sep token issue (#277)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* added debug statements

* added c4gt_bounty coding etc

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#279)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* Revert "04/sep removing community contrbutor barrier (#279)" (#282)

This reverts commit 9e59683.

* 04/sep removing community contrbutor barrier (#283)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#285)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#287)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#289)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#291)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* Update app.py

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#293)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#295)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#297)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#299)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#301)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#303)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#305)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#307)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#309)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#312)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#314)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#316)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* program-tickets

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#318)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* program-tickets

* program tickets

* program tickets

* program tickets

* program tickets

* changed api

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#320)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* program-tickets

* program tickets

* program tickets

* program tickets

* program tickets

* changed api

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#322)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* program-tickets

* program tickets

* program tickets

* program tickets

* program tickets

* changed api

* added program ticket

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#325)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* program-tickets

* program tickets

* program tickets

* program tickets

* program tickets

* changed api

* added program ticket

* final api

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

---------

Co-authored-by: Shreyash <shreyash.sahare@esmagico.in>
Co-authored-by: jaanbaaz <jaanbaaz.akhtar@esmagico.in>
Co-authored-by: jaanbaaz <106968030+jaanbaaz@users.noreply.github.com>
Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>
praveenkumar911 added a commit that referenced this pull request Dec 15, 2025
* cron poc

* code completion in cron

* create and update checks in adding contributors to a ticket

* sending report to discord bot added

* Cron Fixes Mentor and Contributor

* logs and await added in add_contributors

* user activity calling type changed

* Cron Fixes

* Updated requirements.txt

* code changes for cron token generation

* changes in requirements.txt

* jwt generator and access token changes

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* updated jwt token generator for deploy testing

* updated jwt token generator for deploy testing

* updated requirements.txt for deploy testing

* updated requirements.txt for deploy testing

* updated token generator for deploy testing

* remove jwt to resolve conflict

* trying with local path of pem file to resolve conflict

* updating docker file for pem file

* cleaner

* cleaner

* Removed submodule

* Readded submodule

* Updated Pem location

* Testing - Pem and client id

* pagination and state added to get all apis

* pagination and state added to get all apis

* pagination and state added to get all apis

* 1. Added Access token based requests within handlers.
2. Fixed Issue handler and Pr Handler for cron

* Removed submodule

* Readded submodule

* 1. Mentors data now being fetched from db
2. Since added in comments fetching

* 1. Removed Bot Commenting

* 1. Removed Bot Commenting
2. Added Logger

* 1. Minor fixes for prod deployment
2. Discord Report commented

* 1. Changed cron temporarily to run trigger in batches (#236)

* 1. Handled Exception in Getting Angle Mentor from Markdown Contents

* 1. uncommented PRs from cronjob (#238)

* [Fix] (#240)

1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* Fix/leaderboard (#241)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* Fix/leaderboard (#242)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* Fix/leaderboard (#243)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* Fix/leaderboard (#244)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* Fix/leaderboard (#245)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* Fix/leaderboard (#247)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Added Comments for logic flow in Fetching / Updating Contributor and Angle Mentor in Issue Closed Event.

2. Removed Comments.

3. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* Fix/leaderboard (#248)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Added Comments for logic flow in Fetching / Updating Contributor and Angle Mentor in Issue Closed Event.

2. Removed Comments.

3. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* [Fix]

1. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* Fix/leaderboard (#249)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Added Comments for logic flow in Fetching / Updating Contributor and Angle Mentor in Issue Closed Event.

2. Removed Comments.

3. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* [Fix]

1. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* [Fix]

1. merged_at to be str

* [Fix]

1. Removed duplication handling of merged at

* [Fix]

1. Commenting PR processing from Cron. Todo later - add it as a param in the API whether to process or not

* [FIX]
1. Changed default route response for testing

* added-basic-auth (#251)

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#253)

* added-basic-auth

* removed pass

* added_basic_auth

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#255)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#256)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#257)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#258)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#259)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

* testing from env#3

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#260)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

* testing from env#3

* renamed env for auth

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#261)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

* testing from env#3

* renamed env for auth

* added

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* removed barrier (#262)

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#263)

* removed barrier

* reverting to old code

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#264)

* removed barrier

* reverting to old code

* modified contributor

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#267)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#268)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* Revert "04/sep removing community contrbutor barrier (#268)" (#269)

This reverts commit b52c76c.

* 04/sep removing community contrbutor barrier (#270)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#271)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#272)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#274)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 26/sep token issue (#276)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* added debug statements

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 26/sep token issue (#277)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* added debug statements

* added c4gt_bounty coding etc

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#279)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* Revert "04/sep removing community contrbutor barrier (#279)" (#282)

This reverts commit 9e59683.

* 04/sep removing community contrbutor barrier (#283)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#285)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#287)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#289)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#291)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* Update app.py

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#293)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#295)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#297)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#299)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#301)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#303)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#305)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#307)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#309)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#312)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#314)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#316)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* program-tickets

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#318)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* program-tickets

* program tickets

* program tickets

* program tickets

* program tickets

* changed api

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#320)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* program-tickets

* program tickets

* program tickets

* program tickets

* program tickets

* changed api

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#322)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* program-tickets

* program tickets

* program tickets

* program tickets

* program tickets

* changed api

* added program ticket

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#325)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* program-tickets

* program tickets

* program tickets

* program tickets

* program tickets

* changed api

* added program ticket

* final api

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#327)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* program-tickets

* program tickets

* program tickets

* program tickets

* program tickets

* changed api

* added program ticket

* final api

* program tickets

* programtickets

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

---------

Co-authored-by: Shreyash <shreyash.sahare@esmagico.in>
Co-authored-by: jaanbaaz <jaanbaaz.akhtar@esmagico.in>
Co-authored-by: jaanbaaz <106968030+jaanbaaz@users.noreply.github.com>
Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>
praveenkumar911 added a commit that referenced this pull request Dec 15, 2025
* cron poc

* code completion in cron

* create and update checks in adding contributors to a ticket

* sending report to discord bot added

* Cron Fixes Mentor and Contributor

* logs and await added in add_contributors

* user activity calling type changed

* Cron Fixes

* Updated requirements.txt

* code changes for cron token generation

* changes in requirements.txt

* jwt generator and access token changes

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* updated jwt token generator for deploy testing

* updated jwt token generator for deploy testing

* updated requirements.txt for deploy testing

* updated requirements.txt for deploy testing

* updated token generator for deploy testing

* remove jwt to resolve conflict

* trying with local path of pem file to resolve conflict

* updating docker file for pem file

* cleaner

* cleaner

* Removed submodule

* Readded submodule

* Updated Pem location

* Testing - Pem and client id

* pagination and state added to get all apis

* pagination and state added to get all apis

* pagination and state added to get all apis

* 1. Added Access token based requests within handlers.
2. Fixed Issue handler and Pr Handler for cron

* Removed submodule

* Readded submodule

* 1. Mentors data now being fetched from db
2. Since added in comments fetching

* 1. Removed Bot Commenting

* 1. Removed Bot Commenting
2. Added Logger

* 1. Minor fixes for prod deployment
2. Discord Report commented

* 1. Changed cron temporarily to run trigger in batches (#236)

* 1. Handled Exception in Getting Angle Mentor from Markdown Contents

* 1. uncommented PRs from cronjob (#238)

* [Fix] (#240)

1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* Fix/leaderboard (#241)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* Fix/leaderboard (#242)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* Fix/leaderboard (#243)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* Fix/leaderboard (#244)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* Fix/leaderboard (#245)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* Fix/leaderboard (#247)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Added Comments for logic flow in Fetching / Updating Contributor and Angle Mentor in Issue Closed Event.

2. Removed Comments.

3. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* Fix/leaderboard (#248)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Added Comments for logic flow in Fetching / Updating Contributor and Angle Mentor in Issue Closed Event.

2. Removed Comments.

3. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* [Fix]

1. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* Fix/leaderboard (#249)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Added Comments for logic flow in Fetching / Updating Contributor and Angle Mentor in Issue Closed Event.

2. Removed Comments.

3. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* [Fix]

1. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* [Fix]

1. merged_at to be str

* [Fix]

1. Removed duplication handling of merged at

* [Fix]

1. Commenting PR processing from Cron. Todo later - add it as a param in the API whether to process or not

* [FIX]
1. Changed default route response for testing

* added-basic-auth (#251)

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#253)

* added-basic-auth

* removed pass

* added_basic_auth

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#255)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#256)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#257)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#258)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#259)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

* testing from env#3

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#260)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

* testing from env#3

* renamed env for auth

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#261)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

* testing from env#3

* renamed env for auth

* added

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* removed barrier (#262)

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#263)

* removed barrier

* reverting to old code

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#264)

* removed barrier

* reverting to old code

* modified contributor

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#267)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#268)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* Revert "04/sep removing community contrbutor barrier (#268)" (#269)

This reverts commit b52c76c.

* 04/sep removing community contrbutor barrier (#270)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#271)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#272)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#274)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 26/sep token issue (#276)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* added debug statements

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 26/sep token issue (#277)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* added debug statements

* added c4gt_bounty coding etc

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#279)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* Revert "04/sep removing community contrbutor barrier (#279)" (#282)

This reverts commit 9e59683.

* 04/sep removing community contrbutor barrier (#283)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#285)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#287)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#289)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#291)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* Update app.py

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#293)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#295)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#297)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#299)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#301)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#303)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#305)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#307)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#309)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#312)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#314)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#316)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* program-tickets

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#318)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* program-tickets

* program tickets

* program tickets

* program tickets

* program tickets

* changed api

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#320)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* program-tickets

* program tickets

* program tickets

* program tickets

* program tickets

* changed api

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#322)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* program-tickets

* program tickets

* program tickets

* program tickets

* program tickets

* changed api

* added program ticket

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#325)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* program-tickets

* program tickets

* program tickets

* program tickets

* program tickets

* changed api

* added program ticket

* final api

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#327)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* program-tickets

* program tickets

* program tickets

* program tickets

* program tickets

* changed api

* added program ticket

* final api

* program tickets

* programtickets

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#329)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* program-tickets

* program tickets

* program tickets

* program tickets

* program tickets

* changed api

* added program ticket

* final api

* program tickets

* programtickets

* programtickets

* final

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

---------

Co-authored-by: Shreyash <shreyash.sahare@esmagico.in>
Co-authored-by: jaanbaaz <jaanbaaz.akhtar@esmagico.in>
Co-authored-by: jaanbaaz <106968030+jaanbaaz@users.noreply.github.com>
Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>
praveenkumar911 added a commit that referenced this pull request Dec 15, 2025
* cron poc

* code completion in cron

* create and update checks in adding contributors to a ticket

* sending report to discord bot added

* Cron Fixes Mentor and Contributor

* logs and await added in add_contributors

* user activity calling type changed

* Cron Fixes

* Updated requirements.txt

* code changes for cron token generation

* changes in requirements.txt

* jwt generator and access token changes

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* updated jwt token generator for deploy testing

* updated jwt token generator for deploy testing

* updated requirements.txt for deploy testing

* updated requirements.txt for deploy testing

* updated token generator for deploy testing

* remove jwt to resolve conflict

* trying with local path of pem file to resolve conflict

* updating docker file for pem file

* cleaner

* cleaner

* Removed submodule

* Readded submodule

* Updated Pem location

* Testing - Pem and client id

* pagination and state added to get all apis

* pagination and state added to get all apis

* pagination and state added to get all apis

* 1. Added Access token based requests within handlers.
2. Fixed Issue handler and Pr Handler for cron

* Removed submodule

* Readded submodule

* 1. Mentors data now being fetched from db
2. Since added in comments fetching

* 1. Removed Bot Commenting

* 1. Removed Bot Commenting
2. Added Logger

* 1. Minor fixes for prod deployment
2. Discord Report commented

* 1. Changed cron temporarily to run trigger in batches (#236)

* 1. Handled Exception in Getting Angle Mentor from Markdown Contents

* 1. uncommented PRs from cronjob (#238)

* [Fix] (#240)

1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* Fix/leaderboard (#241)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* Fix/leaderboard (#242)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* Fix/leaderboard (#243)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* Fix/leaderboard (#244)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* Fix/leaderboard (#245)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* Fix/leaderboard (#247)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Added Comments for logic flow in Fetching / Updating Contributor and Angle Mentor in Issue Closed Event.

2. Removed Comments.

3. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* Fix/leaderboard (#248)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Added Comments for logic flow in Fetching / Updating Contributor and Angle Mentor in Issue Closed Event.

2. Removed Comments.

3. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* [Fix]

1. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* Fix/leaderboard (#249)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Added Comments for logic flow in Fetching / Updating Contributor and Angle Mentor in Issue Closed Event.

2. Removed Comments.

3. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* [Fix]

1. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* [Fix]

1. merged_at to be str

* [Fix]

1. Removed duplication handling of merged at

* [Fix]

1. Commenting PR processing from Cron. Todo later - add it as a param in the API whether to process or not

* [FIX]
1. Changed default route response for testing

* added-basic-auth (#251)

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#253)

* added-basic-auth

* removed pass

* added_basic_auth

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#255)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#256)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#257)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#258)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#259)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

* testing from env#3

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#260)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

* testing from env#3

* renamed env for auth

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#261)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

* testing from env#3

* renamed env for auth

* added

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* removed barrier (#262)

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#263)

* removed barrier

* reverting to old code

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#264)

* removed barrier

* reverting to old code

* modified contributor

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#267)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#268)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* Revert "04/sep removing community contrbutor barrier (#268)" (#269)

This reverts commit b52c76c.

* 04/sep removing community contrbutor barrier (#270)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#271)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#272)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#274)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 26/sep token issue (#276)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* added debug statements

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 26/sep token issue (#277)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* added debug statements

* added c4gt_bounty coding etc

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#279)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* Revert "04/sep removing community contrbutor barrier (#279)" (#282)

This reverts commit 9e59683.

* 04/sep removing community contrbutor barrier (#283)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#285)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#287)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#289)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#291)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* Update app.py

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#293)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#295)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#297)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#299)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#301)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#303)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#305)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#307)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#309)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#312)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#314)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#316)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* program-tickets

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#318)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* program-tickets

* program tickets

* program tickets

* program tickets

* program tickets

* changed api

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#320)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* program-tickets

* program tickets

* program tickets

* program tickets

* program tickets

* changed api

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#322)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* program-tickets

* program tickets

* program tickets

* program tickets

* program tickets

* changed api

* added program ticket

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#325)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* program-tickets

* program tickets

* program tickets

* program tickets

* program tickets

* changed api

* added program ticket

* final api

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#327)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* program-tickets

* program tickets

* program tickets

* program tickets

* program tickets

* changed api

* added program ticket

* final api

* program tickets

* programtickets

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* final

---------

Co-authored-by: Shreyash <shreyash.sahare@esmagico.in>
Co-authored-by: jaanbaaz <jaanbaaz.akhtar@esmagico.in>
Co-authored-by: jaanbaaz <106968030+jaanbaaz@users.noreply.github.com>
Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>
praveenkumar911 added a commit that referenced this pull request Dec 15, 2025
* cron poc

* code completion in cron

* create and update checks in adding contributors to a ticket

* sending report to discord bot added

* Cron Fixes Mentor and Contributor

* logs and await added in add_contributors

* user activity calling type changed

* Cron Fixes

* Updated requirements.txt

* code changes for cron token generation

* changes in requirements.txt

* jwt generator and access token changes

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* updated jwt token generator for deploy testing

* updated jwt token generator for deploy testing

* updated requirements.txt for deploy testing

* updated requirements.txt for deploy testing

* updated token generator for deploy testing

* remove jwt to resolve conflict

* trying with local path of pem file to resolve conflict

* updating docker file for pem file

* cleaner

* cleaner

* Removed submodule

* Readded submodule

* Updated Pem location

* Testing - Pem and client id

* pagination and state added to get all apis

* pagination and state added to get all apis

* pagination and state added to get all apis

* 1. Added Access token based requests within handlers.
2. Fixed Issue handler and Pr Handler for cron

* Removed submodule

* Readded submodule

* 1. Mentors data now being fetched from db
2. Since added in comments fetching

* 1. Removed Bot Commenting

* 1. Removed Bot Commenting
2. Added Logger

* 1. Minor fixes for prod deployment
2. Discord Report commented

* 1. Changed cron temporarily to run trigger in batches (#236)

* 1. Handled Exception in Getting Angle Mentor from Markdown Contents

* 1. uncommented PRs from cronjob (#238)

* [Fix] (#240)

1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* Fix/leaderboard (#241)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* Fix/leaderboard (#242)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* Fix/leaderboard (#243)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* Fix/leaderboard (#244)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* Fix/leaderboard (#245)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* Fix/leaderboard (#247)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Added Comments for logic flow in Fetching / Updating Contributor and Angle Mentor in Issue Closed Event.

2. Removed Comments.

3. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* Fix/leaderboard (#248)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Added Comments for logic flow in Fetching / Updating Contributor and Angle Mentor in Issue Closed Event.

2. Removed Comments.

3. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* [Fix]

1. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* Fix/leaderboard (#249)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Added Comments for logic flow in Fetching / Updating Contributor and Angle Mentor in Issue Closed Event.

2. Removed Comments.

3. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* [Fix]

1. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* [Fix]

1. merged_at to be str

* [Fix]

1. Removed duplication handling of merged at

* [Fix]

1. Commenting PR processing from Cron. Todo later - add it as a param in the API whether to process or not

* [FIX]
1. Changed default route response for testing

* added-basic-auth (#251)

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#253)

* added-basic-auth

* removed pass

* added_basic_auth

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#255)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#256)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#257)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#258)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#259)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

* testing from env#3

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#260)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

* testing from env#3

* renamed env for auth

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#261)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

* testing from env#3

* renamed env for auth

* added

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* removed barrier (#262)

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#263)

* removed barrier

* reverting to old code

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#264)

* removed barrier

* reverting to old code

* modified contributor

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#267)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#268)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* Revert "04/sep removing community contrbutor barrier (#268)" (#269)

This reverts commit b52c76c.

* 04/sep removing community contrbutor barrier (#270)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#271)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#272)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#274)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 26/sep token issue (#276)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* added debug statements

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 26/sep token issue (#277)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* added debug statements

* added c4gt_bounty coding etc

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#279)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* Revert "04/sep removing community contrbutor barrier (#279)" (#282)

This reverts commit 9e59683.

* 04/sep removing community contrbutor barrier (#283)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#285)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#287)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#289)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#291)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* Update app.py

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#293)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#295)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#297)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#299)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#301)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#303)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#305)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#307)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#309)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#312)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#314)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#316)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* program-tickets

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#318)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* program-tickets

* program tickets

* program tickets

* program tickets

* program tickets

* changed api

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#320)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* program-tickets

* program tickets

* program tickets

* program tickets

* program tickets

* changed api

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#322)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* program-tickets

* program tickets

* program tickets

* program tickets

* program tickets

* changed api

* added program ticket

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#325)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* program-tickets

* program tickets

* program tickets

* program tickets

* program tickets

* changed api

* added program ticket

* final api

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#327)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* program-tickets

* program tickets

* program tickets

* program tickets

* program tickets

* changed api

* added program ticket

* final api

* program tickets

* programtickets

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* final

* final

---------

Co-authored-by: Shreyash <shreyash.sahare@esmagico.in>
Co-authored-by: jaanbaaz <jaanbaaz.akhtar@esmagico.in>
Co-authored-by: jaanbaaz <106968030+jaanbaaz@users.noreply.github.com>
Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>
praveenkumar911 added a commit that referenced this pull request Dec 15, 2025
* cron poc

* code completion in cron

* create and update checks in adding contributors to a ticket

* sending report to discord bot added

* Cron Fixes Mentor and Contributor

* logs and await added in add_contributors

* user activity calling type changed

* Cron Fixes

* Updated requirements.txt

* code changes for cron token generation

* changes in requirements.txt

* jwt generator and access token changes

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* updated jwt token generator for deploy testing

* updated jwt token generator for deploy testing

* updated requirements.txt for deploy testing

* updated requirements.txt for deploy testing

* updated token generator for deploy testing

* remove jwt to resolve conflict

* trying with local path of pem file to resolve conflict

* updating docker file for pem file

* cleaner

* cleaner

* Removed submodule

* Readded submodule

* Updated Pem location

* Testing - Pem and client id

* pagination and state added to get all apis

* pagination and state added to get all apis

* pagination and state added to get all apis

* 1. Added Access token based requests within handlers.
2. Fixed Issue handler and Pr Handler for cron

* Removed submodule

* Readded submodule

* 1. Mentors data now being fetched from db
2. Since added in comments fetching

* 1. Removed Bot Commenting

* 1. Removed Bot Commenting
2. Added Logger

* 1. Minor fixes for prod deployment
2. Discord Report commented

* 1. Changed cron temporarily to run trigger in batches (#236)

* 1. Handled Exception in Getting Angle Mentor from Markdown Contents

* 1. uncommented PRs from cronjob (#238)

* [Fix] (#240)

1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* Fix/leaderboard (#241)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* Fix/leaderboard (#242)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* Fix/leaderboard (#243)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* Fix/leaderboard (#244)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* Fix/leaderboard (#245)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* Fix/leaderboard (#247)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Added Comments for logic flow in Fetching / Updating Contributor and Angle Mentor in Issue Closed Event.

2. Removed Comments.

3. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* Fix/leaderboard (#248)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Added Comments for logic flow in Fetching / Updating Contributor and Angle Mentor in Issue Closed Event.

2. Removed Comments.

3. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* [Fix]

1. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* Fix/leaderboard (#249)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Added Comments for logic flow in Fetching / Updating Contributor and Angle Mentor in Issue Closed Event.

2. Removed Comments.

3. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* [Fix]

1. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* [Fix]

1. merged_at to be str

* [Fix]

1. Removed duplication handling of merged at

* [Fix]

1. Commenting PR processing from Cron. Todo later - add it as a param in the API whether to process or not

* [FIX]
1. Changed default route response for testing

* added-basic-auth (#251)

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#253)

* added-basic-auth

* removed pass

* added_basic_auth

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#255)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#256)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#257)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#258)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#259)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

* testing from env#3

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#260)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

* testing from env#3

* renamed env for auth

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#261)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

* testing from env#3

* renamed env for auth

* added

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* removed barrier (#262)

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#263)

* removed barrier

* reverting to old code

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#264)

* removed barrier

* reverting to old code

* modified contributor

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#267)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#268)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* Revert "04/sep removing community contrbutor barrier (#268)" (#269)

This reverts commit b52c76c.

* 04/sep removing community contrbutor barrier (#270)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#271)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#272)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#274)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 26/sep token issue (#276)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* added debug statements

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 26/sep token issue (#277)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* added debug statements

* added c4gt_bounty coding etc

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#279)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* Revert "04/sep removing community contrbutor barrier (#279)" (#282)

This reverts commit 9e59683.

* 04/sep removing community contrbutor barrier (#283)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#285)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#287)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#289)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#291)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* Update app.py

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#293)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#295)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#297)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#299)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#301)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#303)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#305)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#307)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#309)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#312)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#314)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#316)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* program-tickets

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#318)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* program-tickets

* program tickets

* program tickets

* program tickets

* program tickets

* changed api

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#320)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* program-tickets

* program tickets

* program tickets

* program tickets

* program tickets

* changed api

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#322)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* program-tickets

* program tickets

* program tickets

* program tickets

* program tickets

* changed api

* added program ticket

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#325)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* program-tickets

* program tickets

* program tickets

* program tickets

* program tickets

* changed api

* added program ticket

* final api

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#327)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* program-tickets

* program tickets

* program tickets

* program tickets

* program tickets

* changed api

* added program ticket

* final api

* program tickets

* programtickets

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* final

* final

* final

---------

Co-authored-by: Shreyash <shreyash.sahare@esmagico.in>
Co-authored-by: jaanbaaz <jaanbaaz.akhtar@esmagico.in>
Co-authored-by: jaanbaaz <106968030+jaanbaaz@users.noreply.github.com>
Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>
praveenkumar911 added a commit that referenced this pull request Dec 15, 2025
* cron poc

* code completion in cron

* create and update checks in adding contributors to a ticket

* sending report to discord bot added

* Cron Fixes Mentor and Contributor

* logs and await added in add_contributors

* user activity calling type changed

* Cron Fixes

* Updated requirements.txt

* code changes for cron token generation

* changes in requirements.txt

* jwt generator and access token changes

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* updated jwt token generator for deploy testing

* updated jwt token generator for deploy testing

* updated requirements.txt for deploy testing

* updated requirements.txt for deploy testing

* updated token generator for deploy testing

* remove jwt to resolve conflict

* trying with local path of pem file to resolve conflict

* updating docker file for pem file

* cleaner

* cleaner

* Removed submodule

* Readded submodule

* Updated Pem location

* Testing - Pem and client id

* pagination and state added to get all apis

* pagination and state added to get all apis

* pagination and state added to get all apis

* 1. Added Access token based requests within handlers.
2. Fixed Issue handler and Pr Handler for cron

* Removed submodule

* Readded submodule

* 1. Mentors data now being fetched from db
2. Since added in comments fetching

* 1. Removed Bot Commenting

* 1. Removed Bot Commenting
2. Added Logger

* 1. Minor fixes for prod deployment
2. Discord Report commented

* 1. Changed cron temporarily to run trigger in batches (#236)

* 1. Handled Exception in Getting Angle Mentor from Markdown Contents

* 1. uncommented PRs from cronjob (#238)

* [Fix] (#240)

1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* Fix/leaderboard (#241)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* Fix/leaderboard (#242)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* Fix/leaderboard (#243)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* Fix/leaderboard (#244)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* Fix/leaderboard (#245)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* Fix/leaderboard (#247)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Added Comments for logic flow in Fetching / Updating Contributor and Angle Mentor in Issue Closed Event.

2. Removed Comments.

3. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* Fix/leaderboard (#248)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Added Comments for logic flow in Fetching / Updating Contributor and Angle Mentor in Issue Closed Event.

2. Removed Comments.

3. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* [Fix]

1. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* Fix/leaderboard (#249)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Added Comments for logic flow in Fetching / Updating Contributor and Angle Mentor in Issue Closed Event.

2. Removed Comments.

3. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* [Fix]

1. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* [Fix]

1. merged_at to be str

* [Fix]

1. Removed duplication handling of merged at

* [Fix]

1. Commenting PR processing from Cron. Todo later - add it as a param in the API whether to process or not

* [FIX]
1. Changed default route response for testing

* added-basic-auth (#251)

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#253)

* added-basic-auth

* removed pass

* added_basic_auth

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#255)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#256)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#257)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#258)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#259)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

* testing from env#3

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#260)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

* testing from env#3

* renamed env for auth

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#261)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

* testing from env#3

* renamed env for auth

* added

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* removed barrier (#262)

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#263)

* removed barrier

* reverting to old code

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#264)

* removed barrier

* reverting to old code

* modified contributor

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#267)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#268)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* Revert "04/sep removing community contrbutor barrier (#268)" (#269)

This reverts commit b52c76c.

* 04/sep removing community contrbutor barrier (#270)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#271)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#272)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#274)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 26/sep token issue (#276)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* added debug statements

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 26/sep token issue (#277)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* added debug statements

* added c4gt_bounty coding etc

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#279)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* Revert "04/sep removing community contrbutor barrier (#279)" (#282)

This reverts commit 9e59683.

* 04/sep removing community contrbutor barrier (#283)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#285)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#287)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#289)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#291)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* Update app.py

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#293)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#295)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#297)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#299)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#301)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#303)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#305)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#307)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#309)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#312)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#314)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#316)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* program-tickets

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#318)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* program-tickets

* program tickets

* program tickets

* program tickets

* program tickets

* changed api

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#320)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* program-tickets

* program tickets

* program tickets

* program tickets

* program tickets

* changed api

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#322)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* program-tickets

* program tickets

* program tickets

* program tickets

* program tickets

* changed api

* added program ticket

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#325)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* program-tickets

* program tickets

* program tickets

* program tickets

* program tickets

* changed api

* added program ticket

* final api

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#327)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* program-tickets

* program tickets

* program tickets

* program tickets

* program tickets

* changed api

* added program ticket

* final api

* program tickets

* programtickets

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* final

* final

* final

* final

---------

Co-authored-by: Shreyash <shreyash.sahare@esmagico.in>
Co-authored-by: jaanbaaz <jaanbaaz.akhtar@esmagico.in>
Co-authored-by: jaanbaaz <106968030+jaanbaaz@users.noreply.github.com>
Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>
praveenkumar911 added a commit that referenced this pull request Dec 15, 2025
* cron poc

* code completion in cron

* create and update checks in adding contributors to a ticket

* sending report to discord bot added

* Cron Fixes Mentor and Contributor

* logs and await added in add_contributors

* user activity calling type changed

* Cron Fixes

* Updated requirements.txt

* code changes for cron token generation

* changes in requirements.txt

* jwt generator and access token changes

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* updated jwt token generator for deploy testing

* updated jwt token generator for deploy testing

* updated requirements.txt for deploy testing

* updated requirements.txt for deploy testing

* updated token generator for deploy testing

* remove jwt to resolve conflict

* trying with local path of pem file to resolve conflict

* updating docker file for pem file

* cleaner

* cleaner

* Removed submodule

* Readded submodule

* Updated Pem location

* Testing - Pem and client id

* pagination and state added to get all apis

* pagination and state added to get all apis

* pagination and state added to get all apis

* 1. Added Access token based requests within handlers.
2. Fixed Issue handler and Pr Handler for cron

* Removed submodule

* Readded submodule

* 1. Mentors data now being fetched from db
2. Since added in comments fetching

* 1. Removed Bot Commenting

* 1. Removed Bot Commenting
2. Added Logger

* 1. Minor fixes for prod deployment
2. Discord Report commented

* 1. Changed cron temporarily to run trigger in batches (#236)

* 1. Handled Exception in Getting Angle Mentor from Markdown Contents

* 1. uncommented PRs from cronjob (#238)

* [Fix] (#240)

1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* Fix/leaderboard (#241)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* Fix/leaderboard (#242)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* Fix/leaderboard (#243)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* Fix/leaderboard (#244)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* Fix/leaderboard (#245)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* Fix/leaderboard (#247)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Added Comments for logic flow in Fetching / Updating Contributor and Angle Mentor in Issue Closed Event.

2. Removed Comments.

3. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* Fix/leaderboard (#248)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Added Comments for logic flow in Fetching / Updating Contributor and Angle Mentor in Issue Closed Event.

2. Removed Comments.

3. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* [Fix]

1. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* Fix/leaderboard (#249)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Added Comments for logic flow in Fetching / Updating Contributor and Angle Mentor in Issue Closed Event.

2. Removed Comments.

3. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* [Fix]

1. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* [Fix]

1. merged_at to be str

* [Fix]

1. Removed duplication handling of merged at

* [Fix]

1. Commenting PR processing from Cron. Todo later - add it as a param in the API whether to process or not

* [FIX]
1. Changed default route response for testing

* added-basic-auth (#251)

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#253)

* added-basic-auth

* removed pass

* added_basic_auth

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#255)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#256)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#257)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#258)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#259)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

* testing from env#3

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#260)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

* testing from env#3

* renamed env for auth

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#261)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

* testing from env#3

* renamed env for auth

* added

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* removed barrier (#262)

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#263)

* removed barrier

* reverting to old code

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#264)

* removed barrier

* reverting to old code

* modified contributor

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#267)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#268)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* Revert "04/sep removing community contrbutor barrier (#268)" (#269)

This reverts commit b52c76c.

* 04/sep removing community contrbutor barrier (#270)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#271)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#272)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#274)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 26/sep token issue (#276)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* added debug statements

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 26/sep token issue (#277)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* added debug statements

* added c4gt_bounty coding etc

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#279)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* Revert "04/sep removing community contrbutor barrier (#279)" (#282)

This reverts commit 9e59683.

* 04/sep removing community contrbutor barrier (#283)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#285)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#287)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#289)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#291)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* Update app.py

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#293)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#295)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#297)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#299)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#301)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#303)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#305)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#307)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#309)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#312)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#314)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#316)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* program-tickets

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#318)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* program-tickets

* program tickets

* program tickets

* program tickets

* program tickets

* changed api

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#320)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* program-tickets

* program tickets

* program tickets

* program tickets

* program tickets

* changed api

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#322)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* program-tickets

* program tickets

* program tickets

* program tickets

* program tickets

* changed api

* added program ticket

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#325)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* program-tickets

* program tickets

* program tickets

* program tickets

* program tickets

* changed api

* added program ticket

* final api

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#327)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* program-tickets

* program tickets

* program tickets

* program tickets

* program tickets

* changed api

* added program ticket

* final api

* program tickets

* programtickets

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* final

* final

* final

* final

* final

---------

Co-authored-by: Shreyash <shreyash.sahare@esmagico.in>
Co-authored-by: jaanbaaz <jaanbaaz.akhtar@esmagico.in>
Co-authored-by: jaanbaaz <106968030+jaanbaaz@users.noreply.github.com>
Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>
praveenkumar911 added a commit that referenced this pull request Dec 18, 2025
* cron poc

* code completion in cron

* create and update checks in adding contributors to a ticket

* sending report to discord bot added

* Cron Fixes Mentor and Contributor

* logs and await added in add_contributors

* user activity calling type changed

* Cron Fixes

* Updated requirements.txt

* code changes for cron token generation

* changes in requirements.txt

* jwt generator and access token changes

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* updated jwt token generator for deploy testing

* updated jwt token generator for deploy testing

* updated requirements.txt for deploy testing

* updated requirements.txt for deploy testing

* updated token generator for deploy testing

* remove jwt to resolve conflict

* trying with local path of pem file to resolve conflict

* updating docker file for pem file

* cleaner

* cleaner

* Removed submodule

* Readded submodule

* Updated Pem location

* Testing - Pem and client id

* pagination and state added to get all apis

* pagination and state added to get all apis

* pagination and state added to get all apis

* 1. Added Access token based requests within handlers.
2. Fixed Issue handler and Pr Handler for cron

* Removed submodule

* Readded submodule

* 1. Mentors data now being fetched from db
2. Since added in comments fetching

* 1. Removed Bot Commenting

* 1. Removed Bot Commenting
2. Added Logger

* 1. Minor fixes for prod deployment
2. Discord Report commented

* 1. Changed cron temporarily to run trigger in batches (#236)

* 1. Handled Exception in Getting Angle Mentor from Markdown Contents

* 1. uncommented PRs from cronjob (#238)

* [Fix] (#240)

1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* Fix/leaderboard (#241)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* Fix/leaderboard (#242)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* Fix/leaderboard (#243)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* Fix/leaderboard (#244)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* Fix/leaderboard (#245)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* Fix/leaderboard (#247)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Added Comments for logic flow in Fetching / Updating Contributor and Angle Mentor in Issue Closed Event.

2. Removed Comments.

3. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* Fix/leaderboard (#248)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Added Comments for logic flow in Fetching / Updating Contributor and Angle Mentor in Issue Closed Event.

2. Removed Comments.

3. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* [Fix]

1. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* Fix/leaderboard (#249)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Added Comments for logic flow in Fetching / Updating Contributor and Angle Mentor in Issue Closed Event.

2. Removed Comments.

3. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* [Fix]

1. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* [Fix]

1. merged_at to be str

* [Fix]

1. Removed duplication handling of merged at

* [Fix]

1. Commenting PR processing from Cron. Todo later - add it as a param in the API whether to process or not

* [FIX]
1. Changed default route response for testing

* added-basic-auth (#251)

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#253)

* added-basic-auth

* removed pass

* added_basic_auth

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#255)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#256)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#257)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#258)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#259)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

* testing from env#3

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#260)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

* testing from env#3

* renamed env for auth

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#261)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

* testing from env#3

* renamed env for auth

* added

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* removed barrier (#262)

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#263)

* removed barrier

* reverting to old code

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#264)

* removed barrier

* reverting to old code

* modified contributor

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#267)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#268)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* Revert "04/sep removing community contrbutor barrier (#268)" (#269)

This reverts commit b52c76c.

* 04/sep removing community contrbutor barrier (#270)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#271)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#272)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#274)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 26/sep token issue (#276)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* added debug statements

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 26/sep token issue (#277)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* added debug statements

* added c4gt_bounty coding etc

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#279)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* Revert "04/sep removing community contrbutor barrier (#279)" (#282)

This reverts commit 9e59683.

* 04/sep removing community contrbutor barrier (#283)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#285)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#287)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#289)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#291)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* Update app.py

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#293)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#295)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#297)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#299)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#301)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#303)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#305)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#307)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#309)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#312)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#314)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#316)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* program-tickets

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#318)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* program-tickets

* program tickets

* program tickets

* program tickets

* program tickets

* changed api

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#320)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* program-tickets

* program tickets

* program tickets

* program tickets

* program tickets

* changed api

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#322)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* program-tickets

* program tickets

* program tickets

* program tickets

* program tickets

* changed api

* added program ticket

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#325)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* program-tickets

* program tickets

* program tickets

* program tickets

* program tickets

* changed api

* added program ticket

* final api

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#327)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* program-tickets

* program tickets

* program tickets

* program tickets

* program tickets

* changed api

* added program ticket

* final api

* program tickets

* programtickets

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* final

* final

* final

* final

* final

* filterapi

---------

Co-authored-by: Shreyash <shreyash.sahare@esmagico.in>
Co-authored-by: jaanbaaz <jaanbaaz.akhtar@esmagico.in>
Co-authored-by: jaanbaaz <106968030+jaanbaaz@users.noreply.github.com>
Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>
praveenkumar911 added a commit that referenced this pull request Dec 18, 2025
* cron poc

* code completion in cron

* create and update checks in adding contributors to a ticket

* sending report to discord bot added

* Cron Fixes Mentor and Contributor

* logs and await added in add_contributors

* user activity calling type changed

* Cron Fixes

* Updated requirements.txt

* code changes for cron token generation

* changes in requirements.txt

* jwt generator and access token changes

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* updated jwt token generator for deploy testing

* updated jwt token generator for deploy testing

* updated requirements.txt for deploy testing

* updated requirements.txt for deploy testing

* updated token generator for deploy testing

* remove jwt to resolve conflict

* trying with local path of pem file to resolve conflict

* updating docker file for pem file

* cleaner

* cleaner

* Removed submodule

* Readded submodule

* Updated Pem location

* Testing - Pem and client id

* pagination and state added to get all apis

* pagination and state added to get all apis

* pagination and state added to get all apis

* 1. Added Access token based requests within handlers.
2. Fixed Issue handler and Pr Handler for cron

* Removed submodule

* Readded submodule

* 1. Mentors data now being fetched from db
2. Since added in comments fetching

* 1. Removed Bot Commenting

* 1. Removed Bot Commenting
2. Added Logger

* 1. Minor fixes for prod deployment
2. Discord Report commented

* 1. Changed cron temporarily to run trigger in batches (#236)

* 1. Handled Exception in Getting Angle Mentor from Markdown Contents

* 1. uncommented PRs from cronjob (#238)

* [Fix] (#240)

1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* Fix/leaderboard (#241)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* Fix/leaderboard (#242)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* Fix/leaderboard (#243)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* Fix/leaderboard (#244)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* Fix/leaderboard (#245)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* Fix/leaderboard (#247)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Added Comments for logic flow in Fetching / Updating Contributor and Angle Mentor in Issue Closed Event.

2. Removed Comments.

3. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* Fix/leaderboard (#248)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Added Comments for logic flow in Fetching / Updating Contributor and Angle Mentor in Issue Closed Event.

2. Removed Comments.

3. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* [Fix]

1. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* Fix/leaderboard (#249)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Added Comments for logic flow in Fetching / Updating Contributor and Angle Mentor in Issue Closed Event.

2. Removed Comments.

3. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* [Fix]

1. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* [Fix]

1. merged_at to be str

* [Fix]

1. Removed duplication handling of merged at

* [Fix]

1. Commenting PR processing from Cron. Todo later - add it as a param in the API whether to process or not

* [FIX]
1. Changed default route response for testing

* added-basic-auth (#251)

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#253)

* added-basic-auth

* removed pass

* added_basic_auth

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#255)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#256)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#257)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#258)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#259)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

* testing from env#3

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#260)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

* testing from env#3

* renamed env for auth

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#261)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

* testing from env#3

* renamed env for auth

* added

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* removed barrier (#262)

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#263)

* removed barrier

* reverting to old code

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#264)

* removed barrier

* reverting to old code

* modified contributor

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#267)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#268)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* Revert "04/sep removing community contrbutor barrier (#268)" (#269)

This reverts commit b52c76c.

* 04/sep removing community contrbutor barrier (#270)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#271)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#272)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#274)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 26/sep token issue (#276)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* added debug statements

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 26/sep token issue (#277)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* added debug statements

* added c4gt_bounty coding etc

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#279)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* Revert "04/sep removing community contrbutor barrier (#279)" (#282)

This reverts commit 9e59683.

* 04/sep removing community contrbutor barrier (#283)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#285)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#287)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#289)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#291)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* Update app.py

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#293)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#295)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#297)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#299)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#301)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#303)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#305)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#307)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#309)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#312)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#314)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#316)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* program-tickets

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#318)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* program-tickets

* program tickets

* program tickets

* program tickets

* program tickets

* changed api

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#320)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* program-tickets

* program tickets

* program tickets

* program tickets

* program tickets

* changed api

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#322)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* program-tickets

* program tickets

* program tickets

* program tickets

* program tickets

* changed api

* added program ticket

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#325)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* program-tickets

* program tickets

* program tickets

* program tickets

* program tickets

* changed api

* added program ticket

* final api

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#327)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* program-tickets

* program tickets

* program tickets

* program tickets

* program tickets

* changed api

* added program ticket

* final api

* program tickets

* programtickets

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* final

* final

* final

* final

* final

* filterapi

* filterapi

---------

Co-authored-by: Shreyash <shreyash.sahare@esmagico.in>
Co-authored-by: jaanbaaz <jaanbaaz.akhtar@esmagico.in>
Co-authored-by: jaanbaaz <106968030+jaanbaaz@users.noreply.github.com>
Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>
praveenkumar911 added a commit that referenced this pull request Dec 18, 2025
* cron poc

* code completion in cron

* create and update checks in adding contributors to a ticket

* sending report to discord bot added

* Cron Fixes Mentor and Contributor

* logs and await added in add_contributors

* user activity calling type changed

* Cron Fixes

* Updated requirements.txt

* code changes for cron token generation

* changes in requirements.txt

* jwt generator and access token changes

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* updated jwt token generator for deploy testing

* updated jwt token generator for deploy testing

* updated requirements.txt for deploy testing

* updated requirements.txt for deploy testing

* updated token generator for deploy testing

* remove jwt to resolve conflict

* trying with local path of pem file to resolve conflict

* updating docker file for pem file

* cleaner

* cleaner

* Removed submodule

* Readded submodule

* Updated Pem location

* Testing - Pem and client id

* pagination and state added to get all apis

* pagination and state added to get all apis

* pagination and state added to get all apis

* 1. Added Access token based requests within handlers.
2. Fixed Issue handler and Pr Handler for cron

* Removed submodule

* Readded submodule

* 1. Mentors data now being fetched from db
2. Since added in comments fetching

* 1. Removed Bot Commenting

* 1. Removed Bot Commenting
2. Added Logger

* 1. Minor fixes for prod deployment
2. Discord Report commented

* 1. Changed cron temporarily to run trigger in batches (#236)

* 1. Handled Exception in Getting Angle Mentor from Markdown Contents

* 1. uncommented PRs from cronjob (#238)

* [Fix] (#240)

1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* Fix/leaderboard (#241)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* Fix/leaderboard (#242)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* Fix/leaderboard (#243)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* Fix/leaderboard (#244)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* Fix/leaderboard (#245)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* Fix/leaderboard (#247)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Added Comments for logic flow in Fetching / Updating Contributor and Angle Mentor in Issue Closed Event.

2. Removed Comments.

3. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* Fix/leaderboard (#248)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Added Comments for logic flow in Fetching / Updating Contributor and Angle Mentor in Issue Closed Event.

2. Removed Comments.

3. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* [Fix]

1. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* Fix/leaderboard (#249)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Added Comments for logic flow in Fetching / Updating Contributor and Angle Mentor in Issue Closed Event.

2. Removed Comments.

3. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* [Fix]

1. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* [Fix]

1. merged_at to be str

* [Fix]

1. Removed duplication handling of merged at

* [Fix]

1. Commenting PR processing from Cron. Todo later - add it as a param in the API whether to process or not

* [FIX]
1. Changed default route response for testing

* added-basic-auth (#251)

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#253)

* added-basic-auth

* removed pass

* added_basic_auth

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#255)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#256)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#257)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#258)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#259)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

* testing from env#3

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#260)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

* testing from env#3

* renamed env for auth

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#261)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

* testing from env#3

* renamed env for auth

* added

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* removed barrier (#262)

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#263)

* removed barrier

* reverting to old code

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#264)

* removed barrier

* reverting to old code

* modified contributor

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#267)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#268)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* Revert "04/sep removing community contrbutor barrier (#268)" (#269)

This reverts commit b52c76c.

* 04/sep removing community contrbutor barrier (#270)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#271)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#272)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#274)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 26/sep token issue (#276)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* added debug statements

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 26/sep token issue (#277)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* added debug statements

* added c4gt_bounty coding etc

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#279)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* Revert "04/sep removing community contrbutor barrier (#279)" (#282)

This reverts commit 9e59683.

* 04/sep removing community contrbutor barrier (#283)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#285)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#287)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#289)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#291)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* Update app.py

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#293)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#295)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#297)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#299)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#301)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#303)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#305)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#307)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#309)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#312)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#314)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#316)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* program-tickets

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#318)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* program-tickets

* program tickets

* program tickets

* program tickets

* program tickets

* changed api

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#320)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* program-tickets

* program tickets

* program tickets

* program tickets

* program tickets

* changed api

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#322)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* program-tickets

* program tickets

* program tickets

* program tickets

* program tickets

* changed api

* added program ticket

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#325)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* program-tickets

* program tickets

* program tickets

* program tickets

* program tickets

* changed api

* added program ticket

* final api

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#327)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* program-tickets

* program tickets

* program tickets

* program tickets

* program tickets

* changed api

* added program ticket

* final api

* program tickets

* programtickets

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* final

* final

* final

* final

* final

* filterapi

* filterapi

* filterapi

---------

Co-authored-by: Shreyash <shreyash.sahare@esmagico.in>
Co-authored-by: jaanbaaz <jaanbaaz.akhtar@esmagico.in>
Co-authored-by: jaanbaaz <106968030+jaanbaaz@users.noreply.github.com>
Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>
praveenkumar911 added a commit that referenced this pull request Dec 18, 2025
* cron poc

* code completion in cron

* create and update checks in adding contributors to a ticket

* sending report to discord bot added

* Cron Fixes Mentor and Contributor

* logs and await added in add_contributors

* user activity calling type changed

* Cron Fixes

* Updated requirements.txt

* code changes for cron token generation

* changes in requirements.txt

* jwt generator and access token changes

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* updated jwt token generator for deploy testing

* updated jwt token generator for deploy testing

* updated requirements.txt for deploy testing

* updated requirements.txt for deploy testing

* updated token generator for deploy testing

* remove jwt to resolve conflict

* trying with local path of pem file to resolve conflict

* updating docker file for pem file

* cleaner

* cleaner

* Removed submodule

* Readded submodule

* Updated Pem location

* Testing - Pem and client id

* pagination and state added to get all apis

* pagination and state added to get all apis

* pagination and state added to get all apis

* 1. Added Access token based requests within handlers.
2. Fixed Issue handler and Pr Handler for cron

* Removed submodule

* Readded submodule

* 1. Mentors data now being fetched from db
2. Since added in comments fetching

* 1. Removed Bot Commenting

* 1. Removed Bot Commenting
2. Added Logger

* 1. Minor fixes for prod deployment
2. Discord Report commented

* 1. Changed cron temporarily to run trigger in batches (#236)

* 1. Handled Exception in Getting Angle Mentor from Markdown Contents

* 1. uncommented PRs from cronjob (#238)

* [Fix] (#240)

1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* Fix/leaderboard (#241)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* Fix/leaderboard (#242)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* Fix/leaderboard (#243)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* Fix/leaderboard (#244)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* Fix/leaderboard (#245)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* Fix/leaderboard (#247)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Added Comments for logic flow in Fetching / Updating Contributor and Angle Mentor in Issue Closed Event.

2. Removed Comments.

3. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* Fix/leaderboard (#248)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Added Comments for logic flow in Fetching / Updating Contributor and Angle Mentor in Issue Closed Event.

2. Removed Comments.

3. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* [Fix]

1. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* Fix/leaderboard (#249)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Added Comments for logic flow in Fetching / Updating Contributor and Angle Mentor in Issue Closed Event.

2. Removed Comments.

3. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* [Fix]

1. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* [Fix]

1. merged_at to be str

* [Fix]

1. Removed duplication handling of merged at

* [Fix]

1. Commenting PR processing from Cron. Todo later - add it as a param in the API whether to process or not

* [FIX]
1. Changed default route response for testing

* added-basic-auth (#251)

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#253)

* added-basic-auth

* removed pass

* added_basic_auth

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#255)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#256)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#257)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#258)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#259)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

* testing from env#3

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#260)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

* testing from env#3

* renamed env for auth

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#261)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

* testing from env#3

* renamed env for auth

* added

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* removed barrier (#262)

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#263)

* removed barrier

* reverting to old code

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#264)

* removed barrier

* reverting to old code

* modified contributor

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#267)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#268)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* Revert "04/sep removing community contrbutor barrier (#268)" (#269)

This reverts commit b52c76c.

* 04/sep removing community contrbutor barrier (#270)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#271)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#272)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#274)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 26/sep token issue (#276)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* added debug statements

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 26/sep token issue (#277)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* added debug statements

* added c4gt_bounty coding etc

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#279)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* Revert "04/sep removing community contrbutor barrier (#279)" (#282)

This reverts commit 9e59683.

* 04/sep removing community contrbutor barrier (#283)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#285)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#287)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#289)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#291)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* Update app.py

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#293)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#295)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#297)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#299)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#301)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#303)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#305)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#307)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#309)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#312)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#314)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#316)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* program-tickets

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#318)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* program-tickets

* program tickets

* program tickets

* program tickets

* program tickets

* changed api

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#320)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* program-tickets

* program tickets

* program tickets

* program tickets

* program tickets

* changed api

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#322)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* program-tickets

* program tickets

* program tickets

* program tickets

* program tickets

* changed api

* added program ticket

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#325)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* program-tickets

* program tickets

* program tickets

* program tickets

* program tickets

* changed api

* added program ticket

* final api

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#327)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* program-tickets

* program tickets

* program tickets

* program tickets

* program tickets

* changed api

* added program ticket

* final api

* program tickets

* programtickets

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* final

* final

* final

* final

* final

* filterapi

* filterapi

* filterapi

* filterapi

---------

Co-authored-by: Shreyash <shreyash.sahare@esmagico.in>
Co-authored-by: jaanbaaz <jaanbaaz.akhtar@esmagico.in>
Co-authored-by: jaanbaaz <106968030+jaanbaaz@users.noreply.github.com>
Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>
praveenkumar911 added a commit that referenced this pull request Dec 18, 2025
* cron poc

* code completion in cron

* create and update checks in adding contributors to a ticket

* sending report to discord bot added

* Cron Fixes Mentor and Contributor

* logs and await added in add_contributors

* user activity calling type changed

* Cron Fixes

* Updated requirements.txt

* code changes for cron token generation

* changes in requirements.txt

* jwt generator and access token changes

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* updated jwt token generator for deploy testing

* updated jwt token generator for deploy testing

* updated requirements.txt for deploy testing

* updated requirements.txt for deploy testing

* updated token generator for deploy testing

* remove jwt to resolve conflict

* trying with local path of pem file to resolve conflict

* updating docker file for pem file

* cleaner

* cleaner

* Removed submodule

* Readded submodule

* Updated Pem location

* Testing - Pem and client id

* pagination and state added to get all apis

* pagination and state added to get all apis

* pagination and state added to get all apis

* 1. Added Access token based requests within handlers.
2. Fixed Issue handler and Pr Handler for cron

* Removed submodule

* Readded submodule

* 1. Mentors data now being fetched from db
2. Since added in comments fetching

* 1. Removed Bot Commenting

* 1. Removed Bot Commenting
2. Added Logger

* 1. Minor fixes for prod deployment
2. Discord Report commented

* 1. Changed cron temporarily to run trigger in batches (#236)

* 1. Handled Exception in Getting Angle Mentor from Markdown Contents

* 1. uncommented PRs from cronjob (#238)

* [Fix] (#240)

1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* Fix/leaderboard (#241)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* Fix/leaderboard (#242)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* Fix/leaderboard (#243)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* Fix/leaderboard (#244)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* Fix/leaderboard (#245)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* Fix/leaderboard (#247)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Added Comments for logic flow in Fetching / Updating Contributor and Angle Mentor in Issue Closed Event.

2. Removed Comments.

3. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* Fix/leaderboard (#248)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Added Comments for logic flow in Fetching / Updating Contributor and Angle Mentor in Issue Closed Event.

2. Removed Comments.

3. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* [Fix]

1. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* Fix/leaderboard (#249)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Added Comments for logic flow in Fetching / Updating Contributor and Angle Mentor in Issue Closed Event.

2. Removed Comments.

3. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* [Fix]

1. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* [Fix]

1. merged_at to be str

* [Fix]

1. Removed duplication handling of merged at

* [Fix]

1. Commenting PR processing from Cron. Todo later - add it as a param in the API whether to process or not

* [FIX]
1. Changed default route response for testing

* added-basic-auth (#251)

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#253)

* added-basic-auth

* removed pass

* added_basic_auth

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#255)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#256)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#257)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#258)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#259)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

* testing from env#3

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#260)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

* testing from env#3

* renamed env for auth

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#261)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

* testing from env#3

* renamed env for auth

* added

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* removed barrier (#262)

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#263)

* removed barrier

* reverting to old code

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#264)

* removed barrier

* reverting to old code

* modified contributor

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#267)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#268)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* Revert "04/sep removing community contrbutor barrier (#268)" (#269)

This reverts commit b52c76c.

* 04/sep removing community contrbutor barrier (#270)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#271)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#272)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#274)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 26/sep token issue (#276)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* added debug statements

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 26/sep token issue (#277)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* added debug statements

* added c4gt_bounty coding etc

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#279)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* Revert "04/sep removing community contrbutor barrier (#279)" (#282)

This reverts commit 9e59683.

* 04/sep removing community contrbutor barrier (#283)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#285)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#287)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#289)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#291)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* Update app.py

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#293)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#295)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#297)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#299)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#301)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#303)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#305)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#307)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#309)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#312)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#314)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#316)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* program-tickets

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#318)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* program-tickets

* program tickets

* program tickets

* program tickets

* program tickets

* changed api

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#320)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* program-tickets

* program tickets

* program tickets

* program tickets

* program tickets

* changed api

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#322)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* program-tickets

* program tickets

* program tickets

* program tickets

* program tickets

* changed api

* added program ticket

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#325)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* program-tickets

* program tickets

* program tickets

* program tickets

* program tickets

* changed api

* added program ticket

* final api

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#327)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* program-tickets

* program tickets

* program tickets

* program tickets

* program tickets

* changed api

* added program ticket

* final api

* program tickets

* programtickets

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* final

* final

* final

* final

* final

* filterapi

* filterapi

* filterapi

* filterapi

* filterapi

---------

Co-authored-by: Shreyash <shreyash.sahare@esmagico.in>
Co-authored-by: jaanbaaz <jaanbaaz.akhtar@esmagico.in>
Co-authored-by: jaanbaaz <106968030+jaanbaaz@users.noreply.github.com>
Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>
praveenkumar911 added a commit that referenced this pull request Dec 18, 2025
* cron poc

* code completion in cron

* create and update checks in adding contributors to a ticket

* sending report to discord bot added

* Cron Fixes Mentor and Contributor

* logs and await added in add_contributors

* user activity calling type changed

* Cron Fixes

* Updated requirements.txt

* code changes for cron token generation

* changes in requirements.txt

* jwt generator and access token changes

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* updated jwt token generator for deploy testing

* updated jwt token generator for deploy testing

* updated requirements.txt for deploy testing

* updated requirements.txt for deploy testing

* updated token generator for deploy testing

* remove jwt to resolve conflict

* trying with local path of pem file to resolve conflict

* updating docker file for pem file

* cleaner

* cleaner

* Removed submodule

* Readded submodule

* Updated Pem location

* Testing - Pem and client id

* pagination and state added to get all apis

* pagination and state added to get all apis

* pagination and state added to get all apis

* 1. Added Access token based requests within handlers.
2. Fixed Issue handler and Pr Handler for cron

* Removed submodule

* Readded submodule

* 1. Mentors data now being fetched from db
2. Since added in comments fetching

* 1. Removed Bot Commenting

* 1. Removed Bot Commenting
2. Added Logger

* 1. Minor fixes for prod deployment
2. Discord Report commented

* 1. Changed cron temporarily to run trigger in batches (#236)

* 1. Handled Exception in Getting Angle Mentor from Markdown Contents

* 1. uncommented PRs from cronjob (#238)

* [Fix] (#240)

1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* Fix/leaderboard (#241)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* Fix/leaderboard (#242)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* Fix/leaderboard (#243)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* Fix/leaderboard (#244)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* Fix/leaderboard (#245)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* Fix/leaderboard (#247)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Added Comments for logic flow in Fetching / Updating Contributor and Angle Mentor in Issue Closed Event.

2. Removed Comments.

3. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* Fix/leaderboard (#248)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Added Comments for logic flow in Fetching / Updating Contributor and Angle Mentor in Issue Closed Event.

2. Removed Comments.

3. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* [Fix]

1. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* Fix/leaderboard (#249)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Added Comments for logic flow in Fetching / Updating Contributor and Angle Mentor in Issue Closed Event.

2. Removed Comments.

3. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* [Fix]

1. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* [Fix]

1. merged_at to be str

* [Fix]

1. Removed duplication handling of merged at

* [Fix]

1. Commenting PR processing from Cron. Todo later - add it as a param in the API whether to process or not

* [FIX]
1. Changed default route response for testing

* added-basic-auth (#251)

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#253)

* added-basic-auth

* removed pass

* added_basic_auth

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#255)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#256)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#257)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#258)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#259)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

* testing from env#3

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#260)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

* testing from env#3

* renamed env for auth

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#261)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

* testing from env#3

* renamed env for auth

* added

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* removed barrier (#262)

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#263)

* removed barrier

* reverting to old code

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#264)

* removed barrier

* reverting to old code

* modified contributor

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#267)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#268)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* Revert "04/sep removing community contrbutor barrier (#268)" (#269)

This reverts commit b52c76c.

* 04/sep removing community contrbutor barrier (#270)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#271)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#272)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#274)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 26/sep token issue (#276)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* added debug statements

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 26/sep token issue (#277)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* added debug statements

* added c4gt_bounty coding etc

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#279)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* Revert "04/sep removing community contrbutor barrier (#279)" (#282)

This reverts commit 9e59683.

* 04/sep removing community contrbutor barrier (#283)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#285)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#287)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#289)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#291)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* Update app.py

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#293)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#295)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#297)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#299)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#301)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#303)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#305)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#307)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#309)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#312)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#314)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#316)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* program-tickets

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#318)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* program-tickets

* program tickets

* program tickets

* program tickets

* program tickets

* changed api

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#320)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* program-tickets

* program tickets

* program tickets

* program tickets

* program tickets

* changed api

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#322)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* program-tickets

* program tickets

* program tickets

* program tickets

* program tickets

* changed api

* added program ticket

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#325)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* program-tickets

* program tickets

* program tickets

* program tickets

* program tickets

* changed api

* added program ticket

* final api

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#327)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* program-tickets

* program tickets

* program tickets

* program tickets

* program tickets

* changed api

* added program ticket

* final api

* program tickets

* programtickets

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* final

* final

* final

* final

* final

* filterapi

* filterapi

* filterapi

* filterapi

* filterapi

* filterapi

---------

Co-authored-by: Shreyash <shreyash.sahare@esmagico.in>
Co-authored-by: jaanbaaz <jaanbaaz.akhtar@esmagico.in>
Co-authored-by: jaanbaaz <106968030+jaanbaaz@users.noreply.github.com>
Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>
praveenkumar911 added a commit that referenced this pull request Dec 18, 2025
* cron poc

* code completion in cron

* create and update checks in adding contributors to a ticket

* sending report to discord bot added

* Cron Fixes Mentor and Contributor

* logs and await added in add_contributors

* user activity calling type changed

* Cron Fixes

* Updated requirements.txt

* code changes for cron token generation

* changes in requirements.txt

* jwt generator and access token changes

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* updated jwt token generator for deploy testing

* updated jwt token generator for deploy testing

* updated requirements.txt for deploy testing

* updated requirements.txt for deploy testing

* updated token generator for deploy testing

* remove jwt to resolve conflict

* trying with local path of pem file to resolve conflict

* updating docker file for pem file

* cleaner

* cleaner

* Removed submodule

* Readded submodule

* Updated Pem location

* Testing - Pem and client id

* pagination and state added to get all apis

* pagination and state added to get all apis

* pagination and state added to get all apis

* 1. Added Access token based requests within handlers.
2. Fixed Issue handler and Pr Handler for cron

* Removed submodule

* Readded submodule

* 1. Mentors data now being fetched from db
2. Since added in comments fetching

* 1. Removed Bot Commenting

* 1. Removed Bot Commenting
2. Added Logger

* 1. Minor fixes for prod deployment
2. Discord Report commented

* 1. Changed cron temporarily to run trigger in batches (#236)

* 1. Handled Exception in Getting Angle Mentor from Markdown Contents

* 1. uncommented PRs from cronjob (#238)

* [Fix] (#240)

1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* Fix/leaderboard (#241)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* Fix/leaderboard (#242)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* Fix/leaderboard (#243)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* Fix/leaderboard (#244)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* Fix/leaderboard (#245)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* Fix/leaderboard (#247)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Added Comments for logic flow in Fetching / Updating Contributor and Angle Mentor in Issue Closed Event.

2. Removed Comments.

3. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* Fix/leaderboard (#248)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Added Comments for logic flow in Fetching / Updating Contributor and Angle Mentor in Issue Closed Event.

2. Removed Comments.

3. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* [Fix]

1. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* Fix/leaderboard (#249)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Added Comments for logic flow in Fetching / Updating Contributor and Angle Mentor in Issue Closed Event.

2. Removed Comments.

3. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* [Fix]

1. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* [Fix]

1. merged_at to be str

* [Fix]

1. Removed duplication handling of merged at

* [Fix]

1. Commenting PR processing from Cron. Todo later - add it as a param in the API whether to process or not

* [FIX]
1. Changed default route response for testing

* added-basic-auth (#251)

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#253)

* added-basic-auth

* removed pass

* added_basic_auth

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#255)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#256)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#257)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#258)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#259)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

* testing from env#3

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#260)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

* testing from env#3

* renamed env for auth

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#261)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

* testing from env#3

* renamed env for auth

* added

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* removed barrier (#262)

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#263)

* removed barrier

* reverting to old code

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#264)

* removed barrier

* reverting to old code

* modified contributor

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#267)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#268)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* Revert "04/sep removing community contrbutor barrier (#268)" (#269)

This reverts commit b52c76c.

* 04/sep removing community contrbutor barrier (#270)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#271)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#272)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#274)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 26/sep token issue (#276)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* added debug statements

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 26/sep token issue (#277)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* added debug statements

* added c4gt_bounty coding etc

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#279)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* Revert "04/sep removing community contrbutor barrier (#279)" (#282)

This reverts commit 9e59683.

* 04/sep removing community contrbutor barrier (#283)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#285)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#287)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#289)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#291)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* Update app.py

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#293)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#295)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#297)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#299)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#301)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#303)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#305)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#307)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#309)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#312)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#314)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#316)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* program-tickets

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#318)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* program-tickets

* program tickets

* program tickets

* program tickets

* program tickets

* changed api

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#320)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* program-tickets

* program tickets

* program tickets

* program tickets

* program tickets

* changed api

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#322)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* program-tickets

* program tickets

* program tickets

* program tickets

* program tickets

* changed api

* added program ticket

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#325)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* program-tickets

* program tickets

* program tickets

* program tickets

* program tickets

* changed api

* added program ticket

* final api

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#327)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* program-tickets

* program tickets

* program tickets

* program tickets

* program tickets

* changed api

* added program ticket

* final api

* program tickets

* programtickets

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* final

* final

* final

* final

* final

* filterapi

* filterapi

* filterapi

* filterapi

* filterapi

* filterapi

* filterapi

---------

Co-authored-by: Shreyash <shreyash.sahare@esmagico.in>
Co-authored-by: jaanbaaz <jaanbaaz.akhtar@esmagico.in>
Co-authored-by: jaanbaaz <106968030+jaanbaaz@users.noreply.github.com>
Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>
praveenkumar911 added a commit that referenced this pull request Dec 18, 2025
* cron poc

* code completion in cron

* create and update checks in adding contributors to a ticket

* sending report to discord bot added

* Cron Fixes Mentor and Contributor

* logs and await added in add_contributors

* user activity calling type changed

* Cron Fixes

* Updated requirements.txt

* code changes for cron token generation

* changes in requirements.txt

* jwt generator and access token changes

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* updated jwt token generator for deploy testing

* updated jwt token generator for deploy testing

* updated requirements.txt for deploy testing

* updated requirements.txt for deploy testing

* updated token generator for deploy testing

* remove jwt to resolve conflict

* trying with local path of pem file to resolve conflict

* updating docker file for pem file

* cleaner

* cleaner

* Removed submodule

* Readded submodule

* Updated Pem location

* Testing - Pem and client id

* pagination and state added to get all apis

* pagination and state added to get all apis

* pagination and state added to get all apis

* 1. Added Access token based requests within handlers.
2. Fixed Issue handler and Pr Handler for cron

* Removed submodule

* Readded submodule

* 1. Mentors data now being fetched from db
2. Since added in comments fetching

* 1. Removed Bot Commenting

* 1. Removed Bot Commenting
2. Added Logger

* 1. Minor fixes for prod deployment
2. Discord Report commented

* 1. Changed cron temporarily to run trigger in batches (#236)

* 1. Handled Exception in Getting Angle Mentor from Markdown Contents

* 1. uncommented PRs from cronjob (#238)

* [Fix] (#240)

1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* Fix/leaderboard (#241)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* Fix/leaderboard (#242)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* Fix/leaderboard (#243)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* Fix/leaderboard (#244)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* Fix/leaderboard (#245)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* Fix/leaderboard (#247)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Added Comments for logic flow in Fetching / Updating Contributor and Angle Mentor in Issue Closed Event.

2. Removed Comments.

3. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* Fix/leaderboard (#248)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Added Comments for logic flow in Fetching / Updating Contributor and Angle Mentor in Issue Closed Event.

2. Removed Comments.

3. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* [Fix]

1. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* Fix/leaderboard (#249)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Added Comments for logic flow in Fetching / Updating Contributor and Angle Mentor in Issue Closed Event.

2. Removed Comments.

3. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* [Fix]

1. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* [Fix]

1. merged_at to be str

* [Fix]

1. Removed duplication handling of merged at

* [Fix]

1. Commenting PR processing from Cron. Todo later - add it as a param in the API whether to process or not

* [FIX]
1. Changed default route response for testing

* added-basic-auth (#251)

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#253)

* added-basic-auth

* removed pass

* added_basic_auth

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#255)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#256)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#257)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#258)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#259)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

* testing from env#3

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#260)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

* testing from env#3

* renamed env for auth

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#261)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

* testing from env#3

* renamed env for auth

* added

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* removed barrier (#262)

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#263)

* removed barrier

* reverting to old code

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#264)

* removed barrier

* reverting to old code

* modified contributor

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#267)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#268)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* Revert "04/sep removing community contrbutor barrier (#268)" (#269)

This reverts commit b52c76c.

* 04/sep removing community contrbutor barrier (#270)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#271)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#272)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#274)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 26/sep token issue (#276)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* added debug statements

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 26/sep token issue (#277)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* added debug statements

* added c4gt_bounty coding etc

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#279)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* Revert "04/sep removing community contrbutor barrier (#279)" (#282)

This reverts commit 9e59683.

* 04/sep removing community contrbutor barrier (#283)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#285)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#287)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#289)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#291)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* Update app.py

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#293)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#295)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#297)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#299)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#301)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#303)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#305)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#307)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#309)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#312)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#314)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#316)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* program-tickets

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#318)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* program-tickets

* program tickets

* program tickets

* program tickets

* program tickets

* changed api

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#320)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* program-tickets

* program tickets

* program tickets

* program tickets

* program tickets

* changed api

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#322)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* program-tickets

* program tickets

* program tickets

* program tickets

* program tickets

* changed api

* added program ticket

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#325)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* program-tickets

* program tickets

* program tickets

* program tickets

* program tickets

* changed api

* added program ticket

* final api

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#327)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* program-tickets

* program tickets

* program tickets

* program tickets

* program tickets

* changed api

* added program ticket

* final api

* program tickets

* programtickets

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* final

* final

* final

* final

* final

* filterapi

* filterapi

* filterapi

* filterapi

* filterapi

* filterapi

* filterapi

* filterapi

---------

Co-authored-by: Shreyash <shreyash.sahare@esmagico.in>
Co-authored-by: jaanbaaz <jaanbaaz.akhtar@esmagico.in>
Co-authored-by: jaanbaaz <106968030+jaanbaaz@users.noreply.github.com>
Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>
praveenkumar911 added a commit that referenced this pull request Dec 18, 2025
* cron poc

* code completion in cron

* create and update checks in adding contributors to a ticket

* sending report to discord bot added

* Cron Fixes Mentor and Contributor

* logs and await added in add_contributors

* user activity calling type changed

* Cron Fixes

* Updated requirements.txt

* code changes for cron token generation

* changes in requirements.txt

* jwt generator and access token changes

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* updated jwt token generator for deploy testing

* updated jwt token generator for deploy testing

* updated requirements.txt for deploy testing

* updated requirements.txt for deploy testing

* updated token generator for deploy testing

* remove jwt to resolve conflict

* trying with local path of pem file to resolve conflict

* updating docker file for pem file

* cleaner

* cleaner

* Removed submodule

* Readded submodule

* Updated Pem location

* Testing - Pem and client id

* pagination and state added to get all apis

* pagination and state added to get all apis

* pagination and state added to get all apis

* 1. Added Access token based requests within handlers.
2. Fixed Issue handler and Pr Handler for cron

* Removed submodule

* Readded submodule

* 1. Mentors data now being fetched from db
2. Since added in comments fetching

* 1. Removed Bot Commenting

* 1. Removed Bot Commenting
2. Added Logger

* 1. Minor fixes for prod deployment
2. Discord Report commented

* 1. Changed cron temporarily to run trigger in batches (#236)

* 1. Handled Exception in Getting Angle Mentor from Markdown Contents

* 1. uncommented PRs from cronjob (#238)

* [Fix] (#240)

1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* Fix/leaderboard (#241)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* Fix/leaderboard (#242)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* Fix/leaderboard (#243)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* Fix/leaderboard (#244)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* Fix/leaderboard (#245)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* Fix/leaderboard (#247)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Added Comments for logic flow in Fetching / Updating Contributor and Angle Mentor in Issue Closed Event.

2. Removed Comments.

3. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* Fix/leaderboard (#248)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Added Comments for logic flow in Fetching / Updating Contributor and Angle Mentor in Issue Closed Event.

2. Removed Comments.

3. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* [Fix]

1. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* Fix/leaderboard (#249)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Added Comments for logic flow in Fetching / Updating Contributor and Angle Mentor in Issue Closed Event.

2. Removed Comments.

3. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* [Fix]

1. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* [Fix]

1. merged_at to be str

* [Fix]

1. Removed duplication handling of merged at

* [Fix]

1. Commenting PR processing from Cron. Todo later - add it as a param in the API whether to process or not

* [FIX]
1. Changed default route response for testing

* added-basic-auth (#251)

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#253)

* added-basic-auth

* removed pass

* added_basic_auth

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#255)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#256)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#257)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#258)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#259)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

* testing from env#3

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#260)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

* testing from env#3

* renamed env for auth

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#261)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

* testing from env#3

* renamed env for auth

* added

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* removed barrier (#262)

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#263)

* removed barrier

* reverting to old code

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#264)

* removed barrier

* reverting to old code

* modified contributor

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#267)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#268)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* Revert "04/sep removing community contrbutor barrier (#268)" (#269)

This reverts commit b52c76c.

* 04/sep removing community contrbutor barrier (#270)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#271)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#272)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#274)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 26/sep token issue (#276)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* added debug statements

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 26/sep token issue (#277)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* added debug statements

* added c4gt_bounty coding etc

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#279)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* Revert "04/sep removing community contrbutor barrier (#279)" (#282)

This reverts commit 9e59683.

* 04/sep removing community contrbutor barrier (#283)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#285)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#287)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#289)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#291)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* Update app.py

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#293)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#295)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#297)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#299)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#301)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#303)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#305)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#307)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#309)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#312)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#314)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#316)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* program-tickets

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#318)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* program-tickets

* program tickets

* program tickets

* program tickets

* program tickets

* changed api

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#320)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* program-tickets

* program tickets

* program tickets

* program tickets

* program tickets

* changed api

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#322)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* program-tickets

* program tickets

* program tickets

* program tickets

* program tickets

* changed api

* added program ticket

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#325)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* program-tickets

* program tickets

* program tickets

* program tickets

* program tickets

* changed api

* added program ticket

* final api

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#327)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* program-tickets

* program tickets

* program tickets

* program tickets

* program tickets

* changed api

* added program ticket

* final api

* program tickets

* programtickets

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* final

* final

* final

* final

* final

* filterapi

* filterapi

* filterapi

* filterapi

* filterapi

* filterapi

* filterapi

* filterapi

* filterapi

---------

Co-authored-by: Shreyash <shreyash.sahare@esmagico.in>
Co-authored-by: jaanbaaz <jaanbaaz.akhtar@esmagico.in>
Co-authored-by: jaanbaaz <106968030+jaanbaaz@users.noreply.github.com>
Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>
praveenkumar911 added a commit that referenced this pull request Dec 18, 2025
* cron poc

* code completion in cron

* create and update checks in adding contributors to a ticket

* sending report to discord bot added

* Cron Fixes Mentor and Contributor

* logs and await added in add_contributors

* user activity calling type changed

* Cron Fixes

* Updated requirements.txt

* code changes for cron token generation

* changes in requirements.txt

* jwt generator and access token changes

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* updated jwt token generator for deploy testing

* updated jwt token generator for deploy testing

* updated requirements.txt for deploy testing

* updated requirements.txt for deploy testing

* updated token generator for deploy testing

* remove jwt to resolve conflict

* trying with local path of pem file to resolve conflict

* updating docker file for pem file

* cleaner

* cleaner

* Removed submodule

* Readded submodule

* Updated Pem location

* Testing - Pem and client id

* pagination and state added to get all apis

* pagination and state added to get all apis

* pagination and state added to get all apis

* 1. Added Access token based requests within handlers.
2. Fixed Issue handler and Pr Handler for cron

* Removed submodule

* Readded submodule

* 1. Mentors data now being fetched from db
2. Since added in comments fetching

* 1. Removed Bot Commenting

* 1. Removed Bot Commenting
2. Added Logger

* 1. Minor fixes for prod deployment
2. Discord Report commented

* 1. Changed cron temporarily to run trigger in batches (#236)

* 1. Handled Exception in Getting Angle Mentor from Markdown Contents

* 1. uncommented PRs from cronjob (#238)

* [Fix] (#240)

1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* Fix/leaderboard (#241)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* Fix/leaderboard (#242)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* Fix/leaderboard (#243)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* Fix/leaderboard (#244)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* Fix/leaderboard (#245)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* Fix/leaderboard (#247)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Added Comments for logic flow in Fetching / Updating Contributor and Angle Mentor in Issue Closed Event.

2. Removed Comments.

3. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* Fix/leaderboard (#248)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Added Comments for logic flow in Fetching / Updating Contributor and Angle Mentor in Issue Closed Event.

2. Removed Comments.

3. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* [Fix]

1. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* Fix/leaderboard (#249)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Added Comments for logic flow in Fetching / Updating Contributor and Angle Mentor in Issue Closed Event.

2. Removed Comments.

3. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* [Fix]

1. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* [Fix]

1. merged_at to be str

* [Fix]

1. Removed duplication handling of merged at

* [Fix]

1. Commenting PR processing from Cron. Todo later - add it as a param in the API whether to process or not

* [FIX]
1. Changed default route response for testing

* added-basic-auth (#251)

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#253)

* added-basic-auth

* removed pass

* added_basic_auth

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#255)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#256)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#257)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#258)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#259)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

* testing from env#3

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#260)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

* testing from env#3

* renamed env for auth

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#261)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

* testing from env#3

* renamed env for auth

* added

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* removed barrier (#262)

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#263)

* removed barrier

* reverting to old code

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#264)

* removed barrier

* reverting to old code

* modified contributor

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#267)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#268)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* Revert "04/sep removing community contrbutor barrier (#268)" (#269)

This reverts commit b52c76c.

* 04/sep removing community contrbutor barrier (#270)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#271)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#272)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#274)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 26/sep token issue (#276)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* added debug statements

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 26/sep token issue (#277)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* added debug statements

* added c4gt_bounty coding etc

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#279)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* Revert "04/sep removing community contrbutor barrier (#279)" (#282)

This reverts commit 9e59683.

* 04/sep removing community contrbutor barrier (#283)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#285)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#287)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#289)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#291)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* Update app.py

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#293)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#295)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#297)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#299)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#301)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#303)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#305)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#307)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#309)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#312)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#314)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#316)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* program-tickets

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#318)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* program-tickets

* program tickets

* program tickets

* program tickets

* program tickets

* changed api

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#320)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* program-tickets

* program tickets

* program tickets

* program tickets

* program tickets

* changed api

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#322)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* program-tickets

* program tickets

* program tickets

* program tickets

* program tickets

* changed api

* added program ticket

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#325)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* program-tickets

* program tickets

* program tickets

* program tickets

* program tickets

* changed api

* added program ticket

* final api

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#327)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* program-tickets

* program tickets

* program tickets

* program tickets

* program tickets

* changed api

* added program ticket

* final api

* program tickets

* programtickets

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* final

* final

* final

* final

* final

* filterapi

* filterapi

* filterapi

* filterapi

* filterapi

* filterapi

* filterapi

* filterapi

* filterapi

* filterapi

---------

Co-authored-by: Shreyash <shreyash.sahare@esmagico.in>
Co-authored-by: jaanbaaz <jaanbaaz.akhtar@esmagico.in>
Co-authored-by: jaanbaaz <106968030+jaanbaaz@users.noreply.github.com>
Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>
praveenkumar911 added a commit that referenced this pull request Feb 23, 2026
* cron poc

* code completion in cron

* create and update checks in adding contributors to a ticket

* sending report to discord bot added

* Cron Fixes Mentor and Contributor

* logs and await added in add_contributors

* user activity calling type changed

* Cron Fixes

* Updated requirements.txt

* code changes for cron token generation

* changes in requirements.txt

* jwt generator and access token changes

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* reading pem file bug fix

* updated jwt token generator for deploy testing

* updated jwt token generator for deploy testing

* updated requirements.txt for deploy testing

* updated requirements.txt for deploy testing

* updated token generator for deploy testing

* remove jwt to resolve conflict

* trying with local path of pem file to resolve conflict

* updating docker file for pem file

* cleaner

* cleaner

* Removed submodule

* Readded submodule

* Updated Pem location

* Testing - Pem and client id

* pagination and state added to get all apis

* pagination and state added to get all apis

* pagination and state added to get all apis

* 1. Added Access token based requests within handlers.
2. Fixed Issue handler and Pr Handler for cron

* Removed submodule

* Readded submodule

* 1. Mentors data now being fetched from db
2. Since added in comments fetching

* 1. Removed Bot Commenting

* 1. Removed Bot Commenting
2. Added Logger

* 1. Minor fixes for prod deployment
2. Discord Report commented

* 1. Changed cron temporarily to run trigger in batches (#236)

* 1. Handled Exception in Getting Angle Mentor from Markdown Contents

* 1. uncommented PRs from cronjob (#238)

* [Fix] (#240)

1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* Fix/leaderboard (#241)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* Fix/leaderboard (#242)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* Fix/leaderboard (#243)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* Fix/leaderboard (#244)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* Fix/leaderboard (#245)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* Fix/leaderboard (#247)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Added Comments for logic flow in Fetching / Updating Contributor and Angle Mentor in Issue Closed Event.

2. Removed Comments.

3. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* Fix/leaderboard (#248)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Added Comments for logic flow in Fetching / Updating Contributor and Angle Mentor in Issue Closed Event.

2. Removed Comments.

3. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* [Fix]

1. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* Fix/leaderboard (#249)

* [Fix]
1. Exception Handling template parsing.
2. Handling Angle Mentor for the case where angle mentor is absent
3. Checking for contributors again from assignee when issue is being closed.

* [Fix]
1. Restructured contributor id and angel mentor id in the code flow before points are inserted in the db.

* [Fix]
1. Exception handling in getting Issue from PR

* [Fix]
1. Logging exact line

* [Fix]
1. Logging exact line

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Fixed fetching of merged_by field when PR is opened.

* [Fix]
1. Added Comments for logic flow in Fetching / Updating Contributor and Angle Mentor in Issue Closed Event.

2. Removed Comments.

3. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* [Fix]

1. Simplified If else comprehension statements into nested if else in Pull Request Handler.

* [Fix]

1. merged_at to be str

* [Fix]

1. Removed duplication handling of merged at

* [Fix]

1. Commenting PR processing from Cron. Todo later - add it as a param in the API whether to process or not

* [FIX]
1. Changed default route response for testing

* added-basic-auth (#251)

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#253)

* added-basic-auth

* removed pass

* added_basic_auth

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#255)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#256)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#257)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#258)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#259)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

* testing from env#3

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#260)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

* testing from env#3

* renamed env for auth

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 29/added basic auth to cron (#261)

* added-basic-auth

* removed pass

* added_basic_auth

* removed auth

* added comment in base path

* added testing password

* added .env functionality

* testing from env#2

* testing from env#3

* renamed env for auth

* added

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* removed barrier (#262)

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#263)

* removed barrier

* reverting to old code

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#264)

* removed barrier

* reverting to old code

* modified contributor

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#267)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#268)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* Revert "04/sep removing community contrbutor barrier (#268)" (#269)

This reverts commit b52c76c.

* 04/sep removing community contrbutor barrier (#270)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#271)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#272)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#274)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 26/sep token issue (#276)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* added debug statements

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 26/sep token issue (#277)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* added debug statements

* added c4gt_bounty coding etc

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#279)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* Revert "04/sep removing community contrbutor barrier (#279)" (#282)

This reverts commit 9e59683.

* 04/sep removing community contrbutor barrier (#283)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#285)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#287)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#289)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#291)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* Update app.py

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#293)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#295)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#297)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#299)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#301)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#303)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#305)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#307)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#309)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#312)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#314)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#316)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* program-tickets

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#318)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* program-tickets

* program tickets

* program tickets

* program tickets

* program tickets

* changed api

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#320)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* program-tickets

* program tickets

* program tickets

* program tickets

* program tickets

* changed api

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#322)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* program-tickets

* program tickets

* program tickets

* program tickets

* program tickets

* changed api

* added program ticket

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#325)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* program-tickets

* program tickets

* program tickets

* program tickets

* program tickets

* changed api

* added program ticket

* final api

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* 04/sep removing community contrbutor barrier (#327)

* removed barrier

* reverting to old code

* modified contributor

* bug testing

* changed varibale of .env

* dev revert

* revert old code

* changed to use default handler for contributor id as 0

* modified contributor issue in pull request as well

* modified api program ticket

* modified tickets table api

* changed docker from bluster to bullseye

* testing tickets api

* added ticket filter

* added ticket filter

* added ticket filter

* Update app.py

* Refactor issue data parsing for improved safety

* added ticket filter

* added apis

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* filtering issues

* program-tickets

* program tickets

* program tickets

* program tickets

* program tickets

* changed api

* added program ticket

* final api

* program tickets

* programtickets

---------

Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>

* final

* final

* final

* final

* final

* filterapi

* filterapi

* filterapi

* filterapi

* filterapi

* filterapi

* filterapi

* filterapi

* filterapi

* filterapi

* changed time zone

---------

Co-authored-by: Shreyash <shreyash.sahare@esmagico.in>
Co-authored-by: jaanbaaz <jaanbaaz.akhtar@esmagico.in>
Co-authored-by: jaanbaaz <106968030+jaanbaaz@users.noreply.github.com>
Co-authored-by: praveenkumar911 <praveenkumarpalaboyina@Praveens-MacBook-Air.local>
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.

1 participant