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

55 commits

Author SHA1 Message Date
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
Michael Stenta
b5dcccd4ae When a module is uninstalled, delete any asset properties that were maintained by it. 2017-11-27 16:25:01 -05:00
Michael Stenta
7721bbb9b4 Add hook_farm_asset_property() for modules to declare the properties they manage. 2017-11-27 16:24:31 -05:00
Michael Stenta
6a0a5bc2ab Add bulk delete operation to asset, log, and area Views. 2017-11-24 21:07:47 -05:00
Michael Stenta
638589a3c1 Add "Group" VBO action button to all asset Views. 2017-11-24 20:58:33 -05:00
Michael Stenta
91160a7b3d Add an index on 'name' and 'value' columns in {farm_asset_property}. 2017-11-24 20:55:50 -05:00
Michael Stenta
539a52f0aa Change asset property database value column to a varchar. 2017-11-24 20:55:50 -05:00
Michael Stenta
ce4b3c1485 Allow a default value to be set when getting an asset property (similar to variable_get()). 2017-11-24 20:55:50 -05:00
Michael Stenta
32d4a01d0e Implement hook_entity_delete() to clean up asset properties if an asset is deleted. 2017-11-24 20:55:50 -05:00
Michael Stenta
773605951c Add functions for getting, setting, deleting, and checking whether or not a property is set. 2017-11-24 20:55:50 -05:00
Michael Stenta
f1e75d5ba4 Initial commit: provide a {farm_asset_property} key/value database table. 2017-11-14 13:52:30 -05:00
Michael Stenta
0116ee4d41 Put asset children View in the "assets" farm_ui group. 2017-11-14 13:45:37 -05:00
Michael Stenta
515f2cb27e Improvements to asset form help text to support non-individual animals. 2017-11-14 13:44:22 -05:00
Michael Stenta
566953bc9c Display asset ID column in farm_asset View. 2017-09-07 17:23:33 -04:00
Michael Stenta
ceabc95f24 Fix farm_asset Views export name. 2017-09-07 17:23:25 -04:00
Michael Stenta
eb8bfbd646 Make farm_asset into a Features module to ease tracking of changes to farm_asset View. 2017-09-07 17:23:12 -04:00
Michael Stenta
4a3aa73f6d Update farm_asset View export, and remove comma separator from asset IDs. 2017-09-05 11:53:03 -04:00
Michael Stenta
0a837b2bdb Add translatables to Farm Assets View. 2017-08-06 13:54:39 -04:00
Michael Stenta
49d02ed7b9 Remove remember_roles from asset children View. 2017-08-06 13:51:02 -04:00
Michael Stenta
62986eb2d1 Set asset/log author to the user running the importer. 2017-07-21 14:21:48 -04:00
Michael Stenta
b385e336c4 Initial commit of Farm Import module: automatically provide simple importers for each asset type. 2017-07-21 14:21:48 -04:00
Michael Stenta
a4019ac9a4 Issue #2402193: Integrate Farm Asset with Feeds module 2017-07-21 14:21:48 -04:00
Michael Stenta
35dc4580c2 Consolidate log entityreference field prepopulation logic. 2017-07-11 08:24:55 -04:00
Michael Stenta
fa31b85145 Automatically add children View to all assets (will only display if children exist). 2017-06-27 15:39:31 -04:00
Michael Stenta
0fb73ffcad Move hooks for adding Views to asset and term pages to farm_ui module. 2017-06-27 15:39:31 -04:00
Michael Stenta
8c69f16503 Move asset breadcrumb handling to farm_ui module. 2017-06-27 15:39:30 -04:00
Michael Stenta
9fe05a18b2 Consolidate area, asset, log, and user action links into farm_ui module. 2017-06-27 15:39:30 -04:00