| [20:36:53] | * mstenta has quit (Quit: Leaving) |
| [23:15:16] | * JustTB has quit (Ping timeout: 246 seconds) |
| [23:29:58] | * JustTB has joined #farmos |
| [05:12:39] | * scoid[m] has joined #farmos |
| [05:28:05] | <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? |
| [05:29:08] | <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? |
| [06:07:17] | * JustTB has quit (Quit: Leaving.) |
| [07:15:12] | <mstenta[m]> | Hi @scoid:matrix.org |
| [07:15:58] | <mstenta[m]> | It is technically possible to add translations already, but not a lot of translations are available yet |
| [07:16:37] | <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 |
| [07:20:10] | <mstenta[m]> | Hard to say exactly when that will happen though, given current priorities |
| [07:20:13] | <mstenta[m]> | But I'm hoping soon |
| [07:57:13] | <scoid[m]> | Ok @mstenta , this is good news for me. I am willing to help to translate it to German or Italian. |
| [08:02:38] | <mstenta[m]> | That's great thanks @scoid:matrix.org ! |
| [08:02:55] | <mstenta[m]> | I hope to send out a newsletter when I officially start the initiative |
| [08:03:31] | <mstenta[m]> | You can sign up on Farmier.com if you aren't already |
| [08:43:09] | * JustTB has joined #farmos |
| [12:36:51] | <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 ... |
| [12:37:18] | <mstenta[m]> | We may want to also include documentation of internal APIs... |
| [12:37:44] | <mstenta[m]> | In addition to the "external" REST/HTTP stuff |
| [12:38:06] | <mstenta[m]> | Eg: documenting Drupal hooks that farmOS provides |
| [12:38:18] | <mstenta[m]> | For PHP developers |
| [12:38:29] | <jgaehring[m]> | hm, interesting |
| [12:38:32] | <mstenta[m]> | And as the client develops... The same thing |
| [12:38:48] | <mstenta[m]> | Eg: functions available to field modules |
| [12:39:08] | <jgaehring[m]> | yes, well certainly if the client ever gains the ability to have "field modules" like we we've talked about |
| [12:39:48] | <mstenta[m]> | So whatever API docs generator we go with should also be flexible in that regard too |
| [12:41:26] | <mstenta[m]> | Some other thoughts: |
| [12:41:52] | <mstenta[m]> | It might be nice to add some additional info to /farm.json |
| [12:42:13] | <mstenta[m]> | Like what resources are available (asset, log, term, etc) |
| [12:42:25] | <mstenta[m]> | And what bundles exist for each |
| [12:43:01] | <mstenta[m]> | With pointers to their respective endpoint |
| [12:44:12] | <jgaehring[m]> | oh that could be helpful, yea |
| [12:44:52] | <mstenta[m]> | That could also save on API requests for eg: saving terms |
| [12:45:20] | <mstenta[m]> | If it had the vid and bundle/machine name included |
| [12:45:47] | <mstenta[m]> | So you didn't have to query for that separately, just store it once at the beginning of the API session |
| [16:03:34] | <paul121[m]> | Does the Drupal REST module respond to OPTIONS requests? That might be an option for discovering what resources are available? |
| [16:04:49] | <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 |
| [16:05:40] | <paul121[m]> | Yeah. If it did it may be too bloated. Good ideas |
| [16:07:46] | <mstenta[m]> | The code that builds the /farm.json endpoint is SUPER simple... and wouldn't be hard to extend... |
| [16:08:00] | <mstenta[m]> | https://github.com/farmOS/farmOS/blob/7.x-1.x/modules/farm/farm_api/farm... |
| [16:08:24] | <mstenta[m]> | ACTION sent a long message: < https://matrix.org/_matrix/media/v1/download/matrix.org/TZaekdjmPiRCGIlp... > |
| [16:08:31] | <mstenta[m]> | Pardon the code paste... but it's just that simple :-) |
| [16:17:27] | <paul121[m]> | Nice! Yeah I definitely see how Resources and the VID would be helpful! |
| [16:45:52] | <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) |
| [16:46:12] | <mstenta[m]> | Because every farmOS site might have a different set of log types available, depending on the modules that are installed |