Commit Graph

113 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
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
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