Compare commits

...

218 Commits
0.1.1 ... 1.6

Author SHA1 Message Date
a7a96ab03c v1.6 Added activity date time field 2020-02-22 15:31:10 +00:00
a6db6615df No longer trimming activity text in views 2020-01-23 10:04:50 +00:00
1c3370a784 different header text for case view 2019-11-27 10:04:10 +00:00
59f4987371 Uninstall code for some config items that were being left in 2019-11-11 11:14:57 +00:00
c1e24593fa limiting involved parties facet to non-clients. 2019-07-15 20:34:32 +01:00
c98f028045 Removed ajax from views
Although it is beautiful, it stops the export from being filtered.
2019-07-15 19:51:57 +01:00
873f751795 Added config files for reporting on cases
And moved indexes to optional config so as not to have to keep
rebuilding them
2019-07-15 18:36:53 +01:00
6b9ff3a5e7 typo 2019-06-09 15:26:29 +01:00
b24ba377d2 removed dependency no longer required 2019-06-09 14:27:59 +01:00
33168ecb62 Added new module, Opencase Default Reporting 2019-06-09 14:00:23 +01:00
3eacbc952f Moved some configs from here into new module, Opencase Default Reporting 2019-06-09 13:58:39 +01:00
47ea8493ce added a permission to delete people 2019-04-29 16:44:34 +01:00
eb6cfb89dd removed old commented-out permissions
that had been superseded by the dynamic permissions
2018-12-19 09:13:20 +00:00
94e2635ee1 Hopefully fixed OSIC level reporting bug. Config to delete:
- Volunteer reporting index.

Not sure how, I fixed it, just re-created everything
2018-12-18 15:32:53 +00:00
fa7516b03a Menus other than "support" not available when logged out. 2018-12-15 14:21:38 +00:00
bfa4f27cf7 Items per pages on views. Manual changes needed
- delete volunteer report view
2018-12-15 14:07:15 +00:00
36aff5564e menu link text, Just needs a cache clear 2018-12-15 14:02:53 +00:00
e0260256fa Actor -> Person. Need to update entities 2018-12-15 14:00:26 +00:00
fd47bee26a Added "sex" field. Optionally change config:
- Add to form and view display for client (optional)
2018-12-15 13:53:35 +00:00
150cc6cfd1 Data export. Config changed (some from previous commits):
- view - cases
- view - reporting_clients
- view - reporting_volunteers
- block - nationalities
2018-12-15 13:41:13 +00:00
44c948d22a Added instructions for adding new case to cases view 2018-12-15 13:25:22 +00:00
99733415c8 Facet block config 2018-12-15 13:16:37 +00:00
5e127358b2 Added some css and a list of nationalities for the dropdown 2018-12-15 11:34:59 +00:00
9a937e2d46 Changed minimum count to 0 on all facets
which means the checkboxes don't disappear when there are none of that kind in the search results.
Also changed how name is displayed in reporting view
2018-12-14 19:02:20 +00:00
e45cbb6a76 Changed permission for admin menu
because on demo, site-admin can configure entities but not manage users
2018-12-14 18:52:35 +00:00
ca04c3e259 Replaced text-box "nationality" field with drop-down "nationalities" 2018-12-14 18:51:45 +00:00
658ba667b1 updated readme for 0.4.2 2018-11-11 20:19:17 +00:00
309a31e012 tidied up menu code, made parent not open on click 2018-11-11 19:58:32 +00:00
8ccd0313a7 Added missing config file 2018-11-09 16:44:08 +00:00
ab2662195b Replaced config removed by mistake 2018-11-09 16:39:52 +00:00
b81d6b5f31 Removed config for disused menus 2018-11-09 16:38:00 +00:00
ad6811b5e9 Changed "Actor" to "Person" in a few places 2018-11-09 16:14:48 +00:00
da0c0ff1b5 More on menu 2018-11-09 15:56:03 +00:00
3e6011a359 menu order 2018-11-09 15:03:34 +00:00
7e28f88b86 Shiny new menu at top of screen! 2018-11-09 14:59:25 +00:00
0efab1af06 Moved search bar to top, and styled
Also add opencase_search as dependency to opencase because the css for it is in opencase/css (hopefully all this css can go into an opencase theme one day)
2018-11-09 13:16:47 +00:00
4b14537dc4 Renamed config file in line with id 2018-11-08 18:58:44 +00:00
52eb5898e3 Removed duplicate configs, and added dependency 2018-11-08 18:47:24 +00:00
acf3e704cc Added a commented out bit of code for automatic permissions 2018-10-26 11:23:21 +01:00
142c22f8e2 Dynamic permissions! 2018-10-25 19:47:12 +01:00
570d442d41 Minor change to wording 2018-10-25 18:32:26 +01:00
981439d3c6 Added "use opencase" permission to all roles 2018-10-25 18:28:25 +01:00
0333e20afd Added form and display config permissions to crm admin 2018-10-25 18:26:31 +01:00
ec25af3858 Confined rogue OSIC Level facet to reporting/* 2018-10-25 18:14:00 +01:00
30a4d13081 Date format for dob for client.
Also removed some other fields that I'm not sure why were there...
2018-10-25 17:55:39 +01:00
904cf2d63c Explicity stop OSIC Level facet from apearing on home page
God knows why but it was doing
2018-10-25 17:45:37 +01:00
78a44718fb Added activity type help block 2018-10-25 14:55:42 +01:00
7c30d9d02e postcode weight 2018-10-25 14:55:25 +01:00
fdd07ea104 Added help block for managing actor type fields 2018-10-24 18:24:20 +01:00
10b99f132e Dynamic menu links for adding actors 2018-10-24 17:40:26 +01:00
fd5d145866 Added volunteer supervision activity type 2018-10-24 17:39:56 +01:00
530df37e92 removed cases link from reporting menu 2018-10-24 16:51:22 +01:00
7fd551982d Added OSIC level facet to volunteer report 2018-10-24 16:48:00 +01:00
0aa6b92490 Added a bunch of facets 2018-10-24 16:16:35 +01:00
b62f2f34a9 Bodged download button for reporting. 2018-10-24 16:16:17 +01:00
8187f6b306 Finished client reporting 2018-10-01 18:55:51 +01:00
56be669fe9 Fixed the jQuery on the download data button
The click binding was getting lost after ajax reload
2018-10-01 17:55:41 +01:00
5cde32c975 Added reporting menu with one link for Custom Report 2018-10-01 14:58:00 +01:00
bfef673d42 Simplified reporting. Presets will be hard coded 2018-10-01 14:35:10 +01:00
9f735eb492 Deleted a bunch of stuff to do with report entities
because we are not using them at this stage
2018-10-01 10:41:32 +01:00
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
9424aca1e9 Added config for "skills" field on volunteer. 2018-09-19 09:15:19 +01:00
b5f718647e Using views for CRUDding saved reports. 2018-09-17 18:49:20 +01:00
7e1889346b newly generated content entity. 2018-09-17 17:29:04 +01:00
1e0a6a41d3 got rid of reference to the report config entity 2018-09-17 17:26:40 +01:00
e14a68ef62 removed "report" config entity
so as to try out making it a content entity instead.
2018-09-17 17:23:03 +01:00
c48f58d49b Added block plugin for report form, to show on reporting page. 2018-09-17 17:21:31 +01:00
7a61f76a93 Minor changes to reporting forms 2018-09-17 12:24:43 +01:00
354bb0adba paths and permissions for report entities. 2018-09-17 09:26:30 +01:00
e02721217b Added "Use OpenCase" permission 2018-09-17 09:09:38 +01:00
d5fe23418e Saved reports (templates) are now just called "reports". 2018-09-17 08:48:20 +01:00
c81ebc4d94 Fixed field type error 2018-09-14 13:59:35 +01:00
7fbc35915c made reporting export url match page url (it works!) 2018-09-12 18:24:48 +01:00
987adc97ce Reporting buttons area. Data download button 2018-09-12 18:16:36 +01:00
3faabda3f2 minor changes to reporting stuff 2018-09-12 16:48:23 +01:00
eb6356f715 removed schema file because I think it is not used. 2018-09-12 16:22:02 +01:00
92cec4c513 added 100% body font size to opencase css 2018-09-12 15:57:18 +01:00
e5db0007c9 Started on Reporting Presets block. 2018-09-12 15:50:08 +01:00
cc108076bb Added reporting menu item to config. 2018-09-10 19:31:11 +01:00
714ceeb3d0 sort order of facet items, and a typo 2018-09-10 19:24:39 +01:00
0371c37786 Added required tickbox, "consent to data storage" 2018-09-10 18:38:55 +01:00
e1e40bc8ad Search now uses, and displays, first and last name and type
where previously it was the name thing with the type included
2018-09-07 12:57:02 +01:00
9b9bce4bc4 Reporting Actors view now takes query parameter for title 2018-09-07 12:48:47 +01:00
1d86b2a5bc Minor edits to reporting view and facets 2018-09-07 12:37:39 +01:00
ee5c82cb0b removed case type filter from home cases view
because it was not asked for and looked ugly.
2018-09-06 19:53:41 +01:00
20b3ff0cd4 CSS for facet labels 2018-09-06 19:33:47 +01:00
393ce2501c Added a basic index, view & facets for reporting
it is not a useful report, but it doesnt rely on defaults. It's just so that I can work on the reporting without the defaults. General stuff like css and preset support will not be dependent on the defaults. By the time this is properly released, I will have developed a way of generating what is needed for reporting automatically.
2018-09-06 19:11:49 +01:00
2be2cc7837 Added reporting server and index
The index does not rely on any default config.
2018-09-06 17:17:52 +01:00
e45d49e299 Added reporting server config to reporting module 2018-09-06 16:57:39 +01:00
51db7f00d4 Can search on partial names now, need at least 3 letters. 2018-09-06 16:57:13 +01:00
e5da065d0c Changed names of server and index for search
because now we will have ones for reporting as well
2018-09-06 16:38:00 +01:00
14575008d6 Added bare-bones reporting module.
Plus a minor change to search module description
2018-09-06 16:30:58 +01:00
8e43ad637d Added dependency on opencase module to opencase_search
... because the search view has links to other views. Also added some missing configs to the uninstall hook in opencase.module.
2018-09-06 16:27:14 +01:00
d5e767ea9f Update README.md 2018-07-24 10:26:53 +01:00
f97c43bbb2 Update README.md 2018-07-24 10:26:08 +01:00
ac92336b0e removed dependency of linked actor field on vol 2018-07-24 10:43:55 +02:00
bc77e1995d Update field.field.user.user.field_linked_opencase_actor.yml 2018-07-20 11:34:53 +01:00
fd661f6a2f added some config that was missed / wrong 2018-07-19 20:01:59 +02:00
679f40c16d linked actor field config added 2018-07-19 19:13:08 +02:00
ebd755d86c search view: changed no-results wording &cache off 2018-07-19 16:48:03 +02:00
c507fb29b7 changed no-results wording in views 2018-07-19 16:47:16 +02:00
af0040479e added the actual menu as well as the block 2018-07-19 16:46:23 +02:00
3198c00f5a Added add-actors block which was missing 2018-07-19 16:45:31 +02:00
2e40dc46f2 removed view caching 2018-07-19 16:29:56 +02:00
7a21352ac4 activity view query permissions. 2018-07-19 16:22:26 +02:00
8b274c0d6c Changed some permissions 2018-07-19 15:56:57 +02:00
775a08319c if you cancel a delete it now goes back to entity
like duh why didn't it just do that by default
2018-07-19 15:51:52 +02:00
352ea000f0 More on permissions for activities and cases 2018-07-19 15:35:22 +02:00
ec99009f16 Added access control for viewing activity
Can only view activity if involved in the case.
2018-07-19 15:10:02 +02:00
d2bd27c960 added another null check to contextual menu 2018-07-19 14:23:44 +02:00
b5f567f872 changed contact form address to aktivix
because gmail is giving ipv6 errors
2018-07-19 13:54:09 +02:00
221d16c7fa removed label from contextual menu block 2018-07-19 11:39:15 +02:00
6b3b744900 Added contact form to opencase_defaults 2018-07-19 11:35:43 +02:00
1c0195a632 Redirects to activity list on deleteing activity 2018-07-18 22:39:27 +02:00
a47a06aef3 Gave site admin various permissions 2018-07-18 22:21:22 +02:00
33feac1977 redirect to home after deleting case or actor
also changed contextual menu code for cases when the actor whose case it is has been deleted
2018-07-18 22:15:45 +02:00
ddab3e450a fixed bug where case list link not generated 2018-07-18 21:06:26 +02:00
e588a70a1b Added configs (didn't do that last commit) 2018-07-18 20:15:57 +02:00
c0c415e691 New config for asylum status and language. 2018-07-18 20:05:27 +02:00
6c384605ec removed old asylum and language fields
and associated config
2018-07-18 19:59:51 +02:00
09650469bf Only those with "administer users" can link actor 2018-07-18 12:06:22 +02:00
48dabf1701 minor change: null check 2018-07-17 16:19:25 +02:00
08fe6dc362 added code to remove exposedfilter when view empty 2018-07-09 20:38:48 +02:00
3f01a3ad41 typo 2018-07-09 20:31:20 +02:00
d589ef8d69 premission description 2018-07-09 20:29:25 +02:00
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
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
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
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
2a31b1c8ce added linked actor of logged in user to new case 2018-07-09 12:11:07 +02:00
667b109de8 removed client from volunteer engagement 2018-07-09 11:32:12 +02:00
92d4f74ad7 fixed a sed mistake 2018-07-09 11:22:38 +02:00
487415c679 Another attempt to fix the "plugin does not exist" 2018-07-09 11:21:09 +02:00
7bf0f67a06 Added a bunch of config, apparently wasn't in git 2018-07-05 17:57:10 +02:00
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
288751274b Moved more contact form config. 2018-07-05 16:16:42 +02:00
aa130aeede moved more contact form config to main module 2018-07-05 16:15:18 +02:00
f373ac419e Added menu links for "add actors" menu to defaults
Because it has hard coded bundles.
Also remove some config files that were not needed any more.
2018-07-05 16:09:57 +02:00
b1d5c4eddf Moved contact form to opencase module
Using optional config.
2018-07-05 16:07:34 +02:00
6c6c6d5c92 Added menu link config to opencase module.
For opencase-admin and openc (OpenCase Global) menus.
2018-07-05 15:56:19 +02:00
73e7ff2656 Uninstall hook in opencase module
Also moved more config files about.
2018-07-05 14:05:50 +02:00
8dd56d5b51 OpenCase Search module - uninstall hook working. 2018-07-05 13:55:45 +02:00
d229e02f67 moved search config into its own module. 2018-07-05 13:22:45 +02:00
7ef0628bd6 Deleted features, moved everything into submodules. 2018-07-05 12:29:09 +02:00
5863fb7faa moved some files around
trying to organise what was features into submodules
2018-07-05 12:24:14 +02:00
36939720fe User roles as well as bundles are now in module
opencase_defaults... also changed its title
2018-06-29 16:30:05 +02:00
7e04836ff1 Moved bundle configs from feature into module 2018-06-29 16:23:12 +02:00
b28c7a3f5d removed opencase_search module
it wasn't doing anything - the feature is what does stuff
2018-06-29 15:52:39 +02:00
5688f89857 removed dependency of opencase on opencase-search 2018-06-29 15:38:43 +02:00
cf0078d1be removed date format configs
easier than working out how to override them
2018-06-29 15:12:39 +02:00
f4c3512501 straighforward bugfix 2018-06-29 14:51:12 +02:00
4c7cd2067b Made new module, "opencase_defaults".Added a role 2018-06-29 13:04:35 +02:00
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
12afa00df8 Added permission for configuring opencase bundles 2018-06-18 17:11:45 +02:00
1878d1e2fd fixed bugs in entity type relations/widgets 2018-06-18 16:29:24 +02:00
050bee1a9b added /vender to .gitignore 2018-06-18 15:23:04 +02:00
d46142ee2b finished entity type relations 2018-06-13 17:51:14 +02:00
fd1a0d5156 Allowed activity types are a property of case type 2018-06-13 16:29:21 +02:00
e601fde1ef Refactored case-type - client-type relationship
and corresponding part of widget
2018-06-13 13:31:04 +02:00
74b6f90c94 Entity relations working in all directions 2018-06-12 18:12:30 +02:00
e10096c1ca Relations between case type and actor types done 2018-06-12 17:16:40 +02:00
8941cdfb49 refactoring 2018-06-12 16:11:28 +02:00
9715401dfc Factored actor type widget stuff into a class 2018-06-12 15:38:30 +02:00
7448048f2d Changed default value of Involved Parties to array 2018-06-12 14:11:35 +02:00
48e5080a9c Relation between case types and actor types
Allowed actor types for a case are saved in a base field override for the "involved parties" field.
2018-06-12 14:02:09 +02:00
cba43a04e5 Added config for relatin case types to actor types 2018-05-28 16:21:56 +02:00
ce1d3ca38b CSS'd out the new revision checkbox
I ultimately want to keep it, but will reinstate when I find a way of putting it somewhere sensible on the page
2018-05-28 15:24:15 +02:00
8294a9647f Added access control to activities view
Just auth user for now
2018-05-28 15:14:18 +02:00
c261552cc1 Added private files setting to case entity 2018-05-28 15:11:06 +02:00
2708b0193d Added feature config 2018-05-13 15:42:16 +02:00
5e6f1e01c4 updated readme 2018-05-13 13:48:00 +02:00
54c3895eb0 Merged mass deletion, now will add back the new code 2018-05-13 13:44:58 +02:00
20ab150226 Add-case form counts as "case context" 2018-05-13 13:44:27 +02:00
c31706467a updated readme 2018-05-13 14:42:03 +03:00
57a797ba6d deleted all the things.
backup is in old_code branch
2018-05-13 14:26:11 +03:00
85260daa0e typo 2018-05-11 14:43:42 +02:00
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
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
98d856303a minor bugfix 2018-05-11 11:55:26 +02:00
d8aaacec2d Added contact details to actor 2018-05-08 20:44:08 +02:00
e2f77bf301 case base field descriptions 2018-05-08 19:26:33 +02:00
83264f93b2 css to remove search button 2018-05-08 19:23:03 +02:00
eae1a2b03d Removed global menu block - using a menu now
because the menu function automatically handles showing you only the links you have permission to traverse
2018-05-08 18:31:11 +02:00
53507dae33 minor bugfix to contextual block 2018-05-08 18:30:39 +02:00
b8bba0b332 tiny bugfix on bundle permissions 2018-05-08 16:10:00 +02:00
7dba72ef66 Added permissions for client and volunteers
Plus permission to see just their involvement in cases
2018-05-08 15:41:02 +02:00
1eb54e69e5 Put the actor id in the session
instead of passing it around like mad in url queries
2018-05-08 14:54:11 +02:00
c151f84692 In contextual menu, passing through actor_id
so that we can always come back to the original actor
2018-05-08 14:09:26 +02:00
80f42c7bf3 Added case list link to add-new-case page 2018-05-08 13:21:12 +02:00
555087f3b2 Cropped the top off the logo so it sits higher 2018-05-08 11:52:37 +02:00
f770659cef Tidied base fields 2018-05-07 19:54:30 +02:00
1786fce0e8 Added hook so as not to show empty contextual menu 2018-05-07 19:20:27 +02:00
a43aa0dc08 Added css and js
CSS file is empty as yet, but js has thing to remove autocomplete from search box
2018-05-07 18:54:08 +02:00
588b159dbd Added hook to open external menu links in new tab 2018-05-07 18:31:24 +02:00
c28e048db0 Added logo 2018-05-07 15:20:15 +02:00
7dc3e5d563 Added "files" as base field on case 2018-05-07 15:04:01 +02:00
18d0303f54 Moved base fields around
Because you can't make it put them at the bottom, so I have given them all negative weights so they go at the top and the custom fields start at 0. User is at the top
2018-05-07 14:49:31 +02:00
c1c981fddd Modified page titles to give more info
Also removed conditional link back to case list from a case - it only appears sometimes, so it is more confusing to have it than not.
2018-05-03 14:34:55 +02:00
c909a51c1c minor change to entity display 2018-05-03 14:11:04 +02:00
abd6ee896b Added more nav links to contextual menu block 2018-05-03 14:06:01 +02:00
0c9377f48e Refactored global and contextual menu 2018-05-03 13:35:35 +02:00
b89cfcc2ee Added link to case list, when viewing case
It relies on the referer, and isn't very good.
2018-04-30 18:30:43 +02:00
7cf4ee557b New activity gets its case from the url 2018-04-30 17:14:51 +02:00
59964e653e Added Utils class and refactored 2018-04-30 16:49:44 +02:00
3b7e8c9cbe When creating case, first actor is set from URL
And the contextual menu adds the query string
2018-04-30 15:45:34 +02:00
fc1ae79562 Added contextual menu block 2018-04-30 14:24:01 +02:00
fc982f8376 Added actors field to case & and case to activity 2018-04-30 12:59:07 +02:00
9d8c6a34d9 Changed paths so non-admin paths are /opencase/* 2018-04-29 15:23:15 +02:00
469f2413ec Actor entity label now includes subtype 2018-04-29 14:54:28 +02:00
900ba263c7 Actor name field is now set to full name on save 2018-04-29 14:50:41 +02:00
76f61b16b7 Added first, middle and last name fields to actor 2018-04-29 14:44:52 +02:00
4b7f983b27 Generated OpenCase Search module 2018-04-29 14:38:10 +02:00
249003bf16 Made Actor, Activity and Case entities 2018-04-29 13:58:46 +02:00
398a6c71a3 Re-generated OpenCase Entities module 2018-04-29 13:52:36 +02:00
03846a27f7 Generated opencase and opencase_entities modules 2018-04-29 09:22:16 +02:00
0dceb8c38d Added an access role to views
Just made it "authorised user" for now, to keep the security review happy
2018-04-27 19:18:14 +02:00
d21109ebca Added hat types permission
It kind of works, as it allows the user to add, "edit" and delete hat types - but it does not allow administrating fields
2018-04-27 16:10:10 +02:00
7097cac863 Removed redirect to home page after login
The way it was done, it didn't work with password reset
2018-04-27 16:09:38 +02:00
438 changed files with 15655 additions and 7660 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
*.swp *.swp
vendor

View File

@ -1,17 +1,36 @@
# OpenCase # OpenCase
A simple, case-management-focused CRM for small altruistic organisations. A simple case-management system for small altruistic organisations.
## Current Status
**15 April 2018** A demo site, with basic functionality is available at demo.opencase.org.uk.
## The Plan ## The Plan
OpenCase will be available as: OpenCase will be available as:
* A Drupal module, on drupal.org * A Drupal module, on drupal.org
* A Drupal install profile / distribution
* A hosted service * A hosted service
### Features
#### Existing
* Completely configurable person types, case types and activity types
* Search
* Basic Reporting
* Basic user roles (caseworker, volunteer co-ordinator, site admin etc) with access control
#### Coming soon
* Better reporting (currently only reports on defaults fields and not user-added ones)
* Allocation of tasks, overview of tasks and their stage of completion
* Appointments and notifications
## Current Status
**11 Nov 2018**
### User Base
OpenCase is being used by a couple of organisations, early adopters on the hosted platform.
### Availability as Free Software
If you want to install OpenCase for yourself, please get in touch via Issues. It is changing rapidly and the install process is currently undocumented but I am more than happy to guide you through.
### Try it out
A demo site, with basic functionality is available at demo.opencase.org.uk. If you are interested, raise an issue and I will get the login to you somehow.
## Find out more ## Find out more
* More details, including user stories, can be found in the [OpenCase Gitbook](https://hoegrammer.gitbooks.io/zen-crm/content/) * More details, including user stories for future development, can be found in the [OpenCase Gitbook](https://hoegrammer.gitbooks.io/zen-crm/content/)
* Raise an issue to contact the developer.

View File

@ -1,14 +1,14 @@
{ {
"name": "drupal/zencrm", "name": "drupal/opencase",
"type": "drupal-module", "type": "drupal-module",
"description": "Zen CRM", "description": "Simple Case Management",
"keywords": ["Drupal"], "keywords": ["Drupal"],
"license": "GPL-2.0+", "license": "GPL-2.0+",
"homepage": "https://www.drupal.org/project/zencrm", "homepage": "https://www.drupal.org/project/opencase",
"minimum-stability": "dev", "minimum-stability": "dev",
"support": { "support": {
"issues": "https://www.drupal.org/project/issues/zencrm", "issues": "https://www.drupal.org/project/issues/opencase",
"source": "http://cgit.drupalcode.org/zencrm" "source": "http://cgit.drupalcode.org/opencase"
}, },
"require": { } "require": { }
} }

View File

@ -2,24 +2,24 @@ langcode: en
status: true status: true
dependencies: dependencies:
module: module:
- opencase
- system - system
- zencrm
theme: theme:
- bartik - bartik
id: activitycreator id: actortypehelp
theme: bartik theme: bartik
region: content region: content
weight: -7 weight: -11
provider: null provider: null
plugin: activity_creator plugin: actor_type_help
settings: settings:
id: activity_creator id: actor_type_help
label: 'Activity creator' label: 'Actor Type Help'
provider: zencrm provider: opencase
label_display: '0' label_display: '0'
visibility: visibility:
request_path: request_path:
id: request_path id: request_path
pages: '/zencrm/case/*' pages: '/admin/opencase/oc_actor_type/*/edit/fields'
negate: false negate: false
context_mapping: { } context_mapping: { }

