Log message #4178944

# At Username Text
# Mar 6th 2019, 14:56 neon1024 Guess I’ll configure the toolbars to not use the Mail one
# Mar 6th 2019, 14:56 neon1024 Ah, I’m stuck on 3.16.7 of DebugKit unless I upgrade Cake to 3.7
# Mar 6th 2019, 14:54 dereuromark yeah
# Mar 6th 2019, 14:54 neon1024 I’ll try updating it, as newer versions might solve it
# Mar 6th 2019, 14:54 dereuromark notices are baad
# Mar 6th 2019, 14:54 dereuromark jep. but debug kit could be coded more defensivly, and silently aborting, maybe with a warning in the tab or sth
# Mar 6th 2019, 14:53 neon1024 I guess because DebugKit isn’t on the live it’s not an issue there!
# Mar 6th 2019, 14:53 neon1024 Yeah, plus the config I have is in EmailTransport and Email, which are both consumed by default
# Mar 6th 2019, 14:52 neon1024 Wouldn’t that be in bootstrap though
# Mar 6th 2019, 14:52 neon1024 Yeah, perhaps, good idea. Let me check
# Mar 6th 2019, 14:49 dereuromark are those maybe consume()d ? And thats why lost?
# Mar 6th 2019, 14:47 neon1024 Freshly checked out this project just now, and it’s already in prod, so I’m confused
# Mar 6th 2019, 14:45 neon1024 Seems that `$transport` doesn’t have a className?
# Mar 6th 2019, 14:45 neon1024 `$className = App::className($transport['className'], 'Mailer/Transport', 'Transport');`
# Mar 6th 2019, 14:45 neon1024 `Notice (8): Undefined index: className [ROOT/vendor/cakephp/debug_kit/src/Panel/MailPanel.php, line 55]`
# Mar 6th 2019, 14:45 neon1024 What is the MailPanel expecting?
# Mar 6th 2019, 14:01 dakota Hello from irc
# Mar 6th 2019, 13:55 acosonic I've did it since most of stuff on the servers is built in cake, so got tired of looking into such attempts in logs... Probably I should send those ip's to https://www.badips.com/ or similar...
# Mar 6th 2019, 13:52 acosonic Hi, so looks like everyone is here now, instead of IRC? :slightly_smiling_face: Here is what I've done yesterday... https://gist.github.com/acosonic/18fcc234a324c858d50d0a96d5748ab4 with some modifications it can be used to protect any cake website served by apache or ngnix... Against /wp-login.php and many other attempts, since usually such hack/expoilt bots test for multiple stuff...
# Mar 6th 2019, 11:58 david is that the way?
# Mar 6th 2019, 11:58 david Finally I have solved it by unsetting the key [_locale] with formatResults
# Mar 6th 2019, 11:58 david I found this issue https://github.com/cakephp/cakephp/issues/12954 My CakePHP version is 3.7.4
# Mar 6th 2019, 11:04 david It happens when a content has related (and translated) contents. The related contents always have a last item [_locale] in the result set, which is not an object
# Mar 6th 2019, 10:57 david I am retrieving the records from a table with i18n. When I retrieve the default lang it works OK, but when I retrieve another lang, the last item is [_locale], so it breaks my loop when I iterate it trying to get a property from the object (because it is not an object)
# Mar 6th 2019, 10:54 neon1024 @tjkalinowski When you pin a message, it is pinned for all users in the channel. Did you mean to ‘star’ the message instead?
# 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.