Commit Graph

76 Commits

Author SHA1 Message Date
John Mullins 6d7755f866 Removed nonetype return for string 2024-02-16 18:20:43 +11:00
John Mullins d5743035c1 Removed temporary address migration tool 2024-02-16 18:16:06 +11:00
John Mullins cd022fbf54 Added cached readonly field "address" to traveler to allow search functionally and reduce database lookups 2024-02-16 18:10:08 +11:00
John Mullins 83d5874155 Removing parent data from traveller model 2024-02-16 17:54:54 +11:00
John Mullins ee212a47c5 Temporary migration task for family data 2024-02-16 17:23:20 +11:00
John Mullins fa9d6ee128 Adding Family Model 2024-02-16 17:07:08 +11:00
John Mullins 9a3d244c8e Removed fee per term from export
Removed print statements from backup function
2024-01-24 10:21:39 +11:00
John Mullins 0f3631f579 Rollover submit moved to POST
Changed archived lookup to active lookup
2024-01-24 10:05:44 +11:00
John Mullins 1d5df4ad35 Changed datetime object to strings in backup exporter 2024-01-22 16:05:55 +11:00
John Mullins 6a4eb6d123 Fixed new namespace for azure auth 2024-01-22 12:57:22 +11:00
John Mullins c0ed8e00db Merge remote-tracking branch 'origin/main' 2024-01-22 12:44:40 +11:00
John Mullins 9399dfcf99 Adding init file for custom_user app 2024-01-22 12:44:22 +11:00
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