Commit Graph

165 Commits

Author SHA1 Message Date
naomi 794bc0da68 Pulling case_id through when creating an activity and client_id when creating a case. (Only for demo really; bit of tech debt) 2021-08-26 21:41:36 +01:00
naomi 3586ef5788 Fixed theme function issue after creating entity, and remove "(Client)" etc from name finally! 2021-08-26 18:58:25 +01:00
Naomi 73d9d6490a Added redirects to client screen after adding or deleting a linked client 2021-07-20 14:48:50 +02:00
Naomi d151b1744e Added Organisation Relation entity with update hook to install it, bumped version 2021-07-16 17:32:40 +02:00
Naomi 26d78a4f7f Made person's address fields form- and view-configurable, and bumped version 2021-06-29 09:21:04 +02:00
Naomi 41505594be Added website field to org, and bumped version (to 2.0.0 because ran out of numbers) 2021-06-15 20:13:42 +02:00
Naomi 3f3945f9a0 Added base field "contact role" to organisation, and bumped version 2021-06-15 19:55:45 +02:00
naomi 20cc8cd753 removed EVA stuff from template, plus misc 2021-02-20 15:09:58 +00:00
naomi 4647ef6e3e Added equal opps view, and other changes. 2021-02-18 16:46:59 +00:00
naomi 1a7757394e Added fields to equal opps entity 2021-02-18 16:10:03 +00:00
naomi fbdc64de3c Added equal opps entity 2021-02-18 15:32:10 +00:00
naomi 715f5f34c4 Removed "Entered by" from actor view display 2021-02-14 21:14:33 +00:00
naomi 403965fe6f removed error logging, also did something with the search, which now works 2021-02-14 12:39:38 +00:00
naomi 077455b4d3 wording on linked person field 2021-02-09 11:05:55 +00:00
naomi 7a995060ce Changed max length of full name, and some other things 2021-02-08 21:28:15 +00:00
naomi 9646e216aa moved file back into opencase_entities that I had moved by mistake 2021-02-08 17:47:13 +00:00
naomi 5afbeb956b Moved everything relating to cases into opencase_cases module 2021-02-08 17:27:18 +00:00
naomi 2895dcdab8 help text 2021-02-08 16:14:17 +00:00
naomi 3dd71bf2c0 Added full_name field to actors, and made the administer entities permission finer grained 2021-02-08 13:38:54 +00:00
naomi 6fbaf433e8 changed "description" label to "notes" 2021-02-07 15:23:46 +00:00
naomi 4285e1952f Added fields to bank account entity 2021-02-07 12:02:47 +00:00
naomi eee7604440 Added Bank Account entity. 2021-02-07 11:59:17 +00:00
naomi 0399c83646 made name fields configurable for form and view 2021-02-05 13:47:52 +00:00
naomi 2bc1abc7a7 Deleting activity in "No Cases" mode should redirect to first linked person, and other changes 2021-02-05 13:43:11 +00:00
naomi 6d281625b7 Made "opencase_cases" and "opencase_no_cases" modules and gave the latter a version of the contextual menu 2021-02-01 16:49:49 +00:00
naomi c479e3b995 Added "owner" functions to OCEvent.php as it was erroring without them 2021-01-28 16:32:28 +00:00
naomi 517938ab7b Added description field to event 2021-01-28 11:54:07 +00:00
naomi b48ba012cb Added Event entity type. 2021-01-28 10:22:20 +00:00
naomi 0caf2cb7c8 Edited case template to put EVA fields at the bottom 2021-01-25 14:07:26 +00:00
naomi e49ad3fc9c Edited template to place "EVA" fields (embedded views) at the top of case page. 2021-01-23 18:12:35 +00:00
autonomic 2b9cd117ba Added files field to organisation (base field definition and update hook) and bumped version to 0.198 2021-01-19 15:55:18 +01:00
Naomi 36eb9d9667 field positions 2020-11-20 17:42:25 +00:00
Naomi d026173c8f moved activities view to opencase_default 2020-11-20 17:36:51 +00:00
Naomi 7ecdfbf3e6 changed field order 2020-11-20 14:19:22 +00:00
Naomi dfb12d9be6 moved consent field to opencase_defaults and removed automatic "see all people" menu links 2020-11-20 11:00:52 +00:00
Naomi 21528a436e changed field description 2020-11-17 12:26:39 +00:00
Naomi cde0bbc7e6 moved actors_involved field to defaults 2020-11-17 11:24:18 +00:00
Naomi 8b07bbe63f Removed author field and simplified case title field 2020-11-17 10:47:24 +00:00
Naomi 690ec3b509 Put cases menu link back, and some other things 2020-11-15 17:39:50 +00:00
Naomi 7a9b95bf0d Wiring up new Organisation entity type 2020-11-12 17:35:34 +00:00
Naomi 675a85dfb6 generated Organisation entity 2020-11-12 17:13:28 +00:00
Naomi af3b4727f1 Added some docs 2020-11-09 12:36:08 +00:00
Naomi c9a843a35f (Re-)Added update hook to make contact details revisionable 2020-06-08 14:21:16 +01:00
Naomi c46bbc6ffd v1.9 2020-06-05 19:34:44 +01:00
Naomi 5d1844304a templating for activities 2020-06-05 19:26:59 +01:00
Naomi be45fd2d42 sorting by date-and-time in activities view
Also removed date format thing from hook_update_n as not needed
2020-06-05 18:41:46 +01:00
Naomi 18e32335f5 In progress of adding revision views & making entity displays nicer 2020-05-13 15:41:59 +01:00
Naomi b83f0b44b4 v1.7 - Removed seconds from date and time field
Also altered activities view to show this field instead of created date.
2020-03-01 09:45:10 +00:00
Naomi 7f88d409f0 1.6.5 more git mixup 2020-02-24 17:17:53 +00:00
Naomi 8841fd4d25 v1.6.4 - more git mixup 2020-02-24 17:09:57 +00:00
Naomi 87241c1f87 v1.6.3 due to git mixup 2020-02-24 16:59:43 +00:00
Naomi 88b5ce3d2e Merge branch 'master' of github.com:hoegrammer/opencase 2020-02-24 13:01:15 +00:00
Naomi ae3976c7b8 Improved new activity date & time field, also...
* Removed dependency of opencase_search on opencase so opencase_search doesn't get uninstalled when refreshing opencase for UI changes
* Changed no-results wording on case views (both displays: all cases & cases for a person)
2020-02-24 12:54:39 +00:00
Naomi f47ded38fa v1.7 - adding datetime field with correct datepicker type & default datetime 2020-02-24 10:57:06 +00:00
Naomi c63cae6b71 Added callback to default to current date
But it isn't displaying, possibly because of having the wrong kind of widget
2020-02-23 17:36:48 +00:00
Naomi a7a96ab03c v1.6 Added activity date time field 2020-02-22 15:31:10 +00:00
Naomi 6b9ff3a5e7 typo 2019-06-09 15:26:29 +01:00
Naomi 47ea8493ce added a permission to delete people 2019-04-29 16:44:34 +01:00
Naomi eb6cfb89dd removed old commented-out permissions
that had been superseded by the dynamic permissions
2018-12-19 09:13:20 +00:00
Naomi e0260256fa Actor -> Person. Need to update entities 2018-12-15 14:00:26 +00:00
Naomi ad6811b5e9 Changed "Actor" to "Person" in a few places 2018-11-09 16:14:48 +00:00
Naomi 142c22f8e2 Dynamic permissions! 2018-10-25 19:47:12 +01:00
Naomi 7c30d9d02e postcode weight 2018-10-25 14:55:25 +01:00
Naomi a8c454c509 Made all base fields on actors not configurable
Making them configurable seems to mess up weights and stuff.
2018-09-19 09:15:42 +01:00
Naomi c81ebc4d94 Fixed field type error 2018-09-14 13:59:35 +01:00
Naomi 0371c37786 Added required tickbox, "consent to data storage" 2018-09-10 18:38:55 +01:00
naomi ac92336b0e removed dependency of linked actor field on vol 2018-07-24 10:43:55 +02:00
Naomi bc77e1995d
Update field.field.user.user.field_linked_opencase_actor.yml 2018-07-20 11:34:53 +01:00
naomi 679f40c16d linked actor field config added 2018-07-19 19:13:08 +02:00
naomi 7a21352ac4 activity view query permissions. 2018-07-19 16:22:26 +02:00
naomi 8b274c0d6c Changed some permissions 2018-07-19 15:56:57 +02:00
naomi 352ea000f0 More on permissions for activities and cases 2018-07-19 15:35:22 +02:00
naomi ec99009f16 Added access control for viewing activity
Can only view activity if involved in the case.
2018-07-19 15:10:02 +02:00
naomi 48dabf1701 minor change: null check 2018-07-17 16:19:25 +02:00
naomi d589ef8d69 premission description 2018-07-09 20:29:25 +02:00
naomi a267e222b8 Removed the "view own cases" permission
Now everyone sees cases they are involved in, they don't need a special perm.
2018-07-09 20:26:11 +02:00
naomi 910350699d Added 'view label' access bypass to actors
Was therefore able to get rid of the "view volunteer involvement in cases" stuff which was complicated
2018-07-09 20:15:16 +02:00
naomi c729750705 Case views are now filtered by user involvement
unless the user has the see all cases permission
2018-07-09 19:36:47 +02:00
naomi 351bdb5afd Added "own cases" permission and access check
Works for when viewing a single case, not for view yet though.
2018-07-09 13:21:52 +02:00
naomi 2a31b1c8ce added linked actor of logged in user to new case 2018-07-09 12:11:07 +02:00
naomi 7bf0f67a06 Added a bunch of config, apparently wasn't in git 2018-07-05 17:57:10 +02:00
naomi 8dc840a53d Made ALL of opencase_defaults config optional.
The idea is you can install it, and use as a basis to configure your own things and then if you uninstall it it shouldn't lose your stuff.
2018-07-05 17:11:32 +02:00
naomi 5863fb7faa moved some files around
trying to organise what was features into submodules
2018-07-05 12:24:14 +02:00
naomi f4c3512501 straighforward bugfix 2018-06-29 14:51:12 +02:00
naomi a0ab7282b8 Added bundle labels to cases & activities views
This involved creating access control handlers for cases and activities (also did one for actors for good measure) and regenerating the opencase_features_opencase_ui feature so as to add the "type" field to the views
2018-06-18 18:15:00 +02:00
naomi 12afa00df8 Added permission for configuring opencase bundles 2018-06-18 17:11:45 +02:00
naomi fd1a0d5156 Allowed activity types are a property of case type 2018-06-13 16:29:21 +02:00
naomi 74b6f90c94 Entity relations working in all directions 2018-06-12 18:12:30 +02:00
naomi 7448048f2d Changed default value of Involved Parties to array 2018-06-12 14:11:35 +02:00
naomi c261552cc1 Added private files setting to case entity 2018-05-28 15:11:06 +02:00
naomi 20ab150226 Add-case form counts as "case context" 2018-05-13 13:44:27 +02:00
naomi 85260daa0e typo 2018-05-11 14:43:42 +02:00
naomi f2e7e8b6be Removed " see client involvement in cases" perm
It doesn't make sense - someone who can't see clients shouldn't see client cases at all.
2018-05-11 13:25:47 +02:00
naomi b8e49fb9cb Added "time taken" base field to activity
Also removed case field from activity display. It is in the sidebar, no need to have it twice.
2018-05-11 13:19:28 +02:00
naomi 98d856303a minor bugfix 2018-05-11 11:55:26 +02:00
naomi d8aaacec2d Added contact details to actor 2018-05-08 20:44:08 +02:00
naomi e2f77bf301 case base field descriptions 2018-05-08 19:26:33 +02:00
naomi b8bba0b332 tiny bugfix on bundle permissions 2018-05-08 16:10:00 +02:00
naomi 7dba72ef66 Added permissions for client and volunteers
Plus permission to see just their involvement in cases
2018-05-08 15:41:02 +02:00
naomi 80f42c7bf3 Added case list link to add-new-case page 2018-05-08 13:21:12 +02:00