Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1668 commits
Select commit Hold shift + click to select a range
a2aa1c9
remove log and unuseble code
Jumvi Oct 15, 2024
f79cad3
Merge pull request #144 from KadeaAcademy/feat/change-catalogue-layout
Jumvi Oct 15, 2024
84e48e4
fix:provide moodle course by refactor getting logic
Jumvi Oct 15, 2024
798f9c1
Merge pull request #145 from KadeaAcademy/feat/change-catalogue-layout
Jumvi Oct 15, 2024
32f1ce8
fix:set value of isDataloading after filter data
Jumvi Oct 15, 2024
7d16852
Merge pull request #146 from KadeaAcademy/feat/change-catalogue-layout
Jumvi Oct 15, 2024
80761d2
refactor:before fetching data check when localstorage content this da…
Jumvi Oct 16, 2024
d266a46
drop - in value of url
Jumvi Oct 16, 2024
b3a331b
Merge pull request #148 from KadeaAcademy/feat/change-catalogue-layout
Jumvi Oct 16, 2024
0423cb4
refactor:delete functions and parameters not relevant to operation
Jumvi Oct 18, 2024
ad6fc69
refactor:adaptation of url values to queries received when categories…
Jumvi Oct 18, 2024
258f897
feat:add end point for save data in database and get data from database
Jumvi Oct 30, 2024
35b9093
test:run function for fetching raven data from db
Jumvi Oct 30, 2024
fcac65a
add test for js files
Jumvi Oct 30, 2024
d3a50a9
test end point for getting data from data base
Jumvi Oct 30, 2024
28f290f
Merge pull request #150 from KadeaAcademy/feat/change-catalogue-layout
Jumvi Oct 30, 2024
ae7c4c1
fix:add get raven token path
Jumvi Nov 11, 2024
bffce28
Merge pull request #152 from KadeaAcademy/feat/change-catalogue-layout
Jumvi Nov 11, 2024
00af0d7
fix:update saveDataOnDB function and add csrf-token endpoit for gener…
Jumvi Nov 15, 2024
e1cb9ab
fix:update getAcessTokenFromRequest function for return the valid acc…
Jumvi Nov 15, 2024
4002fd7
refact:update datasource url and others property's
Jumvi Nov 15, 2024
30b47d8
update: modify but not change a few things
Jumvi Nov 15, 2024
4bbf2cd
update:remove testing execute of saveDataOnDB function and getDataFro…
Jumvi Nov 15, 2024
cde921a
feat:add updated data button allowing admin ro update raven data courses
Jumvi Nov 15, 2024
afe8b20
fix:update saveDataOnDb function by add jwtToken and csrf token on re…
Jumvi Nov 15, 2024
91e9826
add crsuf packages
Jumvi Nov 15, 2024
83b97b5
fix:from forme toi to forme-toi in the hero section landing page
Jumvi Nov 19, 2024
71daed4
Merge pull request #154 from KadeaAcademy/feat/change-catalogue-layout
Jumvi Nov 19, 2024
08a5836
add Add JSON loader:
Jumvi Nov 20, 2024
c752bb6
feat:add raven course data model
Jumvi Nov 20, 2024
ea96e6a
fix:save value of saveRavenDataToDb function in a variable because he…
Jumvi Nov 20, 2024
9331741
feat:add ravencourse model config
Jumvi Nov 20, 2024
3f1c025
fix:update saveDataToDb server controler and saveDataOnDb client func…
Jumvi Nov 20, 2024
209b362
fix:update savedataOnDb function
Jumvi Nov 21, 2024
c6ac120
comment saveRavenDataToDb server controler
Jumvi Nov 21, 2024
bd75c61
Merge pull request #157 from KadeaAcademy/feat/change-catalogue-layout
Jumvi Nov 21, 2024
0c02fb4
fix:fix syntaxique error from h1 section ,from lingne at ligne
Jumvi Nov 26, 2024
195013e
Merge pull request #159 from KadeaAcademy/feat/change-catalogue-layout
Jumvi Nov 26, 2024
eea21a0
update save data to Db controlleur and make it in commentaire for pre…
Jumvi Nov 26, 2024
d28d755
update hundle updatedCourses
Jumvi Nov 26, 2024
0f5c11f
update function for call save data to db controler and get cookies fu…
Jumvi Nov 26, 2024
2c43709
Merge pull request #161 from KadeaAcademy/feat/change-catalogue-layout
Jumvi Nov 26, 2024
e9cf05f
fix:update save data on db controler , now it correctely add data on …
Jumvi Nov 27, 2024
f3e8335
fix:update model by changig type of category and add default attribute
Jumvi Nov 27, 2024
a5cba59
update to date for raven data, using now 11.11.2024 date
Jumvi Nov 27, 2024
0a598d9
update hundleUpdatedCourses function
Jumvi Nov 27, 2024
4345d78
get data from aws, put on kadea mongoose database and in a json file …
Jumvi Nov 27, 2024
16d21c1
feat:add a json data for save data from raven
Jumvi Nov 27, 2024
ba1ff2a
remove condition when hidden ravencourse title where token was not di…
Jumvi Nov 27, 2024
ab9d56f
Merge pull request #163 from KadeaAcademy/feat/change-catalogue-layout
Jumvi Nov 27, 2024
cf549e7
remove localstorage adding data and use data from json file
Jumvi Nov 28, 2024
31d8385
Merge pull request #164 from KadeaAcademy/feat/change-catalogue-layout
Jumvi Nov 28, 2024
beb43fd
refactor:update logical getting courses by using getAwsPath function
Jumvi Nov 29, 2024
9adcc55
update getting parommation courses(kadea courses)
Jumvi Nov 29, 2024
a2a6e9d
Merge pull request #166 from KadeaAcademy/feat/change-catalogue-layout
Jumvi Nov 29, 2024
1770793
fix:update logic for display ravenData card wen user in the landing page
Jumvi Nov 29, 2024
9e6329a
Merge pull request #168 from KadeaAcademy/feat/change-catalogue-layout
Jumvi Nov 29, 2024
1669490
refactor: update LearnPage layout by commenting out unused components…
Jumvi Nov 29, 2024
fec7509
style: add text-decoration none to formation card and training title
Jumvi Dec 2, 2024
f7f3472
feat: implement raven data handling and create random courses generator
Jumvi Dec 2, 2024
fdbd32a
feat: enhance popular courses display by combining Raven and Moodle c…
Jumvi Dec 2, 2024
296f30f
feat: randomize selection of Raven and Moodle courses in popular cour…
Jumvi Dec 2, 2024
ace0758
fix: adjust random selection logic for Raven courses in popular cours…
Jumvi Dec 2, 2024
2c9f5ac
Merge pull request #173 from KadeaAcademy/develop
Jumvi Dec 9, 2024
0781be4
fix: adjust image width and padding in course card styles
Jumvi Dec 9, 2024
e190e17
fix: set training image width to 100% for better responsiveness
Jumvi Dec 9, 2024
7601792
Merge pull request #174 from KadeaAcademy/feat/change-catalogue-layout
Jumvi Dec 9, 2024
aa3d11c
fix: increase course detail logo width to 80% for improved visibility
Jumvi Dec 9, 2024
95fb5a2
Merge pull request #175 from KadeaAcademy/feat/change-catalogue-layout
Jumvi Dec 9, 2024
3bd3ea9
fix: refactor Raven courses data retrieval to improve error handling …
Jumvi Dec 20, 2024
e730b06
fix: add new route for retrieving Kinshasa digital Raven courses data
Jumvi Dec 20, 2024
e99a71c
fix: update ACLs to allow public read access for Raven courses
Jumvi Dec 20, 2024
af2c820
fix: add function to generate access token with guest role and read p…
Jumvi Dec 20, 2024
16ab29b
fix: update data retrieval method to use getDataFromDb for improved r…
Jumvi Dec 23, 2024
24981e7
fix: refactor getDataFromDb to improve error handling and filter cour…
Jumvi Dec 23, 2024
cb0c5d1
fix: update getRavenPathResources to use getDataFromDb and remove unu…
Jumvi Dec 23, 2024
794543b
fix: update Formations component to use getDataFromDb for fetching Ra…
Jumvi Dec 23, 2024
7b88e17
fix: update CoursesFilterSection to fetch Raven courses using getData…
Jumvi Dec 23, 2024
3e39258
fix: update ShowLearningPath to fetch Raven courses using getDataFromDb
Jumvi Dec 23, 2024
a133d43
fix: update Courses component to fetch Raven courses using getDataFromDb
Jumvi Dec 23, 2024
0d9b9f7
fix: update ShowAwsCourses to fetch Raven courses using getDataFromDb
Jumvi Dec 23, 2024
496bbaf
fix: update CourseByCatalogue to fetch Raven courses using getDataFromDb
Jumvi Dec 23, 2024
82d27fc
fix: update fetchRavenCoursesSaga to use getDataFromDb for fetching c…
Jumvi Dec 23, 2024
52e9f57
fix: remove unnecessary loading state update in CourseByCatalogue com…
Jumvi Dec 23, 2024
29dd83c
fix: refactor Courses component to use setDataRaven and simplify load…
Jumvi Dec 23, 2024
8c8a91b
fix: enhance CourseByCatalogue to handle empty Raven courses by fetch…
Jumvi Dec 26, 2024
2761750
fix: update ShowAwsCourses to use getAwsPath for fetching Raven courses
Jumvi Dec 26, 2024
1a7059b
fix: update Courses component to fetch Raven courses from AWS when da…
Jumvi Dec 26, 2024
676d0f2
fix: update CoursesFilterSection to fetch Raven courses from AWS when…
Jumvi Dec 26, 2024
5d0264a
fix: update Formations component to fetch Raven courses from AWS when…
Jumvi Dec 26, 2024
f10e9ec
fix: refactor getAwsPath and saveDataOnDb functions for improved cour…
Jumvi Dec 26, 2024
03c60a2
Merge pull request #177 from KadeaAcademy/feat/change-catalogue-layout
Jumvi Dec 26, 2024
d819740
fix: enhance error handling and improve course skill level extraction…
Jumvi Dec 26, 2024
974b74c
Merge pull request #179 from KadeaAcademy/feat/change-catalogue-layout
Jumvi Dec 26, 2024
c6b8f29
fix: add roles property to RavenCourse type and enhance role extracti…
Jumvi Dec 26, 2024
d0ab4ae
feat: add CourseList component to display courses by type with AWS an…
Jumvi Dec 27, 2024
6ec32f1
feat: add PaginationControls component for navigating through pages i…
Jumvi Dec 27, 2024
8e6ffe0
fix: add domain filtering logic for AI-related courses in filterLogics
Jumvi Dec 27, 2024
590b101
feat: add filterbyIa atom for improved filtering of course categories…
Jumvi Dec 27, 2024
e6f0d6b
refactor: separate course pagination and card display into dedicated …
Jumvi Dec 27, 2024
86c1215
Merge pull request #181 from KadeaAcademy/feat/change-catalogue-layout
Jumvi Dec 27, 2024
36eef90
feat: implement manyCategoryFilter for enhanced course filtering by c…
Jumvi Dec 27, 2024
91712d9
feat: refactor manyCategoryFilter to accept parameters for improved c…
Jumvi Dec 27, 2024
744eec7
Merge pull request #182 from KadeaAcademy/feat/change-catalogue-layout
Jumvi Dec 27, 2024
bffa54a
fix: update course visibility check to improve type safety in CourseL…
Jumvi Dec 29, 2024
93e35bb
feat: enhance manyCategoryFilter to include additional IA-related cou…
Jumvi Dec 29, 2024
e84790c
feat: expand domain IA filter to include additional data-related fields
Jumvi Dec 29, 2024
47e950b
fix: update course visibility check to handle additional URL format f…
Jumvi Dec 29, 2024
0f1395f
fix: update course visibility check to handle case-insensitive URL fo…
Jumvi Dec 29, 2024
12c5b58
Merge pull request #183 from KadeaAcademy/feat/change-catalogue-layout
Jumvi Dec 30, 2024
ac11b09
feat: add new component to display IA courses with filtering and rend…
Jumvi Dec 30, 2024
c5b503a
feat: refactor course rendering to use SwhowIaCourses component for I…
Jumvi Dec 30, 2024
7efeb7d
feat: add ShowProgrammationCourses component for rendering programmin…
Jumvi Dec 30, 2024
d00e9e4
feat: add ShowOnlyRavenCourses component for rendering AWS courses
Jumvi Dec 30, 2024
7701c0e
feat: add ShowOnlyMoodleCourses component for rendering Moodle courses
Jumvi Dec 30, 2024
79ea07f
feat: refactor CourseList to utilize specific components for course t…
Jumvi Dec 30, 2024
0db4eba
feat: refactor SwhowIaCourses component to use React fragments for re…
Jumvi Dec 30, 2024
0a1dba2
feat: add specification field to ProgramationCourses interface and up…
Jumvi Dec 30, 2024
dcfafe0
feat: add MoodleCoursesCatalogue type to UnifiedCourse for improved c…
Jumvi Dec 30, 2024
a5dcf97
feat: add allDataCourses state management to CoursesFilterSection for…
Jumvi Dec 30, 2024
b813eec
feat: enhance Courses component with pagination and modular course di…
Jumvi Dec 30, 2024
e980d8d
feat: simplify course components by removing unnecessary URL filtering
Jumvi Dec 30, 2024
524c1ba
feat: integrate allDataCourses state management in CourseByCatalogue …
Jumvi Dec 30, 2024
9116236
feat: simplify CourseList component by removing unnecessary valueOfUr…
Jumvi Dec 30, 2024
b1622d8
Merge pull request #184 from KadeaAcademy/feat/change-catalogue-layout
Jumvi Dec 30, 2024
441ec14
feat: add keyword definitions for course categories to enhance search…
Jumvi Dec 30, 2024
f58a099
feat: add ShowAllProgrammationSourcesCourses component for displaying…
Jumvi Dec 30, 2024
3415ac4
feat: enhance domain filtering logic by integrating keyword definitio…
Jumvi Dec 30, 2024
cedd86d
feat: add logging for courses filtered by branding role in getDataFro…
Jumvi Dec 30, 2024
e0c54f6
feat: integrate keyword filtering for programming courses in manyCate…
Jumvi Dec 30, 2024
c0edc0c
feat: replace ShowProgrammationCourses with ShowAllProgrammationSourc…
Jumvi Dec 30, 2024
2221cdb
Merge pull request #185 from KadeaAcademy/feat/change-catalogue-layout
Jumvi Dec 30, 2024
213cf5a
feat: remove logging of courses filtered by branding role in getDataF…
Jumvi Dec 30, 2024
1f88981
feat: add keyword filtering for 'Bureautique' category in manyCategor…
Jumvi Dec 30, 2024
00aa0b5
feat: add support for 'Bureautique' category with new course display …
Jumvi Dec 30, 2024
2d9a512
Merge pull request #186 from KadeaAcademy/develop
Jumvi Dec 30, 2024
eae04c7
refactor: replace getDataFromDb with getAwsPath in multiple components
Jumvi Dec 31, 2024
c30aa8d
Merge pull request #188 from KadeaAcademy/feat/change-catalogue-layout
Jumvi Dec 31, 2024
92fb47b
fix: change save-rave-courses endpoint from POST to GET method
Jumvi Dec 31, 2024
f5c7f07
refactor: simplify saveDataOnDb by removing cookie handling and chang…
Jumvi Dec 31, 2024
2170e33
Merge pull request #190 from KadeaAcademy/feat/change-catalogue-layout
Jumvi Dec 31, 2024
d0d8e93
refactor: replace getAwsPath with getDataFromDb in multiple components
Jumvi Dec 31, 2024
59cad64
Merge pull request #192 from KadeaAcademy/feat/change-catalogue-layout
Jumvi Dec 31, 2024
3dd52c3
style: add padding to CourseCard image and paragraph elements
Jumvi Jan 8, 2025
4397256
Merge pull request #194 from KadeaAcademy/feat/change-catalogue-layout
Jumvi Jan 8, 2025
3958794
feat: implement pagination controls and handlers for improved navigation
Jumvi Jan 8, 2025
2a88c8b
refactor: integrate usePaginationHandlers for cleaner pagination logic
Jumvi Jan 8, 2025
2c88fea
Merge pull request #196 from KadeaAcademy/feat/change-catalogue-layout
Jumvi Jan 8, 2025
dde7331
fix: update date display logic for member creation date
Jumvi Jan 13, 2025
beb6e85
fix: update date display logic in TableMembers component
Jumvi Jan 13, 2025
09d8d0c
Merge branch 'feat/change-catalogue-layout' into develop
Jumvi Jan 13, 2025
f30a976
fix: reverse member list display order in TableMembers component
Jumvi Jan 15, 2025
df81453
Merge pull request #200 from KadeaAcademy/feat/change-catalogue-layout
Jumvi Jan 15, 2025
d0c4847
fix: reverse member list display order in ShowAllMembers component
Jumvi Jan 15, 2025
87ad4d7
Merge pull request #202 from KadeaAcademy/feat/change-catalogue-layout
Jumvi Jan 15, 2025
a47954d
fix: remove unnecessary reverse call on members in TableMembers compo…
Jumvi Jan 15, 2025
6c57e6f
Merge pull request #204 from KadeaAcademy/feat/change-catalogue-layout
Jumvi Jan 15, 2025
aa43996
fix: remove unnecessary console.log and streamline member list render…
Jumvi Jan 15, 2025
af368eb
Merge pull request #206 from KadeaAcademy/feat/change-catalogue-layout
Jumvi Jan 15, 2025
f2d60fe
feat: implement pagination navigation in ShowAllMembers and TableMemb…
Jumvi Jan 15, 2025
98a7656
fix: remove unnecessary console.log in TableMembers component
Jumvi Jan 15, 2025
7215dd0
fix: reverse member list display order in ShowAllMembers component
Jumvi Jan 15, 2025
bb5d774
Merge pull request #208 from KadeaAcademy/feat/change-catalogue-layout
Jumvi Jan 15, 2025
a908884
fix: optimize member list reversal and logging in ShowAllMembers comp…
Jumvi Jan 15, 2025
7c6a97b
feat: add enrollment statistics and sorting options in TableMembers c…
Jumvi Jan 15, 2025
77b43ff
Merge pull request #210 from KadeaAcademy/feat/change-catalogue-layout
Jumvi Jan 15, 2025
e1221e1
feat: add AllUserStats component for displaying member enrollment sta…
Jumvi Jan 15, 2025
94b3e7b
fix: simplify AllUserStates component member prop handling
Jumvi Jan 15, 2025
1041bb8
Merge pull request #212 from KadeaAcademy/feat/change-catalogue-layout
Jumvi Jan 15, 2025
307a736
refactor: update Member type and simplify enrollment statistics rende…
Jumvi Jan 16, 2025
0d3e222
Merge pull request #214 from KadeaAcademy/feat/change-catalogue-layout
Jumvi Jan 16, 2025
fd8e17a
feat: add endpoint to retrieve all user data and implement correspond…
Jumvi Jan 22, 2025
413a079
feat: add function to retrieve all users from the database
Jumvi Jan 22, 2025
db3793b
feat: implement function to fetch all user data and integrate it in S…
Jumvi Jan 22, 2025
06d2322
Merge pull request #216 from KadeaAcademy/feat/change-catalogue-layout
Jumvi Jan 22, 2025
eba20b7
feat: enhance user retrieval function with pagination and sorting opt…
Jumvi Jan 27, 2025
4c8be7a
Merge pull request #218 from KadeaAcademy/feat/change-catalogue-layout
Jumvi Jan 27, 2025
4391d0c
feat: implement function to fetch all users and integrate it in ShowA…
Jumvi Jan 27, 2025
4be81ec
Merge pull request #220 from KadeaAcademy/feat/change-catalogue-layout
Jumvi Jan 27, 2025
f5309a2
feat: add state for all users data and update data fetching function …
Jumvi Jan 27, 2025
3c4f838
Merge pull request #222 from KadeaAcademy/feat/change-catalogue-layout
Jumvi Jan 27, 2025
1e11c61
feat: enhance user data fetching and state management in ShowAllMembe…
Jumvi Jan 27, 2025
6fb50d9
feat: define new types for Member, UserList, Group, and related param…
Jumvi Jan 27, 2025
f15721e
feat: implement member and group management functions in admin routes
Jumvi Jan 27, 2025
df4285e
Merge pull request #224 from KadeaAcademy/develop
Jumvi Jan 27, 2025
a0d4c25
feat: enhance user enrollment statistics with year filtering and extr…
Jumvi Jan 27, 2025
4221b65
Merge pull request #226 from KadeaAcademy/feat/change-catalogue-layout
Jumvi Jan 27, 2025
11e4442
feat: enhance user statistics display with improved layout and year f…
Jumvi Jan 27, 2025
8b5b95c
Merge pull request #227 from KadeaAcademy/feat/change-catalogue-layout
Jumvi Jan 27, 2025
4e1003d
feat: improve user statistics display with enhanced month panels and …
Jumvi Jan 27, 2025
cbf0e6d
Merge pull request #229 from KadeaAcademy/feat/change-catalogue-layout
Jumvi Jan 27, 2025
59a7747
feat: update empty data message to display '0' instead of a placehold…
Jumvi Jan 30, 2025
ad14de1
Merge pull request #231 from KadeaAcademy/develop
Jumvi Jan 30, 2025
277b5f9
fix: change default function for createAt field from 'now' to 'null'
Jumvi Feb 3, 2025
1ba2bec
Merge pull request #233 from KadeaAcademy/feat/change-catalogue-layout
Jumvi Feb 3, 2025
a8ea9ed
feat: add updateEnrollment function to handle course enrollment updates
Jumvi Feb 3, 2025
b7fd924
feat: add enrollInRavenCourse function to handle course enrollment up…
Jumvi Feb 3, 2025
fd12e19
feat: add enrollmentCount field to ravenCourse model with default val…
Jumvi Feb 3, 2025
14d2d6a
fix: update import path for ProgramationCourses in routes utility
Jumvi Feb 3, 2025
fd14a04
fix: update import path for ProgramationCourses in redux types
Jumvi Feb 3, 2025
37d0d57
feat: add ProgramationCourses interface to define course properties i…
Jumvi Feb 3, 2025
a7bc16b
fix: update import paths for ProgramationCourses and RavenTokenData i…
Jumvi Feb 3, 2025
09dd52a
fix: update import paths for ProgramationCourses in client-only routes
Jumvi Feb 3, 2025
f5c4973
fix: update import paths for ProgramationCourses in client-only routes
Jumvi Feb 3, 2025
b713aad
fix: update import paths for ProgramationCourses in client-only routes
Jumvi Feb 3, 2025
961b062
feat: add CourseViewer component and integrate course URL management …
Jumvi Feb 3, 2025
8c3ef29
fix: update course enrollment logic and add new route patterns for au…
Jumvi Feb 4, 2025
16633ed
feat: enhance CourseCard component with enrollment update functionali…
Jumvi Feb 4, 2025
c21e75c
fix: update enrollment URL to use HTTPS and remove unused interface
Jumvi Feb 4, 2025
bf473cb
feat: add filterAndEnhanceCourses utility to process RavenCourse data
Jumvi Feb 5, 2025
7effdd4
feat: add getPopularRavenCourses API and integrate into frontend for …
Jumvi Feb 5, 2025
d9f40c4
feat: implement course enrollment update functionality and add new pr…
Jumvi Feb 5, 2025
28f0e3c
fix: remove unnecessary console log from CourseCard component
Jumvi Feb 6, 2025
272aabb
feat: update user retrieval order to descending and limit member expo…
Jumvi Feb 6, 2025
3dc1497
feat: add KadeaCourse model and API endpoint for saving Kadea courses…
Jumvi Feb 6, 2025
fc71e61
feat: add Kadea courses data for Responsive Web Design and JavaScript…
Jumvi Feb 6, 2025
3bc9e16
feat: add saveKadeaCoursesOnDb function and integrate it into SideBar…
Jumvi Feb 6, 2025
113b2c8
feat: add EnrolementHistory model and API endpoint for fetching Kadea…
Jumvi Feb 7, 2025
f7a21fb
Merge pull request #236 from KadeaAcademy/feat/change-catalogue-layout
Jumvi Feb 7, 2025
a02458c
fix: remove error throwing in getPopularRavenCourses function to impr…
Jumvi Feb 7, 2025
76f5f59
Merge pull request #237 from KadeaAcademy/feat/change-catalogue-layout
Jumvi Feb 7, 2025
e8f325d
feat: limit displayed Raven courses to the first 5 entries in Courses…
Jumvi Feb 10, 2025
92ee8ed
feat: add updateEnrolementKadeaCourses function and API endpoint; int…
Jumvi Feb 10, 2025
bc1aa73
feat: add asset property to ProgramationCourses interface and create …
Jumvi Feb 10, 2025
640f88c
feat: redesign SideBar navigation layout and enhance styling with new…
Jumvi Feb 25, 2025
6fab64b
Merge pull request #238 from KadeaAcademy/feat/dasboard-design-remake
Jumvi Feb 25, 2025
f85a11e
feat: enhance admin UI with new CSS styles and layout adjustments for…
Jumvi Feb 25, 2025
2d1abd8
feat: update admin UI styles and enhance user statistics display with…
Jumvi Feb 25, 2025
ac6fb82
Merge pull request #239 from KadeaAcademy/feat/dasboard-design-remake
Jumvi Feb 25, 2025
183d9f3
feat: enhance user statistics display with improved table layout and …
Jumvi Mar 3, 2025
6da1c94
Merge pull request #240 from KadeaAcademy/feat/dasboard-design-remake
Jumvi Mar 3, 2025
e3fe8f3
feat: add MonthlyEnrollmentStats component and update user stats disp…
Jumvi Mar 4, 2025
c158c98
Merge pull request #242 from KadeaAcademy/feat/dasboard-design-remake
Jumvi Mar 4, 2025
9f0ebff
feat: improve MonthlyEnrollmentStats and AllUserStats components with…
Jumvi Mar 4, 2025
f958dd1
Merge pull request #244 from KadeaAcademy/feat/dasboard-design-remake
Jumvi Mar 4, 2025
e366a8f
feat: add enrollment statistics components and filters for improved d…
Jumvi Mar 4, 2025
602c22d
Merge pull request #246 from KadeaAcademy/feat/dasboard-design-remake
Jumvi Mar 4, 2025
e17b56a
fix: update package-lock.json to include peer dependencies and modify…
Jumvi Nov 25, 2025
d978968
feat: implement modern admin dashboard styles and update sidebar navi…
Jumvi Nov 25, 2025
dae2a7e
feat: enhance admin dashboard with new filters for member activity an…
Jumvi Nov 25, 2025
3111a2e
fix: improve error handling in member export functionality and preven…
Jumvi Nov 25, 2025
0001d56
style: update sidebar dimensions and padding for improved layout cons…
Jumvi Nov 25, 2025
2bfd43e
fix: update group name change handler to use HTMLSelectElement and si…
Jumvi Nov 25, 2025
03e7940
refactor: enhance admin route components with authentication checks a…
Jumvi Nov 25, 2025
90cbc5d
merge: integrate feat/refactor-dashoard-design into develop
Jumvi Nov 26, 2025
9ef4d12
chore: add yoga-layout-prebuilt dependency and update group change ha…
Jumvi Nov 26, 2025
88baaac
Merge pull request #248 from KadeaAcademy/feat/refactor-dashoard-design
Jumvi Nov 26, 2025
dfec042
feat: add new admin routes for active members, member progression, to…
Jumvi Nov 26, 2025
0ba1e90
Merge pull request #249 from KadeaAcademy/feat/refactor-dashoard-design
Jumvi Nov 26, 2025
076bc68
fix: improve focus accessibility and fix TypeScript errors in pagination
kalala22 Dec 3, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@