View File

@ -0,0 +1,69 @@
langcode: en
status: true
dependencies:
config:
- system.menu.opencase
module:
- superfish
theme:
- bartik
id: opencase
theme: bartik
region: primary_menu
weight: 0
provider: null
plugin: 'superfish:opencase'
settings:
id: 'superfish:opencase'
label: OpenCase
provider: superfish
label_display: '0'
level: '1'
depth: '0'
menu_type: horizontal
style: none
arrow: 0
shadow: 1
speed: fast
delay: '800'
slide: vertical
supposition: 1
hoverintent: 1
touch: '1'
touchbh: '1'
touchbp: '768'
touchua: '0'
touchual: ''
touchuam: '0'
small: '2'
smallbp: '768'
smallua: '0'
smallual: ''
smalluam: '0'
smallact: '1'
smallset: ''
smallasa: 0
smallcmc: 0
smallecm: ''
smallchc: 0
smallech: ''
smallicm: ''
smallich: ''
smallamt: ''
smallabt: '1'
supersubs: 1
minwidth: '12'
maxwidth: '27'
multicolumn: 0
multicolumn_depth: '1'
multicolumn_levels: '1'
pathlevels: '1'
expanded: 0
clone_parent: 0
hide_linkdescription: 0
add_linkdescription: 0
link_depth_class: 1
custom_list_class: ''
custom_item_class: ''
custom_link_class: ''
visibility: { }

View File

@ -0,0 +1,19 @@
langcode: en
status: true
dependencies:
module:
- opencase
theme:
- bartik
id: opencasecontextualmenu
theme: bartik
region: sidebar_second
weight: -8
provider: null
plugin: opencase_contextual_menu
settings:
id: opencase_contextual_menu
label: 'OpenCase Contextual Menu'
provider: opencase
label_display: '0'
visibility: { }

View File

@ -0,0 +1,7 @@
langcode: en
status: true
dependencies: { }
id: opencase
label: OpenCase
description: 'Main navigation menu for OpenCase'
locked: false

View File

@ -1,16 +1,18 @@
langcode: en langcode: en
status: true status: true
dependencies: dependencies:
config:
- user.role.authenticated
module: module:
- zencrm_entities - opencase_entities
id: single_case_with_activities - user
label: 'Single Case with Activities' id: activities
label: Activities
module: views module: views
description: '' description: ''
tag: '' tag: ''
base_table: activity_field_data base_table: oc_activity_field_data
base_field: id base_field: id
core: 8.x
display: display:
default: default:
display_plugin: default display_plugin: default
@ -19,10 +21,12 @@ display:
position: 0 position: 0
display_options: display_options:
access: access:
type: none type: role
options: { } options:
role:
authenticated: authenticated
cache: cache:
type: tag type: none
options: { } options: { }
query: query:
type: views_query type: views_query
@ -43,170 +47,32 @@ display:
sort_asc_label: Asc sort_asc_label: Asc
sort_desc_label: Desc sort_desc_label: Desc
pager: pager:
type: none type: mini
options: options:
items_per_page: 50
offset: 0 offset: 0
id: 0
total_pages: null
expose:
items_per_page: false
items_per_page_label: 'Items per page'
items_per_page_options: '5, 10, 25, 50'
items_per_page_options_all: false
items_per_page_options_all_label: '- All -'
offset: false
offset_label: Offset
tags:
previous:
next:
style: style:
type: table type: table
options:
grouping: { }
row_class: ''
default_row_class: true
override: true
sticky: false
caption: ''
summary: ''
description: ''
columns:
name: name
info:
name:
sortable: false
default_sort_order: asc
align: ''
separator: ''
empty_column: false
responsive: ''
default: '-1'
empty_table: false
row: row:
type: 'entity:activity' type: fields
fields: fields:
id: name:
id: id id: name
table: activity_field_data table: oc_activity_field_data
field: id field: name
relationship: none
group_type: group
admin_label: ''
label: ID
exclude: true
alter:
alter_text: false
text: ''
make_link: false
path: ''
absolute: false
external: false
replace_spaces: false
path_case: none
trim_whitespace: false
alt: ''
rel: ''
link_class: ''
prefix: ''
suffix: ''
target: ''
nl2br: false
max_length: 0
word_boundary: true
ellipsis: true
more_link: false
more_link_text: ''
more_link_path: ''
strip_tags: false
trim: false
preserve_tags: ''
html: false
element_type: ''
element_class: ''
element_label_type: ''
element_label_class: ''
element_label_colon: true
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true
click_sort_column: value
type: number_integer
settings:
thousand_separator: ''
prefix_suffix: true
group_column: value
group_columns: { }
group_rows: true
delta_limit: 0
delta_offset: 0
delta_reversed: false
delta_first_last: false
multi_type: separator
separator: ', '
field_api_classes: false
entity_type: activity
entity_field: id
plugin_id: field
type:
id: type
table: activity_field_data
field: type
relationship: none
group_type: group
admin_label: ''
label: 'Activity type'
exclude: false
alter:
alter_text: false
text: ''
make_link: false
path: ''
absolute: false
external: false
replace_spaces: false
path_case: none
trim_whitespace: false
alt: ''
rel: ''
link_class: ''
prefix: ''
suffix: ''
target: ''
nl2br: false
max_length: 0
word_boundary: true
ellipsis: true
more_link: false
more_link_text: ''
more_link_path: ''
strip_tags: false
trim: false
preserve_tags: ''
html: false
element_type: ''
element_class: ''
element_label_type: ''
element_label_class: ''
element_label_colon: true
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true
click_sort_column: target_id
type: entity_reference_label
settings:
link: false
group_column: target_id
group_columns: { }
group_rows: true
delta_limit: 0
delta_offset: 0
delta_reversed: false
delta_first_last: false
multi_type: separator
separator: ', '
field_api_classes: false
entity_type: activity
entity_field: type
plugin_id: field
subject:
id: subject
table: activity_field_data
field: subject
relationship: none relationship: none
group_type: group group_type: group
admin_label: '' admin_label: ''
@ -265,12 +131,141 @@ display:
multi_type: separator multi_type: separator
separator: ', ' separator: ', '
field_api_classes: false field_api_classes: false
entity_type: activity entity_type: null
entity_field: subject entity_field: name
plugin_id: field
type:
id: type
table: oc_activity_field_data
field: type
relationship: none
group_type: group
admin_label: ''
label: Type
exclude: false
alter:
alter_text: false
text: ''
make_link: false
path: ''
absolute: false
external: false
replace_spaces: false
path_case: none
trim_whitespace: false
alt: ''
rel: ''
link_class: ''
prefix: ''
suffix: ''
target: ''
nl2br: false
max_length: 0
word_boundary: true
ellipsis: true
more_link: false
more_link_text: ''
more_link_path: ''
strip_tags: false
trim: false
preserve_tags: ''
html: false
element_type: ''
element_class: ''
element_label_type: ''
element_label_class: ''
element_label_colon: true
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true
click_sort_column: target_id
type: entity_reference_label
settings:
link: false
group_column: target_id
group_columns: { }
group_rows: true
delta_limit: 0
delta_offset: 0
delta_reversed: false
delta_first_last: false
multi_type: separator
separator: ', '
field_api_classes: false
entity_type: oc_activity
entity_field: type
plugin_id: field
description:
id: description
table: oc_activity_field_data
field: description
relationship: none
group_type: group
admin_label: ''
label: Description
exclude: false
alter:
alter_text: false
text: ''
make_link: false
path: ''
absolute: false
external: false
replace_spaces: false
path_case: none
trim_whitespace: false
alt: ''
rel: ''
link_class: ''
prefix: ''
suffix: ''
target: ''
nl2br: false
max_length: 100
word_boundary: true
ellipsis: true
more_link: false
more_link_text: ''
more_link_path: ''
strip_tags: false
trim: false
preserve_tags: ''
html: false
element_type: ''
element_class: ''
element_label_type: ''
element_label_class: ''
element_label_colon: true
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true
click_sort_column: value
type: basic_string
settings: { }
group_column: value
group_columns: { }
group_rows: true
delta_limit: 0
delta_offset: 0
delta_reversed: false
delta_first_last: false
multi_type: separator
separator: ', '
field_api_classes: false
entity_type: oc_activity
entity_field: description
plugin_id: field plugin_id: field
created: created:
id: created id: created
table: activity_field_data table: oc_activity_field_data
field: created field: created
relationship: none relationship: none
group_type: group group_type: group
@ -319,7 +314,7 @@ display:
click_sort_column: value click_sort_column: value
type: timestamp type: timestamp
settings: settings:
date_format: long date_format: short
custom_date_format: '' custom_date_format: ''
timezone: '' timezone: ''
group_column: value group_column: value
@ -332,21 +327,21 @@ display:
multi_type: separator multi_type: separator
separator: ', ' separator: ', '
field_api_classes: false field_api_classes: false
entity_type: activity entity_type: oc_activity
entity_field: created entity_field: created
plugin_id: field plugin_id: field
nothing: view_oc_activity:
id: nothing id: view_oc_activity
table: views table: oc_activity
field: nothing field: view_oc_activity
relationship: none relationship: none
group_type: group group_type: group
admin_label: '' admin_label: ''
label: 'Custom text' label: 'Go to'
exclude: false exclude: false
alter: alter:
alter_text: true alter_text: false
text: '<a class="use-ajax" data-dialog-type="modal" href="/zencrm/activity/{{ id }}">View</a>&nbsp;&nbsp;<a class="use-ajax" data-dialog-type="modal" href="/zencrm/activity/{{ id }}/edit?destination=/zencrm/case/{{ raw_arguments.case_entity }}">Edit</a>' text: ''
make_link: false make_link: false
path: '' path: ''
absolute: false absolute: false
@ -382,60 +377,48 @@ display:
empty: '' empty: ''
hide_empty: false hide_empty: false
empty_zero: false empty_zero: false
hide_alter_empty: false hide_alter_empty: true
plugin_id: custom text: Details
output_url_as_text: false
absolute: false
entity_type: oc_activity
plugin_id: entity_link
filters: { } filters: { }
sorts: sorts: { }
created: title: 'Activity List'
id: created
table: activity_field_data
field: created
relationship: none
group_type: group
admin_label: ''
order: DESC
exposed: false
expose:
label: ''
granularity: second
entity_type: activity
entity_field: created
plugin_id: date
title: Activities
header: { } header: { }
footer: { } footer: { }
empty: { } empty:
relationships: area_text_custom:
case_entity: id: area_text_custom
id: case_entity table: views
table: activity_field_data field: area_text_custom
field: case_entity
relationship: none
group_type: group
admin_label: 'Case entity'
required: true
entity_type: activity
entity_field: case_entity
plugin_id: standard
arguments:
case_entity:
id: case_entity
table: activity_field_data
field: case_entity
relationship: none relationship: none
group_type: group group_type: group
admin_label: '' admin_label: ''
default_action: default empty: true
tokenize: false
content: 'This case has no activities yet. To add one, use the links in the sidebar to the right.'
plugin_id: text_custom
relationships: { }
arguments:
oc_case:
id: oc_case
table: oc_activity_field_data
field: oc_case
relationship: none
group_type: group
admin_label: ''
default_action: ignore
exception: exception:
value: all value: all
title_enable: false title_enable: false
title: All title: All
title_enable: false title_enable: false
title: '' title: ''
default_argument_type: raw default_argument_type: fixed
default_argument_options: default_argument_options:
index: 2 argument: ''
use_alias: false
default_argument_skip_url: false default_argument_skip_url: false
summary_options: summary_options:
base_path: '' base_path: ''
@ -453,8 +436,8 @@ display:
validate_options: { } validate_options: { }
break_phrase: false break_phrase: false
not: false not: false
entity_type: activity entity_type: oc_activity
entity_field: case_entity entity_field: oc_case
plugin_id: numeric plugin_id: numeric
display_extenders: { } display_extenders: { }
cache_metadata: cache_metadata:
@ -463,19 +446,23 @@ display:
- 'languages:language_content' - 'languages:language_content'
- 'languages:language_interface' - 'languages:language_interface'
- url - url
- url.query_args
- user.roles
tags: { } tags: { }
block_1: page_1:
display_plugin: block display_plugin: page
id: block_1 id: page_1
display_title: 'Activity List' display_title: Page
position: 2 position: 1
display_options: display_options:
display_extenders: { } display_extenders: { }
display_description: '' path: opencase/oc_case/%case_id/activity_list
cache_metadata: cache_metadata:
max-age: -1 max-age: -1
contexts: contexts:
- 'languages:language_content' - 'languages:language_content'
- 'languages:language_interface' - 'languages:language_interface'
- url - url
- url.query_args
- user.roles
tags: { } tags: { }

View File

