James Graham
9e6d1a495e
feat: add initial location picker to person update
2020-12-16 11:11:48 +00:00
James Graham
8e52f779ee
feat: add location fields to person answer sets
2020-12-15 14:23:51 +00:00
James Graham
82a235e6ff
refactor: clean up unused bits of map.js
2020-12-15 13:35:18 +00:00
James Graham
c2961b911f
feat: add initial map code from activity mapper
2020-12-15 13:21:17 +00:00
James Graham
76fcb7ceb2
fix: revert relationship link change
...
Fixes issue where migrations will not run on MySQL
2020-12-07 17:37:47 +00:00
James Graham
7e8dba4806
feat: allow multiple choice questions in forms
2020-12-07 17:01:53 +00:00
James Graham
e045b084d0
refactor: extract code share between question sets
2020-12-07 14:19:00 +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
0288b0320d
refactor: move questions on person detail page
2020-12-02 14:57:07 +00:00
James Graham
91a47b4fdc
refactor: move static person qs to answerset
2020-12-02 14:40:59 +00:00
James Graham
d6e42cc18d
style: fix pyflakes warnings of unused imports
2020-12-02 14:25:49 +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
6435ec69a1
fix: Show 'add person' button to all users
...
See #33
2020-07-03 15:48:53 +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
0e4234cb35
fix: Hide person details from non-admin users
...
See #35
2020-06-25 11:38:26 +01:00
James Graham
b84076ec3b
refactor: Make Person.discipline free text
...
See #33
2020-06-24 16:29:50 +01:00
James Graham
57349a6007
fix: Add changes to detail page missing
...
See #33
2020-06-24 15:10:00 +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
0cceb604dd
fix: Fix welcome email bugs
...
Send only when new user is created
Require email address when user created
Resolves #32
2020-05-28 16:24:44 +01:00
James Graham
c6eda514ca
fix: Fix time filtering of relationships on MySQL
...
Resolves #31
2020-05-28 13:51:00 +01:00
James Graham
8bc82b2a15
temp fix: Temporarily disable welcome emails
2020-05-27 14:47:10 +01:00
James Graham
567322c0af
feat: Send welcome email from template
2020-04-28 15:17:58 +01:00
James Graham
d6763a760e
fix: Separate date field from relationship questions
2020-04-20 13:56:06 +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
bf472a69fd
refactor: Reverse relationship query in network view
2020-04-17 16:03:11 +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
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