Commit Graph

289 Commits

Author SHA1 Message Date
4285e1952f Added fields to bank account entity 2021-02-07 12:02:47 +00:00
eee7604440 Added Bank Account entity. 2021-02-07 11:59:17 +00:00
0399c83646 made name fields configurable for form and view 2021-02-05 13:47:52 +00:00
2bc1abc7a7 Deleting activity in "No Cases" mode should redirect to first linked person, and other changes 2021-02-05 13:43:11 +00:00
06937b7443 Fixed block config that had gone weird 2021-02-01 17:10:44 +00:00
6d281625b7 Made "opencase_cases" and "opencase_no_cases" modules and gave the latter a version of the contextual menu 2021-02-01 16:49:49 +00:00
c479e3b995 Added "owner" functions to OCEvent.php as it was erroring without them 2021-01-28 16:32:28 +00:00
517938ab7b Added description field to event 2021-01-28 11:54:07 +00:00
b48ba012cb Added Event entity type. 2021-01-28 10:22:20 +00:00
0caf2cb7c8 Edited case template to put EVA fields at the bottom 2021-01-25 14:07:26 +00:00
e49ad3fc9c Edited template to place "EVA" fields (embedded views) at the top of case page. 2021-01-23 18:12:35 +00:00
2b9cd117ba Added files field to organisation (base field definition and update hook) and bumped version to 0.198 2021-01-19 15:55:18 +01:00
Naomi
36eb9d9667 field positions 2020-11-20 17:42:25 +00:00
Naomi
d026173c8f moved activities view to opencase_default 2020-11-20 17:36:51 +00:00
Naomi
7ecdfbf3e6 changed field order 2020-11-20 14:19:22 +00:00
Naomi
113ff6361b moved entity type relations widget into opencase_defaults 2020-11-20 12:04:22 +00:00
Naomi
dfb12d9be6 moved consent field to opencase_defaults and removed automatic "see all people" menu links 2020-11-20 11:00:52 +00:00
Naomi
21528a436e changed field description 2020-11-17 12:26:39 +00:00
Naomi
eb405674dc moved cases view into defaults(thought was done already) 2020-11-17 11:58:14 +00:00
Naomi
cde0bbc7e6 moved actors_involved field to defaults 2020-11-17 11:24:18 +00:00
Naomi
aff262a535 moved everything that references cases view into defaults 2020-11-17 11:09:17 +00:00
Naomi
0d927126a2 moved contextual menu stuff into defaults 2020-11-17 10:55:16 +00:00
Naomi
2f485f19c5 moved cases menu link and title overrides into here
They were previously in opencase itself but are not needed for GNO
2020-11-17 10:51:27 +00:00
Naomi
8b07bbe63f Removed author field and simplified case title field 2020-11-17 10:47:24 +00:00
Naomi
690ec3b509 Put cases menu link back, and some other things 2020-11-15 17:39:50 +00:00
Naomi
7a9b95bf0d Wiring up new Organisation entity type 2020-11-12 17:35:34 +00:00
Naomi
675a85dfb6 generated Organisation entity 2020-11-12 17:13:28 +00:00
Naomi
27cb58512e Added menu links for seeing lists of things, also updated install.txt 2020-11-09 17:50:09 +00:00
Naomi
df2c826a33 moved some menu links around for modularity 2020-11-09 16:18:14 +00:00
Naomi
af3b4727f1 Added some docs 2020-11-09 12:36:08 +00:00
Naomi
011029d3b3 moved some menu code around for better modularisation 2020-11-08 18:05:24 +00:00
Naomi
c9a843a35f (Re-)Added update hook to make contact details revisionable 2020-06-08 14:21:16 +01:00
Naomi
c46bbc6ffd v1.9 2020-06-05 19:34:44 +01:00
Naomi
5d1844304a templating for activities 2020-06-05 19:26:59 +01:00
Naomi
be45fd2d42 sorting by date-and-time in activities view
Also removed date format thing from hook_update_n as not needed
2020-06-05 18:41:46 +01:00
Naomi
18a0846348 Added name and status changes view
and did some other things, can't remember what
2020-06-05 18:36:14 +01:00
Naomi
18e32335f5 In progress of adding revision views & making entity displays nicer 2020-05-13 15:41:59 +01:00
Naomi
b83f0b44b4 v1.7 - Removed seconds from date and time field
Also altered activities view to show this field instead of created date.
2020-03-01 09:45:10 +00:00
Naomi
7f88d409f0 1.6.5 more git mixup 2020-02-24 17:17:53 +00:00
Naomi
8841fd4d25 v1.6.4 - more git mixup 2020-02-24 17:09:57 +00:00
Naomi
87241c1f87 v1.6.3 due to git mixup 2020-02-24 16:59:43 +00:00
Naomi
88b5ce3d2e Merge branch 'master' of github.com:hoegrammer/opencase 2020-02-24 13:01:15 +00:00
Naomi
ae3976c7b8 Improved new activity date & time field, also...
* Removed dependency of opencase_search on opencase so opencase_search doesn't get uninstalled when refreshing opencase for UI changes
* Changed no-results wording on case views (both displays: all cases & cases for a person)
2020-02-24 12:54:39 +00:00
Naomi
f47ded38fa v1.7 - adding datetime field with correct datepicker type & default datetime 2020-02-24 10:57:06 +00:00
Naomi
c63cae6b71 Added callback to default to current date
But it isn't displaying, possibly because of having the wrong kind of widget
2020-02-23 17:36:48 +00:00
Naomi
a7a96ab03c v1.6 Added activity date time field 2020-02-22 15:31:10 +00:00
Naomi
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
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