Log message #4100440

# At Username Text
# Dec 4th 2017, 09:06 Gijs_ Hi, I am using $folder->copy(['skip' => '...']) but I have a folder I want to skip that is on the root of my project, the same folder name in a subfolder should not be skipped
# Dec 4th 2017, 03:35 admad hey if you like writing extra code even when better constructs are provided, so be it :slightly_smiling_face:
# Dec 4th 2017, 03:35 thomasnucleus Is there a cakephp 3 plugin for logging in as another user? Or is there a guide on how to do it? Didn't have much luck finding something recent online
# Dec 4th 2017, 03:09 cpierce thanks @admad - I would have did that but I ended up using TableRegistry and it worked fine so ¯\_(ツ)_/¯
# Dec 4th 2017, 03:08 admad @cpierce there's no need to use TableRegistry in shells, just use loadModel()
# Dec 4th 2017, 01:10 cpierce namespaces
# Dec 3rd 2017, 23:04 ludger.a the answer is "use". Have never seen it anywhere... PHP is strange :slightly_smiling_face:
# Dec 3rd 2017, 22:29 ludger.a I feel stupid for this question, but I just don't find a solution...
# Dec 3rd 2017, 22:29 ludger.a How do I get data into the Collection::filter function? I want to filter a collection if the id of the stored object is in an array. How do I get the array inside the filter function?
# Dec 3rd 2017, 20:58 birdy247 evening
# Dec 3rd 2017, 20:40 saeideng https://book.cakephp.org/3.0/en/views/helpers/html.html#Cake\View\Helper\HtmlHelper::setTemplates
# Dec 3rd 2017, 20:38 saeideng use custom template if you need
# Dec 3rd 2017, 20:23 aro i cant figure out what template i need to change
# Dec 3rd 2017, 20:23 aro how do i do that
# Dec 3rd 2017, 20:23 aro i ened to remove the label that encompasses the whole block
# Dec 3rd 2017, 20:23 aro i have a block of checkboxes set by a multiple=> 'checkbox'
# Dec 3rd 2017, 18:52 cpierce thanks for letting me rubber duck though
# Dec 3rd 2017, 18:52 cpierce yeah i had that ... it was cache i guess ... it finally started working without me changing anything
# Dec 3rd 2017, 18:41 saeideng `use Cake\ORM\TableRegistry;`
# Dec 3rd 2017, 18:40 saeideng use ....
# Dec 3rd 2017, 18:38 cpierce I've got my use in there so i'm not sure.
# Dec 3rd 2017, 18:36 cpierce ```Exception: Class 'App\Shell\TableRegistry' not found in [/vagrant/src/Shell/generateShell.php, line 34] ```
# Dec 3rd 2017, 18:36 cpierce i'm getting an error that it can't find it in my use.
# Dec 3rd 2017, 18:36 saeideng yes
# Dec 3rd 2017, 18:33 cpierce is it possible to use TableRegistry in a shell?
# Dec 3rd 2017, 16:42 _biff im running my webrtc app.js on node but getting many notfound error per second...
# Dec 3rd 2017, 15:31 casmo test
# Dec 3rd 2017, 13:15 prepender I've created a mobile app that stores the user credentials in case the token expires, it auto re-logs them in. But I've recently integrated facebook SSO and I'm wondering what you guys recommend as a mechanism to auto re-log them in because I wont be able to store their password like the regular login. I thought it would be a bad experience re-authenticating them w facebook every time
# Dec 3rd 2017, 09:01 saeideng validation class, yes
# Dec 3rd 2017, 07:01 mazba.cse is it possible to create a validation class, like laravel request?
# Dec 2nd 2017, 21:59 saeideng `c0, :c1, :c2) ` will bind in Pdo driver
# Dec 2nd 2017, 21:58 saeideng ?
# Dec 2nd 2017, 21:58 saeideng what is your problem obinoob
# Dec 2nd 2017, 21:52 obinoob
# Dec 2nd 2017, 21:52 obinoob dereuromark this is whats happening the generated query is inserting a new value in database INSERT INTO `emails` (`address`, `client_id`, `created`) VALUES (:c0, :c1, :c2)
# Dec 2nd 2017, 21:38 ludger.a What puzzles me is that both the mathing and notMatching parts work if they are alone (matching gives me alle Periods of Competitions the User is interested in; notMatching gives me all Periods the User has not yet participated in), but together the "matching" part seems to get ignored and I the same resulst as if I only had the notMatching part...
# Dec 2nd 2017, 21:35 slackebot2 period). Now I want to find all Periods, which belong to a Competition the User is interested in, but only these Periods which the User hasn't yet partitipated in.
# Dec 2nd 2017, 21:35 ludger.a File uploaded https://cakesf.slack.com/files/U89T82T39/F88R3BQJE/-.txt / https://slack-files.com/T053DPNCM-F88R3BQJE-245d06d72b - I am fighting with a relative complicated query. I have 3 models: Users, Competitions and Periods. Uandlt;-belongsTo-andgt;C (meaning, user is interested in the competition) C -hasMany-andgt; P (at these periods one can take part in the competition) and U andlt;-belongsTo-andgt; P (the user has already partitipated at this
# Dec 2nd 2017, 21:26 obinoob can somebody explain to me what the problem is please?
# Dec 2nd 2017, 21:25 saeideng @dereuromark you are here
# Dec 2nd 2017, 21:10 obinoob I'm not getting what the problem is really?!?