Log message #4117075

# At Username Text
# Feb 14th 2018, 13:12 acosonic @jotpe Yeah I'm considering different scenarios... This one also https://mariadb.com/kb/en/library/data-at-rest-encryption/
# Feb 14th 2018, 12:57 makallio85 Plugin has no special configs for setting logging engine
# Feb 14th 2018, 12:57 makallio85 Application tests work just fine, but plugin ones write errors to Console for some reason. We have pretty much debugged everything we just can without understanding this.
# Feb 14th 2018, 12:56 makallio85 Any idea why controller unit tests are writing errors to Console instead of File while running additional testsuite for plugin along with application tests?
# Feb 14th 2018, 12:53 neon1024 I think you could do that, but I wouldn’t do that.
# Feb 14th 2018, 12:53 jotpe @acosonic What would happen, if the Session Key to decrypt the data is destroyed or modified?
# Feb 14th 2018, 12:50 acosonic So, anyone thinks this is feasible to use some middleware to encrypt whole database content, and decrypt it with something stored in session?
# Feb 14th 2018, 12:49 acosonic @neon1024 thanks I was thinking my IRC setup is not good... Now using pidign client on linux...
# Feb 14th 2018, 12:49 neon1024 Afternoon @acosonic
# Feb 14th 2018, 12:48 acosonic anyone reading messages from me?
# Feb 14th 2018, 12:48 neon1024 Seems there is, I wonder if it passse
# Feb 14th 2018, 12:48 neon1024 https://github.com/cakephp/cakephp/blob/master/tests/TestCase/View/Helper/PaginatorHelperTest.php#L1320
# Feb 14th 2018, 12:46 neon1024 I wonder if there is a core test for it
# Feb 14th 2018, 12:46 neon1024 Unless I’ve missed something obvious of course
# Feb 14th 2018, 12:45 neon1024 Perhaps the docs are out of date? I can’t see this implementation supporting the options https://github.com/cakephp/cakephp/blob/master/src/View/Helper/PaginatorHelper.php#L961
# Feb 14th 2018, 12:43 jotpe @neon1024 yes, first() and last() methods are working properly. For some reasons numbers() doesn't seem to implement it correct?!
# Feb 14th 2018, 12:41 neon1024 @jotpe I’ve never used them myself. There are first and last methods though, that might be helpful? https://book.cakephp.org/3.0/en/views/helpers/paginator.html#Cake\View\Helper\PaginatorHelper::first
# Feb 14th 2018, 12:21 LubosR adman: Currently I can do something like https://gist.github.com/LubosRemplik/0d82f7cfbb0eabd4751f22ac2a6648c9 but wondering if it is possible to setup Crud plugin to fetch all associated data?
# Feb 14th 2018, 12:18 jotpe hey guys. I try to figure out what the 'first' and 'last' option of `PaginatorHelper::numbers()``does. I did `echo $this->Paginator->numbers(['first' => 'First page']);` like described in the docs (https://book.cakephp.org/3.0/en/views/helpers/paginator.html#creating-page-number-links), but it doesn't have any effect. No first or last links are created.
# Feb 14th 2018, 12:11 LubosR admad: Also it seems that with relatedModels listener beforeRender it sets related as variables, but for example user -> roles it returs all roles in $roles instead of the one which are associated by many to many table. Any idea how to get associated data in Edit action?
# Feb 14th 2018, 11:46 popperz0r i dont think this space should be here
# Feb 14th 2018, 11:46 popperz0r it is writting O: deliverytime: Wed, 14 Feb 2018 11:39:47 +0000
# Feb 14th 2018, 11:45 popperz0r When i set ->addHeaders(['o:deliverytime'
# Feb 14th 2018, 11:45 popperz0r Hi, anyone using o:deliverytime with cakephp3 and mailgun?
# Feb 14th 2018, 11:42 acosonic anyone? are my messages going thru?
# Feb 14th 2018, 11:40 acosonic Now as GDPR is coming to life in 3 months, this is going to be a MUST ...
# Feb 14th 2018, 11:40 LubosR admad: The "roles" in User entity accessible list was the reason. Thank you! Life saver :)
# Feb 14th 2018, 11:40 acosonic did anyone ever used some middleware to encrypt whole database content, and decrypt it with something stored in session?
# Feb 14th 2018, 11:39 acosonic I had trouble with irc client, now repeating myself :)
# Feb 14th 2018, 11:26 dinosaur @saeideng previous, existing non-standard project :slightly_smiling_face:
# Feb 14th 2018, 11:26 Guest65 Random question. Aren't Upper camel case and pascal case same thing?
# Feb 14th 2018, 11:25 saeideng if you want follow cake conversation `$this->tags`
# Feb 14th 2018, 11:25 Guest65 Thanks. I am glad I don't have to refactor it again :p
# Feb 14th 2018, 11:24 dinosaur Perfect! I've inherit this non standard project. $this->Tag should be $this->tags indeed
# Feb 14th 2018, 11:24 saeideng `aphas_beta_id
# Feb 14th 2018, 11:23 Guest65 Anybody have idea about it? If I have a table "alphas_betas", should foreign key to its id be called "aphas_beta_id" or "aplha_beta_id"?
# Feb 14th 2018, 11:22 Guest65 I think in most cases model is usually plural. So just recheck if $this->Tag is indeed same or maybe $this->Tags
# Feb 14th 2018, 11:22 saeideng ``` $tag = $this->Tag->find()->where(['id'=>$id])->first(); if($tag){ ```
# Feb 14th 2018, 11:21 Guest65 Ah! You want to read it too
# Feb 14th 2018, 11:21 saeideng `$this->Tag->get($id) === $this->Tag->find()->where(['id'=>$id])->firstOrFail();`
# Feb 14th 2018, 11:21 Guest65 It should be more like `$tagExist = ($this->Tags->find('all', 'conditions' => ['id' => $id])->count() > 0)