Commit Graph

178 Commits

Author SHA1 Message Date
Naomi
99733415c8 Facet block config 2018-12-15 13:16:37 +00:00
Naomi
5e127358b2 Added some css and a list of nationalities for the dropdown 2018-12-15 11:34:59 +00:00
Naomi
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
Naomi
ca04c3e259 Replaced text-box "nationality" field with drop-down "nationalities" 2018-12-14 18:51:45 +00:00
Naomi
b81d6b5f31 Removed config for disused menus 2018-11-09 16:38:00 +00:00
Naomi
ad6811b5e9 Changed "Actor" to "Person" in a few places 2018-11-09 16:14:48 +00:00
Naomi
3e6011a359 menu order 2018-11-09 15:03:34 +00:00
Naomi
7e28f88b86 Shiny new menu at top of screen! 2018-11-09 14:59:25 +00:00
Naomi
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
Naomi
4b14537dc4 Renamed config file in line with id 2018-11-08 18:58:44 +00:00
Naomi
52eb5898e3 Removed duplicate configs, and added dependency 2018-11-08 18:47:24 +00:00
Naomi
acf3e704cc Added a commented out bit of code for automatic permissions 2018-10-26 11:23:21 +01:00
Naomi
142c22f8e2 Dynamic permissions! 2018-10-25 19:47:12 +01:00
Naomi
981439d3c6 Added "use opencase" permission to all roles 2018-10-25 18:28:25 +01:00
Naomi
0333e20afd Added form and display config permissions to crm admin 2018-10-25 18:26:31 +01:00
Naomi
ec25af3858 Confined rogue OSIC Level facet to reporting/* 2018-10-25 18:14:00 +01:00
Naomi
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
Naomi
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
Naomi
7c30d9d02e postcode weight 2018-10-25 14:55:25 +01:00
Naomi
fd5d145866 Added volunteer supervision activity type 2018-10-24 17:39:56 +01:00
Naomi
530df37e92 removed cases link from reporting menu 2018-10-24 16:51:22 +01:00
Naomi
7fd551982d Added OSIC level facet to volunteer report 2018-10-24 16:48:00 +01:00
Naomi
0aa6b92490 Added a bunch of facets 2018-10-24 16:16:35 +01:00
Naomi
b62f2f34a9 Bodged download button for reporting. 2018-10-24 16:16:17 +01:00
Naomi
8187f6b306 Finished client reporting 2018-10-01 18:55:51 +01:00
Naomi
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
Naomi
5cde32c975 Added reporting menu with one link for Custom Report 2018-10-01 14:58:00 +01:00
Naomi
bfef673d42 Simplified reporting. Presets will be hard coded 2018-10-01 14:35:10 +01:00
Naomi
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
Naomi
a8c454c509 Made all base fields on actors not configurable
Making them configurable seems to mess up weights and stuff.
2018-09-19 09:15:42 +01:00
Naomi
9424aca1e9 Added config for "skills" field on volunteer. 2018-09-19 09:15:19 +01:00
Naomi
b5f718647e Using views for CRUDding saved reports. 2018-09-17 18:49:20 +01:00
Naomi
7e1889346b newly generated content entity. 2018-09-17 17:29:04 +01:00
Naomi
1e0a6a41d3 got rid of reference to the report config entity 2018-09-17 17:26:40 +01:00
Naomi
e14a68ef62 removed "report" config entity
so as to try out making it a content entity instead.
2018-09-17 17:23:03 +01:00
Naomi
c48f58d49b Added block plugin for report form, to show on reporting page. 2018-09-17 17:21:31 +01:00
Naomi
7a61f76a93 Minor changes to reporting forms 2018-09-17 12:24:43 +01:00
Naomi
354bb0adba paths and permissions for report entities. 2018-09-17 09:26:30 +01:00
Naomi
d5fe23418e Saved reports (templates) are now just called "reports". 2018-09-17 08:48:20 +01:00
Naomi
c81ebc4d94 Fixed field type error 2018-09-14 13:59:35 +01:00
Naomi
7fbc35915c made reporting export url match page url (it works!) 2018-09-12 18:24:48 +01:00
Naomi
987adc97ce Reporting buttons area. Data download button 2018-09-12 18:16:36 +01:00
Naomi
3faabda3f2 minor changes to reporting stuff 2018-09-12 16:48:23 +01:00
Naomi
e5db0007c9 Started on Reporting Presets block. 2018-09-12 15:50:08 +01:00
Naomi
cc108076bb Added reporting menu item to config. 2018-09-10 19:31:11 +01:00
Naomi
714ceeb3d0 sort order of facet items, and a typo 2018-09-10 19:24:39 +01:00
Naomi
0371c37786 Added required tickbox, "consent to data storage" 2018-09-10 18:38:55 +01:00
Naomi
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
Naomi
9b9bce4bc4 Reporting Actors view now takes query parameter for title 2018-09-07 12:48:47 +01:00
Naomi
1d86b2a5bc Minor edits to reporting view and facets 2018-09-07 12:37:39 +01:00
Naomi
20b3ff0cd4 CSS for facet labels 2018-09-06 19:33:47 +01:00
Naomi
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
Naomi
2be2cc7837 Added reporting server and index
The index does not rely on any default config.
2018-09-06 17:17:52 +01:00
Naomi
e45d49e299 Added reporting server config to reporting module 2018-09-06 16:57:39 +01:00
Naomi
51db7f00d4 Can search on partial names now, need at least 3 letters. 2018-09-06 16:57:13 +01:00
Naomi
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
Naomi
14575008d6 Added bare-bones reporting module.
Plus a minor change to search module description
2018-09-06 16:30:58 +01:00
Naomi
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
naomi
ac92336b0e removed dependency of linked actor field on vol 2018-07-24 10:43:55 +02:00
Naomi
bc77e1995d
Update field.field.user.user.field_linked_opencase_actor.yml 2018-07-20 11:34:53 +01:00
naomi
fd661f6a2f added some config that was missed / wrong 2018-07-19 20:01:59 +02:00
naomi
679f40c16d linked actor field config added 2018-07-19 19:13:08 +02:00
naomi
ebd755d86c search view: changed no-results wording &cache off 2018-07-19 16:48:03 +02:00
naomi
7a21352ac4 activity view query permissions. 2018-07-19 16:22:26 +02:00
naomi
8b274c0d6c Changed some permissions 2018-07-19 15:56:57 +02:00
naomi
352ea000f0 More on permissions for activities and cases 2018-07-19 15:35:22 +02:00
naomi
ec99009f16 Added access control for viewing activity
Can only view activity if involved in the case.
2018-07-19 15:10:02 +02:00
naomi
b5f567f872 changed contact form address to aktivix
because gmail is giving ipv6 errors
2018-07-19 13:54:09 +02:00
naomi
6b3b744900 Added contact form to opencase_defaults 2018-07-19 11:35:43 +02:00
naomi
a47a06aef3 Gave site admin various permissions 2018-07-18 22:21:22 +02:00
naomi
e588a70a1b Added configs (didn't do that last commit) 2018-07-18 20:15:57 +02:00
naomi
c0c415e691 New config for asylum status and language. 2018-07-18 20:05:27 +02:00
naomi
6c384605ec removed old asylum and language fields
and associated config
2018-07-18 19:59:51 +02:00
naomi
48dabf1701 minor change: null check 2018-07-17 16:19:25 +02:00
naomi
d589ef8d69 premission description 2018-07-09 20:29:25 +02:00
naomi
a267e222b8 Removed the "view own cases" permission
Now everyone sees cases they are involved in, they don't need a special perm.
2018-07-09 20:26:11 +02:00
naomi
910350699d Added 'view label' access bypass to actors
Was therefore able to get rid of the "view volunteer involvement in cases" stuff which was complicated
2018-07-09 20:15:16 +02:00
naomi
c729750705 Case views are now filtered by user involvement
unless the user has the see all cases permission
2018-07-09 19:36:47 +02:00
naomi
351bdb5afd Added "own cases" permission and access check
Works for when viewing a single case, not for view yet though.
2018-07-09 13:21:52 +02:00
naomi
2a31b1c8ce added linked actor of logged in user to new case 2018-07-09 12:11:07 +02:00
naomi
667b109de8 removed client from volunteer engagement 2018-07-09 11:32:12 +02:00
naomi
92d4f74ad7 fixed a sed mistake 2018-07-09 11:22:38 +02:00
naomi
487415c679 Another attempt to fix the "plugin does not exist" 2018-07-09 11:21:09 +02:00
naomi
7bf0f67a06 Added a bunch of config, apparently wasn't in git 2018-07-05 17:57:10 +02:00
naomi
8dc840a53d Made ALL of opencase_defaults config optional.
The idea is you can install it, and use as a basis to configure your own things and then if you uninstall it it shouldn't lose your stuff.
2018-07-05 17:11:32 +02:00
naomi
288751274b Moved more contact form config. 2018-07-05 16:16:42 +02:00
naomi
aa130aeede moved more contact form config to main module 2018-07-05 16:15:18 +02:00
naomi
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
naomi
8dd56d5b51 OpenCase Search module - uninstall hook working. 2018-07-05 13:55:45 +02:00
naomi
d229e02f67 moved search config into its own module. 2018-07-05 13:22:45 +02:00
naomi
7ef0628bd6 Deleted features, moved everything into submodules. 2018-07-05 12:29:09 +02:00
naomi
5863fb7faa moved some files around
trying to organise what was features into submodules
2018-07-05 12:24:14 +02:00
naomi
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
naomi
b28c7a3f5d removed opencase_search module
it wasn't doing anything - the feature is what does stuff
2018-06-29 15:52:39 +02:00
naomi
f4c3512501 straighforward bugfix 2018-06-29 14:51:12 +02:00
naomi
4c7cd2067b Made new module, "opencase_defaults".Added a role 2018-06-29 13:04:35 +02:00
naomi
a0ab7282b8 Added bundle labels to cases & activities views
This involved creating access control handlers for cases and activities (also did one for actors for good measure) and regenerating the opencase_features_opencase_ui feature so as to add the "type" field to the views
2018-06-18 18:15:00 +02:00
naomi
12afa00df8 Added permission for configuring opencase bundles 2018-06-18 17:11:45 +02:00
naomi
fd1a0d5156 Allowed activity types are a property of case type 2018-06-13 16:29:21 +02:00
naomi
74b6f90c94 Entity relations working in all directions 2018-06-12 18:12:30 +02:00