# |
Feb 12th 2020, 10:33 |
alexdd55976 |
just to clear it up: table user with id (char(36)) will be a uuid autamtically? |
# |
Feb 12th 2020, 10:32 |
challgren |
if your doing ids, use _id |
# |
Feb 12th 2020, 10:32 |
alexdd55976 |
how is the foreign key be named? user_uuid? |
# |
Feb 12th 2020, 10:32 |
challgren |
you can name it id, token, etc |
# |
Feb 12th 2020, 10:32 |
alexdd55976 |
so i name the field `uuid`? |
# |
Feb 12th 2020, 10:31 |
challgren |
If the db type is char(36) it will map to uuid automagically |
# |
Feb 12th 2020, 10:31 |
alexdd55976 |
how will they be generated? |
# |
Feb 12th 2020, 10:30 |
challgren |
char(36) |
# |
Feb 12th 2020, 10:30 |
alexdd55976 |
how do i use them in cake? |
# |
Feb 12th 2020, 10:29 |
alexdd55976 |
dudes.... lets talk UUIDs |
# |
Feb 12th 2020, 10:25 |
dereuromark |
same for some plugins that didnt get fully upgraded.. |
# |
Feb 12th 2020, 10:24 |
dereuromark |
it didnt work anymore probably and I didnt have time to fix everything on my own just yet. help is always welcome |
# |
Feb 12th 2020, 10:24 |
dereuromark |
isnt that on purpose? ;) |
# |
Feb 12th 2020, 10:22 |
challgren |
@dereuromark https://sandbox4.dereuromark.de/sandbox/cake-examples/query-strings the code is commented in html |
# |
Feb 12th 2020, 10:17 |
damiano |
but i do not see any cooki |
# |
Feb 12th 2020, 10:17 |
damiano |
i tried with a stupid form with username, password and a checkbox "remember_me" |
# |
Feb 12th 2020, 10:17 |
damiano |
guys anyone can help me with cookie authenticator? i cannot understand (completely) how it work under the hood. In the doc i see that it is looking for a form field "remember_me" but, shoul di create the cookie myself or not? |
# |
Feb 12th 2020, 10:06 |
dereuromark |
Well, now https://sandbox4.dereuromark.de/ is online - 3 different cake major versions in parallel^^ |
# |
Feb 12th 2020, 10:06 |
damiano |
is this kind of cookie create automatically? |
# |
Feb 12th 2020, 09:59 |
dereuromark |
https://github.com/cakephp/migrations/issues/424 was open for like a month without being touched. I now fixed it as my sandbox4 otherwise wont properly deploy. Just wondering where all the people are ;) in terms of cake4 dev and getting things stabilized. |
# |
Feb 12th 2020, 09:48 |
dereuromark |
is no one using cake4 (and migrations) yet? :) |
# |
Feb 12th 2020, 09:37 |
kaliel |
ok i found that i have to set `escapeTitle` instead of `escape` to false, the doc is not clear about that :S |
# |
Feb 12th 2020, 09:31 |
damiano |
guys i have added `$service->loadAuthenticator('Authentication.Cookie');` on Application.php inside `getAuthenticationService()` method then i also have added remember_me checkbox in the login form, when i try the code i am able to login but i do not see any cookie, does it not create a cookie? |
# |
Feb 12th 2020, 09:31 |
admad |
@spriz you can start a discussion on the new WIP queue plugin repo if you want tobe able to queue events |
# |
Feb 12th 2020, 09:29 |
kaliel |
Before to submit an issue i'd like to know if someone got this working : `echo $this->Form->button('span>Save</span>', ['escape' => false]);` In my cake 4.0.3 project, the html is still printed. |
# |
Feb 12th 2020, 09:26 |
javier.villanueva |
morning all |
# |
Feb 12th 2020, 09:26 |
damiano |
morning everybody |
# |
Feb 12th 2020, 09:20 |
kaliel |
Hello everyone, does experienced issue on cake 4.x FormHelper::button() with escape set to false ? |
# |
Feb 12th 2020, 09:18 |
md.islam11 |
can you tell me how to solve this error |
# |
Feb 12th 2020, 09:18 |
md.islam11 |
I saw a github pr with this problem. |
# |
Feb 12th 2020, 09:17 |
k4t |
anybody know what is going on? |
# |
Feb 12th 2020, 09:17 |
md.islam11 |
hasMany relationship data save problem . Error : "message": "ExistsIn rule for 'iexpense_request_id' is invalid. 'Requests' is not associated with 'Iexpense\\Model\\Table\\RequestItemsTable'.", |
# |
Feb 12th 2020, 09:17 |
slackebot |
failed using an ssh key for authentication, enter your GitHub credentials to access private repos Head to https://github.com/settings/tokens/new?scopes=repoanddescription=Composer+on+xxxx-xxxxx-xxxxxxe1+2020-02-12+1011 to retrieve a token. It will be stored in "/root/.composer/auth.json" for future use by Composer. Token (hidden): |
# |
Feb 12th 2020, 09:17 |
k4t |
cake dependency "digitalnature/php-ref": "dev-master", started causing roblems today. composer install/update is throwing following error now: - Updating digitalnature/php-ref dev-master (da0d2c0 => 2381f04): Checking out 2381f04d7e The authenticity of host 'github.com (140.82.118.4)' can't be established. RSA key fingerprint is 16:27:ac:a5:76:28:2d:36:63:1b:56:4d:eb:df:a6:48. Are you sure you want to continue connecting (yes/no)? yes Cloning |
# |
Feb 12th 2020, 09:17 |
md.islam11 |
Hello |
# |
Feb 12th 2020, 09:12 |
k4t |
hi |
# |
Feb 12th 2020, 08:43 |
spriz |
Even though it hurts a bit to say it out loud - this actually makes somewhat sense to me :) https://laravel.com/docs/6.x/events - being able to tie together queueing and events :) |
# |
Feb 12th 2020, 08:41 |
spriz |
@admad Yeah that makes sense when I use my own events anyway! It started off as `$this->getTableLocator()->get('Claims')->getEventManager()->on(new ClaimsListener());` and I used `Model.afterSave` but that just crash and burn in case someone attaches that listener to another table class :) :) |
# |
Feb 12th 2020, 08:39 |
admad |
@spriz `$this->getEventManager()->on(new ClaimsListener());` use `implementedEvents()` in `ClaimsListener()` to specify what events it's interested in |
# |
Feb 12th 2020, 08:35 |
ishan |
It's returning blank string(`''`). Solution suggested by @admad is working as expected. |
# |
Feb 12th 2020, 08:29 |
spriz |
I seem to be able to use events much better in library code/plugins rather than in my app-code - maybe it's just me? :shrug: |