IRC logs for #farmOS, 2020-10-07 (GMT)

2020-10-06
2020-10-08
TimeNickMessage
[08:33:54]* JulianF has quit (Quit: killed)
[08:33:56]* hra38192639[m] has quit (Quit: killed)
[08:33:58]* conservationmave has quit (Quit: killed)
[08:33:59]* wombat83[m] has quit (Quit: killed)
[08:33:59]* davd[m] has quit (Quit: killed)
[08:34:01]* scrdcow[m] has quit (Quit: killed)
[08:34:01]* blm5303[m] has quit (Quit: killed)
[08:34:02]* skipper_is[m] has quit (Quit: killed)
[08:34:03]* kunigunde[m] has quit (Quit: killed)
[08:34:05]* calbasi_matrix has quit (Quit: killed)
[08:34:05]* dazinism has quit (Quit: killed)
[08:34:05]* zedrickr11[m] has quit (Quit: killed)
[08:34:08]* Anonymous[m] has quit (Quit: killed)
[08:34:10]* munjoma[m] has quit (Quit: killed)
[08:34:10]* shmida[m] has quit (Quit: killed)
[08:34:10]* skalakm[m] has quit (Quit: killed)
[08:34:11]* paul121[m]1 has quit (Quit: killed)
[08:34:11]* antoine[m] has quit (Quit: killed)
[08:34:12]* symbioquine[m] has quit (Quit: killed)
[08:34:12]* harry[m]1 has quit (Quit: killed)
[08:34:14]* morgs_john[m] has quit (Quit: killed)
[08:34:15]* and712[m] has quit (Quit: killed)
[08:34:16]* mstenta[m] has quit (Quit: killed)
[08:34:17]* jgaehring[m]1 has quit (Quit: killed)
[08:34:17]* morgsbrew[m] has quit (Quit: killed)
[08:34:17]* spacespy[m] has quit (Quit: killed)
[08:34:18]* nickredmark[m] has quit (Quit: killed)
[08:43:22]* dazinism has joined #farmos
[08:43:48]* mindcls[m] has joined #farmos
[09:04:03]* mindcls[m] has quit (*.net *.split)
[09:04:03]* Kingdutch has quit (*.net *.split)
[09:04:04]* svenn has quit (*.net *.split)
[09:04:06]* mmn has quit (*.net *.split)
[09:04:07]* dazinism has quit (*.net *.split)
[09:09:32]* mindcls[m] has joined #farmos
[09:09:33]* dazinism has joined #farmos
[09:09:33]* Kingdutch has joined #farmos
[09:09:33]* svenn has joined #farmos
[09:09:33]* mmn has joined #farmos
[09:33:28]* gunter[m] has joined #farmos
[09:33:28]* phantomse[m] has joined #farmos
[09:33:28]* JulianF has joined #farmos
[09:33:28]* calbasi_matrix has joined #farmos
[09:33:28]* harry[m]2 has joined #farmos
[09:33:29]* scrdcow[m] has joined #farmos
[09:33:29]* kunigunde[m] has joined #farmos
[09:33:29]* Anonymous[m] has joined #farmos
[09:33:29]* antoine[m] has joined #farmos
[09:33:29]* raul[m] has joined #farmos
[09:33:34]* wombat83[m] has joined #farmos
[09:33:34]* jgaehring[m] has joined #farmos
[09:33:34]* and712[m] has joined #farmos
[09:33:34]* symbioquine[m] has joined #farmos
[09:33:34]* skipper_is[m] has joined #farmos
[09:33:35]* conservationmave has joined #farmos
[09:33:35]* morgsbrew[m] has joined #farmos
[09:33:35]* zedrickr11[m] has joined #farmos
[09:33:35]* hra38192639[m] has joined #farmos
[09:33:35]* shmida[m] has joined #farmos
[09:33:35]* munjoma[m] has joined #farmos
[09:33:35]* blm5303[m] has joined #farmos
[09:33:35]* spacespy[m] has joined #farmos
[09:33:35]* davd[m]1 has joined #farmos
[09:33:35]* nickredmark[m] has joined #farmos
[09:33:35]* skalakm[m] has joined #farmos
[09:33:35]* morgs_john[m] has joined #farmos
[09:33:36]* paul121[m] has joined #farmos
[09:33:36]* mstenta[m] has joined #farmos
[11:37:10]* mindcls[m] has left #farmos ("Kicked by @appservice-irc:matrix.org : Idle for 30+ days")
[11:43:52]* phantomse[m] has quit (Quit: Idle for 30+ days)
[11:53:31]* raul[m] has quit (Quit: Idle for 30+ days)
[16:05:12]<skalakm[m]>Asset assignment works great, though it is a little brittle. I'm having trouble with the logs though. How to I get a Log object (e.g. from a log ID)? I know there has to be a way, but I can't seem to find it. All I found was a way to make a new log in farm_log_module.
[16:06:06]<mstenta[m]>`log_load($id)`
[16:10:49]<skalakm[m]>Thanks again. What about uid from username?
[16:12:16]<mstenta[m]>ACTION sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/ILkNEpWDQVcPqRrN... >
[16:12:21]<mstenta[m]>https://api.drupal.org/api/drupal/modules!user!user.module/function/user...
[16:17:20]<skalakm[m]>It actually works now. That might be the last stuck point on this piece. I would not have gotten anywhere without your help so I very much appreciate it.
[16:22:04]<mstenta[m]>Happy to help!
[16:22:18]<skalakm[m]>Just out of curiosity, where is the log_load function located? I look around for something like that but I couldn't find it.
[16:24:01]<mstenta[m]>It is in the `log` module, which is a Drupal contrib module (not part of the farmOS repository): https://drupal.org/project/log
[16:24:36]<mstenta[m]>It is automatically pulled into the packaged farmOS code via Drush Make: https://github.com/farmOS/farmOS/blob/92f854b9be271e06f2e005f14d64653eb4...
[16:24:47]<mstenta[m]>(In 2.x this happens via PHP Composer)