Skip to content

Commit

Permalink
Merge pull request #410 from ubccpsc/cs310_2022w1_ui-tweaks
Browse files Browse the repository at this point in the history
cs310 2022w1 UI tweaks, round 1. Also includes major test cleaning. 

Main new feature is being able to upload prairie learn grade books. 

Main improvement is an updated queue that is much more efficient at prioritizing express requests and de-prioritizing over-active pushers.
  • Loading branch information
rtholmes authored Oct 6, 2022
2 parents 90aa2ab + 604ca25 commit 68590e3
Show file tree
Hide file tree
Showing 127 changed files with 155,570 additions and 6,689 deletions.
9 changes: 8 additions & 1 deletion .env.sample
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,10 @@ DB_URL=mongodb://mongoadmin:strongpasswd@localhost:27017/?authMechanism=DEFAULT
## A GitHub token so the bot can use the GitHub API without going
## through authentication. It is important that this token be well
## protected as without it you can lose programmatic access to student
## projects. The format should be:
## projects. The token can be generated in GitHub by going to the user
## who owns the account, visiting their personal profile page, and
## using the developer option on the side panel.
# The format should be:
## GH_BOT_TOKEN=token d4951x....
## (yes the word token is required)
## If you want to use ubcbot, contact Reid Holmes for a token.
Expand Down Expand Up @@ -151,10 +154,12 @@ AUTOTEST_POSTBACK=false

## Where the AutoTest service should store persistent data (e.g. grade container execution logs)
## This path is on the HOST machine (and is the mount point for PERSIST_DIR inside the grade container)
## If testing, setting within /tmp should work
HOST_DIR=/var/opt/classy

## Where the AutoTest service should store persistent data (e.g. grade container execution logs)
## This path is INSIDE the container (and is bound to HOST_DIR on the host machine)
## If testing, set as relative path (will persist within HOST_DIR)
PERSIST_DIR=/output


Expand All @@ -178,6 +183,8 @@ BACKEND_PORT=3000
#####

## Full path to fullchain.pem (Can be self-signed for localhost testing)
## localhost version: sudo openssl req -x509 -sha256 -nodes -newkey rsa:2048 -days 365 -subj "/C=US/ST=Oregon/L=Portland/O=Company Name/OU=Org/CN=localhost" -keyout privkey.pem -out fullchain.pem
## localhost certs can be installed in classy/ (or anywhere else)
SSL_CERT_PATH=/etc/ssl/fullchain.pem
## Full path to privkey.pem (Can be self-signed for localhost testing)
SSL_KEY_PATH=/etc/ssl/privkey.pem
Expand Down
Loading

0 comments on commit 68590e3

Please sign in to comment.