Commit Graph

7037 Commits

Author SHA1 Message Date
Michael Stenta 7ab0bb8d5c Link to CHANGELOG.md in GitHub release notes. 2021-12-28 14:38:02 -05:00
Michael Stenta 876bb01b53 Initial farmOS 2.x CHANGELOG.md. 2021-12-28 14:38:02 -05:00
Michael Stenta 04bf771d91 Update copyright year. 2021-12-28 14:37:36 -05:00
Michael Stenta e4bb0b0e2c Issue #3162606: Merge 7.x-1.x into 2.x 2021-12-28 14:37:18 -05:00
Michael Stenta d41e4e4e84 Combine the BCMath and GEOS requirements into one item. 2021-12-28 13:38:56 -05:00
Michael Stenta 60ca070d76 Specifically require PHP 7.4 in installation docs. 2021-12-28 13:38:23 -05:00
Michael Stenta 3f59ef3527 Merge branch '2.x-farm_log_asset' into 2.x 2021-12-28 13:15:14 -05:00
Michael Stenta b3a2b5d6f6 Birth log tests depend on farm_log_asset. 2021-12-28 12:58:03 -05:00
Michael Stenta b2db6ea2cc Depend on farm_log_asset in log query, location, and group tests, instead of adding $log->asset fields in each. 2021-12-28 12:58:03 -05:00
Michael Stenta bb28e2f52b The farm_log module depends on farm_log_asset because it works with the $log->asset field.
- Used for filtering in the farm.log_query service.
- Used for prepopulating asset field in farm_log_entity_prepare_form().
2021-12-28 11:35:03 -05:00
Michael Stenta 2175b57e2d Move asset reference field on logs to new farm_log_asset module. 2021-12-28 09:17:42 -05:00
Michael Stenta 3a6d85e63c Modules with log event subscribers can depend on log instead of farm_log now that events are provided upstream.
See Issue #3243163: Dispatch a LogEvent for log save, delete and clone operations
2021-12-27 17:32:12 -05:00
Michael Stenta cae9a41125 Document why we manually add a $log->asset field in some test modules. 2021-12-27 17:32:12 -05:00
Michael Stenta ad9b4f81c7 Copy and update user guide from 1.x docs to 2.x. 2021-12-27 17:27:13 -05:00
Michael Stenta 2c55037ed2 Delete docs/index.md. 2021-12-27 17:27:13 -05:00
Michael Stenta 8f2c0383e7 Remove favicon and mkdocs.yml lines that were only used for building docs.farmos.org. 2021-12-23 09:36:04 -05:00
Michael Stenta 394daa9f06 Reference non-existent farmos/farmos:2.x.y Docker tag in production hosting docs/examples.
By doing this, we will be forcing the end-user to follow best
practice by making an intentional decision about the version
they will use. We do not want farmos/farmos:2.x to be referenced
by default in the docs, otherwise we will be directing folks to
use the development branch, which may not be stable, and may
change if they update the image via `docker pull`. We also don't
want to recommend farmos/farmos:latest, for a similar reason:
when updating between versions it is important to manually run
update.php. By forcing intentional version use and updates, we
encourage best practice for updates as well.
2021-12-23 07:10:22 -05:00
Michael Stenta 73c3740322 Change docs.farmOS.org references to farmOS.org. 2021-12-23 06:56:37 -05:00
Michael Stenta 00402524bc Remove workflow for publishing docs to GitHub Pages.
We are now using netlify-build-docs.yml to trigger a
Netlify build of the new farmOS.org Gatsby.js repo,
which aggregates docs from this and other farmOS repos.
2021-12-23 06:56:37 -05:00
Michael Stenta 5260df0b70 Fix asset_type_layers map behavior when farmOS is installed in a subdirectory.
The URL() constructor's optional second `base` parameter only
gets used if the first `url` parameter is a relative path.

