Log message #4154609

# At Username Text
# Jun 29th 2018, 08:53 josbeir hi, ask your question :slightly_smiling_face:
# Jun 29th 2018, 08:52 naveenbos I have a question regarding the cakephp migration and upgrade from cake 2.7 to 3.6
# Jun 29th 2018, 08:51 naveenbos Hi
# Jun 29th 2018, 08:44 josbeir hey @tim i saw you where from :flag-be: too, always happy to see other ppl/companies over here embracing cakephp :slightly_smiling_face: !
# Jun 29th 2018, 08:26 slackebot4 Action: josbeir is loving gitlab ci/cd
# Jun 29th 2018, 08:09 josbeir monring
# Jun 29th 2018, 07:02 magiq is it correct or I did something wrong with my configuration ?
# Jun 29th 2018, 07:02 magiq or $thos->Auth->user('id')
# Jun 29th 2018, 07:02 magiq $user = $this->Auth->identify() works, but isLoggedIn method not
# Jun 29th 2018, 07:01 magiq I'm using http://www.bravo-kernel.com/2015/04/how-to-add-jwt-authentication-to-a-cakephp-3-rest-api/ jwt plugin
# Jun 29th 2018, 06:52 bravo-kernel howdy :wave:
# Jun 29th 2018, 06:50 admad howdy @bravo-kernel
# Jun 29th 2018, 06:34 bravo-kernel Go @admad :+1::skin-tone-3:
# Jun 29th 2018, 06:24 admad thanks, i got simplescreenrecorder, seeks ok enough for my use case
# Jun 29th 2018, 06:22 steinkel https://en.wikipedia.org/wiki/RecordMyDesktop
# Jun 29th 2018, 06:15 admad i want a desktop app, no need for cloudy stuff, definitely not going to register for anything :slightly_smiling_face:
# Jun 29th 2018, 06:14 steinkel and you can be the only one in that call :P
# Jun 29th 2018, 06:13 steinkel you can record a call to the cloud and share the link
# Jun 29th 2018, 06:13 steinkel I use zoom
# Jun 29th 2018, 06:00 admad any suggestions for screen recorder on linux?
# Jun 28th 2018, 21:05 josbeir woohoo!
# Jun 28th 2018, 20:15 lubos The best idea was to check RadioWidgetTest, below is my working example I needed ... love FormHelper :slightly_smiling_face: ``` 'options' => [ ['value' => 0, 'text' => 'No, not yet'], ['value' => 1, 'text' => 'Yep, sure am!', 'data-test' => 'test'], ], ```
# Jun 28th 2018, 19:12 savant chrispecoraro: what are you trying to do?
# Jun 28th 2018, 19:12 savant yeah you make a custom provider, which works well
# Jun 28th 2018, 19:11 kitcat711 Hello, does anyone use Mamp for local CakePHP dev? (sorry if it does not fit the channel main subject)
# Jun 28th 2018, 19:10 rgbcom I looked at adding a custom provider
# Jun 28th 2018, 19:10 rgbcom a trait sounds ok
# Jun 28th 2018, 19:09 rgbcom savant: Like this one: https://book.cakephp.org/3.0/en/core-libraries/validation.html#using-custom-validation-rules
# Jun 28th 2018, 19:02 chrispecoraro I assume I should be able to do this ^^.
# Jun 28th 2018, 19:02 chrispecoraro ```if($this->Paginator->hasNext()){ echo $this->Paginator->next("Next"); }```
# Jun 28th 2018, 19:01 chrispecoraro The $this->Pagination in 2.8 mention a Component as well as Helper, but there are no examples...
# Jun 28th 2018, 18:59 savant what do you mean by validation rule
# Jun 28th 2018, 18:59 savant rgbcom: you can put it into a trait
# Jun 28th 2018, 18:58 josbeir :flag-gb: v :flag-be: :zzz:
# Jun 28th 2018, 18:57 rgbcom How do I share a custom validation rule I have created between many controller?
# Jun 28th 2018, 16:55 rgbcom Is there a validation rule I can use to validate an ISO8601 date/time string instead of validating an array holding date parts?
# Jun 28th 2018, 16:30 rubenD This causes a bit of a head scratch on how to validate as a single form
# Jun 28th 2018, 16:30 rubenD So if I save, then patch entity and save again, it works. I assume then that default functionality is that cake will only update an existing association, it will not update an association that is being made in the same save procedure.
# Jun 28th 2018, 16:16 rubenD It saves the association, just doesn't update the record. So I pass in clients.0.id and clients.0.mobile. The association is made with the correct ID, but the mobile field for that client remains blank.
# Jun 28th 2018, 16:14 josbeir just pass in the required data
# Jun 28th 2018, 16:14 josbeir should be yeah