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

Bring to dev #1108

Merged
merged 62 commits into from
Mar 29, 2024
Merged
Show file tree
Hide file tree
Changes from 61 commits
Commits
Show all changes
62 commits
Select commit Hold shift + click to select a range
98669e0
chore(deps): update dependency eslint to v8.36.0 (#957)
renovate[bot] Mar 22, 2023
901e5a8
chore(deps): update dependency @testing-library/dom to v8.20.0 (#961)
renovate[bot] Mar 22, 2023
e947f76
chore(deps): update `renovate` config
lhjt Mar 22, 2023
52d072c
chore(deps): update mikefarah/yq action to v4.32.2 (#978)
renovate[bot] Mar 22, 2023
22bfc54
chore(deps): lock file maintenance (#945)
renovate[bot] Mar 22, 2023
54d35cb
fix(deps): update weekly patch updates (#944)
renovate[bot] Mar 22, 2023
1f4d3ac
chore(deps): group `mypy`
lhjt Mar 22, 2023
cf454b1
feat(frontend): cache course descriptions (#1004)
martanman Mar 22, 2023
45fd621
chore(deps): update mypy to v1 (major) (#1029)
renovate[bot] Mar 23, 2023
ef3350b
chore(deps): update dependency @testing-library/dom to v9 (#1020)
renovate[bot] Apr 11, 2023
611e4ae
chore(deps): update dependency @testing-library/react to v14 (#1021)
renovate[bot] Apr 11, 2023
2ffbbaa
chore(deps): update dependency eslint-plugin-simple-import-sort to v1…
renovate[bot] Apr 11, 2023
aceda75
chore(deps): update dependency jsdom to v21 (#1023)
renovate[bot] Apr 11, 2023
7c4985c
chore(deps): update dependency typescript to v5 (#1028)
renovate[bot] Apr 11, 2023
1209420
fix(deps): update dependency @ant-design/colors to v7 (#1030)
renovate[bot] Apr 11, 2023
f4f9006
fix(deps): update dependency @ant-design/icons to v5 (#1031)
renovate[bot] Apr 11, 2023
3f4c47d
fix(deps): update dependency framer-motion to v10 (#1040)
renovate[bot] Apr 11, 2023
1b129d5
feat: CF-400: dark mode improvements (#1003)
Dasyure Apr 11, 2023
857d612
feat: CF-423: additional styling on course node hover (#1034)
Dasyure Apr 12, 2023
f93a3b6
chore(deps): update dependency mypy to v1.2.0 (#1049)
renovate[bot] Apr 20, 2023
4c8c6bc
chore(deps): remove react-svg as not used (#1044)
leonardo-fan May 12, 2023
dadc0fa
chore(deps): group `vite`
lhjt May 30, 2023
9978980
chore(deps): update dependency requests to v2.31.0 [security] (#1055)
renovate[bot] May 30, 2023
cc74c22
Make course menu bar resizeable (#1042)
martanman Jun 26, 2023
ed997de
hotfix: fix the type err in the run script
imagine-hussain Jul 3, 2023
453ffb0
feat: CF-356: unlocked course nodes added to graphical selector (#1035)
Dasyure Jul 3, 2023
c52a681
fix(deps): update weekly minor updates (#1050)
renovate[bot] Jul 9, 2023
0c4fedd
chore(deps): bump tough-cookie from 4.1.2 to 4.1.3 in /frontend (#1065)
dependabot[bot] Jul 12, 2023
df01a76
fix: CF-421: adding or removing courses now reflect in the graphical …
Dasyure Jul 21, 2023
a11ae10
fix: CF-425: cleaning graph loading screen (#1039)
Dasyure Jul 29, 2023
8b2c806
feat(frontend): add option to ignore course in progression checks (#1…
lhvy Aug 15, 2023
4627002
feat: CTF Challenge for 2023 Projects Fair (#1081)
imagine-hussain Sep 25, 2023
5507b61
chore: fix CD manfiest branch
sachk Sep 26, 2023
a1b1264
chore: fix CD manfiest pull branch
sachk Sep 26, 2023
d9b290d
in the arena trying stuff (#1082)
imagine-hussain Sep 27, 2023
c0833c9
hotfix(ctf): fixing even terms (#1083)
imagine-hussain Sep 28, 2023
03b2eb3
chore(deps): update dependency python-dotenv to v1 (#1026)
renovate[bot] Sep 30, 2023
ec293fd
chore(deps): update ci-actions (#1070)
renovate[bot] Sep 30, 2023
24fe879
chore(deps): update dependency types-paramiko to v3 (#1027)
renovate[bot] Oct 3, 2023
62fc656
chore(deps): update dependency eslint-config-prettier to v9 (#1085)
renovate[bot] Oct 9, 2023
c9cdcc9
data/2024_handbook_migration (#1091)
imagine-hussain Oct 23, 2023
7ad2d70
fix: commented out ctf code (#1096)
ollibowers Jan 7, 2024
a9d50e4
feat: Add devsoc logo and replace most csesoc references (#1097)
3bobchen Jan 25, 2024
cbcb78e
fix: moved UNSW to front of label (#1098)
ollibowers Jan 26, 2024
514aa1c
feat: the devsocening (#1100)
sachk Feb 4, 2024
18553e7
chore: update CODEOWNERS for 2024 devsoc (#1102)
ollibowers Feb 5, 2024
e2fb6e6
feat: a notification for our ongoing subcommittee recruitment (#1103)
ollibowers Feb 12, 2024
01fa866
add sponsors to landing page (#1104)
martanman Feb 13, 2024
8a6099c
feat/contribution notif+branding (#1107)
jeremyle56 Mar 19, 2024
8ec6f21
Merge branch 'dev' of github.com:devsoc-unsw/circles into 331-staging
Peedee2002 Mar 25, 2024
c380aaa
fix compilation errors
Peedee2002 Mar 25, 2024
a1ee434
fix small issue
Peedee2002 Mar 25, 2024
8862fae
fix: some frontend bugs
ollibowers Mar 26, 2024
650949d
small fixes
Peedee2002 Mar 26, 2024
69c78a8
add tokeignore to stop the lines of code thingo from crashing so much
Peedee2002 Mar 28, 2024
12863b9
fix: graph styles not resetting properly
ollibowers Mar 29, 2024
59c9658
fix: bad effect dependency in CourseMenu causing infinite recalls and…
ollibowers Mar 29, 2024
176c32d
fix: added key props to tabs and course attributes
ollibowers Mar 29, 2024
238cf8b
fix: tried to get progression checker as best as i could
ollibowers Mar 29, 2024
b717e7f
fix: progression checker button styles
ollibowers Mar 29, 2024
a533595
fix: term boxes shrinking and refresh bug on term planner page
ollibowers Mar 29, 2024
b96ddf5
fix: brought back the export/import planner menus but commented out
ollibowers Mar 29, 2024
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
2 changes: 1 addition & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- component: frontend
dockerfile: production.dockerfile
args: |
"API_URL=https://circlesapi.csesoc.app"
"API_URL=https://circlesapi.devsoc.app"
- component: backend
dockerfile: production.dockerfile
steps:
Expand Down
1 change: 1 addition & 0 deletions .tokeignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
**.json
7 changes: 3 additions & 4 deletions CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
.github/ @csesoc/technical
renovate.json @csesoc/technical
* @devsoc-unsw/circles-leads

backend/ @imagine-hussain
frontend/ @leonardo-fan
.github/ @devsoc-unsw/platform
renovate.json @devsoc-unsw/platform
52 changes: 26 additions & 26 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,44 +1,44 @@
Circles
Circles

Copyright (C) 2023 CSESoc UNSW
Copyright (C) 2024 DevSoc UNSW

This program is free software: you can redistribute it and/or modify it under
the terms of the GNU Affero General Public License as published by the Free
This program is free software: you can redistribute it and/or modify it under
the terms of the GNU Affero General Public License as published by the Free
Software Foundation at version 3 of the License.

This program is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.
This program is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License along
with this program. If not, see <http://www.gnu.org/licenses/>.
You should have received a copy of the GNU Affero General Public License along
with this program. If not, see <http://www.gnu.org/licenses/>.

# AGPL-v3 License Extension
# AGPL-v3 License Extension

1. You may use, copy, modify, and distribute this software under the terms of
the AGPL-v3 license, provided that you include this license extension in all
copies or substantial portions of the software.
1. You may use, copy, modify, and distribute this software under the terms of
the AGPL-v3 license, provided that you include this license extension in all
copies or substantial portions of the software.

2. You may not use this software for commercial purposes, including but not
limited to selling, renting, or licensing the software or any derivative works
thereof.
2. You may not use this software for commercial purposes, including but not
limited to selling, renting, or licensing the software or any derivative works
thereof.

3. If you distribute this software, you must make the source code available
under the AGPL-v3 license and this license extension, and must include a copy
of this license extension with any binary distribution.
3. If you distribute this software, you must make the source code available
under the AGPL-v3 license and this license extension, and must include a copy
of this license extension with any binary distribution.

4. If you modify this software, you must indicate in the source code that
changes have been made and provide the modified source code under the terms of
the AGPL-v3 license and this license extension.
4. If you modify this software, you must indicate in the source code that
changes have been made and provide the modified source code under the terms of
the AGPL-v3 license and this license extension.

5. This license extension applies to the entire software, including any third-
party components included in the software.
party components included in the software.

6. If you use this software in a product that is freely available to the
public, you must give full credit to the original authors of the software by
prominently displaying the following attribution in the product: "This product
includes software developed by CSESoc UNSW."
includes software developed by DevSoc UNSW."

7. This license extension shall not be interpreted to affect the validity or
enforceability of the AGPL-v3 license.
7. This license extension shall not be interpreted to affect the validity or
enforceability of the AGPL-v3 license.

19 changes: 9 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
[![CSEsoc](https://img.shields.io/badge/-CSESoc-blue)](https://www.csesoc.unsw.edu.au/)
![Status](https://img.shields.io/website?label=status&up_message=online&url=https%3A%2F%2Fcircles.csesoc.unsw.edu.au%2F)
[![Frontend Build](https://github.com/devsoc-unsw/Circles/actions/workflows/ci_FE.yml/badge.svg)](https://github.com/devsoc-unsw/Circles/actions/workflows/ci_FE.yml)
[![Backend Tests](https://github.com/devsoc-unsw/Circles/actions/workflows/ci_BE.yml/badge.svg)](https://github.com/devsoc-unsw/Circles/actions/workflows/ci_BE.yml)
[![DevSoc](https://img.shields.io/badge/Devsoc-dark?color=3c424b)](https://devsoc.app/)
[![Status](https://img.shields.io/website?url=https%3A%2F%2Fcircles.devsoc.app%2F&up_message=online&label=status)](https://circles.devsoc.app/)
[![Unit Tests](https://github.com/devsoc-unsw/Circles/actions/workflows/ci.yml/badge.svg)](https://github.com/devsoc-unsw/Circles/actions/workflows/ci.yml)
[![Pylint](https://github.com/devsoc-unsw/Circles/actions/workflows/pylinter.yml/badge.svg)](https://github.com/devsoc-unsw/Circles/actions/workflows/pylinter.yml)
![Lines of code](https://img.shields.io/tokei/lines/github/devsoc-unsw/Circles)
![GitHub Repo Size](https://img.shields.io/github/repo-size/devsoc-unsw/Circles)
Expand All @@ -12,13 +11,13 @@ Tired of using a poorly laid out spreadsheet to cobble together a plan to follow

Circles is a UNSW degree planner where you can explore and validate your degree structure.

You can find a live build of Circles at [https://circles.csesoc.app](https://circles.csesoc.app/).
You can find a live build of Circles at [https://circles.devsoc.app](https://circles.devsoc.app/).

## Features

![Features Help Image](https://raw.githubusercontent.com/devsoc-unsw/Circles/dev/frontend/src/assets/infographic.png)
![Features Help Image](./frontend/src/assets/infographic.png)

NOTE: we currently only support a subset of courses that have the highest enrolments, such as Engineering, Commerce, Computer Science, and Science. We do plan to add more!
NOTE: we currently only support a selection of degrees - but we will add more!

- Adaptive course selector:
- Allows you to explore your currently unlocked courses
Expand All @@ -30,7 +29,7 @@ NOTE: we currently only support a subset of courses that have the highest enrolm
- Validates your progression to make sure you've met the requirements for future courses
- Allows you to generate a saveable and sharable image of your plan

- Progression checker:
- Progression checker: (NEW PAGE!)
- Lets you understand which requirements you have met and which you still need to complete
- Shows you what courses you can do to complete your degree

Expand All @@ -44,8 +43,8 @@ This project is rapidly expanding and our roadmap includes features such as:

# Our team

We are a team that is part of CSESoc Projects! See [TEAM.md](./TEAM.md) for more information on the current and previous team that contributed to the development of Circles.
We are a team that is part of DevSoc! See [TEAM.md](./TEAM.md) for more information on the current and previous team that contributed to the development of Circles.

Also, special thanks to James Ji, Vincent Xiao, Hayes Choy for being the first team to work on and inspire Circles :)

[For further development documentation, a linktree to our jira boards and more!](https://compclub.atlassian.net/wiki/spaces/C/pages/1664385928/About+Circles)
[For further development documentation, visit our confluence page!](https://devsoc.atlassian.net/wiki/spaces/C/pages/756966/About+Circles)
3 changes: 1 addition & 2 deletions backend/server/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"http://frontend:3000",
"http://frontend:3001",
"https://circles.csesoc.unsw.edu.au",
"https://circles.csesoc.app",
"https://circles.devsoc.app",
"https://cselectives.staging.csesoc.unsw.edu.au",
"https://cselectives.csesoc.unsw.edu.au",
]
Expand Down Expand Up @@ -59,4 +59,3 @@ async def index() -> str:
def live_year() -> int:
""" sanity check for the live year """
return LIVE_YEAR

2 changes: 1 addition & 1 deletion docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: '3.8'

services:
mongodb:
image: mongo:6.0.5
image: mongo:6.0.14
container_name: mongodb
volumes:
# Named volume to persist database
Expand Down
4 changes: 2 additions & 2 deletions frontend/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

If you are doing superficial work with the frontend and do not need to communicate with the backend, you can `cd` to the `frontend` folder, run `npm install` to install required packages locally, and then `npm start`. This is faster than running docker compose since you avoid having to set up the backend and mongodb containers.

> NOTE: Your frontend requests will be fetching from `https://circlesapi.csesoc.app` and the production version of the Circles API will be used to handle your backend requests.
> NOTE: Your frontend requests will be fetching from `https://circlesapi.devsoc.app` and the production version of the Circles API will be used to handle your backend requests.

### Option 2: Using Docker

Expand Down Expand Up @@ -46,7 +46,7 @@ In `frontend.env`, add:

- `VITE_BACKEND_API_BASE_URL=http://localhost:8000/`

> NOTE: The `VITE_BACKEND_API_BASE_URL` environment variable is the base url endpoint that the backend is running on. If the environment variable is not specified, the react application will default to using `https://circlesapi.csesoc.app/` as the base url when calling the API endpoint.
> NOTE: The `VITE_BACKEND_API_BASE_URL` environment variable is the base url endpoint that the backend is running on. If the environment variable is not specified, the react application will default to using `https://circlesapi.devsoc.app/` as the base url when calling the API endpoint.

Feel free to replace username and password to any value. The username and password in `backend.env` must match the values in `mongodb.env`. The `env` folder has been added to `.gitignore` and will not be committed to the repo.

Expand Down
Loading