6581632d364927a167acfa0d37a4786de40dfa4e {"key":"make-fetch-happen:request-cache:https://registry.npmjs.org/npm","integrity":"sha512-ft/8m8uAUhwIHvzT7O6vbSiAzaxusr56YuJz8mFP+vEHINuHC4ddKiOpW4lgTWPowcuC+2KsysWyVw9X5COLFw==","time":1691580468679,"size":2149813,"metadata":{"time":1691580466570,"url":"https://registry.npmjs.org/npm","reqHeaders":{"accept":"application/vnd.npm.install-v1+json; q=1.0, application/json; q=0.8, */*"},"resHeaders":{"cache-control":"public, max-age=300","content-type":"application/vnd.npm.install-v1+json","date":"Wed, 09 Aug 2023 11:27:46 GMT","etag":"\"807482c474fce06978fd52c7e1719def\"","last-modified":"Wed, 26 Jul 2023 22:18:47 GMT","vary":"accept-encoding, accept"},"options":{"compress":true}}}
1 change: 1 addition & 0 deletions --fix/_cacache/tmp/2eb836e4

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions --fix/_cacache/tmp/e588a1b2

Large diffs are not rendered by default.

Empty file.
24 changes: 7 additions & 17 deletions sample.env → .dev
Original file line number Diff line number Diff line change
@@ -1,79 +1,69 @@
# ---------------------
# API
# ---------------------

