Commit Graph

20 Commits

Author SHA1 Message Date
James Graham
f95e06aa18 refactor: move age and gender to question set 2020-11-26 14:10:38 +00:00
James Graham
5035b121a6 refactor: migrate to question sets for person qs
This means we're starting to use the same system for person questions
as for relationship questions
2020-11-26 12:59:30 +00:00
James Graham
a94db2713e fix: Only allow users to create rels as source
There is now no field for users to define the source of a relationship
The source is always the person in the URL
And only that user or staff can access the form
2020-08-14 17:38:22 +01:00
James Graham
387cebd0d4 fix: Improve clarity of network form time filter
Resolves #34
2020-06-26 10:54:40 +01:00
James Graham
b84076ec3b refactor: Make Person.discipline free text
See #33
2020-06-24 16:29:50 +01:00
James Graham
ab37139429 feat: Add date started at organisation
See #33
2020-06-24 15:09:23 +01:00
James Graham
26bf55b4b4 fix: Remove Person.core_member field
See #33
2020-06-24 13:47:12 +01:00
James Graham
3b3cec02be feat: Add date field to network view
Filters relationships to only those valid at date
2020-04-20 13:32:07 +01:00
James Graham
719b11e79e fix: Fix broken relationship update form
Did not get values from fields correctly
Incorrectly marked answersets as expired immediately
2020-04-20 13:30:15 +01:00
James Graham
75fc169630 fix: Fix filters on network view
Filters now use OR for multiple choices in the same field
2020-04-17 15:04:48 +01:00
James Graham
224a92f42e style: Fix a few minor style issues 2020-04-02 19:09:28 +01:00
James Graham
440de19c56 feat(network): Add initial filtering to network
See #19
2020-03-10 10:52:20 +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
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
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
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
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