# |
Oct 7th 2016, 10:57 |
tokam |
what I ask myself now: Is it enough to send the cookies, to capture the session? |
# |
Oct 7th 2016, 10:57 |
tokam |
My intention of sending the cookies with curl (when receiving the boilerplate) is to 1.) also receive flash messages 2.) also receive the authentication state dependant html |
# |
Oct 7th 2016, 10:56 |
tokam |
all other pages are generated with cake php |
# |
Oct 7th 2016, 10:56 |
tokam |
but it does a curl query to a cake php application with the cookies set of the user |
# |
Oct 7th 2016, 10:56 |
tokam |
https://www.aescuvest.de/fuer-ideengeber/ideeeinreichen |
# |
Oct 7th 2016, 10:56 |
tokam |
This page is generated with symfony |
# |
Oct 7th 2016, 10:54 |
dakota |
I believe it uses an encrypted cookie with the session id stored in it |
# |
Oct 7th 2016, 10:37 |
tokam |
Can I if I reproduce the cookies 1:1 highjack the session? (because this is what I want) |
# |
Oct 7th 2016, 10:36 |
tokam |
How does cake handle sessions? |
# |
Oct 7th 2016, 10:18 |
bernat1 |
PR up |
# |
Oct 7th 2016, 10:18 |
bernat1 |
there was a typo in the book, me following the book too closely. |
# |
Oct 7th 2016, 10:05 |
bernat1 |
I've written a Type::marshall() method but it isn't getting called when patching the entity with form data. Shouldn't it be called there? |
# |
Oct 7th 2016, 09:50 |
cjquinn |
Ta! |
# |
Oct 7th 2016, 09:49 |
dereuromark |
PR directly is fine |
# |
Oct 7th 2016, 09:46 |
cjquinn |
@dereuromark I've written a test and a fix regarding `_method` and RoutingMiddleware, should I do a pull request or open an issue first? |
# |
Oct 7th 2016, 09:43 |
bernat1 |
morning |
# |
Oct 7th 2016, 09:38 |
birdy247 |
(late) morning |
# |
Oct 7th 2016, 09:38 |
bernat1 |
would it be* |
# |
Oct 7th 2016, 09:37 |
bernat1 |
Neon1024: it would be the Type::marshal() method? |
# |
Oct 7th 2016, 09:35 |
Neon1024 |
A custom data type class can do both into and out of the db |
# |
Oct 7th 2016, 09:30 |
bernat1 |
I'm asking for the user form handling since the database conversion handling is working |
# |
Oct 7th 2016, 09:30 |
bernat1 |
I want to handle it internally as an array, then as a string in the user forms and the database, but with different formats |
# |
Oct 7th 2016, 09:29 |
bernat1 |
my custom data type takes an array and converts it to be stored as a string in the database |
# |
Oct 7th 2016, 09:29 |
Neon1024 |
As youâ??d deal with that in your custom data type class |
# |
Oct 7th 2016, 09:29 |
Neon1024 |
If itâ??s a custom data type, it should be done automatically |
# |
Oct 7th 2016, 09:29 |
bernat1 |
I see most beforeMarshall examples take an string as input and output a string, that's why I'm asking. |
# |
Oct 7th 2016, 09:28 |
bernat1 |
the array field is a custom type in my app. |
# |
Oct 7th 2016, 09:27 |
bernat1 |
I have an array field in my entity and I want to be able to take as input a formatted string and convert it to an array for this field. Should I do it in the beforeMarshal or in an entity setter? |
# |
Oct 7th 2016, 08:30 |
Xeus |
it is non-obtrusive |
# |
Oct 7th 2016, 08:30 |
Xeus |
I've had it on in the background for an hour now |
# |
Oct 7th 2016, 08:30 |
Xeus |
friend told me about it |
# |
Oct 7th 2016, 08:29 |
Neon1024 |
Nice find Xeus |
# |
Oct 7th 2016, 08:29 |
cjquinn |
Having a few issues with route matching, it seems the request object in RoutingMiddleware isn't taking it into account. |
# |
Oct 7th 2016, 08:28 |
dereuromark |
jep |
# |
Oct 7th 2016, 08:27 |
cjquinn |
Am I right in saying you can use `_method` to fake `PATCH` and `PUT` requests? |
# |
Oct 7th 2016, 07:29 |
Xeus |
yeah |
# |
Oct 7th 2016, 07:28 |
johan |
oh wow.... |
# |
Oct 7th 2016, 07:28 |
Xeus |
"This website tracks events happening across GitHub and converts them to music notes based on certain parameters." |
# |
Oct 7th 2016, 07:28 |
Xeus |
Has anyone here seen http://github.audio yet? |
# |
Oct 7th 2016, 07:28 |
Xeus |
) |
# |
Oct 7th 2016, 07:28 |
johan |
Xeus looks like a great idea. currently running my hubot on a raspberry pi but it tends to be a little unreliable, so I might give this a look :slightly_smiling_face: |