Commit Graph

3868 Commits

Author SHA1 Message Date
Michael Stenta 2e12d76553 Issue #3129409: Use click sorting instead of exposed sort in Views 2020-04-23 14:59:43 -04:00
Michael Stenta 8f01b05a58 Add note to farm_log_entity_label_summary() emphasizing that it is the responsibility of downstream code to sanitize entity labels. 2020-04-23 11:30:02 -04:00
Michael Stenta 6bd7c0aa84 Don't escape more variables that are being saved to log names. 2020-04-23 11:29:45 -04:00
Michael Stenta 327894095f Escape special characters in entity_label() usages. 2020-04-23 11:29:19 -04:00
Michael Stenta ba90a84c19 Don't escape measure and units before saving them. They will be sanitized by Drupal when they are loaded into the form #default_value. 2020-04-23 10:49:24 -04:00
Michael Stenta 9b1a87dcbe Translate untranslated drupal_set_message() function calls. 2020-04-23 10:46:19 -04:00
Michael Stenta 27f657d399 Escape characters in log names through quick forms #265 2020-04-23 10:21:10 -04:00
Michael Stenta 0944d92ad1 Fix preg_match() in birth and milk quick forms to work with archived assets. 2020-04-23 09:40:49 -04:00
Michael Stenta e485fc16bf Use htmlspecialchars() instead of check_plain() in asset and field autocompletes to preserve apostrophes. 2020-04-23 09:35:48 -04:00
Michael Stenta 7069c8eff9 Generalize "Archive assets" importer target and add to all log type importers. 2020-04-23 08:26:49 -04:00
Michael Stenta 247bc024ad Trim whitespace from Asset IDs in CSV imports. 2020-04-23 07:41:47 -04:00
Michael Stenta 8bbc67a784 Only archive assets that are not already archived. 2020-04-23 07:39:39 -04:00
pcambra 202a34f291 Issue #3128665 by pcambra: Archive assets via Harvest log CSV importer 2020-04-23 07:38:42 -04:00
Michael Stenta 250ffe575d Fix #272 hook_install() (again)! 2020-04-22 15:08:16 -04:00
Michael Stenta ff88327dac Issue #3092756: Add quantity fields to medical logs 2020-04-21 14:49:21 -04:00
Michael Stenta 81daf61664 Issue #2784911: Add quantity fields to water test logs 2020-04-21 14:49:21 -04:00
Michael Stenta 6cb3626faf Issue #2784911: Add quantity fields to soil test logs 2020-04-21 14:49:21 -04:00
Michael Stenta 75a4e8e491 Issue #3092757: Add Vet field to Medical log 2020-04-21 14:49:17 -04:00
Michael Stenta 5888a3410b Issue #3049153: Duplicate assets when filtering by multiple groups or location 2020-04-20 16:05:54 -04:00
Michael Stenta 5a8c774e39 Misc Livestock Features updates. 2020-04-20 15:23:09 -04:00
Michael Stenta cb1bc01cb2 Add translatables for equipment Views. 2020-04-20 15:22:33 -04:00
Michael Stenta aae298097e Issue #3049153: Duplicate assets when filtering by multiple groups or location 2020-04-20 15:17:40 -04:00
Michael Stenta 137f73a1d7 Merge remote-tracking branch 'origin/7.x-1.x' into 7.x-1.x 2020-04-16 20:24:34 -04:00
symbioquine 9cb015f95f Fix minor UI bug with Glyphicons being duplicated
Updated fix based on https://github.com/farmOS/farmOS/pull/275#issuecomment-614697939
2020-04-16 11:03:29 -04:00
Michael Stenta d0f1aafc37 Update Colorbox to 7.x-2.15. 2020-04-16 10:48:02 -04:00
Michael Stenta 31cfe1686e Fix Notice: Undefined variable: options in farm_livestock_weight_group_report_form() 2020-04-16 10:47:19 -04:00
pcambra 94e999d01d Issue #2957726 by pcambra: Collapsing areas in Farm Area overview 2020-04-16 08:38:44 -04:00
Michael Stenta 49ed027cb0 Move Github link out of docblock comment. Doesn't display properly in install.php UI. 2020-04-15 10:55:48 -04:00
Michael Stenta 92a0b1f403 Fix #272 hook_install()! 2020-04-15 10:55:35 -04:00
Michael Stenta ca117e5dfe Add an install task for rehashing farmOS theme blocks. See #273 2020-04-14 11:08:35 -04:00
Michael Stenta 5ed42678d6 farmOS theme gets disabled during install #272 2020-04-13 23:06:28 -04:00
Michael Stenta 44684ab126 Make sure the farmOS theme is enabled. See #272 2020-04-13 23:05:25 -04:00
Michael Stenta 5c30ea34e2 Move code for enabling the farmOS theme to its own install task. See #272 2020-04-13 22:58:19 -04:00
Michael Stenta 867f3c063c Set the installation profile to farm in farmOS's hook_install(). See #272 2020-04-13 22:57:11 -04:00
Michael Stenta 544542c04b Update Views to 7.x-3.24 and remove committed patch. 2020-04-10 09:45:21 -04:00
Michael Stenta d4b941c361 Add some informative text to Docker entrypoint scripts when files are copied automatically. 2020-04-10 09:43:04 -04:00
Michael Stenta 028d2266c5 Update farmOS-map library to v1.0.1. 2020-04-10 00:11:03 -04:00
Michael Stenta efc40928d0 Update Fraction module to 7.x-1.9. 2020-04-09 16:02:02 -04:00
Michael Stenta 86db1840f7 Add clearfix to "Toggle map" link to fix tab overlap issue on mobile. 2020-04-09 15:37:42 -04:00
Michael Stenta 6bab998664 Add !important to map header CSS padding. 2020-04-09 15:20:51 -04:00
Michael Stenta 9c392b93e8 Convert sensor data denominator to a signed int because PostgreSQL does not support unsigned. #213 2020-04-09 10:59:59 -04:00
Paul Weidner 0bbec04d09 Check for optional client_secret before enabling oauth client. 2020-03-31 11:43:49 -04:00
Michael Stenta 62eb187003 Update restws patch. 2020-03-31 11:19:24 -04:00
Michael Stenta e9b6caa1d1 Hide the header map when a VBO action form is displayed. 2020-03-28 16:33:06 -04:00
Michael Stenta 1705dc4c5f Patch restws to fix Issue #2490416 (restws_basic_auth module conflicts with restws_oauth2_server). 2020-03-28 15:56:50 -04:00
Michael Stenta a491a84cd7 Issue #3122259: Remove Farm Tours and dependencies 2020-03-28 11:30:37 -04:00
Michael Stenta 9f794cc564 Issue #3034214 by m.stenta, paul121: farmOS OAuth2 Identity Provider 2020-03-25 11:30:30 -04:00
Michael Stenta 7da2be9b82 Disable farmOS OAuth2 clients when modules that provide them are disabled. 2020-03-25 11:28:45 -04:00
Michael Stenta 2fe098445d Refactor to remove the 'farm_api_enabled_clients' variable. 2020-03-25 11:23:51 -04:00
Michael Stenta 3826a57959 Automatically enable farmOS OAuth2 clients when the module that provides them is enabled. 2020-03-25 11:23:50 -04:00