3
0
Fork 0
mirror of https://github.com/farmOS/farmOS.git synced 2024-02-23 11:37:38 +01:00
Commit graph

7804 commits

Author SHA1 Message Date
Michael Stenta 8456962080 Add CHANGELOG.md line for Issue #3306227. 2022-08-26 11:30:35 -04:00
Michael Stenta 7d6cb34884 Issue #3306227: Dispatch events for asset presave, insert, update, delete 2022-08-26 09:28:55 -04:00
Michael Stenta 29106edda9 Re-export farm_asset and farm_log Views config (no functional changes). 2022-08-26 08:29:06 -04:00
Michael Stenta e23e390335 Improve API docs #557 2022-08-26 07:15:56 -04:00
Michael Stenta 5d6d889adf Organize unreleased CHANGELOG.md lines under "Added" and "Fixed" headings. 2022-08-26 07:14:26 -04:00
Michael Stenta be0ff3e118 Add CHANGELOG.md line for #557. 2022-08-26 07:14:26 -04:00
Paul Weidner 7bb85adc79 Add client libraries to API index.md. 2022-08-26 07:14:26 -04:00
Paul Weidner 952e9199ef Add basic JSON:API docs to API index.md. 2022-08-26 07:14:26 -04:00
Paul Weidner a13741876c Correct and standardize OAuth curl examples #556 2022-08-26 06:48:28 -04:00
Pedro Cambra 82433470c1 Issue #3306008 by pcambra: When not in entity context, template_preprocess_plan throws a warning 2022-08-26 05:21:34 -04:00
Michael Stenta 66642daef2 Make Data Stream Notifications a sub-tab of Notifications (and depend on farm_notification). 2022-08-15 09:25:34 -04:00
Farmer Ed cbb5d0127c Add button/menu item for data stream notifications collection page #555 2022-08-15 09:25:34 -04:00
Michael Stenta 0e42519709 Initial commit of core farm_notification module.
This simply provides a Notifications tab in the farmOS Settings
menu hierarchy, which other modules can add sub-tabs to.

In the future, we can consider putting general notification
logic here as well.

See: https://github.com/farmOS/farmOS/pull/555#issuecomment-1213047719
2022-08-15 09:25:34 -04:00
Farmer Ed fc77c86abe Fix for Autocomplete dropdown not showing in Chrome on Android #552 2022-08-04 09:27:17 -04:00
Michael Stenta 4040f17f6d farmOS 2.0.0-beta6 2022-07-30 11:21:34 -04:00
Michael Stenta 81d3f20aa4 Fix getInventory() $units data type in documentation (term ID, not string). 2022-07-30 11:15:56 -04:00
Michael Stenta bfbaabe726 Update Drupal core to 9.3.20. 2022-07-30 11:15:40 -04:00
Michael Stenta 83eb5df889 Update Drupal core to 9.3.19. 2022-07-20 14:54:03 -04:00
Michael Stenta b38fcc949e Update drupal/jsonapi_schema to 1.0-beta2. 2022-07-19 16:53:34 -04:00
Paul Weidner 76afd0f405 Add 2.0.0-beta5 release date to changelog. 2022-07-16 14:59:17 -04:00
Paul Weidner 7463f81f1d Implement BaseFormIdInterface and build a unique form ID from the id route parameter. 2022-06-27 11:33:25 -07:00
Pedro e434715e74 Don't lock ext-simplexml to PHP 7 #546
When installing from scratch, I am getting a PHP7 requirement:

