Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
3273 commits
Select commit Hold shift + click to select a range
79871ec
drag search: combine commits
JiaqiWang18 May 4, 2023
67730d3
drag search: run lint
JiaqiWang18 May 4, 2023
b0bfdfe
drag search: fix lint
JiaqiWang18 May 4, 2023
c4471da
drag-search: allow start and end at half hours
JiaqiWang18 May 22, 2023
97ded06
Merge pull request #1012 from jhuopensource/dependabot/pip/requests-2…
JiaqiWang18 Sep 20, 2023
d12e8bb
Bump cryptography from 39.0.1 to 41.0.4
dependabot[bot] Sep 21, 2023
d532bfa
Merge pull request #1028 from jhuopensource/dependabot/pip/cryptograp…
JiaqiWang18 Sep 23, 2023
dcd06b9
Bump cryptography from 39.0.1 to 41.0.4 in /build/semesterly-base
dependabot[bot] Sep 23, 2023
2729b71
drag search: fixing test files
spencerckhuang Sep 24, 2023
e8c607a
drag search: merge branch 'feature/drag-search' of https://github.com…
spencerckhuang Sep 24, 2023
a5de8c0
drag search: altered tests.py so that they are compatable with jhu_fa…
spencerckhuang Sep 24, 2023
239f1f1
drag search: trying to fix lint by removing spaces inbetween self.des…
spencerckhuang Sep 24, 2023
55e7912
drag search: ran black . to fix linting
spencerckhuang Sep 24, 2023
5a10c7c
Merge pull request #1004 from jhuopensource/feature/drag-search
JiaqiWang18 Sep 24, 2023
a85e58e
Merge pull request #1027 from jhuopensource/dependabot/pip/build/seme…
JiaqiWang18 Sep 24, 2023
a028d34
trigger GitHub actions
JiaqiWang18 Sep 24, 2023
55a607b
trigger GitHub actions
JiaqiWang18 Sep 24, 2023
c7487d8
Merge pull request #1016 from jhuopensource/dependabot/pip/django-3.2.20
JiaqiWang18 Sep 24, 2023
7492ce6
Merge pull request #1015 from jhuopensource/dependabot/pip/build/seme…
JiaqiWang18 Sep 24, 2023
ad27c88
Merge pull request #1037 from jhuopensource/release/v5.6.0
JiaqiWang18 Sep 30, 2023
9db022f
Merge pull request #1018 from jhuopensource/dependabot/pip/scipy-1.10.0
JiaqiWang18 Oct 3, 2023
b37b844
Bump fsevents from 1.1.2 to 1.2.13
dependabot[bot] Oct 9, 2023
5dbae41
error-handling: add error report API and fall back page
JiaqiWang18 Oct 7, 2023
ff27ea8
Merge pull request #1041 from jhuopensource/dependabot/npm_and_yarn/f…
JiaqiWang18 Oct 10, 2023
5e55563
error handling: rename Semesterly component import
JiaqiWang18 Oct 10, 2023
54d40e4
Merge pull request #1040 from jhuopensource/feature/error-handling
JiaqiWang18 Oct 10, 2023
2d58833
keyboard-shortcuts: registered key-presses in CourseModalBody.txt and…
spencerckhuang Oct 16, 2023
5cc8fdd
keyboard-shortcuts: created currentHoveredSection state to represente…
spencerckhuang Oct 16, 2023
1c1397e
keyboard-shortcuts: added basic kb functionality to coursemodal (left…
spencerckhuang Oct 16, 2023
b53c77c
Bump @babel/traverse from 7.16.3 to 7.23.2
dependabot[bot] Oct 17, 2023
8ddb4af
hotfix: update parser to add Spring 2024
JiaqiWang18 Oct 21, 2023
d735062
Merge pull request #1044 from jhuopensource/hotfix/parser-spring2024
JiaqiWang18 Oct 23, 2023
f048dda
Bump browserify-sign from 4.0.4 to 4.2.2
dependabot[bot] Oct 27, 2023
9df39dc
hotfix: update parser to add Spring 2024
JiaqiWang18 Oct 21, 2023
7dea8e8
Merge pull request #1045 from jhuopensource/dependabot/npm_and_yarn/b…
JiaqiWang18 Oct 29, 2023
daa00d2
Bump semver from 5.3.0 to 5.7.2
dependabot[bot] Oct 29, 2023
3ab5ccb
Merge pull request #1046 from jhuopensource/parsing/spring-2024
JiaqiWang18 Oct 29, 2023
2e50f32
Bump django from 3.2.20 to 3.2.23 in /build/semesterly-base
dependabot[bot] Nov 2, 2023
e0ff207
keyboardshortcuts: fixed bug where app crashes upon closing course mo…
spencerckhuang Nov 21, 2023
ae8e8b5
keyboardshortcuts: fixed bug in handlekeypress that now allows users …
spencerckhuang Nov 21, 2023
92429c2
keyboardshortcuts: added escape key shortcut to exit coursemodal
spencerckhuang Nov 21, 2023
e38b0ec
keyboardshortcuts: changed background color of coursemodalsection upo…
spencerckhuang Nov 21, 2023
15fad5d
keyboardshortcuts: removed unnecessary console.logs and comments
spencerckhuang Nov 21, 2023
cea8458
keyboardshortcuts: ran prettier
spencerckhuang Nov 21, 2023
ec1f178
keyboardshortcuts: removed erroneous import statement from CourseModa…
spencerckhuang Nov 21, 2023
77d0829
keyboardshortcuts: attempting to fix BE tests by adding pause after r…
spencerckhuang Nov 21, 2023
95c2918
hotfix: add fb:app_id meta tag
JiaqiWang18 Nov 24, 2023
e06a0f6
Merge pull request #1053 from jhuopensource/hotfix/privacy-policy-add…
JiaqiWang18 Nov 25, 2023
ed73cd5
Bump cryptography from 41.0.4 to 41.0.6
dependabot[bot] Nov 29, 2023
34997f4
Merge pull request #1054 from jhuopensource/dependabot/pip/cryptograp…
JiaqiWang18 Nov 29, 2023
8f94cd7
Merge pull request #1048 from jhuopensource/dependabot/pip/build/seme…
JiaqiWang18 Nov 29, 2023
4478edb
Merge pull request #1047 from jhuopensource/dependabot/npm_and_yarn/s…
JiaqiWang18 Nov 29, 2023
a42c4b4
Merge pull request #1043 from jhuopensource/dependabot/npm_and_yarn/b…
JiaqiWang18 Nov 29, 2023
02e9d65
Merge pull request #1052 from spencerckhuang/feature/keyboard-shortcuts
JiaqiWang18 Dec 1, 2023
4c7e815
Courses: Add endpoint for accessing all courses in JSON
jchen324 Dec 2, 2023
49f4030
Evaluation list: Conditionally display summary box when evaluation su…
jchen324 Dec 2, 2023
875f64f
Evaluation list: Show professor names for evaluations from all terms …
jchen324 Dec 2, 2023
77d9d57
Evaluation list: Fix formatting
jchen324 Dec 2, 2023
0992307
doc fixes: updated file names in frontend
spencerckhuang Dec 2, 2023
5b0cff4
docs: more changes from jsx file names to tsx
spencerckhuang Dec 2, 2023
43f079b
Merge pull request #1058 from spencerckhuang/fix/documentation-fixes
JiaqiWang18 Dec 2, 2023
f8616ed
prereqs: changed course codes to class names and increased first colu…
spencerckhuang Dec 3, 2023
0e1a143
prereqs: updated frontend testing snapshots to reflect changes made t…
spencerckhuang Dec 3, 2023
0cd718f
Merge pull request #1059 from spencerckhuang/fix/prereqs-names-and-co…
JiaqiWang18 Dec 3, 2023
d6e2699
SBshortcuts: added hoverdCourse state to SideBar.tsx. added useeffect…
spencerckhuang Dec 5, 2023
d84037f
Merge branch 'jhuopensource:develop' into feature/evaluations
jchen324 Dec 7, 2023
b150051
SBshortcuts: added isHovered param to MasterSlots created in CourseMo…
spencerckhuang Dec 7, 2023
9824446
Merge branch 'develop' into feature/sidebar-keyboard-shortcut
spencerckhuang Dec 8, 2023
05ebbe6
Merge pull request #1057 from jchen324/feature/evaluations
JiaqiWang18 Dec 9, 2023
18fe9fe
Merge pull request #1061 from jhuopensource/develop
JiaqiWang18 Dec 9, 2023
1ed4582
Merge branch 'develop' into feature/sidebar-keyboard-shortcut
spencerckhuang Dec 15, 2023
8b328da
SBshortcuts: added event listeners for key press and basic logic to u…
spencerckhuang Dec 15, 2023
f5a2f71
SBshortcuts: fixed debugging statements and calls to setHoveredCourse…
spencerckhuang Dec 15, 2023
386c350
SBshortcuts: changing hoveredcourse to never go out of bounds if a co…
spencerckhuang Dec 16, 2023
4293c93
SBshortcuts: removed console.logs and updated code comments
spencerckhuang Dec 16, 2023
c26b2c8
SBshortcuts: added enter and backspace functionality to view/remove c…
spencerckhuang Dec 16, 2023
b32f079
SBshortcuts: disabled scrolling in calendar using up/down arrow keys …
spencerckhuang Dec 16, 2023
ddb6d8c
SBshortcuts: ran prettier
spencerckhuang Dec 16, 2023
9b42878
SBshortcuts: reverted unintentional changes
spencerckhuang Dec 16, 2023
8d6f02b
SBshortcuts: removed 'any' type declaration in Semesterly.tsx
spencerckhuang Dec 16, 2023
a5a3b93
SBshortcuts: removed unnecessary comments in Calendar.tsx
spencerckhuang Dec 16, 2023
e5640c6
Evaluation list: Add evaluation parsing script
jchen324 Dec 21, 2023
e648574
Evaluation list: Modify .gitignore to track the evaluation JSON file
jchen324 Dec 21, 2023
c984728
Evaluation list: Modify run_parser to digest evaluations automatically
jchen324 Dec 21, 2023
b3fda37
Merge pull request #1062 from spencerckhuang/feature/sidebar-keyboard…
JiaqiWang18 Dec 21, 2023
fa694cd
Merge pull request #1063 from jchen324/feature/evaluations
JiaqiWang18 Dec 21, 2023
8efbc39
evaluations: fix eval display for size <= 2
JiaqiWang18 Dec 23, 2023
648c8c1
update evaluation docs
JiaqiWang18 Dec 23, 2023
61babb6
Merge pull request #1064 from jhuopensource/fix/eval-display-and-docs
JiaqiWang18 Dec 23, 2023
8b4de8c
Merge pull request #1065 from jhuopensource/develop
JiaqiWang18 Dec 25, 2023
c10ed3c
fix: incorrect time zone for last updated time
JiaqiWang18 Dec 26, 2023
15e098e
newsmodal: added 'any' type declaration to timetablenameinput and cou…
Jan 4, 2024
95a1212
newsmodal: fetch data regardless of tutorial status, but only display…
Jan 4, 2024
97f42b4
newsmodal: reverted bad changes
Jan 4, 2024
2e15771
newsmodal: removed accidental import statement in TimetableNameInput.tsx
Jan 4, 2024
41571be
date readability: reformatted 'date last updated' to be more user-fri…
Jan 5, 2024
98737c6
date readadbility: ran prettier
Jan 5, 2024
3f30e28
Merge pull request #1068 from spencerckhuang/fix/time-data-readability
JiaqiWang18 Jan 6, 2024
6782719
Merge pull request #1067 from spencerckhuang/fix/new-user-news-modal
JiaqiWang18 Jan 7, 2024
1b73d67
sidebar hotfix: update logic to change hoveredCourse to -1 when user …
Jan 7, 2024
65f3c8a
sidebar hotfix: remove console.log statements
Jan 7, 2024
ff89d48
Merge pull request #1070 from spencerckhuang/hotfix/sidebar-shortcut-fix
JiaqiWang18 Jan 8, 2024
235834a
Merge pull request #1066 from jhuopensource/fix/last-updated-time
JiaqiWang18 Jan 30, 2024
75199de
edited showNewsModal reducer to log last time user saw news
Feb 13, 2024
ae7c26e
Merge pull request #1078 from spencerckhuang/fix/news-modal-update
JiaqiWang18 Feb 13, 2024
73f83e9
Merge pull request #1077 from jhuopensource/develop
JiaqiWang18 Feb 13, 2024
496931f
fix: edited date last updated so that the displayed day of the month …
Feb 16, 2024
6b16909
added new create-new-timetable button in dropdown menu
Feb 17, 2024
3ab8fcb
removed timetable button from icon row
Feb 17, 2024
4f7e2da
ran prettier :)
Feb 17, 2024
1fdb817
ran prettier, closed dropdown upon making new timetable, removed unne…
Feb 17, 2024
bcc5657
altered E2E test to create new timetable through new buttons instead …
Feb 17, 2024
7782179
ran prettier
Feb 17, 2024
bcaf829
Merge pull request #1082 from spencerckhuang/refactor/timetable-drop-…
JiaqiWang18 Feb 17, 2024
5cb0c26
Merge pull request #1079 from spencerckhuang/fix/data-last-updated-su…
JiaqiWang18 Feb 17, 2024
8972b4e
added text to left of term/year in timetable drop down that changes t…
Feb 18, 2024
2305d18
removed unnecessary imports
Feb 18, 2024
0114dce
reverted to using Tooltip with disableInteractive flag
spencerckhuang Feb 19, 2024
e29ded1
build(deps): bump black from 22.3.0 to 24.3.0 in /build/semesterly-base
dependabot[bot] Mar 20, 2024
0426556
build(deps): bump black from 22.3.0 to 24.3.0
dependabot[bot] Mar 20, 2024
7194d94
upgrade webpack
K02D Dec 2, 2023
6828367
temporarily disable noImplicityAny
K02D Dec 3, 2023
b36d1b0
add tabs
K02D Dec 3, 2023
1bc0f2f
add placeholders for all modal screens
K02D Jan 18, 2024
b668764
add frontend placeholders
K02D Jan 22, 2024
9de7f64
add search functionality
K02D Jan 23, 2024
f42eb60
fix console warnings
K02D Jan 29, 2024
a80afe5
fix another warning
K02D Jan 29, 2024
fb6b2de
add no users found display
K02D Jan 29, 2024
94a53c1
add andreas's first commit
K02D Jan 29, 2024
e8fe7bc
add andreas's second commit
K02D Jan 29, 2024
aec89a5
add migration
K02D Jan 29, 2024
ca1ff15
add search friends
K02D Jan 29, 2024
b267a9e
return json successfully
K02D Jan 29, 2024
7792cfc
fix search and add make buttons dynamic
K02D Jan 31, 2024
014d933
fix css
K02D Feb 14, 2024
9f65fdc
fix search friends endpoint
K02D Feb 14, 2024
726753f
implement requests sent
K02D Feb 15, 2024
179c58b
add users requested
K02D Feb 15, 2024
97dafa7
add types and cleanup
K02D Mar 2, 2024
f6230fd
send friend request id to frontend
K02D Mar 10, 2024
ebfbdbc
accept friend request functionality
K02D Mar 10, 2024
f8c1805
add remove friend functionality
K02D Mar 10, 2024
c610f83
refactor
K02D Mar 10, 2024
48880eb
simplify code with claude
K02D Mar 10, 2024
f76ea73
fix css
K02D Mar 18, 2024
e93061b
fix find new friends css
K02D Mar 19, 2024
4540676
add tests
K02D Mar 19, 2024
c0ec8cc
refactor and get tests to pass
K02D Mar 19, 2024
dc04788
add docstrings and include sender and receiver info in dict
K02D Mar 19, 2024
3416e30
don't display existing friends in search results
K02D Mar 19, 2024
bf34e99
center align everything
K02D Mar 21, 2024
ba0c098
refactor into reused component
K02D Mar 21, 2024
a01077c
make scrollable
K02D Mar 21, 2024
f889ddd
delete files
K02D Mar 21, 2024
9d76638
clean up
K02D Mar 21, 2024
8839f7f
remove unused imports
K02D Mar 21, 2024
51a0f1a
remove old tests
K02D Mar 21, 2024
503fd4d
run lint
K02D Mar 21, 2024
83163a1
fix console errors and warnigns
K02D Mar 21, 2024
d3e67a7
remove unused cookie
K02D Mar 21, 2024
fa3f622
fix ts lint issue
K02D Mar 22, 2024
3876f5e
fix lint
K02D Mar 22, 2024
4dd0329
updated parser to add fall 2024 courses
spencerckhuang Mar 22, 2024
733156f
Merge pull request #1097 from spencerckhuang/hotfix/parser-fall-2024
JiaqiWang18 Mar 22, 2024
70839f0
upgrade webpack
K02D Mar 22, 2024
89334c4
add webpack cli
K02D Mar 22, 2024
4963cd8
change to rules
K02D Mar 22, 2024
96cbb22
change to options
K02D Mar 22, 2024
77792dc
fix fs fallback
K02D Mar 22, 2024
4e8762e
use webpack 4
K02D Mar 22, 2024
83129b3
remove webpack cli
K02D Mar 22, 2024
645da28
remove from devdependencies
K02D Mar 22, 2024
aefad72
upgrade webpack-bundle-tracker
K02D Mar 22, 2024
efce0cd
downgrade package
K02D Mar 23, 2024
5701f46
add webpack cli
K02D Mar 23, 2024
7f05028
downgrade webpack cli
K02D Mar 23, 2024
79ae803
revert
K02D Mar 23, 2024
486c50d
upgrade another package
K02D Mar 23, 2024
aa8e093
upgrade ts-loader
K02D Mar 23, 2024
92558a5
Merge pull request #1096 from jhuopensource/dependabot/pip/black-24.3.0
JiaqiWang18 Mar 24, 2024
2645555
Merge pull request #1095 from jhuopensource/dependabot/pip/build/seme…
JiaqiWang18 Mar 24, 2024
c94e092
Onboarding: Add Tanvi to About Page
tranade Mar 24, 2024
687ac58
SEM-225 - Update Docker Service Registry Connection
mike-sellers Mar 28, 2024
ed89e0e
Merge pull request #1102 from jhuopensource/hotfix/SEM-225
JiaqiWang18 Mar 28, 2024
3e15e51
SEM-225 - Update Docker Service Registry Connection
mike-sellers Mar 28, 2024
2601b75
Merge pull request #1103 from jhuopensource/fix/update-docker-registry
JiaqiWang18 Mar 28, 2024
10b6a8c
Merge pull request #1099 from tranade/feature/tanvi-about-page
JiaqiWang18 Mar 31, 2024
49259ac
bugfix: fixed kitawesome icons and updated current/former members
jyang0403 Apr 1, 2024
0b4fc67
Update privacypolicy.html with kitawesome
jyang0403 Apr 1, 2024
e99170e
Update termsofservice.html with kitawesome
jyang0403 Apr 1, 2024
b483b22
Update notice.html with kit.fontawesome
jyang0403 Apr 1, 2024
20c0ca8
Update header.html
jyang0403 Apr 1, 2024
8081c00
Delete parsing/schools/jhu/data/courses.json:Zone.Identifier
jyang0403 Apr 1, 2024
8514a81
Merge pull request #1106 from jyang0403/fix/icons-and-current-team
jyang0403 Apr 2, 2024
8a033a0
updated onboarding docs
ericzhy0815 Apr 2, 2024
35cf485
completed readthedocs
ericzhy0815 Apr 2, 2024
1f76c7a
Onboarding Doc: Fix getting paid section as we move from using Jira f…
zydtiger Apr 6, 2024
17ca131
Merge pull request #1108 from zydtiger/fix/onboarding-doc
JiaqiWang18 Apr 6, 2024
efcb3fc
Onboarding: adding Tiger to about page
Apr 6, 2024
e3aeeae
Merge pull request #1110 from zydtiger/onboarding/tigerportrait
JiaqiWang18 Apr 6, 2024
4f53f0b
UI: Adds dark mode image for master slot empty state
Apr 6, 2024
75e112e
Merge pull request #1056 from jhuopensource/feature/friends-modal
JiaqiWang18 Apr 7, 2024
6a66ef8
Fix: make tslint happy
Apr 7, 2024
25716ab
Merge pull request #1086 from spencerckhuang/refactor/timetable-dropd…
JiaqiWang18 Apr 7, 2024
5421737
Merge branch 'develop' into fix/side-bar-dark-ui
zydtiger Apr 7, 2024
2908883
fix: make things happy :(
Apr 7, 2024
261a4df
Fix: Make tslint happy
Apr 7, 2024
6b248e5
Fix: Make tslint happy
Apr 7, 2024
fd41059
Merge branch 'jhuopensource:develop' into Eric
ericzhy0815 Apr 7, 2024
63ede22
migrated db changes
ericzhy0815 Apr 7, 2024
8e2e703
Fix: Make tslint happy
Apr 7, 2024
200188c
Fix: Make tslint happy
Apr 7, 2024
af23360
Merge pull request #1111 from zydtiger/fix/side-bar-dark-ui
JiaqiWang18 Apr 7, 2024
0be62d6
remove extra scroll in timetable
ericzhy0815 Apr 14, 2024
f0afc7c
added screenshot button
ericzhy0815 Apr 14, 2024
a1a0b41
reverted read the docs to unanswered version
ericzhy0815 Apr 14, 2024
315fe69
actually reverted read the docs to unanswered version
ericzhy0815 Apr 14, 2024
18d0531
conformed to prettier
ericzhy0815 Apr 14, 2024
29fac99
used react ref to reference table instead of finding by id
ericzhy0815 Apr 14, 2024
c23b092
Merge pull request #1114 from ericzhy0815/fix/remove-extra-scroll-bar
JiaqiWang18 Apr 14, 2024
99e040c
removed console error output
ericzhy0815 Apr 14, 2024
619511b
removed alert when handling download calendar error
ericzhy0815 Apr 14, 2024
88b52e6
Merge pull request #1115 from ericzhy0815/feature/screenshot
JiaqiWang18 Apr 14, 2024
20c6ce0
In friends, added dark mode, made sidebar not scroll with the main pa…
ericzhy0815 May 4, 2024
e9983f6
fixed multiple import of themeSlice
ericzhy0815 May 4, 2024
77cc9b9
Merge pull request #1124 from ericzhy0815/fixFriendsDarkMode
JiaqiWang18 May 16, 2024
2e1eb32
added f24 to dev parser
Aug 21, 2024
4b8ed5c
added f24 to dev parser
Aug 21, 2024
a48acc9
fixed bug in data last updated text and refactored code slightly
Aug 21, 2024
be3bf8f
temporarily removed problematic e2e tests
Aug 21, 2024
ef5ef90
removed unintended change for this pr
Aug 21, 2024
7e45870
Merge pull request #1127 from spencerckhuang/fix/fall-2024-jhu-config
spencerckhuang Aug 22, 2024
b797ccc
Merge pull request #1129 from spencerckhuang/fix/chromedriver-tests
spencerckhuang Aug 22, 2024
0e290f6
Merge pull request #1128 from spencerckhuang/fix/data-last-updated-text
spencerckhuang Aug 22, 2024
0ae12fd
Update azure-pipelines-dev.yml for Azure Pipelines
mike-sellers Sep 19, 2024
65fdbeb
SEM-226 - Update ACR dockerRegistryServiceConnection
mike-sellers Sep 19, 2024
8cc6bc2
Merge branch 'prod' into develop
mike-sellers Sep 19, 2024
f753ee9
SEM-226 - Azure Container Registry access update dockerRegistryServic…
mike-sellers Sep 19, 2024
b373618
Merge branch 'hotfix/SEM-226' into develop
mike-sellers Sep 19, 2024
23da060
Merge pull request #1134 from jhuopensource/hotfix/SEM-226
mike-sellers Sep 19, 2024
55d59b9
fixed :)
Sep 22, 2024
10b700f
Merge branch 'jhuopensource:develop' into develop
spencerckhuang Sep 22, 2024
c6ac669
Merge pull request #1135 from spencerckhuang/develop
JiaqiWang18 Sep 22, 2024
ca7b9ce
Merge pull request #1136 from jhuopensource/develop
JiaqiWang18 Sep 22, 2024
15b16a9
SEM-227 - - name: SERVER_TLS_SSLMODE value allow
mike-sellers Oct 22, 2024
9f0a888
SEM-227 - - name: SERVER_TLS_SSLMODE value disable for dev and test …
mike-sellers Oct 22, 2024
87a6fa5
SEM-227 - Implement client_tls_ca_file for pgbouncer
mike-sellers Oct 25, 2024
d615d61
SEM-227 - Implement client_tls_ca_file for pgbouncer
mike-sellers Oct 25, 2024
aa0e652
SEM-227 - Implement client_tls_ca_file for pgbouncer
mike-sellers Oct 28, 2024
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
  •  
  •  
  •  
