Commit Graph

  • 35812791f5 Add text to top of Federal Divisions page main Matt Way 2025-04-24 17:45:26 +10:00
  • 72c7413195 Use convert command if magick command isn't installed Matt Way 2025-04-21 21:40:40 +10:00
  • 2cf3d0bd26 Ignore candidates from divisions outside Victoria. Kim Taylor 2025-04-19 15:47:49 +10:00
  • babf8f81b6 Pledge page specifically mentions question 4. Kim Taylor 2025-04-18 11:00:42 +10:00
  • 1e3e4a99e6 Update form link on division pages. Kim Taylor 2025-04-14 21:22:23 +10:00
  • 60a33194e1 Update pledge-page generation for federal election. Kim Taylor 2025-04-13 15:57:04 +10:00
  • d8684760e5 Update homepage pledge image rotation for federal. Kim Taylor 2025-04-13 13:36:50 +10:00
  • 1735d52781 Update division page generation. Kim Taylor 2025-04-11 21:21:42 +10:00
  • 675058201a Update date generic form parser for federal 2025 form. Kim Taylor 2025-03-30 23:02:48 +11:00
  • 05b0898979 Only one election. Kim Taylor 2025-03-04 23:53:49 +11:00
  • c172222e15 Update wording on division pages. Kim Taylor 2025-03-04 23:51:10 +11:00
  • 5e3d22de3e Update front page auto-update to look at federal data. Kim Taylor 2025-03-04 22:42:50 +11:00
  • 9b9c1a6869 Update pledge page to generate pledges for federal divisions. Kim Taylor 2025-03-04 22:28:19 +11:00
  • f5f04d01eb Update LGA page to generate Federal Divisions page. Kim Taylor 2025-03-04 21:58:26 +11:00
  • 0bddcb7520 Generate division pages. Need to update text. Kim Taylor 2025-03-04 21:44:12 +11:00
  • 608ed0f92c Update map generator for federal election. Kim Taylor 2025-03-02 23:14:50 +11:00
  • 2a0ba8eed2 Update pledge message for federal election. Kim Taylor 2025-03-02 15:54:33 +11:00
  • fde39bcb1b Update pledge page template to show elected candidates. council_2024_final Kim Taylor 2024-11-25 19:16:49 +11:00
  • 5791273f56 Update template to support elected candidate data Matt Way 2024-11-18 00:20:50 +11:00
  • 45a5afc5f9 Tweak name-match threshold. Kim Taylor 2024-11-16 15:19:39 +11:00
  • 7af17f0e0b Merge branch 'results' Kim Taylor 2024-11-16 14:47:14 +11:00
  • c9ec1933f6 Generate candidates-elected.csv files from results.json. Kim Taylor 2024-11-16 14:45:18 +11:00
  • f8fd1cc20c Results parser working for all LGAs (except melbourne) Kim Taylor 2024-11-16 12:03:29 +11:00
  • 464d617ecc Add parser to scrape winning candidates from VEC site. Kim Taylor 2024-11-13 07:24:05 +11:00
  • af457dbd8c Generate all-council page with bold text for LGAs with data. Kim Taylor 2024-10-06 17:19:32 +11:00
  • dea1ccfe86 Overrides can delete entries by not specifying a replacement field. Kim Taylor 2024-10-05 11:14:26 +10:00
  • abf5147c79 Remove duplicate entries, case-insensitive ward name matches and better override system. Kim Taylor 2024-10-03 23:01:50 +10:00
  • 6eef04e89f Add ability to override generic survey data. Kim Taylor 2024-10-01 23:27:48 +10:00
  • bac9be7003 Allow LGA to put custom text as header. Kim Taylor 2024-09-30 22:17:36 +10:00
  • 910bfe85c1 Fix searching for picture with just last name not working Matt Way 2024-09-28 11:07:21 +10:00
  • b8a29a1de2 Eventually I'll get this right. Kim Taylor 2024-09-26 00:37:04 +10:00
  • c47eb353a7 Only update href, not id. Kim Taylor 2024-09-26 00:35:46 +10:00
  • 51af861f38 Link to LGA pages from pledge page. Kim Taylor 2024-09-26 00:18:17 +10:00
  • 74c24a37a2 Pick up changes that were on server. Kim Taylor 2024-09-25 23:09:08 +10:00
  • 802c091ba2 Try using generic survey data for LGA lages. Kim Taylor 2024-09-25 23:05:28 +10:00
  • ccae561fda Tweak ward match to put Clive Bury in the right ward. Kim Taylor 2024-09-25 22:21:37 +10:00
  • 34e0297947 Tweak name matching algo to put Vaughan Williams in the correct LGA. Kim Taylor 2024-09-25 22:12:22 +10:00
  • abb4f5675c Fix weird pass-by-reference bug. Kim Taylor 2024-09-25 21:37:50 +10:00
  • 3708a694ed OR pledge status of generic survey and community survey. Kim Taylor 2024-09-25 18:43:36 +10:00
  • 9f25e4039e Fix function name collision. Kim Taylor 2024-09-25 18:04:25 +10:00
  • 84e7d472a9 Use sluggify function to prevent duplicate pledge candidates. Kim Taylor 2024-09-25 18:03:13 +10:00
  • 73e4ed85d0 Swap priority of pledge images. Kim Taylor 2024-09-25 17:49:24 +10:00
  • decc12f381 Landing page shuffles all people who have taken the pledge and uploaded a picture. Kim Taylor 2024-09-25 14:58:52 +10:00
  • 8543bc1c53 Use default image for candidates who have signed the ledge, but not provided an image. Kim Taylor 2024-09-25 14:38:13 +10:00
  • 620d1bf06d Always include generic survey pledge results. Kim Taylor 2024-09-25 12:18:00 +10:00
  • 1f5dc18e81 Force re-fetch of generic response data. Kim Taylor 2024-09-25 11:56:24 +10:00
  • 94ea4f6a5f Only search for photos based on a single name if the name is longer than 3 characters Matt Way 2024-09-25 07:49:13 +10:00
  • 72eba5fd58 Homepage image scaling fixed. Apply generic pledge data commit. Kim Taylor 2024-09-25 00:16:04 +10:00
  • 68938751d4 Fix scoring for generic survey candidates. Kim Taylor 2024-09-24 15:26:32 +10:00
  • 8b2e66b044 Don't try to match photos if the field is empty. Kim Taylor 2024-09-24 15:10:31 +10:00
  • db2d4fcbc7 Don't keep appending .json to image field. Kim Taylor 2024-09-24 15:01:44 +10:00
  • d8591d5625 Use generic data as secondary source for pledge page. Kim Taylor 2024-09-24 13:23:33 +10:00
  • a30855ac30 Merge branch 'auto_generic' Kim Taylor 2024-09-24 00:00:00 +10:00
  • 6df6cc2d5e Missing pledge in CSV header. Kim Taylor 2024-09-23 23:44:36 +10:00
  • 03652e1285 Preemptively fix ward names for all single ward councils in csv-normaliser Matt Way 2024-09-23 23:43:22 +10:00
  • c27cc2831b Image fetch and resize working. Kim Taylor 2024-09-23 23:25:12 +10:00
  • fff24136a1 Improve logic for identifying photos in csv-normaliser Matt Way 2024-09-23 23:06:18 +10:00
  • 45eba00d5d Fix map of queenscliffe not generating Matt Way 2024-09-23 21:59:55 +10:00
  • 0f05fe20ec Fix Queenscliffe missing from council_names.json Matt Way 2024-09-23 21:07:26 +10:00
  • f9c151bfae Start generating image download script. Kim Taylor 2024-09-22 22:57:35 +10:00
  • 219b242503 Generate candidates-generic.csv files based on fuzzy match with LGA/Ward. Kim Taylor 2024-09-22 19:46:39 +10:00
  • 2f5806a227 Merge branch 'main' into auto_generic Kim Taylor 2024-09-22 17:53:38 +10:00
  • e56fc253ba Pick up local change from server worktree. Kim Taylor 2024-09-22 17:21:43 +10:00
  • 17f2bf0d9a Merge branch 'pledge_page' Kim Taylor 2024-09-22 17:17:47 +10:00
  • efecbe1d76 Change pledge text background colour. Kim Taylor 2024-09-22 17:08:35 +10:00
  • e2fbd1b1ef Calculate scores based on Faith's criteria. Kim Taylor 2024-09-21 19:49:49 +10:00
  • 5e8170ecef Highlight pledge text. Kim Taylor 2024-09-21 17:44:38 +10:00
  • bbffeb89f1 Update text. Kim Taylor 2024-09-21 17:36:04 +10:00
  • cba26faf31 Show photographs. Kim Taylor 2024-09-21 17:24:50 +10:00
  • 82f65a2050 Generate pledge council index. Kim Taylor 2024-09-21 16:53:24 +10:00
  • 7b7317cd55 Handle edge case from EAST GIPPSLAND.csv Matt Way 2024-09-21 14:45:45 +10:00
  • 1f80ec41db Fix skipping candidates with whitespace around the word "Candidate" in the first column Matt Way 2024-09-20 22:59:51 +10:00
  • bb66d8c50e Fix skipping candidates that have whitespace in the first column Matt Way 2024-09-20 22:04:55 +10:00
  • 2453d550ce Fetch generic data from google. Kim Taylor 2024-09-20 10:19:57 +10:00
  • af53825c05 Allow case insensitive ward-name match. Kim Taylor 2024-09-18 21:47:57 +10:00
  • 2e444113c8 Plumb in Matt's PHP template. Kim Taylor 2024-09-17 22:19:24 +10:00
  • 1412c268b5 Move pledge data parsing to separate file. Kim Taylor 2024-09-17 22:02:09 +10:00
  • 0f89ddf779 Use pledges.csv files as override of candidates.csv files. Kim Taylor 2024-09-17 21:19:26 +10:00
  • e73afcc366 Remove commas from candidate names before matching to photo Matt Way 2024-09-17 19:38:42 +10:00
  • e8e338aeef Don't include candidates who have not been given a score Matt Way 2024-09-17 19:13:37 +10:00
  • 0867d7916d Update second paragraph on lga pages Matt Way 2024-09-17 17:59:01 +10:00
  • 80ad01a1b1 Tweak intro paragraph text on lga pages Matt Way 2024-09-16 22:49:51 +10:00
  • 48647998a3 Merge branch 'pledges' Kim Taylor 2024-09-14 15:43:24 +10:00
  • b46e331a53 Fix update command. Kim Taylor 2024-09-14 15:41:13 +10:00
  • 1ab14ba8c9 Separate file for pledge data. Kim Taylor 2024-09-14 14:40:52 +10:00
  • b0985b6d60 Apply sed script. Kim Taylor 2024-09-10 23:26:00 +10:00
  • 18910638a1 Select 9 random candidates for pledge area and generate sed commands. Kim Taylor 2024-09-08 22:25:14 +10:00
  • ca0bab5071 Collect data for pledge rotation. Kim Taylor 2024-09-08 19:26:09 +10:00
  • 90a0fee735 Script to update pledge test page from data in spl-data repo. Kim Taylor 2024-09-08 17:49:31 +10:00
  • 61833aacb4 Use CSS class to control candidate tick colour Matt Way 2024-09-04 23:10:07 +10:00
  • 8043e8c45d Allow each lga to link to their own survey Matt Way 2024-09-04 21:08:00 +10:00
  • 033b30cb78 Replace ' character when searching for picture file in csv-normaliser Matt Way 2024-09-04 20:20:15 +10:00
  • b0b09178e8 Skip lines that have an empty candidate name Matt Way 2024-09-04 20:19:50 +10:00
  • 6aca0bc039 Check multiple potential input filenames in csv-normaliser Matt Way 2024-09-04 20:19:12 +10:00
  • 1cadbcffb4 Tweak template to allow custom groups based on groupNames field in config.json Matt Way 2024-09-03 23:05:03 +10:00
  • 1ea5048790 Ensure rating is always an integer in csv-normaliser Matt Way 2024-09-03 23:03:37 +10:00
  • 46bad101e0 Improve handling of expected input file names in csv-normaliser Matt Way 2024-09-03 21:38:16 +10:00
  • 91978de573 Fix csv-normaliser not skipping example lines Matt Way 2024-09-03 21:21:59 +10:00
  • 40dc385d7b Fix candidate sorting in template Matt Way 2024-09-03 20:11:29 +10:00
  • 771d8e7aca Hide verbose output in csv-normaliser Matt Way 2024-09-03 19:57:31 +10:00