Log message #4218272

# At Username Text
# Dec 11th 2019, 12:03 challgren Yeah, so @boydbuenodemesquita maybe use a fork
# Dec 11th 2019, 12:03 narendravaghela if you see the readme, he hasn't change the installation line ```composer require multidots/cakephp-rest-api```
# Dec 11th 2019, 12:02 narendravaghela years ago under my organization - multidots
# Dec 11th 2019, 12:02 narendravaghela The original repo was created by me, someone has duplicated i
# Dec 11th 2019, 12:02 narendravaghela I mean yes
# Dec 11th 2019, 12:01 narendravaghela Nah
# Dec 11th 2019, 12:01 challgren What I would suggest since its in vendor/ maybe creating a repo for yourself and upload it so you still have it
# Dec 11th 2019, 12:01 challgren Thats not you?
# Dec 11th 2019, 12:01 challgren https://github.com/vishal2995/cakephp-rest-api/commit/61f0e999224d776fb0bd797aedc32f1d6b3a787c
# Dec 11th 2019, 12:00 narendravaghela nope
# Dec 11th 2019, 12:00 challgren I found https://github.com/vishal2995/cakephp-rest-api
# Dec 11th 2019, 12:00 challgren @narendravaghela didnt you make a fork of this?
# Dec 11th 2019, 12:00 boydbuenodemesquita Yeah, I was looking for that as well. Thanks for checking! I still have the package locally, so I think I can make it work.
# Dec 11th 2019, 12:00 challgren Ahh maybe! https://github.com/innovato/cakephp-rest-api
# Dec 11th 2019, 11:58 challgren @boydbuenodemesquita Ive been searching around for a fork you could use but cant really find any
# Dec 11th 2019, 11:43 neon1024 That would get frustrating for users I think, but it depends on your use-case I suppose. More secure systems might need a shorter session :thinking_face:
# Dec 11th 2019, 11:43 neon1024 15 minute sessions is super quick imo
# Dec 11th 2019, 11:40 challgren Seems like the repo owner deleted the project
# Dec 11th 2019, 11:37 boydbuenodemesquita I'm working on an old project that uses the `multidots/cakephp-rest-api` package. When trying to set up the project on a new environment it seems that this package no longer exists. Does anyone here have any information about what happened?
# Dec 11th 2019, 11:27 jotpe Okay, thanks @challgren :slightly_smiling_face:
# Dec 11th 2019, 11:19 challgren 15 would probably be more reasonable. On every request the db is updated with the last_activity_time
# Dec 11th 2019, 11:19 challgren Ours is an hour because thats what we set the session expiration to
# Dec 11th 2019, 11:18 jotpe Do you have a timespan when a user is active then? Like activity timestamp must be max. 30mins in past?
# Dec 11th 2019, 11:15 challgren But in my implementation I just have a last activity timestamp and we can generally tell whos active and who isnt
# Dec 11th 2019, 11:14 challgren Ohh I dont know I use the component still
# Dec 11th 2019, 11:14 jotpe But there isn't some kind of method in authentication plugin, right?
# Dec 11th 2019, 11:13 challgren Add a last activity time. You cant really depend on users logging out
# Dec 11th 2019, 11:12 jotpe What's a good way to see which users are logged in right now? add a field (bool) to the user table and change on login/logout? Or is there something easier?
# Dec 11th 2019, 10:21 chechesa You have to cook each table. You're welcome :D
# Dec 11th 2019, 09:46 gianmarxgagliardi thanks for the support Marco
# Dec 11th 2019, 09:38 gianmarxgagliardi is there a command to cook the whole db without specifying the single table?
# Dec 11th 2019, 09:38 gianmarxgagliardi ok putting the normal string without env file works
# Dec 11th 2019, 09:37 neon1024 Morning everyone
# Dec 11th 2019, 09:31 gianmarxgagliardi i don't understand
# Dec 11th 2019, 09:30 gianmarxgagliardi ?
# Dec 11th 2019, 09:27 chechesa Probably in lines 266-268 from your cake config
# Dec 11th 2019, 09:26 gianmarxgagliardi I had already connected the DB to cake
# Dec 11th 2019, 09:23 gianmarxgagliardi ```export APP_NAME="__APP_NAME__" export DEBUG="true" export APP_ENCODING="UTF-8" export APP_DEFAULT_LOCALE="en_US" export APP_DEFAULT_TIMEZONE="UTC" export SECURITY_SALT="33bf94203fd694377af79b7cf59d83a396c1bbc8d99e2747038d7888dbc1ea0a" export DB_HOST='localhost' export DB_NAME='ckcake' export DB_USERNAME='root' export DB_PASSWORD=''```
# Dec 11th 2019, 09:23 chechesa If you are using wamp, default user is 'root' with no password (empty string) and you have to add your SQL database name in DB_NAME; you can see this in http://localhost/phpmyadmin
# Dec 11th 2019, 09:23 gianmarxgagliardi in .env file:
# Dec 11th 2019, 09:20 gianmarxgagliardi https://pastebin.com/XuRaHyhR