Log message #4184333

# At Username Text
# Apr 24th 2019, 14:09 charolastra so since 3.7 the CSRF middleware is built in and not even loaded in Application.php? can it be disabled?
# Apr 24th 2019, 14:01 kaio.schmitt and instead of articles and comments I have the orders table and using several contains .. when I use this method of subquery it only does the select of the columns of orders and does not bring the rest and still of the error
# Apr 24th 2019, 13:59 slackebot <kaio.schmitt>
# Apr 24th 2019, 13:38 kaio.schmitt Good morning guys, I'm having a problem using UnionAll and then trying to do a paginate .. I tried to use it in sub query format but I did not succeed I think by the way I use several contains, can someone give me a light?
# Apr 24th 2019, 13:33 neon1024 Still not sure why the library needs that to encrypt a field
# Apr 24th 2019, 13:28 neon1024 Shame, I liked the EncryptedStringType
# Apr 24th 2019, 13:28 neon1024 Guess I’ll use an entity mutator method
# Apr 24th 2019, 13:11 asdfgh ok
# Apr 24th 2019, 12:49 neon1024 @asdfgh Yes, it should do
# Apr 24th 2019, 12:49 neon1024 @admad Oh yeah, I’ve done all that already, this is a library I’m implementing into my table class, but perhaps I can pass data through from the table schema method :slightly_smiling_face:
# Apr 24th 2019, 12:28 asdfgh neon1024 is working your proffer plugin with the last 3.7 ?
# Apr 24th 2019, 12:23 narendravaghela @neon1024 Yes, I just need it temporary. Command will run as a shell on actual server.
# Apr 24th 2019, 12:08 admad @neon1024 you are supposed to just registry the new type class using `Type::map()` and then specify the type for required table using table schema in `Table::_initializeSchema()`
# Apr 24th 2019, 11:53 charolastra what happened to the baking from table definitions in the tutorials?
# Apr 24th 2019, 11:45 neon1024 As Type classes don’t know the table or field
# Apr 24th 2019, 11:45 slackebot <neon1024>
# Apr 24th 2019, 11:44 neon1024 `public function __construct( CipherSweet $engine, $tableName = ‘’, $fieldName = ‘’, $useTypedIndexes = false ) `
# Apr 24th 2019, 11:44 neon1024 This is problematic
# Apr 24th 2019, 11:44 neon1024 So I’m trying to implement https://github.com/paragonie/ciphersweet/tree/master/docs into a custom data type class
# Apr 24th 2019, 11:18 slackebot Action: neon1024 goes back to the corner
# Apr 24th 2019, 11:18 neon1024 Oh, for testing. I missed that bit
# Apr 24th 2019, 11:18 neon1024 So it would open an attack vector
# Apr 24th 2019, 11:17 neon1024 As it’ll execute commands with the same permissions as PHP
# Apr 24th 2019, 11:17 neon1024 Isn’t `exec()` dangerous
# Apr 24th 2019, 11:14 narendravaghela thanks @admad
# Apr 24th 2019, 11:13 admad exec()
# Apr 24th 2019, 11:13 narendravaghela I agree, this is just for some tests
# Apr 24th 2019, 11:10 Martin` because then it runs in webserver? not really in shell?
# Apr 24th 2019, 11:10 Martin` why run a shell from controller?
# Apr 24th 2019, 11:08 narendravaghela ``` $shell = new ShellDispatcher(); $shell->run(['cake', 'foo']); ```
# Apr 24th 2019, 11:08 narendravaghela The shell can be executed from controller by using ShellDispatcher, is there anything similar for Command?
# Apr 24th 2019, 11:05 narendravaghela How do I execute Command from Controller action?
# Apr 24th 2019, 10:11 neon1024 As I’m reading https://github.com/paragonie/ciphersweet/tree/master/docs
# Apr 24th 2019, 10:10 neon1024 Or would that be a plugin which provides a new crypto engine?
# Apr 24th 2019, 10:10 neon1024 Will CakePHP 4 be moving from AES256 to libsodium?
# Apr 24th 2019, 09:48 np ok, danke :slightly_smiling_face:
# Apr 24th 2019, 09:39 dereuromark https://github.com/dereuromark/cakephp-tools/blob/master/src/Controller/Component/CommonComponent.php#L184 should work
# Apr 24th 2019, 09:38 dereuromark php issue, do not merge this way. if you debug this array you will now why.
# Apr 24th 2019, 09:35 np Hello, quick question; How to add passed params to html link helper:
# Apr 24th 2019, 08:37 asdfgh should i "normalize" it ?
# Apr 24th 2019, 08:37 asdfgh i can have 1-2019-01-01 or 12345678-2019-01-01 in this way the length vary