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

1237 commits

Author SHA1 Message Date
paul121
4611c2e43f Add Export KML action for log and asset entities. 2021-09-01 11:10:15 -04:00
paul121
83312641b5 Provide an EntityKML action. 2021-09-01 11:10:15 -04:00
paul121
7641151afb Init farm_kml module. 2021-09-01 11:10:15 -04:00
Michael Stenta
48bd4f9f81 Prefix farm_map.settings router item path with a slash for consistency. 2021-09-01 11:10:15 -04:00
Michael Stenta
8f98db20b6 Use asset names helper function to generate log names when using the group/move actions. 2021-08-30 17:55:58 -04:00
Michael Stenta
835209e5a2 Add a helper function for generating truncated lists of asset names. 2021-08-30 17:55:58 -04:00
Michael Stenta
e08cb70650 Revert "Add groupOptions function to the group membership service."
This reverts commit 5dc7f53fab.
2021-08-30 15:34:35 -04:00
Michael Stenta
0b7aa78c77 Use entity autocomplete widget for asset group action form. 2021-08-30 15:34:35 -04:00
Michael Stenta
79200cfc6a Add a Group entity reference View. 2021-08-30 15:09:44 -04:00
Michael Stenta
c8089ee561 Do not limit log assign action user list to managed roles. 2021-08-30 14:35:00 -04:00
Michael Stenta
7fad319709 Add enforced dependency on farm_entity to asset_flag_action config. 2021-08-30 13:45:32 -04:00
Michael Stenta
d01189a99c Use #date_part_order of year, month, day. 2021-08-30 13:45:32 -04:00
Michael Stenta
c741692eed Use a date range of -15:+15 in asset group and move actions to match Log module. 2021-08-30 13:45:32 -04:00
Michael Stenta
4aa8fbdac2 Move logic to prepopulate the log asset field to the farm_log module. 2021-08-30 13:45:32 -04:00
Paul Weidner
c1bbba0f81 Check view and create access instead of update access for the Asset Clone action. 2021-08-30 13:45:32 -04:00
Paul Weidner
72e3397d3d Use default date_year_range values. 2021-08-30 13:45:32 -04:00
Paul Weidner
142ecb1ed6 Only require view access to assets referenced by logs. 2021-08-30 13:45:32 -04:00
Paul Weidner
30b83735ba Limit to log types the user has access to create. 2021-08-30 13:45:32 -04:00
Paul Weidner
8420246b0a Do not require a location asset so the location can be reset. 2021-08-30 13:45:32 -04:00
Michael Stenta
deb768d99f Check flag field edit access in EntityFlag action. 2021-08-30 13:45:32 -04:00
paul121
e8db19a9d9 Create asset_add_log action. 2021-08-30 13:45:32 -04:00
paul121
545a0b4bbd Prepopulate the log asset field when creating new logs. 2021-08-30 12:28:51 -04:00
paul121
8dd7ecc88b Only display active users that have a managed role in log assign form. 2021-08-30 12:28:51 -04:00
paul121
6d69b44df3 Create log_assign_action. 2021-08-30 12:28:51 -04:00
paul121
d01f511850 Create asset_move_action. 2021-08-30 12:28:51 -04:00
paul121
d65d344c66 Create asset_group_action. 2021-08-30 12:28:51 -04:00
paul121
5dc7f53fab Add groupOptions function to the group membership service. 2021-08-30 12:28:51 -04:00
paul121
f7ce438a40 DeleteMultipleRouteProvider is deprecated. 2021-08-30 12:28:51 -04:00
paul121
5e4f66c896 Enable the flag action for asset log and plan entities. 2021-08-30 12:28:51 -04:00
paul121
b6f288f3cb Provide an entity flag action. 2021-08-30 12:28:51 -04:00
paul121
cd10d8c00f Add asset clone action. 2021-08-30 12:28:51 -04:00
Michael Stenta
b2f5349892 Add actions for archiving/activating assets and plans. 2021-08-30 12:28:51 -04:00
Michael Stenta
36fb583416 Do not show modules box if none are present. 2021-08-23 11:02:10 -04:00
Michael Stenta
ff1a2a2b8e Move modules description text to help text. 2021-08-23 11:02:10 -04:00
Michael Stenta
be546a2fc5 Change "Contrib modules" to "Community modules". 2021-08-23 10:41:50 -04:00
Michael Stenta
1e2995f585 Add docblock for FarmSettingsModulesForm::moduleOptions().
This class no longer extends from FarmModulesForm, which
originally provided this documentation.
2021-08-23 10:39:14 -04:00
paul121
c68ae68ae9 Test installing a contrib module with uninstalled core dependency. 2021-08-23 10:05:54 -04:00
paul121
f7f1d07bae Increase timeout for installing modules. 2021-08-23 10:05:54 -04:00
paul121
ca54455497 Add tests for the farm settings modules form. 2021-08-23 10:05:54 -04:00
paul121
b19f3c6342 Specify the submit button name.
This makes it easier to identify in tests.
2021-08-23 10:05:54 -04:00
Paul Weidner
23ebe88395 Add message if there are no contrib modules. 2021-08-23 10:05:54 -04:00
paul121
220c816fb9 Disable the submit button until an uninstalled module is checked. 2021-08-23 10:05:54 -04:00
paul121
d68ab9b61e Change form title to read "Install modules". 2021-08-23 10:05:54 -04:00
paul121
bacafa9c0c Allow contrib modules to be installed in the FarmSettingsModulesForm. 2021-08-23 10:05:54 -04:00
paul121
9d986a53ba Refactor to use ModuleExtensionList instead of ModuleHandler. 2021-08-23 10:05:54 -04:00
paul121
3e37c5ad45 Refactor FarmSettingsModulesForm to not extend FarmModulesForm. 2021-08-23 10:05:54 -04:00
Symbioquine
825d37a729 Add weights to ensure map popup is behavior loaded before use #425
**Why?** In 1.x and 2.x prior to this change we were depending on
the insertion order in JS objects to make sure `instance.popup` got
populated before it is used. This change makes the order of the
behavior attachement deterministic - even with farmOS-map 2.x where
the behaviors get attached asynchronously.
2021-08-23 09:59:36 -04:00
Symbioquine
b33feb6293 Upgrade to farmOS-map 2.x #425
**Why?** farmOS-map 2.x provides a slightly cleaner
API and more modular/extensible behavior loading.
2021-08-23 09:59:36 -04:00
paul121
05fc28c432 Correct the log variable annotation comment. 2021-08-23 09:18:57 -04:00
paul121
10297d2aaf Set the global farm_test flag before installing drupal. 2021-08-23 09:18:57 -04:00