```
 ddev composer create farmos/project --stability dev --no-interaction
Warning: MOST EXISTING CONTENT in the composer root (/Users/pcambra/webs/ecotrust/vanilla-farmos) will be deleted by the composer create-project operation. Only .ddev, .git and .tarballs will be preserved.
Would you like to continue? [Y/n] (yes):
Removing any existing files in composer root
Executing composer command: [composer create-project farmos/project --stability dev --no-interaction /tmp/GtolPx]

Creating a "farmos/project" project at "/tmp/GtolPx"
Installing farmos/project (2.x-dev 5214879c44c421e5160a0091412279ea6790f979)
  - Downloading farmos/project (2.x-dev 5214879)
  - Installing farmos/project (2.x-dev 5214879): Extracting archive
Created project in /tmp/GtolPx
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - farmos/farmos[2.0.0-beta1, ..., 2.0.0-beta5] require ext-simplexml ^7.4 -> it has the wrong version installed (8.0.16).
    - Root composer.json requires farmos/farmos ^2@beta -> satisfiable by farmos/farmos[2.0.0-beta1, ..., 2.0.0-beta5].

To enable extensions, verify that they are enabled in your .ini files:
    - /etc/php/8.0/cli/php.ini
    - /etc/php/8.0/cli/conf.d/10-mysqlnd.ini
    - /etc/php/8.0/cli/conf.d/10-opcache.ini
    - /etc/php/8.0/cli/conf.d/10-pdo.ini
    - /etc/php/8.0/cli/conf.d/15-xml.ini
    - /etc/php/8.0/cli/conf.d/20-apcu.ini
    - /etc/php/8.0/cli/conf.d/20-assert.ini
    - /etc/php/8.0/cli/conf.d/20-bcmath.ini
    - /etc/php/8.0/cli/conf.d/20-bz2.ini
    - /etc/php/8.0/cli/conf.d/20-calendar.ini
    - /etc/php/8.0/cli/conf.d/20-ctype.ini
    - /etc/php/8.0/cli/conf.d/20-curl.ini
    - /etc/php/8.0/cli/conf.d/20-dom.ini
    - /etc/php/8.0/cli/conf.d/20-exif.ini
    - /etc/php/8.0/cli/conf.d/20-ffi.ini
    - /etc/php/8.0/cli/conf.d/20-fileinfo.ini
    - /etc/php/8.0/cli/conf.d/20-ftp.ini
    - /etc/php/8.0/cli/conf.d/20-gd.ini
    - /etc/php/8.0/cli/conf.d/20-gettext.ini
    - /etc/php/8.0/cli/conf.d/20-iconv.ini
    - /etc/php/8.0/cli/conf.d/20-igbinary.ini
    - /etc/php/8.0/cli/conf.d/20-imagick.ini
    - /etc/php/8.0/cli/conf.d/20-intl.ini
    - /etc/php/8.0/cli/conf.d/20-ldap.ini
    - /etc/php/8.0/cli/conf.d/20-mbstring.ini
    - /etc/php/8.0/cli/conf.d/20-msgpack.ini
    - /etc/php/8.0/cli/conf.d/20-mysqli.ini
    - /etc/php/8.0/cli/conf.d/20-pdo_mysql.ini
    - /etc/php/8.0/cli/conf.d/20-pdo_pgsql.ini
    - /etc/php/8.0/cli/conf.d/20-pdo_sqlite.ini
    - /etc/php/8.0/cli/conf.d/20-pgsql.ini
    - /etc/php/8.0/cli/conf.d/20-phar.ini
    - /etc/php/8.0/cli/conf.d/20-posix.ini
    - /etc/php/8.0/cli/conf.d/20-readline.ini
    - /etc/php/8.0/cli/conf.d/20-redis.ini
    - /etc/php/8.0/cli/conf.d/20-shmop.ini
    - /etc/php/8.0/cli/conf.d/20-simplexml.ini
    - /etc/php/8.0/cli/conf.d/20-soap.ini
    - /etc/php/8.0/cli/conf.d/20-sockets.ini
    - /etc/php/8.0/cli/conf.d/20-sqlite3.ini
    - /etc/php/8.0/cli/conf.d/20-sysvmsg.ini
    - /etc/php/8.0/cli/conf.d/20-sysvsem.ini
    - /etc/php/8.0/cli/conf.d/20-sysvshm.ini
    - /etc/php/8.0/cli/conf.d/20-tokenizer.ini
    - /etc/php/8.0/cli/conf.d/20-uploadprogress.ini
    - /etc/php/8.0/cli/conf.d/20-xmlreader.ini
    - /etc/php/8.0/cli/conf.d/20-xmlrpc.ini
    - /etc/php/8.0/cli/conf.d/20-xmlwriter.ini
    - /etc/php/8.0/cli/conf.d/20-xsl.ini
    - /etc/php/8.0/cli/conf.d/20-zip.ini
    - /etc/php/8.0/cli/conf.d/25-memcached.ini
You can also run `php --ini` in a terminal to see which files are used by PHP in CLI mode.
Alternatively, you can run Composer with `--ignore-platform-req=ext-simplexml` to temporarily ignore these required extensions.
Failed to create project:exit status 2, stderr=
```

