Commit Graph

37 Commits

Author SHA1 Message Date
James Graham
6d5188af72 feat: add project started date to person questions
Resolves #60
2021-03-01 19:26:59 +00:00
James Graham
db76d57971 feat: alternate filter text and hide private
Resolves #53
Resolves #82
2021-03-01 19:01:57 +00:00
James Graham
550d7cede0 fix: hide relationship list from non-admins
Resolves #81
2021-02-26 15:57:09 +00:00
James Graham
71e5352b6b refactor: move organisation latlng to answerset 2021-02-24 15:44:34 +00:00
James Graham
c8a68d542a feat: add organisation questions to update view 2021-02-24 14:59:43 +00:00
James Graham
7021f05b67 refactor: move disciplines to admin-question
Resolves #59
2021-02-15 15:29:47 +00:00
James Graham
0b1f303d62 fix: populate themes with prev val on person form
Resolves #66
2021-02-15 12:00:54 +00:00
James Graham
25a28755c6 feat: use proper datepicker widgets
Resolves #58
2021-02-01 16:50:12 +00:00
James Graham
94b2ee9d70 feat: allow free form text answers
see #52
2021-01-22 17:15:18 +00:00
James Graham
4cfee6362d refactor: add person update form fields to initial 2021-01-15 17:45:55 +00:00
James Graham
9db870bcb0 feat: add views for Organisation model
Location picker on update view
2021-01-15 14:58:05 +00:00
James Graham
90c40b2e2e fix: hide lat-long fields on person update form 2021-01-04 14:44:56 +00:00
James Graham
cbc70ab85a fix: do lookup by person in person update view
Fixes #42
2020-12-18 15:56:19 +00:00
James Graham
8e52f779ee feat: add location fields to person answer sets 2020-12-15 14:23:51 +00:00
James Graham
7e8dba4806 feat: allow multiple choice questions in forms 2020-12-07 17:01:53 +00:00
James Graham
6bb4f09454 refactor: update forms to match moved questions 2020-12-02 15:53:30 +00:00
James Graham
2027d9d3ab fix: remove refactored questions from person form 2020-12-02 14:57:27 +00:00
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