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

81 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
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
aae298097e Issue #3049153: Duplicate assets when filtering by multiple groups or location 2020-04-20 15:17:40 -04:00
Michael Stenta
7457cd8261 Show farm_asset_entityreference_view header with no results. 2019-04-11 00:00:39 -04: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
71a9cd3cd4 Issue #3027067: API can't filter archived assets 2019-01-21 13:19:38 -05:00
Michael Stenta
7be4c7e19c Add the asset and log IDs to entity view pages. 2018-09-05 14:22:43 -04:00
Michael Stenta
06bc4a24bc Add asset, log, and plan types to entity view pages so it's clear what you're looking at. 2018-06-13 13:00:10 -04:00
Michael Stenta
6961cd4786 Add "Clone" button to all asset Views. 2018-05-23 12:33:16 -04:00
Michael Stenta
bf01411ea3 Set the created and changed timestamps of cloned assets to now 2018-05-23 12:22:21 -04:00
Michael Stenta
16700855eb Simple action for cloning assets. 2018-05-23 12:21:12 -04:00
Michael Stenta
dbd7efc731 Provide access callbacks for asset and plan entity properties. 2018-05-18 09:50:50 -04:00
Michael Stenta
431a4708fe Add thumbnails to "All assets" View. 2018-04-24 08:38:36 -04:00
Michael Stenta
72fca9e00c Add "Add log" button to "All assets" and "Group members" Views. 2018-04-24 08:38:09 -04:00
Michael Stenta
f9b85b8137 Add "Flag" bulk action button to area, asset, and log Views. 2018-04-17 09:30:56 -04:00
Michael Stenta
e1adae3dda Issue #2907879: Add row counter to asset/log lists 2018-04-16 13:48:41 -04:00
Michael Stenta
1a3ca112f6 Add exposed "Items per page" option to all Views. 2018-04-16 13:46:53 -04:00
drupalgin
0e5a226627 Issue #2950316 by drupalgin: Fixed coding standards 2018-04-07 12:40:16 -04:00
Michael Stenta
0ea1a6722b Fix "Asset saved" link when farmOS is installed in a subdirectory. 2018-04-07 11:30:28 -04:00
Michael Stenta
e7e808de70 Add exposed Group filter to all asset views. 2018-04-05 10:15:38 -04:00
Michael Stenta
96539b8804 Issue #2954290 by m.stenta, Permakai: Duplicate asset rows when an asset is in multiple groups 2018-03-22 18:39:58 -04:00
Michael Stenta
8e3e6ec8a2 Fix access callback for asset autocomplete when using multiple types. 2018-03-21 14:55:14 -04:00
Michael Stenta
7492f35afc Expand the asset autocomplete functionality to accept multiple asset types as a filter. 2018-03-21 10:12:06 -04:00
Michael Stenta
8ee64a55c3 Add exposed sort for asset ID and log ID on all asset and log Views. 2018-03-19 17:02:19 -04:00
Michael Stenta
0bfc8ff143 Add Flags field and filter to all asset and log Views. 2018-03-19 17:02:19 -04:00
Michael Stenta
60f4f8b053 Sort asset autocomplete by name instead of id. 2018-03-16 12:54:31 -04:00
Michael Stenta
8ae82d1a24 Fix asset autocomplete access permission. 2018-03-06 08:19:20 -05:00
Michael Stenta
a6630c960f Add autocomplete path for selecting farm asset entities. 2018-03-02 12:30:53 -05:00
Michael Stenta
364c4990c4 Add "Archive" and "Unarchive" VBO buttons to all asset Views. 2018-02-26 22:18:53 -05:00
Michael Stenta
5b721e7cdf Add "Archive" and "Unarchive" actions for farm asset entities. 2018-02-26 22:18:53 -05:00
Michael Stenta
5ed944d1bf Replace 'active' Feeds importer target with 'archived'. If set to TRUE, use current timestamp. 2018-01-31 16:20:06 -05:00
Michael Stenta
979b96d4b1 Update Views asset reverse entity reference relationship handler to use 'archived' property instead of 'active'. 2018-01-31 10:27:25 -05:00
Michael Stenta
559fa040b7 Misc Views updates. 2018-01-31 09:36:51 -05:00
Michael Stenta
ca0ad53caf Update all Views to use new 'archived' field/filter/sort. 2018-01-31 09:36:51 -05:00
Michael Stenta
5062e2bc6e Add a special Views filter for asset 'archived' property that treats it as a boolean value. 2018-01-30 18:05:45 -05:00
Michael Stenta
e4624b1c52 Update asset view page. Show archived date if it exists. Show nothing if the asset is not archived. 2018-01-30 17:10:59 -05:00
Michael Stenta
0656f0fce2 Update asset edit form. Display archived date if it exists. 2018-01-30 17:10:59 -05:00
Michael Stenta
eb02842dd1 Simplify farm asset form submit actions. 2018-01-30 17:10:59 -05:00
Michael Stenta
5a9d7b1a22 Update hook_entity_property_info_alter() to define 'archived' as a date property. 2018-01-30 17:10:59 -05:00
Michael Stenta
42b959ed58 Replace 'active' property with 'archived' in FarmAsset::create(). 2018-01-30 17:10:59 -05:00
Michael Stenta
e5899b8073 Implement hook_update_N() to update existing sites. If 'active' is 0, copy the 'changed' timestamp to 'archived'. 2018-01-30 17:10:59 -05:00
Michael Stenta
3c8d641e99 Change 'active' to 'archived' in farm_asset_schema() (regular integer field like the existing 'created' and 'changed' fields). Null value represents active asset. 2018-01-30 17:10:37 -05:00
Michael Stenta
52af43b8a7 Add Group filter to all asset Views. 2017-12-30 13:13:51 -05:00
Michael Stenta
ac2a7e19a3 Add location relationship, field, and filter to farm_asset View. 2017-12-30 13:12:18 -05:00
Michael Stenta
4536c210cd Disable AJAX and auto-submit on farm_asset View. 2017-12-30 13:08:15 -05:00
Michael Stenta
a709941cd7 Move farm_asset_entityreference_view to farm_asset_views. 2017-12-30 13:07:50 -05:00
Michael Stenta
218917eb65 Split new farm_asset_views module out of farm_asset. 2017-12-30 12:53:03 -05:00
Michael Stenta
284b6dedc6 Rename asset "owner" to "author" in the UI. 2017-12-28 11:22:53 -05:00
Michael Stenta
bdb5562f09 Move farm_asset ctools, feeds, and views code into includes directory (for consistency with log module). 2017-12-28 11:19:42 -05:00
Michael Stenta
770a37d636 Implement hook_feeds_processor_targets() to provide Feeds mapping targets for all asset properties declared by modules. 2017-11-27 16:25:42 -05:00