@ -1,14 +1,17 @@
langcode: en langcode: en
status: true status: true
dependencies: dependencies:
config:
- user.role.authenticated
module: module:
- zencrm_entities - opencase_entities
id: this_person_s_contact_details - user
label: 'Contact Details' id: cases
label: Cases
module: views module: views
description: '' description: ''
tag: '' tag: ''
base_table: contact_details base_table: oc_case_field_data
base_field: id base_field: id
core: 8.x core: 8.x
display: display:
@ -19,10 +22,12 @@ display:
position: 0 position: 0
display_options: display_options:
access: access:
type: none type: role
options: { } options:
role:
authenticated: authenticated
cache: cache:
type: tag type: none
options: { } options: { }
query: query:
type: views_query type: views_query
@ -43,31 +48,36 @@ display:
sort_asc_label: Asc sort_asc_label: Asc
sort_desc_label: Desc sort_desc_label: Desc
pager: pager:
type: none type: mini
options: options:
items_per_page: 50
offset: 0 offset: 0
id: 0
total_pages: null
tags:
previous:
next:
expose:
items_per_page: false
items_per_page_label: 'Items per page'
items_per_page_options: '5, 10, 25, 50'
items_per_page_options_all: false
items_per_page_options_all_label: '- All -'
offset: false
offset_label: Offset
style: style:
type: default type: table
options:
grouping: { }
row_class: ''
default_row_class: true
row: row:
type: fields type: fields
options:
default_field_elements: true
inline: { }
separator: ''
hide_empty: false
fields: fields:
id: id:
id: id id: id
table: contact_details table: oc_case_field_data
field: id field: id
relationship: none relationship: none
group_type: group group_type: group
admin_label: '' admin_label: ''
label: '' label: ID
exclude: true exclude: true
alter: alter:
alter_text: false alter_text: false
@ -100,7 +110,7 @@ display:
element_class: '' element_class: ''
element_label_type: '' element_label_type: ''
element_label_class: '' element_label_class: ''
element_label_colon: false element_label_colon: true
element_wrapper_type: '' element_wrapper_type: ''
element_wrapper_class: '' element_wrapper_class: ''
element_default_classes: true element_default_classes: true
@ -123,22 +133,22 @@ display:
multi_type: separator multi_type: separator
separator: ', ' separator: ', '
field_api_classes: false field_api_classes: false
entity_type: contact_details entity_type: oc_case
entity_field: id entity_field: id
plugin_id: field plugin_id: field
rendered_entity: name:
id: rendered_entity id: name
table: contact_details table: oc_case_field_data
field: rendered_entity field: name
relationship: none relationship: none
group_type: group group_type: group
admin_label: '' admin_label: ''
label: '' label: 'Case Title'
exclude: false exclude: false
alter: alter:
alter_text: false alter_text: false
text: '' text: ''
make_link: false make_link: true
path: '' path: ''
absolute: false absolute: false
external: false external: false
@ -149,7 +159,7 @@ display:
rel: '' rel: ''
link_class: '' link_class: ''
prefix: '' prefix: ''
suffix: '' suffix: foo
target: '' target: ''
nl2br: false nl2br: false
max_length: 0 max_length: 0
@ -166,361 +176,7 @@ display:
element_class: '' element_class: ''
element_label_type: '' element_label_type: ''
element_label_class: '' element_label_class: ''
element_label_colon: false element_label_colon: true
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true
view_mode: default
entity_type: contact_details
plugin_id: rendered_entity
nothing:
id: nothing
table: views
field: nothing
relationship: none
group_type: group
admin_label: ''
label: ''
exclude: false
alter:
alter_text: true
text: '<div class=''zencrm_editlink''><a class=''use-ajax'' data-dialog-type=''modal'' href=''/zencrm/contact_details/{{ id }}/edit?destination=/zencrm/person/{{ raw_arguments.person }}''>Edit</a></div>'
make_link: false
path: ''
absolute: false
external: false
replace_spaces: false
path_case: none
trim_whitespace: false
alt: ''
rel: ''
link_class: ''
prefix: ''
suffix: ''
target: ''
nl2br: false
max_length: 0
word_boundary: true
ellipsis: true
more_link: false
more_link_text: ''
more_link_path: ''
strip_tags: false
trim: false
preserve_tags: ''
html: false
element_type: ''
element_class: ''
element_label_type: ''
element_label_class: ''
element_label_colon: false
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: false
plugin_id: custom
filters: { }
sorts: { }
title: 'Contact Details'
header: { }
footer:
area_text_custom:
id: area_text_custom
table: views
field: area_text_custom
relationship: none
group_type: group
admin_label: ''
empty: true
tokenize: true
content: '<div class="zencrm_creationlinks"><p><a class=''use-ajax'' data-dialog-type=''modal'' href=''/zencrm/contact_details/{{ raw_arguments.person }}/add?destination=/zencrm/person/{{ raw_arguments.person }}''>Add a set of contact details</a></p></div>'
plugin_id: text_custom
empty: { }
relationships: { }
arguments:
person:
id: person
table: contact_details
field: person
relationship: none
group_type: group
admin_label: ''
default_action: default
exception:
value: all
title_enable: false
title: All
title_enable: false
title: ''
default_argument_type: raw
default_argument_options:
index: 2
use_alias: false
default_argument_skip_url: false
summary_options:
base_path: ''
count: true
items_per_page: 25
override: false
summary:
sort_order: asc
number_of_records: 0
format: default_summary
specify_validation: false
validate:
type: none
fail: 'not found'
validate_options: { }
break_phrase: false
not: false
entity_type: contact_details
entity_field: person
plugin_id: numeric
display_extenders: { }
cache_metadata:
max-age: -1
contexts:
- 'languages:language_content'
- 'languages:language_interface'
- url
tags: { }
block_1:
display_plugin: block
id: block_1
display_title: Block
position: 1
display_options:
display_extenders: { }
block_hide_empty: true
cache_metadata:
max-age: -1
contexts:
- 'languages:language_content'
- 'languages:language_interface'
- url
tags: { }
entity_reference_1:
display_plugin: entity_reference
id: entity_reference_1
display_title: 'Entity Reference'
position: 2
display_options:
display_extenders: { }
fields:
id:
id: id
table: contact_details
field: id
relationship: none
group_type: group
admin_label: ''
label: ''
exclude: true
alter:
alter_text: false
text: ''
make_link: false
path: ''
absolute: false
external: false
replace_spaces: false
path_case: none
trim_whitespace: false
alt: ''
rel: ''
link_class: ''
prefix: ''
suffix: ''
target: ''
nl2br: false
max_length: 0
word_boundary: true
ellipsis: true
more_link: false
more_link_text: ''
more_link_path: ''
strip_tags: false
trim: false
preserve_tags: ''
html: false
element_type: ''
element_class: ''
element_label_type: ''
element_label_class: ''
element_label_colon: false
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true
click_sort_column: value
type: number_integer
settings:
thousand_separator: ''
prefix_suffix: true
group_column: value
group_columns: { }
group_rows: true
delta_limit: 0
delta_offset: 0
delta_reversed: false
delta_first_last: false
multi_type: separator
separator: ', '
field_api_classes: false
entity_type: contact_details
entity_field: id
plugin_id: field
rendered_entity:
id: rendered_entity
table: contact_details
field: rendered_entity
relationship: none
group_type: group
admin_label: ''
label: ''
exclude: false
alter:
alter_text: false
text: ''
make_link: false
path: ''
absolute: false
external: false
replace_spaces: false
path_case: none
trim_whitespace: false
alt: ''
rel: ''
link_class: ''
prefix: ''
suffix: ''
target: ''
nl2br: false
max_length: 0
word_boundary: true
ellipsis: true
more_link: false
more_link_text: ''
more_link_path: ''
strip_tags: false
trim: false
preserve_tags: ''
html: false
element_type: ''
element_class: ''
element_label_type: ''
element_label_class: ''
element_label_colon: false
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true
view_mode: default
entity_type: contact_details
plugin_id: rendered_entity
nothing:
id: nothing
table: views
field: nothing
relationship: none
group_type: group
admin_label: ''
label: ''
exclude: false
alter:
alter_text: true
text: '<a class=''use-ajax'' data-dialog-type=''modal'' href=''/zencrm/contact_details/{{ id }}/edit?destination=/zencrm/person/{{ raw_arguments.person }}''>Edit</a>'
make_link: false
path: ''
absolute: false
external: false
replace_spaces: false
path_case: none
trim_whitespace: false
alt: ''
rel: ''
link_class: ''
prefix: ''
suffix: ''
target: ''
nl2br: false
max_length: 0
word_boundary: true
ellipsis: true
more_link: false
more_link_text: ''
more_link_path: ''
strip_tags: false
trim: false
preserve_tags: ''
html: false
element_type: ''
element_class: ''
element_label_type: ''
element_label_class: ''
element_label_colon: false
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: false
plugin_id: custom
type:
id: type
table: contact_details
field: type
relationship: none
group_type: group
admin_label: ''
label: ''
exclude: false
alter:
alter_text: false
text: ''
make_link: false
path: ''
absolute: false
external: false
replace_spaces: false
path_case: none
trim_whitespace: false
alt: ''
rel: ''
link_class: ''
prefix: ''
suffix: ''
target: ''
nl2br: false
max_length: 0
word_boundary: true
ellipsis: true
more_link: false
more_link_text: ''
more_link_path: ''
strip_tags: false
trim: false
preserve_tags: ''
html: false
element_type: ''
element_class: ''
element_label_type: ''
element_label_class: ''
element_label_colon: false
element_wrapper_type: '' element_wrapper_type: ''
element_wrapper_class: '' element_wrapper_class: ''
element_default_classes: true element_default_classes: true
@ -542,23 +198,399 @@ display:
multi_type: separator multi_type: separator
separator: ', ' separator: ', '
field_api_classes: false field_api_classes: false
entity_type: contact_details entity_type: null
entity_field: name
plugin_id: field
type:
id: type
table: oc_case_field_data
field: type
relationship: none
group_type: group
admin_label: ''
label: Type
exclude: false
alter:
alter_text: false
text: ''
make_link: false
path: ''
absolute: false
external: false
replace_spaces: false
path_case: none
trim_whitespace: false
alt: ''
rel: ''
link_class: ''
prefix: ''
suffix: ''
target: ''
nl2br: false
max_length: 0
word_boundary: true
ellipsis: true
more_link: false
more_link_text: ''
more_link_path: ''
strip_tags: false
trim: false
preserve_tags: ''
html: false
element_type: ''
element_class: ''
element_label_type: ''
element_label_class: ''
element_label_colon: true
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true
click_sort_column: target_id
type: entity_reference_label
settings:
link: false
group_column: target_id
group_columns: { }
group_rows: true
delta_limit: 0
delta_offset: 0
delta_reversed: false
delta_first_last: false
multi_type: separator
separator: ', '
field_api_classes: false
entity_type: oc_case
entity_field: type entity_field: type
plugin_id: field plugin_id: field
defaults: actors_involved_target_id:
fields: false id: actors_involved_target_id
style: table: oc_case__actors_involved
type: entity_reference field: actors_involved_target_id
options: relationship: none
search_fields: group_type: group
type: type admin_label: ''
id: '0' label: 'Involved Parties'
rendered_entity: '0' exclude: false
nothing: '0' alter:
alter_text: false
text: ''
make_link: false
path: ''
absolute: false
external: false
replace_spaces: false
path_case: none
trim_whitespace: false
alt: ''
rel: ''
link_class: ''
prefix: ''
suffix: ''
target: ''
nl2br: false
max_length: 0
word_boundary: true
ellipsis: true
more_link: false
more_link_text: ''
more_link_path: ''
strip_tags: false
trim: false
preserve_tags: ''
html: false
element_type: ''
element_class: ''
element_label_type: ''
element_label_class: ''
element_label_colon: true
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true
click_sort_column: target_id
type: entity_reference_label
settings:
link: true
group_column: target_id
group_columns: { }
group_rows: true
delta_limit: 0
delta_offset: 0
delta_reversed: false
delta_first_last: false
multi_type: separator
separator: ', '
field_api_classes: false
entity_type: oc_case
entity_field: actors_involved
plugin_id: field
created:
id: created
table: oc_case_field_data
field: created
relationship: none
group_type: group
admin_label: ''
label: Created
exclude: false
alter:
alter_text: false
text: ''
make_link: false
path: ''
absolute: false
external: false
replace_spaces: false
path_case: none
trim_whitespace: false
alt: ''
rel: ''
link_class: ''
prefix: ''
suffix: ''
target: ''
nl2br: false
max_length: 0
word_boundary: true
ellipsis: true
more_link: false
more_link_text: ''
more_link_path: ''
strip_tags: false
trim: false
preserve_tags: ''
html: false
element_type: ''
element_class: ''
element_label_type: ''
element_label_class: ''
element_label_colon: true
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true
click_sort_column: value
type: timestamp
settings:
date_format: short
custom_date_format: ''
timezone: ''
group_column: value
group_columns: { }
group_rows: true
delta_limit: 0
delta_offset: 0
delta_reversed: false
delta_first_last: false
multi_type: separator
separator: ', '
field_api_classes: false
entity_type: oc_case
entity_field: created
plugin_id: field
nothing:
id: nothing
table: views
field: nothing
relationship: none
group_type: group
admin_label: ''
label: 'Go to'
exclude: false
alter:
alter_text: true
text: "<ul><li><a href='/opencase/oc_case/{{ id }}'>Details/Files</a></li>\n<li><a href='/opencase/oc_case/{{ id}}/activity_list'>Activities</a>\n</li></ul>"
make_link: false
path: ''
absolute: false
external: false
replace_spaces: false
path_case: none
trim_whitespace: false
alt: ''
rel: ''
link_class: ''
prefix: ''
suffix: ''
target: ''
nl2br: false
max_length: 0
word_boundary: true
ellipsis: true
more_link: false
more_link_text: ''
more_link_path: ''
strip_tags: false
trim: false
preserve_tags: ''
html: false
element_type: ''
element_class: ''
element_label_type: ''
element_label_class: ''
element_label_colon: true
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: false
plugin_id: custom
filters: null
sorts:
created:
id: created
table: oc_case_field_data
field: created
relationship: none
group_type: group
admin_label: ''
order: DESC
exposed: false
expose:
label: ''
granularity: day
entity_type: oc_case
entity_field: created
plugin_id: date
title: ''
header: { }
footer: { }
empty:
area_text_custom:
id: area_text_custom
table: views
field: area_text_custom
relationship: none
group_type: group
admin_label: ''
empty: true
tokenize: false
content: "<p>Either there are no cases involving this person, or you do not have access to them.</p>\n"
plugin_id: text_custom
relationships: { }
arguments:
actors_involved_target_id:
id: actors_involved_target_id
table: oc_case__actors_involved
field: actors_involved_target_id
relationship: none
group_type: group
admin_label: ''
default_action: ignore
exception:
value: all
title_enable: false
title: All
title_enable: false
title: ''
default_argument_type: fixed
default_argument_options:
argument: ''
default_argument_skip_url: false
summary_options:
base_path: ''
count: true
items_per_page: 25
override: false
summary:
sort_order: asc
number_of_records: 0
format: default_summary
specify_validation: false
validate:
type: none
fail: 'not found'
validate_options: { }
break_phrase: false
not: false
entity_type: oc_case
entity_field: actors_involved
plugin_id: numeric
display_extenders: { }
use_ajax: true
cache_metadata: cache_metadata:
max-age: -1 max-age: -1
contexts: contexts:
- 'languages:language_content' - 'languages:language_content'
- 'languages:language_interface' - 'languages:language_interface'
- url - url
- url.query_args
- user.roles
tags: { }
page_1:
display_plugin: page
id: page_1
display_title: Page
position: 1
display_options:
display_extenders: { }
path: opencase/oc_actor/%actor_id/case_list
defaults:
filters: false
filter_groups: false
filters: { }
filter_groups:
operator: AND
groups:
1: AND
cache_metadata:
max-age: -1
contexts:
- 'languages:language_content'
- 'languages:language_interface'
- url
- url.query_args
- user.roles
tags: { }
page_2:
display_plugin: page
id: page_2
display_title: 'All Cases'
position: 2
display_options:
display_extenders: { }
display_description: ''
arguments: { }
defaults:
arguments: false
filters: false
filter_groups: false
empty: false
path: opencase/all-cases
filters: null
filter_groups:
operator: AND
groups:
1: AND
empty:
area_text_custom:
id: area_text_custom
table: views
field: area_text_custom
relationship: none
group_type: group
admin_label: ''
empty: true
tokenize: false
content: "<h1>No cases found</h1>\n<p>You do not have access to any existing cases.</p>\n<p>To <b>add a new case</b>, first search for the person you want to add a case to. If they are not on the system yet you can add them using the <b>Add actors</b> menu in the left sidebar.</p>\n"
plugin_id: text_custom
cache_metadata:
max-age: -1
contexts:
- 'languages:language_content'
- 'languages:language_interface'
- url.query_args
- user.roles
tags: { } tags: { }

View File

@ -1,25 +0,0 @@
langcode: en
status: false
dependencies:
module:
- system
- zencrm
theme:
- bartik
id: hatcreator
theme: bartik
region: sidebar_second
weight: -6
provider: null
plugin: hat_creator
settings:
id: hat_creator
label: ''
provider: zencrm
label_display: visible
visibility:
request_path:
id: request_path
pages: '/zencrm/person/*'
negate: false
context_mapping: { }

View File

@ -1,25 +0,0 @@
langcode: en
status: true
dependencies:
module:
- system
- zencrm
theme:
- bartik
id: personpanel
theme: bartik
region: content
weight: 0
provider: null
plugin: person_panel
settings:
id: person_panel
label: 'Person Panel'
provider: zencrm
label_display: '0'
visibility:
request_path:
id: request_path
pages: '/zencrm/person/*'
negate: false
context_mapping: { }

View File

@ -1,30 +0,0 @@
langcode: en
status: true
dependencies:
config:
- views.view.single_case_with_activities
module:
- system
- views
theme:
- bartik
id: views_block__single_case_with_activities_block_1
theme: bartik
region: content
weight: -5
provider: null
plugin: 'views_block:single_case_with_activities-block_1'
settings:
id: 'views_block:single_case_with_activities-block_1'
label: ''
provider: views
label_display: '0'
views_label: ''
items_per_page: none
context_mapping: { }
visibility:
request_path:
id: request_path
pages: '/zencrm/case/*'
negate: false
context_mapping: { }

View File

@ -1,29 +0,0 @@
langcode: en
status: true
dependencies:
config:
- views.view.this_person_s_contact_details
module:
- system
- views
theme:
- bartik
id: views_block__this_person_s_contact_details_block_1
theme: bartik
region: sidebar_second
weight: -7
provider: null
plugin: 'views_block:this_person_s_contact_details-block_1'
settings:
id: 'views_block:this_person_s_contact_details-block_1'
label: ''
provider: views
label_display: visible
views_label: ''
items_per_page: none
visibility:
request_path:
id: request_path
pages: '/zencrm/person/*'
negate: false
context_mapping: { }

View File

@ -1,30 +0,0 @@
langcode: en
status: true
dependencies:
config:
- views.view.this_person_s_hats
module:
- system
- views
theme:
- bartik
id: views_block__this_person_s_hats_block_1
theme: bartik
region: sidebar_second
weight: -8
provider: null
plugin: 'views_block:this_person_s_hats-block_1'
settings:
id: 'views_block:this_person_s_hats-block_1'
label: ''
provider: views
label_display: visible
views_label: ''
items_per_page: none
context_mapping: { }
visibility:
request_path:
id: request_path
pages: '/zencrm/person/*'
negate: false
context_mapping: { }

View File

@ -0,0 +1,11 @@
langcode: en
status: true
dependencies: { }
id: contact_opencase
label: 'Contact the OpenCase Developers'
recipients:
- naomirosenberguk@gmail.com
reply: ''
weight: 0
message: 'Thank you for your message. The OpenCase team will get back to you ASAP.'
redirect: ''

View File

@ -0,0 +1,39 @@
langcode: en
status: true
dependencies:
config:
- contact.form.contact_opencase
id: contact_message.contact_opencase.default
targetEntityType: contact_message
bundle: contact_opencase
mode: default
content:
copy:
weight: 50
region: content
mail:
weight: -40
region: content
message:
type: string_textarea
weight: 0
settings:
rows: 12
placeholder: ''
region: content
third_party_settings: { }
name:
weight: -50
region: content
preview:
weight: 40
region: content
subject:
type: string_textfield
weight: -10
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
hidden: { }

View File

@ -0,0 +1,19 @@
langcode: en
status: true
dependencies:
config:
- contact.form.contact_opencase
id: contact_message.contact_opencase.default
targetEntityType: contact_message
bundle: contact_opencase
mode: default
content:
message:
type: string
weight: 0
label: above
region: content
settings:
link_to_entity: false
third_party_settings: { }
hidden: { }

View File

