# |
May 26th 2016, 13:33 |
Eax |
Duly noted thanks! :) |
# |
May 26th 2016, 13:31 |
hmic |
by all means, yes! |
# |
May 26th 2016, 13:31 |
hmic |
do a custom auth to check and allow users by your cookie |
# |
May 26th 2016, 13:31 |
Eax |
Like make a custom auth for it, or? |
# |
May 26th 2016, 13:31 |
hmic |
this is pretty much shit, the checking should go into the auth, not the controller |
# |
May 26th 2016, 13:31 |
Eax |
Lemme try killing it |
# |
May 26th 2016, 13:31 |
Eax |
hmic hmm good point |
# |
May 26th 2016, 13:30 |
hmic |
Eax, you've got an exit, this might prevent the cookie from beeing set at all or every other thing break |
# |
May 26th 2016, 13:29 |
fquffio |
fgarcia: yes, it has, plus it did not meet my needs, but I found it a very good source to be inspired from. :slightly_smiling_face: |
# |
May 26th 2016, 13:28 |
Eax |
hmic: Never! Need it solved :p |
# |
May 26th 2016, 13:28 |
hmic |
Eax, still not given up asking? |
# |
May 26th 2016, 13:27 |
Eax |
Ey folks! Cake3 question: I have this LoginController: https://gist.github.com/eaxexe/64442df2e6465a67fe7a0fcd98ad27f7 (It uses Facebook to auth the login, hence no password checking) - My question is: Can anyone see why the cookie simply dissapears after being set and the user being redirected? Thanks! ð??? |
# |
May 26th 2016, 13:27 |
fgarcia |
Https://github.com/josegonzalez/cakephp-upload already tried and has some bugs |
# |
May 26th 2016, 13:26 |
nemmons |
oh wow awesome |
# |
May 26th 2016, 13:26 |
hmic |
yes, flysystem is the way to go! |
# |
May 26th 2016, 13:25 |
fgarcia |
Thank you slackebot |
# |
May 26th 2016, 13:25 |
fquffio |
fgarcia, this library (http://flysystem.thephpleague.com/) provides a good level of abstraction amongst several storage options, including Amazon S3. This CakePHP 3 plugin (https://github.com/josegonzalez/cakephp-upload) makes use of that library. |
# |
May 26th 2016, 13:23 |
nemmons |
if you're on cake 2.x there's a plugin that might work for you: https://github.com/robmcvey/cakephp-amazon-s3 but i as far as i know there isn't an AWS or S3 plugin for Cake3 yet |
# |
May 26th 2016, 13:22 |
nemmons |
fgarcia, https://aws.amazon.com/sdk-for-php/ is probably a good place to start. |
# |
May 26th 2016, 13:19 |
fgarcia |
How I can upload images to Amazon S3 with cakephp 3? |
# |
May 26th 2016, 13:05 |
unorthodox |
Is there any option to find a row based on a translated field? |
# |
May 26th 2016, 12:56 |
phpcoder |
hmic, :D |
# |
May 26th 2016, 12:55 |
hmic |
its not over 80 chars, so you are still good :p |
# |
May 26th 2016, 12:54 |
phpcoder |
how can i optimize $totalAgentNotValidatedWithApplicationsToday ? :D |
# |
May 26th 2016, 12:52 |
rawroland |
Good old Bobby Tables just came up at Cakefest2016 |
# |
May 26th 2016, 12:52 |
tzvika |
'prefix' |
# |
May 26th 2016, 12:51 |
tzvika |
says unkown option ' |
# |
May 26th 2016, 12:51 |
tzvika |
for example: bin/cake bake test Controller CustomersController --prefix admin |
# |
May 26th 2016, 12:36 |
tzvika |
i couldn't find the right syntax to do that |
# |
May 26th 2016, 12:35 |
tzvika |
can i use cake bake to make a test to a controller with prefix(admin) ? |
# |
May 26th 2016, 12:34 |
spriz |
Not to cakefest :) |
# |
May 26th 2016, 12:34 |
ionas |
make some bake |
# |
May 26th 2016, 12:34 |
ionas |
bake some cake |
# |
May 26th 2016, 12:34 |
ionas |
make some cake |
# |
May 26th 2016, 12:34 |
ionas |
make it to cakefest |
# |
May 26th 2016, 12:34 |
spriz |
@neon1024: thatâ??s how Iâ??ve been using it as well :P |
# |
May 26th 2016, 12:33 |
spriz |
did make wat @ionas? :P |
# |
May 26th 2016, 12:16 |
ionas |
frzrr: you want a primary key that is called id without autoincrement? |
# |
May 26th 2016, 12:16 |
Neon1024x |
Spriz, Oh, I don't use Crud-view - I just use it for the helpers mostly, with my bake theme |
# |
May 26th 2016, 12:16 |
ionas |
spriz did you make it btw? |
# |
May 26th 2016, 12:15 |
spriz |
Neon, do you take use of the cake template/view engine as much as eg. crud-view - https://github.com/FriendsOfCake/crud-view/tree/master/src |