Commit Graph

13 Commits

Author SHA1 Message Date
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
c6eda514ca fix: Fix time filtering of relationships on MySQL
Resolves #31
2020-05-28 13:51:00 +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
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