Commit Graph

205 Commits

Author SHA1 Message Date
notkshitij 45419247f7 Changed port and origin url+methods allowed in models/server.js 2025-07-22 16:42:04 +05:30
notkshitij ccd5debcef Changed backend to frontend in comments for Dockerfile for frontend. 2025-07-22 15:08:26 +05:30
notkshitij ad06012860 Moved test2.js to archive dir. 2025-07-22 14:51:54 +05:30
notkshitij 2a8b49241e Added public/ to gitignore. 2025-07-22 14:50:48 +05:30
notkshitij ed9059a812 No longer tracking public/ directory 2025-07-22 14:50:30 +05:30
notkshitij d52204c2f5 Commented local_model_path variable since it's no longer needed. 2025-07-22 14:48:23 +05:30
notkshitij 3a8ed215c4 Moved app-old.py to archive. 2025-07-22 14:47:35 +05:30
notkshitij f51ee5667f Added python venv files+dir and node_modules+package-lock to gitignore. 2025-07-22 14:47:19 +05:30
notkshitij 5792849c1e Removed node_modules/ and package-lock.json 2025-07-22 14:45:57 +05:30
notkshitij 4e0d54efa0 Added mapping for volume for mongodb. 2025-07-22 13:47:53 +05:30
notkshitij 301ff3679a Added docker compose and example env file. 2025-07-22 13:42:59 +05:30
notkshitij f5cea1062a Bumped version for frontent to 1.1.0 2025-07-22 13:31:36 +05:30
notkshitij 2c6abaf577 Added dockerfile for frontend. 2025-07-22 13:26:28 +05:30
notkshitij dde591049f Added dockerfile and dockerignore for backend. 2025-07-22 13:25:54 +05:30
notkshitij bdaafb66d9 Bumped version to 1.1.0 in package.json 2025-07-22 11:59:58 +05:30
notkshitij e3935c9760 Added confirm password text box and show/hide password toggles in both password fields. v1.1.0 2025-07-18 02:47:16 +05:30
notkshitij 4115193ef7 Added loader while checking whether password was leaked previously. 2025-07-18 02:40:15 +05:30
notkshitij 2afda4873b Added basic password strength indicator 2025-07-18 02:34:05 +05:30
notkshitij bc41904e06 Akcually, axios and sha1 are required in backend 🤓 2025-07-18 02:30:59 +05:30
notkshitij 4fb54705ca Removed axios and sha1 packages from backend. 2025-07-18 02:13:31 +05:30
notkshitij 12ce8b1ec3 Added axios and sha1 packages. 2025-07-18 02:13:12 +05:30
notkshitij 9c3feca6a7 feat(login): improve error handling and show rate limit message
- Display meaningful error messages on login failure, including rate limiting (429)
- Added fallback for unexpected JSON responses from the server
- Integrated `Message` component for error display
- Cleaned up form value clearing and error state management
2025-07-18 02:12:46 +05:30
notkshitij aaf88fda56 feat(signup): add password strength and breach check using HIBP API
- Implemented frontend password validation for minimum strength:
  - Requires 8+ characters with uppercase, lowercase, digit, and special character.
