# |
Jul 16th 2017, 13:33 |
admad |
merging 1 global config with per action config and merging all is not the same. Also in case of tables list it makes sense as the sidebar menu is global. |
# |
Jul 16th 2017, 13:32 |
hmic |
i'm just buying in on some bitcoins, that looks quite as dramatic at the moment too :D |
# |
Jul 16th 2017, 13:27 |
admad |
hold on dramatic finish to F1 race |
# |
Jul 16th 2017, 13:24 |
hmic |
if going through the effort to merge that global config into the action config for the tables blacklist, why not make it universally possible |
# |
Jul 16th 2017, 13:24 |
hmic |
but you get the idea? |
# |
Jul 16th 2017, 13:22 |
admad |
global table blacklist sounds good, not too sure about global per action config |
# |
Jul 16th 2017, 13:18 |
hmic |
this would allow (me) to [re]move more than 60% of my controller code to the configuration file |
# |
Jul 16th 2017, 13:17 |
hmic |
might even be like: ...Actions.ControllerName.actionName... to be able to be more specific |
# |
Jul 16th 2017, 13:16 |
hmic |
so one can easily provide jsut config instead of having to configure the actions in code all the time |
# |
Jul 16th 2017, 13:16 |
hmic |
i'd like to have some global config merged with the action configs, like: CrudView.Actions.tables_blacklist and, per action *too* CrudView.Actions.index.tables_blacklist |
# |
Jul 16th 2017, 13:15 |
hmic |
admad: working on crudview... regarding blacklisting the phinxlog table by default issue |
# |
Jul 16th 2017, 09:49 |
casmo |
'debug' => (isset($_SERVER['REMOTE_ADDR']) andand $_SERVER['REMOTE_ADDR'] == '1.2.3.4') |
# |
Jul 16th 2017, 09:48 |
itamer |
How do I turn on debugkit for specific ip addresses? Easy to do with v1.2 and v2.2 but I can't quite get the method for v3 |
# |
Jul 16th 2017, 09:23 |
braeden |
\\o |
# |
Jul 16th 2017, 08:56 |
bravo-kernel |
o// |
# |
Jul 16th 2017, 08:05 |
braeden |
Is anyone using Memcached? |
# |
Jul 16th 2017, 08:04 |
braeden |
G'morning |
# |
Jul 16th 2017, 07:53 |
birdy247 |
Morning |
# |
Jul 16th 2017, 03:14 |
braeden |
Howdy |
# |
Jul 16th 2017, 00:14 |
hakuna |
https://book.cakephp.org/3.0/en/orm/entities.html#accessors-mutators |
# |
Jul 16th 2017, 00:14 |
hakuna |
I think mutators is a good way |
# |
Jul 16th 2017, 00:02 |
hakuna |
yes @deyemi |
# |
Jul 16th 2017, 00:00 |
deyemi |
@hakuna is a form submitted? |
# |
Jul 15th 2017, 23:54 |
hakuna |
supposing that the field is null and i want to set a value for this |
# |
Jul 15th 2017, 23:53 |
hakuna |
What is the best place for set the value of a field before save in database? |
# |
Jul 15th 2017, 23:51 |
hakuna |
Hi guys |
# |
Jul 15th 2017, 23:33 |
deyemi |
Any idea how to pass the crsf token with an ajax request? |
# |
Jul 15th 2017, 23:33 |
deyemi |
thanks JD-Robbs |
# |
Jul 15th 2017, 23:26 |
JD-Robbs |
Csrf is a separate component that's unaffected. |
# |
Jul 15th 2017, 23:26 |
JD-Robbs |
deyemi: Have a look at the unlockedActions config of the Security component. |
# |
Jul 15th 2017, 23:02 |
deyemi |
Need help ...Is it possible for me to send a form via ajax to a controller in cakephp 3.4 while the crsf and security components are enabled in the App controller? |
# |
Jul 15th 2017, 21:47 |
waspinator |
k, thanks |
# |
Jul 15th 2017, 21:47 |
tippexs91 |
sorry. timeout = mins, session.* = sec |
# |
Jul 15th 2017, 21:47 |
tippexs91 |
timeout is min yes! |
# |
Jul 15th 2017, 21:47 |
waspinator |
or is it still seconds for ini files? |
# |
Jul 15th 2017, 21:47 |
tippexs91 |
oh sorry |
# |
Jul 15th 2017, 21:47 |
waspinator |
https://book.cakephp.org/3.0/en/development/sessions.html |
# |
Jul 15th 2017, 21:46 |
waspinator |
secs should be min though right? |
# |
Jul 15th 2017, 21:44 |
waspinator |
thanks @tippexs91 |
# |
Jul 15th 2017, 21:43 |
tippexs91 |
there is something like ``` 'Session' => [ 'defaults' => 'cake', 'timeout' => `SECS 'ini' => [ 'session.cookie_lifetime' => SECS, 'session.gc_maxlifetime' => SECS ] ],``` |
# |
Jul 15th 2017, 21:42 |
tippexs91 |
@waspinator use the Session parameter in your app.php file |