27 Commits

Author SHA1 Message Date
f8593776c0 [FEAT] Allow admins to manage relationships for all Persons
All Persons now have associated Users, meaning Users can be hijacked by admins to manage the relationships for the associated Person.
2023-03-12 15:39:03 +00:00
de11df1999 [FIX] Creating relationships with missing Person objects
When User had no associated Person object, or chosen person_pk did not correlate to an existing Person object, error 500 was thrown
2023-02-01 23:14:25 +00:00
347e189a96 [FIX] Edge case bug when viewing Person before user creates their Person
Handle error thrown if user tries to view a Person object's details (/person/xx) before creating their own linked Person object
2023-02-01 18:38:28 +00:00
James Graham
adc9021002 fix: Force new user workflow through right forms
Resolves #112
Resolves #68
2021-04-25 17:13:59 +01:00
James Graham
81598ea624 refactor: allow admin config of static questions
Text and visibility set in admin panel are now respected everywhere
2021-03-19 15:36:09 +00:00
James Graham
42d95beb5a feat: add view to end relationship 2021-03-19 12:00:32 +00:00
James Graham
8093b23870 refactor: making static qs more admin configurable 2021-03-18 18:09:02 +00:00
James Graham
c20b2b5a0a feat: add rel create / update buttons to profiles
See #109
2021-03-18 17:52:14 +00:00
James Graham
583a49fdd3 fix: attr error if non-admin updates relationship 2021-03-11 12:59:57 +00:00
James Graham
87e5e6cbf3 fix: redirect to index if no profile exists
New users were sent to profile page before they had a profile
2021-03-10 15:40:10 +00:00
James Graham
3ad8d4a5c9 fix: error when viewing profile with no answerset 2021-03-10 15:03:24 +00:00
James Graham
df13bcf46d fix: exclude hardcoded qs from dynamic table 2021-03-10 11:38:52 +00:00
James Graham
8697d726b6 fix: condense multiple answers to same question
Show on same row on profile page

See #97
2021-03-10 11:20:34 +00:00
James Graham
989c8141b3 feat: display organisations on map
Add buttons to toggle organisations and people

Resolves #87
2021-03-09 14:55:31 +00:00
James Graham
afae0fd943 feat: add relationship buttons on person list
Resolves #63
2021-02-01 15:47:51 +00:00
James Graham
4d4d7ab70b feat: show basic profiles to non-admins
Resolves #61
2021-01-29 14:35:15 +00:00
James Graham
4cfee6362d refactor: add person update form fields to initial 2021-01-15 17:45:55 +00:00
James Graham
59f717829a refactor: add map marker to context on update 2021-01-15 16:32:57 +00:00
James Graham
2d85ab4370 feat: add location to organisations 2021-01-15 13:44:20 +00:00
James Graham
95fda6a3d5 refactor: prep for fallback to organisation latlng 2021-01-15 12:31:49 +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
b2cd5f4940 feature: add map of all people 2020-12-16 14:54:46 +00:00
James Graham
8e52f779ee feat: add location fields to person answer sets 2020-12-15 14:23:51 +00:00
James Graham
6bb4f09454 refactor: update forms to match moved questions 2020-12-02 15:53:30 +00: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