# |
Sep 20th 2019, 13:15 |
daniel.upshaw |
Exactly, I created that :) |
# |
Sep 20th 2019, 13:14 |
rochasmarcelo |
Was you who created it? |
# |
Sep 20th 2019, 13:14 |
rochasmarcelo |
okay, I see this issue https://github.com/CakeDC/users/issues/818 |
# |
Sep 20th 2019, 13:14 |
daniel.upshaw |
I'm using the new middleware version, the develop branch which I'm told is technically ready |
# |
Sep 20th 2019, 13:13 |
daniel.upshaw |
I haven't been able to solve it yet @rochasmarcelo, thanks for asking |
# |
Sep 20th 2019, 12:35 |
rochasmarcelo |
@daniel.upshaw have you solved this? Which version of CakeDC/Users are you using? |
# |
Sep 20th 2019, 11:51 |
chupa |
where would i look for it? in the auth component? |
# |
Sep 20th 2019, 11:51 |
chupa |
auth |
# |
Sep 20th 2019, 11:43 |
neon1024 |
@chupa (IRC) I’d use a custom finder in your Auth config. Not sure how Croogo implements that though |
# |
Sep 20th 2019, 11:42 |
neon1024 |
`Undefined class constant 'LIVE'` :,( |
# |
Sep 20th 2019, 11:41 |
chupa |
in licence table in DB. Anyone got an idea maybe how it can be done? I looked at custom validators but I can't figure out how to check against a field from another table |
# |
Sep 20th 2019, 11:41 |
chupa |
hey, another Croogo question. I have a login form whose method does $this->Auth->identify();. It checks if the user can login and throws an error if the username and password are not found and that's all ok. But, I need an additional check against a field in another table. Basically, I need to check if that user still has an active licence which is |
# |
Sep 20th 2019, 11:40 |
neon1024 |
Unsure if helper class properties are available even then it would be `$this->Status::AWAITING` right? |
# |
Sep 20th 2019, 11:39 |
neon1024 |
Or would I need a custom View class for that kinda thing |
# |
Sep 20th 2019, 11:39 |
neon1024 |
Can I kinda, inject my constants from db config into View somehow? |
# |
Sep 20th 2019, 11:38 |
neon1024 |
It would be much nicer to use a const right? |
# |
Sep 20th 2019, 11:38 |
neon1024 |
Is there a clever way to avoid this `if ($audit->get('status_id') === 4) { // Awaiting audit` |
# |
Sep 20th 2019, 11:19 |
david |
thank you! I am going to read about it |
# |
Sep 20th 2019, 11:18 |
david |
:slightly_smiling_face: |
# |
Sep 20th 2019, 11:18 |
conehead |
ooh @david you are gonna love migrations |
# |
Sep 20th 2019, 11:08 |
javier.villanueva |
with https://book.cakephp.org/migrations/2.x/en/ |
# |
Sep 20th 2019, 11:08 |
admad |
@david migrations plugin |
# |
Sep 20th 2019, 11:04 |
david |
I have made some updates (create tables, in this case) in my local database. How do you manage this situations in a production environment with cakephp? Which is the best way? |
# |
Sep 20th 2019, 10:53 |
javier.villanueva |
xD sorry |
# |
Sep 20th 2019, 10:53 |
javier.villanueva |
no ok |
# |
Sep 20th 2019, 10:52 |
javier.villanueva |
https://holt59.github.io/cakephp3-bootstrap-helpers/form-helper/horizontal/ |
# |
Sep 20th 2019, 10:52 |
javier.villanueva |
This helper is in Cake 3.x by default? |
# |
Sep 20th 2019, 10:52 |
javier.villanueva |
Im trying to create a form inline, I use the bootsrap helper ['horizontal' => true], but not works... |
# |
Sep 20th 2019, 10:30 |
spriz |
so you can use 2.5.2 |
# |
Sep 20th 2019, 10:30 |
spriz |
Ah it is mentioned in 2.6.0 release... :) |
# |
Sep 20th 2019, 10:29 |
spriz |
It seems requirements were updated to 3.7 here without notes in release notes :slightly_smiling_face: https://github.com/dereuromark/CakePHP-DatabaseLog/commit/23d6d853e1d3ae7672d1e1d5e2bd066aa332f78e#diff-b5d0ee8c97c7abd7e3fa29b9a27d1780 |
# |
Sep 20th 2019, 10:27 |
spriz |
@rudy1976s Check https://github.com/dereuromark/CakePHP-DatabaseLog/releases and find a previous version :slightly_smiling_face: |
# |
Sep 20th 2019, 10:08 |
neon1024 |
I was looking for `$this->Crud->setConfig('actions.index.view', $template);` |
# |
Sep 20th 2019, 10:01 |
marek.sebera |
@admad given our yesterday discussion, i've filled ticket, because not even Router::reverseToArray is providing only necessary params to build modified url, see https://github.com/cakephp/cakephp/issues/13661 |
# |
Sep 20th 2019, 09:59 |
neon1024 |
Perhaps I need to set it to the Crud event :thinking_face: |
# |
Sep 20th 2019, 09:56 |
neon1024 |
My templates are `src/Template/Audits/Indexes/..` |
# |
Sep 20th 2019, 09:56 |
neon1024 |
Anyone know why my template always renders `index`? I’ve checked the query string is correct |
# |
Sep 20th 2019, 09:55 |
slackebot |
<neon1024> |
# |
Sep 20th 2019, 09:47 |
rudy1976s |
I tried to check tags and altough docs say 3.5+ all required 3.7+ |
# |
Sep 20th 2019, 09:46 |
neon1024 |
Oh, database log, right. |
# |
Sep 20th 2019, 09:45 |
neon1024 |
The auditstash plugin would work |