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

Add Undo DG and delete v3.0 GUI features #141

Open
wants to merge 1,011 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1011 commits
Select commit Hold shift + click to select a range
b462bb8
Update amalinasani.md
amalinasani Nov 4, 2020
497c190
Update amalinasani.md
amalinasani Nov 4, 2020
bb791d1
Update amalinasani.md
amalinasani Nov 4, 2020
1e80eec
Merge pull request #243 from tobiasceg/Branch-TobiasBug
SimJunYou Nov 5, 2020
f179c1e
Update PR
tobiasceg Nov 5, 2020
4f297e2
fix checkstyle
tobiasceg Nov 5, 2020
08170cb
fixed small edit bug
tobiasceg Nov 5, 2020
d0e4679
update tests
tobiasceg Nov 5, 2020
c9000df
minor UG edit
tobiasceg Nov 5, 2020
d963160
Update DeveloperGuide.md
amalinasani Nov 5, 2020
a598c18
Update DeveloperGuide.md
amalinasani Nov 5, 2020
6eb0ac4
Merge pull request #238 from tobiasceg/Branch-TobiasSplit
Aseanseen Nov 5, 2020
e9ee0ce
Fix command class, timetable class diagrams
Aseanseen Nov 6, 2020
1a98a9e
Fix and split AddCommandSequence diagram
Aseanseen Nov 6, 2020
87a6013
Merge branch 'master' into DG
Aseanseen Nov 6, 2020
3862422
Add Sean's PPP
Aseanseen Nov 6, 2020
0554539
Merge pull request #244 from Aseanseen/DG
Aseanseen Nov 7, 2020
89b62df
Change all duke into ravi
Aseanseen Nov 7, 2020
e97716f
Fix gradle
Aseanseen Nov 7, 2020
cd1f49f
Merge branch 'master' into PPP
Aseanseen Nov 7, 2020
0e08d30
Added PPP
tobiasceg Nov 7, 2020
745735b
Minor edit to UG to add
tobiasceg Nov 7, 2020
f4b11c4
Fix: IOManager doesn't load NUSMods if data dir doesn't exist
SimJunYou Nov 7, 2020
228a755
Merge pull request #250 from f0fz/QuickIOManagerFix
Aseanseen Nov 7, 2020
818cc8a
Merge branch 'master' into branch_DG
amalinasani Nov 7, 2020
e0fc5ad
Merge branch 'branch_DG' of https://github.com/amalinasani/tp into br…
amalinasani Nov 7, 2020
1439072
Merge branch 'branch_tests' into branch_PPP
amalinasani Nov 7, 2020
72be768
Update amalinasani.md
amalinasani Nov 7, 2020
a1623ae
Update amalinasani.md
amalinasani Nov 7, 2020
0b288cb
Update amalinasani.md
amalinasani Nov 7, 2020
3a37c73
add @author
tobiasceg Nov 7, 2020
6318605
abit more
tobiasceg Nov 7, 2020
782b3e2
fix checkstyle
tobiasceg Nov 7, 2020
709d332
more checkstyle
tobiasceg Nov 7, 2020
84e6caf
Merge branch 'master' into Branch-TobiasSplit
tobiasceg Nov 7, 2020
e7773fc
Merge pull request #253 from tobiasceg/Branch-TobiasSplit
tobiasceg Nov 7, 2020
1544076
Merge branch 'master' into Name
Aseanseen Nov 7, 2020
1209855
Merge pull request #247 from Aseanseen/Name
Aseanseen Nov 7, 2020
1cf0c83
Change timing of saves and detection of ctrl-c to fix #248, fix #254
Aseanseen Nov 7, 2020
1d3dfc1
Merge commit '1209855c34b4fa3f115ecb143af804bb28d2e82d'
wangqinNick Nov 8, 2020
28131c4
Merge branch 'master' into Branch-TobiasBug
SimJunYou Nov 8, 2020
08d9b4a
Merge branch 'master' into PPP
SimJunYou Nov 8, 2020
ed251a3
Merge pull request #249 from tobiasceg/Branch-TobiasBug
SimJunYou Nov 8, 2020
0ae7665
Merge branch 'master' into PPP
SimJunYou Nov 8, 2020
64026e3
Merge pull request #246 from Aseanseen/PPP
SimJunYou Nov 8, 2020
233eb6c
Add @author tags
amalinasani Nov 8, 2020
c7da40e
Add author tags for test code
amalinasani Nov 8, 2020
d43bc50
Add author tags
amalinasani Nov 8, 2020
30fbfca
Change message in shutdown hook
Aseanseen Nov 8, 2020
6b483b8
Merge branch 'master' into Jar
Aseanseen Nov 8, 2020
28aa0a4
Minor change to ravi class regarding logger
Aseanseen Nov 8, 2020
74bd011
Merge branch 'master' into branch_PPP
amalinasani Nov 8, 2020
1965db3
Update AboutUs.md
Aseanseen Nov 8, 2020
f4e3aa1
Merge pull request #252 from amalinasani/branch_PPP
Aseanseen Nov 8, 2020
11e0ad3
Update DeveloperGuide.md
amalinasani Nov 8, 2020
321843f
Added draft PPP for f0fz
SimJunYou Nov 8, 2020
d39aa09
Basic changes to docs and diagrams
SimJunYou Nov 8, 2020
4aaec2e
Changes to DataClassDiagram
SimJunYou Nov 8, 2020
feee7fb
Update DeveloperGuide.md
amalinasani Nov 8, 2020
740f05c
Merge branch 'master' into branch_DG
amalinasani Nov 8, 2020
73f9dde
Changes to CommandClassDiagram
SimJunYou Nov 8, 2020
4f7aeb8
Update DeveloperGuide.md
amalinasani Nov 8, 2020
3d02fa4
Add links for all the PRs and amended Sean's PPP
Aseanseen Nov 8, 2020
454c39b
Merge branch 'master' into PPP
Aseanseen Nov 8, 2020
f3fe665
Added code formatting to DG
SimJunYou Nov 8, 2020
a1298ba
Merge pull request #251 from amalinasani/branch_DG
Aseanseen Nov 8, 2020
7bfa5cb
Made Ravi static
SimJunYou Nov 8, 2020
d51f995
Add proposed notes feature class diagram
amalinasani Nov 8, 2020
6aaab1c
Update DeveloperGuide.md
amalinasani Nov 8, 2020
362a1af
Update DeveloperGuide.md
amalinasani Nov 8, 2020
1d55bfc
Edit notes class diagram
amalinasani Nov 8, 2020
facb971
Merge branch 'branch_docs' of https://github.com/amalinasani/tp into …
amalinasani Nov 8, 2020
014fb85
Update amalinasani.md
amalinasani Nov 8, 2020
e4f03a9
Updated main sequence diagram and explanation in DG
SimJunYou Nov 8, 2020
307f76c
Add main sequence diagram pictures
SimJunYou Nov 8, 2020
58e5ff5
update ug n messages
tobiasceg Nov 8, 2020
a01ff32
Fixed formatting in DG
SimJunYou Nov 8, 2020
b859405
fixing the index bug in ug
tobiasceg Nov 8, 2020
a330780
Merge pull request #258 from amalinasani/branch_PP
Aseanseen Nov 8, 2020
c73d2da
added some ppp changes
tobiasceg Nov 8, 2020
64dd0d4
Merge branch 'master' into Branch-TobiasSplit
tobiasceg Nov 8, 2020
9af2928
Merge pull request #259 from tobiasceg/Branch-TobiasSplit
tobiasceg Nov 8, 2020
a1f34f7
update PPP
tobiasceg Nov 8, 2020
1e3c26e
Merge branch 'Branch-TobiasSplit' of https://github.com/tobiasceg/tp …
tobiasceg Nov 8, 2020
5406cd4
Merge branch 'master' into Branch-TobiasSplit
tobiasceg Nov 8, 2020
40b067c
Simplified Grade and CAP sequence diagrams
SimJunYou Nov 8, 2020
ad5126c
Added a bit of spacing to Grade and CAP sequence diagrams
SimJunYou Nov 8, 2020
00af088
Merge pull request #261 from tobiasceg/Branch-TobiasSplit
tobiasceg Nov 8, 2020
b3be891
Merge branch 'master' into DocEditing
SimJunYou Nov 8, 2020
71a4b42
Merge branch 'master' into branch_docs
SimJunYou Nov 8, 2020
160d777
Merge pull request #257 from amalinasani/branch_docs
SimJunYou Nov 8, 2020
2e6230a
Update amalinasani.md
amalinasani Nov 8, 2020
4dd3db1
Merge pull request #262 from amalinasani/branch_PP
amalinasani Nov 8, 2020
07c49c8
Update amalinasani.md
amalinasani Nov 8, 2020
12b3ab3
Add Jansi library
Aseanseen Nov 8, 2020
497ac2a
Merge branch 'master' into Color
Aseanseen Nov 8, 2020
3a1e69e
Merge branch 'master' into DocEditing
SimJunYou Nov 8, 2020
4588863
Slight amends to color
Aseanseen Nov 8, 2020
f927728
Merge pull request #260 from f0fz/DocEditing
SimJunYou Nov 8, 2020
9b8d840
Merge branch 'master' into Color
SimJunYou Nov 8, 2020
5546ebc
Merge pull request #263 from Aseanseen/Color
SimJunYou Nov 8, 2020
fe20bfa
Merge branch 'master' into PPP
Aseanseen Nov 8, 2020
084650e
Slight amends to PPP
Aseanseen Nov 8, 2020
8d665f1
Merge branch 'master' into Jar
Aseanseen Nov 8, 2020
21079ad
Slight amends
Aseanseen Nov 8, 2020
640fbcc
Merge pull request #255 from Aseanseen/Jar
Aseanseen Nov 8, 2020
cfd8973
Merge branch 'master' into PPP
Aseanseen Nov 8, 2020
6628ef5
Merge pull request #256 from Aseanseen/PPP
Aseanseen Nov 8, 2020
455c330
Slight edits to DG
Aseanseen Nov 8, 2020
0f57ab0
Merge branch 'master' into DG
Aseanseen Nov 8, 2020
458e1f1
Slight amends to UG
Aseanseen Nov 8, 2020
793aae5
Small fix for Gradle dependency
SimJunYou Nov 8, 2020
22f1e6d
Fix for DeveloperGuide TimeTableManager initialisation
SimJunYou Nov 8, 2020
ff18e69
Added color to messages and improved centerString
SimJunYou Nov 8, 2020
e9cfc6c
Merge branch 'master' into Color
SimJunYou Nov 8, 2020
2bf0e82
Merge pull request #267 from Aseanseen/UG
Aseanseen Nov 8, 2020
b96da16
Merge branch 'master' into DG
Aseanseen Nov 8, 2020
0eeabee
Merge branch 'master' into Color
SimJunYou Nov 8, 2020
68ceaf4
Amend undosuccess message to account for whitespaces
Aseanseen Nov 8, 2020
aa8c8a8
Merge pull request #266 from Aseanseen/DG
Aseanseen Nov 8, 2020
714b996
Merge branch 'master' into UndoSuccess
Aseanseen Nov 8, 2020
d3ece44
Fixed checkstyle and fixed RaviLogger not deleting past logs
SimJunYou Nov 8, 2020
aedf08e
Added back MESSAGE_SHUTDOWN
SimJunYou Nov 8, 2020
0d98b46
Merge pull request #269 from Aseanseen/UndoSuccess
SimJunYou Nov 8, 2020
27b580e
Quick fix for DG's Main Sequence Diagram
SimJunYou Nov 8, 2020
615a91f
Merge branch 'master' into Color
SimJunYou Nov 8, 2020
fde9394
Merge pull request #268 from f0fz/Color
SimJunYou Nov 8, 2020
9ecf95b
Merge branch 'master' into QuickFixDG
SimJunYou Nov 8, 2020
abd9a19
Merge pull request #271 from f0fz/QuickFixDG
SimJunYou Nov 8, 2020
d25161c
Fix missing whitespace
Aseanseen Nov 8, 2020
91dcd14
Allow undo for timetable commands
Aseanseen Nov 8, 2020
2d6e9f2
Update amalinasani.md
amalinasani Nov 9, 2020
f584811
Merge branch 'master' into branch_PP
amalinasani Nov 9, 2020
166a61a
Refactor and fix checkstyle
Aseanseen Nov 9, 2020
a35732c
Merge pull request #277 from Aseanseen/Color
SimJunYou Nov 9, 2020
41c0386
Merge branch 'master' into UndoTimeTable
SimJunYou Nov 9, 2020
fa07a3a
Merge branch 'master' into branch_PP
amalinasani Nov 9, 2020
2c54bd0
Merge pull request #279 from Aseanseen/UndoTimeTable
SimJunYou Nov 9, 2020
838b2a5
Merge branch 'master' into branch_PP
SimJunYou Nov 9, 2020
005a7cf
Merge pull request #280 from amalinasani/branch_PP
amalinasani Nov 9, 2020
31ddd76
Change Pages theme
SimJunYou Nov 9, 2020
26981ba
Merge pull request #281 from AY2021S1-CS2113T-T09-2/ChangeTheme
SimJunYou Nov 9, 2020
ead345c
Replace underline with negative
Aseanseen Nov 9, 2020
5ab12cc
Catch numformatexception upon initialisation
Aseanseen Nov 9, 2020
b5a06b0
Add help bye and update help message
amalinasani Nov 9, 2020
ab97369
Fix checkstyle
Aseanseen Nov 9, 2020
64c4dc6
Merge commit '26981ba9d82511e4474dc07de0a6b9149ae067c5'
wangqinNick Nov 9, 2020
51e6b17
Merge pull request #287 from amalinasani/master
Aseanseen Nov 9, 2020
958c15d
Merge branch 'master' into Color
Aseanseen Nov 9, 2020
2307d8c
Merge pull request #285 from Aseanseen/Color
Aseanseen Nov 9, 2020
2569b29
Merge branch 'master' into AddTimetable
Aseanseen Nov 9, 2020
100b1a5
Merge pull request #286 from Aseanseen/AddTimetable
Aseanseen Nov 9, 2020
f144ed8
Add docs/team/wangqinNick.md
wangqinNick Nov 9, 2020
d2a3008
Updates to Data section of DG
SimJunYou Nov 9, 2020
f1c3d0b
Major changes to Help and Cap
tobiasceg Nov 9, 2020
87a363a
Merge branch 'master' into Branch-TobiasBug
tobiasceg Nov 9, 2020
2794d20
Add toc, move some parts around and change headers
Aseanseen Nov 9, 2020
bcceb8c
Trying out attribute
SimJunYou Nov 9, 2020
9742917
fix test n checkstyle
tobiasceg Nov 9, 2020
cf79052
changes to UG n abit of DG for cap command
tobiasceg Nov 9, 2020
f624d43
fixes according to petty comments
tobiasceg Nov 9, 2020
178cbaa
fix grammar
tobiasceg Nov 9, 2020
af939e0
fix help UG
tobiasceg Nov 9, 2020
3f27edb
Update UserGuide
wangqinNick Nov 9, 2020
e6d21b1
Add Junit test for undo timetable
Aseanseen Nov 9, 2020
c04c2a6
Update DG
wangqinNick Nov 9, 2020
f5bce2e
Amend undo documentation
Aseanseen Nov 9, 2020
dce227e
Fix undo documentation
Aseanseen Nov 9, 2020
73e1995
Merge branch 'master' into UG
Aseanseen Nov 9, 2020
9bf04eb
Merge pull request #289 from tobiasceg/Branch-TobiasBug
Aseanseen Nov 9, 2020
4d289f2
Merge branch 'master' into UndoTimeTable
Aseanseen Nov 9, 2020
524b073
update the DG
wangqinNick Nov 9, 2020
40b2101
Update About Us
Aseanseen Nov 9, 2020
a3f5985
Codes clean up
wangqinNick Nov 9, 2020
69b7e74
Merge branch 'master' into master
wangqinNick Nov 9, 2020
11fe2b8
Merge pull request #290 from Aseanseen/UndoTimeTable
Aseanseen Nov 9, 2020
169acd3
Merge branch 'master' into PPP
Aseanseen Nov 9, 2020
5b15ed0
Merge pull request #293 from Aseanseen/PPP
Aseanseen Nov 9, 2020
ea92313
no message
wangqinNick Nov 9, 2020
1efff59
Merge commit '5b15ed0ed1e5444aba9f581dc3315974654e80b3'
wangqinNick Nov 9, 2020
43b6302
Merge pull request #292 from wangqinNick/master
wangqinNick Nov 9, 2020
0ca0afa
added DG
tobiasceg Nov 9, 2020
cefb8cf
Fix Json for timetable -reset
Aseanseen Nov 9, 2020
cb8c863
Revert "Merge pull request #292 from wangqinNick/master"
SimJunYou Nov 9, 2020
034ccc4
Merge pull request #295 from f0fz/Revert
SimJunYou Nov 9, 2020
3809b95
changes to DG
tobiasceg Nov 9, 2020
7bf0e7c
Merge branch 'master' into Branch-TobiasBug
tobiasceg Nov 9, 2020
57d4bd2
Updates for DG and diagrams; moved more stuff to Executor
SimJunYou Nov 9, 2020
77c5dbf
Merge pull request #294 from Aseanseen/UndoTimeTable
SimJunYou Nov 9, 2020
581942a
Merge branch 'master' into DG
SimJunYou Nov 9, 2020
85138ee
Merge the branch_gui UG to master
wangqinNick Nov 9, 2020
593a8e1
Update the Json for the timetable reset
Aseanseen Nov 9, 2020
b3252ac
Merge pull request #288 from Aseanseen/DG
SimJunYou Nov 9, 2020
2e7b389
Fix undo documentation to include timetable -reset
Aseanseen Nov 9, 2020
1d398a7
Merge branch 'master' into DG
Aseanseen Nov 9, 2020
2158b5c
Merge branch 'master' into Branch-TobiasBug
tobiasceg Nov 9, 2020
f837b4e
Merge branch 'master' into UG
Aseanseen Nov 9, 2020
591e06d
Include timetable -reset in the UG
Aseanseen Nov 9, 2020
b57f3ff
fix TOC DG
tobiasceg Nov 9, 2020
97b5adc
Slight amends
Aseanseen Nov 9, 2020
14b1400
Merge pull request #296 from tobiasceg/Branch-TobiasBug
Aseanseen Nov 9, 2020
3e6dd03
Merge branch 'master' into DG
Aseanseen Nov 9, 2020
54f0d68
Merge pull request #298 from Aseanseen/DG
Aseanseen Nov 9, 2020
0241339
Merge branch 'master' into UndoTimeTable
Aseanseen Nov 9, 2020
1766b2d
Merge commit '54f0d682dba27dd66e3fb8f85c3ded684ce6b218'
wangqinNick Nov 9, 2020
cc88c7a
Slight amends
Aseanseen Nov 9, 2020
e60e40f
Merge pull request #300 from Aseanseen/PPP
Aseanseen Nov 9, 2020
eb1231f
Merge branch 'master' into master
wangqinNick Nov 9, 2020
8fd1ddf
Merge branch 'master' into UndoTimeTable
Aseanseen Nov 9, 2020
e33fcb3
Merge pull request #297 from Aseanseen/UndoTimeTable
Aseanseen Nov 9, 2020
168346e
Merge branch 'master' into master
wangqinNick Nov 9, 2020
9df19a5
Merge branch 'master' into UG
Aseanseen Nov 9, 2020
b581e94
Update name
wangqinNick Nov 9, 2020
63e71de
Change header sizes
Aseanseen Nov 9, 2020
5127a30
Minor edits
Aseanseen Nov 9, 2020
7224b94
Merge pull request #291 from Aseanseen/UG
Aseanseen Nov 9, 2020
15073b3
Merge branch 'master' of https://github.com/wangqinNick/tp
wangqinNick Nov 9, 2020
0165d3c
Cut down PPP
Aseanseen Nov 9, 2020
2086055
Merge branch 'master' into master
wangqinNick Nov 9, 2020
664b331
Merge branch 'master' into PPP
Aseanseen Nov 9, 2020
9831b2a
Merge pull request #301 from Aseanseen/PPP
Aseanseen Nov 9, 2020
b1d6010
Merge branch 'master' into master
SimJunYou Nov 9, 2020
f9ad132
Cut more spacing
Aseanseen Nov 9, 2020
c192356
Merge pull request #299 from wangqinNick/master
SimJunYou Nov 9, 2020
1b2f9bc
Cut more PPP
Aseanseen Nov 9, 2020
d171a38
Merge branch 'master' into PPP
Aseanseen Nov 9, 2020
fafb0da
Fix merge conflict in DG, update PPP
SimJunYou Nov 9, 2020
b5fba15
Amend toc for the gui
Aseanseen Nov 9, 2020
6a669ea
Merge pull request #302 from Aseanseen/PPP
Aseanseen Nov 9, 2020
7bc334b
Cut more P
Aseanseen Nov 9, 2020
b83f062
Merge branch 'master' into UG
Aseanseen Nov 9, 2020
b966141
Merge branch 'master' into PPP
Aseanseen Nov 9, 2020
5d0e9dc
Merge pull request #305 from Aseanseen/PPP
Aseanseen Nov 9, 2020
c816547
Merge branch 'master' into DGUpdate
SimJunYou Nov 9, 2020
3742c66
Merge branch 'master' into UG
Aseanseen Nov 9, 2020
c47bc5b
Merge branch 'master' into DGUpdate
SimJunYou Nov 9, 2020
35ad96c
Merge pull request #304 from Aseanseen/UG
SimJunYou Nov 9, 2020
cba63a0
Merge branch 'master' into DGUpdate
SimJunYou Nov 9, 2020
7666e90
Merge pull request #303 from f0fz/DGUpdate
SimJunYou Nov 9, 2020
da8cc87
Cut
Aseanseen Nov 9, 2020
234805b
Merge branch 'master' into PPP
Aseanseen Nov 9, 2020
232e594
Merge pull request #306 from Aseanseen/PPP
Aseanseen Nov 9, 2020
07d4e75
Cut more
Aseanseen Nov 9, 2020
8c298a5
Merge branch 'master' into PPP
Aseanseen Nov 9, 2020
0d1ed25
Merge pull request #307 from Aseanseen/PPP
Aseanseen Nov 9, 2020
b246d48
Merge commit '0d1ed258ba9d0aea04a2f2472f1ee044684ec825'
wangqinNick Nov 11, 2020
d8cac04
Update PPP
wangqinNick Nov 11, 2020
d8a1e69
Merge pull request #308 from wangqinNick/master
wangqinNick Nov 11, 2020
afd4b89
clean up UG
wangqinNick Nov 13, 2020
962afeb
Merge commit 'd8a1e693ff427aa91425f6fdb4b7adc337a09ad1'
wangqinNick Nov 13, 2020
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
18 changes: 1 addition & 17 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,20 +31,4 @@ jobs:
java-package: jdk+fx

