Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
45ab615
resolved conflict
AlokSP Nov 17, 2025
2d84499
add Training Resource post and template
AlokSP May 2, 2025
3be2df7
resolved conflict
AlokSP Sep 29, 2025
5710210
resolved conflict
AlokSP Sep 29, 2025
586199b
doc and excel to pdf
AlokSP Jun 3, 2025
22ea9ff
resolved conflict
AlokSP Sep 29, 2025
99bb8e8
update Training Resource Post
AlokSP Jun 24, 2025
50d9d6f
resolved conflict
AlokSP Nov 17, 2025
c8a4918
delete and enable/disable training Resource
AlokSP Jul 25, 2025
cb7d110
trainingResource template and common Elements
AlokSP Nov 25, 2025
00f7425
AjaxController to load by topic, lan and fileType
AlokSP Nov 26, 2025
4cf6408
ajaxsuport Tr dopdown data and submit restriction
AlokSP Dec 2, 2025
f331655
dowanload and share Training Resource
AlokSP Dec 12, 2025
5bc726b
Training Resource Image View
AlokSP Dec 15, 2025
dc4634c
Training Resource Navigation and fixed load file Name issue in dropDown
AlokSP Dec 16, 2025
7b40e0a
Pdf view
AlokSP Dec 16, 2025
81d8c4d
doc and excel restriction
AlokSP Dec 16, 2025
e66280e
doc and Excel view, download and share
AlokSP Dec 17, 2025
889dd64
removed this code zipIn.transferTo(out)
AlokSP Dec 17, 2025
6510c4d
check-deployment
AlokSP Dec 17, 2025
0454ac2
commented doc_to_pdf.command property code
AlokSP Dec 17, 2025
6df49e8
cleaned up the project
AlokSP Dec 18, 2025
e1653c2
uncommented temp comment and git time
AlokSP Dec 18, 2025
3c3ce6e
Training Resource Login
AlokSP Dec 18, 2025
c3c13e4
removed one line and cleaned
AlokSP Dec 18, 2025
aaad787
Checking application property file
AlokSP Dec 18, 2025
fe6a11a
commented doc_to_pdf command code
AlokSP Dec 18, 2025
16d0d03
cleaned up the project again
AlokSP Dec 18, 2025
cb23fa2
added doctoPdfCommand again
AlokSP Dec 22, 2025
35597fa
category in Training Resource to filter topics
AlokSP Dec 31, 2025
036740b
category in update Training Resource
AlokSP Dec 31, 2025
1241aef
share Training Resources
AlokSP Jan 6, 2026
8e71193
changed image height and sorted filepaths
AlokSP Jan 7, 2026
7fe2728
delete and download
AlokSP Jan 12, 2026
7dac8bc
Training Resource dropdown and timescript and slide download
AlokSP Jan 13, 2026
d450771
Training Resource and download of brochures and reserach papers
AlokSP Jan 16, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/main/java/com/health/HealthNutrition.java
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ public class HealthNutrition extends org.springframework.boot.web.servlet.suppor
@Value("${git.commit.id}")
private String gitCommitId;

@Value("${createdby}")
private String createdBy;

@Override
protected SpringApplicationBuilder configure(SpringApplicationBuilder builder) {
return builder.sources(HealthNutrition.class);
Expand All @@ -51,6 +54,7 @@ public static void main(String[] args) {
@Override
public void run(String... args) throws Exception {
logger.info("Starting application {}", gitCommitId);
logger.info("Checking application properties: created by {}", createdBy);

try {

Expand Down
12 changes: 10 additions & 2 deletions src/main/java/com/health/config/SecurityConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,10 @@ public static BCryptPasswordEncoder passwordEncoder() {
"/api/scriptPublished/**", "/loadLanguageByPackage/**", "/promoVideoView/**", "/trainingModules/**",
"/downloadTrainingModules", "/loadMessageByPackageAndLan/**", "/loadLanguageByWeek/**",
"/loadWeekByLanguage/**", "/trainingTutorials/**", "/hstTrainingModuleView/**", "/downloadManager/**",
"/downloadManagerforhst/**", "/downloadHealthTutorials/**" };
"/downloadManagerforhst/**", "/downloadHealthTutorials/**", "/Training-Resource/**",
"/loadLanAndFileTypeByTopic/**", "/loadTopicAndFileTypeByLan/**", "/loadTopicAndLanByFileType/**",
"/downloadTrainingResource/**", "/shared-Training-Resource/**", "/shared-training-resource-file/**",
"/check-deployment" };

/**
* url matcher for SUPERADMIN
Expand Down Expand Up @@ -94,8 +97,11 @@ public static BCryptPasswordEncoder passwordEncoder() {
"/addScript/**", "/listTutorialForContributorReview/**", "/Contributor/review/**", "/uploadTimescript/**",
"/addLiveTutorial", "/updateLiveTutorial", "/addSpokenVideo", "/spokenVideo/edit/**", "/addVideoResource",
"/createPackage", "/packageName/edit/**", "/updatePackageName", "/weekTitleVideo/editTitle/**",

"/updateTitle", "/weekTitleVideo/editWeek/**", "/updateWeek", "/enableDisableCourseCatTopic",
"/delete-category-topic-from-course", "/createCourse", "/courseName/edit/**", "/updateCourseName",
"/addTrainingResource", "/trainingReource/view/**", "/trainingReourceAdminView/**",
"/trainingReource/edit/**", "/enableDisableTrainingResource", "/delete-trainingResource",

};

Expand Down Expand Up @@ -155,11 +161,13 @@ protected void configure(HttpSecurity http) throws Exception {
"/addTestimonial/**", "/addPromoVideo/**", "/addResearchPaper/**", "/brochure/edit/**",
"/promoVideo/edit/**", "/carousel/edit/**", "/event/edit/**", "/testimonial/edit/**",
"/createPackage", "/packageName/edit/**", "/updatePackageName", "/weekTitleVideo/editTitle/**",

"/updateTitle", "/weekTitleVideo/editWeek/**", "/updateWeek", "/researchPaper/edit/**",
"/enableDisableBrouchure/**", "/enableDisableConsultant/**", "/enableDisableTestimonial/**",
"/addCitation/**", "/citation/edit/**", "/enableDisableCourseCatTopic",
"/delete-category-topic-from-course", "/createCourse", "/courseName/edit/**",
"/updateCourseName")
"/updateCourseName", "/addTrainingResource")

.hasAnyAuthority("SUPER_USER", "CONTRIBUTOR").antMatchers(PUBLIC_MATCHERS).permitAll().anyRequest()
.authenticated().and().exceptionHandling().accessDeniedPage("/access-denied");

Expand Down
Loading