# |
Mar 13th 2018, 11:10 |
dorxy |
@jbehling you can access controllers inside a directory using a prefix |
# |
Mar 13th 2018, 11:09 |
dorxy |
@dorxy I'm no core contributor but be my guest :) |
# |
Mar 13th 2018, 11:04 |
turkles |
thenks Pierre, purrfect |
# |
Mar 13th 2018, 11:03 |
pierre-baptiste.varle |
@dorxy can I make a PR to extand the _getInput functions to add more choice of customisation? |
# |
Mar 13th 2018, 11:03 |
jbehling |
Can I create a folder inside the Controller? Like `Controller/Reports`? And how do I access via url? |
# |
Mar 13th 2018, 11:02 |
yadav.manu36 |
when i take new update for cakephp/cakephp:3.6.0-beta2 then cake bake not working can you fix it? |
# |
Mar 13th 2018, 11:01 |
pierre-baptiste.varle |
@turkles Date::now()->month |
# |
Mar 13th 2018, 11:01 |
dereuromark |
L4celek: read the chronos docs |
# |
Mar 13th 2018, 11:01 |
yadav.manu36 |
Hi all |
# |
Mar 13th 2018, 11:01 |
turkles |
is there a quick way of getting the first of the current month? |
# |
Mar 13th 2018, 10:59 |
dorxy |
but I'd try to create the interactive question first before diving into the details of changing the way it's prompted |
# |
Mar 13th 2018, 10:59 |
dorxy |
then perhaps you can implement your own IOInterface which extends the default one? (and your own shell to instantiate it probably) |
# |
Mar 13th 2018, 10:58 |
pierre-baptiste.varle |
I need th change this line, I would like to have '(conf) >' prefix instead of '>' |
# |
Mar 13th 2018, 10:57 |
pierre-baptiste.varle |
this could work but I would like to have a custom prompt https://github.com/cakephp/cakephp/blob/7d52085e6f3874abb18a5de6df73c0c1332054ad/src/Console/ConsoleIo.php#L360 |
# |
Mar 13th 2018, 10:57 |
dorxy |
:thumbsup: you should be set then :) |
# |
Mar 13th 2018, 10:57 |
pierre-baptiste.varle |
yes I read it already |
# |
Mar 13th 2018, 10:56 |
dorxy |
and for creation of a console you should check out https://book.cakephp.org/3.0/en/console-and-shells.html |
# |
Mar 13th 2018, 10:56 |
pierre-baptiste.varle |
thx I found it |
# |
Mar 13th 2018, 10:56 |
dorxy |
if you've installed CakePHP with composer it should be in your `/src/Console` folder |
# |
Mar 13th 2018, 10:55 |
pierre-baptiste.varle |
@dorxy where is Installer.php? |
# |
Mar 13th 2018, 10:54 |
pierre-baptiste.varle |
I looking for something like 'cake console' command |
# |
Mar 13th 2018, 10:53 |
dorxy |
`$io->askAndValidate` has a maximum attempts parameter and might be what you're looking for |
# |
Mar 13th 2018, 10:53 |
dorxy |
@pierre-baptiste.varle you should check out `Installer.php` |
# |
Mar 13th 2018, 10:51 |
pierre-baptiste.varle |
there is a way to have a interactive console? without a while true {$this->in()} ? |
# |
Mar 13th 2018, 10:50 |
braguzz |
if I put it in afterFind? |
# |
Mar 13th 2018, 10:44 |
reg01 |
Where can I report security vulnerabilities? |
# |
Mar 13th 2018, 10:43 |
braguzz |
(i'm on 2.x) |
# |
Mar 13th 2018, 10:43 |
reg01 |
I couldn't find anything on the website as to where to report security vulnerabilities. I would recommend adding that. |
# |
Mar 13th 2018, 10:43 |
braguzz |
some examples?? :) |
# |
Mar 13th 2018, 10:41 |
alysson-azevedo |
yes, you can. write a getter on the profstrut entity for that field that returns the titolo's data |
# |
Mar 13th 2018, 10:28 |
braguzz |
can I use a field in Titolo in a Profstrut virtulfield? |
# |
Mar 13th 2018, 10:27 |
braguzz |
Profstrut belongsTo Titolo |
# |
Mar 13th 2018, 10:27 |
braguzz |
hi all |
# |
Mar 13th 2018, 10:22 |
neon1024 |
Morning everyone |
# |
Mar 13th 2018, 10:18 |
steinkel |
^ I understand this is a qa/staging environment |
# |
Mar 13th 2018, 10:15 |
steinkel |
enable debug, you should get a more verbose message description from security component |
# |
Mar 13th 2018, 10:14 |
spriz |
@steinkel 3.4.x :) |
# |
Mar 13th 2018, 10:13 |
turkles |
Hi, is it possible to use paginate after tampering with some data? I have tried looping through my result set and adding/modifying data, but when I put the result into paginate it seems to reload the data from original query and not the modified stuff I have |
# |
Mar 13th 2018, 10:09 |
dereuromark |
acosonic: all of them resolved, right? |
# |
Mar 13th 2018, 10:04 |
steinkel |
@spriz which version of the framework? |
# |
Mar 13th 2018, 10:03 |
alysson-azevedo |
Hi. |