# Database
MONGOHQ_URL=mongodb://localhost:27017/freecodecamp

# Logging
SENTRY_DSN=dsn_from_sentry_dashboard
SENTRY_ENVIRONMENT=staging

# Auth0 - OAuth 2.0 Credentials
AUTH0_CLIENT_ID=client_id_from_auth0_dashboard
AUTH0_CLIENT_SECRET=client_secret_from_auth0_dashboard
AUTH0_DOMAIN=example.auth0.com

# Moodle env variables
MOODLE_BASE_URL=moodle_base_url
MOODLE_API_BASE_URL=moodle_api_base_url
MOODLE_API_TOKEN=moodle_api_token
# Session, Cookie and JWT encryption strings
SESSION_SECRET=a_session_secret
COOKIE_SECRET=a_cookie_secret
JWT_SECRET=a_jwt_secret

# ---------------------
# Search
# ---------------------

# Client Search Bar
ALGOLIA_APP_ID=app_id_from_algolia_dashboard
ALGOLIA_API_KEY=api_key_from_algolia_dashboard

# ---------------------
# Donations
# ---------------------

# Stripe
STRIPE_PUBLIC_KEY=pk_from_stripe_dashboard
STRIPE_SECRET_KEY=sk_from_stripe_dashboard

# PayPal
PAYPAL_CLIENT_ID=id_from_paypal_dashboard
PAYPAL_SECRET=secret_from_paypal_dashboard
PAYPAL_VERIFY_WEBHOOK_URL=https://api.sandbox.paypal.com/v1/notifications/verify-webhook-signature
PAYPAL_API_TOKEN_URL=https://api.sandbox.paypal.com/v1/oauth2/token
PAYPAL_WEBHOOK_ID=webhook_id_from_paypal_dashboard

