Commit Graph

144 Commits

Author SHA1 Message Date
Michael Stenta fda3f325ac Add an isLocation() method to the asset.location service. 2021-06-04 21:15:25 -04:00
Michael Stenta 8a5f2a0caa Document asset.location service's getAssetsByLocation() method. 2021-06-04 21:12:37 -04:00
Michael Stenta 8f0838fad5 Document group.membership service's getGroupMembers() method. 2021-06-04 21:10:41 -04:00
Michael Stenta 814499d8ab Add $options to log.query service documentation for consistency. 2021-06-04 07:18:57 -04:00
Michael Stenta 462d94cd2c Fix group.membership service documentation. 2021-06-04 07:18:57 -04:00
Michael Stenta bb08d9a3a8 Update module dev guide to suggest putting modules in sites/all/modules.
Instead of the [docroot]/modules, which is where Composer puts modules.
In the future, if we include more documentation about Composer-based
deployments we can talk specifically about that.
2021-04-16 12:31:11 -04:00
paul121 88090239a4 Document consumer.allowed_origins field and purpose. 2021-04-08 19:05:36 -04:00
Michael Stenta bfffc82188 Add recommended proxy buffer config to example nginx config for local HTTPS.
I found that this was necessary for the asset GeoJSON Views to prevent 502 Bad Gateway.
2021-04-08 15:37:23 -04:00
Michael Stenta 249f74d9f4 Document Data Streams in the data model docs. 2021-04-01 11:22:28 -04:00
Michael Stenta e3a74c18e0 Document when to run farm_migrate_sensor_data migrations. 2021-04-01 11:22:28 -04:00
Michael Stenta babe340e21 Generalize hosting SSL instructions regarding sensor data streams. 2021-04-01 11:22:28 -04:00
Michael Stenta c0f9827d1a Reference the Basic class name instead of including the code in docs. 2021-04-01 11:22:28 -04:00
Michael Stenta 645ce82b44 Refer to legacy_listener as "Listener (Legacy)". 2021-04-01 11:22:28 -04:00
paul121 5d42be6412 Rename listener to basic. 2021-04-01 11:22:27 -04:00
paul121 64ba354e33 Update data stream docs to reflect bundle plugins. 2021-04-01 11:22:27 -04:00
paul121 ae66f05e33 Add documentation for the data stream module. 2021-04-01 11:22:27 -04:00
Michael Stenta eaef284f07 Document type-specific fields on assets, logs, and terms. 2021-04-01 11:22:26 -04:00
Michael Stenta 99eae4de12 Document inventory management in the data model docs. 2021-03-27 14:43:53 -04:00
Michael Stenta 235b98afff Document that the 1.x inventory field merged into quantity entities in 2.x. 2021-03-27 14:43:53 -04:00
Michael Stenta 4064c4f84f Initial asset.inventory service. 2021-03-25 18:42:03 -04:00
Michael Stenta 4d189d24b1 Add "Standard attributes" heading to all record types in data model docs. 2021-03-25 18:31:09 -04:00
Michael Stenta 100e8bb974 Link to API Authorization doc and highlight authorize URL, token URL, and Content-Type differences. 2021-03-19 09:03:50 -04:00
Michael Stenta d94862970f Describe price quantities. 2021-03-19 08:23:13 -04:00
Michael Stenta 0dc9c45dff Describe Quantity Types (only includes Standard). 2021-03-19 08:23:13 -04:00
Michael Stenta 103cbd5aa7 Remove references to "bundles". 2021-03-19 08:23:13 -04:00
Michael Stenta bfbe862321 Refer to "record types" instead of "data types". 2021-03-19 08:23:06 -04:00
Michael Stenta 6858ae694e Use the word "record" instead of "entity" in data model docs. 2021-03-19 08:20:15 -04:00
Michael Stenta 934ea34a83 Document the farmOS data model (first draft). 2021-03-19 08:20:15 -04:00
Michael Stenta 5eff5d9f8c Document services for module development: asset.location, group.membership, log.query. 2021-03-19 08:20:15 -04:00
Michael Stenta f3db655455 Issue #3203228: Running migrations out of order can result in data collisions 2021-03-12 08:14:50 -05:00
Michael Stenta a8350acca0 Add note about orphaned quantities to migration doc. 2021-03-01 08:15:46 -05:00
Michael Stenta 4041a46715 Rename the farm_migrate group to farm_migrate_config. 2021-03-01 08:15:46 -05:00
Michael Stenta 0555d774ae Split file migrations out to a farm_migrate_file migration group to resolve dependency issues. 2021-03-01 08:15:46 -05:00
Michael Stenta 5505a3c91a Email configuration documentation. 2021-02-25 23:50:51 -05:00
Michael Stenta 7b9bfa1c1e Updating farmOS documentation. 2021-02-25 23:50:51 -05:00
Michael Stenta 1126516024 Installing farmOS documentation. 2021-02-25 23:50:46 -05:00
Michael Stenta 8bbee97c7d Hosting farmOS documentation.
This is mostly copied from existing farmOS.org documentation,
modified and updated for 2.x.
2021-02-25 22:33:13 -05:00
Michael Stenta 00d7c91435 Move from 2x.farmos.org to docs.farmos.org. 2021-02-25 22:33:13 -05:00
Michael Stenta 2d1b0b298a Document how to set up HTTPS for local development. 2021-02-25 22:30:54 -05:00
Michael Stenta f6365c9425 Migration doc updates.
- Add an introduction.
- Organize important migration considerations.
- Link to sections.
2021-02-25 12:58:32 -05:00
Michael Stenta d38a5eb1d9 Split farm_migrate_user and farm_migrate_role out to their own migration groups.
This allows contrib modules to provide their own role migrations by replicating the farm_migrate_role config.
2021-02-25 12:58:32 -05:00
Michael Stenta 704791b6ef Add farm_migrate_plan group to migration instructions. 2021-02-23 08:59:07 -05:00
Michael Stenta c7244a0013 Document quantity API changes. 2021-02-05 12:23:20 -05:00
Michael Stenta 6010d3af8f Create a dedicated migration for Quantities. 2021-02-05 12:23:20 -05:00
Michael Stenta 6681a34dcd Rename farm_quantity to quantity. 2021-02-05 12:23:20 -05:00
paul121 94fb34da6d Start documenting quantity api changes. 2021-02-05 12:23:20 -05:00
Michael Stenta a8c9af5ee9 Document areas/locations API changes. 2021-02-04 17:14:30 -05:00
Symbioquine 938d80101c Use a test matrix to run tests and site-install against MariaDB/SQLite/Postgres in parallel
**Why?** Detect if things break on specific DBMS' and have ongoing proof
that the top DB options work with farmOS.
2021-01-18 14:31:39 -05:00
Michael Stenta ef96f35b5e Run all PHPUnit tests in the /opt/drupal/web/profiles/farm directory, instead of using --group farm.
The --group flag fails with a fatal error if there are any tests (even
not in the requested group) that extend from a PHP class that
doesn't exist. This is true for some modules like fraction and
email_registration which have tests that extend from tests in
other modules that we do not include in our composer.json.
2021-01-08 06:40:09 -05:00
Michael Stenta 6a7d5bc7b5 Explain that migrations are designed to be run on empty 2.x database. 2021-01-06 05:58:06 -05:00