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

Sem 199 #1179

Open
wants to merge 1,386 commits into
base: master
Choose a base branch
from
Open

Sem 199 #1179

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1386 commits
Select commit Hold shift + click to select a range
682eb47
Fix wrong order args for save_analytics
JJamesWWang Dec 21, 2021
2985a2a
Try to cap at 200 search results to prevent timeout
JJamesWWang Dec 21, 2021
f0348d6
Remove empty pagination test
JJamesWWang Dec 21, 2021
bd52ab9
Change result cap to 100 and add comment to explain why it's 100
JJamesWWang Dec 21, 2021
2a858a8
Add existence filter tests and ensure post returns the right course, …
JJamesWWang Dec 21, 2021
658a860
Add tests for remaining two filters
JJamesWWang Dec 21, 2021
9358846
Merge pull request #475 from JiaqiWang18/delete-final-exam
JiaqiWang18 Dec 21, 2021
58b0279
Merge pull request #474 from JJamesWWang/refactor-courses
JJamesWWang Dec 21, 2021
f7e0ad6
Run autoformatter
JJamesWWang Dec 21, 2021
7d94b9f
Refactor and remove unused code in middleware
JJamesWWang Dec 21, 2021
d987387
Refactor settings
JJamesWWang Dec 21, 2021
2aa4cfc
Consistify urls and replace django-swagger with drf_yasg
JJamesWWang Dec 21, 2021
7fd93f5
Add core api version
JJamesWWang Dec 21, 2021
52423ab
Reorder and refactor views
JJamesWWang Dec 21, 2021
5856493
create file to store types
JiaqiWang18 Dec 22, 2021
b71299f
create courseInfoSlice
JiaqiWang18 Dec 22, 2021
6c6cee7
create global action
JiaqiWang18 Dec 22, 2021
a28a608
copy over custom selector
JiaqiWang18 Dec 22, 2021
c3b7ffe
wire up new slice as reducer
JiaqiWang18 Dec 22, 2021
e1b3688
wire up slice actions
JiaqiWang18 Dec 22, 2021
cf909ef
delete old reducers
JiaqiWang18 Dec 22, 2021
8830100
add branch to ci
JiaqiWang18 Dec 22, 2021
6c826fc
Merge pull request #476 from JJamesWWang/refactor-searches
JJamesWWang Dec 22, 2021
1964a21
Merge pull request #479 from JJamesWWang/refactor-semesterly
JJamesWWang Dec 22, 2021
f7a11e7
Run autoformatter on entire directory
JJamesWWang Dec 22, 2021
7b30921
Add one unformatted file for some reason
JJamesWWang Dec 22, 2021
042eaf5
Add yml for black, python autoformatter
JJamesWWang Dec 22, 2021
f193656
resolve merge conflict
JiaqiWang18 Dec 23, 2021
f60b1de
fix bug with wrong import path
JiaqiWang18 Dec 23, 2021
ee232b2
Merge pull request #458 from JiaqiWang18/refactor-redux
JiaqiWang18 Dec 23, 2021
0cc615b
Run autoformatter on student directory
JJamesWWang Dec 23, 2021
d714911
Change personaltimetable <-> personalevent many-to-many relationship …
JJamesWWang Dec 23, 2021
20f18ba
Merge pull request #480 from JJamesWWang/reformat-dir
JJamesWWang Dec 23, 2021
987dd95
Merge in formatted changes
JJamesWWang Dec 23, 2021
bd8f95d
Delete files that seem useless
JJamesWWang Dec 23, 2021
dae13ac
Merge pull request #481 from JJamesWWang/add-python-black
JJamesWWang Dec 23, 2021
88b6ec8
Test commit
JJamesWWang Dec 23, 2021
664f6bb
Merge branch 'prod' of https://github.com/jhuopensource/semesterly in…
JJamesWWang Dec 23, 2021
257934c
Test commit 2
JJamesWWang Dec 23, 2021
451c9f2
Merge pull request #483 from JJamesWWang/pe-ptt-fk
JJamesWWang Dec 27, 2021
e3c0b72
Merge branch 'refactor-backend-base-branch' of https://github.com/jhu…
JJamesWWang Dec 27, 2021
79d2cc6
Format migration file
JJamesWWang Dec 27, 2021
ecd8b3d
Remove unused fields, make ptt's related name 'events'
JJamesWWang Dec 27, 2021
13b6c89
Remove gcal commented out code
JJamesWWang Dec 27, 2021
3acaa8a
Remove admin autodiscover from urls files
JJamesWWang Dec 27, 2021
af5443d
Replace datetime with django timezone, remove unused imports
JJamesWWang Dec 27, 2021
c3fda79
Consistify urls
JJamesWWang Dec 27, 2021
9d9df91
Use helper utils in student tests
JJamesWWang Dec 27, 2021
578c433
Fix create_user
JJamesWWang Dec 27, 2021
30e3bb4
Revert "Consistify urls"
JJamesWWang Dec 27, 2021
c980487
Fix miss-refactored code
JJamesWWang Dec 27, 2021
7c7b278
Fix create_user
JJamesWWang Dec 27, 2021
52c97f7
fix up comments in views
JJamesWWang Dec 27, 2021
ddd6817
Add is_signed_up_through_jhu
JJamesWWang Dec 27, 2021
76d2bb5
Refactor UserView get method, remove broken link to sign up on other …
JJamesWWang Dec 27, 2021
aa5c939
Rearrange helper function
JJamesWWang Dec 27, 2021
d78bcc9
Remove unused var and uncomment assertion
JJamesWWang Dec 27, 2021
da75542
Refactor UserTimetableView
JJamesWWang Dec 27, 2021
0b44004
remove redux branch from CI
JiaqiWang18 Dec 27, 2021
04b4a06
styling fix
JiaqiWang18 Dec 28, 2021
f36fa6a
resolve issue with entities reducer not picking up rtk action
JiaqiWang18 Dec 28, 2021
90fb13f
run lint fix
JiaqiWang18 Dec 28, 2021
9591162
Merge pull request #482 from JiaqiWang18/refactor-redux-course-info
JiaqiWang18 Dec 28, 2021
2ce18d0
Refactor/reorder classmate view
JJamesWWang Dec 28, 2021
ab5c325
Move get_friend_count_from_course_id to student.utils, remove unused …
JJamesWWang Dec 28, 2021
6aa00b6
Remove mailer
JJamesWWang Dec 28, 2021
60e95fe
create timetablesSlice
JiaqiWang18 Dec 29, 2021
ab2c5ac
create types for timetables
JiaqiWang18 Dec 29, 2021
e84e344
add actions
JiaqiWang18 Dec 29, 2021
ffaad83
wire up new slice
JiaqiWang18 Dec 29, 2021
023e5d9
remove old reducer
JiaqiWang18 Dec 29, 2021
d203e3d
update semester test
JiaqiWang18 Dec 29, 2021
9f67fe1
add back isAutoSave
JiaqiWang18 Dec 29, 2021
c3db089
Remove commands
JJamesWWang Dec 29, 2021
7e61c4b
Remove seemingly useless migration files
JJamesWWang Dec 29, 2021
e73cdba
Delete migration.sql file
JJamesWWang Dec 29, 2021
60982b5
Remove unused parser code
JJamesWWang Dec 29, 2021
d6c4c2a
Remove probably unused preferences.py
JJamesWWang Dec 29, 2021
36508c5
Merge pull request #485 from JJamesWWang/refactor-student
JJamesWWang Dec 30, 2021
6544d7c
Merge branch 'refactor-backend-base-branch' of https://github.com/jhu…
JJamesWWang Dec 30, 2021
fd85062
Merge branch 'refactor-backend-base-branch' of https://github.com/jhu…
JJamesWWang Dec 30, 2021
e9f2e33
Merge pull request #493 from JiaqiWang18/refactor-redux-timetables
JiaqiWang18 Dec 30, 2021
f0d72b6
Scoring: Slight refactor, remove unused method
JJamesWWang Jan 1, 2022
98e533f
Timetable: Remove vector field and remaining traces of vector
JJamesWWang Jan 1, 2022
a3d0a11
Timetable Models: Docstring formatting
JJamesWWang Jan 1, 2022
ef512a4
Timetable: Formatting
JJamesWWang Jan 1, 2022
f3bbead
Timetable Serializers: Remove unused import
JJamesWWang Jan 1, 2022
5060387
Timetable Tests: Remove gcal commented out test
JJamesWWang Jan 1, 2022
551de3e
Timetable Urls: Remove useless complete/facebook endpoint
JJamesWWang Jan 1, 2022
58689e1
Timetable Tests: Formatting
JJamesWWang Jan 1, 2022
62b7004
Timetable update_semester_field: Remove printer
JJamesWWang Jan 1, 2022
4d3e040
remove textbook code
JiaqiWang18 Jan 3, 2022
501baf4
remove scss
JiaqiWang18 Jan 3, 2022
7b196e8
Merge pull request #489 from JJamesWWang/remove-mailer
JJamesWWang Jan 4, 2022
173a52c
Merge pull request #496 from JiaqiWang18/remove-text-book-frontend
JiaqiWang18 Jan 4, 2022
3439e72
create customEventsSlice and action
JiaqiWang18 Jan 5, 2022
7be623e
update action payload
JiaqiWang18 Jan 5, 2022
bd3cfa6
wire up new slice
JiaqiWang18 Jan 5, 2022
94bd58d
delete old slice
JiaqiWang18 Jan 5, 2022
8487bb6
Merge branch 'refactor-backend-base-branch' of https://github.com/jhu…
JJamesWWang Jan 5, 2022
73ff3da
Timetable Views: Try to refactor /timetables POST
JJamesWWang Jan 5, 2022
c6e09ac
TimetableLinkView: Short refactor of POST
JJamesWWang Jan 5, 2022
52256e7
Share URL: Change lambda to RedirectView
JJamesWWang Jan 5, 2022
cc5f00d
.gitignore: Add htmlcov
JJamesWWang Jan 5, 2022
9755d09
Timetable Views: Remove unused import
JJamesWWang Jan 6, 2022
c1eb94b
Timetable Utils: Fix custom_event hack, minor refactoring
JJamesWWang Jan 6, 2022
12e100e
Timetable scoring: Delete unused imports and add to TODO
JJamesWWang Jan 6, 2022
f5c94e8
Selenium: Try to fix broken chrome version
JJamesWWang Jan 6, 2022
13df79e
Merge pull request #497 from JiaqiWang18/refactor-redux-customSlots
JiaqiWang18 Jan 6, 2022
2dd627e
Refactor classmates reducer
JJamesWWang Jan 7, 2022
59ee068
Merge pull request #495 from JJamesWWang/refactor-timetable
JJamesWWang Jan 7, 2022
aa99f02
Merge pull request #502 from jhuopensource/refactor-backend-base-branch
JJamesWWang Jan 7, 2022
758977c
Merge branch 'refactor-base-branch' into refactor-frontend-base-branch
JJamesWWang Jan 7, 2022
8f874b3
Merge pull request #503 from jhuopensource/refactor-frontend-base-branch
JJamesWWang Jan 7, 2022
101016d
Merge branch 'refactor-frontend-base-branch' of https://github.com/jh…
JJamesWWang Jan 7, 2022
4b1c2f8
...
JJamesWWang Jan 7, 2022
d12adb0
Classmate Slice: Add type comment
JJamesWWang Jan 7, 2022
04b6ea9
Merge pull request #501 from JJamesWWang/refactor-classmates-reducer
JJamesWWang Jan 10, 2022
4f33adc
Frontend: Add linter workflow
JJamesWWang Jan 11, 2022
231f171
Black Autoformatter: Add the linter prod branch
JJamesWWang Jan 11, 2022
5db0c90
TSLint: Try to use node-version 14
JJamesWWang Jan 11, 2022
4461161
TSLint: Try to use node-version 14
JJamesWWang Jan 11, 2022
e3909f7
TSLint: Fix indent error
JJamesWWang Jan 11, 2022
76f2526
TS Linting: Add prettier extension
JJamesWWang Jan 11, 2022
f17a6cc
Package.json: Remove lint-staged
JJamesWWang Jan 11, 2022
7fe60aa
Update after re-building, not sure if right
JJamesWWang Jan 11, 2022
75ecf1f
Frontend: Run prettier on js/jsx/ts/tsx files
JJamesWWang Jan 11, 2022
8d45414
ESLint: Move prettier to last extends
JJamesWWang Jan 11, 2022
98e39eb
TSLint: Set eslint max warnings to 233 so as to not allow new errors …
JJamesWWang Jan 11, 2022
32cb599
Remove pre-commit hook
JJamesWWang Jan 11, 2022
75f51c6
Remove pre-commit hook in package-lock too
JJamesWWang Jan 11, 2022
cc558d7
TSLint: Run prettier before ESLint
JJamesWWang Jan 11, 2022
d120d94
Merge branch 'refactor-frontend-base-branch' of https://github.com/jh…
JJamesWWang Jan 11, 2022
945c5a3
Event Type: Add optional exists_conflict field that was previously mi…
JJamesWWang Jan 11, 2022
15d91d6
Isomorphic Fetch: Use arrow return and template literal
JJamesWWang Jan 11, 2022
9090478
Isomorphic fetch: Format properly
JJamesWWang Jan 11, 2022
b95b829
Server.js: Convert var to const and function to arrow function
JJamesWWang Jan 11, 2022
eff7c81
Package-lock: Must have been uncommitted updates from previous packag…
JJamesWWang Jan 11, 2022
f49d8f4
Server.js: Add line to disable eslint
JJamesWWang Jan 11, 2022
fcef0a2
Postcss Config: Move require to top of file
JJamesWWang Jan 11, 2022
cec7a50
Server.js: Actually disable eslint for listen function
JJamesWWang Jan 11, 2022
7302ccd
Convert var to const and let, function to arrow, other eslint issues
JJamesWWang Jan 11, 2022
701a3db
sw.js: Disable consistent return
JJamesWWang Jan 11, 2022
e18ea50
Course page: Fix vars to const and lets, function to arrow function, …
JJamesWWang Jan 11, 2022
9b4847d
Course page: Fix a few remaining eslint errors
JJamesWWang Jan 11, 2022
c537103
Server.js: Formatting
JJamesWWang Jan 11, 2022
a2ccc19
Hashids: Eslint errors
JJamesWWang Jan 11, 2022
913d0e7
Hashids: Formatting:
JJamesWWang Jan 11, 2022
c6dfbd6
actions/index.jsx: Remove unused import
JJamesWWang Jan 11, 2022
c709218
User actions: Remove unused 'isAutoSave' variable
JJamesWWang Jan 11, 2022
27c77a5
Entities Reducer: Remove unused import
JJamesWWang Jan 11, 2022
592f84b
Classmates Slice: Remove unused import and use shorthand notation for…
JJamesWWang Jan 11, 2022
1f039f2
Revert "Merge pull request #481 from JJamesWWang/add-python-black"
mike-sellers Jan 11, 2022
94051c4
Merge pull request #509 from jhuopensource/reverting-changes-for-DJAN…
mike-sellers Jan 11, 2022
c8514cf
Package.json: Move @testing-library/react from devDependencies to pro…
JJamesWWang Jan 11, 2022
64812f1
Advanced search filter: Remove unused var and add eslint ignore
JJamesWWang Jan 11, 2022
6c90630
Friends in class alert: Add eslint ignore
JJamesWWang Jan 11, 2022
c929642
Friends in class alert container: Remove unused import
JJamesWWang Jan 11, 2022
e3b024d
Correct stage environment issues due to subdomain middleware
mike-sellers Jan 11, 2022
4387bcd
Merge pull request #518 from jhuopensource/reverting-changes-for-DJAN…
mike-sellers Jan 11, 2022
fb466f0
Merge pull request #507 from JJamesWWang/format-frontend
JJamesWWang Jan 12, 2022
e848508
Modify memory and cpu for NGINX. Reducing replicas for stage env
mike-sellers Jan 12, 2022
d6db22c
Subdomain Mixin: Default to JHU for non-production subdomains
JJamesWWang Jan 12, 2022
81b2de6
Merge branch 'refactor-frontend-base-branch' of https://github.com/jh…
JJamesWWang Jan 12, 2022
87182bc
Adjusting prod PGBOUNCER resources
mike-sellers Jan 12, 2022
0820c3f
User actions: Re-add in unused isAutoSave variable since it broke the…
JJamesWWang Jan 12, 2022
711d6d9
Isomorphic fetch: Add eslint ignore
JJamesWWang Jan 12, 2022
e5d2cf7
Friends in class alert: Add eslint ignore
JJamesWWang Jan 12, 2022
0e67a7a
Calendar component: Add eslint ignore
JJamesWWang Jan 12, 2022
3aad8d3
Master slot: Add eslint ignore
JJamesWWang Jan 12, 2022
d7d601f
Exploration modal: Add eslint ignore
JJamesWWang Jan 12, 2022
ca90f99
Search bar: Convert concat to template literal
JJamesWWang Jan 12, 2022
d49a2d8
Search side bar: Add eslint ignore
JJamesWWang Jan 12, 2022
ef7a85a
Side bar: Add eslint ignore
JJamesWWang Jan 12, 2022
236106a
Splash: Fix function -> arrow, unused vars and var/const
JJamesWWang Jan 12, 2022
cbc7af4
TS: Formatting
JJamesWWang Jan 12, 2022
a005857
TSLint: Change max warnings to 8 since there's 8 console logs
JJamesWWang Jan 12, 2022
a50557f
Merge pull request #508 from JJamesWWang/fix-eslint
JJamesWWang Jan 12, 2022
e742eae
TSLint: Add prod branch
JJamesWWang Jan 12, 2022
da5b618
TSLint: Add ignore eslint for console log files
JJamesWWang Jan 12, 2022
a0bef0e
TSLint: Set max-warnings to 0 as console logs are now ignored
JJamesWWang Jan 12, 2022
88b6985
Classmates Slice: Add copyright notice
JJamesWWang Jan 11, 2022
1be59a6
Course Sections: Add slice typescript equivalent
JJamesWWang Jan 11, 2022
bbea286
Course Sections reducer: Replace old reducer with new slice
JJamesWWang Jan 12, 2022
ecdd04f
Saving Timetable Reducer: Add new slice
JJamesWWang Jan 12, 2022
2f0a04b
Saving timetable: Wire up new slice
JJamesWWang Jan 12, 2022
91cf997
Course Sections slice: Use shorthand for initialState
JJamesWWang Jan 12, 2022
c3d2962
Saving timetable: Delete old reducer
JJamesWWang Jan 12, 2022
7cd943c
Merge pull request #521 from JJamesWWang/refactor-saving-timetable-redo
JJamesWWang Jan 12, 2022
53f800f
Merge pull request #520 from JJamesWWang/refactor-course-sections-red…
JJamesWWang Jan 12, 2022
cad97f2
Merge pull request #522 from jhuopensource/refactor-frontend-base-branch
JJamesWWang Jan 12, 2022
6d4a45b
Merge prod
JJamesWWang Jan 12, 2022
ea7a7ac
Build workflow: Add back in refactor-backend-base-branch, remove stag…
JJamesWWang Jan 12, 2022
3573d1a
Build workflow: Remove commas from branch arg
JJamesWWang Jan 12, 2022
21f9719
Merge pull request #504 from jhuopensource/refactor-base-branch
JJamesWWang Jan 12, 2022
06a65d3
Reducing prod replicas to 3
mike-sellers Jan 12, 2022
a113921
Merge pull request #519 from jhuopensource/Stage-deployment-resources…
mike-sellers Jan 12, 2022
a9ec17c
Workflows: Remove refactoring branches and add enhance-custom-events …
JJamesWWang Jan 13, 2022
a0e7406
create new slice
JiaqiWang18 Jan 13, 2022
77eb93b
create global actions
JiaqiWang18 Jan 13, 2022
e48475f
wire up actions and reducer
JiaqiWang18 Jan 13, 2022
824fe20
remove old reducer
JiaqiWang18 Jan 13, 2022
64fca74
Signup Modal: Create slice
JJamesWWang Jan 13, 2022
49363c2
Signup modal slice: Change trigger and toggle to show and hide
JJamesWWang Jan 13, 2022
1443a3f
Signup modal slice: Replace old signup modal reducer and modal action
JJamesWWang Jan 13, 2022
527f769
Course Modal Container: Format document
JJamesWWang Jan 13, 2022
0e8920b
Merge pull request #528 from JiaqiWang18/refactor-redux-explorationModal
JJamesWWang Jan 13, 2022
0913552
Merge branch 'prod' into refactor-signup-modal
JJamesWWang Jan 13, 2022
dcd86f8
Merge pull request #529 from JJamesWWang/refactor-signup-modal
JJamesWWang Jan 13, 2022
c2bf796
Eslint: Allow jsx in tsx files
JJamesWWang Jan 13, 2022
0886641
Calendar: Convert jsx file to tsx
JJamesWWang Jan 13, 2022
92eff25
Eslint: Disable check for requiring default for props since it's awkw…
JJamesWWang Jan 13, 2022
fe1c09c
Calendar Row: Add types to props
JJamesWWang Jan 13, 2022
0e6a76f
Calendar: Refactor into typescript and functional component
JJamesWWang Jan 13, 2022
b5c48c3
Calendar: Change getTimelineStyle to arrow function
JJamesWWang Jan 13, 2022
68df921
Calendar: Set shareLinkShown to true while fetching to pass backend test
JJamesWWang Jan 13, 2022
560da0b
Calendar: Formatting
JJamesWWang Jan 13, 2022
2cdad52
Merge pull request #532 from JJamesWWang/refactor-calendar-component
JJamesWWang Jan 13, 2022
b32b7c5
Revert to last known good
mike-sellers Jan 14, 2022
890d6f8
Merge pull request #537 from jhuopensource/last-known-good-1-3-22
mike-sellers Jan 14, 2022
1c61903
Merge branch 'prod' into Stage-deployment-resources-update
mike-sellers Jan 14, 2022
04d2d6b
Resource updates for PGBOUNCER
mike-sellers Jan 14, 2022
583165c
Merge pull request #544 from jhuopensource/Stage-deployment-resources…
mike-sellers Jan 14, 2022
57fc452
Update prod replicas
mike-sellers Jan 14, 2022
269821a
Merge pull request #545 from jhuopensource/Prod-replica-update
mike-sellers Jan 14, 2022
56bec6c
SEM-199 - Implementing develop branch. Committing AKS deployment man…
mike-sellers Jan 14, 2022
c0bca08
SEM-199 - Cleanup commit
mike-sellers Jan 15, 2022
5dab28a
SEM-199 - Updating ingress api version all envs
mike-sellers Jan 15, 2022
9572af1
SEM-199 - Cronjob dev api version update
mike-sellers Jan 15, 2022
a072296
SEM-199 - nginx.conf solution
mike-sellers Jan 15, 2022
e7b2077
SEM-199 - Minor cleanup commit
mike-sellers Jan 15, 2022
1d53e1d
Merge pull request #546 from JJamesWWang/refactor-first-half
JJamesWWang Jan 14, 2022
2e30286
Merge pull request #553 from JJamesWWang/reapply-refactor-first-third
JJamesWWang Jan 15, 2022
027cae9
Merge pull request #552 from jhuopensource/SEM-199
JJamesWWang Jan 15, 2022
c6b08fa
SEM-199 - Resolver line in the nginx conf is not needed. Removing
mike-sellers Jan 15, 2022
8b303cb
Merge pull request #554 from jhuopensource/SEM-199
JJamesWWang Jan 15, 2022
39c00a5
SEM-199 - Update azure pipeline for develop branch
mike-sellers Jan 15, 2022
66c8399
Merge pull request #555 from jhuopensource/SEM-199
mike-sellers Jan 15, 2022
00d7fed
Update azure-pipelines.yml for Azure Pipelines
mike-sellers Jan 15, 2022
d030e14
Update azure-pipelines.yml for Azure Pipelines
mike-sellers Jan 15, 2022
b104e7f
Revert "Merge pull request #553 from JJamesWWang/reapply-refactor-fir…
JJamesWWang Jan 15, 2022
e2c2990
Merge pull request #557 from JJamesWWang/revert-refactor
mike-sellers Jan 15, 2022
bf7de09
Revert "SEM-199 - Update azure pipeline for develop branch"
mike-sellers Jan 15, 2022
a927266
Merge pull request #558 from jhuopensource/develop
mike-sellers Jan 15, 2022
5bb7b9e
SEM-199
mike-sellers Jan 15, 2022
3e1a8d8
SEM-199 - Reduce NGINX version
mike-sellers Jan 15, 2022
de80ed8
SEM-199 - Updating nginx build
mike-sellers Jan 15, 2022
1535434
SEM-199 - Development pipeline update
mike-sellers Jan 15, 2022
ab2a11e
SEM-199 - Cleaning up deployment manifests
mike-sellers Jan 15, 2022
dc14810
SEM-199 - nginx.conf update
mike-sellers Jan 15, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 2 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ module.exports = {
"no-plusplus": 0,
"jsx-a11y/no-static-element-interactions": 0,
"jsx-a11y/no-noninteractive-element-interactions": 0,
"react/jsx-max-props-per-line": 0
"react/jsx-max-props-per-line": 0,
"import/first": 0
},
extends: "airbnb",
};
90 changes: 90 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
name: Bug Report
description: File a Bug Report
labels: [bug]
body:
- type: input
id: contact
attributes:
label: Contact Details
description: How can we get in touch with you if we need more info?
placeholder: ex. [email protected]
validations:
required: false
- type: textarea
id: describe-bug
attributes:
label: Describe the Bug
description: A clear and concise description of what the bug is.
placeholder: Describe the bug.
validations:
required: true
- type: textarea
id: steps-to-reproduce
attributes:
label: How can we reproduce the problem?
description: A clear and concise description of what the problem is.
value: |
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
validations:
required: true
- type: textarea
id: expected-behavior
attributes:
label: Expected Behavior
description: A clear and concise description of what you expected to happen.
placeholder: Expectations
validations:
required: true
- type: dropdown
id: version
attributes:
label: OS Version
description: Which OS were you using?
options:
- MacOS
- Windows
- Linux
- Other
validations:
required: false
- type: dropdown
id: browsers
attributes:
label: Which browsers are you seeing the problem on?
multiple: true
options:
- Firefox
- Chrome
- Safari
- Microsoft Edge
- Other
validations:
required: false
- type: textarea
id: logs
attributes:
label: Additional Information
description: |
Please copy and paste any relevant log output or screenshot.
This will be automatically formatted into code, so no need for backticks.