@ -1,387 +0,0 @@
langcode: en
status: true
dependencies:
config:
- block.block.hatcreator
module:
- zencrm_entities
id: this_person_s_hats
label: Hats
module: views
description: ''
tag: ''
base_table: hat_field_data
base_field: id
core: 8.x
display:
default:
display_plugin: default
id: default
display_title: Master
position: 0
display_options:
access:
type: none
options: { }
cache:
type: tag
options: { }
query:
type: views_query
options:
disable_sql_rewrite: false
distinct: false
replica: false
query_comment: ''
query_tags: { }
exposed_form:
type: basic
options:
submit_button: Apply
reset_button: false
reset_button_label: Reset
exposed_sorts_label: 'Sort by'
expose_sort_order: true
sort_asc_label: Asc
sort_desc_label: Desc
pager:
type: none
options:
offset: 0
style:
type: html_list
options:
grouping: { }
row_class: ''
default_row_class: true
type: ul
wrapper_class: item-list
class: ''
row:
type: fields
fields:
id:
id: id
table: hat_field_data
field: id
relationship: none
group_type: group
admin_label: ''
label: ''
exclude: true
alter:
alter_text: false
text: ''
make_link: false
path: ''
absolute: false
external: false
replace_spaces: false
path_case: none
trim_whitespace: false
alt: ''
rel: ''
link_class: ''
prefix: ''
suffix: ''
target: ''
nl2br: false
max_length: 0
word_boundary: true
ellipsis: true
more_link: false
more_link_text: ''
more_link_path: ''
strip_tags: false
trim: false
preserve_tags: ''
html: false
element_type: ''
element_class: ''
element_label_type: ''
element_label_class: ''
element_label_colon: false
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true
click_sort_column: value
type: number_integer
settings:
thousand_separator: ''
prefix_suffix: true
group_column: value
group_columns: { }
group_rows: true
delta_limit: 0
delta_offset: 0
delta_reversed: false
delta_first_last: false
multi_type: separator
separator: ', '
field_api_classes: false
entity_type: hat
entity_field: id
plugin_id: field
type:
id: type
table: hat_field_data
field: type
relationship: none
group_type: group
admin_label: ''
label: ''
exclude: false
alter:
alter_text: false
text: ''
make_link: false
path: ''
absolute: false
external: false
replace_spaces: false
path_case: none
trim_whitespace: false
alt: ''
rel: ''
link_class: ''
prefix: ''
suffix: ''
target: ''
nl2br: false
max_length: 0
word_boundary: true
ellipsis: true
more_link: false
more_link_text: ''
more_link_path: ''
strip_tags: false
trim: false
preserve_tags: ''
html: false
element_type: ''
element_class: ''
element_label_type: ''
element_label_class: ''
element_label_colon: false
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true
click_sort_column: target_id
type: entity_reference_label
settings:
link: false
group_column: target_id
group_columns: { }
group_rows: true
delta_limit: 0
delta_offset: 0
delta_reversed: false
delta_first_last: false
multi_type: separator
separator: ', '
field_api_classes: false
entity_type: hat
entity_field: type
plugin_id: field
rendered_entity:
id: rendered_entity
table: hat
field: rendered_entity
relationship: none
group_type: group
admin_label: ''
label: ''
exclude: false
alter:
alter_text: false
text: ''
make_link: false
path: ''
absolute: false
external: false
replace_spaces: false
path_case: none
trim_whitespace: false
alt: ''
rel: ''
link_class: ''
prefix: ''
suffix: ''
target: ''
nl2br: false
max_length: 0
word_boundary: true
ellipsis: true
more_link: false
more_link_text: ''
more_link_path: ''
strip_tags: false
trim: false
preserve_tags: ''
html: false
element_type: ''
element_class: ''
element_label_type: ''
element_label_class: ''
element_label_colon: false
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true
view_mode: default
entity_type: hat
plugin_id: rendered_entity
nothing:
id: nothing
table: views
field: nothing
relationship: none
group_type: group
admin_label: ''
label: ''
exclude: false
alter:
alter_text: true
text: '<div class=''zencrm_editlink''><a class=''use-ajax'' data-dialog-type=''modal'' href=''/zencrm/hat/{{ raw_arguments.person }}/{{ id }}/edit?destination=/zencrm/person/{{ raw_arguments.person }}''>Edit</a></div>'
make_link: false
path: ''
absolute: false
external: false
replace_spaces: false
path_case: none
trim_whitespace: false
alt: ''
rel: ''
link_class: ''
prefix: ''
suffix: ''
target: ''
nl2br: false
max_length: 0
word_boundary: true
ellipsis: true
more_link: false
more_link_text: ''
more_link_path: ''
strip_tags: false
trim: false
preserve_tags: ''
html: false
element_type: ''
element_class: ''
element_label_type: ''
element_label_class: ''
element_label_colon: false
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: false
plugin_id: custom
filters: { }
sorts: { }
title: Hats
header: { }
footer:
entity_block:
id: entity_block
table: views
field: entity_block
relationship: none
group_type: group
admin_label: ''
empty: false
tokenize: true
target: hatcreator
view_mode: default
bypass_access: true
plugin_id: entity
empty: { }
relationships: { }
arguments:
person:
id: person
table: hat_field_data
field: person
relationship: none
group_type: group
admin_label: ''
default_action: default
exception:
value: all
title_enable: false
title: All
title_enable: false
title: ''
default_argument_type: raw
default_argument_options:
index: 2
use_alias: false
default_argument_skip_url: false
summary_options:
base_path: ''
count: true
items_per_page: 25
override: false
summary:
sort_order: asc
number_of_records: 0
format: default_summary
specify_validation: false
validate:
type: none
fail: 'not found'
validate_options: { }
break_phrase: false
not: false
entity_type: hat
entity_field: person
plugin_id: numeric
display_extenders: { }
cache_metadata:
max-age: -1
contexts:
- 'languages:language_content'
- 'languages:language_interface'
- url
tags:
- 'config:core.entity_view_display.hat.client.default'
- 'config:core.entity_view_display.hat.volunteer.default'
block_1:
display_plugin: block
id: block_1
display_title: Block
position: 1
display_options:
display_extenders: { }
allow:
items_per_page: false
offset: '0'
pager: '0'
hide_fields: '0'
sort_fields: '0'
disable_filters: '0'
configure_sorts: '0'
block_hide_empty: false
cache_metadata:
max-age: -1
contexts:
- 'languages:language_content'
- 'languages:language_interface'
- url
tags:
- 'config:core.entity_view_display.hat.client.default'
- 'config:core.entity_view_display.hat.volunteer.default'

View File

@ -1,152 +1,48 @@
/* this part is for the wider theme and will be removed */ body {
a.site-branding__logo img { font-size: 100% !important;
max-width: 100px;
} }
/* a hack to show different links in sidebar - temporary */ /* Free the people from the tyranny of the useless search button */
.zencrm_creationlinks.authorised_only { #edit-submit-actor-search{
display: none;
}
.user-logged-in .zencrm_creationlinks.authorised_only {
display: block;
}
.zencrm_creationlinks.anonymous_only {
display: block;
}
.user-logged-in .zencrm_creationlinks.anonymous_only {
display: none; display: none;
} }
/* Module-specific from here. */ /* Remove the revision message box. Temporary until can place it properly */
#edit-revision-log-message-wrapper{
.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset {
width: 100%;
}
button.button--primary.js-form-submit.form-submit.ui-button.ui-corner-all.ui-widget {
margin-left: 73%;
}
button.button.button--danger.ui-button.ui-corner-all.ui-widget {
float: left;
color: red;
}
.ui-dialog.ui-corner-all.ui-widget.ui-widget-content.ui-front.ui-dialog-buttons {
min-width: 550px;
border: 20px solid rgba(0, 0, 0, 0.51);
}
.tabledrag-toggle-weight-wrapper {
display: none; display: none;
} }
#content .zencrm_case_details { /* Same for revision checkbox. */
display: none; /* don't show case as main content - it's shown in sidebar */ .js-form-item.form-item.js-form-type-checkbox.form-type-checkbox.js-form-item-new-revision.form-item-new-revision {
display: none;
} }
div.region.region-primary-menu { /* Style the search box in header bar. */
display:none; #block-exposedformactor-searchpage-1 {
top: -20px;
} }
.field--name-contact-details a { #block-exposedformactor-searchpage-1 #edit-actions {
border-bottom: none; padding-top: 0;
} }
.sidebar .field--type-entity-reference { #block-exposedformactor-searchpage-1 .form-text {
margin: 1em 0 0 0; width: 200px;
} }
.region-sidebar-second .view-content li, .region-sidebar-second .views-row, .region-sidebar-second .zencrm_inner_sidebar_block { /* Make drop-down nav menu opaque */
border-bottom: 10px solid #e6e6d3; .block-superfish .menu ul {
padding-bottom: 20px; background: white;
padding-top: 10px; color: darkgray;
padding-right: 10px; }
padding-left: 10px; .block-superfish .menu ul li {
background: #eeeedb; border-bottom: 1px dotted darkgray;
border: 1px solid lightgrey; }
margin-bottom: 10px; .block-superfish .menu ul li a:hover {
color: black;
} }
.sidebar .region-sidebar-second h2 { /* In views, display label at top of field. Ths is because full descriptions are displayed in the activity view so having the label in the middle means it disappears down the page. */
font-size: 1.6em; td.views-field {
text-align: center; vertical-align: top;
border-bottom: 1px solid grey;
}
.sidebar .views-field.views-field-type, .sidebar .field--name-type, .zencrm_inner_sidebar_block .zencrm_title {
padding-bottom: 12px;
font-size: 1.4em;
text-align: center;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.zencrm_inner_sidebar_block .zencrm_title {
font-size: 1.2em;
padding-bottom: 5px;
}
.sidebar .field__label, .sidebar .field--type-entity-reference .field__label, .form-item label {
font-size: 1em;
font-weight: bold;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.sidebar .views-element-container .field, .sidebar .zencrm_inner_sidebar_block .field {
padding-bottom: 15px;
}
.sidebar .views-element-container .field .field__item, .sidebar .zencrm_inner_sidebar_block .field__item {
font-size: 1.1em;
}
.region-sidebar-second .view-content li, .region-sidebar-second .views-row {
padding-bottom: 20px;
padding-top: 10px;
padding-right: 10px;
padding-left: 10px;
background: #eeeedb;
}
.region-sidebar-second .views-element-container.block, #block-casedetails {
padding-right: 10px;
padding-left: 10px;
}
.zencrm_creationlinks {
padding: 10px 10px 10px 20px;
font-size: 1.2em;
}
.sidebar .zencrm_links {
font-size: 1.2em;
}
.sidebar .zencrm_links p, .sidebar .zencrm_creationlinks p {
margin-bottom: 0.5em;
}
.zencrm_creationlinks p {
margin-bottom: 0.5em;
}
.sidebar .zencrm_creationlinks {
padding: 5px;
font-size: 1.3em;
}
.sidebar .zencrm_editlink {
font-size: 1.2em;
text-align: right;
}
#block-hatcreator {
padding: 0;
border: none;
margin: 0;
} }

View File

@ -1,38 +0,0 @@
langcode: en
status: true
dependencies:
config:
- field.field.activity.case_note.field_file
- field.field.activity.case_note.field_notes
- zencrm_entities.activity_type.case_note
module:
- file
id: activity.case_note.default
targetEntityType: activity
bundle: case_note
mode: default
content:
field_file:
weight: 4
settings:
progress_indicator: throbber
third_party_settings: { }
type: file_generic
region: content
field_notes:
weight: 3
settings:
rows: 5
placeholder: ''
third_party_settings: { }
type: string_textarea
region: content
name:
type: string_textfield
weight: -4
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
hidden: { }

View File

@ -1,32 +0,0 @@
langcode: en
status: true
dependencies:
config:
- field.field.activity.self_assessment.field_how_is_your_housing_situat
- field.field.activity.self_assessment.field_how_is_your_mental_health_
- field.field.activity.self_assessment.field_how_is_your_physical_healt
- zencrm_entities.activity_type.self_assessment
id: activity.self_assessment.default
targetEntityType: activity
bundle: self_assessment
mode: default
content:
field_how_is_your_housing_situat:
weight: 5
settings: { }
third_party_settings: { }
type: options_buttons
region: content
field_how_is_your_mental_health_:
weight: 4
settings: { }
third_party_settings: { }
type: options_buttons
region: content
field_how_is_your_physical_healt:
weight: 3
settings: { }
third_party_settings: { }
type: options_buttons
region: content
hidden: { }

View File

@ -1,29 +0,0 @@
langcode: en
status: true
dependencies:
config:
- field.field.case_entity.asylum.field_asyl
- field.field.case_entity.asylum.field_home_offi
- zencrm_entities.case_entity_type.asylum
id: case_entity.asylum.default
targetEntityType: case_entity
bundle: asylum
mode: default
content:
field_asyl:
weight: 6
settings:
size: 60
placeholder: ''
third_party_settings: { }
type: string_textfield
region: content
field_home_offi:
weight: 7
settings:
size: 60
placeholder: ''
third_party_settings: { }
type: string_textfield
region: content
hidden: { }

View File

@ -1,20 +0,0 @@
langcode: en
status: true
dependencies:
config:
- zencrm_entities.case_entity_type.housing
id: case_entity.housing.default
targetEntityType: case_entity
bundle: housing
mode: default
content:
user_id:
type: entity_reference_autocomplete
weight: 5
settings:
match_operator: CONTAINS
size: 60
placeholder: ''
region: content
third_party_settings: { }
hidden: { }

View File

@ -1,20 +0,0 @@
langcode: en
status: true
dependencies:
config:
- zencrm_entities.case_entity_type.volunteer_recruitment
id: case_entity.volunteer_recruitment.default
targetEntityType: case_entity
bundle: volunteer_recruitment
mode: default
content:
user_id:
type: entity_reference_autocomplete
weight: 5
settings:
match_operator: CONTAINS
size: 60
placeholder: ''
region: content
third_party_settings: { }
hidden: { }

View File

@ -1,29 +0,0 @@
langcode: en
status: true
dependencies:
config:
- field.field.hat.client.field_country
- field.field.hat.client.field_language
- zencrm_entities.hat_type.client
id: hat.client.default
targetEntityType: hat
bundle: client
mode: default
content:
field_country:
weight: 3
settings:
size: 60
placeholder: ''
third_party_settings: { }
type: string_textfield
region: content
field_language:
weight: 4
settings:
size: 60
placeholder: ''
third_party_settings: { }
type: string_textfield
region: content
hidden: { }

View File

@ -1,38 +0,0 @@
langcode: en
status: true
dependencies:
config:
- field.field.hat.volunteer.field_availability
- field.field.hat.volunteer.field_date_started
- field.field.hat.volunteer.field_team
- zencrm_entities.hat_type.volunteer
module:
- datetime
id: hat.volunteer.default
targetEntityType: hat
bundle: volunteer
mode: default
content:
field_availability:
weight: 6
settings:
rows: 5
placeholder: ''
third_party_settings: { }
type: string_textarea
region: content
field_date_started:
weight: 5
settings: { }
third_party_settings: { }
type: datetime_default
region: content
field_team:
weight: 4
settings:
size: 60
placeholder: ''
third_party_settings: { }
type: string_textfield
region: content
hidden: { }

View File

@ -1,38 +0,0 @@
langcode: en
status: true
dependencies:
config:
- field.field.activity.case_note.field_file
- field.field.activity.case_note.field_notes
- zencrm_entities.activity_type.case_note
module:
- file
id: activity.case_note.default
targetEntityType: activity
bundle: case_note
mode: default
content:
field_file:
weight: -2
label: above
settings:
use_description_as_link_text: true
third_party_settings: { }
type: file_default
region: content
field_notes:
weight: -3
label: above
settings: { }
third_party_settings: { }
type: basic_string
region: content
name:
label: above
type: string
weight: -4
region: content
settings:
link_to_entity: false
third_party_settings: { }
hidden: { }

View File

@ -1,37 +0,0 @@
langcode: en
status: true
dependencies:
config:
- field.field.activity.self_assessment.field_how_is_your_housing_situat
- field.field.activity.self_assessment.field_how_is_your_mental_health_
- field.field.activity.self_assessment.field_how_is_your_physical_healt
- zencrm_entities.activity_type.self_assessment
module:
- options
id: activity.self_assessment.default
targetEntityType: activity
bundle: self_assessment
mode: default
content:
field_how_is_your_housing_situat:
weight: -1
label: above
settings: { }
third_party_settings: { }
type: list_default
region: content
field_how_is_your_mental_health_:
weight: -2
label: above
settings: { }
third_party_settings: { }
type: list_default
region: content
field_how_is_your_physical_healt:
weight: -3
label: above
settings: { }
third_party_settings: { }
type: list_default
region: content
hidden: { }

View File

@ -1,29 +0,0 @@
langcode: en
status: true
dependencies:
config:
- field.field.case_entity.asylum.field_asyl
- field.field.case_entity.asylum.field_home_offi
- zencrm_entities.case_entity_type.asylum
id: case_entity.asylum.default
targetEntityType: case_entity
bundle: asylum
mode: default
content:
field_asyl:
weight: 1
label: above
settings:
link_to_entity: false
third_party_settings: { }
type: string
region: content
field_home_offi:
weight: 2
label: above
settings:
link_to_entity: false
third_party_settings: { }
type: string
region: content
hidden: { }

View File

@ -1,26 +0,0 @@
langcode: en
status: true
dependencies:
config:
- zencrm_entities.case_entity_type.housing
id: case_entity.housing.default
targetEntityType: case_entity
bundle: housing
mode: default
content:
name:
label: above
type: string
weight: -4
region: content
settings:
link_to_entity: false
third_party_settings: { }
user_id:
label: hidden
type: author
weight: 0
region: content
settings: { }
third_party_settings: { }
hidden: { }

View File

@ -1,26 +0,0 @@
langcode: en
status: true
dependencies:
config:
- zencrm_entities.case_entity_type.volunteer_recruitment
id: case_entity.volunteer_recruitment.default
targetEntityType: case_entity
bundle: volunteer_recruitment
mode: default
content:
name:
label: above
type: string
weight: -4
region: content
settings:
link_to_entity: false
third_party_settings: { }
user_id:
label: hidden
type: author
weight: 0
region: content
settings: { }
third_party_settings: { }
hidden: { }

View File

@ -1,29 +0,0 @@
langcode: en
status: true
dependencies:
config:
- field.field.hat.client.field_country
- field.field.hat.client.field_language
- zencrm_entities.hat_type.client
id: hat.client.default
targetEntityType: hat
bundle: client
mode: default
content:
field_country:
weight: 1
label: above
settings:
link_to_entity: false
third_party_settings: { }
type: string
region: content
field_language:
weight: 2
label: above
settings:
link_to_entity: false
third_party_settings: { }
type: string
region: content
hidden: { }

View File

@ -1,40 +0,0 @@
langcode: en
status: true
dependencies:
config:
- field.field.hat.volunteer.field_availability
- field.field.hat.volunteer.field_date_started
- field.field.hat.volunteer.field_team
- zencrm_entities.hat_type.volunteer
module:
- datetime
id: hat.volunteer.default
targetEntityType: hat
bundle: volunteer
mode: default
content:
field_availability:
weight: 104
label: above
settings: { }
third_party_settings: { }
type: basic_string
region: content
field_date_started:
weight: 103
label: above
settings:
format_type: medium
timezone_override: ''
third_party_settings: { }
type: datetime_default
region: content
field_team:
weight: 102
label: above
settings:
link_to_entity: false
third_party_settings: { }
type: string
region: content
hidden: { }

View File

@ -1,26 +0,0 @@
langcode: en
status: true
dependencies:
config:
- field.storage.activity.field_file
- zencrm_entities.activity_type.case_note
module:
- file
id: activity.case_note.field_file
field_name: field_file
entity_type: activity
bundle: case_note
label: Files
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings:
file_directory: '[date:custom:Y]-[date:custom:m]'
file_extensions: 'txt jpg rtf doc png pdf'
max_filesize: ''
description_field: false
handler: 'default:file'
handler_settings: { }
field_type: file

View File

@ -1,18 +0,0 @@
langcode: en
status: true
dependencies:
config:
- field.storage.activity.field_notes
- zencrm_entities.activity_type.case_note
id: activity.case_note.field_notes
field_name: field_notes
entity_type: activity
bundle: case_note
label: Notes
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings: { }
field_type: string_long

View File

