# |
Oct 5th 2016, 18:54 |
cleptric |
@xymanek Thank you :slightly_smiling_face: I also had to do this in the routes.php of the plugin. Tried it the the app routes... |
# |
Oct 5th 2016, 18:50 |
xymanek |
http://book.cakephp.org/3.0/en/development/routing.html#Cake\Routing\Router::plugin second example |
# |
Oct 5th 2016, 18:49 |
cleptric |
I thought about sth like that ``` $routes->connect('/api/*', ['plugin' => 'Api/V1']); ``` |
# |
Oct 5th 2016, 18:47 |
cleptric |
I want to redirect all /api/* requests to a new Plugin called Api/V1. Is there a generic way to do this? |
# |
Oct 5th 2016, 18:23 |
NeoThermic |
dereuromark: I think I did it \o/ |
# |
Oct 5th 2016, 18:09 |
lorenzo |
since fixtures are run inside a transaction, then the rest of the fixtures are aborted until the transaction is closed |
# |
Oct 5th 2016, 18:09 |
lorenzo |
it means that one of your fixtures has an error @dereuromark |
# |
Oct 5th 2016, 18:08 |
NeoThermic |
lets give that a try then |
# |
Oct 5th 2016, 18:08 |
dereuromark |
@lorenzo The tests for posgres in https://github.com/dereuromark/CakePHP-DatabaseLog/pulls |
# |
Oct 5th 2016, 18:08 |
dereuromark |
there are tuts |
# |
Oct 5th 2016, 18:08 |
dereuromark |
via git bash that is easy, with git rebase -i |
# |
Oct 5th 2016, 18:07 |
NeoThermic |
dereuromark: I have no idea how to squash commits. I do know that github's UI allows you to squash the commits before you merge the branch in with the big green button |
# |
Oct 5th 2016, 17:56 |
keith |
The training on the 19th of October, is it possible to buy the recording, Iâ??ll be on a flight during the actual time? |
# |
Oct 5th 2016, 17:49 |
lorenzo |
can you please link again to the problem? |
# |
Oct 5th 2016, 17:49 |
lorenzo |
no, I was at a conference and I could barely use internet |
# |
Oct 5th 2016, 17:48 |
dereuromark |
I wanted to take another step tomorrow otherwise |
# |
Oct 5th 2016, 17:47 |
dereuromark |
lorenzo Did you have a change to look into the postgres issue, didnt see if you replied already. It works for Mysql so far just fine. |
# |
Oct 5th 2016, 17:45 |
Unfaiir |
I checked out the migration guide a bit, I didn't see anything about the webroot, I guess I missed it |
# |
Oct 5th 2016, 17:42 |
dereuromark |
Unfaiir: You can also look into existing apps and plugins, see the awesome list |
# |
Oct 5th 2016, 17:42 |
lorenzo |
that explains some of the bigger changes |
# |
Oct 5th 2016, 17:42 |
lorenzo |
Unfaiir did you read the migration guide? |
# |
Oct 5th 2016, 17:41 |
lorenzo |
ok |
# |
Oct 5th 2016, 17:41 |
keith |
Thanks @dereuromark Iâ??ll look into it |
# |
Oct 5th 2016, 17:41 |
Unfaiir |
lorenzo: I'm on 2.x still, just tyring to understand the folder changes in 3.x |
# |
Oct 5th 2016, 17:39 |
dereuromark |
keith: my tools plugin provides tokens which I use for this |
# |
Oct 5th 2016, 17:33 |
lorenzo |
bu what are you looking at? |
# |
Oct 5th 2016, 17:33 |
lorenzo |
the webroot is now outside `src` |
# |
Oct 5th 2016, 17:33 |
Unfaiir |
lorenzo: Inside the src folder I don't see the webroot folder, where has that gone? |
# |
Oct 5th 2016, 17:32 |
keith |
3.3.5 |
# |
Oct 5th 2016, 17:32 |
keith |
Is anyone aware of a forgotten password plugin for 3.5? |
# |
Oct 5th 2016, 17:30 |
lorenzo |
it is called `src` now |
# |
Oct 5th 2016, 17:30 |
Unfaiir |
Where is the app folder in 3.x? |
# |
Oct 5th 2016, 17:28 |
lorenzo |
Greezler how are you building the prepared statement? |
# |
Oct 5th 2016, 17:26 |
francky06l |
ypnos: seem no way to 'delete the object' .. I can force validate => false in the options .. but that will not avoid the Entity creation |
# |
Oct 5th 2016, 17:20 |
francky06l |
ypnos sorry it is triggerd |
# |
Oct 5th 2016, 17:15 |
francky06l |
ypnos: beforeMarshal of the associated models are not called I think, I have to do this in the main model ..right ? |
# |
Oct 5th 2016, 17:14 |
Greezler |
Is there a reliable way I can use a PHP array (of integers) as a condition in a prepared statement? |
# |
Oct 5th 2016, 17:01 |
ypnos |
you're welcome |
# |
Oct 5th 2016, 17:01 |
francky06l |
I will give a try, Thanks a lot |
# |
Oct 5th 2016, 17:01 |
francky06l |
I see, it's the "beforeValidate" of 2.x something like this .. |
# |
Oct 5th 2016, 17:00 |
ypnos |
instead of properties you would have addresses |