Tip: You can attach images or log files by clicking this area to highlight it and then dragging files in.
placeholder: Add any other context or screenshots about the feature request here.
validations:
required: false
- type: checkboxes
id: terms
attributes:
label: Code of Conduct
description: By submitting this issue, you agree to follow our [Code of Conduct](https://github.com/jhuopensource/semesterly/blob/master/CODE_OF_CONDUCT.md)
options:
- label: I agree to follow Semester.ly's Code of Conduct
required: true
- type: markdown
attributes:
value: |
Thanks for taking the time to fill out this bug report!
59 changes: 59 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
name: Feature Request
description: Suggest a new idea/feature for Semester.ly
labels: [feature-request]
body:
- type: input
id: contact
attributes:
label: Contact Details
description: How can we get in touch with you if we need more info?
placeholder: ex. [email protected]
validations:
required: false
- type: textarea
id: problem
attributes:
label: Is your feature request related to a problem? Please describe.
description: A clear and concise description of what the problem is.
placeholder: Related problem?
validations:
required: true
- type: textarea
id: solution
attributes:
label: Describe the solution you'd like.
description: A clear and concise description of what you want to happen.
placeholder: Solution
validations:
required: true
- type: textarea
id: alternatives
attributes:
label: Describe alternatives you've considered
description: A clear and concise description of any alternative solutions or features you've considered.
placeholder: Any alternatives?
validations:
required: true
- type: textarea
id: additional-info
attributes:
label: Additional Information
description: |
Add any other context or screenshots about the feature request here.

Tip: You can attach images or log files by clicking this area to highlight it and then dragging files in.
placeholder: Additional Info...
validations:
required: false
- type: checkboxes
id: terms
attributes:
label: Code of Conduct
description: By submitting this request, you agree to follow our [Code of Conduct](https://github.com/jhuopensource/semesterly/blob/master/CODE_OF_CONDUCT.md)
options:
- label: I agree to follow Semester.ly's Code of Conduct
required: true
- type: markdown
attributes:
value: |
Thanks for taking the time to request a new feature!
9 changes: 9 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
### Description

### Tasks
- [ ]

### Your Checklist
- [ ] Reviewed the [guidelines for contributing?](https://github.com/jhuopensource/semesterly/blob/master/CODE_OF_CONDUCT.md)
- [ ] Linked Issue and/or Project?
- [ ] Added Reviewer, Assignee, and/or Label?
74 changes: 74 additions & 0 deletions .github/workflows/semesterly.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
name: Semesterly CI

on:
push:
branches: [ prod, staging, refactor-frontend-base-branch, github-actions ]
pull_request:
branches: [ prod, staging, refactor-frontend-base-branch, github-actions ]

jobs:
build:

runs-on: ubuntu-latest
services:
postgres:
image: postgres
env:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: postgres
ports:
- 5432:5432
# needed because the postgres container does not provide a healthcheck
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5

strategy:
max-parallel: 4
matrix:
python-version: [3.8]
node-version: [10.x, 12.x, 14.x]

steps:
- name: Adjust hosts file
run: sudo echo "127.0.0.1 jhu.sem.ly sem.ly jhu" | sudo tee -a /etc/hosts

- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}

- uses: actions/cache@v2
with:
path: ~/.cache/pip
key: ${{ runner.os }}-${{ hashFiles('requirements.txt') }}

- name: Install Python Dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm install
- run: npm -g install chromedriver
- run: npm -g install jest@20
- run: npm run build --if-present
- run: npm run lint
- run: npm run test

- name: Run Backend Tests
uses: GabrielBB/xvfb-action@v1
env:
NODE_ENV: production
host: jhu.sem.ly
DB_PORT: ${{ job.services.postgres.ports[5432] }}
with:
run: python manage.py test

- name: Run docs
run: make html -C docs

1 change: 1 addition & 0 deletions .jshintrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"node": true,
"esversion": 6,

"curly": true,
"latedef": true,
Expand Down
22 changes: 22 additions & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# .readthedocs.yaml
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details

# Our own readthedocs can be found here https://readthedocs.org/projects/semesterly-v2/
# And here https://semesterly-v2.readthedocs.io/en/latest/

# Required
version: 2

# Build documentation in the docs/ directory with Sphinx
sphinx:
configuration: docs/conf.py

# Optionally build your docs in additional formats such as PDF
formats: all

# Optionally set the version of Python and requirements required to build your docs
python:
version: "3.8"
install:
- requirements: requirements.txt
44 changes: 0 additions & 44 deletions .travis.yml

This file was deleted.

Loading