# Patreon
PATREON_CLIENT_ID=id_from_patreon_dashboard

# ---------------------
# Build variants
# ---------------------
DEPLOYMENT_ENV=staging
FREECODECAMP_NODE_ENV=development

# Languages to build
CLIENT_LOCALE=english
CURRICULUM_LOCALE=english

# Show or hide WIP in progress challenges
SHOW_UPCOMING_CHANGES=false
SHOW_NEW_CURRICULUM=true

# Application paths
HOME_LOCATION=http://localhost:8000
API_LOCATION=http://localhost:3000
FORUM_LOCATION=https://forum.freecodecamp.org
NEWS_LOCATION=https://www.freecodecamp.org/news
RADIO_LOCATION=https://coderadio.freecodecamp.org

# ---------------------
# Debugging Mode Keys
# ---------------------

PEER=stuff
DEBUG=true
LOCAL_MOCK_AUTH=true
CODESEE=false

# Webhook proxy url from smee.io for PayPal
WEBHOOK_PROXY_URL=
# LemList
LEMLIST_URL=lemlsist_url
LEMLIST_TOKEN=lemlsist_token
2 changes: 1 addition & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ client/public/**
api-server/src/public/**
api-server/lib/**
config/i18n/all-langs.js
config/certification-settings.js
config/certification-settings.
89 changes: 73 additions & 16 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,23 @@
"node": true,
"jest": true
},
"parser": "babel-eslint",
"parser": "@typescript-eslint/parser",
"root": true,
"parserOptions": {
"project": "./tsconfig.json",
"tsconfigRootDir": "./",
"sourceType": "module"
},
"extends": [
"eslint:recommended",
"plugin:react/recommended",
"plugin:react-hooks/recommended",
"plugin:import/recommended",
"plugin:import/typescript",
"plugin:jsx-a11y/recommended",
"prettier"
"prettier",
"plugin:@typescript-eslint/recommended",
"plugin:@typescript-eslint/recommended-requiring-type-checking"
],
"globals": {
"Promise": true,
Expand All @@ -38,20 +45,30 @@
},
"overrides": [
{
"files": ["**/*.ts?(x)"],
"parser": "@typescript-eslint/parser",
"files": ["**/*.js"],
"parserOptions": {
"project": [
"./tsconfig.json",
"./config/tsconfig.json",
"./tools/ui-components/tsconfig.json"
]
"project": null
},
"extends": [
"plugin:@typescript-eslint/recommended",
"plugin:@typescript-eslint/recommended-requiring-type-checking"
],
"plugins": ["@typescript-eslint"],
"rules": {
"@typescript-eslint/no-var-requires": "off",
"@typescript-eslint/await-thenable": "off",
"@typescript-eslint/no-floating-promises": "off",
"@typescript-eslint/no-implied-eval": "off",
"@typescript-eslint/no-misused-promises": "off",
"@typescript-eslint/no-unnecessary-type-assertion": "off",
"@typescript-eslint/no-unsafe-argument": "off",
"@typescript-eslint/no-unsafe-assignment": "off",
"@typescript-eslint/no-unsafe-call": "off",
"@typescript-eslint/no-unsafe-return": "off",
"@typescript-eslint/no-unsafe-member-access": "off",
"@typescript-eslint/require-await": "off",
"@typescript-eslint/restrict-plus-operands": "off",
"@typescript-eslint/restrict-template-expressions": "off",
"@typescript-eslint/unbound-method": "off"
}
},
{
"files": ["**/*.ts?(x)"],
"rules": {
"import/named": 0,
"@typescript-eslint/naming-convention": [
Expand All @@ -62,7 +79,6 @@
"leadingUnderscore": "allow",
"trailingUnderscore": "allow"
},

{
"selector": "variable",
"format": ["camelCase", "UPPER_CASE", "PascalCase"],
Expand Down Expand Up @@ -94,7 +110,15 @@
"selector": "enumMember",
"format": ["PascalCase"]
}
]
],
"@typescript-eslint/no-unsafe-call": "error",
"@typescript-eslint/no-unsafe-return": "error"
}
},
{
"files": ["tools/ui-components/**/*"],
"parserOptions": {
"project": "./tools/ui-components/tsconfig.json"
}
},
{
Expand All @@ -114,6 +138,39 @@
"cy": true,
"Cypress": true
}
},
{
"files": ["**/gatsby-node.js"],
"parser": "babel-eslint",
"rules": {
"@typescript-eslint/await-thenable": "off",
"@typescript-eslint/no-unsafe-call": "off",
"@typescript-eslint/no-unsafe-return": "off"
}
},
{
"files": ["gatsby-browser.js"],
"parserOptions": {
"project": null
},
"rules": {
"@typescript-eslint/no-var-requires": "off",
"@typescript-eslint/await-thenable": "off",
"@typescript-eslint/no-floating-promises": "off",
"@typescript-eslint/no-implied-eval": "off",
"@typescript-eslint/no-misused-promises": "off",
"@typescript-eslint/no-unnecessary-type-assertion": "off",
"@typescript-eslint/no-unsafe-argument": "off",
"@typescript-eslint/no-unsafe-assignment": "off",
"@typescript-eslint/no-unsafe-call": "off",
"@typescript-eslint/naming-convention": "off",
"@typescript-eslint/no-unsafe-return": "off",
"@typescript-eslint/no-unsafe-member-access": "off",
"@typescript-eslint/require-await": "off",
"@typescript-eslint/restrict-plus-operands": "off",
"@typescript-eslint/restrict-template-expressions": "off",
"@typescript-eslint/unbound-method": "off"
}
}
]
}
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@

