Michael Stenta
|
8baceff31f
|
If #edit is TRUE on a map element, enable the edit behavior.
|
2020-02-10 14:27:49 -05:00 |
|
Michael Stenta
|
cd800b73f4
|
If WKT was provided in the element, show it in the map.
|
2020-02-10 14:27:49 -05:00 |
|
Michael Stenta
|
c8c89d195e
|
Set onFocusOnly: true when initializing maps, so that the user must click on the map before scroll zoom works.
|
2020-02-10 14:27:49 -05:00 |
|
Michael Stenta
|
cc5664473c
|
Pass system of measurement into farmOS-map.
|
2020-02-10 14:27:49 -05:00 |
|
Michael Stenta
|
942993d0d5
|
Remove default base layer setting (defer to farmOS-map layer memory).
|
2020-02-10 14:27:49 -05:00 |
|
Michael Stenta
|
d67fb1c796
|
Refactor MapKnitter module to use a farmOS-map behavior.
|
2020-02-10 14:27:49 -05:00 |
|
Michael Stenta
|
d7fd542069
|
Refactor farm_plan_map to use a farmOS-map behavior.
|
2020-02-10 14:27:49 -05:00 |
|
Michael Stenta
|
0eea90dec0
|
Refactor NRCS Soil Survey to use a farmOS-map behavior.
|
2020-02-10 14:27:49 -05:00 |
|
Michael Stenta
|
608eb047cf
|
@todo This assumes that there is only one map on the page.
|
2020-02-10 14:27:49 -05:00 |
|
Michael Stenta
|
c1ac402087
|
Refactor farm area generator to use a farmOS-map behavior.
|
2020-02-10 14:27:49 -05:00 |
|
Michael Stenta
|
2fb2adeb42
|
Display a popup when area features are clicked, and load area details via AJAX.
|
2020-02-10 14:27:49 -05:00 |
|
Michael Stenta
|
9f09c050e3
|
Add a JS setting that defines the base path of the site.
|
2020-02-10 14:27:49 -05:00 |
|
Michael Stenta
|
2fbd605693
|
Put all area layers in an "Areas" layer group.
|
2020-02-10 14:27:49 -05:00 |
|
Michael Stenta
|
d7c67a130c
|
Add all area type layers to farmOS-map.
|
2020-02-10 14:27:49 -05:00 |
|
Michael Stenta
|
1178d1fbb2
|
Change all area type styles to match those provided by farmOS-map.
|
2020-02-10 14:27:49 -05:00 |
|
Michael Stenta
|
30ce3a796f
|
Update farmOS-map.js to v0.2.0.
|
2020-02-10 14:27:49 -05:00 |
|
Michael Stenta
|
18ec6180f9
|
Add new hooks for defining farmOS map behaviors in Drupal, and a farm_map_add_behavior() function for adding them.
|
2020-02-10 14:27:49 -05:00 |
|
Michael Stenta
|
7361a17490
|
Allow other modules to perform logic when a map is rendered via hook_farm_map_view().
|
2020-02-10 14:27:49 -05:00 |
|
Michael Stenta
|
c0fa34f1ae
|
Set the height of farmOS maps to 400px.
|
2020-02-10 14:27:49 -05:00 |
|
Michael Stenta
|
fbda7e5d97
|
Render new farmOS-map element in farm_map_build().
|
2020-02-10 14:27:49 -05:00 |
|
Michael Stenta
|
6bc7e9f22e
|
Add new farm_map element type with theme function that renders a farmOS-map.
|
2020-02-10 14:27:49 -05:00 |
|
Michael Stenta
|
2bce9efc87
|
Implement hook_libraries_info() in farm_map.module to integrate farmOS-map library.
|
2020-02-10 14:27:49 -05:00 |
|
Michael Stenta
|
c64a669525
|
Empty text in metrics pane: "No metrics available."
|
2020-02-08 10:26:12 -05:00 |
|
Michael Stenta
|
97c872cdc0
|
Allow decimal values in the milk quick form.
|
2020-02-07 14:10:03 -05:00 |
|
Michael Stenta
|
89a71ae937
|
Explicitly set BCMath scale to 24 in farm_area.module and farm_area_generate.module functions.
|
2020-01-30 13:48:45 -05:00 |
|
Michael Stenta
|
ed5b5fa368
|
Make farm_map_set_bcscale() capable of maintaining scale even when it is used in nested functions without resetting prematurely.
|
2020-01-30 13:48:44 -05:00 |
|
Michael Stenta
|
9f86cb0099
|
Increment the farmOS API version to 1.2, now that entity field info is available in /farm.json.
|
2020-01-22 14:49:58 -05:00 |
|
Michael Stenta
|
b9e64b2592
|
Provide field requirements/restrictions/defaults for log types at /farm.json
|
2020-01-22 14:15:40 -05:00 |
|
Michael Stenta
|
6dd973d765
|
Install the Quantity Report module with the default set of modules.
|
2020-01-20 15:35:03 -05:00 |
|
Symbioquine
|
55a1e390a4
|
Fix idempotency issue with deletion
https://github.com/farmOS/farmOS/issues/232
|
2020-01-20 15:28:21 -05:00 |
|
Michael Stenta
|
41f1b5a552
|
Wrap farm metrics links in url() so they work without clean URLs.
|
2020-01-15 08:49:28 -05:00 |
|
Michael Stenta
|
ff8871ed45
|
Fix Error: Call to a member function geometryType() on boolean in farm_area_calculate_area()
|
2020-01-09 13:47:38 -05:00 |
|
Michael Stenta
|
58734b0f23
|
Explicitly set BCMath scale to 24 when performing geometry calculations, and reset afterwards.
|
2019-12-31 11:40:38 -05:00 |
|
Michael Stenta
|
2bd13f2e0e
|
Rename farm_map_geofield_geometry_combine() to farm_map_combine_geoms().
|
2019-12-31 11:40:38 -05:00 |
|
Michael Stenta
|
11c02e2ab8
|
Move farm_map geometry functions to an include file.
|
2019-12-31 11:40:38 -05:00 |
|
Michael Stenta
|
443535e710
|
Load GeoPHP in farm_map_polygon_area().
|
2019-12-31 11:40:38 -05:00 |
|
Jamie Gaehring
|
b27b0400c3
|
Use farm_access_allow_origin variable to set headers.
Delete var's inside uninstall hook.
|
2019-11-21 18:26:41 -05:00 |
|
Jamie Gaehring
|
e224670296
|
Add permissions and form for admin'ing the access module.
Remove mention of quantity in comments.
|
2019-11-21 18:26:32 -05:00 |
|
Michael Stenta
|
3e5a8e777d
|
Only clean up numeric entity IDs in farm_plan_entity_delete().
|
2019-10-15 15:43:12 -04:00 |
|
Michael Stenta
|
79f0a84d91
|
Only clean up numeric entity IDs in farm_quick_entity_delete().
|
2019-10-15 15:35:31 -04:00 |
|
Michael Stenta
|
296bad2c4b
|
Remove wildcard from NRCS STIR autocomplete path so that it can be used in anonymous forms.
|
2019-10-14 14:02:36 -04:00 |
|
Michael Stenta
|
f731b378da
|
Only include observation logs in livestock weight reports. #208
|
2019-10-10 12:40:21 -04:00 |
|
Michael Stenta
|
d47db78086
|
Trim whitespace from CSV fields: Asset names, Parent names, Areas, Categories, Crop/variety, Nicknames, Material.
|
2019-10-09 12:38:25 -04:00 |
|
Michael Stenta
|
148eda32b0
|
Issue #3086611: Allow CSV imports to reference assets by name
|
2019-10-09 12:38:25 -04:00 |
|
Michael Stenta
|
700786444a
|
Sort asset entity reference selection by asset ID descending.
|
2019-10-09 12:38:25 -04:00 |
|
Michael Stenta
|
74e2e091ed
|
Support importing multiple Materials with input log CSVs.
|
2019-10-09 12:38:25 -04:00 |
|
Michael Stenta
|
2818877ea1
|
Autocreate Materials when importing input logs.
|
2019-10-09 12:38:25 -04:00 |
|
Michael Stenta
|
6c6ada79ce
|
Fix birth log importer's mother reference target.
|
2019-10-09 12:38:25 -04:00 |
|
Paul Weidner
|
66f08494e2
|
Use the average weight calculated on the server in graphs.
|
2019-09-25 11:05:05 -04:00 |
|
Paul Weidner
|
61df12ed89
|
Add the average animal gain per day to group report
|
2019-09-25 11:05:05 -04:00 |
|
Paul Weidner
|
f17c1c448a
|
Rename Average Weight graph
|
2019-09-25 11:05:05 -04:00 |
|
Paul Weidner
|
ced00f371f
|
Display graphs of average animal weights in group reports
|
2019-09-25 11:05:05 -04:00 |
|
Paul Weidner
|
875c46bbc6
|
Update group report, display HTML table and CSV Export
|
2019-09-25 11:05:05 -04:00 |
|
Paul Weidner
|
8bc35866bb
|
Update name of individual report method.
|
2019-09-25 11:05:05 -04:00 |
|
Michael Stenta
|
e99011881c
|
Move individual weight report access callback to main module file.
|
2019-09-25 11:05:05 -04:00 |
|
Paul Weidner
|
76ace07782
|
Improve header formatting of CSV
|
2019-09-25 11:05:05 -04:00 |
|
Paul Weidner
|
229630bf5a
|
Change to use a while loop to walk through columns + logs
|
2019-09-25 11:05:05 -04:00 |
|
Paul Weidner
|
655daacec1
|
Collect log dates unique to each animal
|
2019-09-25 11:05:05 -04:00 |
|
Paul Weidner
|
a49c727a56
|
Unset the default start date, change the date_year_range to -10:+1
|
2019-09-25 11:05:05 -04:00 |
|
Paul Weidner
|
37dacdb43e
|
Change CSV format to one animal per line, columns specific to date
|
2019-09-25 11:05:05 -04:00 |
|
Michael Stenta
|
ee480ec590
|
Generalize farm_report.info description - not just for assets.
|
2019-09-25 11:05:05 -04:00 |
|
Michael Stenta
|
d453bad45f
|
Remove asset ID and make "Current weight" bold.
|
2019-09-25 11:05:05 -04:00 |
|
Michael Stenta
|
6ad3ac254d
|
Float graph to the right of the weights table.
|
2019-09-25 11:05:05 -04:00 |
|
Michael Stenta
|
1f1f8105a4
|
Allow creating a report of groups that contain other asset types in addition to animals (but skip them).
|
2019-09-25 11:05:05 -04:00 |
|
Michael Stenta
|
5e0c4e7507
|
Fix farm_livestock_weight_report_access().
|
2019-09-25 11:05:05 -04:00 |
|
Michael Stenta
|
62d5da2774
|
Move Quantity report to /farm/report/quantity, depend on farm_report, install farm_report on existing sites.
|
2019-09-25 11:05:05 -04:00 |
|
Michael Stenta
|
c44662ed6c
|
Install the Farm Report module (dependency of Livestock Weight Report).
|
2019-09-25 11:05:05 -04:00 |
|
Michael Stenta
|
c9a21f92e2
|
Add a default "Info" tab to /farm/reports. Make weight report a local task.
|
2019-09-25 11:05:05 -04:00 |
|
Michael Stenta
|
cddb77a4d6
|
Remove unnecessary dependencies from farm_report.
|
2019-09-25 11:05:05 -04:00 |
|
Michael Stenta
|
a731896a5e
|
Pass $end_date into farm_quantity_log_asset() as the timestamp upper bound.
|
2019-09-25 11:05:05 -04:00 |
|
Michael Stenta
|
a1e802b8f8
|
Do not include parameter variables in function call.
|
2019-09-25 11:05:05 -04:00 |
|
Michael Stenta
|
0a34e87a6d
|
Simplify start/end date default value code.
|
2019-09-25 11:05:05 -04:00 |
|
Michael Stenta
|
f629d8d9fd
|
Misc whitespace, comments, Drupal coding standards fixes.
|
2019-09-25 11:05:05 -04:00 |
|
Michael Stenta
|
518a2db188
|
Update farm_quantity_log_asset() docblock.
|
2019-09-25 11:05:05 -04:00 |
|
Paul Weidner
|
f29b18742e
|
Save weights for graph
|
2019-09-25 11:05:05 -04:00 |
|
Paul Weidner
|
d7c5c9fe33
|
Prevent Weight tab from appearing on non-animal assets
|
2019-09-25 11:05:05 -04:00 |
|
Paul Weidner
|
e64090e04f
|
Change the name of animal weight graph page from 'report' to 'weight'
|
2019-09-25 11:05:05 -04:00 |
|
Michael Stenta
|
215db36ea2
|
Update farm_quantity_log_asset_query() docblock.
|
2019-09-25 11:05:05 -04:00 |
|
Paul Weidner
|
8e72ca9d45
|
Update the name of the JS graph behavior
|
2019-09-25 11:05:05 -04:00 |
|
Paul Weidner
|
ed7d893842
|
Use the drupal theme function to render table of recorded weights
|
2019-09-25 11:05:05 -04:00 |
|
Paul Weidner
|
473af40b07
|
Clean code. Use else statement and load multiple logs at once
|
2019-09-25 11:05:05 -04:00 |
|
Paul Weidner
|
ae7f8df22c
|
Add start and end date filter to CSV export
|
2019-09-25 11:05:05 -04:00 |
|
Paul Weidner
|
d4276befcf
|
Export CSV file of weights from all animals of selected group(s)
|
2019-09-25 11:05:05 -04:00 |
|
Paul Weidner
|
f2fc551b54
|
Remove the group ID from Select list
|
2019-09-25 11:05:05 -04:00 |
|
Paul Weidner
|
366332c4ba
|
Add a form for selecting groups of animal assets
|
2019-09-25 11:05:05 -04:00 |
|
Paul Weidner
|
0403bf6980
|
Move Reports to a tab, out of the Farm menu
|
2019-09-25 11:05:05 -04:00 |
|
Paul Weidner
|
e8319fae70
|
Add farm_report permissions
|
2019-09-25 11:05:05 -04:00 |
|
Paul Weidner
|
565008af75
|
Add farm_report module, /farm/report path and menu item
|
2019-09-25 11:05:05 -04:00 |
|
Paul Weidner
|
6b32df38a6
|
Add a Weight graph to the Livestock Report tab
|
2019-09-25 11:05:05 -04:00 |
|
Paul Weidner
|
9ade46dc83
|
Only display the table of weights if weights have been logged
|
2019-09-25 11:05:05 -04:00 |
|
Paul Weidner
|
4df8640b60
|
Move the report view to farm_livestock_report.inc
|
2019-09-25 11:05:05 -04:00 |
|
Paul Weidner
|
3d0789c0df
|
Display all recorded weights in the Animal Reports tab
|
2019-09-25 11:05:05 -04:00 |
|
Paul Weidner
|
ceaa03912b
|
Update farm_quantity_log_asset_query to accept Type and Single arguments
|
2019-09-25 11:05:05 -04:00 |
|
Paul Weidner
|
04dca2cf53
|
Update farm_quantity_log_asset to search for multiple records.
|
2019-09-25 11:05:05 -04:00 |
|
Paul Weidner
|
91f938e106
|
Add simple animal report view, show ID and current weight
|
2019-09-25 11:05:05 -04:00 |
|
Paul Weidner
|
bbf9a7776f
|
Add link to animal report
|
2019-09-25 11:05:05 -04:00 |
|
Michael Stenta
|
8ffb86c3dc
|
Change "Length" measure label to "Length/depth".
|
2019-09-17 14:04:02 -04:00 |
|
Michael Stenta
|
da91c3d18f
|
Add Feeds importer mapping for extra fields on Purchase logs.
|
2019-09-09 13:10:22 -04:00 |
|
Michael Stenta
|
1d4d513c3c
|
Fix Notice: Undefined variable: entity_ids in farm_fields_autocomplete().
|
2019-09-02 11:11:56 -04:00 |
|
Michael Stenta
|
e7c924307a
|
Add a helper function for deleting a quantity measurement from a log, based on its label.
|
2019-08-27 14:22:20 -04:00 |
|
Michael Stenta
|
c4a67637e5
|
Make farm_quantity_log_update_measurement_by_label() more specific.
|
2019-08-27 14:21:35 -04:00 |
|
Michael Stenta
|
12c63b1c45
|
Create the base breadcrumb from the frontpage menu item, so "Farm" can be overridden.
|
2019-08-26 16:05:20 -04:00 |
|
Michael Stenta
|
b0d011bd7f
|
Fix Views implicit relationship overwriting.
|
2019-08-23 16:56:39 -04:00 |
|
Michael Stenta
|
1db9cebd02
|
Describe the plan record relationship entity ID column to Views.
|
2019-08-23 14:06:14 -04:00 |
|
Michael Stenta
|
fd82b12a9f
|
Create an implicit Views relationship between plan record relationship tables and the {farm_plan} table.
|
2019-08-23 14:06:00 -04:00 |
|
Michael Stenta
|
729e996261
|
Add a computed geometry property to assets that shows the geometry of their most recent completed movement log.
|
2019-08-23 11:32:09 -04:00 |
|
Michael Stenta
|
fa35ac74e8
|
Allow API access from https://farmOS.app.
|
2019-08-21 10:32:06 -04:00 |
|
Michael Stenta
|
acfa67867e
|
Fix farm_plan_logs View not appearing on all plan types.
|
2019-08-14 09:42:05 -04:00 |
|
Michael Stenta
|
8ecff7de26
|
Add the Google Maps API key to /farm.json.
|
2019-08-12 21:19:25 -04:00 |
|
Michael Stenta
|
ffcd2a888a
|
If a plan is made inactive, archive all assets linked to it, and vice versa.
|
2019-08-12 14:15:37 -04:00 |
|
Michael Stenta
|
0c8fdccef2
|
Fix lot number label in sale and purchase list columns.
|
2019-08-01 10:19:17 -04:00 |
|
Michael Stenta
|
cf66b789fb
|
Add seed lot number field to seeding logs.
|
2019-08-01 10:19:17 -04:00 |
|
Skipper-is
|
ddbd920364
|
Added 3 commonly used audio formats for the allowed file upload types. #190
|
2019-07-31 09:04:15 -04:00 |
|
Mattias Sandström
|
39507038cd
|
Fixed problems when BC math is missing #188
|
2019-07-18 12:37:52 -04:00 |
|
Michael Stenta
|
77476ea263
|
Remove debug statement.
|
2019-07-17 16:06:11 -04:00 |
|
Michael Stenta
|
d8ffffea8c
|
Improve plan map rendering so that it matches maps on asset pages.
|
2019-07-17 15:33:59 -04:00 |
|
Michael Stenta
|
c5699e3df0
|
Enable Farm Fields Autocomplete module.
|
2019-07-17 13:42:29 -04:00 |
|
Michael Stenta
|
b768f07f87
|
Initial commit of farm fields autocomplete module.
|
2019-07-17 09:49:09 -04:00 |
|
Michael Stenta
|
8824cce727
|
Add system of measurement to /farm.json.
|
2019-07-11 21:05:31 -04:00 |
|
Michael Stenta
|
5126bbe98a
|
Fix relative path in "entity is part of plan" message.
|
2019-07-11 16:07:35 -04:00 |
|
Michael Stenta
|
0f77fc7cd3
|
Summarize areas and assets associated with a plan.
|
2019-07-11 14:41:52 -04:00 |
|
Michael Stenta
|
316440f103
|
Update usage of $done in farm_movement_asset_location().
|
2019-07-11 14:16:09 -04:00 |
|
Michael Stenta
|
4fe8b67d64
|
Farm Plan Map module: Adds a map of areas and assets in a plan.
|
2019-07-11 13:42:24 -04:00 |
|
Michael Stenta
|
3e4bbadf94
|
Fix "Area is in plan" message. Term entity is in $build['#term'] not $build['#entity'].
|
2019-07-11 13:36:12 -04:00 |
|
Michael Stenta
|
f37d7e7343
|
Fix implicit join between {taxonomy_term_data} and {farm_plan_area}. Table name is different than entity type machine name.
|
2019-07-11 13:35:22 -04:00 |
|
Michael Stenta
|
7028128655
|
Add a generic form for removing a record from a plan, and optionally deleting it.
|
2019-07-11 13:28:31 -04:00 |
|
Michael Stenta
|
9f9fd1d5a6
|
Refactor farm_plan_consideration_farm_constraint() to include information about considerations that reference entities.
|
2019-07-10 10:08:19 -04:00 |
|
Michael Stenta
|
90a3185431
|
Return farm_constraint_table_references() in farm_plan_farm_constraint().
|
2019-07-10 10:08:19 -04:00 |
|
Michael Stenta
|
23227c0685
|
Split farm_constraint_table_references() out of farm_constraint_table_references_exist() and refactor to include information about matching records.
|
2019-07-10 10:08:19 -04:00 |
|
Michael Stenta
|
600e32519e
|
Refactor farm_constraint_farm_constraint() to include information about field references and term children.
|
2019-07-10 10:08:19 -04:00 |
|
Michael Stenta
|
b76bd94821
|
Encourage implementations of hook_farm_constraint() to include more information.
|
2019-07-10 10:08:19 -04:00 |
|
Michael Stenta
|
d4fa850f25
|
Add @todo to provide better API constraint feedback.
|
2019-07-10 10:08:19 -04:00 |
|
Michael Stenta
|
64772671f2
|
Break farm_constraint_list() out of farm_constraint_exists().
|
2019-07-10 10:08:19 -04:00 |
|
Michael Stenta
|
518e74aca3
|
Add missing $bundle parameter to farm_constraint_exists() docblock.
|
2019-07-10 10:08:19 -04:00 |
|
Michael Stenta
|
2d5b5eb28d
|
Do not limit constraint field reference search.
|
2019-07-10 10:08:19 -04:00 |
|
Michael Stenta
|
766454b0b7
|
Split animal weight code to farm_livestock_weight.
|
2019-07-09 14:04:42 -04:00 |
|
Michael Stenta
|
71cc3c3508
|
Add a link to the farmOS forum on /farm/help.
|
2019-07-04 00:09:22 -04:00 |
|
Michael Stenta
|
dbbfd895ff
|
Fix #180 Grouping error: 7 ERROR: column "ss_log.timestamp" must appear in the GROUP BY clause or be used in an aggregate function
|
2019-07-03 22:27:27 -04:00 |
|
Michael Stenta
|
bcc0a55039
|
Be more explicit with $type parameter docblock in log query functions.
|
2019-06-26 14:28:21 -04:00 |
|
Michael Stenta
|
97119dbd5a
|
Allow filtering to find logs that are not done with farm_log_query().
|
2019-06-26 14:27:47 -04:00 |
|
Michael Stenta
|
6490848025
|
When deleting a plan, display a list of records that will be unlinked.
|
2019-06-19 15:50:39 -04:00 |
|
Michael Stenta
|
ecf2d56ab9
|
Clean up plan/record relationships when entities are deleted.
|
2019-06-19 15:50:39 -04:00 |
|
Michael Stenta
|
72d1f50f6d
|
Use entity_id() instead of entity_extract_ids().
|
2019-06-19 14:15:40 -04:00 |
|
Michael Stenta
|
67de799b8c
|
Fix path to plan in linked entity message.
|
2019-06-19 14:15:40 -04:00 |
|
Michael Stenta
|
eeb1d84639
|
Display message on entities: "this is part of plan X"
|
2019-06-05 10:00:00 -04:00 |
|
Michael Stenta
|
55718d104a
|
Add a helper function for updating a log quantity measurement value based on its label.
|
2019-05-30 11:17:22 -04:00 |
|
Michael Stenta
|
4911902fd0
|
Display a View of logs associated with the plan on the plan entity view page.
|
2019-05-30 11:15:01 -04:00 |
|
Michael Stenta
|
1ca5db54c6
|
Add a View of logs associated with a plan.
|
2019-05-30 11:15:01 -04:00 |
|
Michael Stenta
|
1f083bfcc0
|
Describe relationships between plans and other record types to Views.
|
2019-05-30 11:15:01 -04:00 |
|
Michael Stenta
|
94291e4b92
|
Fix current location field maxlength is too short #175
|
2019-05-28 12:39:14 -04:00 |
|
Michael Stenta
|
ae578b2a9c
|
Fix PHP Warning: A non-numeric value encountered in farm_area_calculate_area_multiple().
|
2019-05-27 16:49:32 -04:00 |
|
Skipper-is
|
ca1d2c5919
|
Specify $conversion array key
Specified the $conversion array's key.
|
2019-05-25 10:07:05 +01:00 |
|
Michael Stenta
|
fba4868434
|
Add help text to views of plantings, seedings, and transplantings describing their differences.
|
2019-05-08 15:42:32 -04:00 |
|
Michael Stenta
|
f4413324c7
|
Add a function for loading a list of record IDs associated with a plan.
|
2019-05-08 13:12:15 -04:00 |
|
Michael Stenta
|
6d4b22309e
|
Update farm_plan_link_record() and farm_plan_unlink_record() docblocks to reference farm_plan_record_relationships().
|
2019-05-08 13:12:15 -04:00 |
|
Michael Stenta
|
49e8a2eec2
|
Add "Quantity" translatable to sale and purchase Views.
|
2019-05-01 11:01:42 -04:00 |
|
Michael Stenta
|
ebb67f72f8
|
Allow linking Sale and Purchase logs to Areas.
|
2019-05-01 11:01:35 -04:00 |
|
Michael Stenta
|
5fca7fc32a
|
Use farm_plan_record_relationships() in farm_plan_plan_constraint().
|
2019-04-30 15:23:36 -04:00 |
|
Michael Stenta
|
0c9f869526
|
Add functions for linking/unlinking plans with other records.
|
2019-04-30 15:23:36 -04:00 |
|
Michael Stenta
|
c257e286a9
|
Implement hook_farm_constraint() to prevent deletion of records linked to plans.
|
2019-04-30 15:19:10 -04:00 |
|
Michael Stenta
|
660ad0c142
|
Add a helper function for checking to see if an entity reference exists in a database table.
|
2019-04-30 15:19:10 -04:00 |
|
Michael Stenta
|
37270ec25c
|
Add new database schemas for maintaining links between plans and other farmOS records (areas, assets, logs, and people).
|
2019-04-30 11:01:49 -04:00 |
|
Michael Stenta
|
cd5d51541c
|
Revert "Default to showing "any" logs in quantity report View (done and not done)."
This reverts commit f327a8997d .
|
2019-04-30 10:33:14 -04:00 |
|
Michael Stenta
|
f327a8997d
|
Default to showing "any" logs in quantity report View (done and not done).
|
2019-04-30 10:17:09 -04:00 |
|
Michael Stenta
|
beb14d984c
|
Issue #3043569: API field aliasing overrides existing fields
|
2019-04-24 17:13:53 -04:00 |
|
Michael Stenta
|
65b58591da
|
Display all results in sensor data CSV export.
|
2019-04-23 17:48:33 -04:00 |
|
Michael Stenta
|
e4f9f5764b
|
Add equipment use logs to equipment page.
|
2019-04-18 16:23:34 -04:00 |
|
Michael Stenta
|
a3b86164ed
|
View of Equipment use logs, with an required contextual filter for the equipment asset.
|
2019-04-18 16:23:34 -04:00 |
|
Michael Stenta
|
49eb8f1938
|
Reformat group/inventory/movement log view titles: "[type] logs" (instead of "Logs of [type]").
|
2019-04-18 16:23:03 -04:00 |
|
Michael Stenta
|
dcc8ea8ffd
|
Remove extraneous argument from farm_api_farm_info().
|
2019-04-15 12:49:09 -04:00 |
|
Michael Stenta
|
42d284330d
|
Minor comment fix.
|
2019-04-12 14:42:17 -04:00 |
|
Michael Stenta
|
294292511a
|
Fix error submitting soil amendment quick form (inputs accept multiple materials).
|
2019-04-12 14:41:47 -04:00 |
|
Michael Stenta
|
7457cd8261
|
Show farm_asset_entityreference_view header with no results.
|
2019-04-11 00:00:39 -04:00 |
|
Michael Stenta
|
68b540cf61
|
Add a farm_equipment_entityreference_view.
|
2019-04-11 00:00:39 -04:00 |
|
Michael Stenta
|
5c89340268
|
Adjust field group weights for consistency.
|
2019-04-11 00:00:39 -04:00 |
|
Michael Stenta
|
5083faa63d
|
Create an Equipment field group for the Equipment used field.
|
2019-04-11 00:00:39 -04:00 |
|
Michael Stenta
|
d1bd600d4b
|
remove features
|
2019-04-11 00:00:39 -04:00 |
|
Michael Stenta
|
611de73ee0
|
Refactor farm_equipment_field to use farm_dynamic_fields.
|
2019-04-11 00:00:39 -04:00 |
|
Michael Stenta
|
d5324e9222
|
Move "Equipment used" field to its own module: farm_equipment_field.
|
2019-04-11 00:00:39 -04:00 |
|
Michael Stenta
|
e561c22497
|
Alter field_group info to add the "Equipment used" field to Assets/General group.
|
2019-04-11 00:00:39 -04:00 |
|
Michael Stenta
|
edb67fb77a
|
Add "equipment used" field to logs on existing sites.
|
2019-04-11 00:00:39 -04:00 |
|
Michael Stenta
|
e33e152f7a
|
Add "Equipment used" field instance to all log types.
|
2019-04-11 00:00:39 -04:00 |
|
Michael Stenta
|
04e65772a3
|
Add a field_farm_equipment field base definition.
|
2019-04-11 00:00:39 -04:00 |
|
Michael Stenta
|
b0cac436a4
|
Move implementations of hook_form_FORM_ID_alter() to farm_data_field.module.
|
2019-04-10 23:59:19 -04:00 |
|
Michael Stenta
|
d53d67d047
|
Use farm_fields_dynamic to create the data field (in a new module).
|
2019-04-10 15:16:39 -04:00 |
|
Michael Stenta
|
749ac0458f
|
Add a new farm_fields_dynamic module to standardize the creation of dynamic fields.
|
2019-04-10 15:09:43 -04:00 |
|
Michael Stenta
|
c49cc37173
|
Remove "Quantity" label from Views definitions (Features were overridden with it).
|
2019-04-10 12:29:02 -04:00 |
|
Michael Stenta
|
32c9ad9290
|
Add data field to assets.
|
2019-04-09 14:38:56 -04:00 |
|
Michael Stenta
|
8a2ed36d3b
|
Hide the data field in log forms.
|
2019-04-09 14:38:56 -04:00 |
|
Michael Stenta
|
ab871b8d2b
|
Add data field instances via update.php.
|
2019-04-09 14:38:56 -04:00 |
|
Michael Stenta
|
5d60859e1b
|
Add data field instance to all log types.
|
2019-04-09 14:38:56 -04:00 |
|
Michael Stenta
|
9961334fe7
|
Add a field_farm_data field base definition.
|
2019-04-09 14:38:56 -04:00 |
|
Michael Stenta
|
5fab821aa3
|
Add timestamp to log name patterns.
|
2019-04-09 14:38:55 -04:00 |
|
Michael Stenta
|
66c926f37b
|
Fix sensor Views Features export.
|
2019-04-09 14:38:55 -04:00 |
|
Michael Stenta
|
97e5022ff7
|
Add label to location and assets properties to fix PHP notice.
|
2019-04-09 14:35:52 -04:00 |
|
Michael Stenta
|
ec94f32f7d
|
Add "rate" to the list of quantity measures.
|
2019-04-08 15:49:27 -04:00 |
|
Michael Stenta
|
f469e6d607
|
Add vocabulary ID to taxonomy_term resource bundles in farm.json (instead of duplicating as taxonomy_vocabulary resource).
|
2019-04-08 14:00:43 -04:00 |
|
Michael Stenta
|
ec02c334e0
|
Describe missing taxonomies with hook_farm_ui_entities(): log categories, input materials, quantity units, season, and soil names.
|
2019-04-08 13:59:41 -04:00 |
|
Michael Stenta
|
bbd45fe0a1
|
Issue #3043560: Add a computed assets property to areas.
|
2019-04-01 15:56:53 -04:00 |
|
Michael Stenta
|
886de46530
|
Add functions for getting the list of assets in an area (cloned from group membership functions).
|
2019-04-01 15:56:53 -04:00 |
|
Michael Stenta
|
4af676cc8b
|
farm_group depends on farm_log.
|
2019-04-01 15:56:53 -04:00 |
|
Michael Stenta
|
7b506bc536
|
Add query tags in query helper functions.
|
2019-04-01 15:56:53 -04:00 |
|
Michael Stenta
|
218a048709
|
Issue #3043560: Add location property to assets
|
2019-04-01 15:56:53 -04:00 |
|
Michael Stenta
|
01f2da224e
|
Bump the FARM_API_VERSION to 1.1.
|
2019-04-01 15:56:53 -04:00 |
|
Michael Stenta
|
eb1cf2d826
|
Describe the available resources (entity types) in /farm.json.
|
2019-04-01 15:56:53 -04:00 |
|
Michael Stenta
|
686a5c96cf
|
Invoke hook_farm_info() to collect info for /farm.json.
|
2019-04-01 15:56:53 -04:00 |
|
Michael Stenta
|
bd0d8006c7
|
hook_farm_map_entity_geometries docblock.
|
2019-04-01 15:56:53 -04:00 |
|
Michael Stenta
|
29b7ad3fd3
|
Add a @todo to move farm_ui_entities() to farm_entity_info().
|
2019-04-01 15:56:17 -04:00 |
|
Michael Stenta
|
130b9301a5
|
Add metrics for total number of areas, and total area of certain area types.
|
2019-04-01 15:56:17 -04:00 |
|
Michael Stenta
|
256abebdb4
|
Add a helper function for calculating the total area of all areas of a particular type.
|
2019-04-01 15:56:17 -04:00 |
|
Michael Stenta
|
19752aff93
|
Provide metrics for asset type counts.
|
2019-04-01 15:56:17 -04:00 |
|
Michael Stenta
|
986900255b
|
Add a dashboard pane for displaying farm metrics, along with a hook that modules can use to provide metrics.
|
2019-03-30 09:37:50 -04:00 |
|
Michael Stenta
|
bd75127d22
|
Use drupal_write_record() instead of db_query() in farm_soil_nrcs_insert_operations().
|
2019-03-25 13:09:28 -04:00 |
|
Michael Stenta
|
829d6231bc
|
Allow editing of seeding and transplanting log names.
|
2019-03-18 16:32:16 -04:00 |
|
Michael Stenta
|
858b7f9900
|
Make sure that farm_api's implementation of hook_restws_request_alter() runs before restws_file's.
|
2019-03-13 10:05:56 -04:00 |
|
Michael Stenta
|
30710d5d9a
|
Add an api_version property to /farm.json.
|
2019-03-07 12:28:36 -05:00 |
|
Michael Stenta
|
2a98a288ee
|
Issue #2991398: Remove field_farm_ namespace from field names in API requests.
|
2019-03-07 12:28:36 -05:00 |
|
Michael Stenta
|
3f17afcf63
|
Implement hook_restws_field_collection_info() for field collections: Group Memberships, Inventory Adjustments, Animal Tag IDs, Movements, and Quantity Measurements.
|
2019-03-06 17:35:11 -05:00 |
|
Michael Stenta
|
a1e0e41cde
|
Install the restws_field_collection module on new and existing sites.
|
2019-03-06 17:35:11 -05:00 |
|
Michael Stenta
|
1c39bb754d
|
Add information about the currently authenticated user to /farm.json.
|
2019-02-18 12:01:49 -05:00 |
|
Michael Stenta
|
033f10cea1
|
Remove email address from farm_people View.
|
2019-02-18 12:01:32 -05:00 |
|
Michael Stenta
|
1176a2f958
|
Add farm_access submit function to permissions form if any farm roles exist.
|
2019-02-17 20:01:45 -05:00 |
|
Michael Stenta
|
f3200d50ca
|
Do not grant the "administer users" permission.
|
2019-02-17 20:00:22 -05:00 |
|
Michael Stenta
|
b7965ef655
|
Remove role_delegation permissions.
|
2019-02-17 20:00:22 -05:00 |
|
Michael Stenta
|
c9aad82bde
|
Check action link path validity (including user access).
|
2019-02-17 20:00:22 -05:00 |
|
Michael Stenta
|
f8d44ba8e4
|
Remove bulk operations and edit column from /farm/people View.
|
2019-02-17 20:00:22 -05:00 |
|
Jamie Gaehring
|
598f7ef3fb
|
grant access to files via restws
|
2019-02-14 17:43:35 -05:00 |
|
Michael Stenta
|
ca898a9ad3
|
Issue #3032496: SQL syntax error breaking asset type lists (crops/varieties, species/breeds, etc)
|
2019-02-12 15:56:23 -05:00 |
|
Michael Stenta
|
25921a38da
|
Grant access to the /user.json path for farm roles.
|
2019-02-07 12:43:27 -05:00 |
|
Michael Stenta
|
e6a87e7112
|
Fix farm.json endpoint access permission on farm access roles.
|
2019-02-05 13:01:16 -05:00 |
|
Michael Stenta
|
b30ca150ac
|
Issue #3029581: API endpoint for general farm info
|
2019-01-30 17:32:37 -05:00 |
|
Michael Stenta
|
b8489b3ac0
|
Do not allow null timestamp values in sensor data table.
|
2019-01-26 11:20:24 -05:00 |
|
Michael Stenta
|
a9ba0db61e
|
Issue #2873158: Multiple materials in one input log
|
2019-01-22 13:01:34 -05:00 |
|
Michael Stenta
|
71a9cd3cd4
|
Issue #3027067: API can't filter archived assets
|
2019-01-21 13:19:38 -05:00 |
|
Michael Stenta
|
98d1547729
|
Fix exported translatables in quantity report view.
|
2019-01-21 12:44:30 -05:00 |
|
Michael Stenta
|
b3fb37cb11
|
Add area field and filter to quantity report view.
|
2019-01-21 12:44:16 -05:00 |
|
Michael Stenta
|
763ae8da6c
|
Add SOURCES.md to cite 2008 RUSLE2 manual for STIR operations.
|
2019-01-20 15:19:10 -05:00 |
|
Michael Stenta
|
50e12487f9
|
Move taxonomy_terms_per_page_admin variable to hook_install()+hook_update_N().
|
2019-01-14 09:54:51 -05:00 |
|
Michael Stenta
|
dbd395ef66
|
Issue #3025774: Can't rearrange area hierarchy across multiple pages
|
2019-01-14 09:31:22 -05:00 |
|
Michael Stenta
|
ad7386e18e
|
Clarify how location is chosen in comment and description.
|
2019-01-08 15:12:48 -05:00 |
|
Michael Stenta
|
8201836df3
|
Move implode()s closer together so it's easier to see how the planting name is assembled.
|
2019-01-08 15:12:04 -05:00 |
|
Michael Stenta
|
a71764d840
|
Coding standards: whitespace.
|
2019-01-08 15:10:56 -05:00 |
|
Paul Weidner
|
4102776dff
|
Add location to comment
|
2019-01-08 11:12:03 -08:00 |
|
Paul Weidner
|
39a84a4db8
|
Add description to the planting asset name field
|
2019-01-08 11:09:22 -08:00 |
|
Paul Weidner
|
5846276626
|
Autofill location in the asset name
|
2019-01-08 11:09:04 -08:00 |
|
Michael Stenta
|
33937bc2f7
|
Comments: add punctuation, minor rewording.
|
2019-01-08 13:33:30 -05:00 |
|
Michael Stenta
|
f6f3c73ade
|
Move $form_values alias to the top and replace other usages.
|
2019-01-08 13:30:13 -05:00 |
|
Paul Weidner
|
f33dc32ca1
|
Use the default season that is already stored
|
2019-01-08 10:00:59 -08:00 |
|
Paul Weidner
|
b041422c0a
|
Fix bug, the input changes were not included with the submitted form. Set the default value, not value.
|
2019-01-08 09:57:50 -08:00 |
|
Paul Weidner
|
9e4b966b88
|
Update the planting asset name to be submitted
|
2019-01-08 09:55:03 -08:00 |
|