Log message #4054011

# At Username Text
# Jul 19th 2017, 11:49 hmic create the file, extend it. done
# Jul 19th 2017, 11:48 hmic Ecorce, yes.
# Jul 19th 2017, 11:48 Ecorce - src/Controller/Api/AppController.php
# Jul 19th 2017, 11:48 Ecorce In Cakephp 3.x, can a prefix folder get its own AppController, like this :
# Jul 19th 2017, 11:48 neon1024 Anyone know how to get the contained associations from a query object? I’ve tried `$query->contain()` `$query->getEagerLoader()->contain()`
# Jul 19th 2017, 11:47 VersadrillCanada hi
# Jul 19th 2017, 11:47 Ecorce Hello everyone
# Jul 19th 2017, 11:34 cakephp869 I'd like to insert directly in db
# Jul 19th 2017, 11:33 cakephp869 how cake calculate the password?
# Jul 19th 2017, 11:33 cakephp869 now I have to insert a huge list of user
# Jul 19th 2017, 11:33 cakephp869 but now yes
# Jul 19th 2017, 11:33 adriencs Cake 2 ?
# Jul 19th 2017, 11:32 cakephp869 when I insert a user in my app I use AuthComponent::password to save an hash passord in DB
# Jul 19th 2017, 11:32 cakephp869 I have to insert a list of users
# Jul 19th 2017, 11:32 cakephp869 hi all
# Jul 19th 2017, 11:16 adriencs can you set a remote Datasource in app.php ?
# Jul 19th 2017, 11:04 neon1024 `1) ExitLinks\Tests\Model\Behavior\GoodbyeBehaviorTest::testBeforeFindContain Cake\Database\Exception: Cannot describe articles. It has 0 columns.`
# Jul 19th 2017, 11:04 neon1024 Well converting from MySQL to SQLite has thrown up an interesting one
# Jul 19th 2017, 11:02 neon1024 I go from one failed test implementation to another, and I hit a roadblock in every attempt
# Jul 19th 2017, 10:57 neon1024 Testing the query class feels like it should be easier than this
# Jul 19th 2017, 10:57 neon1024 I’m finding this very frustrating :(
# Jul 19th 2017, 10:49 admad You don't need mysql, can just use sqlite with in memory db, which is default
# Jul 19th 2017, 10:46 neon1024 Guess I’ll have to take the hit and add MySQL and Fixtures as a dependancy to my test suite :(
# Jul 19th 2017, 10:42 neon1024 Actually I could go look that up, rather than be lazy.
# Jul 19th 2017, 10:42 neon1024 Is the `beforeFind` event only actually fired when the query is executed?
# Jul 19th 2017, 10:36 dangnhutranluong hope to learn from you
# Jul 19th 2017, 10:35 dangnhutranluong i'm a newbie!
# Jul 19th 2017, 10:35 dangnhutranluong hi!
# Jul 19th 2017, 10:31 neon1024 I have a strange problem. I’m trying to assert on the contains array in a query instance. When I var_dump it, the `__debugInfo` create a public property of `$eagerLoader->contain()` which shows the array I’m expecting. However when I `var_dump($query->getEagerLoader()->contain()` it’s empty, what am I missing?
# Jul 19th 2017, 10:30 neon1024 Blimey that’s a beast @dereuromark will have to find some time to read it later :slightly_smiling_face:
# Jul 19th 2017, 10:20 adithya Authentication for mobile and web, couldn't get cakes users to work! Any other plugins that provide the same features ? Just authentication with social is also fine :grinning: will do the authorisation
# Jul 19th 2017, 10:19 dereuromark Some good stuff :slightly_smiling_face: https://www.sitepoint.com/poka-yoke-saving-projects-with-hyper-defensive-programming/
# Jul 19th 2017, 10:15 graziel how do you spoof user input for shell tests? ive ended up using `$input = new ConsoleInput("data://text/plain,shell_test@test.com\ntest\ntest\ny");` but it feels wrong
# Jul 19th 2017, 10:09 neon1024 `@return ¯\_(ツ)_/¯` :P
# Jul 19th 2017, 10:09 neon1024 No more `@return mixed` WOOT!
# Jul 19th 2017, 10:09 neon1024 Plus when the transition comes to PHP 7 the method return typehints should be easier :slightly_smiling_face:
# Jul 19th 2017, 10:08 dereuromark also better (strict/less) return types
# Jul 19th 2017, 10:08 neon1024 Thanks guys, that’s saved me a pull request submission :slightly_smiling_face:
# Jul 19th 2017, 10:08 dereuromark solving the root issue of having a better interface with clear responsibility separation is a win in many other directions as well.
# Jul 19th 2017, 10:07 dereuromark hasnt been fixed for years, wont happen anytime soon, but v4 will solve all this by never ever having any $this|... :slightly_smiling_face:
# Jul 19th 2017, 10:07 neon1024 I agree @dereuromark