@ -1,20 +0,0 @@
langcode: en
status: true
dependencies:
config:
- field.storage.activity.field_how_is_your_housing_situat
- zencrm_entities.activity_type.self_assessment
module:
- options
id: activity.self_assessment.field_how_is_your_housing_situat
field_name: field_how_is_your_housing_situat
entity_type: activity
bundle: self_assessment
label: 'How is your housing situation?'
description: ''
required: true
translatable: false
default_value: { }
default_value_callback: ''
settings: { }
field_type: list_string

View File

@ -1,20 +0,0 @@
langcode: en
status: true
dependencies:
config:
- field.storage.activity.field_how_is_your_mental_health_
- zencrm_entities.activity_type.self_assessment
module:
- options
id: activity.self_assessment.field_how_is_your_mental_health_
field_name: field_how_is_your_mental_health_
entity_type: activity
bundle: self_assessment
label: 'How is your mental health?'
description: ''
required: true
translatable: false
default_value: { }
default_value_callback: ''
settings: { }
field_type: list_string

View File

@ -1,20 +0,0 @@
langcode: en
status: true
dependencies:
config:
- field.storage.activity.field_how_is_your_physical_healt
- zencrm_entities.activity_type.self_assessment
module:
- options
id: activity.self_assessment.field_how_is_your_physical_healt
field_name: field_how_is_your_physical_healt
entity_type: activity
bundle: self_assessment
label: 'How is your physical health?'
description: ''
required: true
translatable: false
default_value: { }
default_value_callback: ''
settings: { }
field_type: list_string

View File

@ -1,18 +0,0 @@
langcode: en
status: true
dependencies:
config:
- field.storage.case_entity.field_asyl
- zencrm_entities.case_entity_type.asylum
id: case_entity.asylum.field_asyl
field_name: field_asyl
entity_type: case_entity
bundle: asylum
label: 'Asylum status when taken on'
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings: { }
field_type: string

View File

@ -1,18 +0,0 @@
langcode: en
status: true
dependencies:
config:
- field.storage.case_entity.field_home_offi
- zencrm_entities.case_entity_type.asylum
id: case_entity.asylum.field_home_offi
field_name: field_home_offi
entity_type: case_entity
bundle: asylum
label: 'Home Office Number'
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings: { }
field_type: string

View File

@ -1,23 +0,0 @@
langcode: en
status: true
dependencies:
config:
- field.storage.hat.field_date_started
- zencrm_entities.hat_type.volunteer
module:
- datetime
id: hat.volunteer.field_date_started
field_name: field_date_started
entity_type: hat
bundle: volunteer
label: 'Date Started'
description: ''
required: false
translatable: false
default_value:
-
default_date_type: now
default_date: now
default_value_callback: ''
settings: { }
field_type: datetime

View File

@ -1,18 +0,0 @@
langcode: en
status: true
dependencies:
config:
- field.storage.hat.field_team
- zencrm_entities.hat_type.volunteer
id: hat.volunteer.field_team
field_name: field_team
entity_type: hat
bundle: volunteer
label: Team
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings: { }
field_type: string

View File

@ -1,35 +0,0 @@
langcode: en
status: true
dependencies:
module:
- options
- zencrm_entities
id: activity.field_how_is_your_housing_situat
field_name: field_how_is_your_housing_situat
entity_type: activity
type: list_string
settings:
allowed_values:
-
value: Excellent
label: Excellent
-
value: Good
label: Good
-
value: OK
label: OK
-
value: Bad
label: Bad
-
value: Terrible
label: Terrible
allowed_values_function: ''
module: options
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false

View File

@ -1,35 +0,0 @@
langcode: en
status: true
dependencies:
module:
- options
- zencrm_entities
id: activity.field_how_is_your_mental_health_
field_name: field_how_is_your_mental_health_
entity_type: activity
type: list_string
settings:
allowed_values:
-
value: Excellent
label: Excellent
-
value: Good
label: Good
-
value: OK
label: OK
-
value: Bad
label: Bad
-
value: Terrible
label: Terrible
allowed_values_function: ''
module: options
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false

View File

@ -1,35 +0,0 @@
langcode: en
status: true
dependencies:
module:
- options
- zencrm_entities
id: activity.field_how_is_your_physical_healt
field_name: field_how_is_your_physical_healt
entity_type: activity
type: list_string
settings:
allowed_values:
-
value: Excellent
label: Excellent
-
value: Good
label: Good
-
value: OK
label: OK
-
value: Bad
label: Bad
-
value: Terrible
label: Terrible
allowed_values_function: ''
module: options
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false

View File

@ -1,5 +0,0 @@
langcode: en
status: true
dependencies: { }
id: volunteer_recruitment
label: 'Volunteer recruitment'

View File

@ -1,6 +0,0 @@
bundle: opencase
excluded:
- block.block.views_block__single_case_with_activities_block_1
- block.block.views_block__this_person_s_contact_details_block_1
- block.block.views_block__this_person_s_hats_block_1
required: true

View File

@ -1,11 +0,0 @@
name: 'Default Subtypes'
type: module
core: 8.x
dependencies:
- block
- datetime
- field
- system
- views
- zencrm_entities
package: 'OpenCase'

View File

@ -1,7 +0,0 @@
langcode: en
status: true
dependencies: { }
id: anonymous
label: 'Anonymous user'
weight: 0
is_admin: false

View File

@ -1,6 +0,0 @@
bundle: opencase
excluded:
- block.block.views_block__single_case_with_activities_block_1
- block.block.views_block__this_person_s_contact_details_block_1
- block.block.views_block__this_person_s_hats_block_1
required: true

View File

@ -1,9 +0,0 @@
name: default_user_config
type: module
core: 8.x
dependencies:
- block
- system
- user
- views
package: 'OpenCase'

View File

@ -1,4 +1,3 @@
(function ($, Drupal) { (function ($, Drupal) {
$(".field--name-contact-details a").contents().unwrap();
$('#edit-search-api-fulltext').attr('autocomplete', 'off'); $('#edit-search-api-fulltext').attr('autocomplete', 'off');
})(jQuery, Drupal); })(jQuery, Drupal);

View File

@ -0,0 +1,28 @@
langcode: en
status: true
dependencies:
config:
- facets.facet.asylum_status
module:
- facets
- system
theme:
- bartik
id: facet_asylum_status
theme: bartik
region: sidebar_second
weight: 0
provider: null
plugin: 'facet_block:asylum_status'
settings:
id: 'facet_block:asylum_status'
label: 'Asylum Status'
provider: facets
label_display: visible
block_id: facet_asylum_status
visibility:
request_path:
id: request_path
pages: '/opencase/reporting/clients'
negate: false
context_mapping: { }

View File

@ -0,0 +1,28 @@
langcode: en
status: true
dependencies:
config:
- facets.facet.created
module:
- facets
- system
theme:
- bartik
id: facet_created
theme: bartik
region: sidebar_second
weight: 0
provider: null
plugin: 'facet_block:created'
settings:
id: 'facet_block:created'
label: 'Created Date'
provider: facets
label_display: visible
block_id: facet_created
visibility:
request_path:
id: request_path
pages: '/opencase/reporting/clients'
negate: false
context_mapping: { }

View File

@ -0,0 +1,28 @@
langcode: en
status: true
dependencies:
config:
- facets.facet.disability
module:
- facets
- system
theme:
- bartik
id: facet_disability
theme: bartik
region: sidebar_second
weight: 0
provider: null
plugin: 'facet_block:disability'
settings:
id: 'facet_block:disability'
label: 'Disability'
provider: facets
label_display: visible
block_id: facet_disability
visibility:
request_path:
id: request_path
pages: '/opencase/reporting/clients'
negate: false
context_mapping: { }

View File

@ -0,0 +1,28 @@
langcode: en
status: true
dependencies:
config:
- facets.facet.gender_identified_with
module:
- facets
- system
theme:
- bartik
id: facet_gender_identified_with
theme: bartik
region: sidebar_second
weight: 0
provider: null
plugin: 'facet_block:gender_identified_with'
settings:
id: 'facet_block:gender_identified_with'
label: 'Gender Identity'
provider: facets
label_display: visible
block_id: facet_gender_identified_with
visibility:
request_path:
id: request_path
pages: '/opencase/reporting/clients'
negate: false
context_mapping: { }

View File

@ -0,0 +1,28 @@
langcode: en
status: true
dependencies:
config:
- facets.facet.languages
module:
- facets
- system
theme:
- bartik
id: facet_languages
theme: bartik
region: sidebar_second
weight: 0
provider: null
plugin: 'facet_block:languages'
settings:
id: 'facet_block:languages'
label: 'Languages'
provider: facets
label_display: visible
block_id: facet_languages
visibility:
request_path:
id: request_path
pages: '/opencase/reporting/clients'
negate: false
context_mapping: { }

View File

@ -0,0 +1,28 @@
langcode: en
status: true
dependencies:
config:
- facets.facet.involved_parties
module:
- facets
- system
theme:
- bartik
id: involvedparties
theme: bartik
region: sidebar_second
weight: 0
provider: null
plugin: 'facet_block:involved_parties'
settings:
id: 'facet_block:involved_parties'
label: 'Involved Parties'
provider: facets
label_display: visible
block_id: involvedparties
visibility:
request_path:
id: request_path
pages: /opencase/reporting/cases
negate: false
context_mapping: { }

View File

@ -0,0 +1,28 @@
langcode: en
status: true
dependencies:
config:
- facets.facet.nationalities
module:
- facets
- system
theme:
- bartik
id: nationalities
theme: bartik
region: sidebar_second
weight: 0
provider: null
plugin: 'facet_block:nationalities'
settings:
id: 'facet_block:nationalities'
label: Nationalities
provider: facets
label_display: visible
block_id: nationalities
visibility:
request_path:
id: request_path
pages: /opencase/reporting/clients
negate: false
context_mapping: { }

View File

@ -0,0 +1,28 @@
langcode: en
status: true
dependencies:
config:
- facets.facet.osic_level
module:
- facets
- system
theme:
- bartik
id: osiclevel
theme: bartik
region: sidebar_second
weight: 0
provider: null
plugin: 'facet_block:osic_level'
settings:
id: 'facet_block:osic_level'
label: 'OSIC level'
provider: facets
label_display: visible
block_id: osiclevel
visibility:
request_path:
id: request_path
pages: /opencase/reporting/volunteers
negate: false
context_mapping: { }

View File

@ -1,25 +1,29 @@
langcode: en langcode: en
status: true status: true
dependencies: dependencies:
config:
- facets.facet.outcome
module: module:
- facets
- system - system
- zencrm
theme: theme:
- bartik - bartik
id: casedetails id: outcome
theme: bartik theme: bartik
region: sidebar_second region: sidebar_second
weight: 0 weight: 0
provider: null provider: null
plugin: case_details plugin: 'facet_block:outcome'
settings: settings:
id: case_details id: 'facet_block:outcome'
label: 'Case Details' label: Outcome
provider: zencrm provider: facets
label_display: visible label_display: visible
block_id: outcome
visibility: visibility:
request_path: request_path:
id: request_path id: request_path
pages: '/zencrm/case/*' pages: /opencase/reporting/cases
negate: false negate: false
context_mapping: { } context_mapping: { }

View File

@ -0,0 +1,47 @@
langcode: en
status: true
dependencies:
config:
- search_api.index.opencase_reporting_clients
- views.view.reporting_clients
module:
- search_api
id: asylum_status
name: 'Asylum status'
url_alias: asylum_status
weight: 0
min_count: 0
show_only_one_result: false
field_identifier: field_asylum_status
facet_source_id: 'search_api:views_page__reporting_clients__page_1'
widget:
type: checkbox
config:
show_numbers: false
soft_limit: 0
soft_limit_settings:
show_less_label: 'Show less'
show_more_label: 'Show more'
query_operator: or
use_hierarchy: false
expand_hierarchy: false
enable_parent_when_child_gets_disabled: true
hard_limit: 0
exclude: false
only_visible_when_facet_source_is_visible: true
processor_configs:
display_value_widget_order:
processor_id: display_value_widget_order
weights:
sort: 40
settings:
sort: ASC
url_processor_handler:
processor_id: url_processor_handler
weights:
pre_query: 50
build: 15
settings: { }
empty_behavior:
behavior: none
show_title: false

View File

@ -0,0 +1,47 @@
langcode: en
status: true
dependencies:
config:
- search_api.index.opencase_reporting_clients
- views.view.reporting_clients
module:
- search_api
id: asylum_status_export
name: 'Asylum status'
url_alias: asylum_status
weight: 0
min_count: 0
show_only_one_result: false
field_identifier: field_asylum_status
facet_source_id: 'search_api:views_data_export__reporting_clients__data_export_1'
widget:
type: checkbox
config:
show_numbers: false
soft_limit: 0
soft_limit_settings:
show_less_label: 'Show less'
show_more_label: 'Show more'
query_operator: or
use_hierarchy: false
expand_hierarchy: false
enable_parent_when_child_gets_disabled: true
hard_limit: 0
exclude: false
only_visible_when_facet_source_is_visible: true
processor_configs:
display_value_widget_order:
processor_id: display_value_widget_order
weights:
sort: 40
settings:
sort: ASC
url_processor_handler:
processor_id: url_processor_handler
weights:
pre_query: 50
build: 15
settings: { }
empty_behavior:
behavior: none
show_title: false

View File

@ -0,0 +1,67 @@
langcode: en
status: true
dependencies:
config:
- search_api.index.opencase_reporting_clients
- views.view.reporting_clients
module:
- search_api
id: created
name: Created
url_alias: created
weight: 0
min_count: 0
show_only_one_result: false
field_identifier: created
facet_source_id: 'search_api:views_page__reporting_clients__page_1'
widget:
type: checkbox
config:
show_numbers: true
soft_limit: 0
soft_limit_settings:
show_less_label: 'Show less'
show_more_label: 'Show more'
query_operator: or
use_hierarchy: false
expand_hierarchy: false
enable_parent_when_child_gets_disabled: true
hard_limit: 0
exclude: false
only_visible_when_facet_source_is_visible: true
processor_configs:
active_widget_order:
processor_id: active_widget_order
weights:
sort: -8
settings:
sort: DESC
count_widget_order:
processor_id: count_widget_order
weights:
sort: -9
settings:
sort: DESC
date_item:
processor_id: date_item
weights:
build: 35
settings:
date_display: actual_date
granularity: 5
date_format: ''
display_value_widget_order:
processor_id: display_value_widget_order
weights:
sort: -10
settings:
sort: ASC
url_processor_handler:
processor_id: url_processor_handler
weights:
pre_query: 50
build: 15
settings: { }
empty_behavior:
behavior: none
show_title: false

View File

@ -0,0 +1,67 @@
langcode: en
status: true
dependencies:
config:
- search_api.index.opencase_reporting_clients
module:
- views_data_export
id: created_export
name: 'Created - Export'
url_alias: created
weight: 0
min_count: 0
show_only_one_result: false
field_identifier: created
facet_source_id: 'search_api:views_data_export__reporting_clients__data_export_1'
widget:
type: checkbox
config:
show_numbers: true
soft_limit: 0
soft_limit_settings:
show_less_label: 'Show less'
show_more_label: 'Show more'
query_operator: or
use_hierarchy: false
expand_hierarchy: false
enable_parent_when_child_gets_disabled: true
hard_limit: 0
exclude: false
only_visible_when_facet_source_is_visible: true
processor_configs:
active_widget_order:
processor_id: active_widget_order
weights:
sort: 20
settings:
sort: DESC
count_widget_order:
processor_id: count_widget_order
weights:
sort: 30
settings:
sort: DESC
date_item:
processor_id: date_item
weights:
build: 35
settings:
date_display: actual_date
granularity: 5
date_format: ''
display_value_widget_order:
processor_id: display_value_widget_order
weights:
sort: 40
settings:
sort: ASC
url_processor_handler:
processor_id: url_processor_handler
weights:
pre_query: 50
build: 15
settings: { }
empty_behavior:
behavior: none
show_title: false

View File

@ -0,0 +1,47 @@
langcode: en
status: true
dependencies:
config:
- search_api.index.opencase_reporting_clients
- views.view.reporting_clients
module:
- search_api
id: disability
name: 'Disability'
url_alias: disability
weight: 0
min_count: 0
show_only_one_result: false
field_identifier: field_disability
facet_source_id: 'search_api:views_page__reporting_clients__page_1'
widget:
type: checkbox
config:
show_numbers: false
soft_limit: 0
soft_limit_settings:
show_less_label: 'Show less'
show_more_label: 'Show more'
query_operator: or
use_hierarchy: false
expand_hierarchy: false
enable_parent_when_child_gets_disabled: true
hard_limit: 0
exclude: false
only_visible_when_facet_source_is_visible: true
processor_configs:
display_value_widget_order:
processor_id: display_value_widget_order
weights:
sort: 40
settings:
sort: ASC
url_processor_handler:
processor_id: url_processor_handler
weights:
pre_query: 50
build: 15
settings: { }
empty_behavior:
behavior: none
show_title: false

View File

@ -0,0 +1,47 @@
langcode: en
status: true
dependencies:
config:
- search_api.index.opencase_reporting_clients
- views.view.reporting_clients
module:
- search_api
id: disability_export
name: 'Disability'
url_alias: disability
weight: 0
min_count: 0
show_only_one_result: false
field_identifier: field_disability
facet_source_id: 'search_api:views_data_export__reporting_clients__data_export_1'
widget:
type: checkbox
config:
show_numbers: false
soft_limit: 0
soft_limit_settings:
show_less_label: 'Show less'
show_more_label: 'Show more'
query_operator: or
use_hierarchy: false
expand_hierarchy: false
enable_parent_when_child_gets_disabled: true
hard_limit: 0
exclude: false
only_visible_when_facet_source_is_visible: true
processor_configs:
display_value_widget_order:
processor_id: display_value_widget_order
weights:
sort: 40
settings:
sort: ASC
url_processor_handler:
processor_id: url_processor_handler
weights:
pre_query: 50
build: 15
settings: { }
empty_behavior:
behavior: none
show_title: false

View File

@ -0,0 +1,47 @@
langcode: en
status: true
dependencies:
config:
- search_api.index.opencase_reporting_clients
- views.view.reporting_clients
module:
- search_api
id: gender_identified_with
name: 'Gender Identity'
url_alias: gender_identified_with
weight: 0
min_count: 0
show_only_one_result: false
field_identifier: field_gender_identified_with
facet_source_id: 'search_api:views_page__reporting_clients__page_1'
widget:
type: checkbox
config:
show_numbers: false
soft_limit: 0
soft_limit_settings:
show_less_label: 'Show less'
show_more_label: 'Show more'
query_operator: or
use_hierarchy: false
expand_hierarchy: false
enable_parent_when_child_gets_disabled: true
hard_limit: 0
exclude: false
only_visible_when_facet_source_is_visible: true
processor_configs:
display_value_widget_order:
processor_id: display_value_widget_order
weights:
sort: 40
settings:
sort: ASC
url_processor_handler:
processor_id: url_processor_handler
weights:
pre_query: 50
build: 15
settings: { }
empty_behavior:
behavior: none
show_title: false

View File

@ -0,0 +1,47 @@
langcode: en
status: true
dependencies:
config:
- search_api.index.opencase_reporting_clients
- views.view.reporting_clients
module:
- search_api
id: gender_identified_with_export
name: 'Gender Identity'
url_alias: gender_identified_with
weight: 0
min_count: 0
show_only_one_result: false
field_identifier: field_gender_identified_with
facet_source_id: 'search_api:views_data_export__reporting_clients__data_export_1'
widget:
type: checkbox
config:
show_numbers: false
soft_limit: 0
soft_limit_settings:
show_less_label: 'Show less'
show_more_label: 'Show more'
query_operator: or
use_hierarchy: false
expand_hierarchy: false
enable_parent_when_child_gets_disabled: true
hard_limit: 0
exclude: false
only_visible_when_facet_source_is_visible: true
processor_configs:
display_value_widget_order:
processor_id: display_value_widget_order
weights:
sort: 40
settings:
sort: ASC
url_processor_handler:
processor_id: url_processor_handler
weights:
pre_query: 50
build: 15
settings: { }
empty_behavior:
behavior: none
show_title: false

