{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":455459749,"defaultBranch":"master","name":"civi-contacts","ownerLogin":"elifesciences","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2022-02-04T07:36:02.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/1777367?v=4","public":true,"private":false,"isOrgOwned":true},"refInfo":{"name":"","listCacheKey":"v0:1721393960.0","currentOid":""},"activityList":{"items":[{"before":"e92c78cd547ac80370fa94d9505c036d4433ca16","after":"1709b7874f488b8f8efb096b2d1fdd3d7daad7c1","ref":"refs/heads/hubspot-client","pushedAt":"2024-07-19T16:06:12.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"nlisgo","name":"Nathan Lisgo","path":"/nlisgo","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/383397?s=80&v=4"},"commit":{"message":"feat: wrap contact properties in 'properties' object\n\nUpdated HubspotClient and corresponding tests to wrap contact properties\nin a 'properties' object when making PATCH requests to the Hubspot API.","shortMessageHtmlLink":"feat: wrap contact properties in 'properties' object"}},{"before":"6387c95024547e89807443cd19a08e2a86132ebe","after":"e92c78cd547ac80370fa94d9505c036d4433ca16","ref":"refs/heads/hubspot-client","pushedAt":"2024-07-19T15:35:26.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"nlisgo","name":"Nathan Lisgo","path":"/nlisgo","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/383397?s=80&v=4"},"commit":{"message":"feat: migrate from CiviCRM client to HubSpot client\n\n- Added new config file: hubspotclient.php\n- Removed unused import in SubscriberUrlsCommand.php\n- Updated HubspotClient to use new API structure\n- Updated AppServiceProvider to use HubspotClient instead of CiviCrmClient\n- Adjusted tests in HubspotClientTest.php to reflect new changes","shortMessageHtmlLink":"feat: migrate from CiviCRM client to HubSpot client"}},{"before":"c56edcb537e401cf33e9b365c6ed82a7e80b3d0c","after":"6387c95024547e89807443cd19a08e2a86132ebe","ref":"refs/heads/hubspot-client","pushedAt":"2024-07-19T14:33:59.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"nlisgo","name":"Nathan Lisgo","path":"/nlisgo","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/383397?s=80&v=4"},"commit":{"message":"feat: Update HubspotClient to store subscriber URLs\n\nUpdate the `storeSubscriberUrls` function in `HubspotClient` to use 'PATCH' method instead of 'POST'. Also, add a test case for storing subscriber URLs.","shortMessageHtmlLink":"feat: Update HubspotClient to store subscriber URLs"}},{"before":"ca4011e2874b1fc90e4d53b89ce987b13ecaa7c1","after":"c56edcb537e401cf33e9b365c6ed82a7e80b3d0c","ref":"refs/heads/hubspot-client","pushedAt":"2024-07-19T14:23:52.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"nlisgo","name":"Nathan Lisgo","path":"/nlisgo","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/383397?s=80&v=4"},"commit":{"message":"feat: Improve error handling in HubspotClient\n\nThis commit modifies the error handling logic in HubspotClient to catch\nerrors based on 'status' instead of 'is_error'. Also, a new test case has\nbeen added to ensure the proper functioning of this new error handling\nmechanism.","shortMessageHtmlLink":"feat: Improve error handling in HubspotClient"}},{"before":"0e951a02839c013d3ba12edac48e38ac5c9db533","after":"ca4011e2874b1fc90e4d53b89ce987b13ecaa7c1","ref":"refs/heads/hubspot-client","pushedAt":"2024-07-19T14:15:39.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"nlisgo","name":"Nathan Lisgo","path":"/nlisgo","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/383397?s=80&v=4"},"commit":{"message":"feat: refactor HubspotClient to simplify API calls\n\nRefactor `HubspotClient` to simplify HTTP requests to the Hubspot API. This change reduces complexity by removing unnecessary parameters and simplifying the request structure. This update also includes new test cases to ensure the correct functionality of the refactored methods.","shortMessageHtmlLink":"feat: refactor HubspotClient to simplify API calls"}},{"before":"4cf977ce235b116ae2dfb34fd58ffc7c60fd5a2f","after":"0e951a02839c013d3ba12edac48e38ac5c9db533","ref":"refs/heads/hubspot-client","pushedAt":"2024-07-19T13:45:12.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"nlisgo","name":"Nathan Lisgo","path":"/nlisgo","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/383397?s=80&v=4"},"commit":{"message":"feat: add opt-out field to Hubspot client\n\nAdd a new constant FIELD_OUTPUT to represent opt-out field in\nHubspotClient. Modify createContact method to set this field to 'false'.\nModify getContactByEmail method to use this field to determine\nsubscription status. Update HubspotClientTest to include the new field.","shortMessageHtmlLink":"feat: add opt-out field to Hubspot client"}},{"before":null,"after":"4cf977ce235b116ae2dfb34fd58ffc7c60fd5a2f","ref":"refs/heads/hubspot-client","pushedAt":"2024-07-19T12:59:20.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"nlisgo","name":"Nathan Lisgo","path":"/nlisgo","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/383397?s=80&v=4"},"commit":{"message":"feat: Add Hubspot integration for subscription management\n\nThis commit includes the following changes:\n\n- Update Guzzle client test to reflect changes in parameters for LatestArticles class\n- Update EarlyCareer, ElifeNewsletter, and LatestArticles classes to use new group and group ID values\n- Update Newsletter class to change the return type of groupId method from int to string\n- Add a new exception class for handling Hubspot response errors\n- Add a new Guzzle client for interacting with the Hubspot API\n- Add a corresponding test for the new Hubspot client\n\nThese changes enable the application to manage subscriptions using the Hubspot API, improving the robustness and reliability of the subscription management process.","shortMessageHtmlLink":"feat: Add Hubspot integration for subscription management"}},{"before":"565b798c0ea9113fee5ee7fde177cfc4c951b469","after":"c20fa23d4c0cf7cdac67bc19ecae0c7c2d3e65f1","ref":"refs/heads/master","pushedAt":"2024-04-12T01:23:45.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"lsh-0","name":null,"path":"/lsh-0","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/2142748?s=80&v=4"},"commit":{"message":"maintainers.txt updated","shortMessageHtmlLink":"maintainers.txt updated"}},{"before":"ad795d552226fe50fb1a99b2d6dde84ebd2070a5","after":null,"ref":"refs/heads/early-career","pushedAt":"2023-06-20T16:05:30.962Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"nlisgo","name":"Nathan Lisgo","path":"/nlisgo","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/383397?s=80&v=4"}},{"before":"a52405c42823b344bc1f003c72d755128b841bee","after":"565b798c0ea9113fee5ee7fde177cfc4c951b469","ref":"refs/heads/master","pushedAt":"2023-06-20T13:45:45.401Z","pushType":"pr_merge","commitsCount":6,"pusher":{"login":"smoqadam","name":"Saeed","path":"/smoqadam","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1223848?s=80&v=4"},"commit":{"message":"Merge pull request #12 from elifesciences/early-career\n\nchange the category for early career","shortMessageHtmlLink":"Merge pull request #12 from elifesciences/early-career"}},{"before":"fd437ec8dde2d7a37a5c19e89231ca76a11c4695","after":"ad795d552226fe50fb1a99b2d6dde84ebd2070a5","ref":"refs/heads/early-career","pushedAt":"2023-06-13T11:21:58.376Z","pushType":"push","commitsCount":1,"pusher":{"login":"smoqadam","name":"Saeed","path":"/smoqadam","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1223848?s=80&v=4"},"commit":{"message":"update ubunut to 20.04","shortMessageHtmlLink":"update ubunut to 20.04"}},{"before":"fa41cd6d2c52b3966d0fbc62e6d25ee5c29a9061","after":"fd437ec8dde2d7a37a5c19e89231ca76a11c4695","ref":"refs/heads/early-career","pushedAt":"2023-06-13T11:14:15.443Z","pushType":"push","commitsCount":1,"pusher":{"login":"smoqadam","name":"Saeed","path":"/smoqadam","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1223848?s=80&v=4"},"commit":{"message":"Revert \"Revert \"change memory limit on pipeline\"\"\n\nThis reverts commit fa41cd6d2c52b3966d0fbc62e6d25ee5c29a9061.","shortMessageHtmlLink":"Revert \"Revert \"change memory limit on pipeline\"\""}},{"before":"f8cce3a4a572fc5ef02feddedf4a41566aba604f","after":"fa41cd6d2c52b3966d0fbc62e6d25ee5c29a9061","ref":"refs/heads/early-career","pushedAt":"2023-06-13T10:51:56.612Z","pushType":"push","commitsCount":1,"pusher":{"login":"smoqadam","name":"Saeed","path":"/smoqadam","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1223848?s=80&v=4"},"commit":{"message":"Revert \"change memory limit on pipeline\"\n\nThis reverts commit f8cce3a4a572fc5ef02feddedf4a41566aba604f.","shortMessageHtmlLink":"Revert \"change memory limit on pipeline\""}},{"before":"27aae20c682c9dbc0e58eb4b2fcbe570b35b66aa","after":"f8cce3a4a572fc5ef02feddedf4a41566aba604f","ref":"refs/heads/early-career","pushedAt":"2023-06-13T10:32:47.779Z","pushType":"push","commitsCount":1,"pusher":{"login":"smoqadam","name":"Saeed","path":"/smoqadam","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1223848?s=80&v=4"},"commit":{"message":"change memory limit on pipeline","shortMessageHtmlLink":"change memory limit on pipeline"}},{"before":"a52405c42823b344bc1f003c72d755128b841bee","after":"27aae20c682c9dbc0e58eb4b2fcbe570b35b66aa","ref":"refs/heads/early-career","pushedAt":"2023-06-13T10:19:32.885Z","pushType":"push","commitsCount":1,"pusher":{"login":"smoqadam","name":"Saeed","path":"/smoqadam","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1223848?s=80&v=4"},"commit":{"message":"change the category for early career","shortMessageHtmlLink":"change the category for early career"}},{"before":null,"after":"a52405c42823b344bc1f003c72d755128b841bee","ref":"refs/heads/early-career","pushedAt":"2023-06-13T10:18:44.800Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"smoqadam","name":"Saeed","path":"/smoqadam","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1223848?s=80&v=4"},"commit":{"message":"Remove technology newsletter (#11)\n\nCo-authored-by: Saeed Moghadamzadeh ","shortMessageHtmlLink":"Remove technology newsletter (#11)"}}],"hasNextPage":false,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"Y3Vyc29yOnYyOpK7MjAyNC0wNy0xOVQxNjowNjoxMi4wMDAwMDBazwAAAASEFgbV","startCursor":"Y3Vyc29yOnYyOpK7MjAyNC0wNy0xOVQxNjowNjoxMi4wMDAwMDBazwAAAASEFgbV","endCursor":"Y3Vyc29yOnYyOpK7MjAyMy0wNi0xM1QxMDoxODo0NC44MDAyMDBazwAAAANAWw7F"}},"title":"Activity ยท elifesciences/civi-contacts"}