Commit Graph

604 Commits

Author SHA1 Message Date
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
naomi
b8bba0b332 tiny bugfix on bundle permissions 2018-05-08 16:10:00 +02:00
naomi
7dba72ef66 Added permissions for client and volunteers
Plus permission to see just their involvement in cases
2018-05-08 15:41:02 +02:00
naomi
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
naomi
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
naomi
80f42c7bf3 Added case list link to add-new-case page 2018-05-08 13:21:12 +02:00
naomi
555087f3b2 Cropped the top off the logo so it sits higher 2018-05-08 11:52:37 +02:00
naomi
f770659cef Tidied base fields 2018-05-07 19:54:30 +02:00
naomi
1786fce0e8 Added hook so as not to show empty contextual menu 2018-05-07 19:20:27 +02:00
naomi
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
naomi
588b159dbd Added hook to open external menu links in new tab 2018-05-07 18:31:24 +02:00
naomi
c28e048db0 Added logo 2018-05-07 15:20:15 +02:00
naomi
7dc3e5d563 Added "files" as base field on case 2018-05-07 15:04:01 +02:00
naomi
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
naomi
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
naomi
c909a51c1c minor change to entity display 2018-05-03 14:11:04 +02:00
naomi
abd6ee896b Added more nav links to contextual menu block 2018-05-03 14:06:01 +02:00
naomi
0c9377f48e Refactored global and contextual menu 2018-05-03 13:35:35 +02:00
naomi
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
naomi
7cf4ee557b New activity gets its case from the url 2018-04-30 17:14:51 +02:00
naomi
59964e653e Added Utils class and refactored 2018-04-30 16:49:44 +02:00
naomi
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
naomi
fc1ae79562 Added contextual menu block 2018-04-30 14:24:01 +02:00