Commit Graph

195 Commits

Author SHA1 Message Date
Naomi
c63cae6b71 Added callback to default to current date
But it isn't displaying, possibly because of having the wrong kind of widget
2020-02-23 17:36:48 +00:00
Naomi
a7a96ab03c v1.6 Added activity date time field 2020-02-22 15:31:10 +00:00
Naomi
c1e24593fa limiting involved parties facet to non-clients. 2019-07-15 20:34:32 +01:00
Naomi
c98f028045 Removed ajax from views
Although it is beautiful, it stops the export from being filtered.
2019-07-15 19:51:57 +01:00
Naomi
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
Naomi
6b9ff3a5e7 typo 2019-06-09 15:26:29 +01:00
Naomi
b24ba377d2 removed dependency no longer required 2019-06-09 14:27:59 +01:00
Naomi
33168ecb62 Added new module, Opencase Default Reporting 2019-06-09 14:00:23 +01:00
Naomi
3eacbc952f Moved some configs from here into new module, Opencase Default Reporting 2019-06-09 13:58:39 +01:00
Naomi
47ea8493ce added a permission to delete people 2019-04-29 16:44:34 +01:00
Naomi
eb6cfb89dd removed old commented-out permissions
that had been superseded by the dynamic permissions
2018-12-19 09:13:20 +00:00
Naomi
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
Naomi
fa7516b03a Menus other than "support" not available when logged out. 2018-12-15 14:21:38 +00:00
Naomi
bfa4f27cf7 Items per pages on views. Manual changes needed
- delete volunteer report view
2018-12-15 14:07:15 +00:00
Naomi
e0260256fa Actor -> Person. Need to update entities 2018-12-15 14:00:26 +00:00
Naomi
fd47bee26a Added "sex" field. Optionally change config:
- Add to form and view display for client (optional)
2018-12-15 13:53:35 +00:00
Naomi
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
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