# |
Jun 12th 2018, 21:52 |
dereuromark |
=> https://www.dereuromark.de/2018/03/14/cakephp-3-6-is-coming/#prepare-your-plugins |
# |
Jun 12th 2018, 21:51 |
dereuromark |
^3.0 etc sure wont cut it |
# |
Jun 12th 2018, 21:51 |
dereuromark |
cake core constraint :slightly_smiling_face: |
# |
Jun 12th 2018, 21:49 |
lorenzo |
or maybe I don’t understand what you mean |
# |
Jun 12th 2018, 21:48 |
lorenzo |
I will bump to 2.0 |
# |
Jun 12th 2018, 21:48 |
dereuromark |
prefer-lowest I mean |
# |
Jun 12th 2018, 21:48 |
dereuromark |
@lorenzo It is probably safest to apply a bc check travis build to your plugin, to make sure minimal version is true |
# |
Jun 12th 2018, 21:45 |
lorenzo |
@itmpls almost done with deprecations |
# |
Jun 12th 2018, 21:43 |
itmpls |
@lorenzo - I'd also be happy to test/QA if you got other things, or just check if you haven't gotten to it at all |
# |
Jun 12th 2018, 20:53 |
squeeze |
hello all. For information link => "https://api.cakephp.org/3.6/source-constant-COMPARE_GREATER_OR_EQUAL.html#64-67" give a 404 error... |
# |
Jun 12th 2018, 20:45 |
lorenzo |
I’ll let you know |
# |
Jun 12th 2018, 20:43 |
itmpls |
appreciate it - lemme know whenever you want me to try to composer update :slightly_smiling_face: |
# |
Jun 12th 2018, 20:42 |
itmpls |
ok |
# |
Jun 12th 2018, 20:34 |
lorenzo |
you will get some deprecation errors, I will try to fix them now |
# |
Jun 12th 2018, 20:33 |
itmpls |
i'll update now |
# |
Jun 12th 2018, 20:33 |
itmpls |
3.6 |
# |
Jun 12th 2018, 20:33 |
itmpls |
oh wow, didn't know you were doing it now. |
# |
Jun 12th 2018, 20:33 |
lorenzo |
@itmpls what cake version are you using? |
# |
Jun 12th 2018, 20:31 |
lorenzo |
there are now migrations for it https://github.com/lorenzo/audit-stash#tables--regular-databases |
# |
Jun 12th 2018, 20:30 |
itmpls |
that's a nice pr |
# |
Jun 12th 2018, 20:28 |
itmpls |
oh |
# |
Jun 12th 2018, 20:27 |
lorenzo |
that should make stuff more clear |
# |
Jun 12th 2018, 20:27 |
lorenzo |
@itmpls actually, I’m going to merge this pr https://github.com/lorenzo/audit-stash/pull/21 |
# |
Jun 12th 2018, 20:26 |
lorenzo |
@itmpls the fields it saves https://github.com/lorenzo/audit-stash/blob/master/src/Persister/DatabasePersister.php#L40-L48 |
# |
Jun 12th 2018, 20:23 |
itmpls |
and.. is the audit stash schema anywhere? |
# |
Jun 12th 2018, 20:23 |
itmpls |
hey @lorenzo - starting to implement that.. I grabbed the package, setup the DB persister class and confirmed it's pulling in the class. so will it not attempt to write to the audit stash table unless the db config is specified? and i just replace the ES stuff with mysql for example? persistent can be false? |
# |
Jun 12th 2018, 19:43 |
mdotobie |
disregard |
# |
Jun 12th 2018, 18:35 |
mdotobie |
I’m having a little trouble using the uploadedFile validation. I have the settings to only accept a file of the `application/pdf` type and the upload form has the correct enctype. But when I include a valid PDF, I’m getting an error. |
# |
Jun 12th 2018, 18:24 |
lorenzo |
@itmpls you can use the plugin and use your own persistent class, but there is a database persistent as well included |
# |
Jun 12th 2018, 18:12 |
admad |
@pedroseco you are supposed to write integration tests for controllers. Read up about it on manual |
# |
Jun 12th 2018, 17:47 |
pedroseco |
should I just $this->post() data into it? |
# |
Jun 12th 2018, 17:47 |
pedroseco |
how can I write a Unit test to the edit() method on my controller? |
# |
Jun 12th 2018, 17:46 |
pedroseco |
hi huys, |
# |
Jun 12th 2018, 17:30 |
itmpls |
interesting - i haven't used ES that much. if i'm just tracking literally one bitfield column, would you still recommend? |
# |
Jun 12th 2018, 17:29 |
lorenzo |
I use that plugin to keep track of changes |
# |
Jun 12th 2018, 17:29 |
lorenzo |
@itmpls https://github.com/lorenzo/audit-stash |
# |
Jun 12th 2018, 17:14 |
itmpls |
anyone have a suggestion for if i have to keep a history of a flag? gonna create a _history table and create records for each status change so i can track for example if a user was active in a certain quarter of the year or not. |
# |
Jun 12th 2018, 15:59 |
neon1024 |
Ah you can pass an instance, just as admad said |
# |
Jun 12th 2018, 15:58 |
neon1024 |
Perhaps with 2 minutes to go till the end of the day, I should bail and return when my brain is at full operating temperature! |
# |
Jun 12th 2018, 15:58 |
neon1024 |
`PHP Deprecated: Non-static method Muffin\Webservice\Model\EndpointLocator::get() should not be called statically in /Users/david/Sites/MuffinWebservice/vendor/cakephp/cakephp/src/Datasource/FactoryLocator.php on line 36` |
# |
Jun 12th 2018, 15:58 |
neon1024 |
`\Cake\Datasource\FactoryLocator::add('Endpoint', [Muffin\Webservice\Model\EndpointLocator::class, 'get']);` |