{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":788115315,"defaultBranch":"main","name":"playerX","ownerLogin":"walid-baharwal","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2024-04-17T20:01:22.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/114993336?v=4","public":true,"private":false,"isOrgOwned":false},"refInfo":{"name":"","listCacheKey":"v0:1714162143.0","currentOid":""},"activityList":{"items":[{"before":"e4549046856c06a849e9adc8efebca45ca40184b","after":"ba4b97c5bbdc90b5649ad1c06ac6e87306ec1205","ref":"refs/heads/main","pushedAt":"2024-05-17T13:00:45.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"walid-baharwal","name":"Walid Baharwal","path":"/walid-baharwal","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/114993336?s=80&v=4"},"commit":{"message":"feat(api): added getvideo and tweet comments controller functions (include pagination ) and there api routes","shortMessageHtmlLink":"feat(api): added getvideo and tweet comments controller functions (in…"}},{"before":"bef4b98bedffb1137573d8d528a78bc07fd415b2","after":"e4549046856c06a849e9adc8efebca45ca40184b","ref":"refs/heads/main","pushedAt":"2024-05-15T12:28:04.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"walid-baharwal","name":"Walid Baharwal","path":"/walid-baharwal","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/114993336?s=80&v=4"},"commit":{"message":"fix: aggregatePaginate import issue and Resolve TypeError in app.use() by adding missing midlleware function","shortMessageHtmlLink":"fix: aggregatePaginate import issue and Resolve TypeError in app.use(…"}},{"before":"ad485daaa32d81fccf44d8c32f6668f5bfdaedb9","after":"bef4b98bedffb1137573d8d528a78bc07fd415b2","ref":"refs/heads/main","pushedAt":"2024-05-12T11:14:15.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"walid-baharwal","name":"Walid Baharwal","path":"/walid-baharwal","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/114993336?s=80&v=4"},"commit":{"message":"feat(api): added create and delete comment controller functions and routes","shortMessageHtmlLink":"feat(api): added create and delete comment controller functions and r…"}},{"before":"5d6a4e8bf8a0a2c4f9daf6982f9716d21aa8a481","after":"ad485daaa32d81fccf44d8c32f6668f5bfdaedb9","ref":"refs/heads/main","pushedAt":"2024-05-08T10:51:30.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"walid-baharwal","name":"Walid Baharwal","path":"/walid-baharwal","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/114993336?s=80&v=4"},"commit":{"message":"feat: Implement create, delete, and update tweet controllers and routes\nfix: Enhance username validation to don't allow special characters","shortMessageHtmlLink":"feat: Implement create, delete, and update tweet controllers and routes"}},{"before":"e2018bc719a09e2ae482423a177f996dad53e645","after":"5d6a4e8bf8a0a2c4f9daf6982f9716d21aa8a481","ref":"refs/heads/main","pushedAt":"2024-05-07T10:43:46.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"walid-baharwal","name":"Walid Baharwal","path":"/walid-baharwal","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/114993336?s=80&v=4"},"commit":{"message":"refactor: rewrite watchHistory aggregation pipeline with pagination and sorting","shortMessageHtmlLink":"refactor: rewrite watchHistory aggregation pipeline with pagination a…"}},{"before":"93aef4c19abb5c368ee3c145bf802075e511c851","after":"e2018bc719a09e2ae482423a177f996dad53e645","ref":"refs/heads/main","pushedAt":"2024-05-06T13:57:05.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"walid-baharwal","name":"Walid Baharwal","path":"/walid-baharwal","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/114993336?s=80&v=4"},"commit":{"message":"feat: Implement getVideo controller and route for detailed video information retrieval\n\n- **getVideo Controller**: Added the `getVideo` controller to the application, designed to handle requests for retrieving detailed information about a specific video. and his owner details","shortMessageHtmlLink":"feat: Implement getVideo controller and route for detailed video info…"}},{"before":"1c397adff4f6328acf1519e4bf0e2fb535f4d7a1","after":"93aef4c19abb5c368ee3c145bf802075e511c851","ref":"refs/heads/main","pushedAt":"2024-05-06T11:48:45.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"walid-baharwal","name":"Walid Baharwal","path":"/walid-baharwal","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/114993336?s=80&v=4"},"commit":{"message":"feat: Implement getAllVideos and getSubscriptionsVideos functions with pagination and sorting capabilities\n\n- **getAllVideos Function**: Added the `getAllVideos` function to the application, enabling the retrieval of all published videos. This function supports pagination, allowing users to specify the number of videos to be returned on each page through the query parameters. Additionally, it now accepts queries for sorting the videos by their publication date, either in the latest or oldest order, enhancing the user's ability to browse content based on their preferences.\n\n- **getSubscriptionsVideos Function**: Introduced the `getSubscriptionsVideos` function, designed to fetch videos from channels that the user is subscribed to. Like `getAllVideos`, this function also supports pagination and now includes sorting capabilities. Users can navigate through their subscribed content efficiently and sort it based on the publication date, either in the latest or oldest order.","shortMessageHtmlLink":"feat: Implement getAllVideos and getSubscriptionsVideos functions wit…"}},{"before":"4adec735be05b5bd24a5a64163fe8004a185d435","after":"1c397adff4f6328acf1519e4bf0e2fb535f4d7a1","ref":"refs/heads/main","pushedAt":"2024-05-05T15:10:11.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"walid-baharwal","name":"Walid Baharwal","path":"/walid-baharwal","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/114993336?s=80&v=4"},"commit":{"message":"feat: Implement view model and addVideoView function for tracking video views\n\n- **View Model Integration**: Introduced a view model to the application, designed to track user interactions with videos. This model will store data related to video views, including the user ID, video ID, and the timestamp of the view.\n\n- **addVideoView Function**: Developed an `addVideoView` function that updates the view model whenever a user views a video. This function captures the necessary details about the view event and updates the view model accordingly.\n\n- **Future Enhancements**: The current implementation lays the groundwork for future enhancements, such as differentiating between views by subscribers and non-subscribers. This will allow for more granular analytics and personalized content recommendations, enhancing the user experience and engagement.\n\n- **Improved User Engagement**: By tracking video views, the application can gain insights into user behavior and preferences. This data can be used to improve content curation and recommendations, leading to increased user engagement and satisfaction.\n\nThis commit marks a significant step towards enhancing the application's analytics capabilities, providing a foundation for more sophisticated user engagement strategies in the future.","shortMessageHtmlLink":"feat: Implement view model and addVideoView function for tracking vid…"}},{"before":"3be75704dd6e66b031dc3f6d19ba5ebd9b4ebf03","after":"4adec735be05b5bd24a5a64163fe8004a185d435","ref":"refs/heads/main","pushedAt":"2024-05-05T06:57:31.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"walid-baharwal","name":"Walid Baharwal","path":"/walid-baharwal","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/114993336?s=80&v=4"},"commit":{"message":"feat: Implement video uploading, deleting, and toggling video publish functionality\n\n- **Video Uploading Functionality**: Added a new feature that allows users to upload videos.\n\n- **Video Deleting Functionality**: Introduced a feature for users to delete their uploaded videos.\n\n- **Toggle Video Publish Functionality**: Added a feature that enables users to toggle the publish status of their videos.","shortMessageHtmlLink":"feat: Implement video uploading, deleting, and toggling video publish…"}},{"before":"b9133f9979680e50570aa50491361e93e6350d2e","after":"3be75704dd6e66b031dc3f6d19ba5ebd9b4ebf03","ref":"refs/heads/main","pushedAt":"2024-05-04T08:19:55.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"walid-baharwal","name":"Walid Baharwal","path":"/walid-baharwal","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/114993336?s=80&v=4"},"commit":{"message":"feat: Implement new controller functions and routes for like functionality\n\n- **Like Controller Functions**: Introduced new controller functions to manage the like functionality.\n\n- **Routes for Like Functionality**: Added new routes associated with the like controller functions.","shortMessageHtmlLink":"feat: Implement new controller functions and routes for like function…"}},{"before":"dc00068ea47a7b56584ff0386b66832c59c7135d","after":"b9133f9979680e50570aa50491361e93e6350d2e","ref":"refs/heads/main","pushedAt":"2024-05-03T05:01:05.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"walid-baharwal","name":"Walid Baharwal","path":"/walid-baharwal","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/114993336?s=80&v=4"},"commit":{"message":"feat:(models) added Playlist , Comment, Like, Tweet Model","shortMessageHtmlLink":"feat:(models) added Playlist , Comment, Like, Tweet Model"}},{"before":"668284cf9ac8b5ad13766b25136159619df595b9","after":"dc00068ea47a7b56584ff0386b66832c59c7135d","ref":"refs/heads/main","pushedAt":"2024-05-03T04:28:54.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"walid-baharwal","name":"Walid Baharwal","path":"/walid-baharwal","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/114993336?s=80&v=4"},"commit":{"message":"refactor: change logout controller logic by chaning mongoDb operations and added a check","shortMessageHtmlLink":"refactor: change logout controller logic by chaning mongoDb operation…"}},{"before":"372bef8959eba9d17425915807e617b287edf84c","after":"668284cf9ac8b5ad13766b25136159619df595b9","ref":"refs/heads/main","pushedAt":"2024-05-02T18:56:53.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"walid-baharwal","name":"Walid Baharwal","path":"/walid-baharwal","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/114993336?s=80&v=4"},"commit":{"message":"fix: Correct avatar object handling and aggregation pipeline terminology\n\n- **Avatar Object Issue**: Identified and corrected an issue where the whole avatar object was being sent instead of just the URL. This fix ensures that only the URL of the avatar\n\n- **Aggregation Pipeline Adjustment**: Renamed `watchHistory` to `videos` in the aggregation pipeline.","shortMessageHtmlLink":"fix: Correct avatar object handling and aggregation pipeline terminology"}},{"before":"ec0f3ac14984707df0ced2bcd4c64db50b62ed64","after":"372bef8959eba9d17425915807e617b287edf84c","ref":"refs/heads/main","pushedAt":"2024-05-02T14:50:47.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"walid-baharwal","name":"Walid Baharwal","path":"/walid-baharwal","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/114993336?s=80&v=4"},"commit":{"message":"feat: Implement watch history functionality\n\n- **Watch History Controller**: Added a new controller function designed to retrieve the watch history of a user.","shortMessageHtmlLink":"feat: Implement watch history functionality"}},{"before":"b3ce79054c1bd2df89f3108b121b98c75e1c92d8","after":"ec0f3ac14984707df0ced2bcd4c64db50b62ed64","ref":"refs/heads/main","pushedAt":"2024-05-01T14:15:43.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"walid-baharwal","name":"Walid Baharwal","path":"/walid-baharwal","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/114993336?s=80&v=4"},"commit":{"message":"feat: Implement unsubscribe functionality\n\n- **Unsubscribe Channel Controller Function**: Added a new controller function for unsubscribing from a channel. This function handles the logic for unsubscribing, including user authentication and the actual process of removing the user from the channel's subscription list.\n\n- **Unsubscribe Route**: Introduced a new route for unsubscribing from a channel. This route is linked to the unsubscribe channel controller function, allowing users to easily unsubscribe from channels they are no longer interested in.","shortMessageHtmlLink":"feat: Implement unsubscribe functionality"}},{"before":"4b4c746ea17e26b0b3e5ef03677244030b69a3c1","after":"b3ce79054c1bd2df89f3108b121b98c75e1c92d8","ref":"refs/heads/main","pushedAt":"2024-05-01T13:23:56.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"walid-baharwal","name":"Walid Baharwal","path":"/walid-baharwal","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/114993336?s=80&v=4"},"commit":{"message":"feat: Implement getUserChannelProfile functionality\n\n- **getUserChannelProfile Controller Function**: Introduced a new controller function, `getUserChannelProfile`, designed to retrieve and display the profile of a user channel\n- **Route for getUserChannelProfile**: Added a new route, `/get-channel-profile/:username`, associated with the `getUserChannelProfile` controller function","shortMessageHtmlLink":"feat: Implement getUserChannelProfile functionality"}},{"before":"caea3ce1efbdce3f4fbdd9432198f8a740e1471d","after":"4b4c746ea17e26b0b3e5ef03677244030b69a3c1","ref":"refs/heads/main","pushedAt":"2024-05-01T06:50:14.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"walid-baharwal","name":"Walid Baharwal","path":"/walid-baharwal","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/114993336?s=80&v=4"},"commit":{"message":"feat: Implement subscription functionality\n\n- **Subscription Controller Function**: Added a new controller function for managing subscriptions. This function handles the logic for subscribing to a channel, including validation, user authentication, and the actual subscription process.\n\n- **Subscribe Channel Route**: Introduced a new route for subscribing to a channel. This route is linked to the subscription controller function, allowing users to subscribe to channels of interest. The route is designed to be user-friendly and secure, ensuring that only authorized users can subscribe to channels.","shortMessageHtmlLink":"feat: Implement subscription functionality"}},{"before":"1ba969a35d47b6c8a2ffba823ec0ff6287b32b05","after":"caea3ce1efbdce3f4fbdd9432198f8a740e1471d","ref":"refs/heads/main","pushedAt":"2024-04-29T15:42:48.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"walid-baharwal","name":"Walid Baharwal","path":"/walid-baharwal","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/114993336?s=80&v=4"},"commit":{"message":"feat: Implemented subscription schema using Mongoose for user subscriptions","shortMessageHtmlLink":"feat: Implemented subscription schema using Mongoose for user subscri…"}},{"before":"2e454aad69f70b661fafc86edf84fe466a30202d","after":"1ba969a35d47b6c8a2ffba823ec0ff6287b32b05","ref":"refs/heads/main","pushedAt":"2024-04-28T22:11:37.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"walid-baharwal","name":"Walid Baharwal","path":"/walid-baharwal","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/114993336?s=80&v=4"},"commit":{"message":"feat: Enhance password reset functionality and code cleanliness\n\n- **Password Reset Logic Update**: Modified the `passwordResetToken` property to a `passwordReset` object with two properties: `token` and `tokenExpiry`. This change allows for a more structured approach to managing password reset tokens, including setting an 8-minute limit for token validity and saving this limit in the database. Upon receiving a new password and token, the system checks the token and its expiry limit before saving the new password, enhancing security.\n\nfix: Correct minor code issues\n\n- **Typos**: Fixed various typos throughout the codebase.\n\nrefactor: Remove minor unnecessary code and clean up\nrefactor: Remove Bull library\n\n- **Library Removal**: Removed the Bull library, which was previously used for managing job queues.","shortMessageHtmlLink":"feat: Enhance password reset functionality and code cleanliness"}},{"before":"056b26c3f9f642250180e9b31b47762f8c15021d","after":"2e454aad69f70b661fafc86edf84fe466a30202d","ref":"refs/heads/main","pushedAt":"2024-04-28T18:49:54.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"walid-baharwal","name":"Walid Baharwal","path":"/walid-baharwal","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/114993336?s=80&v=4"},"commit":{"message":"feat: Enhance user management and image handling\n\n- **Avatar and Cover Image Properties**: Added `public_id` property to avatar and coverImage objects in the User model. This allows for efficient management and deletion of images on Cloudinary.\n- **Image Deletion Logic**: Implemented logic in update avatar and coverImage controller functions to delete old images from Cloudinary using the `public_id` of the old image. This ensures that only the most recent images are stored.\n- **Error Handling Function**: Added a custom error handling function in `app.js` to manage errors from custom `apiError` objects and `MulterError`. This centralizes error handling, improving the application's robustness.\n- **Password Reset Token Management**: Removed `passwordResetTokenExpiry` property from the User model and implemented a new logic for managing `passwordResetToken` using the Bull library. This ensures that the token is automatically set to `undefined` in the database after 8 minutes, enhancing security.\n- **Cloudinary Folder Logic**: Added logic to specify folder names in Cloudinary for image uploads, allowing for better organization and management of images.\n\nfix: Correct minor code issues\n\n- **Typos**: Fixed various typos throughout the codebase.\n```","shortMessageHtmlLink":"feat: Enhance user management and image handling"}},{"before":"35d4fb96f72cabc0ce3184d84551015ee8086d27","after":"056b26c3f9f642250180e9b31b47762f8c15021d","ref":"refs/heads/main","pushedAt":"2024-04-28T08:01:20.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"walid-baharwal","name":"Walid Baharwal","path":"/walid-baharwal","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/114993336?s=80&v=4"},"commit":{"message":"fix: (error: oneOf not define) imported oneOf successfully from \"express-validator\"","shortMessageHtmlLink":"fix: (error: oneOf not define) imported oneOf successfully from \"expr…"}},{"before":"0d6e2a3e14955a7db928e9d24bc14fa267e73e08","after":"35d4fb96f72cabc0ce3184d84551015ee8086d27","ref":"refs/heads/main","pushedAt":"2024-04-27T12:52:18.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"walid-baharwal","name":"Walid Baharwal","path":"/walid-baharwal","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/114993336?s=80&v=4"},"commit":{"message":"fix: Correct minor code issues\n\n- **Case Correction**: Fix typo in database query: change 'user.findOne' to 'User.findOne' in resetPassword controller function .\n- **Naming Consistency**: Updated `fullname` to `fullName` in `updateUserDetail` controller function.","shortMessageHtmlLink":"fix: Correct minor code issues"}},{"before":"06db3f32ba465d9f8308a9f006c4e405787669d5","after":"0d6e2a3e14955a7db928e9d24bc14fa267e73e08","ref":"refs/heads/main","pushedAt":"2024-04-27T12:22:10.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"walid-baharwal","name":"Walid Baharwal","path":"/walid-baharwal","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/114993336?s=80&v=4"},"commit":{"message":"feat: Enhance validation and image handling in user management\n\nThis commit introduces several key enhancements to the user management system:\n\n- **Express Validator Integration**: Installs Express Validator, a middleware for validating and sanitizing string inputs. This addition ensures that user inputs are validated across multiple scenarios in routes, improving data integrity and security.\n\n- **Validation Middleware**: Creates a new middleware file `validation.middleware.js` that includes multiple middleware functions to check validation in various scenarios. This centralizes validation logic, making it easier to maintain and apply consistent validation rules across the application.\n\n- **New Routes**: Introduces several new routes for user management, including `/get-user`, `/update-user-details`, `/update-user-password`, `/update-avatar`, `/update-coverimage`, `/forget-password`, and `/reset-password`. These routes provide comprehensive functionality for user profile management and password recovery.\n\n- **Sharp Integration**: Installs Sharp, a high-performance Node.js image processing library, to validate image types, sizes, and dimensions for avatars and cover images. This ensures that uploaded images meet the application's requirements, enhancing the user experience by providing clear and consistent image handling.\n\n- **Image Validation Utility**: Creates a new utility function `validateImage` using Sharp for image validation. This function is designed to be reusable across different routes that require image uploads, streamlining the validation process.","shortMessageHtmlLink":"feat: Enhance validation and image handling in user management"}},{"before":"06db3f32ba465d9f8308a9f006c4e405787669d5","after":null,"ref":"refs/heads/restore-accidental-code-removal","pushedAt":"2024-04-26T20:09:03.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"walid-baharwal","name":"Walid Baharwal","path":"/walid-baharwal","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/114993336?s=80&v=4"}},{"before":"0319347c9683c4d1935d511f20bdbbb129ca7495","after":"06db3f32ba465d9f8308a9f006c4e405787669d5","ref":"refs/heads/main","pushedAt":"2024-04-26T19:55:38.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"walid-baharwal","name":"Walid Baharwal","path":"/walid-baharwal","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/114993336?s=80&v=4"},"commit":{"message":"Based on the updates you've made, here's a summary that aligns with the git commit template:\n\n```\nfeat: Enhance user management and password reset functionality\n\nThis commit introduces several key enhancements to the user management system:\n\n- **User Schema Update**: Adds `passwordResetToken` and `passwordResetTokenExpiry` properties to the User schema in `user.model.js`. These fields are essential for implementing password reset functionality, allowing users to securely reset their passwords.\n\n- **Utility Functions Migration**: Moves the definitions of `generateAccessAndRefreshTokens` and `validateEmail` functions from `user.controller.js` to a newly created file `user.utils.js`. This change organizes utility functions in a dedicated file, improving code maintainability and readability.\n\n- **Password Reset Utilities**: Adds two new utility functions, `generatePasswordResetToken` and `sendPasswordResetEmail`, in `user.utils.js`. These functions facilitate the password reset process by generating a unique token for password reset requests and sending the reset link to the user's email.\n\n- **Password Reset Controllers**: Introduces two new controller functions, `forgetPasswordEmail` and `resetPassword`, in `user.controller.js`. These functions handle the process of initiating a password reset request and resetting the user's password, providing a secure and user-friendly way to recover lost passwords.\n\nThese updates significantly enhance the application's security and user experience by implementing a robust password reset mechanism, ensuring users can securely recover their accounts if they forget their passwords.\n```","shortMessageHtmlLink":"Based on the updates you've made, here's a summary that aligns with t…"}},{"before":"fcd19bfb8b7851f54f5488cdbb05bb15c3eca061","after":null,"ref":"refs/heads/fix-accidental-deletion","pushedAt":"2024-04-26T19:49:17.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"walid-baharwal","name":"Walid Baharwal","path":"/walid-baharwal","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/114993336?s=80&v=4"}},{"before":"06db3f32ba465d9f8308a9f006c4e405787669d5","after":null,"ref":"refs/heads/new-branch-name","pushedAt":"2024-04-26T19:49:14.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"walid-baharwal","name":"Walid Baharwal","path":"/walid-baharwal","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/114993336?s=80&v=4"}},{"before":null,"after":"06db3f32ba465d9f8308a9f006c4e405787669d5","ref":"refs/heads/restore-accidental-code-removal","pushedAt":"2024-04-26T19:46:12.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"walid-baharwal","name":"Walid Baharwal","path":"/walid-baharwal","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/114993336?s=80&v=4"},"commit":{"message":"Based on the updates you've made, here's a summary that aligns with the git commit template:\n\n```\nfeat: Enhance user management and password reset functionality\n\nThis commit introduces several key enhancements to the user management system:\n\n- **User Schema Update**: Adds `passwordResetToken` and `passwordResetTokenExpiry` properties to the User schema in `user.model.js`. These fields are essential for implementing password reset functionality, allowing users to securely reset their passwords.\n\n- **Utility Functions Migration**: Moves the definitions of `generateAccessAndRefreshTokens` and `validateEmail` functions from `user.controller.js` to a newly created file `user.utils.js`. This change organizes utility functions in a dedicated file, improving code maintainability and readability.\n\n- **Password Reset Utilities**: Adds two new utility functions, `generatePasswordResetToken` and `sendPasswordResetEmail`, in `user.utils.js`. These functions facilitate the password reset process by generating a unique token for password reset requests and sending the reset link to the user's email.\n\n- **Password Reset Controllers**: Introduces two new controller functions, `forgetPasswordEmail` and `resetPassword`, in `user.controller.js`. These functions handle the process of initiating a password reset request and resetting the user's password, providing a secure and user-friendly way to recover lost passwords.\n\nThese updates significantly enhance the application's security and user experience by implementing a robust password reset mechanism, ensuring users can securely recover their accounts if they forget their passwords.\n```","shortMessageHtmlLink":"Based on the updates you've made, here's a summary that aligns with t…"}},{"before":null,"after":"06db3f32ba465d9f8308a9f006c4e405787669d5","ref":"refs/heads/new-branch-name","pushedAt":"2024-04-26T19:37:03.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"walid-baharwal","name":"Walid Baharwal","path":"/walid-baharwal","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/114993336?s=80&v=4"},"commit":{"message":"Based on the updates you've made, here's a summary that aligns with the git commit template:\n\n```\nfeat: Enhance user management and password reset functionality\n\nThis commit introduces several key enhancements to the user management system:\n\n- **User Schema Update**: Adds `passwordResetToken` and `passwordResetTokenExpiry` properties to the User schema in `user.model.js`. These fields are essential for implementing password reset functionality, allowing users to securely reset their passwords.\n\n- **Utility Functions Migration**: Moves the definitions of `generateAccessAndRefreshTokens` and `validateEmail` functions from `user.controller.js` to a newly created file `user.utils.js`. This change organizes utility functions in a dedicated file, improving code maintainability and readability.\n\n- **Password Reset Utilities**: Adds two new utility functions, `generatePasswordResetToken` and `sendPasswordResetEmail`, in `user.utils.js`. These functions facilitate the password reset process by generating a unique token for password reset requests and sending the reset link to the user's email.\n\n- **Password Reset Controllers**: Introduces two new controller functions, `forgetPasswordEmail` and `resetPassword`, in `user.controller.js`. These functions handle the process of initiating a password reset request and resetting the user's password, providing a secure and user-friendly way to recover lost passwords.\n\nThese updates significantly enhance the application's security and user experience by implementing a robust password reset mechanism, ensuring users can securely recover their accounts if they forget their passwords.\n```","shortMessageHtmlLink":"Based on the updates you've made, here's a summary that aligns with t…"}},{"before":"f1f69eee6689808ee2965f6c7eea4ffdd62f738a","after":"0319347c9683c4d1935d511f20bdbbb129ca7495","ref":"refs/heads/main","pushedAt":"2024-04-26T19:34:07.000Z","pushType":"pr_merge","commitsCount":2,"pusher":{"login":"walid-baharwal","name":"Walid Baharwal","path":"/walid-baharwal","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/114993336?s=80&v=4"},"commit":{"message":"Merge pull request #2 from walid-baharwal/fix-accidental-deletion\n\nMerge pull request #1 from walid-baharwal/main","shortMessageHtmlLink":"Merge pull request #2 from walid-baharwal/fix-accidental-deletion"}}],"hasNextPage":true,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"startCursor":"Y3Vyc29yOnYyOpK7MjAyNC0wNS0xN1QxMzowMDo0NS4wMDAwMDBazwAAAARM7GyR","endCursor":"Y3Vyc29yOnYyOpK7MjAyNC0wNC0yNlQxOTozNDowNy4wMDAwMDBazwAAAAQ7eNaw"}},"title":"Activity · walid-baharwal/playerX"}