Log message #4178919

# At Username Text
# Mar 6th 2019, 10:41 st.steinkuehler @tjkalinowski okay
# Mar 6th 2019, 10:35 tjkalinowski I am happy to have opportunity to ask you later about details in priv message.
# Mar 6th 2019, 10:35 tjkalinowski Your idea is very good. I have no prior experience with things you are talking about. I need to learn it.
# Mar 6th 2019, 10:32 tjkalinowski I am writting huge application right now. @st.steinkuehler one of it components is qr card reading. Lets imagine that you have an event. The door is open and people are showing its tickets with qr code. The guy is checking with his iphone who come to event. Whos not. Like check list.
# Mar 6th 2019, 09:24 st.steinkuehler @tjkalinowski other idea: without downloading you have to do it in the browser. Capture camarea image in browser https://developers.google.com/web/fundamentals/media/capturing-images/#access_the_camera_interactively + Decode QR-Code in JS https://github.com/LazarSoft/jsqrcode (Demo: https://webqr.com/) + send decoded information to cake backend
# Mar 6th 2019, 09:12 st.steinkuehler never used it
# Mar 6th 2019, 09:12 st.steinkuehler "cake scans code" means download the image to the server and than https://github.com/khanamiryan/php-qrcode-detector-decoder ?
# Mar 6th 2019, 09:07 st.steinkuehler and you what to read any kind of qr code? not only the one with urls in?
# Mar 6th 2019, 09:06 tjkalinowski Lets imagine that you have iphone. Then you tap on Safari web browser. Then you load cakephp web page. Then you point your camera on the qr code. Then cake scans code. And insert number to database.
# Mar 6th 2019, 09:02 tjkalinowski Not generate qr code. Scanning qr code.
# Mar 6th 2019, 09:00 st.steinkuehler @tjkalinowski I generate qr codes in a cakephp application with https://github.com/ziplr/php-qr-code
# Mar 6th 2019, 08:57 st.steinkuehler @tjkalinowski can you explain what your question has to do with cakephp?
# Mar 6th 2019, 08:45 neon1024 Morning all
# Mar 6th 2019, 08:00 acosonic https://gist.github.com/acosonic/18fcc234a324c858d50d0a96d5748ab4
# Mar 6th 2019, 08:00 acosonic Hi all, I've built this script to protect my cakephp servers from hackers trying to access wordpress ...
# Mar 6th 2019, 07:04 tjkalinowski Do you have experience with scaning tickets qr code via iphone? Record is send to cakephp database.
# Mar 6th 2019, 07:03 tjkalinowski Hello to all cakephp programmers :)
# Mar 6th 2019, 05:23 vipul.onus Hello when i do post rest api at that time facing error like " Error: Missing CSRF token cookie " this.. any solution in cakephp 3.7v
# Mar 5th 2019, 23:22 rightscoreanalysis thanks
# Mar 5th 2019, 23:21 dereuromark see e.g. https://github.com/dereuromark/cakephp-tinyauth/blob/master/src/View/Helper/AuthUserHelper.php#L47
# Mar 5th 2019, 23:21 rightscoreanalysis s
# Mar 5th 2019, 23:21 rightscoreanalysis is that $this->request->param
# Mar 5th 2019, 23:21 dereuromark the new way is >getAttribute('params');
# Mar 5th 2019, 23:20 dereuromark check prefix key the param() array values
# Mar 5th 2019, 23:19 rightscoreanalysis how can i check if the current route has an admin prefix
# Mar 5th 2019, 21:20 spriz Wow, there is literally an example in the book under “SQL injection”….. :) https://book.cakephp.org/3.0/en/orm/query-builder.html#sql-injection-prevention
# Mar 5th 2019, 21:19 spriz What’s the best way to do a `WHERE MATCH (column) AGAINST($foo);` query safely with user-supplied ´$foo` with the Cake ORM? :thinking_face:
# Mar 5th 2019, 21:14 spriz That also really seems like a design pattern to avoid ,:)
# Mar 5th 2019, 19:58 challgren Guess it is https://book.cakephp.org/3.0/en/orm/retrieving-data-and-resultsets.html#dynamic-finders
# Mar 5th 2019, 19:55 challgren So in CakePHP 3.7.* is magic find methods still around?
# Mar 5th 2019, 17:39 jeremyharris I prefer the symfony component I linked you to and using a proper queue system which makes error handling easier than a background process just fired from app code. That seems like it could lead to issues
# Mar 5th 2019, 17:31 daniel.upshaw You might find this neat: https://github.com/cocur/background-process
# Mar 5th 2019, 17:31 daniel.upshaw @jeremyharris
# Mar 5th 2019, 17:21 manthan.budheliya Thanks @jeremyharris It works for me
# Mar 5th 2019, 17:19 daniel.upshaw Lol alright cool :slightly_smiling_face:
# Mar 5th 2019, 17:17 jeremyharris Cake doesn’t need to have one, symfony does :slightly_smiling_face: just add it to your project and you can use it. Cake works well with lots of libraries, and there’s no need to re-write things that exist already
# Mar 5th 2019, 17:17 daniel.upshaw Thanks so much
# Mar 5th 2019, 17:17 daniel.upshaw Just not in Cake yet... I think it would be cool but not a priority for Cake at the moment
# Mar 5th 2019, 17:16 daniel.upshaw Hmmm nice
# Mar 5th 2019, 17:16 jeremyharris cake doesn’t have wrappers for that, but php you can do it with `exec()` symfony has a process component that helps with this: https://symfony.com/doc/current/components/process.html
# Mar 5th 2019, 17:15 daniel.upshaw You'd probably want it to start cropping right away