View File

@ -0,0 +1,62 @@
langcode: en
status: true
dependencies:
config:
- search_api.index.opencase_reporting_cases
- views.view.reporting_cases
module:
- search_api
id: involved_parties
name: 'Involved Parties'
url_alias: involved_parties
weight: 0
min_count: 0
show_only_one_result: false
field_identifier: actors_involved
facet_source_id: 'search_api:views_page__reporting_cases__page_1'
widget:
type: checkbox
config:
show_numbers: false
soft_limit: 0
soft_limit_settings:
show_less_label: 'Show less'
show_more_label: 'Show more'
show_reset_link: false
reset_text: 'Show all'
hide_reset_when_no_selection: false
query_operator: or
use_hierarchy: false
expand_hierarchy: false
enable_parent_when_child_gets_disabled: true
hard_limit: 0
exclude: false
only_visible_when_facet_source_is_visible: true
processor_configs:
display_value_widget_order:
processor_id: display_value_widget_order
weights:
sort: 40
settings:
sort: ASC
exclude_specified_items:
processor_id: exclude_specified_items
weights:
build: 50
settings:
exclude: client
regex: true
translate_entity:
processor_id: translate_entity
weights:
build: 5
settings: { }
url_processor_handler:
processor_id: url_processor_handler
weights:
pre_query: 50
build: 15
settings: { }
empty_behavior:
behavior: none
show_title: false

View File

@ -0,0 +1,55 @@
langcode: en
status: true
dependencies:
config:
- search_api.index.opencase_reporting_cases
- views.view.reporting_cases
module:
- search_api
id: involved_parties_export
name: 'Involved Parties (Export)'
url_alias: involved_parties
weight: 0
min_count: 0
show_only_one_result: false
field_identifier: actors_involved
facet_source_id: 'search_api:views_data_export__reporting_cases__data_export_1'
widget:
type: checkbox
config:
show_numbers: false
soft_limit: 0
soft_limit_settings:
show_less_label: 'Show less'
show_more_label: 'Show more'
show_reset_link: false
reset_text: 'Show all'
hide_reset_when_no_selection: false
query_operator: or
use_hierarchy: false
expand_hierarchy: false
enable_parent_when_child_gets_disabled: true
hard_limit: 0
exclude: false
only_visible_when_facet_source_is_visible: true
processor_configs:
display_value_widget_order:
processor_id: display_value_widget_order
weights:
sort: 40
settings:
sort: ASC
translate_entity:
processor_id: translate_entity
weights:
build: 5
settings: { }
url_processor_handler:
processor_id: url_processor_handler
weights:
pre_query: 50
build: 15
settings: { }
empty_behavior:
behavior: none
show_title: false

View File

@ -0,0 +1,47 @@
langcode: en
status: true
dependencies:
config:
- search_api.index.opencase_reporting_clients
- views.view.reporting_clients
module:
- search_api
id: languages
name: 'Languages'
url_alias: languages
weight: 0
min_count: 0
show_only_one_result: false
field_identifier: field_languages_spoken
facet_source_id: 'search_api:views_page__reporting_clients__page_1'
widget:
type: checkbox
config:
show_numbers: false
soft_limit: 0
soft_limit_settings:
show_less_label: 'Show less'
show_more_label: 'Show more'
query_operator: or
use_hierarchy: false
expand_hierarchy: false
enable_parent_when_child_gets_disabled: true
hard_limit: 0
exclude: false
only_visible_when_facet_source_is_visible: true
processor_configs:
display_value_widget_order:
processor_id: display_value_widget_order
weights:
sort: 40
settings:
sort: ASC
url_processor_handler:
processor_id: url_processor_handler
weights:
pre_query: 50
build: 15
settings: { }
empty_behavior:
behavior: none
show_title: false

View File

@ -0,0 +1,47 @@
langcode: en
status: true
dependencies:
config:
- search_api.index.opencase_reporting_clients
- views.view.reporting_clients
module:
- search_api
id: languages_export
name: 'Languages'
url_alias: languages
weight: 0
min_count: 0
show_only_one_result: false
field_identifier: field_languages_spoken
facet_source_id: 'search_api:views_data_export__reporting_clients__data_export_1'
widget:
type: checkbox
config:
show_numbers: false
soft_limit: 0
soft_limit_settings:
show_less_label: 'Show less'
show_more_label: 'Show more'
query_operator: or
use_hierarchy: false
expand_hierarchy: false
enable_parent_when_child_gets_disabled: true
hard_limit: 0
exclude: false
only_visible_when_facet_source_is_visible: true
processor_configs:
display_value_widget_order:
processor_id: display_value_widget_order
weights:
sort: 40
settings:
sort: ASC
url_processor_handler:
processor_id: url_processor_handler
weights:
pre_query: 50
build: 15
settings: { }
empty_behavior:
behavior: none
show_title: false

View File

@ -0,0 +1,47 @@
langcode: en
status: true
dependencies:
config:
- search_api.index.opencase_reporting_clients
- views.view.reporting_clients
module:
- search_api
id: nationalities
name: Nationalities
url_alias: nationalities
weight: 0
min_count: 0
show_only_one_result: false
field_identifier: field_nationalities
facet_source_id: 'search_api:views_page__reporting_clients__page_1'
widget:
type: checkbox
config:
show_numbers: false
soft_limit: 0
soft_limit_settings:
show_less_label: 'Show less'
show_more_label: 'Show more'
query_operator: or
use_hierarchy: false
expand_hierarchy: false
enable_parent_when_child_gets_disabled: true
hard_limit: 0
exclude: false
only_visible_when_facet_source_is_visible: true
processor_configs:
display_value_widget_order:
processor_id: display_value_widget_order
weights:
sort: 40
settings:
sort: ASC
url_processor_handler:
processor_id: url_processor_handler
weights:
pre_query: 50
build: 15
settings: { }
empty_behavior:
behavior: none
show_title: false

View File

@ -0,0 +1,58 @@
langcode: en
status: true
dependencies:
config:
- search_api.index.opencase_reporting_clients
module:
- views_data_export
id: nationalities_export
name: Nationalities-export
url_alias: nationalities_export
weight: 0
min_count: 0
show_only_one_result: false
field_identifier: field_nationalities
facet_source_id: 'search_api:views_data_export__reporting_clients__data_export_1'
widget:
type: links
config:
show_numbers: false
soft_limit: 0
soft_limit_settings:
show_less_label: 'Show less'
show_more_label: 'Show more'
query_operator: or
use_hierarchy: false
expand_hierarchy: false
enable_parent_when_child_gets_disabled: true
hard_limit: 0
exclude: false
only_visible_when_facet_source_is_visible: true
processor_configs:
active_widget_order:
processor_id: active_widget_order
weights:
sort: 20
settings:
sort: DESC
count_widget_order:
processor_id: count_widget_order
weights:
sort: 30
settings:
sort: DESC
display_value_widget_order:
processor_id: display_value_widget_order
weights:
sort: 40
settings:
sort: ASC
url_processor_handler:
processor_id: url_processor_handler
weights:
pre_query: 50
build: 15
settings: { }
empty_behavior:
behavior: none
show_title: false

View File

@ -0,0 +1,47 @@
langcode: en
status: true
dependencies:
config:
- search_api.index.opencase_reporting_volunteers
- views.view.reporting_volunteers
module:
- search_api
id: osic_level
name: 'OSIC level'
url_alias: osic_level
weight: 0
min_count: 0
show_only_one_result: false
field_identifier: field_osic_level
facet_source_id: 'search_api:views_page__reporting_volunteers__page_1'
widget:
type: checkbox
config:
show_numbers: false
soft_limit: 0
soft_limit_settings:
show_less_label: 'Show less'
show_more_label: 'Show more'
query_operator: or
use_hierarchy: false
expand_hierarchy: false
enable_parent_when_child_gets_disabled: true
hard_limit: 0
exclude: false
only_visible_when_facet_source_is_visible: true
processor_configs:
display_value_widget_order:
processor_id: display_value_widget_order
weights:
sort: 40
settings:
sort: ASC
url_processor_handler:
processor_id: url_processor_handler
weights:
pre_query: 50
build: 15
settings: { }
empty_behavior:
behavior: none
show_title: false

View File

@ -0,0 +1,58 @@
langcode: en
status: true
dependencies:
config:
- search_api.index.opencase_reporting_volunteers
module:
- views_data_export
id: osic_level_export
name: 'OSIC level Export'
url_alias: osic_level
weight: 0
min_count: 1
show_only_one_result: false
field_identifier: field_osic_level
facet_source_id: 'search_api:views_data_export__reporting_volunteers__data_export_1'
widget:
type: links
config:
show_numbers: false
soft_limit: 0
soft_limit_settings:
show_less_label: 'Show less'
show_more_label: 'Show more'
query_operator: or
use_hierarchy: false
expand_hierarchy: false
enable_parent_when_child_gets_disabled: true
hard_limit: 0
exclude: false
only_visible_when_facet_source_is_visible: true
processor_configs:
active_widget_order:
processor_id: active_widget_order
weights:
sort: 20
settings:
sort: DESC
count_widget_order:
processor_id: count_widget_order
weights:
sort: 30
settings:
sort: DESC
display_value_widget_order:
processor_id: display_value_widget_order
weights:
sort: 40
settings:
sort: ASC
url_processor_handler:
processor_id: url_processor_handler
weights:
pre_query: 50
build: 15
settings: { }
empty_behavior:
behavior: none
show_title: false

View File

@ -0,0 +1,52 @@
langcode: en
status: true
dependencies:
config:
- search_api.index.opencase_reporting_cases
- views.view.reporting_cases
module:
- search_api
id: outcome
name: Outcome
url_alias: outcome
weight: 0
min_count: 0
show_only_one_result: false
field_identifier: field_outcome
facet_source_id: 'search_api:views_page__reporting_cases__page_1'
widget:
type: checkbox
config:
show_numbers: true
soft_limit: 0
soft_limit_settings:
show_less_label: 'Show less'
show_more_label: 'Show more'
show_reset_link: false
reset_text: 'Show all'
hide_reset_when_no_selection: false
query_operator: or
use_hierarchy: false
expand_hierarchy: false
enable_parent_when_child_gets_disabled: true
hard_limit: 0
exclude: false
only_visible_when_facet_source_is_visible: false
processor_configs:
display_value_widget_order:
processor_id: display_value_widget_order
weights:
sort: 40
settings:
sort: ASC
url_processor_handler:
processor_id: url_processor_handler
weights:
pre_query: 50
build: 15
settings: { }
empty_behavior:
behavior: text
text_format: plain_text
text: ''
show_title: false

View File

@ -0,0 +1,52 @@
langcode: en
status: true
dependencies:
config:
- search_api.index.opencase_reporting_cases
- views.view.reporting_cases
module:
- search_api
id: outcome_export
name: Outcome (Export)
url_alias: outcome
weight: 0
min_count: 0
show_only_one_result: false
field_identifier: field_outcome
facet_source_id: 'search_api:views_data_export__reporting_cases__data_export_1'
widget:
type: checkbox
config:
show_numbers: true
soft_limit: 0
soft_limit_settings:
show_less_label: 'Show less'
show_more_label: 'Show more'
show_reset_link: false
reset_text: 'Show all'
hide_reset_when_no_selection: false
query_operator: or
use_hierarchy: false
expand_hierarchy: false
enable_parent_when_child_gets_disabled: true
hard_limit: 0
exclude: false
only_visible_when_facet_source_is_visible: false
processor_configs:
display_value_widget_order:
processor_id: display_value_widget_order
weights:
sort: 40
settings:
sort: ASC
url_processor_handler:
processor_id: url_processor_handler
weights:
pre_query: 50
build: 15
settings: { }
empty_behavior:
behavior: text
text_format: plain_text
text: ''
show_title: false

View File

@ -1,12 +1,24 @@
langcode: en langcode: en
status: true status: true
id: persons dependencies:
label: Persons config:
- field.storage.oc_case.field_outcome
- search_api.index.opencase_reporting_cases
module:
- csv_serialization
- options
- rest
- search_api
- serialization
- user
- views_data_export
id: reporting_cases
label: 'Reporting: Cases'
module: views module: views
description: '' description: ''
tag: '' tag: ''
base_table: person_field_data base_table: search_api_index_opencase_reporting_cases
base_field: id base_field: search_api_id
core: 8.x core: 8.x
display: display:
default: default:
@ -16,19 +28,18 @@ display:
position: 0 position: 0
display_options: display_options:
access: access:
type: none type: perm
options: { } options:
perm: 'use opencase'
cache: cache:
type: tag type: none
options: { } options: { }
query: query:
type: views_query type: views_query
options: options:
disable_sql_rewrite: false bypass_access: false
distinct: false skip_access: false
replica: false preserve_facet_query_args: false
query_comment: ''
query_tags: { }
exposed_form: exposed_form:
type: basic type: basic
options: options:
@ -42,7 +53,7 @@ display:
pager: pager:
type: mini type: mini
options: options:
items_per_page: 10 items_per_page: 20
offset: 0 offset: 0
id: 0 id: 0
total_pages: null total_pages: null
@ -58,27 +69,203 @@ display:
previous: previous:
next: next:
style: style:
type: default type: table
options: options:
grouping: { } grouping: { }
row_class: '' row_class: ''
default_row_class: true default_row_class: true
uses_fields: false override: true
sticky: false
caption: ''
summary: ''
description: ''
columns:
name: name
type: type
actors_involved: actors_involved
field_outcome: field_outcome
info:
name:
align: ''
separator: ''
empty_column: false
responsive: ''
type:
align: ''
separator: ''
empty_column: false
responsive: ''
actors_involved:
sortable: false
default_sort_order: asc
align: ''
separator: ''
empty_column: false
responsive: ''
field_outcome:
sortable: false
default_sort_order: asc
align: ''
separator: ''
empty_column: false
responsive: ''
default: '-1'
empty_table: false
row: row:
type: fields type: fields
options:
inline: { }
separator: ''
hide_empty: false
default_field_elements: true
fields: fields:
first_name: name:
table: person_field_data id: name
field: first_name table: search_api_datasource_opencase_reporting_cases_entity_oc_case
id: first_name field: name
relationship: none
group_type: group
admin_label: ''
label: ''
exclude: false
alter:
alter_text: false
text: ''
make_link: false
path: ''
absolute: false
external: false
replace_spaces: false
path_case: none
trim_whitespace: false
alt: ''
rel: ''
link_class: ''
prefix: ''
suffix: ''
target: ''
nl2br: false
max_length: 0
word_boundary: true
ellipsis: true
more_link: false
more_link_text: ''
more_link_path: ''
strip_tags: false
trim: false
preserve_tags: ''
html: false
element_type: ''
element_class: ''
element_label_type: ''
element_label_class: ''
element_label_colon: false
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true
click_sort_column: value
type: string
settings:
link_to_entity: true
group_column: value
group_columns: { }
group_rows: true
delta_limit: 0
delta_offset: 0
delta_reversed: false
delta_first_last: false
multi_type: separator
separator: ', '
field_api_classes: false
field_rendering: true
fallback_handler: search_api
fallback_options:
link_to_item: false
use_highlighting: false
multi_type: separator
multi_separator: ', '
entity_type: oc_case
plugin_id: search_api_field
type:
id: type
table: search_api_datasource_opencase_reporting_cases_entity_oc_case
field: type
relationship: none
group_type: group
admin_label: ''
label: ''
exclude: false
alter:
alter_text: false
text: ''
make_link: false
path: ''
absolute: false
external: false
replace_spaces: false
path_case: none
trim_whitespace: false
alt: ''
rel: ''
link_class: ''
prefix: ''
suffix: ''
target: ''
nl2br: false
max_length: 0
word_boundary: true
ellipsis: true
more_link: false
more_link_text: ''
more_link_path: ''
strip_tags: false
trim: false
preserve_tags: ''
html: false
element_type: ''
element_class: ''
element_label_type: ''
element_label_class: ''
element_label_colon: false
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true
click_sort_column: target_id
type: entity_reference_label
settings:
link: false
group_column: target_id
group_columns: { }
group_rows: true
delta_limit: 0
delta_offset: 0
delta_reversed: false
delta_first_last: false
multi_type: separator
separator: ', '
field_api_classes: false
field_rendering: true
fallback_handler: search_api_entity
fallback_options:
link_to_item: false
use_highlighting: false
multi_type: separator
multi_separator: ', '
display_methods:
oc_case_type:
display_method: label
entity_type: oc_case
plugin_id: search_api_field
actors_involved:
table: search_api_index_opencase_reporting_cases
field: actors_involved
id: actors_involved
entity_type: null entity_type: null
entity_field: first_name entity_field: null
plugin_id: field plugin_id: search_api_field
relationship: none relationship: none
group_type: group group_type: group
admin_label: '' admin_label: ''
@ -123,8 +310,77 @@ display:
hide_empty: false hide_empty: false
empty_zero: false empty_zero: false
hide_alter_empty: true hide_alter_empty: true
click_sort_column: target_id
type: entity_reference_label
settings: { }
group_column: target_id
group_columns: { }
group_rows: true
delta_limit: 0
delta_offset: 0
delta_reversed: false
delta_first_last: false
multi_type: separator
separator: ', '
field_api_classes: false
field_rendering: true
fallback_handler: search_api_entity
fallback_options:
link_to_item: false
use_highlighting: false
multi_type: separator
multi_separator: ', '
display_methods: { }
field_outcome:
id: field_outcome
table: search_api_index_opencase_reporting_cases
field: field_outcome
relationship: none
group_type: group
admin_label: ''
label: ''
exclude: false
alter:
alter_text: false
text: ''
make_link: false
path: ''
absolute: false
external: false
replace_spaces: false
path_case: none
trim_whitespace: false
alt: ''
rel: ''
link_class: ''
prefix: ''
suffix: ''
target: ''
nl2br: false
max_length: 0
word_boundary: true
ellipsis: true
more_link: false
more_link_text: ''
more_link_path: ''
strip_tags: false
trim: false
preserve_tags: ''
html: false
element_type: ''
element_class: ''
element_label_type: ''
element_label_class: ''
element_label_colon: false
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true
click_sort_column: value click_sort_column: value
type: string type: list_default
settings: { } settings: { }
group_column: value group_column: value
group_columns: { } group_columns: { }
@ -136,203 +392,17 @@ display:
multi_type: separator multi_type: separator
separator: ', ' separator: ', '
field_api_classes: false field_api_classes: false
last_name: field_rendering: true
id: last_name fallback_handler: search_api
table: person_field_data fallback_options:
field: last_name link_to_item: false
relationship: none use_highlighting: false
group_type: group multi_type: separator
admin_label: '' multi_separator: ', '
label: '' plugin_id: search_api_field
exclude: false
alter:
alter_text: false
text: ''
make_link: false
path: ''
absolute: false
external: false
replace_spaces: false
path_case: none
trim_whitespace: false
alt: ''
rel: ''
link_class: ''
prefix: ''
suffix: ''
target: ''
nl2br: false
max_length: 0
word_boundary: true
ellipsis: true
more_link: false
more_link_text: ''
more_link_path: ''
strip_tags: false
trim: false
preserve_tags: ''
html: false
element_type: ''
element_class: ''
element_label_type: ''
element_label_class: ''
element_label_colon: false
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true
click_sort_column: value
type: string
settings:
link_to_entity: false
group_column: value
group_columns: { }
group_rows: true
delta_limit: 0
delta_offset: 0
delta_reversed: false
delta_first_last: false
multi_type: separator
separator: ', '
field_api_classes: false
entity_type: person
entity_field: last_name
plugin_id: field
first_and_last_name:
id: first_and_last_name
table: person_field_data
field: first_and_last_name
relationship: none
group_type: group
admin_label: ''
label: ''
exclude: false
alter:
alter_text: false
text: ''
make_link: false
path: ''
absolute: false
external: false
replace_spaces: false
path_case: none
trim_whitespace: false
alt: ''
rel: ''
link_class: ''
prefix: ''
suffix: ''
target: ''
nl2br: false
max_length: 0
word_boundary: true
ellipsis: true
more_link: false
more_link_text: ''
more_link_path: ''
strip_tags: false
trim: false
preserve_tags: ''
html: false
element_type: ''
element_class: ''
element_label_type: ''
element_label_class: ''
element_label_colon: false
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true
click_sort_column: value
type: string
settings:
link_to_entity: false
group_column: value
group_columns: { }
group_rows: true
delta_limit: 0
delta_offset: 0
delta_reversed: false
delta_first_last: false
multi_type: separator
separator: ', '
field_api_classes: false
entity_type: person
entity_field: first_and_last_name
plugin_id: field
full_name:
id: full_name
table: person_field_data
field: full_name
relationship: none
group_type: group
admin_label: ''
label: ''
exclude: false
alter:
alter_text: false
text: ''
make_link: false
path: ''
absolute: false
external: false
replace_spaces: false
path_case: none
trim_whitespace: false
alt: ''
rel: ''
link_class: ''
prefix: ''
suffix: ''
target: ''
nl2br: false
max_length: 0
word_boundary: true
ellipsis: true
more_link: false
more_link_text: ''
more_link_path: ''
strip_tags: false
trim: false
preserve_tags: ''
html: false
element_type: ''
element_class: ''
element_label_type: ''
element_label_class: ''
element_label_colon: false
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true
click_sort_column: value
type: string
settings:
link_to_entity: false
group_column: value
group_columns: { }
group_rows: true
delta_limit: 0
delta_offset: 0
delta_reversed: false
delta_first_last: false
multi_type: separator
separator: ', '
field_api_classes: false
entity_type: person
entity_field: full_name
plugin_id: field
filters: { } filters: { }
sorts: { } sorts: { }
title: 'Reporting: Cases'
header: { } header: { }
footer: { } footer: { }
empty: { } empty: { }
@ -345,25 +415,68 @@ display:
- 'languages:language_content' - 'languages:language_content'
- 'languages:language_interface' - 'languages:language_interface'
- url.query_args - url.query_args
tags: { } - user.permissions
entity_reference_1: tags:
display_plugin: entity_reference - 'config:field.storage.oc_case.field_outcome'
id: entity_reference_1 data_export_1:
display_title: 'Entity Reference' display_plugin: data_export
position: 1 id: data_export_1
display_title: 'Data export'
position: 2
display_options: display_options:
display_extenders: { } display_extenders: { }
path: opencase/reporting/cases
filename: '[view:title].csv'
displays:
page_1: page_1
default: '0'
style: style:
type: entity_reference type: data_export
options: options:
search_fields: formats:
first_name: first_name csv: csv
last_name: last_name csv_settings:
first_and_last_name: first_and_last_name delimiter: ','
full_name: full_name enclosure: '"'
escape_char: \
strip_tags: true
trim: true
encoding: utf8
xls_settings:
xls_format: Excel2007
metadata:
creator: ''
last_modified_by: ''
title: ''
description: ''
subject: ''
keywords: ''
category: ''
manager: ''
company: ''
cache_metadata: cache_metadata:
max-age: -1 max-age: -1
contexts: contexts:
- 'languages:language_content' - 'languages:language_content'
- 'languages:language_interface' - 'languages:language_interface'
tags: { } - request_format
- user.permissions
tags:
- 'config:field.storage.oc_case.field_outcome'
page_1:
display_plugin: page
id: page_1
display_title: Page
position: 1
display_options:
display_extenders: { }
path: opencase/reporting/cases
cache_metadata:
max-age: -1
contexts:
- 'languages:language_content'
- 'languages:language_interface'
- url.query_args
- user.permissions
tags:
- 'config:field.storage.oc_case.field_outcome'

