Commit Graph

247 Commits

Author SHA1 Message Date
27dc266353 [Web] Add dropdown for admin scoreboards 2024-03-15 10:08:10 -04:00
23c6711ad6 [Web] Update docker repo mount 2024-03-14 12:03:55 -04:00
6b07b9e2ca [Extension] Update icon 2024-03-14 11:51:53 -04:00
8344cbe2bc [Web] Recreate repos for specific teams and during contest 2024-03-14 11:24:50 -04:00
c54643d8f9 [Web] Update deps 2024-03-14 10:51:28 -04:00
1e849c8686 [Web] Add vscode launch json to cpp template 2024-03-13 20:44:47 -04:00
ba5fa18000 [Shared] Send output to callback for CPP runner 2024-03-13 20:09:31 -04:00
1a50a42355 [Web] Add newline to cmake template 2024-03-13 19:51:55 -04:00
126fa4ed44 [Web] Add link to public scoreboard on dashboard 2024-03-13 18:40:24 -04:00
aa1be3acb7 Merge feature/scoreboard-freeze 2024-03-13 18:35:30 -04:00
6d98f56385 [Extension] Ignore shared component when packaging 2024-03-13 13:37:32 -04:00
437bfe4c1f Update README platforms 2024-03-13 13:21:27 -04:00
0dab146e96 [Extension] Rename compile to build in script for consistency 2024-03-13 13:20:09 -04:00
David Poeschl
42a58afbde
Extension: Merge show team relevant repo management buttons (#17)
* Extension: Show team relevant repo management buttons

* fix formatting

* Fix: Actually delete team repo contents

Was passing incomplete path to remove API

* Extra logging

* Formatting

* Fix path on windows

* Remove logs

---------

Co-authored-by: orosmatthew <orosmatthew@pm.me>
2024-03-13 13:13:09 -04:00
40634d80e6 Specify platforms in README 2024-03-12 18:37:49 -04:00
5b81be3170 Add general workflow commands 2024-03-12 18:35:30 -04:00
f483e4c602 [Sandbox] Add watch script 2024-03-12 18:34:04 -04:00
abe2c75dff [Shared] Add watch script 2024-03-12 18:22:43 -04:00
95bca6b82e Merge branch 'main' of https://github.com/orosmatthew/bw-hspc-contest-env 2024-03-12 15:16:28 -04:00
3e6c3b077a [Web] Ignore db for prettier 2024-03-12 15:16:27 -04:00
23fd3956ea [Shared] Update esbuild outdir 2024-03-12 13:07:28 -04:00
c5d0aaed86 [Shared] Use default import 2024-03-12 13:03:45 -04:00
f71dbb441c [Shared] Update tsconfig outDir 2024-03-12 13:02:27 -04:00
9d3f09146c [Extension] Update deps 2024-03-12 12:55:41 -04:00
54ab79626f [Web] Update deps 2024-03-12 12:53:08 -04:00
2111dcc3f9 [Web] Fix typo 2024-03-12 12:46:15 -04:00
ffb2dba603 [Web] Update README 2024-03-12 12:45:49 -04:00
4c02999c0a [Shared][Web][Sandbox] Build shared in docker 2024-03-12 12:37:19 -04:00
24b1b2b4ad [Web][Sandbox] Fix docker builds 2024-03-12 12:25:28 -04:00
8321ef3b51 [Shared] Remove tsbuildinfo 2024-03-12 12:18:09 -04:00
24c9193211 [Sandbox] Update shared import 2024-03-12 12:16:07 -04:00
0901765707 [Web] Update shared import 2024-03-12 12:13:31 -04:00
8f56a6aa4c [Shared][Extension] Update shared 2024-03-12 12:11:59 -04:00
247bd010b8 [Shared][Web] Refactor shared components 2024-03-12 11:49:15 -04:00
37a0cd73bc [Sandbox] Fix shared importing 2024-03-11 20:36:45 -04:00
0d0d22b730 [Web] Fix shared project importing 2024-03-11 20:29:02 -04:00
753f77659a Merge branch 'main' of https://github.com/orosmatthew/bw-hspc-contest-env 2024-03-11 20:25:29 -04:00
47ee997fa7 [extension] Fix shared projects 2024-03-11 20:25:02 -04:00
3a5880ed04 [Sandbox] Add check script 2024-03-11 19:43:46 -04:00
59ff0b4560 Merge security/web-sandbox-secret 2024-03-11 17:39:43 -04:00
2dabb4f9bc [Web] Refactor docker env vars 2024-03-11 13:50:02 -04:00
114f5a046e [sandbox] Use Node 20 2024-03-11 13:39:46 -04:00
fc63bc2544 [sandbox] Update deps 2024-03-11 13:37:26 -04:00
4d926b42ab [web] Update deps 2024-03-11 13:35:23 -04:00
David Poeschl
22bc7460df
Merge shared code for submission running (extension/sandbox) and team submission info (extension/web) (#16)
* Unify submission execution implementations into submissionRunner

* Unify contestMonitorTypes definitions between extension & web

* Make line separator in entry use LF

* Add entry.sh for sandbox

* Fix web imports

* Sandbox read from .env

---------

Co-authored-by: orosmatthew <orosmatthew@pm.me>
2024-03-11 13:32:23 -04:00
6e95a955a8 Add gitattributes file to enforce unix LF 2024-03-11 13:19:30 -04:00
David Poeschl
2a9a120b5d
Merge pull request #15 from dpoeschl/SidebarBackgroundColor
Extension: make sidebar background color use theme color
2024-03-11 08:26:04 -07:00
dpoeschl
85b511457c Extension: make sidebar background color use theme color 2024-03-06 19:50:34 -08:00
fde6b0019b [extension] Format 2024-03-05 19:31:11 -05:00
David Poeschl
4a3ff56e7a
VSCode Extension: Sidebar UI showing team's submissions, automatically updating and showing alerts as submissions are judged (#14)
* Add an Output Panel channel named "BWContest Log"

* Allow client logout when no contest

And make login/logout error messages clearer

* Show contest name & team name in Code extension side panel

* submission icons for sidebar panel

* Start VSCode extension "onStartupFinished"

instead of waiting for Sidebar to be opened

* VSCode: Sidebar UI for up-to-date problem/submissions status

- VSCode: poll API every 30 seconds to get contest metadata and all submission metadata for the logged in team
- The Sidebar now shows all problems in the contest, along with their submissions and overall status, which automatically updates as submissions are submitted & judged
- Web: "contestState" API to get all info for an activeTeam via their token
- Update submit API to return the submission id, allowing the VSCode UI to immediately render it as Pending without waiting for a polling cycle
-

* Add "Compilation Failed" message to submissions that fail to build

* Contest Import - Option to create repos & immediately activate the imported contest

Useful for testing with old contests (including the submissions)

* Test/Submit panel, use fixed-width font in input/output areas

* Fix build error for 'pluralize'

* Clear all state & halt polling loops on logout, restart them on login

* Improve the debug fastPolling option

- Toggleable via package.json config
- Setting the option changes the initial state as well as ability to toggle states

* Web project 'npm run format'
2024-03-05 17:50:16 -05:00