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

[CS2113T-T10-2] TermiNUS #28

Open
wants to merge 796 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 250 commits
Commits
Show all changes
796 commits
Select commit Hold shift + click to select a range
b7cd11a
Merge pull request #131 from LouisLouis19/branch-BugFixes
3m0W33D Oct 26, 2021
75ccf90
Merge pull request #128 from Woolicious98/branch-Note-FileStorage
Woolicious98 Oct 26, 2021
023656a
Merge remote-tracking branch 'upstream/master'
3m0W33D Oct 26, 2021
ab0f179
Merge branch 'master' of https://github.com/AY2122S1-CS2113T-T10-2/tp
Oct 26, 2021
224a5b3
Merge branch 'master' into branch-test
Oct 26, 2021
d0ed5d6
Add Ui Class Diagram and Explanation.
kelvneo Oct 26, 2021
0874dc3
Add check lower case for note name
Oct 26, 2021
285fc91
Merge branch 'master' into upstream/master
3m0W33D Oct 26, 2021
badca10
Merge remote-tracking branch 'upstream/master'
3m0W33D Oct 26, 2021
d3d2448
Merge pull request #133 from kelvneo/master
kelvneo Oct 26, 2021
b9cf485
Add JavaDocs for isDuplicateName
Oct 26, 2021
92ce129
Merge remote-tracking branch 'upstream/master'
3m0W33D Oct 26, 2021
cae03ce
Merge pull request #134 from Woolicious98/branch-test
Woolicious98 Oct 26, 2021
40a098f
Merge branch 'master' of https://github.com/AY2122S1-CS2113T-T10-2/tp
Oct 26, 2021
e3b2352
Merge branch 'master' into branch-DG
Oct 26, 2021
d0d69b2
Update DG with storage and add trim to file path checks
Oct 26, 2021
14a9f2d
Merge pull request #112 from Woolicious98/branch-DG
Woolicious98 Oct 26, 2021
c401a4d
Merge branch 'master' of https://github.com/AY2122S1-CS2113T-T10-2/tp
Oct 26, 2021
918e3b7
Update DG table and fix class diagrams
3m0W33D Oct 26, 2021
b113681
Update typo
3m0W33D Oct 26, 2021
b7ab962
Merge pull request #136 from 3m0W33D/master
3m0W33D Oct 27, 2021
5a48411
Merge remote-tracking branch 'upstream/master'
3m0W33D Oct 27, 2021
f7c82d7
Merge branch 'master' of https://github.com/AY2122S1-CS2113T-T10-2/tp
Oct 29, 2021
56b5333
Update add, delete and reload note command
Oct 29, 2021
b23a2ce
Update delete and update module command
Oct 29, 2021
9e46b28
Update Terminus to use StorageManager and add the rest of the storage…
Oct 30, 2021
b472c63
Update pdf storage
Oct 30, 2021
a1ecd77
Update load function in StorageManager
Oct 30, 2021
32e5918
Fix display messages
Oct 30, 2021
30a60d2
Add filter manager
Oct 30, 2021
d59db4a
Merge branch 'master' into upstream/master
3m0W33D Oct 30, 2021
f8c39ad
Merge remote-tracking branch 'upstream/master'
3m0W33D Oct 30, 2021
8e898d1
Refactor Code
3m0W33D Oct 30, 2021
4006c13
Refactor magic literal
3m0W33D Oct 30, 2021
44975ee
Add JUnit test for codecov
3m0W33D Oct 30, 2021
f7718ef
Fix JUnit test
3m0W33D Oct 30, 2021
c25b4ef
Add filter to load notes
Oct 30, 2021
23e41c0
Update export command
Oct 30, 2021
79945c1
Fix checkstyle
Oct 30, 2021
8f18d8e
Tighten regex for argument parsing and fix junit
3m0W33D Oct 30, 2021
e60d388
Update text-ui-testing
3m0W33D Oct 30, 2021
49fbc7d
Add javadocs to newly created storage classes
Oct 30, 2021
4ebe42e
Update AddNoteCommand Error message
3m0W33D Oct 30, 2021
308019c
Update JUnit test
3m0W33D Oct 30, 2021
257a95a
Merge pull request #144 from 3m0W33D/branch-2.1-refactor
3m0W33D Oct 30, 2021
a27ee9d
Merge branch 'master' of https://github.com/AY2122S1-CS2113T-T10-2/tp
Oct 30, 2021
137211b
Merge branch 'master' into branch-File-Refactor
Oct 30, 2021
bea31c8
Remove modulestorage from Junit
Oct 30, 2021
2891fc5
Isolate CommandResult extraction into StorageManager
Oct 31, 2021
10ba744
Add JUnit for createfolder and createfile
Oct 31, 2021
36e718a
Add checks to test if folder exists in JUnit
Oct 31, 2021
306d984
Add after each to remove folder
Oct 31, 2021
295e355
Add JUnit for Storage class
Oct 31, 2021
6a4a27f
Test enable on OS JUnit feature
Oct 31, 2021
16ccf67
Add os dependencies tag for JUnit storage
Oct 31, 2021
283c086
Add JUnit for NoteStorage
Oct 31, 2021
00d1961
Add JUnit for FolderStorage
Oct 31, 2021
54be396
Add JUnit for PdfStorage
Oct 31, 2021
8c64c44
Add JUnit to JsonStorage
Oct 31, 2021
f0d7681
Add JUnit for StorageManager
Oct 31, 2021
3a0ca12
Add JUnit for FilterManager
Oct 31, 2021
429c976
Remove ModuleStorage
Oct 31, 2021
c5d4d34
Fix error in JUnit for windows
Oct 31, 2021
3d33faa
Fix windows JUnitr crash
Oct 31, 2021
8811cde
Add Terminus Logger to Storage
Oct 31, 2021
aefc514
Update filter for schedule
Oct 31, 2021
3a69309
Fix indentation erorrand optimise imports
Oct 31, 2021
bae3e4e
Add hadDUrationOverflow check for Filter
Oct 31, 2021
faa0f9d
Extract note filter to its own function
Oct 31, 2021
7e03de2
Updat filter manager method to public static for checks
Oct 31, 2021
c291fe2
Merge pull request #143 from Woolicious98/branch-File-Refactor
Woolicious98 Oct 31, 2021
7ec1653
Update and fix PE Bugs
3m0W33D Oct 31, 2021
a9c42d7
Merge remote-tracking branch 'upstream/master'
3m0W33D Oct 31, 2021
7159cc0
Merge from master
3m0W33D Oct 31, 2021
59ebaac
Update Developer Guide
kelvneo Oct 31, 2021
c52998b
Fix PE-D issues and refactor Terminus
kelvneo Oct 31, 2021
936aff4
Add TerminusTest
kelvneo Oct 31, 2021
599baa6
Update JUnit tests
kelvneo Oct 31, 2021
d7939ef
Create codecov.yml
kelvneo Oct 31, 2021
a92e33e
Ignore leading and trailing whitespace in add link arguments
LouisLouis19 Nov 1, 2021
75697c4
SLAP parseArguments methods in AddLinkCommand class
LouisLouis19 Nov 1, 2021
626db2c
Add duration in UG. Fix #169
LouisLouis19 Nov 1, 2021
546df43
Change the duration parameter description in UG. Fix #162
LouisLouis19 Nov 1, 2021
17b055d
Change IText 7
3m0W33D Nov 1, 2021
ff3258e
Merge remote-tracking branch 'upstream/master'
3m0W33D Nov 1, 2021
e583d1c
Merge branch 'master' into branch-2.1-refactor
3m0W33D Nov 1, 2021
0c7d063
Inform user on what are the expected arguments to be entered in error…
LouisLouis19 Nov 1, 2021
cca711b
Add optional index example for view in UG. Add valid zoom_link instru…
LouisLouis19 Nov 1, 2021
d4f2433
Update text-ui-testing
3m0W33D Nov 1, 2021
8373e9e
Merge pull request #184 from kelvneo/dg
kelvneo Nov 1, 2021
ceed351
Attempt fix linux JUnit test
3m0W33D Nov 1, 2021
9b760c3
Fix UI-test
3m0W33D Nov 1, 2021
753c026
UI-text space fix
3m0W33D Nov 1, 2021
b8c1094
Update codecov
3m0W33D Nov 1, 2021
b2d97d8
Merge pull request #188 from LouisLouis19/branch-BugFixes
kelvneo Nov 1, 2021
92c5926
Merge pull request #186 from kelvneo/refactor
kelvneo Nov 1, 2021
9aa77b4
Update codecov version
kelvneo Nov 1, 2021
c70de4e
Merge pull request #187 from 3m0W33D/branch-2.1-refactor
kelvneo Nov 1, 2021
9176dc9
Merge remote-tracking branch 'upstream/master'
3m0W33D Nov 2, 2021
0649e2b
Reorganize User Guide
kelvneo Nov 2, 2021
618b12b
Add additional tip for commands
kelvneo Nov 2, 2021
f11ca5b
Add extra information on tips and Q&A
kelvneo Nov 2, 2021
e90617f
Merge branch 'master' of https://github.com/AY2122S1-CS2113T-T10-2/tp
Nov 3, 2021
7cb86b9
Merge branch 'master' into branch-DG
Nov 3, 2021
a68e95e
Update Storage class diagram for DG
Nov 3, 2021
cde00db
Update UG based on feedback on PR
kelvneo Nov 3, 2021
80d2dff
Update Storage component in DG with FilterManager
Nov 3, 2021
c66e3b8
Add initialise storage in DG
Nov 3, 2021
adcb25a
Add loading sequence diagram for storage in DG
Nov 3, 2021
5785b69
Update DG with Architecture Diagram and sequence diagrams
3m0W33D Nov 3, 2021
564008e
Update with User Stories
3m0W33D Nov 3, 2021
d0b89c3
Update with Non-Functional Requirements
3m0W33D Nov 3, 2021
0e08cfc
Add executeCommandResult seq diagram in DG
Nov 3, 2021
91fd985
Create style.puml and update
3m0W33D Nov 3, 2021
01f0b3a
Add adding content and deleting content to DG
Nov 4, 2021
ae6a839
Add appendix E: Instructions for Manual Testing
LouisLouis19 Nov 4, 2021
56acd15
Add timetable valid command input
LouisLouis19 Nov 4, 2021
3bc70f1
Merge pull request #189 from kelvneo/ug
kelvneo Nov 4, 2021
0d4f522
Update Workspace implement and include puml style
3m0W33D Nov 4, 2021
6a84d4c
Merge remote-tracking branch 'upstream/master'
3m0W33D Nov 4, 2021
925655a
Merge branch 'master' into branch-DG-2.1-Update
3m0W33D Nov 4, 2021
d4bd5ca
Update NFD
3m0W33D Nov 4, 2021
6fa7843
Merge pull request #191 from 3m0W33D/branch-DG-2.1-Update
3m0W33D Nov 4, 2021
d433ad2
Merge branch 'master' of https://github.com/AY2122S1-CS2113T-T10-2/tp
Nov 4, 2021
6781e88
Merge remote-tracking branch 'upstream/master'
3m0W33D Nov 4, 2021
a2fc0ff
Merge branch 'master' into branch-DG
Nov 4, 2021
69343d6
Update JUnit for NoteStorage
Nov 4, 2021
1f4a8ba
Update old stuff in DG
Nov 4, 2021
8ca7579
Update int overflow error message + include library
3m0W33D Nov 4, 2021
77249ab
Fix sequence diagram, add design considerations
LouisLouis19 Nov 4, 2021
f5245a9
Fix add schedule format shown on error message
LouisLouis19 Nov 4, 2021
f6711e2
Update puml to use the stylesheet
Nov 4, 2021
f1506a1
Update DG with additional info
Nov 4, 2021
6749737
Add value proposition
Nov 4, 2021
1adc097
Draft PPP
LouisLouis19 Nov 4, 2021
d156b25
Merge pull request #192 from LouisLouis19/Branch-v2.1
LouisLouis19 Nov 4, 2021
affa40d
Merge branch 'master' of https://github.com/AY2122S1-CS2113T-T10-2/tp
Nov 4, 2021
339dcc7
Merge branch 'master' into branch-DG
Nov 4, 2021
752f270
Update timetable diagram with colors
Nov 4, 2021
debaffa
Update links in DG
Nov 4, 2021
d284f6d
Merge pull request #190 from Woolicious98/branch-DG
Woolicious98 Nov 4, 2021
1cd0f25
Merge branch 'master' of https://github.com/AY2122S1-CS2113T-T10-2/tp
Nov 4, 2021
c1b4fdf
Merge remote-tracking branch 'upstream/master'
3m0W33D Nov 4, 2021
ce1ecf9
Merge branch 'master' into branch-UpdateErrorMsg
3m0W33D Nov 4, 2021
9437927
Update typo in CommandExecution
3m0W33D Nov 4, 2021
bc386d8
Update ui text testing
3m0W33D Nov 4, 2021
b7e9b07
Update DG dependencies
3m0W33D Nov 4, 2021
5adc989
Add PPP
3m0W33D Nov 4, 2021
16f22c2
Fix Sequence Diagrams
LouisLouis19 Nov 4, 2021
82d2a3e
Add Project Portfolio page
kelvneo Nov 4, 2021
f2b8578
Fix PPP draft format
LouisLouis19 Nov 4, 2021
9089247
Merge branch 'master' of https://github.com/AY2122S1-CS2113T-T10-2/tp…
kelvneo Nov 4, 2021
af7f6fb
Update PPP Draft
3m0W33D Nov 4, 2021
9821676
Update links of AboutUs
kelvneo Nov 4, 2021
aab84ca
Add PPP
Nov 4, 2021
a89cf2c
Change Overview of PPP
kelvneo Nov 4, 2021
8a681a2
Update PPP
3m0W33D Nov 4, 2021
46514bf
Fix links in PPP
LouisLouis19 Nov 4, 2021
b6a7de2
Merge pull request #194 from kelvneo/ppp
kelvneo Nov 4, 2021
fbbb4b3
Merge pull request #196 from Woolicious98/juenwoo-PPP
Woolicious98 Nov 4, 2021
b948eaa
Finish PPP
3m0W33D Nov 4, 2021
852b9cd
Merge remote-tracking branch 'upstream/master'
3m0W33D Nov 4, 2021
9a44d4d
Merge branch 'master' into branch-UpdateErrorMsg
3m0W33D Nov 4, 2021
4c7363e
Merge pull request #195 from LouisLouis19/Branch-v2.1
kelvneo Nov 4, 2021
1ef6ad2
Merge remote-tracking branch 'upstream/master'
3m0W33D Nov 4, 2021
69bde61
Merge branch 'master' into branch-UpdateErrorMsg
3m0W33D Nov 4, 2021
6e1cb13
Change description and fix update module message
3m0W33D Nov 4, 2021
f2fd740
Merge pull request #193 from 3m0W33D/branch-UpdateErrorMsg
3m0W33D Nov 4, 2021
476e4cb
Merge remote-tracking branch 'upstream/master'
3m0W33D Nov 4, 2021
f87cb70
Update overview
3m0W33D Nov 4, 2021
f93377c
Merge branch 'master' into branch-UpdateErrorMsg
3m0W33D Nov 4, 2021
19b7d8a
Merge pull request #197 from 3m0W33D/branch-UpdateErrorMsg
3m0W33D Nov 4, 2021
5efed6d
Merge remote-tracking branch 'upstream/master'
3m0W33D Nov 4, 2021
505c7b2
Update to use OpenPDF and remove IText 7 and dependencies
3m0W33D Nov 5, 2021
9b84d42
Merge branch 'master' of https://github.com/AY2122S1-CS2113T-T10-2/tp
Nov 5, 2021
1fefa10
Fix bug in filtermanager
Nov 5, 2021
2f2e31a
Merge pull request #198 from Woolicious98/branch-Demo
Woolicious98 Nov 5, 2021
915453c
Merge remote-tracking branch 'upstream/master'
3m0W33D Nov 5, 2021
e94c2ce
Update filtermanager with more cases
Nov 5, 2021
05721c2
Merge branch 'master' into branch-OpenPDF
3m0W33D Nov 5, 2021
cc20cb4
Update incorrect json file
Nov 5, 2021
6a8e399
Remove redundant code in storage
Nov 5, 2021
1366a14
Update DG and PPP
3m0W33D Nov 5, 2021
b5332d1
Merge pull request #200 from 3m0W33D/branch-OpenPDF
3m0W33D Nov 5, 2021
14f185e
Merge pull request #199 from Woolicious98/branch-Demo
Woolicious98 Nov 5, 2021
7710b6d
Add set disabled in Terminus
Nov 5, 2021
4923283
Merge branch 'master' of https://github.com/AY2122S1-CS2113T-T10-2/tp
Nov 5, 2021
85448f4
Merge branch 'master' into branch-Demo
Nov 5, 2021
8acc619
Merge remote-tracking branch 'upstream/master'
3m0W33D Nov 5, 2021
c032332
Make lowercase PPP file name
3m0W33D Nov 5, 2021
91fa7bf
Merge pull request #202 from 3m0W33D/master
3m0W33D Nov 5, 2021
2c5e64e
Merge remote-tracking branch 'upstream/master'
3m0W33D Nov 6, 2021
c3805db
Merge branch 'master' of https://github.com/AY2122S1-CS2113T-T10-2/tp
Nov 6, 2021
88bea79
Merge branch 'master' into branch-UG
Nov 6, 2021
9498afe
Update UG with name restirction
Nov 7, 2021
dacfa98
Merge pull request #203 from Woolicious98/branch-UG
Woolicious98 Nov 7, 2021
5650d0f
Merge branch 'master' of https://github.com/AY2122S1-CS2113T-T10-2/tp
Nov 7, 2021
ec06463
Merge branch 'master' into branch-fixes
Nov 7, 2021
ec10c79
Fix minor bugs in UG
Nov 7, 2021
86b4974
Update and synchronise format for commands in application and UG
Nov 7, 2021
0fe3c32
Update text ui
Nov 7, 2021
db074f3
Add limitation of puml in DG
Nov 7, 2021
0a0a22c
Add storage disabled warnings
Nov 7, 2021
7055af3
Merge remote-tracking branch 'upstream/master'
3m0W33D Nov 7, 2021
f8f4b63
Add extra note in DG
3m0W33D Nov 7, 2021
72543a5
Update Sequence Diagram
LouisLouis19 Nov 7, 2021
e30137d
Update Sequence Diagrams and fix JUnit test
kelvneo Nov 7, 2021
30aa17f
Merge pull request #204 from Woolicious98/branch-fixes
Woolicious98 Nov 7, 2021
8ceddbe
Merge pull request #205 from 3m0W33D/branch-DG-fix
Woolicious98 Nov 7, 2021
87a5a47
Merge pull request #206 from LouisLouis19/Branch-v2.1
Woolicious98 Nov 7, 2021
8179655
Minor update to Command description
3m0W33D Nov 7, 2021
499eb8b
Merge pull request #201 from Woolicious98/branch-Demo
Woolicious98 Nov 7, 2021
cc8d5bb
Merge pull request #207 from kelvneo/master
kelvneo Nov 7, 2021
e1bdbbc
More description updates
3m0W33D Nov 7, 2021
fa9fab9
Merge pull request #208 from 3m0W33D/branch-DG-fix
3m0W33D Nov 7, 2021
ae2b41a
Merge branch 'master' of https://github.com/AY2122S1-CS2113T-T10-2/tp
Nov 7, 2021
4767749
Merge branch 'master' into branch-test
Nov 7, 2021
1908b19
Update UG icons and language
Nov 7, 2021
7e0ba91
Fix diagrams for DG
kelvneo Nov 7, 2021
115c8d4
Merge branch 'master' of https://github.com/AY2122S1-CS2113T-T10-2/tp
kelvneo Nov 7, 2021
455fab8
Update ConflictManager DG
kelvneo Nov 7, 2021
dc10b54
Merge pull request #209 from Woolicious98/branch-test
Woolicious98 Nov 7, 2021
0bef368
Merge pull request #210 from kelvneo/master
Woolicious98 Nov 7, 2021
b74a549
Fix TOC in DG
Nov 7, 2021
6d0b30b
Merge branch 'master' of https://github.com/AY2122S1-CS2113T-T10-2/tp
Nov 7, 2021
485fad0
Merge branch 'master' into branch-test
Nov 7, 2021
8730089
Merge pull request #211 from Woolicious98/branch-test
Woolicious98 Nov 7, 2021
67470a3
Merge branch 'master' of https://github.com/AY2122S1-CS2113T-T10-2/tp
Nov 7, 2021
2a00eb6
Merge branch 'master' into branch-test
Nov 7, 2021
c3808e1
Merge remote-tracking branch 'upstream/master'
3m0W33D Nov 7, 2021
f998df1
Add copy in UG
Nov 7, 2021
c397551
Merge pull request #212 from Woolicious98/branch-test
Woolicious98 Nov 7, 2021
17ab9fd
Change Logger error behaviour and separate StorageManager from Logger
kelvneo Nov 7, 2021
f34071e
Merge pull request #213 from kelvneo/logger-fix
kelvneo Nov 7, 2021
2f7ea46
Merge remote-tracking branch 'upstream/master'
3m0W33D Nov 7, 2021
d9b4792
Update UG and DG
3m0W33D Nov 7, 2021
aee60cf
Remove Page break
3m0W33D Nov 7, 2021
58f6da9
Update DG
3m0W33D Nov 7, 2021
d862b88
Update Conflict
3m0W33D Nov 7, 2021
1a56f46
Add page break
3m0W33D Nov 7, 2021
8800e2a
Update page breaks
3m0W33D Nov 7, 2021
cf5101d
Remove extra lines
3m0W33D Nov 7, 2021
34a8767
Update page break for UG
3m0W33D Nov 7, 2021
4e1d4c0
Update UG page break
3m0W33D Nov 7, 2021
d8ea825
Merge pull request #214 from 3m0W33D/master
3m0W33D Nov 7, 2021
990ee3c
Update naming in sequence diagram
LouisLouis19 Nov 8, 2021
e332e01
Merge pull request #215 from LouisLouis19/Branch-v2.1
LouisLouis19 Nov 8, 2021
f859baa
Merge branch 'master' of https://github.com/AY2122S1-CS2113T-T10-2/tp
Nov 8, 2021
a41a78b
Update UG with rationale
Nov 8, 2021
374f1cd
Merge pull request #216 from Woolicious98/master
Woolicious98 Nov 8, 2021
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
11 changes: 9 additions & 2 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,14 @@ jobs:
java-package: jdk+fx

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

