Commit Graph
100 Commits
Author SHA1 Message Date
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 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
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 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 c507fb29b7 changed no-results wording in views 2018-07-19 16:47:16 +02:00
naomi af0040479e added the actual menu as well as the block 2018-07-19 16:46:23 +02:00
naomi 3198c00f5a Added add-actors block which was missing 2018-07-19 16:45:31 +02:00
naomi 2e40dc46f2 removed view caching 2018-07-19 16:29:56 +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 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
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 d2bd27c960 added another null check to contextual menu 2018-07-19 14:23:44 +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 221d16c7fa removed label from contextual menu block 2018-07-19 11:39:15 +02:00
naomi 6b3b744900 Added contact form to opencase_defaults 2018-07-19 11:35:43 +02:00
naomi 1c0195a632 Redirects to activity list on deleteing activity 2018-07-18 22:39:27 +02:00
naomi a47a06aef3 Gave site admin various permissions 2018-07-18 22:21:22 +02:00
naomi 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
naomi ddab3e450a fixed bug where case list link not generated 2018-07-18 21:06:26 +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 09650469bf Only those with "administer users" can link actor 2018-07-18 12:06:22 +02:00
naomi 48dabf1701 minor change: null check 2018-07-17 16:19:25 +02:00
naomi 08fe6dc362 added code to remove exposedfilter when view empty 2018-07-09 20:38:48 +02:00
naomi 3f01a3ad41 typo 2018-07-09 20:31:20 +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 b1d5c4eddf Moved contact form to opencase module
Using optional config.
2018-07-05 16:07:34 +02:00
naomi 6c6c6d5c92 Added menu link config to opencase module.
For opencase-admin and openc (OpenCase Global) menus.
2018-07-05 15:56:19 +02:00
naomi 73e7ff2656 Uninstall hook in opencase module
Also moved more config files about.
2018-07-05 14:05:50 +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 7e04836ff1 Moved bundle configs from feature into module 2018-06-29 16:23:12 +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 5688f89857 removed dependency of opencase on opencase-search 2018-06-29 15:38:43 +02:00
naomi cf0078d1be removed date format configs
easier than working out how to override them
2018-06-29 15:12: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 1878d1e2fd fixed bugs in entity type relations/widgets 2018-06-18 16:29:24 +02:00
naomi 050bee1a9b added /vender to .gitignore 2018-06-18 15:23:04 +02:00
naomi d46142ee2b finished entity type relations 2018-06-13 17:51:14 +02:00
naomi fd1a0d5156 Allowed activity types are a property of case type 2018-06-13 16:29:21 +02:00
naomi e601fde1ef Refactored case-type - client-type relationship
and corresponding part of widget
2018-06-13 13:31:04 +02:00
naomi 74b6f90c94 Entity relations working in all directions 2018-06-12 18:12:30 +02:00
naomi e10096c1ca Relations between case type and actor types done 2018-06-12 17:16:40 +02:00
naomi 8941cdfb49 refactoring 2018-06-12 16:11:28 +02:00
naomi 9715401dfc Factored actor type widget stuff into a class 2018-06-12 15:38:30 +02:00
naomi 7448048f2d Changed default value of Involved Parties to array 2018-06-12 14:11:35 +02:00
naomi 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
naomi cba43a04e5 Added config for relatin case types to actor types 2018-05-28 16:21:56 +02:00
naomi 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
naomi 8294a9647f Added access control to activities view
Just auth user for now
2018-05-28 15:14:18 +02:00
naomi c261552cc1 Added private files setting to case entity 2018-05-28 15:11:06 +02:00
naomi 2708b0193d Added feature config 2018-05-13 15:42:16 +02:00
naomi 5e6f1e01c4 updated readme 2018-05-13 13:48:00 +02:00
naomi 54c3895eb0 Merged mass deletion, now will add back the new code 2018-05-13 13:44:58 +02:00
naomi 20ab150226 Add-case form counts as "case context" 2018-05-13 13:44:27 +02:00
Naomi c31706467a updated readme 2018-05-13 14:42:03 +03:00
Naomi 57a797ba6d deleted all the things.
backup is in old_code branch
2018-05-13 14:26:11 +03:00
naomi 85260daa0e typo 2018-05-11 14:43:42 +02:00
naomi f2e7e8b6be Removed " see client involvement in cases" perm
It doesn't make sense - someone who can't see clients shouldn't see client cases at all.
2018-05-11 13:25:47 +02:00
naomi b8e49fb9cb Added "time taken" base field to activity
Also removed case field from activity display. It is in the sidebar, no need to have it twice.
2018-05-11 13:19:28 +02:00
naomi 98d856303a minor bugfix 2018-05-11 11:55:26 +02:00
naomi d8aaacec2d Added contact details to actor 2018-05-08 20:44:08 +02:00
naomi e2f77bf301 case base field descriptions 2018-05-08 19:26:33 +02:00
naomi 83264f93b2 css to remove search button 2018-05-08 19:23:03 +02:00
naomi 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
naomi 53507dae33 minor bugfix to contextual block 2018-05-08 18:30:39 +02:00