--fix
### VisualStudioCode ###
.vscode/*

Expand Down
7 changes: 4 additions & 3 deletions .lintstagedrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,15 @@ module.exports = {
files.map(file => cli.isPathIgnored(file))
);
const lintableFiles = files.filter((_, i) => !ignoredIds[i]);
if (files.length > 10) {
// Always lint only the staged files, not the entire project
if (lintableFiles.length > 0) {
completedStages.add('js');
return ['eslint --max-warnings=0 --cache --fix .', 'prettier --write .'];
} else {
return [
'eslint --max-warnings=0 --cache --fix ' + lintableFiles.join(' '),
...files.map(filename => `prettier --write '${filename}'`)
];
} else {
return files.map(filename => `prettier --write '${filename}'`);
}
},
'*.!(js|ts|tsx)': files => {
Expand Down
1 change: 1 addition & 0 deletions Procfile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
web: npm run start
27 changes: 27 additions & 0 deletions api-server/src/common/models/User-group.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"name": "userGroup",
"plural": "userGroups",
"base": "PersistedModel",
"idInjection": true,
"properties": {
"userGroupName": {
"type": "string",
"index": {
"mongodb": {
"unique": true
}
}
},
"createAt": {
"type": "date",
"defaultFn": "now"
},
"memberCount": {
"type": "number"
}
},
"validations": [],

"acls": [],
"methods": {}
}
30 changes: 30 additions & 0 deletions api-server/src/common/models/User-role.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"name": "userRole",
"plural": "userRoles",
"base": "PersistedModel",
"idInjection": true,
"properties": {
"userRoleName": {
"type": "string",
"index": {
"mongodb": {
"unique": true
}
}
},
"descrpiton": {
"tpye": "string"
},
"createAt": {
"type": "date",
"defaultFn": "now"
},
"memberCount": {
"type": "number"
}
},
"validations": [],

"acls": [],
"methods": {}
}
1 change: 1 addition & 0 deletions api-server/src/common/models/user.js
Original file line number Diff line number Diff line change
Expand Up @@ -977,6 +977,7 @@ export default function initializeUser(User) {
return user.progressTimestamps;
});
};

User.prototype.getCompletedChallenges$ = function getCompletedChallenges$() {
if (
Array.isArray(this.completedChallenges) &&
Expand Down
Loading