Commit Graph

199 Commits

Author SHA1 Message Date
72c7413195 Use convert command if magick command isn't installed 2025-04-21 21:40:40 +10:00
Kim Taylor
2cf3d0bd26 Ignore candidates from divisions outside Victoria. 2025-04-19 15:47:49 +10:00
Kim Taylor
babf8f81b6 Pledge page specifically mentions question 4. 2025-04-18 11:00:42 +10:00
Kim Taylor
1e3e4a99e6 Update form link on division pages. 2025-04-14 21:22:23 +10:00
Kim Taylor
60a33194e1 Update pledge-page generation for federal election. 2025-04-13 15:57:04 +10:00
Kim Taylor
d8684760e5 Update homepage pledge image rotation for federal. 2025-04-13 13:36:50 +10:00
Kim Taylor
1735d52781 Update division page generation. 2025-04-11 21:21:42 +10:00
Kim Taylor
675058201a Update date generic form parser for federal 2025 form. 2025-03-30 23:02:48 +11:00
Kim Taylor
05b0898979 Only one election. 2025-03-04 23:53:49 +11:00
Kim Taylor
c172222e15 Update wording on division pages. 2025-03-04 23:51:10 +11:00
Kim Taylor
5e3d22de3e Update front page auto-update to look at federal data. 2025-03-04 22:42:50 +11:00
Kim Taylor
9b9c1a6869 Update pledge page to generate pledges for federal divisions. 2025-03-04 22:28:19 +11:00
Kim Taylor
f5f04d01eb Update LGA page to generate Federal Divisions page. 2025-03-04 21:58:26 +11:00
Kim Taylor
0bddcb7520 Generate division pages. Need to update text. 2025-03-04 21:44:12 +11:00
Kim Taylor
608ed0f92c Update map generator for federal election. 2025-03-03 21:05:24 +11:00
Kim Taylor
2a0ba8eed2 Update pledge message for federal election. 2025-03-02 15:54:33 +11:00
Kim Taylor
fde39bcb1b Update pledge page template to show elected candidates. council_2024_final 2024-11-25 19:16:49 +11:00
5791273f56 Update template to support elected candidate data 2024-11-18 00:20:50 +11:00
Kim Taylor
45a5afc5f9 Tweak name-match threshold. 2024-11-16 15:19:39 +11:00
Kim Taylor
7af17f0e0b Merge branch 'results' 2024-11-16 14:47:14 +11:00
Kim Taylor
c9ec1933f6 Generate candidates-elected.csv files from results.json. 2024-11-16 14:45:18 +11:00
Kim Taylor
f8fd1cc20c Results parser working for all LGAs (except melbourne) 2024-11-16 12:03:29 +11:00
Kim Taylor
464d617ecc Add parser to scrape winning candidates from VEC site. 2024-11-13 07:24:05 +11:00
Kim Taylor
af457dbd8c Generate all-council page with bold text for LGAs with data. 2024-10-06 17:19:32 +11:00
Kim Taylor
dea1ccfe86 Overrides can delete entries by not specifying a replacement field. 2024-10-05 11:14:26 +10:00
Kim Taylor
abf5147c79 Remove duplicate entries, case-insensitive ward name matches and better override system. 2024-10-03 23:01:50 +10:00
Kim Taylor
6eef04e89f Add ability to override generic survey data. 2024-10-01 23:27:48 +10:00
Kim Taylor
bac9be7003 Allow LGA to put custom text as header. 2024-09-30 22:17:36 +10:00
910bfe85c1 Fix searching for picture with just last name not working 2024-09-28 11:07:21 +10:00
Kim Taylor
b8a29a1de2 Eventually I'll get this right. 2024-09-26 00:37:04 +10:00
Kim Taylor
c47eb353a7 Only update href, not id. 2024-09-26 00:35:46 +10:00
Kim Taylor
51af861f38 Link to LGA pages from pledge page. 2024-09-26 00:18:17 +10:00
Kim Taylor
74c24a37a2 Pick up changes that were on server. 2024-09-25 23:09:08 +10:00
Kim Taylor
802c091ba2 Try using generic survey data for LGA lages. 2024-09-25 23:05:28 +10:00
Kim Taylor
ccae561fda Tweak ward match to put Clive Bury in the right ward. 2024-09-25 22:21:37 +10:00
Kim Taylor
34e0297947 Tweak name matching algo to put Vaughan Williams in the correct LGA. 2024-09-25 22:12:22 +10:00
Kim Taylor
abb4f5675c Fix weird pass-by-reference bug. 2024-09-25 21:37:50 +10:00
Kim Taylor
3708a694ed OR pledge status of generic survey and community survey. 2024-09-25 18:47:39 +10:00
Kim Taylor
9f25e4039e Fix function name collision. 2024-09-25 18:04:25 +10:00
Kim Taylor
84e7d472a9 Use sluggify function to prevent duplicate pledge candidates. 2024-09-25 18:03:13 +10:00
Kim Taylor
73e4ed85d0 Swap priority of pledge images. 2024-09-25 17:49:24 +10:00
Kim Taylor
decc12f381 Landing page shuffles all people who have taken the pledge and uploaded a picture. 2024-09-25 14:58:52 +10:00
Kim Taylor
8543bc1c53 Use default image for candidates who have signed the ledge, but not provided an image. 2024-09-25 14:38:13 +10:00
Kim Taylor
620d1bf06d Always include generic survey pledge results. 2024-09-25 12:18:00 +10:00
Kim Taylor
1f5dc18e81 Force re-fetch of generic response data. 2024-09-25 11:56:30 +10:00
94ea4f6a5f Only search for photos based on a single name if the name is longer than 3 characters 2024-09-25 07:49:16 +10:00
Kim Taylor
72eba5fd58 Homepage image scaling fixed. Apply generic pledge data commit. 2024-09-25 00:16:04 +10:00
Kim Taylor
68938751d4 Fix scoring for generic survey candidates. 2024-09-24 15:26:32 +10:00
Kim Taylor
8b2e66b044 Don't try to match photos if the field is empty. 2024-09-24 15:10:31 +10:00
Kim Taylor
db2d4fcbc7 Don't keep appending .json to image field. 2024-09-24 15:01:44 +10:00