Commit Graph

164 Commits

Author SHA1 Message Date
James Graham
c102cbf091 fix: update export views to match model changes
Resolves #72
2021-02-08 14:58:32 +00:00
James Graham
a141b93644 feat: specify whether question answers are public
Resolves #62
2021-02-08 14:42:07 +00:00
James Graham
9164ea8a05 feat: use django-hijack to switch user accounts
Resolves #74
2021-02-08 14:40:37 +00:00
James Graham
f4bd9a0cef fix: move existing marker in map picker widget
Resolves #49
2021-02-02 09:00:10 +00:00
James Graham
25a28755c6 feat: use proper datepicker widgets
Resolves #58
2021-02-01 16:50:12 +00:00
James Graham
afae0fd943 feat: add relationship buttons on person list
Resolves #63
2021-02-01 15:47:51 +00:00
James Graham
4bbe4eac3a refactor: simplify relationship create workflow 2021-02-01 09:47:53 +00:00
James Graham
4d4d7ab70b feat: show basic profiles to non-admins
Resolves #61
2021-01-29 14:35:15 +00:00
James Graham
9b98ce73f0 fix: remove 'as target' relationships from profile
Resolves #64
2021-01-29 14:02:33 +00:00
James Graham
94b2ee9d70 feat: allow free form text answers
see #52
2021-01-22 17:15:18 +00:00
James Graham
6dc4bd770f feat: add consent form for data processing 2021-01-20 11:53:08 +00:00
James Graham
f2e945c67f fix: populate foreign key fields initial value
fixes #45
2021-01-18 14:45:02 +00:00
James Graham
4cfee6362d refactor: add person update form fields to initial 2021-01-15 17:45:55 +00:00
James Graham
f94627e4c8 refactor: remove redundancy between js maps 2021-01-15 16:33:34 +00:00
James Graham
59f717829a refactor: add map marker to context on update 2021-01-15 16:32:57 +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
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
90c40b2e2e fix: hide lat-long fields on person update form 2021-01-04 14:44:56 +00:00
James Graham
20342ef671 fix: restore marker on location picker map
fixes #43
2021-01-04 14:37:27 +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
e54c717ada refactor: allow custom repo to extend constance 2020-12-18 15:21:07 +00:00
James Graham
efecfa8e43 Merge branch 'maps' into dev 2020-12-16 15:35:16 +00:00
James Graham
2998a7e3fb deploy: entry for google maps api key 2020-12-16 15:35:00 +00:00
James Graham
b2cd5f4940 feature: add map of all people 2020-12-16 14:54:46 +00:00
James Graham
1a27774177 feat: add location search to picker
Requires API key with Google Places API access
Currently untested
2020-12-16 12:09:10 +00:00
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
80491623de Merge remote-tracking branch 'origin/dev' 2020-12-07 17:05:15 +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
dde5ec9d7f Merge pull request #37 from Southampton-RSG/dev
Merge first batch of changes from user acceptance testing
2020-06-26 12:10:39 +01:00
James Graham
a1f9510a8c style: Fix minor formatting issue in base template 2020-06-26 11:58:15 +01:00
James Graham
8689c1a204 style: Fix some autoformatting issues 2020-06-26 11:45:21 +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
aafb6c0a21 fix: Remove Person.name from CSV export
See #35
2020-06-25 11:11:14 +01:00
James Graham
b84076ec3b refactor: Make Person.discipline free text
See #33
2020-06-24 16:29:50 +01:00