Commit Graph

95 Commits

Author SHA1 Message Date
naomi
0dceb8c38d Added an access role to views
Just made it "authorised user" for now, to keep the security review happy
2018-04-27 19:18:14 +02:00
naomi
d21109ebca Added hat types permission
It kind of works, as it allows the user to add, "edit" and delete hat types - but it does not allow administrating fields
2018-04-27 16:10:10 +02:00
naomi
7097cac863 Removed redirect to home page after login
The way it was done, it didn't work with password reset
2018-04-27 16:09:38 +02:00
naomi
aed0aa7b07 Changed file structure of features
Now there are just two features - default_user_config and default_subtypes
2018-04-24 18:56:13 +02:00
naomi
6418adfadd Added features, added module numbers to info files 2018-04-24 18:46:47 +02:00
naomi
de8e7c0ab2 Merge branch 'master' of https://github.com/hoegrammer/zencrm 2018-04-24 18:38:59 +02:00
naomi
7da5c8a4b1 Person Search restricted to authenticated users. 2018-04-16 14:12:24 +02:00
naomi
b0431c2926 Redirects to home page after login. 2018-04-16 13:48:36 +02:00
naomi
c1cebcbddd Added features for example entity subtypes 2018-04-16 13:36:13 +02:00
naomi
b92efc4600 css for delete button safety. 2018-04-16 13:35:42 +02:00
naomi
384dae27ed Removed config that will go into features
Also changed Hats view so as not to show the Hat Creator when there are no hats (because it shows in the person panel, which checks for the existence of contact details first)
2018-04-16 11:13:23 +02:00
naomi
6044a63646 removed "add person" block config (not working)
Also changed Person Search no results behaviour (to use the missing block, but that's ok - it should alert that it's missing, and it's easy to recreate.
2018-04-15 17:15:37 +02:00
Naomi
78fa86d7e7
Update README.md 2018-04-15 18:04:00 +03:00
naomi
36aadb4ef7 added a bunch of entity bundle configs
example ones, for alpha demo
2018-04-15 16:11:03 +02:00
naomi
09bb49b636 more css 2018-04-15 15:57:52 +02:00
naomi
ce80a00a4b Updated / added config for views and blocks 2018-04-15 13:46:28 +02:00
naomi
c34669afe6 more css 2018-04-15 13:42:08 +02:00
naomi
01b0a2c93f Styled the modal forms. 2018-04-15 13:21:14 +02:00
naomi
58136ba2b4 styling 2018-04-15 12:53:49 +02:00
naomi
fae90205a4 Styling 2018-04-15 12:44:07 +02:00
naomi
feaaa6cbb8 Added CSS and Javascript. 2018-04-15 10:22:55 +02:00
naomi
368c355ce5 Fixed edit link on case details block 2018-04-14 18:52:04 +02:00
naomi
73f072a1c5 Created Case Details Block
Will use that for sidebar instead of previous Involved Parties block and case details view
2018-04-14 18:44:38 +02:00
naomi
5978546333 Removed involved parties from default case view mode
They will be handled by block code because they need to link to the persons not the hats
2018-04-14 18:19:43 +02:00
naomi
72936b0da6 Put content back into case html template
I discovered that it is where the "rendered entity" comes from.
2018-04-14 17:49:58 +02:00
naomi
483d1ac9d9 Added Involved Parties block for case page 2018-04-14 17:20:51 +02:00
naomi
171eaa73a2 cosmetic change 2018-04-14 16:26:24 +02:00
naomi
33a8b1e0a5 Added subject field to activity, and made that the label 2018-04-14 16:01:06 +02:00
naomi
09142a52dc Removed case itself from case page template
Because it will be managed with views and blocks.
2018-04-14 15:32:34 +02:00
naomi
0dec481020 Added route and controller for adding activity to case 2018-04-14 14:40:37 +02:00
naomi
7eb0ee092b Added case field to activity 2018-04-14 13:35:04 +02:00
naomi
7c66cbd791 Cosmetic changes to case entity fields 2018-04-14 13:30:41 +02:00
naomi
9d84451cb0 Hid status field on activity 2018-04-14 13:19:40 +02:00
naomi
484fb5a119 Added activity entity 2018-04-14 12:26:09 +02:00
naomi
74e98818ba Hid some fields in case form display
also added destination to case creator ajax links
2018-04-12 18:46:27 +02:00
naomi
109c3e14c9 Added controller for creating new cases. 2018-04-12 18:39:07 +02:00
naomi
12ccecdd55 Added links for creating cases, to person panel
Plus some markup ready for css
2018-04-12 18:25:03 +02:00
naomi
65efcb21b4 Added This Hat's Cases view to config
Also changed case entity paths
2018-04-12 17:47:45 +02:00
naomi
b853704700 added case view to person panel. 2018-04-12 17:37:43 +02:00
naomi
0cc4d50d71 Added Involved Parties base field to case
Multi-value entity reference field.
2018-04-12 15:48:24 +02:00
naomi
c9cf33ac19 Generate case entity. (Called CaseEntity because "Case" is reserved word) 2018-04-12 15:32:24 +02:00
naomi
6746b986db Fixed conditional structure in Person Panel block. 2018-04-12 15:24:32 +02:00
naomi
61c969d7f4 Created "person panel" block which displays in content area for a person
Also moved contact details view config to zencrm_entities because it is referenced as an entity reference view in a base field on Hat.
2018-04-12 15:11:25 +02:00
naomi
a2373ea7e7 removed error log statement for debugging 2018-04-12 13:56:08 +02:00
naomi
58ac24db8f Added route and controller for editing hat
So that the person id is in the URL.
2018-04-12 13:42:52 +02:00
naomi
79c49eb996 Changed URL for Hat edit page. 2018-04-12 13:14:27 +02:00
naomi
17070065e5 Changed URL for adding contact details, in line with hat one 2018-04-12 13:00:04 +02:00
naomi
fd3ee02099 Added Hat contact details field filtered by entity reference view. 2018-04-12 12:52:01 +02:00
naomi
2cf897c92b Changed path for adding hat to /zencrm/hat/{person_id}/....
Because the person id needs to be in third place in the URL, so that it filters the entity reference view for the contact details. But the second place cannot be "person" as then it would try to render the person blocks on th page.
2018-04-12 12:06:51 +02:00
naomi
607941c725 More fiddling with the hats and contact details view blocks. 2018-04-11 20:00:39 +02:00