Log message #4105049

# At Username Text
# Dec 20th 2017, 08:12 admad that's you the builds association, not through table like you asked :slightly_smiling_face:
# Dec 20th 2017, 08:12 braeden yup
# Dec 20th 2017, 08:12 admad $this->_table->association( 'Builds' )->getForeignKey()
# Dec 20th 2017, 08:11 braeden $this->_table->association( 'builds' )->_foreignKey
# Dec 20th 2017, 08:11 braeden in associations
# Dec 20th 2017, 08:10 braeden hmmm I found a protected variable
# Dec 20th 2017, 08:10 admad the build_id field would be in another table, so there's no way you can get that info from builds table
# Dec 20th 2017, 08:09 braeden Is there any Cake functions that return the foreign key for a particular table? e.g. say I have access to a table called 'Builds' which has a PK 'id', how do I access the 'getForeignKey' function which would return build_id ?
# Dec 20th 2017, 07:23 ksandeep_ https://gist.github.com/anonymous/9737ee41171927bb73d0d0ee9d32fd0d
# Dec 20th 2017, 07:17 ksandeep_ Hi Friends, I need help in cakephp-csvview class. Can i create multiple CSV row with single result set row. For some has many relation i need separate row
# Dec 20th 2017, 03:41 admad @liaogz82 https://github.com/lorenzo/audit-stash
# Dec 20th 2017, 02:12 liaogz82 I am looking for something that i can throw into AWS elasticsearch
# Dec 20th 2017, 02:05 liaogz82 any recommendation for audit log plugin for cakephp to record all CRUD actions occured?
# Dec 20th 2017, 00:51 braeden tyty
# Dec 20th 2017, 00:22 dereuromark thats hidden somewhere in docs, that you need to quote then
# Dec 20th 2017, 00:19 braeden Is the regex failing to recognise it as a parameter?
# Dec 20th 2017, 00:19 braeden e.g. __( 'Thanks for coming \'{0}\', $name ) produces "Thanks for coming {0}"
# Dec 20th 2017, 00:18 braeden Why is it that string parsing fails for __() function when the {0} arguments are wrapped in quotes?
# Dec 19th 2017, 22:56 joop i get undefinied variable data for debug($this->get($data))
# Dec 19th 2017, 22:55 joop i stuck with pass model variable for it
# Dec 19th 2017, 22:54 joop i spent the last 3 days to figure out how these works
# Dec 19th 2017, 22:54 joop guys i having terrible experince with anonymus functions
# Dec 19th 2017, 22:11 josexato which is this function https://pastebin.com/yVYDsJsU
# Dec 19th 2017, 22:09 josexato I get this error "Unable to emit headers. Headers sent in file =/var/www/html/src/Controller/DishesController.php line=129"
# Dec 19th 2017, 22:08 josexato it works fine except when the rows as response to the matching characters in the select is too high
# Dec 19th 2017, 22:07 josexato Hello Good afternoon, I have this question regarding an xhr request I am sending for an autocomplete select control
# Dec 19th 2017, 21:39 birdy247 :+1:
# Dec 19th 2017, 21:39 admad @birdy247 Google already requires the redirect uri to exactly match, which is why social auth plugin doesn't modify the query string and uses session instead :slightly_smiling_face:
# Dec 19th 2017, 21:26 saeideng good night
# Dec 19th 2017, 21:09 dereuromark good find though, mapping that internally via session, db, ... should do the trick
# Dec 19th 2017, 21:09 dereuromark birdy: thats total BS. query string itself would already suffice for protections. total noobs.
# Dec 19th 2017, 21:08 birdy247 @dereuromark we can use the state :slightly_smiling_face: https://developers.facebook.com/docs/facebook-login/manually-build-a-login-flow/#logindialog
# Dec 19th 2017, 21:08 dereuromark what kind of annotations do they have/need? https://github.com/dereuromark/cakephp-ide-helper/issues/68
# Dec 19th 2017, 21:07 dereuromark @mail used cells yet?
# Dec 19th 2017, 21:07 birdy247 "Strict Mode prevents hijacking of your redirect URIs by requiring an exact match from your Valid OAuth redirect URIs list. For example, if your list contains www.example.com, then Strict Mode won't allow www.example.com/token as a valid redirect. It also won't allow any extra query parameters not present in your Valid OAuth redirect URIs list."
# Dec 19th 2017, 21:03 birdy247 ill ask facebook
# Dec 19th 2017, 21:02 dereuromark it indeed would then be session that would need remembering
# Dec 19th 2017, 21:01 dereuromark everything else is otherwise really annoying
# Dec 19th 2017, 21:01 dereuromark URL is until those start usually
# Dec 19th 2017, 21:00 dereuromark did you try query strings? I would bet that this is not part of their specs
# Dec 19th 2017, 21:00 birdy247 "exactly match the Valid OAuth Redirect URIs"