Commit Graph

137 Commits

Author SHA1 Message Date
notkshitij 94659c9afa Added ignore files for docker and git in .dockerignore. 2025-07-23 17:31:07 +05:30
notkshitij e7d83032e2 Changed .env to backend uri var passed while building the docker image. 2025-07-23 17:27:29 +05:30
notkshitij 220f822f3d Changed to localhost for env vars for model and backend in frontend dockerfile. 2025-07-23 01:58:59 +05:30
notkshitij 1b10587747 Changed URI's to Docker ones in frontend dockerfile. 2025-07-23 01:43:19 +05:30
notkshitij 0c205270ee Backend and model uri are now passed in Dockerfile since the frontend is build within the docker container and served using serve. May add commands to clean up folders later. 2025-07-23 01:31:18 +05:30
notkshitij 872a38c768 Changed uri for ai model in frontend. 2025-07-22 16:42:52 +05:30
notkshitij ccd5debcef Changed backend to frontend in comments for Dockerfile for frontend. 2025-07-22 15:08:26 +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 e3935c9760 Added confirm password text box and show/hide password toggles in both password fields. 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 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 e40eae866a Merged Salvi's commit he made to master branch (0ffcd1274d659b3e5c44a4813c57eb46e6ea4bed) for fixing UI changes. 2025-06-24 13:50:01 +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 1395496fce Merged all changes from frontend branch w/ main branch up to commit 0d757995bb 2025-06-21 00:21:57 +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
notkshitij 697a873148 Added English (default) and French locales. This directory will store key-value pairs for translation where key will be the English word/phrase and value will be the translation of that word/phrase. 2025-06-19 16:23:35 +05:30
notkshitij c123c4985c Added service/translation.js -> Implements a translation service that dynamically loads phrases based on user language preference. 2025-06-19 16:23:35 +05:30
notkshitij 64a34fdf0d Added language switching component. This component will render a dropdown or buttons for language selection and update the language globally when changed. 2025-06-19 16:23:22 +05:30
notkshitij b2fe22195f Merged all the changes from bhakti's branch into main. 2025-04-05 18:24:23 +05:30
KaranSalvi 407d6df417 feat:Added monitoring charts 2025-03-26 22:50:05 +05:30
KaranSalvi b961ef8fd3 feat:Fixed all the UI Pages 2025-03-26 21:31:14 +05:30
KaranSalvi aba9651c43 feat:Add individual crop page 2025-03-26 00:25:09 +05:30
KaranSalvi 0dbb68d518 feat:Add env variables file 2025-03-25 21:33:21 +05:30
KaranSalvi 262446fff7 feat: Add some new connection 2025-03-25 19:40:56 +05:30
KaranSalvi 914501036d feat: Set up RTK query for the statemanagement 2025-03-25 17:48:15 +05:30
KaranSalvi 7e204690d3 Fix: FUCK OMBAASE MESSED UP. 2025-02-23 11:38:02 +05:30
KaranSalvi dc0afc8d5a Changed default user profile. 2025-02-23 11:21:29 +05:30
KaranSalvi d53a4d6061 Removed navbar from dashboard. 2025-02-23 11:12:03 +05:30
KaranSalvi c839011847 Merged Ombase's changes. 2025-02-23 11:09:09 +05:30
atharvaombase 6df9befdd1 Fix:removed navbar and added space between components in dashboard 2025-02-23 11:05:12 +05:30
KaranSalvi aa97607ec4 Changed footer and testimonial. 2025-02-23 11:04:15 +05:30
atharvaombase 0048e9f462 Feat:Added Plant disease prediction 2025-02-23 10:52:31 +05:30
KaranSalvi a1a0d6adc4 Made changes to honepage. 2025-02-23 10:47:58 +05:30
KaranSalvi 3aec29388b Added new icons for homepage. 2025-02-23 10:47:45 +05:30
atharvaombase dbbc0ce5f2 Feat:Added new Ai page for the Crop desies detection 2025-02-23 10:41:16 +05:30
atharvaombase 79c6c80636 Fix:Added new route for Ai 2025-02-23 10:40:40 +05:30