Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spring 2023 Release #833

Merged
merged 14 commits into from
Aug 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions .github/workflows/backup-firestore.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Backup Firestore

on:
schedule:
- cron: '5 4 11 1,7 *' # 4:05am on 1/11 and 7/11
workflow_dispatch:

env:
PROJECT_ID: cornell-courseplan
BUCKET: gs://cp_prod_backup_bucket

jobs:
backup:
runs-on: ubuntu-latest
steps:
- uses: google-github-actions/setup-gcloud@v0
with:
service_account_key: ${{ secrets.GCP_SERVICE_ACCOUNT_FIRESTORE_BACKUP_CORNELLDTI_COURSEPLAN_PROD }}
export_default_credentials: true
- run: gcloud config set project $PROJECT_ID
- run: gcloud firestore export $BUCKET/$(date +"%Y-%m-%d")
2 changes: 1 addition & 1 deletion .github/workflows/ci-policies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
echo "Your head ref is ${{ github.head_ref }}."
echo "Your base ref is ${{ github.base_ref }}."
- name: Fail if try to push release from non-master branch
if: (github.base_ref == 'beta-release' || github.base_ref == 'release') && github.head_ref != 'master'
if: ((github.base_ref == 'beta-release' || github.base_ref == 'release') && github.head_ref != 'master') && (github.event.pull_request.user.login != 'noschiff')
run: |
echo "Head ref must be master for release. Everything should go through staging first!"
exit 1
Expand Down
17 changes: 16 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Access CoursePlan at [courseplan.io](https://courseplan.io)!

CoursePlan is a four-year academic planner for Cornell undergraduates developed by the Design & Tech Initiative. CoursePlan helps undergraduates track their courses and their requirements automatically depending on their college, major, and minor. It aims to allow students view the big picture of their time at Cornell.
CoursePlan is a four-year academic planner for Cornell undergraduates developed by the Digital Tech & Innovation. CoursePlan helps undergraduates track their courses and their requirements automatically depending on their college, major, and minor. It aims to allow students view the big picture of their time at Cornell.

View documentation in our [wiki](https://github.com/cornell-dti/course-plan/wiki).

Expand All @@ -22,6 +22,21 @@ Then access http://localhost:8080/

## Contributors

### SP23

- **Jerry Wang** - Developer
- **Miranda Yu** - Developer
- **Rohan Maheshwari** - Developer
- **Elizabeth Tang** - Developer
- **Pablo Raigoza** - Developer
- **Noorejehan Umar** - Designer
- **Michelle Dai** - Designer
- **Larrisa Chen** - Designer
- **Jonathan Mak** - PMM
- **Kaylin Chan** - APM
- **Zak Kent** - TPM
- **Noah Schiff** - PM

### FA22

- **Ben Shen** - Developer
Expand Down
2 changes: 2 additions & 0 deletions cypress/integration/accessibility-spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ it('Check accessibility of the bottom bar', () => {
// open the bottom bar
cy.get('[data-cyId=semester-course]').eq(0).click();

// eslint-disable-next-line cypress/no-unnecessary-waiting
cy.wait(5000);
cy.checkA11y('[data-cyId=bottombar]', null, null, true); // only check accessibility within the bottom bar
});

Expand Down
Loading