View File

@ -0,0 +1,682 @@
langcode: en
status: true
dependencies:
config:
- field.storage.oc_actor.field_asylum_status
- field.storage.oc_actor.field_disability
- field.storage.oc_actor.field_gender_identified_with
- field.storage.oc_actor.field_languages_spoken
- field.storage.oc_actor.field_nationalities
- search_api.index.opencase_reporting_clients
module:
- csv_serialization
- options
- rest
- search_api
- serialization
- user
- views_data_export
id: reporting_clients
label: 'Reporting: Clients'
module: views
description: ''
tag: ''
base_table: search_api_index_opencase_reporting_clients
base_field: search_api_id
core: 8.x
display:
default:
display_plugin: default
id: default
display_title: Master
position: 0
display_options:
access:
type: perm
options:
perm: 'use opencase'
cache:
type: tag
options: { }
query:
type: views_query
options:
bypass_access: false
skip_access: false
exposed_form:
type: basic
options:
submit_button: Apply
reset_button: false
reset_button_label: Reset
exposed_sorts_label: 'Sort by'
expose_sort_order: true
sort_asc_label: Asc
sort_desc_label: Desc
pager:
type: mini
options:
items_per_page: 50
offset: 0
id: 0
total_pages: null
tags:
previous:
next:
expose:
items_per_page: false
items_per_page_label: 'Items per page'
items_per_page_options: '5, 10, 25, 50'
items_per_page_options_all: false
items_per_page_options_all_label: '- All -'
offset: false
offset_label: Offset
style:
type: table
row:
type: fields
fields:
name:
id: name
table: search_api_datasource_opencase_reporting_clients_entity_oc_actor
field: name
relationship: none
group_type: group
admin_label: ''
label: Name
exclude: false
alter:
alter_text: false
text: ''
make_link: false
path: ''
absolute: false
external: false
replace_spaces: false
path_case: none
trim_whitespace: false
alt: ''
rel: ''
link_class: ''
prefix: ''
suffix: ''
target: ''
nl2br: false
max_length: 0
word_boundary: true
ellipsis: true
more_link: false
more_link_text: ''
more_link_path: ''
strip_tags: false
trim: false
preserve_tags: ''
html: false
element_type: ''
element_class: ''
element_label_type: ''
element_label_class: ''
element_label_colon: true
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true
click_sort_column: value
type: string
settings:
link_to_entity: true
group_column: value
group_columns: { }
group_rows: true
delta_limit: 0
delta_offset: 0
delta_reversed: false
delta_first_last: false
multi_type: separator
separator: ', '
field_api_classes: false
field_rendering: true
fallback_handler: search_api
fallback_options:
link_to_item: false
use_highlighting: false
multi_type: separator
multi_separator: ', '
entity_type: oc_actor
plugin_id: search_api_field
field_asylum_status:
id: field_asylum_status
table: search_api_index_opencase_reporting_clients
field: field_asylum_status
relationship: none
group_type: group
admin_label: ''
label: 'Asylum status'
exclude: false
alter:
alter_text: false
text: ''
make_link: false
path: ''
absolute: false
external: false
replace_spaces: false
path_case: none
trim_whitespace: false
alt: ''
rel: ''
link_class: ''
prefix: ''
suffix: ''
target: ''
nl2br: false
max_length: 0
word_boundary: true
ellipsis: true
more_link: false
more_link_text: ''
more_link_path: ''
strip_tags: false
trim: false
preserve_tags: ''
html: false
element_type: ''
element_class: ''
element_label_type: ''
element_label_class: ''
element_label_colon: true
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true
click_sort_column: value
type: list_default
settings: { }
group_column: value
group_columns: { }
group_rows: true
delta_limit: 0
delta_offset: 0
delta_reversed: false
delta_first_last: false
multi_type: separator
separator: ', '
field_api_classes: false
field_rendering: true
fallback_handler: search_api
fallback_options:
link_to_item: false
use_highlighting: false
multi_type: separator
multi_separator: ', '
entity_type: null
entity_field: null
plugin_id: search_api_field
field_disability:
id: field_disability
table: search_api_index_opencase_reporting_clients
field: field_disability
relationship: none
group_type: group
admin_label: ''
label: Disability
exclude: false
alter:
alter_text: false
text: ''
make_link: false
path: ''
absolute: false
external: false
replace_spaces: false
path_case: none
trim_whitespace: false
alt: ''
rel: ''
link_class: ''
prefix: ''
suffix: ''
target: ''
nl2br: false
max_length: 0
word_boundary: true
ellipsis: true
more_link: false
more_link_text: ''
more_link_path: ''
strip_tags: false
trim: false
preserve_tags: ''
html: false
element_type: ''
element_class: ''
element_label_type: ''
element_label_class: ''
element_label_colon: true
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true
click_sort_column: value
type: string
settings:
link_to_entity: false
group_column: value
group_columns: { }
group_rows: true
delta_limit: 0
delta_offset: 0
delta_reversed: false
delta_first_last: false
multi_type: separator
separator: ', '
field_api_classes: false
field_rendering: true
fallback_handler: search_api
fallback_options:
link_to_item: false
use_highlighting: false
multi_type: separator
multi_separator: ', '
plugin_id: search_api_field
field_gender_identified_with:
id: field_gender_identified_with
table: search_api_index_opencase_reporting_clients
field: field_gender_identified_with
relationship: none
group_type: group
admin_label: ''
label: 'Gender ID'
exclude: false
alter:
alter_text: false
text: ''
make_link: false
path: ''
absolute: false
external: false
replace_spaces: false
path_case: none
trim_whitespace: false
alt: ''
rel: ''
link_class: ''
prefix: ''
suffix: ''
target: ''
nl2br: false
max_length: 0
word_boundary: true
ellipsis: true
more_link: false
more_link_text: ''
more_link_path: ''
strip_tags: false
trim: false
preserve_tags: ''
html: false
element_type: ''
element_class: ''
element_label_type: ''
element_label_class: ''
element_label_colon: true
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true
click_sort_column: value
type: list_default
settings: { }
group_column: value
group_columns: { }
group_rows: true
delta_limit: 0
delta_offset: 0
delta_reversed: false
delta_first_last: false
multi_type: separator
separator: ', '
field_api_classes: false
field_rendering: true
fallback_handler: search_api
fallback_options:
link_to_item: false
use_highlighting: false
multi_type: separator
multi_separator: ', '
plugin_id: search_api_field
field_nationalities:
id: field_nationalities
table: search_api_datasource_opencase_reporting_clients_entity_oc_actor
field: field_nationalities
relationship: none
group_type: group
admin_label: ''
label: Nationality
exclude: false
alter:
alter_text: false
text: ''
make_link: false
path: ''
absolute: false
external: false
replace_spaces: false
path_case: none
trim_whitespace: false
alt: ''
rel: ''
link_class: ''
prefix: ''
suffix: ''
target: ''
nl2br: false
max_length: 0
word_boundary: true
ellipsis: true
more_link: false
more_link_text: ''
more_link_path: ''
strip_tags: false
trim: false
preserve_tags: ''
html: false
element_type: ''
element_class: ''
element_label_type: ''
element_label_class: ''
element_label_colon: true
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true
click_sort_column: value
type: list_default
settings: { }
group_column: value
group_columns: { }
group_rows: true
delta_limit: 0
delta_offset: 0
delta_reversed: false
delta_first_last: false
multi_type: separator
separator: ', '
field_api_classes: false
field_rendering: true
fallback_handler: search_api
fallback_options:
link_to_item: false
use_highlighting: false
multi_type: separator
multi_separator: ', '
entity_type: oc_actor
plugin_id: search_api_field
field_languages_spoken:
id: field_languages_spoken
table: search_api_index_opencase_reporting_clients
field: field_languages_spoken
relationship: none
group_type: group
admin_label: ''
label: Languages
exclude: false
alter:
alter_text: false
text: ''
make_link: false
path: ''
absolute: false
external: false
replace_spaces: false
path_case: none
trim_whitespace: false
alt: ''
rel: ''
link_class: ''
prefix: ''
suffix: ''
target: ''
nl2br: false
max_length: 0
word_boundary: true
ellipsis: true
more_link: false
more_link_text: ''
more_link_path: ''
strip_tags: false
trim: false
preserve_tags: ''
html: false
element_type: ''
element_class: ''
element_label_type: ''
element_label_class: ''
element_label_colon: true
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true
click_sort_column: value
type: list_default
settings: { }
group_column: value
group_columns: { }
group_rows: true
delta_limit: 0
delta_offset: 0
delta_reversed: false
delta_first_last: false
multi_type: separator
separator: ', '
field_api_classes: false
field_rendering: true
fallback_handler: search_api
fallback_options:
link_to_item: false
use_highlighting: false
multi_type: separator
multi_separator: ', '
plugin_id: search_api_field
post_code:
id: post_code
table: search_api_datasource_opencase_reporting_clients_entity_oc_actor
field: post_code
relationship: none
group_type: group
admin_label: ''
label: 'Post Code'
exclude: false
alter:
alter_text: false
text: ''
make_link: false
path: ''
absolute: false
external: false
replace_spaces: false
path_case: none
trim_whitespace: false
alt: ''
rel: ''
link_class: ''
prefix: ''
suffix: ''
target: ''
nl2br: false
max_length: 0
word_boundary: true
ellipsis: true
more_link: false
more_link_text: ''
more_link_path: ''
strip_tags: false
trim: false
preserve_tags: ''
html: false
element_type: ''
element_class: ''
element_label_type: ''
element_label_class: ''
element_label_colon: true
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true
click_sort_column: value
type: string
settings:
link_to_entity: false
group_column: value
group_columns: { }
group_rows: true
delta_limit: 0
delta_offset: 0
delta_reversed: false
delta_first_last: false
multi_type: separator
separator: ', '
field_api_classes: false
field_rendering: true
fallback_handler: search_api
fallback_options:
link_to_item: false
use_highlighting: false
multi_type: separator
multi_separator: ', '
entity_type: oc_actor
plugin_id: search_api_field
filters: { }
sorts: { }
title: 'Client Report'
header:
entity_block_content:
id: entity_block_content
table: views
field: entity_block_content
relationship: none
group_type: group
admin_label: ''
empty: false
tokenize: true
target: 944ff38d-5931-4439-91d5-f53b5ad7aac7
view_mode: default
bypass_access: false
plugin_id: entity
footer: { }
empty: { }
relationships: { }
arguments: { }
display_extenders: { }
cache_metadata:
max-age: -1
contexts:
- 'languages:language_content'
- 'languages:language_interface'
- url.query_args
- user.permissions
tags:
- 'config:field.storage.oc_actor.field_asylum_status'
- 'config:field.storage.oc_actor.field_disability'
- 'config:field.storage.oc_actor.field_gender_identified_with'
- 'config:field.storage.oc_actor.field_languages_spoken'
- 'config:field.storage.oc_actor.field_nationalities'
data_export_1:
display_plugin: data_export
id: data_export_1
display_title: 'Data export'
position: 2
display_options:
display_extenders: { }
path: opencase/reporting/clients
filename: '[view:title].csv'
cache:
type: none
defaults:
cache: false
displays:
page_1: page_1
default: '0'
style:
type: data_export
options:
formats:
csv: csv
csv_settings:
delimiter: ','
enclosure: '"'
escape_char: \
strip_tags: true
trim: true
encoding: utf8
xls_settings:
xls_format: Excel2007
metadata:
creator: ''
last_modified_by: ''
title: ''
description: ''
subject: ''
keywords: ''
category: ''
manager: ''
company: ''
cache_metadata:
max-age: -1
contexts:
- 'languages:language_content'
- 'languages:language_interface'
- request_format
- user.permissions
tags:
- 'config:field.storage.oc_actor.field_asylum_status'
- 'config:field.storage.oc_actor.field_disability'
- 'config:field.storage.oc_actor.field_gender_identified_with'
- 'config:field.storage.oc_actor.field_languages_spoken'
- 'config:field.storage.oc_actor.field_nationalities'
page_1:
display_plugin: page
id: page_1
display_title: Page
position: 1
display_options:
display_extenders: { }
path: opencase/reporting/clients
cache:
type: none
defaults:
cache: false
cache_metadata:
max-age: -1
contexts:
- 'languages:language_content'
- 'languages:language_interface'
- url.query_args
- user.permissions
tags:
- 'config:field.storage.oc_actor.field_asylum_status'
- 'config:field.storage.oc_actor.field_disability'
- 'config:field.storage.oc_actor.field_gender_identified_with'
- 'config:field.storage.oc_actor.field_languages_spoken'
- 'config:field.storage.oc_actor.field_nationalities'

View File

