{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":244645812,"defaultBranch":"master","name":"postmanq","ownerLogin":"boreevyuri","currentUserCanPush":false,"isFork":true,"isEmpty":false,"createdAt":"2020-03-03T13:39:32.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/10973128?v=4","public":true,"private":false,"isOrgOwned":false},"refInfo":{"name":"","listCacheKey":"v0:1702477320.0","currentOid":""},"activityList":{"items":[{"before":null,"after":"661c5f48c5b156f8de2be6c0a010dc3de034cb0d","ref":"refs/heads/amqp_refactor","pushedAt":"2023-12-13T14:22:00.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"boreevyuri","name":"Yuri","path":"/boreevyuri","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/10973128?s=80&v=4"},"commit":{"message":"new refactor","shortMessageHtmlLink":"new refactor"}},{"before":"0a25715952449831fa094af47f15d37650c26237","after":"7e4885518399471eaa390b75afda18ffad2f5af2","ref":"refs/heads/master","pushedAt":"2023-11-30T12:30:32.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"boreevyuri","name":"Yuri","path":"/boreevyuri","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/10973128?s=80&v=4"},"commit":{"message":"\"Clean-up: remove unused imports, commented-out code, and debug logs\n\nRemoved unnecessary code across various files to improve code hygiene and readability. Changes include:\n- Deleted unused imports and commented-out code in files like `limiter/errors.go`, `mailer/errors.go`, `guardian/exclude.go`, etc.\n- Commented out debugging logs in files like `connector/mxmgr/mxserver.go` and `connector/mxmgr/mxserverlist.go`.\n- Updated and removed certain function signatures and type definitions.\nThis clean-up and standardization contribute to code quality and ease of maintenance.\"","shortMessageHtmlLink":"\"Clean-up: remove unused imports, commented-out code, and debug logs"}},{"before":"7668b71083a51b80b7be120d328e0a40312b9323","after":"48356dea562f6e72978a983905303107754f94dd","ref":"refs/heads/change_smtp_module","pushedAt":"2023-11-30T11:49:51.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"boreevyuri","name":"Yuri","path":"/boreevyuri","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/10973128?s=80&v=4"},"commit":{"message":"Update interfaces and logic in several package files.\n\nThe changes include updating interface and logic in the following files: common/interfaces.go, connector/connector.go, connector/event.go, connector/mxmgr/interfaces.go, connector/mxmgr/mxcache.go, connector/mxmgr/mxpool.go, connector/mxmgr/mxserver.go, connector/mxmgr/mxserverlist.go, connector/smtpmgr/mailclient.go, and connector/smtpmgr/interfaces.go.\n\nIn most files, added new methods, implemented existing methods, and removed irrelevant functions as necessary. This refactoring was done in order to improve code efficiency and readability. Updated commit message is generated ensuring grammatical correctness and appropriate details.","shortMessageHtmlLink":"Update interfaces and logic in several package files."}},{"before":"7c55de8bf77b219ee388991d9b2b82e489eb9299","after":"7668b71083a51b80b7be120d328e0a40312b9323","ref":"refs/heads/change_smtp_module","pushedAt":"2023-11-30T11:48:31.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"boreevyuri","name":"Yuri","path":"/boreevyuri","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/10973128?s=80&v=4"},"commit":{"message":"\"Remove unused and commented codes across modules\n\nUnnecessary codes across various files have been cleaned up. These include unused imports, commented out codes, and debugging logs. This helps maintain code hygiene and improve code readability. In `limiter/errors.go`, `mailer/errors.go`, `guardian/exclude.go` and several other files, originally commented out or unused code blocks were deleted. For `connector/mxmgr/mxserver.go`, `connector/mxmgr/mxserverlist.go` and a few other files, debugging logs were commented out. Certain function signatures and type definitions were also updated or removed.\"","shortMessageHtmlLink":"\"Remove unused and commented codes across modules"}},{"before":"0bda95612fef41d16b66f24bb6b23fff6564cc48","after":"7c55de8bf77b219ee388991d9b2b82e489eb9299","ref":"refs/heads/change_smtp_module","pushedAt":"2023-11-29T14:27:27.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"boreevyuri","name":"Yuri","path":"/boreevyuri","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/10973128?s=80&v=4"},"commit":{"message":"Refactor error handling and logging in send email process\n\nReorganised the handling of connection failures and spam in the email sending process. A new error handling category 'spamFail' has been introduced and some error cases have been moved from 'connFail' to 'spamFail' to better categorize failures. Also, enhanced logging has been added to `NewMailEvent` and `handleSendSuccess` functions to include recipient and subject of the email, as well as delivery duration and message size to provide more context about email sending attempts in the logs. Moreover, removed unused comments and methods in code for a cleaner code base. These changes aim to increase clarity in error handling and make debugging easier.","shortMessageHtmlLink":"Refactor error handling and logging in send email process"}},{"before":"511e1ce3f40b9299791b40dbf48dedc519218f95","after":"0bda95612fef41d16b66f24bb6b23fff6564cc48","ref":"refs/heads/change_smtp_module","pushedAt":"2023-11-29T13:17:25.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"boreevyuri","name":"Yuri","path":"/boreevyuri","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/10973128?s=80&v=4"},"commit":{"message":"Add Finish() method to close resources in mxmgr module\n\nIntroduced a new method named Finish() across various files in the mxmgr module. This method is meant to properly close and finish the client-server connections, and replace the existing Close() method. Also, mocknet_test.go and common/application.go have been updated to reflect these changes. Furthermore, renamed Client.Close() to Client.Finish() for a more standardized naming convention across the codebase. The additional logging has also been incorporated.","shortMessageHtmlLink":"Add Finish() method to close resources in mxmgr module"}},{"before":"dccf659166315d4a9212924b7387d7a1a2a8bc0d","after":"511e1ce3f40b9299791b40dbf48dedc519218f95","ref":"refs/heads/change_smtp_module","pushedAt":"2023-11-29T12:45:31.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"boreevyuri","name":"Yuri","path":"/boreevyuri","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/10973128?s=80&v=4"},"commit":{"message":"Refactor code structure and enhance logging\n\nRefactored the structuring of the code to be more efficient and intuitive. Renamed GetMailClient to GetClient to match the proper function of the method. Removed logger \"message.go\" file as it was obsolete and not used anywhere in the code. Enhanced logging by updating log and error messages for better traceability and troubleshooting based on SMTP standards. Made changes to the worker closing process by replacing Worker.Close() with Worker.Quit() for cleaner code termination.","shortMessageHtmlLink":"Refactor code structure and enhance logging"}},{"before":"97d79e2d40bbbda12f34459d2592250fa6567155","after":"dccf659166315d4a9212924b7387d7a1a2a8bc0d","ref":"refs/heads/change_smtp_module","pushedAt":"2023-11-29T11:53:51.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"boreevyuri","name":"Yuri","path":"/boreevyuri","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/10973128?s=80&v=4"},"commit":{"message":"Update log and error messages, refactor mail sending process\n\nImplemented detailed logging in the mail sending process to provide better debugging information. Error messages have been updated to match SMTP error codes. Commented out debug log lines in 'consumer/binding.go' and removed redundant code. Introduced logging in 'common/mailmessage.go' to trace the series of SMTP commands during mail sending. The \"getIP\" method included an error message update to match SMTP error standards. Updated the method 'Prepare' in 'connector/preparer.go' to return an error message when failed.","shortMessageHtmlLink":"Update log and error messages, refactor mail sending process"}},{"before":"123afa7ad8bb022b828134f88033c3b41daf4b3d","after":"97d79e2d40bbbda12f34459d2592250fa6567155","ref":"refs/heads/change_smtp_module","pushedAt":"2023-11-29T10:33:29.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"boreevyuri","name":"Yuri","path":"/boreevyuri","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/10973128?s=80&v=4"},"commit":{"message":"Refactor and clean up code, update dependencies\n\nIn this commit, several updates and modifications were made: an extraneous test file 'server_test.go' was removed, multiple dependencies were updated as reflected in 'go.mod' and 'go.sum', and numerous symbols were renamed for better clarity, for instance, 'MailClient' was renamed to 'Client'. Besides renaming, method signatures and logic were also altered. This not only tidied up the codebase but might have also subtly changed some aspects of the system's behavior.","shortMessageHtmlLink":"Refactor and clean up code, update dependencies"}},{"before":null,"after":"123afa7ad8bb022b828134f88033c3b41daf4b3d","ref":"refs/heads/change_smtp_module","pushedAt":"2023-11-29T09:02:02.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"boreevyuri","name":"Yuri","path":"/boreevyuri","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/10973128?s=80&v=4"},"commit":{"message":"Remove unused test, update packages and modify entity names\n\nThe committed diff involves a number of changes that could not be categorized under one goal. The major changes observed from the diff are:\n1. Removal of an unused test file: 'server_test.go'. This could be due to its redundancy or irrelevance in the current system.\n2. Update of multiple dependent packages in 'go.mod' and 'go.sum'. Version bumps in these files suggest that the project dependencies have been updated for better features or compatibility.\n3. Refactoring of code within various files, mostly relating to changing the names of symbols. For instance, 'MailClient' has been renamed to 'Client'. This can make the code easier to understand and maintain.\n\nIt's noteworthy to mention that the refactoring process did not just restrict to renaming, but also included changes in method signatures and logic in multiple places. This leads to the conclusion that alongside cleaning up the code, the system behavior might have been altered to some extent in certain areas.","shortMessageHtmlLink":"Remove unused test, update packages and modify entity names"}},{"before":"af646aecebbb69910103294b42978941c6359ba0","after":null,"ref":"refs/heads/dev","pushedAt":"2023-11-28T09:42:15.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"boreevyuri","name":"Yuri","path":"/boreevyuri","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/10973128?s=80&v=4"}},{"before":"8ac67779c4d4d142df0007cd01ebcdd6abe380b7","after":null,"ref":"refs/heads/refactor_old_code_from_home","pushedAt":"2023-11-28T09:41:57.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"boreevyuri","name":"Yuri","path":"/boreevyuri","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/10973128?s=80&v=4"}},{"before":"547e0476ac0b950c9d7dcbe50fcf4362b16e72fd","after":"0a25715952449831fa094af47f15d37650c26237","ref":"refs/heads/master","pushedAt":"2023-11-28T09:34:38.000Z","pushType":"push","commitsCount":150,"pusher":{"login":"boreevyuri","name":"Yuri","path":"/boreevyuri","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/10973128?s=80&v=4"},"commit":{"message":"Revise the error handling and delivery process in interfaces.go and handler.go, and modify error signature creation and storage in sign.go and mailerror.go.\n\nThe commit now includes implementation changes on how the program handles and deliver errors in interfaces.go and handler.go. The changes include the addition, modification, and removal of various methods and functions related to error handling. This enables a more efficient handling process. In sign.go and mailerror.go, the process of creating and storing error signatures was modified. The changes provide an enhanced way of storing these error signatures which can aid in easier retrieval and identification of errors.","shortMessageHtmlLink":"Revise the error handling and delivery process in interfaces.go and h…"}},{"before":"65e9b448042f72b83b75d6ca696d6c4a051b61d0","after":"0a25715952449831fa094af47f15d37650c26237","ref":"refs/heads/refactor_old_code","pushedAt":"2023-11-28T09:33:58.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"boreevyuri","name":"Yuri","path":"/boreevyuri","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/10973128?s=80&v=4"},"commit":{"message":"Revise the error handling and delivery process in interfaces.go and handler.go, and modify error signature creation and storage in sign.go and mailerror.go.\n\nThe commit now includes implementation changes on how the program handles and deliver errors in interfaces.go and handler.go. The changes include the addition, modification, and removal of various methods and functions related to error handling. This enables a more efficient handling process. In sign.go and mailerror.go, the process of creating and storing error signatures was modified. The changes provide an enhanced way of storing these error signatures which can aid in easier retrieval and identification of errors.","shortMessageHtmlLink":"Revise the error handling and delivery process in interfaces.go and h…"}},{"before":"d8a8229fa047808809ab30c6026e9cdd4ac1a88b","after":"65e9b448042f72b83b75d6ca696d6c4a051b61d0","ref":"refs/heads/refactor_old_code","pushedAt":"2023-11-28T08:02:21.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"boreevyuri","name":"Yuri","path":"/boreevyuri","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/10973128?s=80&v=4"},"commit":{"message":"Reallocate error messages within error handlers\n\nCorrected error message categorization in sign.go by moving 'policy rejection' and 'is on our block' to appropriate sections. This adjustment will ensure that these specific errors are handled properly within their intended contexts.","shortMessageHtmlLink":"Reallocate error messages within error handlers"}},{"before":"7057d6329c445fa97e87ca24832ff53559adc6e1","after":"d8a8229fa047808809ab30c6026e9cdd4ac1a88b","ref":"refs/heads/refactor_old_code","pushedAt":"2023-11-27T16:24:37.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"boreevyuri","name":"Yuri","path":"/boreevyuri","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/10973128?s=80&v=4"},"commit":{"message":"Change logging output setting in config.yaml\n\nSwitched the logging output from stdout to a log file. This was done to improve logging by directing logs to a file postmanq.log instead of the standard output.","shortMessageHtmlLink":"Change logging output setting in config.yaml"}},{"before":"2741f012950e9ffba0845f1d1743c32fcc945a2d","after":"7057d6329c445fa97e87ca24832ff53559adc6e1","ref":"refs/heads/refactor_old_code","pushedAt":"2023-11-27T16:14:58.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"boreevyuri","name":"Yuri","path":"/boreevyuri","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/10973128?s=80&v=4"},"commit":{"message":"Replace newlines with spaces in error message\n\nError messages returned from consumer handler included newlines, which caused issues in downstream logging systems. We now replace all newline characters with spaces to ensure that each error message is logged as a single line.","shortMessageHtmlLink":"Replace newlines with spaces in error message"}},{"before":"47718bcab398de53356129bddb10ea3137f254ef","after":"2741f012950e9ffba0845f1d1743c32fcc945a2d","ref":"refs/heads/refactor_old_code","pushedAt":"2023-11-27T16:03:33.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"boreevyuri","name":"Yuri","path":"/boreevyuri","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/10973128?s=80&v=4"},"commit":{"message":"Remove initialization of TryNum in email constructor\n\nThe explicit initialization of TryNum to 0 has been removed from the email constructor method. This is because Go automatically initializes integer values to 0. Hence this line is unnecessary and its removal leads to cleaner and efficient code.","shortMessageHtmlLink":"Remove initialization of TryNum in email constructor"}},{"before":"80995bf9e9004566d090ed19c89a20d40ca8076c","after":"47718bcab398de53356129bddb10ea3137f254ef","ref":"refs/heads/refactor_old_code","pushedAt":"2023-11-27T15:30:54.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"boreevyuri","name":"Yuri","path":"/boreevyuri","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/10973128?s=80&v=4"},"commit":{"message":"Improve error handling and debug efficiency in email processing\n\nIn an effort to enhance the readability and maintainability of the email processing error handling, error types were restructured into clearly defined structs. This change not only simplified the representation of error types but also paved the way for easy addition of new error types or modification of existing ones. The update also included the addition of binding error types to email failures for easier debugging and error tracking. An added benefit to this refactor is the removal of repeated error codes hence increasing code efficiency.","shortMessageHtmlLink":"Improve error handling and debug efficiency in email processing"}},{"before":"8fc26557a871045530c739dbab0d566b95475c9b","after":"80995bf9e9004566d090ed19c89a20d40ca8076c","ref":"refs/heads/refactor_old_code","pushedAt":"2023-11-27T13:52:29.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"boreevyuri","name":"Yuri","path":"/boreevyuri","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/10973128?s=80&v=4"},"commit":{"message":"Refactor error handling in email processing flow\n\nUpdated and rationalized the way of handling errors in email processing. Previously, there was a map with error codes and corresponding error types, which was both hard to read and error-prone due to explicit repetition of error codes. Switched to defining three types of errors (Recipient, Technical, Connection), each having a predefined list of error 'signatures'.\n\nThis refactoring allows better readability of the code. It also makes it easier to add new error types or modify the existing ones as they are now represented via clearly defined structs instead of a complex nested map. Extra logic for binding error types to email failures was also added for easier debug and error tracking. Additionally, increased the efficiency by eliminating the repetition of codes.","shortMessageHtmlLink":"Refactor error handling in email processing flow"}},{"before":"98246ddc61be0b728cdf21752648bda9c8f1775f","after":"8fc26557a871045530c739dbab0d566b95475c9b","ref":"refs/heads/refactor_old_code","pushedAt":"2023-11-27T06:49:39.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"boreevyuri","name":"Yuri","path":"/boreevyuri","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/10973128?s=80&v=4"},"commit":{"message":"Fix typo and refactor error handling for clarity and efficiency\n\nFixed a minor typo: changed \"ookup failed\" to \"lookup failed\" in sign.go. In addition, replaced `message` parameters in `ErrorSignsMap` and `ErrorSigns` methods with `mailErr`. Furthermore, all instances of `message.MailErr` were replaced with `mailErr` for clarity. Within the `resemble` function, the error message is now converted to lower case before checking for matches, increasing case insensitivity.\n\nWithin interfaces.go, a `GetError` method was added to the `Event` interface. Also, in handler.go, several adjustments were made. Instead of calling `event.Message.GetError()`, we are calling now `event.GetError()`. This makes the code more concise and improves readability. Additionally, some debug log lines were commented out to reduce console noise. Overall, these changes should make the code easier to understand and maintain.","shortMessageHtmlLink":"Fix typo and refactor error handling for clarity and efficiency"}},{"before":"dcd2213970f80d2bf353388bbd0caefb645438e0","after":"98246ddc61be0b728cdf21752648bda9c8f1775f","ref":"refs/heads/refactor_old_code","pushedAt":"2023-11-26T11:04:16.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"boreevyuri","name":"Yuri","path":"/boreevyuri","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/10973128?s=80&v=4"},"commit":{"message":"Refactor publish and binding logic for failure and delayed handling\n\nThe changes focus on improving the code quality and organization, primarily in the handler and binding logic in consumer/handler.go and consumer/binding.go. New functions were introduced to search for specific bindings, which replaced a direct fetch approach. This allows a more streamlined and logical way of method calls and minimizes errors due to direct calls. An unnecessary comment was also removed in common/event.go's method success. The commit results in a codebase where methods are less dependent on hard-coded configurations, making it easier to extend and maintain.","shortMessageHtmlLink":"Refactor publish and binding logic for failure and delayed handling"}},{"before":"31ea12fb28452f4b0fc504b3970e30a53cc0cf8b","after":"dcd2213970f80d2bf353388bbd0caefb645438e0","ref":"refs/heads/refactor_old_code","pushedAt":"2023-11-24T16:33:20.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"boreevyuri","name":"Yuri","path":"/boreevyuri","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/10973128?s=80&v=4"},"commit":{"message":"Refactor mail message and SMTP sender structure for flexibility\n\nThe `SMTPSender` interface is now moved to a separate `interfaces.go` file from `mailmessage.go`, giving more flexibility for future changes in MailMessage and testing, along with easy readability and high modularity.\n\n`Mail(from string)`, `Rcpt(to string)`, and `Data()` functions, previously present in `MailMessage`, are now part of the SMTPSender interface to segregate the SMTP sending commands from the MailMessage. This enhances the division of responsibilities among classes and follows SOLID principles.\n\nThe structure of a `MailMessage` object was streamlined by removing unnecessary getter methods, and transferring them as commented code to the bottom of the class. This removal will keep the class focused on its prime functionality, reducing unnecessary complexity.\n\nAdditionally, a TODO to check the time of the first event's creation was added to ensure accurate monitoring and debugging.\n\nOverall, the changes enhance readability, flexibility, and maintainability of the code.","shortMessageHtmlLink":"Refactor mail message and SMTP sender structure for flexibility"}},{"before":"f422d4f7ae4ba02df525b534425b9fe73c4133bb","after":"31ea12fb28452f4b0fc504b3970e30a53cc0cf8b","ref":"refs/heads/refactor_old_code","pushedAt":"2023-11-24T16:15:23.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"boreevyuri","name":"Yuri","path":"/boreevyuri","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/10973128?s=80&v=4"},"commit":{"message":"Implement SMTP sending interface and update connection timeouts\n\nImplemented interface `SMTPSender` in `mailmessage.go` allowing any object that implements mail sending commands to send MailMessage. This will provide more flexibility for testing and future changes in MailMessage sending methods.\n\nMethods for sending mail (MAIL FROM, RCPT TO, DATA commands) were moved from `ConnEvent` to `MailMessage` and these methods now use and require the `SMTPSender` interface.\n\nTimeouts for the different stages of sending a mail (such as HELLO, MAIL, RCPT, DATA commands) have been moved to a separate struct `Timeouts` in `mailclient.go`. This allows for easier management and changes to individual timeout durations.\n\nMiscellaneous improvements in `mailclinet.go` include simplifying status checking methods for MailClient and encapsulating MailClient deadlock checking into a method named `isDead()`.\n\nAlso, cleaned up some commented and unused code across different files.\n\nThis commit enhances the modularity of the codebase and makes timeouts configuration easier to manage.","shortMessageHtmlLink":"Implement SMTP sending interface and update connection timeouts"}},{"before":"6df729e5b2f73b1f9885b39f2051c2ab8eae4e68","after":"f422d4f7ae4ba02df525b534425b9fe73c4133bb","ref":"refs/heads/refactor_old_code","pushedAt":"2023-11-24T15:14:15.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"boreevyuri","name":"Yuri","path":"/boreevyuri","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/10973128?s=80&v=4"},"commit":{"message":"Rename and refactor functions, remove unnecessary comments\n\nRenamed file from 'message.go' to 'mailmessage.go' and modified some functions for better readability and maintainability. Removed unnecessary comments and unused codes to comply with Clean Code practices. The refactoring is done to improve readability, facilitate easier maintenance and provide clearer understanding for new developers into the project due to comments. Renaming the file would better reflect its purpose which is for mail messages.","shortMessageHtmlLink":"Rename and refactor functions, remove unnecessary comments"}},{"before":"d94128bc0de45b74947a73ae3edbbfac0b53f2ca","after":"6df729e5b2f73b1f9885b39f2051c2ab8eae4e68","ref":"refs/heads/refactor_old_code","pushedAt":"2023-11-24T13:58:03.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"boreevyuri","name":"Yuri","path":"/boreevyuri","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/10973128?s=80&v=4"},"commit":{"message":"\"Add PublishMessageTo method for MailEvent and MailMessage\n\nIn the event.go and message.go files of the common package, a PublishMessageTo method was added to both the MailEvent and MailMessage structs. This method allows a mail event or message to directly publish a message to a queue, improving clarity by making it easier to trace message publishing. The Consumer package was upated accordingly; the consumer, handler, and binding files were refactored to utilize these new methods and remove duplications. In addition, the zerolog.Logger was removed from the consumer struct as it was no longer necessary. The Binding struct in the binding.go file of the consumer package was also updated with a PublishMessage method that publishes a message to the exchange point, therefore streamlining publishing procedures.\"","shortMessageHtmlLink":"\"Add PublishMessageTo method for MailEvent and MailMessage"}},{"before":"66d194894a30297bb57bffb948f59fdb4108837a","after":"d94128bc0de45b74947a73ae3edbbfac0b53f2ca","ref":"refs/heads/refactor_old_code","pushedAt":"2023-11-24T12:29:54.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"boreevyuri","name":"Yuri","path":"/boreevyuri","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/10973128?s=80&v=4"},"commit":{"message":"\"Refactor errorHandler argument in MailEvent struct\n\nRefactored the errorHandler function's argument from the whole MailEvent structure to the ID string in the common and consumer packages. This makes error tracking more precise and eases the responsibility of the errorHandler. Also updated the related logging messages so that they also use the ID string only.\"","shortMessageHtmlLink":"\"Refactor errorHandler argument in MailEvent struct"}},{"before":"e566a49ca91b28b1184e6637c518869b5abca11c","after":"66d194894a30297bb57bffb948f59fdb4108837a","ref":"refs/heads/refactor_old_code","pushedAt":"2023-11-24T10:26:14.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"boreevyuri","name":"Yuri","path":"/boreevyuri","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/10973128?s=80&v=4"},"commit":{"message":"\"Refactor error handling and debug logging for improved tracking\n\nThis commit improves error tracking and debugging in various files of the consumer service. Changes include a refactoring of error logging messages, simplifying error handling in MailEvents by splitting it into success and non-success functions, and making debug log messages more descriptive. The purpose of these changes is to enable faster and more precise issue detection and troubleshooting.\"","shortMessageHtmlLink":"\"Refactor error handling and debug logging for improved tracking"}},{"before":"493e41fad9ff87730d8c14f7de98c3f0c399f8b9","after":"e566a49ca91b28b1184e6637c518869b5abca11c","ref":"refs/heads/refactor_old_code","pushedAt":"2023-11-23T16:29:29.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"boreevyuri","name":"Yuri","path":"/boreevyuri","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/10973128?s=80&v=4"},"commit":{"message":"\"Enhance error tracking by adding detailed logging\n\nThe commit includes a series of changes across various files in the consumer service aimed at improving error tracing and monitoring. With addition of comprehensive debug logging at crucial points, the update aims to provide granular logs for faster and more efficient issue detection and resolution.\"","shortMessageHtmlLink":"\"Enhance error tracking by adding detailed logging"}},{"before":"b5daa68205a9913e99394c02df65efd8409aa02f","after":"493e41fad9ff87730d8c14f7de98c3f0c399f8b9","ref":"refs/heads/refactor_old_code","pushedAt":"2023-11-23T15:36:22.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"boreevyuri","name":"Yuri","path":"/boreevyuri","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/10973128?s=80&v=4"},"commit":{"message":"\"Improved error logging in consumer service\n\nAdditional logging has been added in various consumer service functions to improve the debuggability of issues. This change is necessary to establish traceability in error scenarios, which aids in quickly identifying the root causes and troubleshooting the problems.\"","shortMessageHtmlLink":"\"Improved error logging in consumer service"}}],"hasNextPage":true,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAADyXfe7gA","startCursor":null,"endCursor":null}},"title":"Activity · boreevyuri/postmanq"}