Commit Graph

128 Commits

Author SHA1 Message Date
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