- name: Build and check with Gradle
run: ./gradlew check

- name: Perform IO redirection test (*NIX)
if: runner.os == 'Linux'
working-directory: ${{ github.workspace }}/text-ui-test
run: ./runtest.sh

- name: Perform IO redirection test (MacOS)
if: always() && runner.os == 'macOS'
working-directory: ${{ github.workspace }}/text-ui-test
run: ./runtest.sh

- name: Perform IO redirection test (Windows)
if: always() && runner.os == 'Windows'
working-directory: ${{ github.workspace }}/text-ui-test
shell: cmd
run: runtest.bat
run: ./gradlew check
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,8 @@ src/main/resources/docs/
*.iml
bin/

# Project specific
/text-ui-test/ACTUAL.txt
text-ui-test/EXPECTED-UNIX.TXT
/text-ui-test/EXPECTED-UNIX.TXT
/data/
/logs/
40 changes: 40 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,3 +62,43 @@ Steps for publishing documentation to the public:
1. Scroll down to the `GitHub Pages` section.
1. Set the `source` as `master branch /docs folder`.
1. Optionally, use the `choose a theme` button to choose a theme for your documentation.

## Workflow

The workflow will go like this:
* Synchronise your local repo with the team repo.
* Make a separate branch for your work session.
* Commit and push your work to the corresponding branch on your remote repo.
* Make a pull request to merge your remote repo's work to the team repo and resolve merge conflicts.

