# |
Mar 13th 2019, 14:58 |
dereuromark |
I had similar feelings once upgrading stuff from 2.x :slightly_smiling_face: https://sandbox.dereuromark.de/pages/best-practices#logging still is useful as default for all apps. |
# |
Mar 13th 2019, 14:57 |
neon1024 |
Not without writing it to a variety of handlers |
# |
Mar 13th 2019, 14:57 |
neon1024 |
I just want to log a message to a text file and it feels like the Log class can’t do this |
# |
Mar 13th 2019, 14:57 |
dereuromark |
known issue from back in 3.0, yeah. scopes need to default to false as per new app templates |
# |
Mar 13th 2019, 14:57 |
Martin` |
hmm never used scopes for debug |
# |
Mar 13th 2019, 14:56 |
Martin` |
now it works? |
# |
Mar 13th 2019, 14:51 |
neon1024 |
How do I make this exclusive to just exitlinks.log? Can I use this form of logging or do I need to use a different implementation |
# |
Mar 13th 2019, 14:51 |
neon1024 |
However, when I log using `Log::debug('Example', ['scope' => ['exitlinks']])`, it is logged to both my debug.log and exitlinks.log |
# |
Mar 13th 2019, 14:50 |
slackebot |
<neon1024> |
# |
Mar 13th 2019, 14:50 |
neon1024 |
I have configured my logging like this |
# |
Mar 13th 2019, 14:12 |
neon1024 |
:face_palm: I had the loads inside the cli check. Why do I only notice these things once I’ve asked the question! |
# |
Mar 13th 2019, 14:11 |
neon1024 |
I’ve looked at a few other plugins and they don’t implement any methods in Plugin.php, so I’m a little confused as to what I’ve missed |
# |
Mar 13th 2019, 14:10 |
neon1024 |
I changed my plugin to use the new plugin loading, with Plugin.php, but now my routes are missing |
# |
Mar 13th 2019, 12:58 |
admad |
@neon1024 you can hold off updating notEmpty() methods, new methods are coming in 3.8 :slightly_smiling_face: https://github.com/cakephp/cakephp/pull/12990 |
# |
Mar 13th 2019, 12:19 |
challgren |
TY, Ok I’ll have to investigate it and try it out. The use case for the Password Rehash I’m just implementing the plugin so now maybe the best time to migrate |
# |
Mar 13th 2019, 12:19 |
steinkel |
^ 8.4.0 released btw |
# |
Mar 13th 2019, 12:19 |
steinkel |
@challgren yes, we are migrating internal projects to test it now |
# |
Mar 13th 2019, 12:17 |
neon1024 |
Answers on a postcard ;) |
# |
Mar 13th 2019, 12:17 |
neon1024 |
Actually looking at it, that could be improved to be more robust! |
# |
Mar 13th 2019, 12:17 |
neon1024 |
replace with `->allowEmptyString($1, $2)$3` |
# |
Mar 13th 2019, 12:17 |
neon1024 |
Maybe helpful to others :slightly_smiling_face: |
# |
Mar 13th 2019, 12:17 |
neon1024 |
If you’re using search and replace `->allowEmpty\(([\w']+),\s([\w']+)\);` |
# |
Mar 13th 2019, 12:11 |
neon1024 |
Updating deprecated `notEmpty` and `allowEmpty` is a real time sync pita |
# |
Mar 13th 2019, 12:07 |
challgren |
Is it beta quality? |
# |
Mar 13th 2019, 12:04 |
steinkel |
you could prefer migrating first to the new version and adding features there instead... |
# |
Mar 13th 2019, 12:04 |
steinkel |
take a look at develop branch |
# |
Mar 13th 2019, 12:02 |
challgren |
I saw #761 but there’s no tests and it kind of breaks bc |
# |
Mar 13th 2019, 12:01 |
challgren |
I was going to tackle the allow superusers to change any password #408 |
# |
Mar 13th 2019, 11:59 |
steinkel |
yep |
# |
Mar 13th 2019, 11:59 |
challgren |
Ok cool I’m using the 8.3.x and want to make sure it makes it way into the 8.3 branch at least |
# |
Mar 13th 2019, 11:58 |
steinkel |
and BC vs master |
# |
Mar 13th 2019, 11:58 |
steinkel |
we have develop branch with the new auth plugins |
# |
Mar 13th 2019, 11:58 |
steinkel |
8.next and master are OK, we'll merge this back to develop |
# |
Mar 13th 2019, 11:56 |
challgren |
@steinkel for that repo should new changes be in 8.next or master? |
# |
Mar 13th 2019, 11:43 |
challgren |
Thats a bit more managable |
# |
Mar 13th 2019, 11:43 |
challgren |
https://github.com/cakephp/migrations/compare/1.8.1...2.0.0 |
# |
Mar 13th 2019, 11:41 |
challgren |
You can’t read that fast??? I’m already done looking at all the code changes :P |
# |
Mar 13th 2019, 11:41 |
neon1024 |
Hah @challgren can you read the 576 commits and summarise for me? ;) |
# |
Mar 13th 2019, 11:40 |
neon1024 |
Ah, it’s in the release https://github.com/cakephp/migrations/releases/tag/2.0.0 |
# |
Mar 13th 2019, 11:39 |
challgren |
https://github.com/cakephp/migrations/compare/1.0.0...2.1.0 |
# |
Mar 13th 2019, 11:38 |
neon1024 |
Anyone know where to find changenotes between cakephp/migrations ~1.0 and ~2.0 ? |