Commit Graph

63 Commits

Author SHA1 Message Date
John Mullins cc86eae6b9 Added database exporter in settings panel. Downloads a .json file 2023-12-22 18:58:12 +11:00
John Mullins d74290036e Moved where active status is displayed.
Cleaned up logout redirects
Added suburbs admin page back. Wasn't able to create new suburbs
Made active status check to any traveller save function
2023-12-22 16:50:30 +11:00
John Mullins f73b08e989 Added save task to traveller routes to update traveller active status and bulk task designed for morning automated task. Can be run manually from settings page 2023-12-21 17:50:35 +11:00
John Mullins 514171c68b Removing transfer school from shuttles. Causing database errors 2023-12-21 16:44:43 +11:00
John Mullins 25ddf1edfa Moved active status to a database entry apposed to a function
Added settings page
Cleaned up rollover page
2023-12-21 16:14:56 +11:00
John Mullins 1240ab2538 Moved azure login to local app. Removed ability for new users to be created automatically 2023-12-15 15:00:41 +11:00
John Mullins 7519585c84 Removed bad import for template editor 2023-12-11 10:28:25 +11:00
John Mullins d858bf84fd Added rollover function.
Hidden some admin views
2023-12-11 10:25:30 +11:00
John Mullins 776042703e Cleaned up libaries and imports 2023-12-11 10:20:17 +11:00
John Mullins 686f35d8f6 Bad import 2023-12-07 10:42:02 +11:00
John Mullins 815baf2c59 Small code cleanup. Fixed bad import 2023-12-07 10:41:10 +11:00
John Mullins 1cec36d593 Moved SMS function out of admin.py 2023-12-07 10:36:32 +11:00
John Mullins 93410d5c9e Removed WIP mailtemplates out of prod settings.py 2023-11-30 12:12:17 +11:00
John Mullins 7b36d9abc9 Replacing template with base settings.py 2023-11-30 12:06:45 +11:00
John Mullins 2717b53b8d Added date range filter for start and end dates for travellers 2023-11-20 15:52:42 +11:00
John Mullins 52ebd0697a Missing import for confirmation letter 2023-11-20 14:37:44 +11:00
John Mullins 0dea60d29e Added confirmation_letter template. Still WIP and needs to be replaced with something more dynamic. 2023-11-20 14:35:26 +11:00
John Mullins e56fdc8d3c Hide routes if marked as hidden 2023-11-02 12:02:47 +11:00
John Mullins 0bb23f007a Added shuttle roll 2023-11-02 11:59:12 +11:00
John Mullins 528370d811 Made route stops optional in bus roll export (shuttles only) 2023-11-02 11:57:39 +11:00
John Mullins 350dfe4acb Added times to traveller csv export 2023-11-02 11:05:44 +11:00
John Mullins d68dcfccc1 Only allow sending of SMS to active students by default 2023-10-11 15:03:42 +11:00
John Mullins 3cfc4b545f Moved shuttles to be paged per stop
Added custom name to shuttle roll
2023-10-11 14:55:55 +11:00
John Mullins d4a6113e31 Moved roll some context to bus object
Added first_name to traveller ordering
2023-10-11 13:22:02 +11:00
John Mullins ff8b4c21fc Added traveller count to shuttle roll and removed inactive from roll 2023-10-11 13:14:52 +11:00
John Mullins 5fd3bbfa87 Added start_date clause to traveller.is_active() function 2023-10-11 12:59:15 +11:00
John Mullins 291f1d5f6d Actually maybe fixed is_active() function... 2023-10-11 12:15:16 +11:00
John Mullins ab3e30f7d0 Changed bus roll paginator 2023-10-11 12:11:45 +11:00
John Mullins 425e40eade Added company to bus roll context 2023-10-05 11:07:39 +11:00
John Mullins 5c8e81dbec Fixed context for company value in email roll to company function 2023-10-05 10:46:30 +11:00
John Mullins 0e225f48a4 Added year filter to traveller list view 2023-10-04 12:56:18 +11:00
John Mullins 78434588e2 Removed print statements
Added custom_name attribute to shuttles
2023-09-14 14:28:15 +10:00
John Mullins c40b6f764b Actually maybe fixed is_active() function... 2023-09-08 16:34:34 +10:00
John Mullins f421d28dc5 Fixed end_date in is active check. > to a < 2023-09-08 16:17:13 +10:00
John Mullins 43c23498bf Added Send SMS function to traveller contacts. The send command is commented out. 2023-09-07 15:42:11 +10:00
John Mullins 49dae4892b Added shuttles to traveller view and filter 2023-09-05 16:06:32 +10:00
John Mullins 020b8b2678 Bus roll stops page together 2023-09-05 13:00:01 +10:00
John Mullins 86a3ad139d Added shuttles to bus roll 2023-09-05 11:14:42 +10:00
John Mullins c55471a298 Email roll to schools function 2023-09-01 16:24:55 +10:00
John Mullins d051bc8beb Email roll to schools function 2023-09-01 15:18:20 +10:00
John Mullins 99530513c1 Changed names of is_archived fields 2023-09-01 12:11:17 +10:00
John Mullins 86c9b13c9a Added csv export for traveller and email to schools function 2023-09-01 11:23:30 +10:00
John Mullins b93d488598 Fixed seating_capacity mapping 2023-08-31 12:02:21 +10:00
John Mullins 6caf62e72f Added reports to top left admin menu bar
Combined summary pages
Changed admin panel to index
2023-08-31 11:59:32 +10:00
John Mullins 3568613607 Added azure auth. Lots of changes in settings.py 2023-08-30 15:05:57 +10:00
John Mullins 8005621594 Added default for Traveller.is_archived 2023-08-30 12:06:09 +10:00
John Mullins f7dde89de2 Added stop_route to traveller list view. Performance should be okay 2023-08-29 16:54:13 +10:00
John Mullins ab22868584 Moved emergency contacts view to pdf view 2023-08-29 16:17:04 +10:00
John Mullins eb03670290 Added fields to changelist view. Added hyperlinks and mailto links 2023-08-29 16:16:38 +10:00
John Mullins 4eb2909a16 Added archive field. Set during rollover or when end date is removed 2023-08-29 14:18:48 +10:00