- uses: codecov/codecov-action@v1
if: runner.os == 'Linux'
with:
file: ${{ github.workspace }}/build/reports/jacoco/coverage/coverage.xml
fail_ci_if_error: true

- name: Perform IO redirection test (*NIX)
if: runner.os == 'Linux'
working-directory: ${{ github.workspace }}/text-ui-test
Expand All @@ -47,4 +53,5 @@ jobs:
if: always() && runner.os == 'Windows'
working-directory: ${{ github.workspace }}/text-ui-test
shell: cmd
run: runtest.bat
run: runtest.bat

3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,6 @@ bin/

/text-ui-test/ACTUAL.txt
text-ui-test/EXPECTED-UNIX.TXT

data/
terminus.log*
69 changes: 48 additions & 21 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,31 +1,58 @@
# Duke project template
# TermiNUS

[![Java CI](https://github.com/AY2122S1-CS2113T-T10-2/tp/actions/workflows/gradle.yml/badge.svg)](https://github.com/AY2122S1-CS2113T-T10-2/tp/actions/workflows/gradle.yml)
[![codecov](https://codecov.io/gh/AY2122S1-CS2113T-T10-2/tp/branch/master/graph/badge.svg?token=CLLWHY78LP)](https://codecov.io/gh/AY2122S1-CS2113T-T10-2/tp)

This is a project template for a greenfield Java project. It's named after the Java mascot _Duke_. Given below are instructions on how to use it.

## Setting up in Intellij
## Setting up

### Prerequisite

Before setting up the project, please do ensure you have the following items installed.

- [JDK 11](https://docs.aws.amazon.com/corretto/latest/corretto-11-ug/downloads-list.html)
- [IntelliJ IDEA](https://www.jetbrains.com/idea/download/)

`Java Development Kit ver 11 (JDK 11)` is the **environment / programming language** in which
TermiNUS is written with and `IntelliJ IDEA` will be the **integrated development environment (
IDE)** platform for us to write the programming codes on.

Prerequisites: JDK 11 (use the exact version), update Intellij to the most recent version.
Go to [link](https://github.com/AY2122S1-CS2113T-T10-2/tp) and retrieve the `TermiNUS project file`.
You can do so by **forking** the project and **cloning** a copy into your computer.

To learn more about github fork-clone feature please follow the guide
on [link](https://docs.github.com/en/get-started/quickstart/fork-a-repo).

### Setting up in Intellij

1. Open the application `IntelliJ IDEA`.
2. Inside `IntelliJ IDEA` navigate to `open project` button
1. On the top left of the app, `File`→`Open...`
3. Locate and select the folder containing the files for **Terminus** that you have downloaded
earlier on.
4. Change the **Project SDK** that IntelliJ IDEA will be using.
1. On the top left of the app, `File`→`Project Structure...`
2. Under **Project SDK:** section, find and select JDK version 11.
Eg: `Amazon Corretto version 11.0.12`.
3. Under **Project language level:**, select `SDK default`.
5. Verifying the setup
1. After performing the steps above, locate the file `src/main/java/terminus/Terminus.java`,
right-click and select `Run 'Terminus.main()'`.
2. If everything is correctly set up, you should see the following terminal.

1. **Ensure Intellij JDK 11 is defined as an SDK**, as described [here](https://www.jetbrains.com/help/idea/sdk.html#set-up-jdk) -- this step is not needed if you have used JDK 11 in a previous Intellij project.
* In the same dialog, you _may_ have to set the Project language level field to the SDK default option.
1. **Import the project _as a Gradle project_**, as described [here](https://se-education.org/guides/tutorials/intellijImportGradleProject.html).
1. **Verify the set up**: After the importing is complete, locate the `src/main/java/seedu/duke/Duke.java` file, right-click it, and choose `Run Duke.main()`. If the setup is correct, you should see something like the below:
```
> Task :compileJava
> Task :processResources NO-SOURCE
> Task :classes
Welcome to TermiNUS!

> Task :Duke.main()
Hello from
____ _
| _ \ _ _| | _____
| | | | | | | |/ / _ \
| |_| | |_| | < __/
|____/ \__,_|_|\_\___|
Type any of the following to get started:
> exit
> help
> note
> schedule

What is your name?
[] >>>

```
Type some word and press enter to let the execution proceed to the end.

## Build automation using Gradle

Expand All @@ -40,12 +67,12 @@ Prerequisites: JDK 11 (use the exact version), update Intellij to the most recen

### JUnit tests

* A skeleton JUnit test (`src/test/java/seedu/duke/DukeTest.java`) is provided with this project template.
* We use JUnit testing for this project.
* If you are new to JUnit, refer to the [JUnit Tutorial at se-education.org/guides](https://se-education.org/guides/tutorials/junit.html).

## Checkstyle

* A sample CheckStyle rule configuration is provided in this project.
* A CheckStyle rule configuration is provided in this project.
* If you are new to Checkstyle, refer to the [Checkstyle Tutorial at se-education.org/guides](https://se-education.org/guides/tutorials/checkstyle.html).

## CI using GitHub Actions
Expand Down
25 changes: 22 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ plugins {
id 'java'
id 'application'
id 'checkstyle'
id 'jacoco'
id 'com.github.johnrengelman.shadow' version '5.1.0'
}

Expand All @@ -12,6 +13,7 @@ repositories {
dependencies {
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 'com.google.code.gson:gson:2.8.8', 'com.itextpdf:itextpdf:5.5.13.2'
}

test {
Expand All @@ -26,21 +28,38 @@ test {
showStackTraces true
showStandardStreams = false
}
finalizedBy jacocoTestReport
}

task coverage(type: JacocoReport) {
sourceDirectories.from files(sourceSets.main.allSource.srcDirs)
classDirectories.from files(sourceSets.main.output)
executionData.from files(jacocoTestReport.executionData)
afterEvaluate {
classDirectories.from files(classDirectories.files.collect {
fileTree(dir: it, exclude: ['**/*.jar'])
})
}
reports {
html.required = true
xml.required = true
}
}

application {
mainClassName = "seedu.duke.Duke"
mainClassName = "terminus.Terminus"
}

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

checkstyle {
toolVersion = '8.23'
}

run{
run {
standardInput = System.in
enableAssertions = true
}
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)
<img src="https://avatars2.githubusercontent.com/u/2332196?s=460&v=4" width="100"/> | Kelvin Neo | [Github](https://github.com/kelvneo) | [Portfolio](docs/team/kelvneo.md)
<img src="https://avatars2.githubusercontent.com/u/69447277?s=460&v=4" width="100"/> | Louis | [Github](https://github.com/LouisLouis19) | [Portfolio](docs/team/johndoe.md)
<img src="https://avatars2.githubusercontent.com/u/68680740?s=460&v=4" width="100"/>| Tan Juen Woo | [Github](https://github.com/woolicious98) | [Portfolio](docs/team/johndoe.md)
<img src="https://avatars2.githubusercontent.com/u/26686523?s=460&v=4" width="100"/> | Schuyler Tay | [Github](https://github.com/3m0W33D) | [Portfolio](docs/team/johndoe.md)

Loading