Commit Graph

671 Commits

Author SHA1 Message Date
Patrick Fairbank
baf212e3ff Update README to add instructions for installing from a pre-built release. 2021-05-16 11:47:26 -07:00
Patrick Fairbank
c115ae4c5d Add GitHub Actions for continuous build/test and creating releases. v1.0.0 2021-05-16 11:29:56 -07:00
Patrick Fairbank
965694253c Use Bolt transaction for backups instead of copying the file. 2021-05-16 11:24:44 -07:00
Patrick Fairbank
6cea008524 Convert ScheduleBlock, SponsorSlide, and UserSession models to use Bolt DB and clean up remaining SQLite artifacts. 2021-05-16 11:24:30 -07:00
Patrick Fairbank
ec71975e93 Convert Ranking and Team models to use Bolt DB. 2021-05-16 11:22:31 -07:00
Patrick Fairbank
1d523c5f37 Convert EventSettings, Match, and MatchResult models to use Bolt DB. 2021-05-16 11:19:44 -07:00
Patrick Fairbank
ea4d56e665 Convert AllianceTeam, Award, and LowerThird models to use Bolt DB. 2021-05-16 11:01:58 -07:00
Patrick Fairbank
bd3921ce08 Add table wrapper struct for using Bolt DB instead of SQLite. 2021-05-16 11:01:35 -07:00
Patrick Fairbank
7028891d84 Fix imports after enabling modules. 2021-05-16 11:00:29 -07:00
Patrick Fairbank
c3ed0021fa Add go.mod and go.sum for the first time. 2021-05-16 10:53:29 -07:00
FletcherS7
de1790cf0b Added more Trunk ports
What: First block of ports on the switch are now reserved for special use and have been made trunks.
Port 47 and 48 as well as the SFP ports are also trunks.

Why: Spare trunk ports to accommodate for future field network gear
2021-05-16 10:53:09 -07:00
Patrick Fairbank
80da0a2445 Suppress logging of common 'going away' websocket error. 2021-05-16 10:52:58 -07:00
Patrick Fairbank
1b810f7d80 Update README and TODO. 2020-04-25 15:46:44 -07:00
Patrick Fairbank
e690f34993 Update Go version used by Travis CI to 1.14.x. 2020-04-25 15:32:11 -07:00
Patrick Fairbank
34ca9d06cc Tweak logo sizes and positions. 2020-04-25 15:26:36 -07:00
Patrick Fairbank
cc35643325 Fix announcer display for final score fields. 2020-04-25 15:20:35 -07:00
Patrick Fairbank
2f74cdbd98 Run stringer on PLC enums. 2020-04-25 14:27:34 -07:00
Patrick Fairbank
9b17f0ab1b Run 'go fmt'. 2020-04-25 14:26:08 -07:00
Ken Schenke
f91e3460d3 Tidy up realtime scoring inputs on match play 2020-04-18 13:27:27 -05:00
Ken Schenke
53574dcbc8 Add API documentation for realtime scores 2020-04-17 20:59:07 -05:00
Ken Schenke
04e183a52e Add tests for realtime score API 2020-04-17 20:44:22 -05:00
Ken Schenke
6375862b4f Add realtime scoring API 2020-04-16 19:37:54 -05:00
Ken Schenke
2b414bcc69 Merge branch 'master' into lite 2020-04-16 18:02:00 -05:00
Ken Schenke
8bad83d747 Add test for realtime score input from match play 2020-04-15 19:14:19 -05:00
Patrick Fairbank
ad509aed5a Send reset signal to PLC on match load and again on match start. 2020-04-14 20:09:09 -07:00
Ken Schenke
f075b7bb8d Remove game-specific scoring 2020-04-14 19:38:14 -05:00
Ken Schenke
53caa27208 Add game-agnostic final score summary to audience display 2020-04-06 19:28:20 -05:00
Ken Schenke
5712321733 Merge branch 'master' into lite 2020-04-05 15:02:35 -05:00
Patrick Fairbank
4e74a7a4cd Decode ArmorBlock status register from PLC and surface individual statuses on Match Play page. 2020-04-04 23:53:35 -07:00
Patrick Fairbank
3739cd8690 Implement PLC integration for all outputs. 2020-04-04 22:48:20 -07:00
Patrick Fairbank
ae4b03dfbc Implement PLC integration for the shield generator rung. 2020-04-04 21:54:35 -07:00
Patrick Fairbank
7f6277d42b Implement PLC integration for the control panel. 2020-04-04 21:54:28 -07:00
Patrick Fairbank
783791d42c Implement PLC integration for the power port. 2020-04-04 16:48:58 -07:00
Patrick Fairbank
0ed6f771d5 Move ControlPanel to within RealtimeScore to reduce complexity. 2020-04-04 15:59:05 -07:00
Patrick Fairbank
a6109a978a Update PLC inputs/registers/coils for 2020. 2020-04-04 14:38:57 -07:00
Patrick Fairbank
636d2c0927 Only send websocket message to update team FTA notes if notes changed. 2020-04-04 14:23:08 -07:00
Patrick Fairbank
b49afaa363 Include query parameters in login redirect. 2020-04-04 14:19:47 -07:00
Patrick Fairbank
eb64939b20 Add FTA variant of field monitor with ability to save notes (closes #58). 2020-04-04 14:04:48 -07:00
Ken Schenke
1df5194657 Remove game-specific scores from audience display 2020-04-02 20:11:34 -05:00
Ken Schenke
e2e57360bb Replace game-specific warning sound with steam whistle 2020-04-01 20:40:40 -05:00
Ken Schenke
724c2e699e Replace game-specific branding with FIRST logos 2020-04-01 20:28:00 -05:00
Patrick Fairbank
30b0679b6e Add ethernet connected, trip time, missed packets, and tooltips to the field monitor (closes #63). 2020-03-31 20:04:45 -07:00
Patrick Fairbank
a5a7821b3f Add cycle time and event status to field monitor (closes #91). 2020-03-29 18:59:27 -07:00
Patrick Fairbank
7c7b90f8cc Refactor event status to include cycle time calculation. 2020-03-29 18:40:19 -07:00
Patrick Fairbank
6cef7112ae Prevent display configuration changes from overwriting in-progress edits. 2020-03-29 17:31:49 -07:00
Patrick Fairbank
d9437403e9 Fix bug with prematurely purging placeholder displays. 2020-03-29 17:07:37 -07:00
Patrick Fairbank
f12d37778e Refactor display registry to not broadcast all config changes to all displays. 2020-03-29 16:55:53 -07:00
Patrick Fairbank
305db8e0f2 Periodically purge unconnected displays. 2020-03-29 14:31:32 -07:00
Patrick Fairbank
df9c5dfbd9 Refactor to merge Match.Status and Match.Winner fields into one. 2020-03-29 00:04:15 -07:00
Patrick Fairbank
14c9815980 Calculate event lateness periodically to improve accuracy. 2020-03-28 23:13:41 -07:00