| 00:36 | * | mstenta has quit (Quit: Leaving) |
| 03:15 | * | JustTB has quit (Ping timeout: 246 seconds) |
| 03:29 | * | JustTB has joined |
| 09:12 | * | scoid[m] has joined |
| 09:28 | scoid[m] | Hi, I like your project very much and was looking at it since 2014. I wonder when do you plan to localize it to different languages? Did you think about it how to achive it? |
| 09:29 | scoid[m] | Hi, I like your project very much and was looking at it since 2014. I wonder when do you plan to localize it to different languages? Did you think about it how to achieve it? |
| 10:07 | * | JustTB has quit (Quit: Leaving.) |
| 11:15 | mstenta[m] | Hi @scoid:matrix.org |
| 11:15 | mstenta[m] | It is technically possible to add translations already, but not a lot of translations are available yet |
| 11:16 | mstenta[m] | I've been waiting to launch an official initiatives until we upgrade to Drupal 8 because it has some better built in systems for localization |
| 11:20 | mstenta[m] | Hard to say exactly when that will happen though, given current priorities |
| 11:20 | mstenta[m] | But I'm hoping soon |
| 11:57 | scoid[m] | Ok @mstenta , this is good news for me. I am willing to help to translate it to German or Italian. |
| 12:02 | mstenta[m] | That's great thanks @scoid:matrix.org ! |
| 12:02 | mstenta[m] | I hope to send out a newsletter when I officially start the initiative |
| 12:03 | mstenta[m] | You can sign up on Farmier.com if you aren't already |
| 12:43 | * | JustTB has joined |
| 16:36 | mstenta[m] | Another thought that came to mind (but I forgot to bring up) during our API docs discussion @jgaehring:matrix.org @paul121:matrix.org ... |
| 16:37 | mstenta[m] | We may want to also include documentation of internal APIs... |
| 16:37 | mstenta[m] | In addition to the "external" REST/HTTP stuff |
| 16:38 | mstenta[m] | Eg: documenting Drupal hooks that farmOS provides |
| 16:38 | mstenta[m] | For PHP developers |
| 16:38 | jgaehring[m] | hm, interesting |
| 16:38 | mstenta[m] | And as the client develops... The same thing |
| 16:38 | mstenta[m] | Eg: functions available to field modules |
| 16:39 | jgaehring[m] | yes, well certainly if the client ever gains the ability to have "field modules" like we we've talked about |
| 16:39 | mstenta[m] | So whatever API docs generator we go with should also be flexible in that regard too |
| 16:41 | mstenta[m] | Some other thoughts: |
| 16:41 | mstenta[m] | It might be nice to add some additional info to /farm.json |
| 16:42 | mstenta[m] | Like what resources are available (asset, log, term, etc) |
| 16:42 | mstenta[m] | And what bundles exist for each |
| 16:43 | mstenta[m] | With pointers to their respective endpoint |
| 16:44 | jgaehring[m] | oh that could be helpful, yea |
| 16:44 | mstenta[m] | That could also save on API requests for eg: saving terms |
| 16:45 | mstenta[m] | If it had the vid and bundle/machine name included |
| 16:45 | mstenta[m] | So you didn't have to query for that separately, just store it once at the beginning of the API session |
| 20:03 | paul121[m] | Does the Drupal REST module respond to OPTIONS requests? That might be an option for discovering what resources are available? |
| 20:04 | mstenta[m] | paul121: Good question... I don't think the restws module does... But we may be able to just implement something outself in farm.json |
| 20:05 | paul121[m] | Yeah. If it did it may be too bloated. Good ideas |
| 20:07 | mstenta[m] | The code that builds the /farm.json endpoint is SUPER simple... and wouldn't be hard to extend... |
| 20:08 | mstenta[m] | github.com/farmOS/farmOS/blob/7.x-1.x/mo |
| 20:08 | * | sent a long message: < matrix.org/_matrix/media/v1/download/mat > |
| 20:08 | mstenta[m] | Pardon the code paste... but it's just that simple :-) |
| 20:17 | paul121[m] | Nice! Yeah I definitely see how Resources and the VID would be helpful! |
| 20:45 | mstenta[m] | Yea that would also make it possible for the client to offer the ability to create all log types (currently limited to a hard-coded list) |
| 20:46 | mstenta[m] | Because every farmOS site might have a different set of log types available, depending on the modules that are installed |