Log message #4102618

# At Username Text
# Dec 11th 2017, 21:07 saeideng for example `Time::parseDateTime('10/13/2013 12:54am');`
# Dec 11th 2017, 21:06 saeideng how you set the local for these methods ?
# Dec 11th 2017, 21:06 saeideng I have a question here
# Dec 11th 2017, 21:05 saeideng like `time::parseTime()`
# Dec 11th 2017, 21:05 saeideng has anyone to need pars date with i18n package ?
# Dec 11th 2017, 20:41 dereuromark @saeideng Oh, in that case, sure, adding it as opt-in is a good idea
# Dec 11th 2017, 20:37 birdy247 to build assets?
# Dec 11th 2017, 20:37 birdy247 would there be any interest from the core to offer something similar?
# Dec 11th 2017, 20:35 birdy247 laravell mix also looks good
# Dec 11th 2017, 20:35 birdy247 I have to give it to the laracasts, they do a great job at getting a good understanding of things
# Dec 11th 2017, 20:34 birdy247 I have been looking at vue.js for a few weeks
# Dec 11th 2017, 20:34 birdy247 evening
# Dec 11th 2017, 20:24 saeideng no
# Dec 11th 2017, 20:24 dereuromark the method already exists in 3.6, right?
# Dec 11th 2017, 20:24 dereuromark it is BC break, as outlined in the ticket best to be done with a major.
# Dec 11th 2017, 20:22 saeideng in 3.6?
# Dec 11th 2017, 20:22 saeideng do you think we should have `setConfigShallow`?
# Dec 11th 2017, 20:22 saeideng @dereuromark
# Dec 11th 2017, 19:56 Mendru How could she be wrong ?
# Dec 11th 2017, 19:56 Mendru public function isAuthorized($user) { return false; }
# Dec 11th 2017, 19:56 Mendru In my AppController, here is my method
# Dec 11th 2017, 19:56 Mendru I have an error : return type declarations must be compatible with Controller->isauthorized(user) : bool
# Dec 11th 2017, 19:38 Mendru Hi, could someone help me ? I'm being crazy
# Dec 11th 2017, 19:09 meder hmic: hm i just recall that one time i tried to patch an entity and it crapping out on fields i never even specified (not through association)
# Dec 11th 2017, 19:08 meder will a transaction catch a db execution done through an event dispatcher?
# Dec 11th 2017, 18:55 ra7bi Thanks
# Dec 11th 2017, 18:54 dereuromark It is never empty since it is a collection. but you should be able to ->count() on it etc afaik.
# Dec 11th 2017, 18:51 ra7bi but not throwing any exception and that is because `$participantEventTokens` contain object
# Dec 11th 2017, 18:51 ra7bi i tried ``` $participantEventTokens = $this->paginate($this->ParticipantEventTokens); if (empty($participantEventTokens) { throw new NotFoundException(__('Event not found ')); } ```
# Dec 11th 2017, 18:50 ra7bi is there a function to check if `$this->paginate($query)` is empty or not ?
# Dec 11th 2017, 18:19 hmic associations will not be touched by that, if you don't ask for it
# Dec 11th 2017, 18:18 meder if i'm updating one field for an entity that has associations/many fields, is it reasonable to just patchEntity and specify that single field in the second argument?
# Dec 11th 2017, 18:02 dereuromark this doesnt sound like it could work, also sounds dangerous, could be undermined if not coded properly
# Dec 11th 2017, 18:01 joopm and i restrict those from Users(index and add)
# Dec 11th 2017, 18:00 joopm well i have a registration form which has people and user modells on it
# Dec 11th 2017, 18:00 dereuromark but starting to fatten your generic app controller here probably isnt a good idea.
# Dec 11th 2017, 17:59 dereuromark either stick to each controller, or use e.g. tinyauths version of auth_allow.ini to use a central place to inject those.
# Dec 11th 2017, 17:59 dereuromark anything is possible, but that doesnt mean it should be done.
# Dec 11th 2017, 17:59 joopm ot this is agoint oop and thats why is not possible
# Dec 11th 2017, 17:58 joopm is it possible to use $this->Authh->allow() to allow different controller's view?
# Dec 11th 2017, 17:58 joopm hello there