18 changes: 16 additions & 2 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -1,8 +1,22 @@
[run]
source =
./timetable
./analytics
./courses
./student

branch = True

include =
*/views.py
timetable/views.py
timetable/serializers.py
courses/views.py
courses/serializers.py
student/views.py
student/serializers.py

[report]
show_missing = True
# skip_covered = True

[html]
title = htmlReport
11 changes: 10 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
docs
venv
node_modules/
htmlcov/
static/js/modules/
static/js/redux/__tests__/*/__snapshots__/
static/js/redux/__tests__/*/__snapshots__/
static/bundles/
static/admin/
static/django_extensions/
static/drf-yasg/
static/rest_framework/
static/ckeditor/
74 changes: 55 additions & 19 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,22 +13,58 @@ GNU General Public License for more details.
*/

module.exports = {
"env": {
"browser": true,
"node": true,
"jasmine": true
},
"globals": {
"$": true,
"initData": true, // homepage context data passed from backend
"reactAlertEvents": true,
},
rules: {
"no-else-return": 0,
"no-plusplus": 0,
"jsx-a11y/no-static-element-interactions": 0,
"jsx-a11y/no-noninteractive-element-interactions": 0,
"react/jsx-max-props-per-line": 0
},
extends: "airbnb",
};
parser: "@typescript-eslint/parser",
plugins: ["@typescript-eslint"],
env: {
browser: true,
node: true,
jasmine: true,
},
globals: {
$: true,
initData: true, // homepage context data passed from backend
reactAlertEvents: true,
JSX: true,
},
rules: {
"no-else-return": 0,
"no-plusplus": 0,
"no-unused-vars": 0,
"no-use-before-define": 0,
"jsx-a11y/no-static-element-interactions": 0,
"jsx-a11y/no-noninteractive-element-interactions": 0,
"jsx-a11y/heading-has-content": 0,
"jsx-a11y/anchor-has-content": 0,
"react/jsx-max-props-per-line": 0,
"import/first": 0,
// disable for redux toolkit
"no-param-reassign": 0,
"import/extensions": [
"error",
"ignorePackages",
{
ts: "never",
jsx: "never",
js: "never",
tsx: "never",
},
],
"react/jsx-filename-extension": [1, { extensions: [".tsx", ".jsx"] }],
"react/require-default-props": 0,
},
extends: [
"airbnb",
"plugin:import/errors",
"plugin:import/warnings",
"plugin:import/typescript",
"prettier",
],
settings: {
"import/resolver": {
node: {
extensions: [".js", ".jsx", ".ts", ".tsx"],
moduleDirectory: ["node_modules", "static/js/redux/"],
},
},
},
};
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@example.com
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@example.com
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!
3 changes: 3 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
## Description

## Change Log
24 changes: 24 additions & 0 deletions .github/workflows/black.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Runs the backend linter: black
name: Backend Linter

on:
push:
branches:
- prod
- develop
- feature/dark-mode-timetable
pull_request:
branches:
- prod
- develop
- feature/dark-mode-timetable

jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: psf/black@stable
with:
options: "--check --verbose"
version: 22.3.0
76 changes: 76 additions & 0 deletions .github/workflows/semesterly.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
# Builds Semester.ly and runs tests
name: Semesterly CI

on:
push:
branches:
- prod
- develop
- feature/dark-mode-timetable
pull_request:
branches:
- prod
- develop
- feature/dark-mode-timetable

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:
matrix:
python-version: [3.8]
node-version: [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
env:
NODE_ENV: production
host: jhu.sem.ly
DB_PORT: ${{ job.services.postgres.ports[5432] }}
run: python manage.py test

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