{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":277534395,"defaultBranch":"master","name":"virtualcolumn","ownerLogin":"archtechx","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2020-07-06T12:22:12.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/84272491?v=4","public":true,"private":false,"isOrgOwned":true},"refInfo":{"name":"","listCacheKey":"v0:1712514458.0","currentOid":""},"activityList":{"items":[{"before":"7371aac2abf22b8b95718b4e904aed900d97f1e3","after":"65f90003282c231a19367edf9692bfb6b6f23fb8","ref":"refs/heads/master","pushedAt":"2024-04-07T18:26:30.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"stancl","name":"Samuel Štancl","path":"/stancl","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/33033094?s=80&v=4"},"commit":{"message":"Handle encrypted columns which are set to null (#19)\n\n* 🧪 Add a test for a null value\r\n\r\n* 🐛 Don't consider null types for decryption","shortMessageHtmlLink":"Handle encrypted columns which are set to null (#19)"}},{"before":"89e00fbcd95d696cb5b4d4d901dc6d735c088d7c","after":"7371aac2abf22b8b95718b4e904aed900d97f1e3","ref":"refs/heads/master","pushedAt":"2024-01-27T21:49:31.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"stancl","name":"Samuel Štancl","path":"/stancl","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/33033094?s=80&v=4"},"commit":{"message":"Laravel 11 support (#17)","shortMessageHtmlLink":"Laravel 11 support (#17)"}},{"before":null,"after":"5538055ff889e07c501db42ba208fb05f83ae1de","ref":"refs/heads/laravel-11","pushedAt":"2024-01-27T21:48:28.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"stancl","name":"Samuel Štancl","path":"/stancl","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/33033094?s=80&v=4"},"commit":{"message":"Laravel 11 support","shortMessageHtmlLink":"Laravel 11 support"}},{"before":"72de33a3d40291bbbfef7f7840366a8278f15fe7","after":"89e00fbcd95d696cb5b4d4d901dc6d735c088d7c","ref":"refs/heads/master","pushedAt":"2023-11-08T21:32:17.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"stancl","name":"Samuel Štancl","path":"/stancl","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/33033094?s=80&v=4"},"commit":{"message":"make getCustomColumns() and getDataColumn() static again","shortMessageHtmlLink":"make getCustomColumns() and getDataColumn() static again"}},{"before":"925249bb728857b5c5adb6961a93b3ca10602d6d","after":"72de33a3d40291bbbfef7f7840366a8278f15fe7","ref":"refs/heads/master","pushedAt":"2023-11-08T09:08:34.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"stancl","name":"Samuel Štancl","path":"/stancl","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/33033094?s=80&v=4"},"commit":{"message":"Add encrypted casts support + allow using the trait on multiple models (#14)\n\n* Add encrypted casts test (wip)\r\n\r\n* Handle and test 'encrypted' casts\r\n\r\n* Add APP_KEY to phpunit.xml\r\n\r\n* Update attribute casting in VirtualColumn\r\n\r\n* Test casting of all default 'encrypted' castables\r\n\r\n* Fix code style (php-cs-fixer)\r\n\r\n* Handle custom castables in VirtualColumn\r\n\r\n* Add custom encrypted castable\r\n\r\n* Test custom encrypted castable, refactor test\r\n\r\n* Move EncryptedCast class to VirtualColumnTest\r\n\r\n* Correct expected/actual value order in assertions\r\n\r\n* Break code style (testing)\r\n\r\n* Fix code style (php-cs-fixer)\r\n\r\n* Check Laravel CI version (testing)\r\n\r\n* dd() Laravel version\r\n\r\n* Delete dd()\r\n\r\n* Delete get() and set() types\r\n\r\n* Use non-lowercase custom cast class strings\r\n\r\n* Check hasCast manually\r\n\r\n* Correct encrypted castable logic\r\n\r\n* Update src/VirtualColumn.php\r\n\r\n* Use `$dataEncoded` bool instead of `$dataEncodingStatus` string\r\n\r\n* Don't accept unused `$e`\r\n\r\n* Refactor `encodeAttributes()`\r\n\r\n* Use `$model->getCustomColumns()` instead of `static::getCustomColumns()`\r\n\r\n* Use `$model` instead of `static` where possible\r\n\r\n* Correct test\r\n\r\n* Revert `static` -> `$model` changes\r\n\r\n* Correct typo\r\n\r\n* Refactor `$afterListeneres`\r\n\r\n* Fix code style (php-cs-fixer)\r\n\r\n* Make static things non-static in VirtualColumn\r\n\r\n* Change method to non-static in test\r\n\r\n* Add base class that uses VirtualColumn in tests\r\n\r\n* Add encrypted castables docblock\r\n\r\n* Fix merge\r\n\r\n* Fix ParentModel change\r\n\r\n* make $this and $model use clear and consistent\r\n\r\n---------\r\n\r\nCo-authored-by: Samuel Štancl \r\nCo-authored-by: Samuel Štancl ","shortMessageHtmlLink":"Add encrypted casts support + allow using the trait on multiple models ("}},{"before":"0b108903b51711ff9f0357458dc3eb03398eb894","after":"925249bb728857b5c5adb6961a93b3ca10602d6d","ref":"refs/heads/master","pushedAt":"2023-11-06T20:46:15.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"stancl","name":"Samuel Štancl","path":"/stancl","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/33033094?s=80&v=4"},"commit":{"message":"Test that child models extending a parent that uses VirtualColumn get encoded correctly (#16)\n\n* Test that using different models extending the same class with VirtualColumn doesn't work correctly\r\n\r\n* Add regression test for faulty logic\r\n\r\n* Delete unused import\r\n\r\n* Add migration\r\n\r\n* Fix migrations\r\n\r\n* Make the assertions check the intended behavior","shortMessageHtmlLink":"Test that child models extending a parent that uses VirtualColumn get…"}}],"hasNextPage":false,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAAEKkEIvwA","startCursor":null,"endCursor":null}},"title":"Activity · archtechx/virtualcolumn"}