Commit Graph

96 Commits

Author SHA1 Message Date
James Graham
19735e9771 fix: Fix network JS to use new serialized relationship format 2020-04-17 11:38:59 +01:00
James Graham
224a92f42e style: Fix a few minor style issues 2020-04-02 19:09:28 +01:00
James Graham
63e06d812d refactor: Simplify User person test 2020-04-02 18:40:11 +01:00
James Graham
eea4342455 fix: Add heading to all pages 2020-04-02 18:35:24 +01:00
James Graham
7d1aac2021 refactor: Rename Person serializers 2020-04-01 16:23:16 +01:00
James Graham
d02f865952 refactor: Move export into separate app 2020-04-01 16:00:22 +01:00
James Graham
76270c4572 feat: Export relationships with answers
See #27
See #29
Resolves #25
2020-04-01 13:15:48 +01:00
James Graham
76ae447cc6 refactor: Move flattening to serializer base class 2020-04-01 09:57:28 +01:00
James Graham
04ae8cb4f6 feat: Recursively flatten serializers for CSV export 2020-03-31 15:43:33 +01:00
James Graham
834fb3c644 fix: Add login required on all remaining views 2020-03-30 20:52:09 +01:00
James Graham
da57108e3e refactor: Use custom CSV export view
Remove dependency on djangorestframework-csv
2020-03-27 17:00:37 +00:00
James Graham
2cdc7675c7 refactor: Split people.views into multiple modules 2020-03-27 15:15:18 +00:00
James Graham
af77cb39f8 feat: Add CSV export of Relationships 2020-03-27 14:31:38 +00:00
James Graham
d83f4bda49 fix(people): Fix redirect after new relationship 2020-03-10 13:12:20 +00:00
James Graham
440de19c56 feat(network): Add initial filtering to network
See #19
2020-03-10 10:52:20 +00:00
James Graham
09b7fc334b fix(network): Require login for network view 2020-03-09 12:52:29 +00:00
James Graham
512590d615 feat(network): Add style to network
Style nodes and edges of network
Fix layout of network not running

See #14
2020-03-09 12:43:57 +00:00
James Graham
b2fd9eeaf9 feat(people): Add network view
Network view shows people and relationships between them

Resolves #21
Resolves #20
Part of #14
2020-03-06 15:09:40 +00:00
James Graham
9b3b759254 refactor(people): Move relationship answers to answer set
Answers to the relationship questions have been moved from the relationship
to another model RelationshipAnswerSet.  A new answer set is created each
time a user answers the relationship questions.

Resolves #16
Resolves #17
Resolves #18
2020-03-05 15:22:28 +00:00
James Graham
40afbc1908 fix: Fix broken user check when anonymous 2020-03-03 13:42:46 +00:00
James Graham
7784ab3e09 fix: Fix broken user check when anonymous 2020-03-03 09:58:51 +00:00
James Graham
e3ef4ed90c feat(people): Add notice to fill in user details 2020-03-03 09:55:47 +00:00
James Graham
0d2f1a79b2 fix: Retrofix initial migrations with 1023 col
BREAKING CHANGE: Retrospectively modifies migrations
2020-02-28 15:21:43 +00:00
James Graham
512c02a198 fix: Shrink name fields to fit in indexed column 2020-02-28 15:05:47 +00:00
James Graham
7891ab72da feat(people): Admin can define new People
Resolves #9
2020-02-27 13:41:53 +00:00
James Graham
6d12202c8a feat: Add access controls to Person views
See #6
2020-02-27 08:16:01 +00:00
James Graham
e47ee453bd feat(people): Use Select2 fields for Relationship People 2020-02-25 12:47:03 +00:00
James Graham
39127cf972 feat(people): Add discipline and themes to Person
See #1
2020-02-25 11:19:46 +00:00
James Graham
d733b6db63 feat(people): Display activites and data on profile
See #10
2020-02-25 10:47:56 +00:00
James Graham
224bce9853 feat(people): Add job title and role
See #1
2020-02-25 09:15:25 +00:00
James Graham
5e6065951f feat(people): Add organisation field to Person
See #1
2020-02-25 08:52:11 +00:00
James Graham
9210636475 feat(people): Add nationality and residence fields
See #1
2020-02-25 08:38:30 +00:00
James Graham
abcfd67f77 style: Fix majority of Prospector complaints
Mainly whitespace fixes
2020-02-21 17:28:43 +00:00
James Graham
6d2737b1a6 feat(people): Add first user data fields
To support choices in CharFields, Django choices enums have been
backported by bringing in the source file from Django 3.0.3

See #1
2020-02-21 17:10:26 +00:00
James Graham
e4a50dbfa4 feat(people): Display relationship answers on detail page
resolve #5
2020-02-20 15:24:48 +00:00
James Graham
5a1b043862 feat(people): Allow people to describe relationships
Creating a relationship requires answering each of the
relationship questions

resolve #2
partial #5
2020-02-20 14:46:51 +00:00
James Graham
e1df999108 feat(people): Make relationship questions / choices sortable
resolve #7
2020-02-20 14:43:48 +00:00
James Graham
d57c4769ae feat(people): Add view to create Person
User profile nav directs to create new Person for user
if there is not one currently associated

resolves issue #4
2020-02-19 08:17:39 +00:00
James Graham
e530ddc8ec fix(people): Fix links in breadcrumbs 2020-02-18 15:12:08 +00:00
James Graham
e10a6c4521 feat(people): Add proper breadcrumb to people templates 2020-02-18 15:06:56 +00:00
James Graham
e8416bc779 feat(people): Add people list view 2020-02-18 15:06:56 +00:00
James Graham
4b2abd5d6c feat(people): Add detail views for Person and Relationship 2020-02-18 15:06:48 +00:00
James Graham
bc713a9fe7 fix: Add string representation to all models 2020-02-17 15:39:50 +00:00
James Graham
701252ee4a feat(admin): Add admin panel for all models 2020-02-14 10:02:10 +00:00
James Graham
6b426d2b39 feat(people): Add Person and Relationship models 2020-02-14 09:55:00 +00:00
James Graham
ab1762c180 Initial commit with core project structure 2020-01-30 10:31:00 +00:00