# |
Jun 28th 2019, 04:19 |
glenn.e |
i got one installed through cpanel |
# |
Jun 28th 2019, 04:18 |
savant |
You can definitely still download a tarball of CakePHP and start using it as is |
# |
Jun 28th 2019, 04:18 |
glenn.e |
the projects that i wrote before using cake, it was just extract and there was the structure and you could start writing. there was no frameworks or anything stupid it was just raw code that worked well that you could build on. |
# |
Jun 28th 2019, 04:16 |
savant |
Is there specific feedback you have for the project? |
# |
Jun 28th 2019, 04:16 |
savant |
The biggest changes have been adoption of composer (which I think is a great boon, compared to what was available in the past) and modern PHP (which allowed us to remove a _ton_ of cruft and make the internals quite a bit more flexible/powerful) |
# |
Jun 28th 2019, 04:15 |
savant |
@glenn.e it is the same people working on cakephp now as it was 5 years ago |
# |
Jun 28th 2019, 04:13 |
glenn.e |
what the hell happened, who let millennials near this |
# |
Jun 28th 2019, 04:12 |
glenn.e |
for quick build up |
# |
Jun 28th 2019, 04:12 |
glenn.e |
5 years ago it was a perfect design |
# |
Jun 28th 2019, 04:12 |
glenn.e |
what happened to cakephp |
# |
Jun 28th 2019, 02:28 |
challgren |
@nuzulfikrie check out cakedc/users plugin |
# |
Jun 28th 2019, 02:16 |
nuzulfikrie |
hi support , i am n00b with Cakephp using cakephp/authentication from https://github.com/cakephp/authentication. How do you configure the controllers ?. |
# |
Jun 27th 2019, 21:27 |
stephenzgalbraith |
Does a 'through' association require an auto incremented id column in the join table? I am trying to use a through association and the data becomes available in the '_joinData |
# |
Jun 27th 2019, 21:14 |
neothermic |
and I can't get it to actually invoke it successfuly |
# |
Jun 27th 2019, 21:14 |
neothermic |
meh, trying to invoke cake's console via systemd's timers |
# |
Jun 27th 2019, 18:24 |
ricksaccous |
i see |
# |
Jun 27th 2019, 18:24 |
vossen.steven |
yea i use it as top level only atm as well, since other stuff are always on a per client basis |
# |
Jun 27th 2019, 18:20 |
ricksaccous |
i'm just worried about dealing with this when i have those special permissions, but i suppose that might be a different set of permissions, and whatever i have now is sufficient for top level access |
# |
Jun 27th 2019, 18:20 |
ricksaccous |
@vossen.steven thanks for the suggestion though, that's helpful |
# |
Jun 27th 2019, 18:13 |
ricksaccous |
I'm guessing I'll have to use multiple policies when i get to those points |
# |
Jun 27th 2019, 18:12 |
ricksaccous |
I will also have special case permissions that affect other aspects, ie do not show x in view or modify this query in the controller |
# |
Jun 27th 2019, 18:12 |
vossen.steven |
yup |
# |
Jun 27th 2019, 18:12 |
ricksaccous |
or if you go levels down, it goes down to levels of that permission? |
# |
Jun 27th 2019, 18:12 |
ricksaccous |
for example |
# |
Jun 27th 2019, 18:12 |
ricksaccous |
ah so if it's just plugin you only go to plugin level? |
# |
Jun 27th 2019, 18:11 |
vossen.steven |
i do the same ish but I use a combination of plugin/controller/action |
# |
Jun 27th 2019, 18:11 |
ricksaccous |
what's a better solution? |
# |
Jun 27th 2019, 18:10 |
ricksaccous |
might get unwieldy if i need special cases/etc for each url |
# |
Jun 27th 2019, 18:10 |
ricksaccous |
i check what they have in the policy and allow them based on url |
# |
Jun 27th 2019, 18:10 |
ricksaccous |
basically these will plop out a list and users can select these permissions |
# |
Jun 27th 2019, 18:10 |
ricksaccous |
so these are kind of how i organized my permissions, i'm using the authorize plugin and one request policy, is this a horrible way to do it? |
# |
Jun 27th 2019, 18:09 |
ricksaccous |
Permissions |
# |
Jun 27th 2019, 16:34 |
jeremyharris |
that is the same error :slightly_smiling_face: just without header errors. I think the code you posted above is fine |
# |
Jun 27th 2019, 16:32 |
nudl3ss |
the code that i speak is in the beginnig of the action upload and verify where is defined new $client |
# |
Jun 27th 2019, 16:32 |
nudl3ss |
And now I dont know, i think i didnt change anything is giving me this err |
# |
Jun 27th 2019, 16:25 |
jeremyharris |
I’m not sure where that code is, but the error looks like it’s happening after you POST the upload |
# |
Jun 27th 2019, 16:24 |
nudl3ss |
if i dump in the action what data is sent from ajax is all fine like normal formdata |
# |
Jun 27th 2019, 16:23 |
nudl3ss |
$server = Router::url(array('controller' => 'Tus', 'action' => 'server')); $client = new \TusPhp\Tus\Client($server); |
# |
Jun 27th 2019, 16:23 |
nudl3ss |
is it possible to be from this line here |
# |
Jun 27th 2019, 16:21 |
jeremyharris |
that looks like an error caused by the library, perhaps you aren’t submitting the data as expected by the server? |
# |
Jun 27th 2019, 16:18 |
nudl3ss |
and yeah i removed redis but its the same |