https://developer.mozilla.org/en-US/docs/Web/API/URL#usage_notes
2021-12-23 06:27:45 -05:00
Michael Stenta 8e19bf0a8e Fix "All locations" link when farmOS is installed in a subdirectory. 2021-12-22 08:33:18 -05:00
Michael Stenta c257226504 Revert "farmOS 7.x-1.8."
This reverts commit bd17406a5b.
2021-12-21 19:37:22 -05:00
Michael Stenta bd17406a5b farmOS 7.x-1.8. 2021-12-21 19:36:48 -05:00
Michael Stenta 2c4b0f3ca4 Prepare for release of farmOS 7.x-1.8. 2021-12-21 19:35:37 -05:00
Michael Stenta 81e9063161 Update installation docs URL in README.md. 2021-12-21 19:18:58 -05:00
Michael Stenta ad4725c12f Change all relevant links from farmOS.org to v1.farmOS.org. 2021-12-21 19:18:39 -05:00
Michael Stenta d16a63a241 Merge remote-tracking branch 'farmOS.org/7.x-1.x' into 7.x-1.x (see commit details for more info)
Merge made by the 'ours' strategy. No files from farmOS.org/7.x-1.x are
preserved by this commit.

We are doing this to preserve the history of the legacy farmOS.org
repository in the core farmOS repository, so that we can archive the old
farmOS.org repository and replace it with a new one. In the 1.x lifecycle,
we put farmOS documentation in the farmOS.org repository, but in 2.x we
are including docs in the farmOS repository itself, so all history will
be in one place moving forward. The new farmOS.org repository will only
have general community content, and will aggregate documentation from the
farmOS repository (and others).
2021-12-21 13:04:07 -05:00
Michael Stenta d07b709d94 Update modules: date, entity, l10n_update, views. 2021-12-21 12:51:01 -05:00
Michael Stenta 3a49759b2b Update Drupal core to 7.84. 2021-12-21 12:48:56 -05:00
Michael Stenta e6bb97be0f Remove link to GitHub issue for adding farm names to /community/farms. 2021-12-21 12:14:43 -05:00
Michael Stenta 059e0af8d9 Merge branch '2.x-fieldkit' into 2.x 2021-12-20 17:34:22 -05:00
Michael Stenta 4eee1f586d Add https://farmos.app as a CORS allowed origin for Field Kit. 2021-12-20 17:34:13 -05:00
Michael Stenta a35865724a Rename "client modules" to "field modules". 2021-12-20 17:34:13 -05:00
Michael Stenta 0a8dca4bf1 Rename the Field Kit OAuth2 client to fieldkit. 2021-12-20 17:34:13 -05:00
Michael Stenta 52e409a125 Rename farm_client module to farm_fieldkit. 2021-12-20 17:34:13 -05:00
Michael Stenta 72b485e5e2 Issue #3215938 by paul121: Data stream email notifications 2021-12-20 17:33:02 -05:00
Michael Stenta 02f95e4d7a Merge data_stream_notification_email module into data_stream_notification. 2021-12-20 17:16:04 -05:00
Michael Stenta f20e813151 Clarify that docs are for farmOS 1.x, link to 2.x docs #115 2021-12-20 10:55:04 -05:00
Michael Stenta 14ee6bf559 Move data_stream_notification module into "modules" subdirectory. 2021-12-20 10:08:55 -05:00
paul121 6648f2ba98 Migrate existing sensor listener notifications. 2021-12-20 10:08:55 -05:00
paul121 f87d89b30d Allow the notification state to be reset on save. 2021-12-17 14:29:11 -05:00
paul121 ca0908281a Display the notification state in the list view. 2021-12-17 14:29:11 -05:00
paul121 cdb168d3cd Reset notification state when enabling/disabling. 2021-12-17 14:29:11 -05:00
paul121 0ca67170fb Add notification activation and deactivation thresholds and delivery interval configuration. 2021-12-17 14:29:11 -05:00
paul121 900e8d8ccb Create postTestData helper function. 2021-12-17 14:29:11 -05:00
paul121 2ddfd3e493 Add notification delivery email plugin. 2021-12-17 14:29:11 -05:00
paul121 2b8779f989 Include the data stream notification and condition summaries in the event context.
Add these all to the error condition plugin to make sure they are available.
2021-12-17 14:29:11 -05:00
paul121 6216ee6f43 Test complete execution of notifications. 2021-12-17 14:29:11 -05:00
paul121 9d046355f9 Implement a numeric notification condition. 2021-12-17 14:29:11 -05:00
paul121 3a9342e3a3 Require at least one condition and notification. 2021-12-17 14:29:11 -05:00