Michael Stenta
|
d7fd542069
|
Refactor farm_plan_map to use a farmOS-map behavior.
|
2020-02-10 14:27:49 -05:00 |
|
Michael Stenta
|
3e5a8e777d
|
Only clean up numeric entity IDs in farm_plan_entity_delete().
|
2019-10-15 15:43:12 -04:00 |
|
Michael Stenta
|
b0d011bd7f
|
Fix Views implicit relationship overwriting.
|
2019-08-23 16:56:39 -04:00 |
|
Michael Stenta
|
1db9cebd02
|
Describe the plan record relationship entity ID column to Views.
|
2019-08-23 14:06:14 -04:00 |
|
Michael Stenta
|
fd82b12a9f
|
Create an implicit Views relationship between plan record relationship tables and the {farm_plan} table.
|
2019-08-23 14:06:00 -04:00 |
|
Michael Stenta
|
acfa67867e
|
Fix farm_plan_logs View not appearing on all plan types.
|
2019-08-14 09:42:05 -04:00 |
|
Michael Stenta
|
ffcd2a888a
|
If a plan is made inactive, archive all assets linked to it, and vice versa.
|
2019-08-12 14:15:37 -04:00 |
|
Michael Stenta
|
77476ea263
|
Remove debug statement.
|
2019-07-17 16:06:11 -04:00 |
|
Michael Stenta
|
d8ffffea8c
|
Improve plan map rendering so that it matches maps on asset pages.
|
2019-07-17 15:33:59 -04:00 |
|
Michael Stenta
|
5126bbe98a
|
Fix relative path in "entity is part of plan" message.
|
2019-07-11 16:07:35 -04:00 |
|
Michael Stenta
|
0f77fc7cd3
|
Summarize areas and assets associated with a plan.
|
2019-07-11 14:41:52 -04:00 |
|
Michael Stenta
|
4fe8b67d64
|
Farm Plan Map module: Adds a map of areas and assets in a plan.
|
2019-07-11 13:42:24 -04:00 |
|
Michael Stenta
|
3e4bbadf94
|
Fix "Area is in plan" message. Term entity is in $build['#term'] not $build['#entity'].
|
2019-07-11 13:36:12 -04:00 |
|
Michael Stenta
|
f37d7e7343
|
Fix implicit join between {taxonomy_term_data} and {farm_plan_area}. Table name is different than entity type machine name.
|
2019-07-11 13:35:22 -04:00 |
|
Michael Stenta
|
7028128655
|
Add a generic form for removing a record from a plan, and optionally deleting it.
|
2019-07-11 13:28:31 -04:00 |
|
Michael Stenta
|
9f9fd1d5a6
|
Refactor farm_plan_consideration_farm_constraint() to include information about considerations that reference entities.
|
2019-07-10 10:08:19 -04:00 |
|
Michael Stenta
|
90a3185431
|
Return farm_constraint_table_references() in farm_plan_farm_constraint().
|
2019-07-10 10:08:19 -04:00 |
|
Michael Stenta
|
6490848025
|
When deleting a plan, display a list of records that will be unlinked.
|
2019-06-19 15:50:39 -04:00 |
|
Michael Stenta
|
ecf2d56ab9
|
Clean up plan/record relationships when entities are deleted.
|
2019-06-19 15:50:39 -04:00 |
|
Michael Stenta
|
72d1f50f6d
|
Use entity_id() instead of entity_extract_ids().
|
2019-06-19 14:15:40 -04:00 |
|
Michael Stenta
|
67de799b8c
|
Fix path to plan in linked entity message.
|
2019-06-19 14:15:40 -04:00 |
|
Michael Stenta
|
eeb1d84639
|
Display message on entities: "this is part of plan X"
|
2019-06-05 10:00:00 -04:00 |
|
Michael Stenta
|
4911902fd0
|
Display a View of logs associated with the plan on the plan entity view page.
|
2019-05-30 11:15:01 -04:00 |
|
Michael Stenta
|
1ca5db54c6
|
Add a View of logs associated with a plan.
|
2019-05-30 11:15:01 -04:00 |
|
Michael Stenta
|
1f083bfcc0
|
Describe relationships between plans and other record types to Views.
|
2019-05-30 11:15:01 -04:00 |
|
Michael Stenta
|
f4413324c7
|
Add a function for loading a list of record IDs associated with a plan.
|
2019-05-08 13:12:15 -04:00 |
|
Michael Stenta
|
6d4b22309e
|
Update farm_plan_link_record() and farm_plan_unlink_record() docblocks to reference farm_plan_record_relationships().
|
2019-05-08 13:12:15 -04:00 |
|
Michael Stenta
|
5fca7fc32a
|
Use farm_plan_record_relationships() in farm_plan_plan_constraint().
|
2019-04-30 15:23:36 -04:00 |
|
Michael Stenta
|
0c9f869526
|
Add functions for linking/unlinking plans with other records.
|
2019-04-30 15:23:36 -04:00 |
|
Michael Stenta
|
c257e286a9
|
Implement hook_farm_constraint() to prevent deletion of records linked to plans.
|
2019-04-30 15:19:10 -04:00 |
|
Michael Stenta
|
37270ec25c
|
Add new database schemas for maintaining links between plans and other farmOS records (areas, assets, logs, and people).
|
2019-04-30 11:01:49 -04:00 |
|
Michael Stenta
|
cdbd82dd15
|
Rename columns in plan consideration table to avoid reserved SQL words.
|
2018-12-27 09:50:10 -05: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
|
dbd7efc731
|
Provide access callbacks for asset and plan entity properties.
|
2018-05-18 09:50:50 -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
|
c9c7f48c8d
|
Fix "Plan saved" link when farmOS is installed in a subdirectory.
|
2018-04-07 11:38:14 -04:00 |
|
Michael Stenta
|
57a09fb8d9
|
Prevent deleting entities that are referenced in the {farm_plan_consideration_entity} table.
|
2018-03-22 15:07:33 -04:00 |
|
Michael Stenta
|
4c8cfd565f
|
Fix bug in consideration type display.
|
2018-03-16 17:19:28 -04:00 |
|
Michael Stenta
|
758e06ada6
|
Move $plan_id to the end of the farm_plan_consideration_create() function arguments.
|
2018-03-16 17:10:18 -04:00 |
|
Michael Stenta
|
998531c88e
|
Add a form for deleting considerations.
|
2018-03-16 16:20:25 -04:00 |
|
Michael Stenta
|
170cf380e2
|
Redirect to the considerations list after adding/editing one.
|
2018-03-16 16:20:24 -04:00 |
|
Michael Stenta
|
eb300c726b
|
Add plan column.
|
2018-03-16 16:20:24 -04:00 |
|
Michael Stenta
|
8d95345fcd
|
Page callback for considerations list, filtered for a plan.
|
2018-03-16 16:20:24 -04:00 |
|
Michael Stenta
|
e8e439587a
|
Add a place for extra fields. Other modules can form alter this based on the consideration type.
|
2018-03-16 16:20:24 -04:00 |
|
Michael Stenta
|
52f6301943
|
Adapt form to also allow editing existing considerations.
|
2018-03-16 16:20:24 -04:00 |
|
Michael Stenta
|
90811fcab3
|
Form for adding considerations.
|
2018-03-16 16:20:24 -04:00 |
|
Michael Stenta
|
4270108add
|
Statically cache consideration types.
|
2018-03-16 12:54:36 -04:00 |
|
Michael Stenta
|
6e1b1c9a4e
|
Add dependency on farm_plan.
|
2018-03-16 12:54:36 -04:00 |
|
Michael Stenta
|
ee1ba93399
|
Add plan_id column to considerations table.
|
2018-03-16 12:54:36 -04:00 |
|