{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":752397823,"defaultBranch":"main","name":"CS-MongoDB","ownerLogin":"kaloyanpepelyashki","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2024-02-03T20:09:09.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/93147724?v=4","public":true,"private":false,"isOrgOwned":false},"refInfo":{"name":"","listCacheKey":"v0:1706990978.0","currentOid":""},"activityList":{"items":[{"before":"73aabdc0458ad3ee4b63b0c8f6007f7b4df418f7","after":"d85eedf8f508df29533d584637c22d9265251cc8","ref":"refs/heads/main","pushedAt":"2024-02-29T17:41:37.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"kaloyanpepelyashki","name":"Kaloyan Pepelyashki","path":"/kaloyanpepelyashki","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/93147724?s=80&v=4"},"commit":{"message":"Introduced a service for handling all Recipe operations and finished the Update controller\n\nSplit the whole Recipe logic from the MongoDBClient DAO class, as the recipes logic must be handled by a service dedicated to just that. This way the code is better separated and easier to maintain. Added an interface IRecipeService as well.\nFinished the Update controller too.","shortMessageHtmlLink":"Introduced a service for handling all Recipe operations and finished …"}},{"before":"eefc8fb862d75e89029c8e95d9494bb88e2fcd93","after":"73aabdc0458ad3ee4b63b0c8f6007f7b4df418f7","ref":"refs/heads/main","pushedAt":"2024-02-29T15:58:05.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"kaloyanpepelyashki","name":"Kaloyan Pepelyashki","path":"/kaloyanpepelyashki","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/93147724?s=80&v=4"},"commit":{"message":"Added RecipeService and a little bit of Mark up in the MVC app and strated building the update routes in the API\n\nAdded RecipeService which will be in charge of handling all interactions with recipes to and from the API. Altered the index view of the application as well, to display all recipes in the database in a table. The Home controller feeds the Index view the fetched data and the Index view displays them on screen in table form\nAdded UpdateRecipe controller in the API, that is to be finished. Also wrote an IUserService interface to follow best practices. Added a new method in the MongoDB client. All of the methods from the Mongo DB client are to be moved to a separate service.","shortMessageHtmlLink":"Added RecipeService and a little bit of Mark up in the MVC app and st…"}},{"before":"a6b5ae6b2e25a0a408611dfda1233ab11c4960b9","after":"eefc8fb862d75e89029c8e95d9494bb88e2fcd93","ref":"refs/heads/main","pushedAt":"2024-02-28T14:36:23.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"kaloyanpepelyashki","name":"Kaloyan Pepelyashki","path":"/kaloyanpepelyashki","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/93147724?s=80&v=4"},"commit":{"message":"Added a recipe service\n\nWrote the class for recipe service that is in charge of handling requests to and from the recipe API. Also added the recipe model that represents the recipe object","shortMessageHtmlLink":"Added a recipe service"}},{"before":"6d9dce9b5b86039a9441a304c32255ac3827b8ef","after":"a6b5ae6b2e25a0a408611dfda1233ab11c4960b9","ref":"refs/heads/main","pushedAt":"2024-02-27T14:16:44.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"kaloyanpepelyashki","name":"Kaloyan Pepelyashki","path":"/kaloyanpepelyashki","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/93147724?s=80&v=4"},"commit":{"message":"Created a scaffold for the recipe web app\n\nJust initial push and scaffold of the recipe app.","shortMessageHtmlLink":"Created a scaffold for the recipe web app"}},{"before":"d537c29b5c8b0e95c1d7c8d5602862a39228188e","after":"6d9dce9b5b86039a9441a304c32255ac3827b8ef","ref":"refs/heads/main","pushedAt":"2024-02-25T17:58:21.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"kaloyanpepelyashki","name":"Kaloyan Pepelyashki","path":"/kaloyanpepelyashki","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/93147724?s=80&v=4"},"commit":{"message":"Small change in UserService.cs\n\nRemoved the check for password in the AuthSignUp method.","shortMessageHtmlLink":"Small change in UserService.cs"}},{"before":"e6f7d3962771103176865d45438520c6613e8cb1","after":"d537c29b5c8b0e95c1d7c8d5602862a39228188e","ref":"refs/heads/main","pushedAt":"2024-02-25T17:57:25.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"kaloyanpepelyashki","name":"Kaloyan Pepelyashki","path":"/kaloyanpepelyashki","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/93147724?s=80&v=4"},"commit":{"message":"Added UserService service for actual authentication\n\nChanged the structure and logic of how authentication works, instead of checking for hardcoded values, the Auth controller is utilizing the UserService to look up the user credentials in the MongoDB database.\nThe UserService class currently has two methods, one for SignIn and one for SignUp. The SignIn method looks up the database for matches of documents with the exact same cred. as the ones being passed and if so, returns the object, if no, returns null and thus lets the controller know, there is no user with these cred. The SignUp method similarly to the SignIn takes in to arguments , email and password., but returns a Boolean The method first looks up the database if there are other profiles with this email registered, if they are, returns false, if there are non, calls the InsertOneAsync method part of the MongoDB client and returns true, to let the controller know the actions was successful.","shortMessageHtmlLink":"Added UserService service for actual authentication"}},{"before":"e97bc233b1301349307a60c0f2ab354b743cebf8","after":"e6f7d3962771103176865d45438520c6613e8cb1","ref":"refs/heads/main","pushedAt":"2024-02-23T12:31:47.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"kaloyanpepelyashki","name":"Kaloyan Pepelyashki","path":"/kaloyanpepelyashki","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/93147724?s=80&v=4"},"commit":{"message":"Implemented very basic authentication with JWT\n\nImplemented authentication with very basic useage of JWT.\nAdded an AuthController which is responsible for handling the authentication. The controller has a basic method called SignIn, that takes as an argument a test class object called AuthDTO. Just for simplicity, at the current point no information is encrypted, the password is saved in plain text. The controller also holds the method for generating JWT, which is to be moved to a separate controller later.\nCurrently the SignIn method just checks if the password equals a hardcoded value.","shortMessageHtmlLink":"Implemented very basic authentication with JWT"}},{"before":"a7689671dd652958edf79ab41b7f1db6a26b6221","after":"e97bc233b1301349307a60c0f2ab354b743cebf8","ref":"refs/heads/main","pushedAt":"2024-02-23T10:43:19.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"kaloyanpepelyashki","name":"Kaloyan Pepelyashki","path":"/kaloyanpepelyashki","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/93147724?s=80&v=4"},"commit":{"message":"Added a new route for getting random recipe","shortMessageHtmlLink":"Added a new route for getting random recipe"}},{"before":"22d8dcad491b648e5322d25965deb3d284aeb817","after":"a7689671dd652958edf79ab41b7f1db6a26b6221","ref":"refs/heads/main","pushedAt":"2024-02-06T18:35:36.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"kaloyanpepelyashki","name":"Kaloyan Pepelyashki","path":"/kaloyanpepelyashki","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/93147724?s=80&v=4"},"commit":{"message":"Changed the way I get environmental variables and fixed some issues\n\nRe-factored the code, so it consumes the MongoDB connection string in a more secure way.\nFixed a issue with the retreived objects from MongoDB having members set to null. identified a small issue with {get; set;} properties on the RecipeTitle and Recipe Description members of the Recipe class. Fixed the issue, by adding a property init, as set or init was missing.\nModified the insert and delete methods of the MongoDBClient class, as they were taking in an argument \"collection\" which in this case was unnecessary.","shortMessageHtmlLink":"Changed the way I get environmental variables and fixed some issues"}},{"before":"ec95d015ec2861432b9bbd3a673624266721d264","after":"22d8dcad491b648e5322d25965deb3d284aeb817","ref":"refs/heads/main","pushedAt":"2024-02-06T13:44:45.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"kaloyanpepelyashki","name":"Kaloyan Pepelyashki","path":"/kaloyanpepelyashki","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/93147724?s=80&v=4"},"commit":{"message":"Swagger and new controllers\n\nRe-generated the project to include swagger. I decided to include swagger tester in the API project, so it assists me in building the project\nAdded a controller for deleting items from the Recipe collection","shortMessageHtmlLink":"Swagger and new controllers"}},{"before":null,"after":"ec95d015ec2861432b9bbd3a673624266721d264","ref":"refs/heads/main","pushedAt":"2024-02-03T20:09:38.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"kaloyanpepelyashki","name":"Kaloyan Pepelyashki","path":"/kaloyanpepelyashki","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/93147724?s=80&v=4"},"commit":{"message":"Initializing the Repo\n\nThe first push to the repo, with just the outline of the project.\nThe project currently consists only of a DAO for accessing Mongo DB, a Recipe model class, and two controllers for handling the API endpoints in the future.","shortMessageHtmlLink":"Initializing the Repo"}}],"hasNextPage":false,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAAECP_iLgA","startCursor":null,"endCursor":null}},"title":"Activity · kaloyanpepelyashki/CS-MongoDB"}