# |
Mar 5th 2018, 18:31 |
birdy247 |
@admad Can I suggest an feature |
# |
Mar 5th 2018, 18:11 |
birdy247 |
is that a limitation of the socialConnect/auth plugin? |
# |
Mar 5th 2018, 18:11 |
birdy247 |
but I notice this never returns |
# |
Mar 5th 2018, 18:10 |
birdy247 |
I am trying to pass in other fields such as photo_url |
# |
Mar 5th 2018, 18:10 |
birdy247 |
@admad quick question |
# |
Mar 5th 2018, 17:42 |
birdy247 |
neat |
# |
Mar 5th 2018, 17:42 |
birdy247 |
I just took a look at the middleware :slightly_smiling_face: |
# |
Mar 5th 2018, 17:41 |
admad |
the plugin doesn't have a controller :slightly_smiling_face: |
# |
Mar 5th 2018, 17:15 |
birdy247 |
I cant find the controller in th plugin src |
# |
Mar 5th 2018, 17:15 |
birdy247 |
On your Login with Facebook postLink |
# |
Mar 5th 2018, 17:14 |
birdy247 |
Hey @admad just looking at your social auth plugin |
# |
Mar 5th 2018, 16:29 |
savant |
great |
# |
Mar 5th 2018, 16:29 |
marcusgoede |
works fine for me |
# |
Mar 5th 2018, 16:12 |
marcusgoede |
ok, i will try. thanks again! |
# |
Mar 5th 2018, 16:12 |
savant |
since the PaginatorHelper introspects on that. |
# |
Mar 5th 2018, 16:11 |
savant |
You’d need to populate data in the request object for the view |
# |
Mar 5th 2018, 16:11 |
marcusgoede |
ok, thank you. same question for the paginator helper. can i use it, if i have page, perPage, pageCount? |
# |
Mar 5th 2018, 16:02 |
savant |
if your Table class is backed by an api - such as the WebservicesPlugin - then you can paginate it probably |
# |
Mar 5th 2018, 16:02 |
savant |
it needs to paginate a Table class |
# |
Mar 5th 2018, 16:02 |
savant |
PaginatorComponent doesn’t generically paginate things |
# |
Mar 5th 2018, 15:52 |
marcusgoede |
hello! is there a tutorial how to use the paginator for custom arrays, i.e. from an API? no database, no model… |
# |
Mar 5th 2018, 15:11 |
dereuromark |
Also relates to https://github.com/cakephp/cakephp/issues/11789 and hidden bugs in current app code. |
# |
Mar 5th 2018, 15:00 |
dereuromark |
Even though you can set it without marshalling on the entity itself, which IMO could also be fixed if it was lower down. |
# |
Mar 5th 2018, 14:59 |
dereuromark |
Does the marshaller have schema data? then yes. |
# |
Mar 5th 2018, 14:52 |
neon1024 |
Isn’t think just down to the marshaller in most cases? Understanding that `''` is a null type |
# |
Mar 5th 2018, 14:39 |
dereuromark |
in 3.x I still have hope we can find sth working cleanly out of the box. |
# |
Mar 5th 2018, 14:39 |
dereuromark |
In 2.x I always used NOT NULL and empty string only - never ever null - since there it was even harder to control a clean ORM approach here. |
# |
Mar 5th 2018, 14:39 |
dereuromark |
:slightly_smiling_face: Thats why I am saying it. I bet 95% of all devs do. Most dont know it, since doing "lookups for empty" is a lot rarer then checking for nonempty content. |
# |
Mar 5th 2018, 14:37 |
leonardo.crecente |
yes, I'm facing it too |
# |
Mar 5th 2018, 14:35 |
dereuromark |
having two nullish values just is wrong if you didnt code for or except it. |
# |
Mar 5th 2018, 14:35 |
dereuromark |
See https://github.com/cakephp/cakephp/issues/9678 :slightly_smiling_face: I think we really should taggle those data integrity issues most basic apps out there actually currently phase without my plugin. |
# |
Mar 5th 2018, 14:31 |
leonardo.crecente |
Thanks dereuromark, I'll try it |
# |
Mar 5th 2018, 14:23 |
dereuromark |
See https://github.com/dereuromark/cakephp-shim/tree/master/docs#nullable-behavior as to solve this core issue that you are facing then. This is still unresolved for most use cases, so this behavior is a vital piece to overcome the issue IMO. |
# |
Mar 5th 2018, 14:22 |
leonardo.crecente |
ok thanks |
# |
Mar 5th 2018, 14:21 |
dereuromark |
Its `... !=' => ''` |
# |
Mar 5th 2018, 14:21 |
dereuromark |
you should never do both null and '' checks IMO, that is a data integraty problem. apart from that IS NOT' => '' is invalid syntax |
# |
Mar 5th 2018, 14:20 |
leonardo.crecente |
I'm having some issues on cake 3 mysql query. Can someone help me please? https://pastebin.com/uZmPpMQz |
# |
Mar 5th 2018, 14:19 |
popperz0r |
Hello! Any lib to generate facebook high resolution images? |
# |
Mar 5th 2018, 14:14 |
Martin` |
since cakephp 3.5.13 in entity the $this->_properties array is not always filled? I do not check if an item exists in that array, happy it is just some small changes I have to do :P |
# |
Mar 5th 2018, 13:38 |
birdy247 |
:slightly_smiling_face: |
# |
Mar 5th 2018, 13:31 |
admad |
just read the readme of socialauth :slightly_smiling_face: |