### Setting up for each work session

* `git fetch upstream`, `git rebase upstream/master`
* The command means to fetch from the team repo (upstream) and then rebase master.
* Your local master should be synchronised with the upstream master now.
* `git switch -c <branchname>`
* Make a new branch for your local work (to preserve master's functionality).
* `git checkout -b <branchname>` does the same thing.

### Pushing and merging your work after each work session

* First, `git add .` if you want to stage all files or `git add <path/to/file>` if you want to add specific files.
* `git commit -m 'commit message here'` followed by `git push origin <branchname>`.
* Git will create the corresponding branch on your remote repo and push your commits there.
* Merge your work into the team repo's master with a pull request over Github's interface.
* Do not confirm merge! Let the rest of the team view the pull request first before we confirm that it can be merged.
* Any merge conflicts should be resolved AFTER we okay the merge.
* After we all okay-ed the merge, the merge can continue and your work is complete.

### Rolling back

* First off, you can bookmark [this website](https://ohshitgit.com/) because you will need it at some point.
* Undoing a local commit: Do `git revert HEAD`. `git revert` works by bringing your previous commit in as a new commit to undo what you did so far.
* `HEAD` refers to your current commit (which is the one you want to undo).
* If you want to revert back to __BEFORE__ a specific commit, use `git log` and find the commit hash (a long string of characters but you only need the first 6 or so) and do `git revert <hash>`.
* Undoing a push to remote: Do `git push -f origin <hash>:<branch>`.
* This forces a push of the `<hash>` commit, which is the one you want to revert __to__, to the specified remote branch in `<branch>`. Use `git log` to find the hash.
* Alternatively, you can undo the local commit first (as in point 1), then `git push -f origin master:<branch>` instead of finding a specific commit.
* Hard reset:
* First, try doing `git fetch` then `git reset --hard origin/<branch>`. This gets your remote's latest commits (which shouldn't include your mistakes) and then resets your working directory to match the latest commit on your remote. __ALL WORK ON LOCAL THAT IS NOT ALSO ON REMOTE IS LOST!__
* If that doesn't work, delete everything in your repo except the .git folder, download from the Github repo page (green button on top right of file window), put everything in the same folder, then `git add *`, `git commit`.
21 changes: 19 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,11 @@ repositories {
}

dependencies {
implementation 'com.alibaba:fastjson:1.2.12'
implementation 'com.google.code.gson:gson:2.8.6'
testImplementation group: 'org.junit.jupiter', name: 'junit-jupiter-api', version: '5.5.0'
testRuntimeOnly group: 'org.junit.jupiter', name: 'junit-jupiter-engine', version: '5.5.0'
implementation group: 'org.fusesource.jansi', name: 'jansi', version: '1.18'
}

test {
Expand All @@ -28,12 +31,25 @@ test {
}
}

sourceSets {
main {
resources {
srcDirs "src/main/resources"
}
}
}

application {
mainClassName = "seedu.duke.Duke"
mainClassName = "seedu.ravi.Ravi"
}

java {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
}

shadowJar {
archiveBaseName = "duke"
archiveBaseName = "ravi"
archiveClassifier = null
}

Expand All @@ -42,5 +58,6 @@ checkstyle {
}

run{
enableAssertions = true
standardInput = System.in
}
22 changes: 13 additions & 9 deletions config/checkstyle/checkstyle.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@
<property name="message"
value="Consider using special escape sequence instead of octal value or Unicode escaped value."/>
</module>
<module name="AvoidEscapedUnicodeCharacters">
<property name="allowEscapesForControlCharacters" value="true"/>
<property name="allowByTailComment" value="true"/>
<property name="allowNonPrintableEscapes" value="true"/>
</module>
<!-- <module name="AvoidEscapedUnicodeCharacters">-->
<!-- <property name="allowEscapesForControlCharacters" value="true"/>-->
<!-- <property name="allowByTailComment" value="true"/>-->
<!-- <property name="allowNonPrintableEscapes" value="true"/>-->
<!-- </module>-->
<module name="LineLength">
<property name="max" value="120"/>
<property name="ignorePattern" value="^package.*|^import.*|a href|href|http://|https://|ftp://"/>
Expand Down Expand Up @@ -184,7 +184,7 @@
<property name="braceAdjustment" value="0"/>
<property name="caseIndent" value="0"/>
<property name="throwsIndent" value="4"/>
<property name="lineWrappingIndentation" value="4"/>
<property name="lineWrappingIndentation" value="8"/>
<property name="arrayInitIndent" value="4"/>
</module>
<module name="AbbreviationAsWordInName">
Expand All @@ -199,6 +199,10 @@
value="COMMA, SEMI, POST_INC, POST_DEC, DOT, ELLIPSIS, METHOD_REF"/>
<property name="allowLineBreaks" value="true"/>
</module>
<module name="WhitespaceAfter">
<property name="tokens"
value="COMMA"/>
</module>
<module name="ParenPad"/>
<module name="OperatorWrap">
<property name="option" value="NL"/>
Expand Down Expand Up @@ -230,9 +234,9 @@
</module>
<module name="JavadocMethod">
<property name="scope" value="public"/>
<property name="allowMissingParamTags" value="true"/>
<property name="allowMissingThrowsTags" value="true"/>
<property name="allowMissingReturnTag" value="true"/>
<property name="allowMissingParamTags" value="false"/>
<property name="allowMissingThrowsTags" value="false"/>
<property name="allowMissingReturnTag" value="false"/>
<property name="allowedAnnotations" value="Override, Test"/>
<property name="allowThrowsTagsForSubclasses" value="true"/>
</module>
Expand Down
10 changes: 5 additions & 5 deletions docs/AboutUs.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

Display | Name | Github Profile | Portfolio
--------|:----:|:--------------:|:---------:
![](https://via.placeholder.com/100.png?text=Photo) | John Doe | [Github](https://github.com/) | [Portfolio](docs/team/johndoe.md)
![](https://via.placeholder.com/100.png?text=Photo) | Don Joe | [Github](https://github.com/) | [Portfolio](docs/team/johndoe.md)
![](https://via.placeholder.com/100.png?text=Photo) | Ron John | [Github](https://github.com/) | [Portfolio](docs/team/johndoe.md)
![](https://via.placeholder.com/100.png?text=Photo) | John Roe | [Github](https://github.com/) | [Portfolio](docs/team/johndoe.md)
![](https://via.placeholder.com/100.png?text=Photo) | Don Roe | [Github](https://github.com/) | [Portfolio](docs/team/johndoe.md)
![](https://github.com/tobiasceg.png) | Tan Jian Hui Tobias | [Github](https://github.com/tobiasceg) | [Portfolio](https://ay2021s1-cs2113t-t09-2.github.io/tp/team/tobiasceg.html)
![](https://github.com/f0fz.png) | Sim Jun You | [Github](https://github.com/f0fz) | [Portfolio](https://ay2021s1-cs2113t-t09-2.github.io/tp/team/f0fz.html)
![](https://github.com/amalinasani.png) | Amalina | [Github](https://github.com/amalinasani) | [Portfolio](https://ay2021s1-cs2113t-t09-2.github.io/tp/team/amalinasani.html)
![](https://github.com/aseanseen.png) | Sean Lim | [Github](https://github.com/Aseanseen) | [Portfolio](https://ay2021s1-cs2113t-t09-2.github.io/tp/team/aseanseen.html)
![](https://github.com/wangqinNick.png) | Wang Qin | [Github](https://github.com/wangqinNick) | [Portfolio](https://ay2021s1-cs2113t-t09-2.github.io/tp/team/wangqinNick.html)
Loading