Commit Graph
100 Commits
Author SHA1 Message Date
christoph 6da5919f86 Add a shitload of caching
Build Formula10 Docker Image / build-docker (push) Waiting to run
2024-09-24 00:01:41 +02:00
christoph 852f0a04ca Add profiler (currently disabled) 2024-09-24 00:00:41 +02:00
christoph aa38d0138f Update FastF1 frontend button description 2024-09-23 21:23:38 +02:00
christoph a9ab892c2a Add functions to obtain specific sessions to EventDataHelper 2024-09-23 21:23:20 +02:00
christoph e6157893ae Remove deprecated import 2024-09-23 17:13:05 +02:00
christoph b2a01ce453 Use column name string when sorting by column 2024-09-23 17:12:55 +02:00
christoph 5234e8a06e Add helper classes for FastF1 dataframes 2024-09-23 16:52:23 +02:00
christoph a965c0007b Prefix OpenF1 functions 2024-09-23 16:52:11 +02:00
christoph 9acced3899 Add werkzeug to requirements 2024-09-23 16:52:00 +02:00
christoph ed0c5f51b4 Add __repr__ to Race class 2024-09-23 16:51:18 +02:00
christoph ebb862c9d7 Add Pandas to requirements 2024-09-23 16:50:48 +02:00
christoph 4a0eb5329c Set FastF1 cache location in dockerfile 2024-09-23 16:50:35 +02:00
christoph 30bf475000 Prefix OpenF1 classes + functions with "openf1" 2024-09-22 23:55:54 +02:00
christoph d66087142d Add fastf1 module 2024-09-22 23:34:16 +02:00
christoph 8bdb3b5207 Add fastf1 python dependency to requirements 2024-09-22 23:01:22 +02:00
christoph 2e685ed646 Add fastf1 python dependency 2024-09-22 22:00:38 +02:00
christoph b4c459ffe7 Allow specifying drivers as "inactive" and replace Logan Sargeant with Franco Colapinto
Build Formula10 Docker Image / build-docker (push) Successful in 1m27s
2024-08-30 20:47:06 +02:00
christoph 3340b77efe Slight reformatting 2024-08-30 18:48:40 +02:00
christoph 0cff53cf42 Fix driver standing points string for NC
Build Formula10 Docker Image / build-docker (push) Successful in 30s
2024-05-25 14:42:49 +02:00
christoph f15bbb4b96 Update requirements.txt
Build Formula10 Docker Image / build-docker (push) Successful in 28s
2024-03-10 20:10:49 +01:00
christoph d88ae9568f Add frontend button to fetch from OpenF1
Build Formula10 Docker Image / build-docker (push) Successful in 24s
2024-03-10 20:08:41 +01:00
christoph 1ab92eff9a Implement fetching of certain data from OpenF1 2024-03-10 19:54:28 +01:00
christoph c2838c3332 Update flake with commands 2024-03-10 18:50:29 +01:00
christoph e6a70365f3 Add OpenF1 model classes 2024-03-10 18:50:24 +01:00
christoph 6e20275dcd Remove obsolete notes
Build Formula10 Docker Image / build-docker (push) Successful in 13s
2024-03-10 00:48:42 +01:00
christoph 10cf690ee2 Track sprint stats + fastest laps + add to stats
Build Formula10 Docker Image / build-docker (push) Successful in 15s
2024-03-10 00:32:07 +01:00
christoph 628e2cd99a Update frontend for extended stats (sprint)
Build Formula10 Docker Image / build-docker (push) Successful in 14s
2024-03-09 23:22:18 +01:00
christoph e57109caf4 Add quali_date + has_sprint fields to race
Build Formula10 Docker Image / build-docker (push) Successful in 15s
2024-03-09 20:56:58 +01:00
christoph 8b2920f886 Add dummy values to race result
Build Formula10 Docker Image / build-docker (push) Successful in 20s
These columns are not marked nullable, so ignoring them prevents entering of race results
2024-03-09 19:48:07 +01:00
christoph 73273bc5cd Small database migration fixes
Build Formula10 Docker Image / build-docker (push) Successful in 14s
2024-03-03 16:02:20 +01:00
christoph d3097038a5 Large database migration
Build Formula10 Docker Image / build-docker (push) Successful in 15s
2024-03-03 15:38:35 +01:00
christoph 96cb8ca891 Fix sorting + standing bug for wcc/wdc
Build Formula10 Docker Image / build-docker (push) Successful in 23s
2024-03-03 11:24:40 +01:00
christoph 1ad558171d Decrease diagram height on large screens
Build Formula10 Docker Image / build-docker (push) Successful in 14s
2024-03-03 03:38:25 +01:00
christoph 873df8bd8e Only apply horizontal diagram width on mobile
Build Formula10 Docker Image / build-docker (push) Successful in 15s
2024-03-03 03:34:42 +01:00
christoph b250c47cb3 Update diagrams for landscape mode
Build Formula10 Docker Image / build-docker (push) Successful in 14s
2024-03-03 03:31:22 +01:00
christoph 6ed5b914e4 Use driver abbr in diagram
Build Formula10 Docker Image / build-docker (push) Successful in 16s
2024-03-03 03:24:51 +01:00
christoph feb6d27e24 Increase diagram point size
Build Formula10 Docker Image / build-docker (push) Successful in 14s
2024-03-03 03:22:56 +01:00
christoph 0d598e75a2 Add diagrams to stats page
Build Formula10 Docker Image / build-docker (push) Successful in 16s
2024-03-03 03:19:51 +01:00
christoph a3d234a754 Add standing diff to stats page
Build Formula10 Docker Image / build-docker (push) Successful in 14s
2024-03-03 02:33:21 +01:00
christoph 8fcb8c5704 Improve styling consistency
Build Formula10 Docker Image / build-docker (push) Successful in 14s
2024-03-03 02:22:34 +01:00
christoph 20d177192f Update diagram
Build Formula10 Docker Image / build-docker (push) Successful in 14s
2024-03-03 02:15:19 +01:00
christoph 27e0231a25 Update diagram
Build Formula10 Docker Image / build-docker (push) Successful in 15s
2024-03-03 02:10:58 +01:00
christoph 325f753d31 Add points history diagram
Build Formula10 Docker Image / build-docker (push) Successful in 15s
2024-03-03 02:09:06 +01:00
christoph b4794ca42f Add chartjs 2024-03-03 01:01:07 +01:00
christoph 481492868b Fix grid layout on PC screen
Build Formula10 Docker Image / build-docker (push) Successful in 14s
2024-03-03 00:25:36 +01:00
christoph 64d37acc23 Many frontend improvements
Build Formula10 Docker Image / build-docker (push) Successful in 14s
2024-03-03 00:06:52 +01:00
christoph c2c71a32e8 Update note
Build Formula10 Docker Image / build-docker (push) Successful in 14s
2024-03-02 22:40:03 +01:00
christoph e7d2e960ad Add points to race table
Build Formula10 Docker Image / build-docker (push) Successful in 14s
2024-03-02 22:31:40 +01:00
christoph 1bd174e73f Add notes to statistics/leaderboard pages 2024-03-02 22:27:25 +01:00
christoph 0ea6568082 Add statistics page
Build Formula10 Docker Image / build-docker (push) Successful in 14s
2024-03-02 22:18:28 +01:00
christoph 09203d9390 Update season guess calculation
Build Formula10 Docker Image / build-docker (push) Successful in 14s
2024-03-02 21:49:47 +01:00
christoph 5dcebab545 Allow enabling debug endpoints with env var 2024-03-02 21:49:39 +01:00
christoph dfb9360125 Display current season guess state
Build Formula10 Docker Image / build-docker (push) Successful in 14s
2024-03-02 20:31:34 +01:00
christoph a0051aacc3 Implement domain version of season_guess_result 2024-03-02 20:31:14 +01:00
christoph d3ee08df36 Add tooltip on leaderboard 2024-03-02 18:03:31 +01:00
christoph 0a94222cb2 Color first place(s) red in leaderboard
Build Formula10 Docker Image / build-docker (push) Successful in 13s
2024-03-02 18:00:56 +01:00
christoph 162423ec84 Combine places with equal points in leaderboard
Build Formula10 Docker Image / build-docker (push) Successful in 14s
2024-03-02 17:58:06 +01:00
christoph fcc29d2372 Add place to leaderboard
Build Formula10 Docker Image / build-docker (push) Successful in 14s
2024-03-02 17:49:04 +01:00
christoph 131965e61f Fix date mistakes in static race data
Build Formula10 Docker Image / build-docker (push) Successful in 14s
2024-03-02 13:30:24 +01:00
christoph d5d128379d Sort leaderboard table by total points
Build Formula10 Docker Image / build-docker (push) Successful in 14s
2024-03-02 13:25:03 +01:00
christoph 49939a38b4 Revert race table styling
Build Formula10 Docker Image / build-docker (push) Successful in 14s
2024-03-02 13:15:20 +01:00
christoph f1090f205b Add initial leaderboards page
Build Formula10 Docker Image / build-docker (push) Successful in 38s
2024-03-02 13:11:25 +01:00
christoph efcdf5412b Update race table styling 2024-03-02 13:11:16 +01:00
christoph e0e6ec6bd5 Disable more elements when form is closed 2024-03-02 12:48:34 +01:00
christoph abea8aa0c8 Allow disabling timing constraints for development 2024-03-02 12:38:12 +01:00
christoph cf0dc88284 Add initial (untested) race guess points calculation 2024-02-27 21:01:09 +01:00
christoph 70fae278a8 Add pytest 2024-02-27 21:00:59 +01:00
christoph 262bcc8d5e Add seasonguessresult table 2024-02-27 20:21:37 +01:00
christoph 44549f019d Split base model from template + points model 2024-02-27 19:42:21 +01:00
christoph dc9dc3d092 Make race page table columns smaller
Build Formula10 Docker Image / build-docker (push) Successful in 14s
2024-02-26 23:56:58 +01:00
christoph 16be73c1c1 Fix some race page layout issues
Build Formula10 Docker Image / build-docker (push) Successful in 14s
2024-02-26 23:52:51 +01:00
christoph 1f4489b3aa Show place number on race result
Build Formula10 Docker Image / build-docker (push) Successful in 14s
2024-02-26 23:34:48 +01:00
christoph ab9440cb4a Rename statistics to leaderboard 2024-02-26 23:09:57 +01:00
christoph 1e4c9a1ad6 Add race countdown
Build Formula10 Docker Image / build-docker (push) Successful in 15s
2024-02-26 23:06:34 +01:00
christoph 457a80e58e Disable load dynamic admin endpoints
Build Formula10 Docker Image / build-docker (push) Successful in 14s
2024-02-26 22:35:22 +01:00
christoph 005b852836 Fix template syntax error
Build Formula10 Docker Image / build-docker (push) Successful in 14s
2024-02-26 22:29:44 +01:00
christoph 25b945cb62 Clarify DSQ in rules page
Build Formula10 Docker Image / build-docker (push) Successful in 14s
2024-02-26 22:23:40 +01:00
christoph 86cfa5f649 Fix result index bug introduced in previous commit
Build Formula10 Docker Image / build-docker (push) Successful in 14s
2024-02-26 22:20:21 +01:00
christoph 97d67d49ce Date-lock race+season guesses + use errorpage more often
Build Formula10 Docker Image / build-docker (push) Successful in 17s
2024-02-26 22:15:08 +01:00
christoph 2a8c17633e Add error page 2024-02-26 19:51:07 +01:00
christoph 3949ad8f04 Add rules page
Build Formula10 Docker Image / build-docker (push) Successful in 15s
2024-02-26 19:02:32 +01:00
christoph bf9c25e537 Update pxx in static race data 2024-02-26 19:02:22 +01:00
christoph 2a0b3bc3f3 Display race time
Build Formula10 Docker Image / build-docker (push) Successful in 14s
2024-02-26 17:06:51 +01:00
christoph dbbbd5ccc6 Add times to static race data 2024-02-26 17:06:35 +01:00
christoph ba9c72f71d Make hot take textbox larger
Build Formula10 Docker Image / build-docker (push) Successful in 14s
2024-02-26 16:35:27 +01:00
christoph db78d93160 Fix bug where user enabled bools were parsed wrong 2024-02-26 16:35:18 +01:00
christoph a852690f0b Fix bug where NONE_TEAM was inserted into season guess 2024-02-26 16:35:06 +01:00
christoph 594653e3bf Fix race frontend issue with no users
Build Formula10 Docker Image / build-docker (push) Successful in 21s
2024-02-26 16:28:08 +01:00
christoph 3d27099bbb Update static race data 2024-02-26 16:27:58 +01:00
christoph 991a1a177e Split frontend model from backend model
Build Formula10 Docker Image / build-docker (push) Successful in 26s
2024-02-25 15:09:59 +01:00
christoph a9b1bc4403 Update .gitignore 2024-02-25 15:09:05 +01:00
christoph 7d10c8d4c5 Update .gitignore 2024-02-25 15:08:30 +01:00
christoph e36c4f2b18 Update docker workflow
Build Formula10 Docker Image / build-docker (push) Successful in 14s
2024-02-24 18:43:25 +01:00
christoph 45d7c50e66 Fix relative paths for csv im-/export 2024-02-24 18:42:39 +01:00
christoph c37b3b882b Update dockerfile
Build Formula10 Docker Image / build-docker (push) Successful in 14s
2024-02-24 18:37:34 +01:00
christoph 06f0eba1ea Update dockerfile
Build Formula10 Docker Image / build-docker (push) Successful in 25s
2024-02-24 18:20:39 +01:00
christoph d5f2766e7a Update dockerfile
Build Formula10 Docker Image / build-docker (push) Failing after 48s
2024-02-24 18:19:22 +01:00
christoph 81a886965f Update dockerfile
Build Formula10 Docker Image / build-docker (push) Failing after 11s
2024-02-24 18:12:37 +01:00
christoph a7f90a0a0d Update dockerfile
Build Formula10 Docker Image / build-docker (push) Successful in 13s
2024-02-24 18:11:25 +01:00
christoph 10a79dfae3 Update dockerfile
Build Formula10 Docker Image / build-docker (push) Failing after 16s
2024-02-24 18:10:54 +01:00