I think leaving the dependency as "*" would fix this.
2022-06-23 07:42:08 -04:00
Michael Stenta 28c32843c1 Issue #3290993 by paul121: Add "Move asset" button next to the current location field 2022-06-21 08:44:07 -04:00
Michael Stenta f6e12ecd22 Add CHANGELOG.md record for issue #3290993. 2022-06-21 08:43:42 -04:00
Paul Weidner ea92bd122d Render without location and move asset button by default. 2022-06-21 08:12:22 -04:00
Paul Weidner 99c3319cce If the asset is fixed don't render additional information. 2022-06-21 08:12:22 -04:00
Paul Weidner badaf9680c Use asset_current_location formatter for the asset location computed field. 2022-06-21 08:12:22 -04:00
Paul Weidner 874dfad08b Add asset_current_location field formatter. 2022-06-21 08:12:22 -04:00
Paul Weidner bab081692a Allow asset IDs to be passed as query params to asset move form. 2022-06-21 08:12:22 -04:00
Michael Stenta 62e54951f2 Issue #3290929: Provide a farmOS map form element 2022-06-19 17:47:51 -04:00
Michael Stenta c60b7d1597 Add a CHANGELOG.md entry for issue #3290929. 2022-06-19 10:29:43 -04:00
Michael Stenta 465bdf59ba Document how to use farmOS-map elements and behaviors in farmOS modules. 2022-06-19 10:29:43 -04:00
Michael Stenta e70b092c05 Return a string value from farm_map_input elements instead of an array. 2022-06-18 15:33:31 -04:00
Michael Stenta de94168269 Respect the #disabled form element by disabling edit control and textfield/hidden input. 2022-06-18 07:52:39 -04:00
Michael Stenta 8311576848 Do not show raw geometry field by default. 2022-06-18 07:52:39 -04:00
Michael Stenta a1a015cc58 Remove geofield_widget map type. 2022-06-18 07:52:39 -04:00
Michael Stenta a516fd4218 Default #map_type to "default" instead of "geofield_widget". 2022-06-18 07:52:39 -04:00
Michael Stenta e5f8594098 Add wkt and input behaviors to all farm_map_input elements by default. 2022-06-18 07:52:39 -04:00
Michael Stenta 388a0f43b1 Make the map input text field title invisible. 2022-06-18 07:52:39 -04:00
Michael Stenta b6744a3cd3 Set the map input text field title to that of the parent element + "WKT". 2022-06-18 07:52:39 -04:00
Michael Stenta 7923c06740 Do not wrap map input element in a fieldset by default. 2022-06-18 07:52:39 -04:00
Michael Stenta 4574cc5e9b Allow #behaviors to be added directly to farm_map and farm_map_input elements. 2022-06-18 07:52:39 -04:00
Michael Stenta ebeda67be4 Recursively merge provided map settings into defaults. 2022-06-18 07:52:39 -04:00
Michael Stenta 70e8b1f9ea Always default #map_settings to an empty array. 2022-06-18 07:52:39 -04:00
Michael Stenta ba6000ebc6 Add map element validation to check for valid geometry. 2022-06-18 07:52:39 -04:00
Michael Stenta a5d442ba63 Rename the geofield map behavior to input. 2022-06-18 07:52:39 -04:00
Michael Stenta 36cc27bbf1 Rename farm_map_wkt element to farm_map_input. 2022-06-18 07:52:39 -04:00
Michael Stenta 26c9746681 Add automated tests for map form element. 2022-06-18 07:52:39 -04:00
Michael Stenta 0516346d23 Fix Notice: Undefined index: #default_value 2022-06-18 07:52:38 -04:00
Paul Weidner 6e6c96eeef Update GeofieldWidget to use farm_map_wkt. 2022-06-18 07:52:38 -04:00