@ -1,15 +1,25 @@
langcode: en langcode: en
status: true status: true
dependencies: dependencies:
config:
- field.storage.oc_actor.field_languages_spoken
- field.storage.oc_actor.field_osic_level
- search_api.index.opencase_reporting_volunteers
module: module:
- zencrm_entities - csv_serialization
id: this_hat_s_cases - options
label: 'This hat''s cases' - rest
- search_api
- serialization
- user
- views_data_export
id: reporting_volunteers
label: 'Reporting: Volunteers'
module: views module: views
description: '' description: ''
tag: '' tag: ''
base_table: case_entity_field_data base_table: search_api_index_opencase_reporting_volunteers
base_field: id base_field: search_api_id
core: 8.x core: 8.x
display: display:
default: default:
@ -19,19 +29,17 @@ display:
position: 0 position: 0
display_options: display_options:
access: access:
type: none type: perm
options: { } options:
perm: 'use opencase'
cache: cache:
type: tag type: tag
options: { } options: { }
query: query:
type: views_query type: views_query
options: options:
disable_sql_rewrite: false bypass_access: false
distinct: false skip_access: false
replica: false
query_comment: ''
query_tags: { }
exposed_form: exposed_form:
type: basic type: basic
options: options:
@ -43,37 +51,57 @@ display:
sort_asc_label: Asc sort_asc_label: Asc
sort_desc_label: Desc sort_desc_label: Desc
pager: pager:
type: none type: mini
options: options:
items_per_page: 50
offset: 0 offset: 0
id: 0
total_pages: null
expose:
items_per_page: false
items_per_page_label: 'Items per page'
items_per_page_options: '5, 10, 25, 50'
items_per_page_options_all: false
items_per_page_options_all_label: '- All -'
offset: false
offset_label: Offset
tags:
previous:
next:
style: style:
type: table type: table
options: options:
grouping: { } grouping: { }
row_class: '' row_class: ''
default_row_class: true default_row_class: true
uses_fields: false
columns: { }
default: ''
info: { }
override: true override: true
sticky: false sticky: false
order: asc
caption: '' caption: ''
summary: '' summary: ''
description: '' description: ''
columns:
field_languages_spoken: field_languages_spoken
info:
field_languages_spoken:
sortable: false
default_sort_order: asc
align: ''
separator: ''
empty_column: false
responsive: ''
default: '-1'
empty_table: false empty_table: false
row: row:
type: 'entity:case_entity' type: fields
fields: fields:
name: name:
id: name id: name
table: case_entity_field_data table: search_api_index_opencase_reporting_volunteers
field: name field: name
relationship: none relationship: none
group_type: group group_type: group
admin_label: '' admin_label: ''
label: Case label: Name
exclude: false exclude: false
alter: alter:
alter_text: false alter_text: false
@ -117,7 +145,7 @@ display:
click_sort_column: value click_sort_column: value
type: string type: string
settings: settings:
link_to_entity: false link_to_entity: true
group_column: value group_column: value
group_columns: { } group_columns: { }
group_rows: true group_rows: true
@ -128,17 +156,22 @@ display:
multi_type: separator multi_type: separator
separator: ', ' separator: ', '
field_api_classes: false field_api_classes: false
entity_type: null field_rendering: true
entity_field: name fallback_handler: search_api
plugin_id: field fallback_options:
type: link_to_item: false
id: type use_highlighting: false
table: case_entity_field_data multi_type: separator
field: type multi_separator: ', '
plugin_id: search_api_field
field_languages_spoken_1:
id: field_languages_spoken_1
table: search_api_index_opencase_reporting_volunteers
field: field_languages_spoken
relationship: none relationship: none
group_type: group group_type: group
admin_label: '' admin_label: ''
label: Type label: 'Languages spoken'
exclude: false exclude: false
alter: alter:
alter_text: false alter_text: false
@ -179,11 +212,10 @@ display:
hide_empty: false hide_empty: false
empty_zero: false empty_zero: false
hide_alter_empty: true hide_alter_empty: true
click_sort_column: target_id click_sort_column: value
type: entity_reference_label type: list_default
settings: settings: { }
link: false group_column: value
group_column: target_id
group_columns: { } group_columns: { }
group_rows: true group_rows: true
delta_limit: 0 delta_limit: 0
@ -193,17 +225,22 @@ display:
multi_type: separator multi_type: separator
separator: ', ' separator: ', '
field_api_classes: false field_api_classes: false
entity_type: case_entity field_rendering: true
entity_field: type fallback_handler: search_api
plugin_id: field fallback_options:
hats_involved_target_id: link_to_item: false
id: hats_involved_target_id use_highlighting: false
table: case_entity__hats_involved multi_type: separator
field: hats_involved_target_id multi_separator: ', '
plugin_id: search_api_field
field_osic_level:
id: field_osic_level
table: search_api_index_opencase_reporting_volunteers
field: field_osic_level
relationship: none relationship: none
group_type: group group_type: group
admin_label: '' admin_label: ''
label: 'Involved Parties' label: 'OSIC level'
exclude: false exclude: false
alter: alter:
alter_text: false alter_text: false
@ -244,11 +281,10 @@ display:
hide_empty: false hide_empty: false
empty_zero: false empty_zero: false
hide_alter_empty: true hide_alter_empty: true
click_sort_column: target_id click_sort_column: value
type: entity_reference_label type: list_default
settings: settings: { }
link: false group_column: value
group_column: target_id
group_columns: { } group_columns: { }
group_rows: true group_rows: true
delta_limit: 0 delta_limit: 0
@ -258,137 +294,102 @@ display:
multi_type: separator multi_type: separator
separator: ', ' separator: ', '
field_api_classes: false field_api_classes: false
entity_type: case_entity field_rendering: true
entity_field: hats_involved fallback_handler: search_api
plugin_id: field fallback_options:
view_case_entity: link_to_item: false
id: view_case_entity use_highlighting: false
table: case_entity multi_type: separator
field: view_case_entity multi_separator: ', '
relationship: none plugin_id: search_api_field
group_type: group
admin_label: ''
label: ''
exclude: false
alter:
alter_text: false
text: ''
make_link: false
path: ''
absolute: false
external: false
replace_spaces: false
path_case: none
trim_whitespace: false
alt: ''
rel: ''
link_class: ''
prefix: ''
suffix: ''
target: ''
nl2br: false
max_length: 0
word_boundary: true
ellipsis: true
more_link: false
more_link_text: ''
more_link_path: ''
strip_tags: false
trim: false
preserve_tags: ''
html: false
element_type: ''
element_class: ''
element_label_type: ''
element_label_class: ''
element_label_colon: false
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true
text: 'Go to case'
output_url_as_text: false
absolute: false
entity_type: case_entity
plugin_id: entity_link
filters: { } filters: { }
sorts: { } sorts: { }
title: 'This hat''s cases' title: 'Volunteer Report'
header: { } header: { }
footer: { } footer: { }
empty: empty: { }
area_text_custom:
id: area_text_custom
table: views
field: area_text_custom
relationship: none
group_type: group
admin_label: ''
empty: true
tokenize: false
content: '<p class=''zencrm_fyi''>This person is not involved in any cases in this capacity.</p>'
plugin_id: text_custom
relationships: { } relationships: { }
arguments: arguments: { }
hats_involved_target_id:
id: hats_involved_target_id
table: case_entity__hats_involved
field: hats_involved_target_id
relationship: none
group_type: group
admin_label: ''
default_action: empty
exception:
value: all
title_enable: false
title: All
title_enable: false
title: ''
default_argument_type: fixed
default_argument_options:
argument: ''
default_argument_skip_url: false
summary_options:
base_path: ''
count: true
items_per_page: 25
override: false
summary:
sort_order: asc
number_of_records: 0
format: default_summary
specify_validation: false
validate:
type: none
fail: 'not found'
validate_options: { }
break_phrase: false
not: false
entity_type: case_entity
entity_field: hats_involved
plugin_id: numeric
display_extenders: { } display_extenders: { }
cache_metadata: cache_metadata:
max-age: -1 max-age: -1
contexts: contexts:
- 'languages:language_content' - 'languages:language_content'
- 'languages:language_interface' - 'languages:language_interface'
- url - url.query_args
tags: { } - user.permissions
block_1: tags:
display_plugin: block - 'config:field.storage.oc_actor.field_languages_spoken'
id: block_1 - 'config:field.storage.oc_actor.field_osic_level'
display_title: Block data_export_1:
display_plugin: data_export
id: data_export_1
display_title: 'Data export'
position: 2
display_options:
display_extenders: { }
path: opencase/reporting/volunteers
filename: '[view:title].csv'
cache:
type: none
defaults:
cache: false
displays:
page_1: page_1
default: '0'
style:
type: data_export
options:
formats:
csv: csv
csv_settings:
delimiter: ','
enclosure: '"'
escape_char: \
strip_tags: true
trim: true
encoding: utf8
xls_settings:
xls_format: Excel2007
metadata:
creator: ''
last_modified_by: ''
title: ''
description: ''
subject: ''
keywords: ''
category: ''
manager: ''
company: ''
cache_metadata:
max-age: -1
contexts:
- 'languages:language_content'
- 'languages:language_interface'
- request_format
- user.permissions
tags:
- 'config:field.storage.oc_actor.field_languages_spoken'
- 'config:field.storage.oc_actor.field_osic_level'
page_1:
display_plugin: page
id: page_1
display_title: Page
position: 1 position: 1
display_options: display_options:
display_extenders: { } display_extenders: { }
path: opencase/reporting/volunteers
cache:
type: none
defaults:
cache: false
cache_metadata: cache_metadata:
max-age: -1 max-age: -1
contexts: contexts:
- 'languages:language_content' - 'languages:language_content'
- 'languages:language_interface' - 'languages:language_interface'
- url - url.query_args
tags: { } - user.permissions
tags:
- 'config:field.storage.oc_actor.field_languages_spoken'
- 'config:field.storage.oc_actor.field_osic_level'

View File

@ -0,0 +1,57 @@
langcode: en
status: true
dependencies:
module:
- opencase_entities
- search_api
config:
- field.storage.oc_case.field_outcome
- search_api.server.opencase_reporting_server
id: opencase_reporting_cases
name: 'OpenCase Reporting: Cases'
description: ''
read_only: false
field_settings:
actors_involved:
label: 'Involved Parties'
datasource_id: 'entity:oc_case'
property_path: actors_involved
type: integer
dependencies:
module:
- opencase_entities
created:
label: Created
datasource_id: 'entity:oc_case'
property_path: created
type: date
dependencies:
module:
- opencase_entities
field_outcome:
label: Outcome
datasource_id: 'entity:oc_case'
property_path: field_outcome
type: string
dependencies:
config:
- field.storage.oc_case.field_outcome
datasource_settings:
'entity:oc_case':
bundles:
default: true
selected: { }
languages:
default: true
selected: { }
processor_settings:
add_url: { }
aggregated_field: { }
rendered_item: { }
tracker_settings:
default:
indexing_order: fifo
options:
index_directly: true
cron_limit: 50
server: opencase_reporting_server

View File

@ -0,0 +1,110 @@
langcode: en
status: true
dependencies:
config:
- field.storage.oc_actor.field_asylum_status
- field.storage.oc_actor.field_disability
- field.storage.oc_actor.field_gender_identified_with
- field.storage.oc_actor.field_languages_spoken
- field.storage.oc_actor.field_nationalities
- search_api.server.opencase_reporting_server
module:
- opencase_entities
- search_api
id: opencase_reporting_clients
name: 'OpenCase Reporting: Clients'
description: ''
read_only: false
field_settings:
created:
label: Created
datasource_id: 'entity:oc_actor'
property_path: created
type: date
dependencies:
module:
- opencase_entities
field_asylum_status:
label: 'Asylum status'
datasource_id: 'entity:oc_actor'
property_path: field_asylum_status
type: string
dependencies:
config:
- field.storage.oc_actor.field_asylum_status
field_disability:
label: Disability
datasource_id: 'entity:oc_actor'
property_path: field_disability
type: string
dependencies:
config:
- field.storage.oc_actor.field_disability
field_gender_identified_with:
label: 'Gender identified with'
datasource_id: 'entity:oc_actor'
property_path: field_gender_identified_with
type: string
dependencies:
config:
- field.storage.oc_actor.field_gender_identified_with
field_languages_spoken:
label: 'Languages spoken'
datasource_id: 'entity:oc_actor'
property_path: field_languages_spoken
type: string
dependencies:
config:
- field.storage.oc_actor.field_languages_spoken
field_nationalities:
label: Nationality
datasource_id: 'entity:oc_actor'
property_path: field_nationalities
type: string
dependencies:
config:
- field.storage.oc_actor.field_nationalities
first_name:
label: 'First Name'
datasource_id: 'entity:oc_actor'
property_path: first_name
type: string
dependencies:
module:
- opencase_entities
last_name:
label: 'Last Name'
datasource_id: 'entity:oc_actor'
property_path: last_name
type: string
dependencies:
module:
- opencase_entities
post_code:
label: 'Post Code'
datasource_id: 'entity:oc_actor'
property_path: post_code
type: string
dependencies:
module:
- opencase_entities
datasource_settings:
'entity:oc_actor':
bundles:
default: false
selected:
- client
languages:
default: true
selected: { }
processor_settings:
add_url: { }
aggregated_field: { }
rendered_item: { }
tracker_settings:
default:
indexing_order: fifo
options:
index_directly: true
cron_limit: 50
server: opencase_reporting_server

View File

@ -0,0 +1,59 @@
langcode: en
status: true
dependencies:
config:
- field.storage.oc_actor.field_languages_spoken
- field.storage.oc_actor.field_osic_level
- search_api.server.opencase_reporting_server
module:
- opencase_entities
- search_api
id: opencase_reporting_volunteers
name: 'OpenCase Reporting: Volunteers'
description: ''
read_only: false
field_settings:
field_languages_spoken:
label: 'Languages spoken'
datasource_id: 'entity:oc_actor'
property_path: field_languages_spoken
type: string
dependencies:
config:
- field.storage.oc_actor.field_languages_spoken
field_osic_level:
label: 'OSIC level'
datasource_id: 'entity:oc_actor'
property_path: field_osic_level
type: string
dependencies:
config:
- field.storage.oc_actor.field_osic_level
name:
label: Name
datasource_id: 'entity:oc_actor'
property_path: name
type: string
dependencies:
module:
- opencase_entities
datasource_settings:
'entity:oc_actor':
bundles:
default: false
selected:
- volunteer
languages:
default: true
selected: { }
processor_settings:
add_url: { }
aggregated_field: { }
rendered_item: { }
tracker_settings:
default:
indexing_order: fifo
options:
index_directly: true
cron_limit: 50
server: opencase_reporting_server

View File

@ -0,0 +1,8 @@
name: 'Opencase example reporting'
type: module
description: 'Reporting on the types of people, cases etc that the Opencase Defaults module provides'
core: 8.x
package: 'OpenCase'
dependencies:
- opencase_defaults
- opencase_reporting

View File

@ -0,0 +1,42 @@
<?php
function opencase_default_reporting_uninstall() {
$configs = [
// 'search_api.index.opencase_reporting_cases',
// 'search_api.index.opencase_reporting_clients',
// 'search_api.index.opencase_reporting_volunteers',
'block.block.facet_asylum_status',
'block.block.facet_created',
'block.block.facet_disability',
'block.block.facet_gender_identified_with',
'block.block.facet_languages',
'block.block.nationalities',
'block.block.osiclevel',
'block.block.outcome',
'block.block.involvedparties',
'views.view.reporting_clients',
'views.view.reporting_volunteers',
'views.view.reporting_cases',
'facets.facet.asylum_status_export',
'facets.facet.disability',
'facets.facet.nationalities_export',
'facets.facet.asylum_status',
'facets.facet.gender_identified_with_export',
'facets.facet.nationalities',
'facets.facet.created_export',
'facets.facet.gender_identified_with',
'facets.facet.osic_level_export',
'facets.facet.created',
'facets.facet.languages_export',
'facets.facet.osic_level',
'facets.facet.disability_export',
'facets.facet.languages',
'facets.facet.outcome',
'facets.facet.outcome_export',
'facets.facet.involved_parties',
'facets.facet.involved_parties_export',
];
foreach($configs as $config) {
Drupal::configFactory()->getEditable($config)->delete();
}
}

View File

@ -0,0 +1,14 @@
{
"name": "drupal/opencase_defaults",
"type": "drupal-module",
"description": "OpenCase Default Configuration",
"keywords": ["Drupal"],
"license": "GPL-2.0+",
"homepage": "https://www.drupal.org/project/opencase_defaults",
"minimum-stability": "dev",
"support": {
"issues": "https://www.drupal.org/project/issues/opencase_defaults",
"source": "http://cgit.drupalcode.org/opencase_defaults"
},
"require": { }
}

View File

@ -0,0 +1,11 @@
langcode: en
status: true
dependencies: { }
id: contact_opencase
label: 'Contact the OpenCase Developers'
recipients:
- naomi@aktivix.org
reply: ''
weight: 0
message: 'Thank you for your message. The OpenCase team will get back to you ASAP.'
redirect: ''

View File

@ -0,0 +1,5 @@
default_form: contact_opencase
flood:
limit: 5
interval: 3600
user_default_enabled: false

View File

@ -0,0 +1,24 @@
langcode: en
status: true
dependencies:
config:
- opencase_entities.oc_actor_type.client
- opencase_entities.oc_actor_type.volunteer
- opencase_entities.oc_case_type.accommodation
id: oc_case.accommodation.actors_involved
field_name: actors_involved
entity_type: oc_case
bundle: accommodation
label: 'Involved Parties'
description: 'People involved in this case. To add one, start typing their name.'
required: true
translatable: true
default_value: { }
default_value_callback: 'Drupal\opencase_entities\Entity\OCCase::defaultVal'
settings:
handler_settings:
target_bundles:
client: client
volunteer: volunteer
handler: default
field_type: entity_reference

View File

@ -0,0 +1,24 @@
langcode: en
status: true
dependencies:
config:
- opencase_entities.oc_actor_type.client
- opencase_entities.oc_actor_type.volunteer
- opencase_entities.oc_case_type.asylum_support
id: oc_case.asylum_support.actors_involved
field_name: actors_involved
entity_type: oc_case
bundle: asylum_support
label: 'Involved Parties'
description: 'People involved in this case. To add one, start typing their name.'
required: true
translatable: true
default_value: { }
default_value_callback: 'Drupal\opencase_entities\Entity\OCCase::defaultVal'
settings:
handler_settings:
target_bundles:
client: client
volunteer: volunteer
handler: default
field_type: entity_reference

View File

@ -0,0 +1,24 @@
langcode: en
status: true
dependencies:
config:
- opencase_entities.oc_actor_type.client
- opencase_entities.oc_actor_type.volunteer
- opencase_entities.oc_case_type.employability
id: oc_case.employability.actors_involved
field_name: actors_involved
entity_type: oc_case
bundle: employability
label: 'Involved Parties'
description: 'People involved in this case. To add one, start typing their name.'
required: true
translatable: true
default_value: { }
default_value_callback: 'Drupal\opencase_entities\Entity\OCCase::defaultVal'
settings:
handler_settings:
target_bundles:
client: client
volunteer: volunteer
handler: default
field_type: entity_reference

View File

@ -0,0 +1,24 @@
langcode: en
status: true
dependencies:
config:
- opencase_entities.oc_actor_type.client
- opencase_entities.oc_actor_type.volunteer
- opencase_entities.oc_case_type.health
id: oc_case.health.actors_involved
field_name: actors_involved
entity_type: oc_case
bundle: health
label: 'Involved Parties'
description: 'People involved in this case. To add one, start typing their name.'
required: true
translatable: true
default_value: { }
default_value_callback: 'Drupal\opencase_entities\Entity\OCCase::defaultVal'
settings:
handler_settings:
target_bundles:
client: client
volunteer: volunteer
handler: default
field_type: entity_reference

View File

@ -0,0 +1,24 @@
langcode: en
status: true
dependencies:
config:
- opencase_entities.oc_actor_type.client
- opencase_entities.oc_actor_type.volunteer
- opencase_entities.oc_case_type.immigration
id: oc_case.immigration.actors_involved
field_name: actors_involved
entity_type: oc_case
bundle: immigration
label: 'Involved Parties'
description: 'People involved in this case. To add one, start typing their name.'
required: true
translatable: true
default_value: { }
default_value_callback: 'Drupal\opencase_entities\Entity\OCCase::defaultVal'
settings:
handler_settings:
target_bundles:
client: client
volunteer: volunteer
handler: default
field_type: entity_reference

View File

@ -0,0 +1,22 @@
langcode: en
status: true
dependencies:
config:
- opencase_entities.oc_actor_type.client
- opencase_entities.oc_case_type.volunteer_engagement
id: oc_case.volunteer_engagement.actors_involved
field_name: actors_involved
entity_type: oc_case
bundle: volunteer_engagement
label: 'Involved Parties'
description: 'People involved in this case. To add one, start typing their name.'
required: true
translatable: true
default_value: { }
default_value_callback: 'Drupal\opencase_entities\Entity\OCCase::defaultVal'
settings:
handler_settings:
target_bundles:
volunteer: volunteer
handler: default
field_type: entity_reference

View File

@ -0,0 +1,24 @@
langcode: en
status: true
dependencies:
config:
- opencase_entities.oc_actor_type.client
- opencase_entities.oc_actor_type.volunteer
- opencase_entities.oc_case_type.welfare_rights
id: oc_case.welfare_rights.actors_involved
field_name: actors_involved
entity_type: oc_case
bundle: welfare_rights
label: 'Involved Parties'
description: 'People involved in this case. To add one, start typing their name.'
required: true
translatable: true
default_value: { }
default_value_callback: 'Drupal\opencase_entities\Entity\OCCase::defaultVal'
settings:
handler_settings:
target_bundles:
client: client
volunteer: volunteer
handler: default
field_type: entity_reference

View File

@ -0,0 +1,11 @@
langcode: en
status: true
dependencies:
config:
- opencase_entities.oc_activity_type.case_note
id: oc_activity.case_note.default
targetEntityType: oc_activity
bundle: case_note
mode: default
content: { }
hidden: { }

View File

@ -0,0 +1,26 @@
langcode: en
status: true
dependencies:
config:
- field.field.oc_activity.destitution_funds_provided.field_amount
- field.field.oc_activity.destitution_funds_provided.field_funds_for
- opencase_entities.oc_activity_type.destitution_funds_provided
id: oc_activity.destitution_funds_provided.default
targetEntityType: oc_activity
bundle: destitution_funds_provided
mode: default
content:
field_amount:
weight: 28
settings:
placeholder: ''
third_party_settings: { }
type: number
region: content
field_funds_for:
weight: 27
settings: { }
third_party_settings: { }
type: options_select
region: content
hidden: { }

View File

@ -0,0 +1,29 @@
langcode: en
status: true
dependencies:
config:
- field.field.oc_activity.volunteer_training_session.field_date_attended
- field.field.oc_activity.volunteer_training_session.field_type_of_session
- opencase_entities.oc_activity_type.volunteer_training_session
module:
- datetime
id: oc_activity.volunteer_training_session.default
targetEntityType: oc_activity
bundle: volunteer_training_session
mode: default
content:
field_date_attended:
weight: 27
settings: { }
third_party_settings: { }
type: datetime_default
region: content
field_type_of_session:
weight: 26
settings:
size: 60
placeholder: ''
third_party_settings: { }
type: string_textfield
region: content
hidden: { }

Some files were not shown because too many files have changed in this diff Show More