- Integrated haveibeenpwned (HIBP) k-anonymity API to detect breached passwords.
- Display appropriate error messages for weak or pwned passwords.
- Updated Message component to support "error" and "default" types with styling.
- Cleaned up SignupPage form UI and removed unused refs (e.g., roleElement).
- Created passwordUtils.js to isolate SHA-1 hashing and API call logic.
2025-07-18 02:06:43 +05:30
notkshitij 23a271fbce Removed package-lock.json and updated .gitignore. 2025-07-18 01:26:13 +05:30
notkshitij f3e52cda73 Added new packages and updated some existing ones. 2025-07-18 01:25:27 +05:30
notkshitij 04e69202b6 Added password policy and checking if password appeared in a breach w/ haveibeenpwed api. 2025-07-18 01:22:01 +05:30
notkshitij 001727ab85 Added helmet secure headers and HTTPS redirection. 2025-07-18 01:21:07 +05:30
notkshitij 351f57229c Apply rate limiter logic. 2025-07-18 01:18:10 +05:30
notkshitij 25cfa659c7 Added rate limiting logic in middleware. 2025-07-18 01:17:53 +05:30
notkshitij d5d1e16d1f Moved the query parameter into the correct position and added logging for the final URI for database connect. 2025-07-18 01:06:42 +05:30
notkshitij e40eae866a Merged Salvi's commit he made to master branch (0ffcd1274d659b3e5c44a4813c57eb46e6ea4bed) for fixing UI changes. 2025-06-24 13:50:01 +05:30
notkshitij 3458d21567 Added multilingual (English, Hindi, Marathi & French) in features section. 2025-06-23 20:31:13 +05:30
notkshitij 63c73bc6d9 Added guide for translation! 2025-06-23 20:22:06 +05:30
notkshitij 90d09350e2 Perfomed complete Marathi translation. Not exactly complete but up to where mr & fr was done. 2025-06-21 00:53:25 +05:30
notkshitij 06b11cb2eb Perfomed complete Hindi translation. Not exactly complete but up to where fr was done. 2025-06-21 00:51:41 +05:30
notkshitij 14295f1931 Merge branch 'main' into frontend-multilingual up to commit 0aa8a3842c 2025-06-21 00:28:12 +05:30
notkshitij 0aa8a3842c Merged models/ directory from bhakti's branch up to commit 3d79d69640 since that is the branch we used for demo during hackathon. 2025-06-21 00:22:49 +05:30
notkshitij 1395496fce Merged all changes from frontend branch w/ main branch up to commit 0d757995bb 2025-06-21 00:21:57 +05:30
notkshitij 91aaa092f3 Added package-lock.json and node_modules in global .gitignore 2025-06-21 00:20:32 +05:30
notkshitij a7ae00beac Removed package-lock.json, package.json and node_modules from root dir. Not needed. 2025-06-21 00:20:27 +05:30
KaranSalvi 7ad0db73b0 Resolved conflict by deleting multer.js and updated packages 2025-06-21 00:19:50 +05:30
notkshitij 36693ba21b Made ForgetPassword and ResetPassword multilingual. Also added en and fr translations for the same. 2025-06-20 23:28:44 +05:30
notkshitij 9e170a91ef Added translation for SignupPage.jsx along with en and fr translations. 2025-06-20 23:24:53 +05:30
notkshitij 911b08ba71 Removed unused jsx files from Home directory in src/pages. 2025-06-20 23:19:34 +05:30
notkshitij 36781b3af4 Made Testimonial.jsx multilingual. Also updated en and fr translations for the same. 2025-06-20 23:17:54 +05:30
notkshitij a70afd8615 Fixed Cards.jsx, now the homepage is not blank. Also added key:values for text in Cards.jsx 2025-06-20 23:13:22 +05:30
notkshitij 9fe5d04fca Made pages in Home/ directory multilingual:
- Cards.jsx
- Customization.jsx
- Footer.jsx
- Hero.jsx
- Hero2.jsx
- HomePage.jsx

Also added language key:values for en and fr in locales.
2025-06-20 23:12:38 +05:30
notkshitij 23e12d3c7e Support for language context in MainLoginPage.jsx
- Updated MainLoginPage component to accept a `language` prop with a default value of "en".
- Modified Navbar2 to receive the `language` prop for localization.
- Passed the `language` context to the Outlet for nested routes, enabling language-specific rendering in child components.
2025-06-19 16:29:29 +05:30
notkshitij 4b6faef5eb Replaced static text in LoginPage.jsx with translation function t(key, language). 2025-06-19 16:28:26 +05:30
notkshitij cacf3f9c0d Added language switcher function in App.jsx 2025-06-19 16:26:04 +05:30