| [20:16:01] | * JustTB has quit (Quit: Leaving.) |
| [20:20:19] | * JustTB has joined #farmos |
| [23:02:08] | * JustTB has quit (Ping timeout: 245 seconds) |
| [23:17:11] | * JustTB has joined #farmos |
| [00:08:52] | * oneironautical[m has joined #farmos |
| [01:10:10] | <oneironautical[m> | Hey guys. I've been coding for a few years now, primarily in ASP.NET and Python. I'm wanting to start exploring and eventually contributing to the farmos project. I currently have no experience with php or drupal and am looking for a walkthrough to install php, drupal and docker. I haven't found anything yet. If anyone could provide some links to help me get the correct versions of everything installed I would be |
| [01:10:11] | <oneironautical[m> | very grateful. It will save me a lot of time. I'm running linux mint. Thanks in advance and I look forward to eventually being able to contribute! |
| [02:15:34] | * JustTB has quit (Quit: Leaving.) |
| [02:20:43] | <oneironautical[m> | Nvrmnd. Got it. |
| [04:39:46] | <mstenta[m]> | Hi @oneironautical:matrix.org |
| [04:39:56] | <mstenta[m]> | Did you see https://farmos.org/development/docker/ ? |
| [05:48:24] | * JustTB has joined #farmos |
| [06:08:25] | * JustTB has quit (Quit: Leaving.) |
| [10:23:03] | <mstenta[m]> | FYI everyone: I made a change to the permisions assigned to Farm Manager roles in farmOS. Managers no longer have the "administer users" permission, which unfortunately means they are no longer able to create new users. |
| [10:23:13] | <mstenta[m]> | For more information, see: https://www.drupal.org/project/farm/issues/3033701 |
| [10:24:49] | <mstenta[m]> | It basically comes down to the fact that "administer users" has too much power, and there isn't a separate permission just for creating users in Drupal unfortunately. |
| [10:26:51] | <mstenta[m]> | If you are hosting farmOS yourself, you can create new users via the administrative user (user ID 1), since that has access to everything. If you need other users to be able to create accounts or assign roles, then you can create a separate role with the "administer users" permission (so they can create accounts), and install and configure the Role Delegation module (so they can delegate roles). |
| [10:27:09] | <mstenta[m]> | If you are using Farmier hosting, a new role is available called "Farmier Account Admin", which has those permissions. |
| [10:27:47] | <mstenta[m]> | So generally speaking, you shouldn't notice this change. |
| [10:28:29] | <mstenta[m]> | If you notice any issues caused by this, please let me know or file a bug report: https://github.com/farmOS/farmOS/issues/ |
| [11:07:08] | * JustTB has joined #farmos |
| [11:23:02] | * JustTB has quit (Quit: Leaving.) |
| [11:23:25] | * JustTB has joined #farmos |
| [11:38:32] | <mstenta[m]> | jgaehring: ping |
| [11:38:45] | <mstenta[m]> | This change will affect the client app. |
| [11:38:54] | <jgaehring[m]> | ok |
| [11:39:04] | <mstenta[m]> | But I think we can fix easily... |
| [11:39:15] | <mstenta[m]> | So, to summarize: |
| [11:40:08] | <mstenta[m]> | The `/user.json` endpoint no longer contains email addresses. |
| [11:40:20] | <mstenta[m]> | And doesn't allow searching by email address - only username. |
| [11:41:01] | <mstenta[m]> | So, if someone logs into the app using their email address, the app won't be able to find their user information. |
| [11:41:22] | <mstenta[m]> | I have an idea for a simple solution - let me know what you think of this... |
| [11:41:45] | <mstenta[m]> | We could just include the current user name in /farm.json, so you would use that in the app for both the farm name and the user name. |
| [11:41:52] | <mstenta[m]> | Instead of using user.json |
| [11:41:55] | <jgaehring[m]> | so right now, the farmSync.js module checks whether the username is in fact the username, or the email address: https://github.com/farmOS/farmOS-native/blob/fe345e19b97658530f23d6f997d... |
| [11:42:11] | <mstenta[m]> | Ok - right - I remember talking that through with you |
| [11:42:16] | <mstenta[m]> | So that's not going to work anymore if they use email address |
| [11:43:40] | <jgaehring[m]> | and then the loginModule it gets the email from the response: https://github.com/farmOS/farmOS-native/blob/fe345e19b97658530f23d6f997d... |
| [11:43:51] | <mstenta[m]> | But if we just put the current user's info inside /farm.json, then you could simplify that code. |
| [11:44:17] | <mstenta[m]> | Ok, I think the loginModule code will still work |
| [11:44:17] | <jgaehring[m]> | oh that would be great! |
| [11:44:36] | <mstenta[m]> | It's just the code for loading the current user name that needs to change. |
| [11:44:41] | <mstenta[m]> | Want me to create an issue? |
| [11:44:52] | <jgaehring[m]> | sure |
| [12:07:47] | <mstenta[m]> | jgaehring: https://github.com/farmOS/farmOS-native/issues/93 |
| [12:23:15] | <jgaehring[m]> | thanks, Mike! |
| [15:18:29] | * garciadc[m] has quit (Quit: removing from IRC because user idle on matrix for 30+ days) |
| [15:21:12] | * DennisClicWorld[ has left #farmos ("Kicked by @appservice-irc:matrix.org : removing from IRC because user idle on matrix for 30+ days") |
| [15:28:14] | * dddad[m] has quit (Quit: removing from IRC because user idle on matrix for 30+ days) |
| [15:30:10] | * morgs_john[m] has left #farmos ("Kicked by @appservice-irc:matrix.org : removing from IRC because user idle on matrix for 30+ days") |
| [15:34:00] | * garciadc3[m] has quit (Quit: removing from IRC because user idle on matrix for 30+ days) |
| [15:34:48] | * cycix[m] has quit (Quit: removing from IRC because user idle on matrix for 30+ days) |
| [15:36:57] | * Adam[m]7 has quit (Quit: removing from IRC because user idle on matrix for 30+ days) |
| [15:45:25] | * troym541[m] has quit (Quit: removing from IRC because user idle on matrix for 30+ days) |
| [15:47:37] | * garciasgardens[m has left #farmos ("Kicked by @appservice-irc:matrix.org : removing from IRC because user idle on matrix for 30+ days") |
| [15:59:04] | * stanton[m] has left #farmos ("Kicked by @appservice-irc:matrix.org : removing from IRC because user idle on matrix for 30+ days") |
| [16:03:24] | * rjv23[m] has quit (Quit: removing from IRC because user idle on matrix for 30+ days) |
| [16:06:31] | * chewymuc[m] has quit (Quit: removing from IRC because user idle on matrix for 30+ days) |
| [16:14:09] | * JustTB has quit (Quit: Leaving.) |