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

[CS2103T-W16-2] FoodRem #109

Open
wants to merge 2,774 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
2774 commits
Select commit Hold shift + click to select a range
8e3b224
Update sort command description
tingkai-mai Nov 6, 2022
1ffe798
Create edit command activity diagram
tingkai-mai Nov 6, 2022
7298ad8
Update edit command description
tingkai-mai Nov 6, 2022
bb0cfd4
Fix edit command activity diagram
tingkai-mai Nov 6, 2022
7d55caa
Fix edit command activity diagram again
tingkai-mai Nov 6, 2022
24e0814
Add new command activity diagram
tingkai-mai Nov 6, 2022
1d671a7
Fix sort command description
tingkai-mai Nov 6, 2022
8d222a5
Modify order of diagrams
tingkai-mai Nov 6, 2022
4b68d20
Add description for statistics features
tingkai-mai Nov 6, 2022
24d9cf0
Fix description of Item implementation
tingkai-mai Nov 6, 2022
85c4b02
Add statistics implementation and design details
tingkai-mai Nov 7, 2022
39f8ca0
Merge branch 'master' of github.com:Ferusel/tp into tingkai/update-dg
tingkai-mai Nov 7, 2022
a7cbfae
Merge pull request #527 from yixiann/add-dg-help
RichDom2185 Nov 7, 2022
4c440fb
Merge branch 'master' into w13/auto-glossary
RichDom2185 Nov 7, 2022
c84806a
Merge branch 'master' into tingkai/update-dg
RichDom2185 Nov 7, 2022
c70168a
Remove unnecessary autoglossary alias
RichDom2185 Nov 7, 2022
78a3760
Fix indentation of SVG
RichDom2185 Nov 7, 2022
c9db0c5
Add Octicons asset
RichDom2185 Nov 7, 2022
e2c9a3d
Extend PPP parser for Issues badge
RichDom2185 Nov 7, 2022
5aa303e
Open GitHub links in new tab
RichDom2185 Nov 7, 2022
b6215a5
Rename CSS class
RichDom2185 Nov 7, 2022
703e2c6
Fix missing styling bug
RichDom2185 Nov 7, 2022
6cf33aa
Merge branch 'master' into week13/style-ppp-issues-badge
RichDom2185 Nov 7, 2022
4820eaf
Merge pull request #528 from Ferusel/tingkai/update-dg
RichDom2185 Nov 7, 2022
b040218
Revert item link
Eugenetanwl3881 Nov 7, 2022
65cce9a
Fix missing tail not rendered
RichDom2185 Nov 7, 2022
f64e4dd
Add auto glossary into Key Definitions section
Eugenetanwl3881 Nov 7, 2022
3ead1f8
Use Issue badges for yixiann's PPP
RichDom2185 Nov 7, 2022
07c1285
Merge branch 'master' into week13/style-ppp-issues-badge
RichDom2185 Nov 7, 2022
6b5174a
Add newline to EOF
RichDom2185 Nov 7, 2022
e3b2830
Merge pull request #529 from RichDom2185/week13/style-ppp-issues-badge
RichDom2185 Nov 7, 2022
383b83a
Merge branch 'master' into week13/update-documentation
RichDom2185 Nov 7, 2022
f104619
Add TODO
RichDom2185 Nov 7, 2022
85b1247
Update PPP to include issues
Eugenetanwl3881 Nov 7, 2022
0657e9f
Merge branch 'master' into w13/auto-glossary
RichDom2185 Nov 7, 2022
2c1e489
Remove unnecessary autoglossary entry
RichDom2185 Nov 7, 2022
1e2a3a4
Add DG portions for Decrement and Increment
Nov 7, 2022
a2b4e6b
Merge branch 'master' into add-dg-help
Nov 7, 2022
bed7728
Modify general implementation details of item
Nov 7, 2022
d8a3f8c
Add general design consideration header
Nov 7, 2022
6b7a275
Remove duplicate lines in PPP
RichDom2185 Nov 7, 2022
9b6f905
Fix broken link
Nov 7, 2022
b5baa34
Improve tone of language
RichDom2185 Nov 7, 2022
3a2f06c
Merge branch 'master' into touch-up-dg
Nov 7, 2022
bb2362f
Touch up NFR
Nov 7, 2022
8667190
Add lifeline note
Nov 7, 2022
c080d41
Rearrange architecture components
Nov 7, 2022
a1fbcd0
Add extra missing user stories for stats
Eugenetanwl3881 Nov 7, 2022
9d8cdb2
Add API for commons
Nov 7, 2022
feeafb3
Update user stories section layout
RichDom2185 Nov 7, 2022
50cbaee
Update date in DG
Nov 7, 2022
4db72d5
Merge pull request #524 from yixiann/touch-up-dg
RichDom2185 Nov 7, 2022
fb34fee
Merge branch 'master' into add-dg-help
RichDom2185 Nov 7, 2022
178b129
Merge branch 'master' into w13/dg-auto-glossary
RichDom2185 Nov 7, 2022
4ec0e57
Create glossary entry for help window
RichDom2185 Nov 7, 2022
8599d2c
Update help command format
RichDom2185 Nov 7, 2022
481294c
Add some layout autoglossary entries
RichDom2185 Nov 7, 2022
5dc4a57
Merge branch 'master' into week13/update-documentation
RichDom2185 Nov 7, 2022
410bc59
Merge pull request #532 from Eugenetanwl3881/w13/dg-auto-glossary
RichDom2185 Nov 7, 2022
5b083de
Merge branch 'master' of https://github.com/RichDom2185/tp into week1…
RichDom2185 Nov 7, 2022
862980a
Fix formatting error post-merge
RichDom2185 Nov 7, 2022
dea638c
Add Help Window screenshot
RichDom2185 Nov 7, 2022
94c5518
Update layout screenshots
RichDom2185 Nov 7, 2022
2648baf
Update Layout section
RichDom2185 Nov 7, 2022
689c85a
Add note
RichDom2185 Nov 7, 2022
e7919b7
Fix grammar
RichDom2185 Nov 7, 2022
8cd2d5f
Add page breaks to DG
RichDom2185 Nov 7, 2022
866a807
Update exit command format
RichDom2185 Nov 7, 2022
6d7fab3
Add autoglossary link
RichDom2185 Nov 7, 2022
b31c948
Improve ItemCommands section layout
RichDom2185 Nov 7, 2022
bf2f024
Fix footnote style inconsistency
RichDom2185 Nov 7, 2022
6100173
Merge branch 'master' into add-dg-help
RichDom2185 Nov 7, 2022
f4a83bd
Improve warning clarity
RichDom2185 Nov 7, 2022
0730fe6
Fix filtertag sequence diagram
bryanljx Nov 7, 2022
8e336af
Fix activity diagram
bryanljx Nov 7, 2022
831d4a1
Improve clarity of rationale
RichDom2185 Nov 7, 2022
d66f153
Clarify reason behind command behaviour
RichDom2185 Nov 7, 2022
a6faeee
Fix inconsistent autoglossary popup style
RichDom2185 Nov 7, 2022
db54714
Update TryingFirstCommand section layout
RichDom2185 Nov 7, 2022
2336065
Update Item image
RichDom2185 Nov 7, 2022
434a626
Update statement to match features
RichDom2185 Nov 7, 2022
0e782db
Merge pull request #531 from yixiann/add-dg-help
RichDom2185 Nov 7, 2022
8084df6
Merge branch 'master' into week13/update-documentation
RichDom2185 Nov 7, 2022
1d8b324
Add page break
RichDom2185 Nov 7, 2022
f6296af
Merge branch 'master' into bryan/fix-sequence-diagram
bryanljx Nov 7, 2022
ef55d07
Fix unclear statement
RichDom2185 Nov 7, 2022
63f4df4
Improve clarity of FoodRem about section
RichDom2185 Nov 7, 2022
5a8a7ed
Add tip for reset command
RichDom2185 Nov 7, 2022
e3883cf
Fix incorrect note
RichDom2185 Nov 7, 2022
7d89eed
Revert "Fix activity diagram"
bryanljx Nov 7, 2022
2df63a6
Merge branch 'master' of https://github.com/AY2223S1-CS2103T-W16-2/tp…
bryanljx Nov 7, 2022
1633f8b
Merge branch 'bryan/fix-sequence-diagram' of https://github.com/bryan…
bryanljx Nov 7, 2022
abd2250
Add tip for sort command
RichDom2185 Nov 7, 2022
01632fc
Improve UG summary
RichDom2185 Nov 7, 2022
124ee17
Add tip in About section of UG
RichDom2185 Nov 7, 2022
5d1aac7
Fix UG for remarks
Eugenetanwl3881 Nov 7, 2022
411998a
Fix UG remarks phrasing
Eugenetanwl3881 Nov 7, 2022
c0595db
Reformat StatisticsFeatures.md
RichDom2185 Nov 7, 2022
7ba2ad3
Reformat ItemFeatures.md
RichDom2185 Nov 7, 2022
4a81836
Show Argument glossary term in DG only
RichDom2185 Nov 7, 2022
8a0b645
Add references to Command Format diagram
RichDom2185 Nov 7, 2022
1da77ad
Fix merge conflicts
Eugenetanwl3881 Nov 7, 2022
7b81727
Merge pull request #530 from Eugenetanwl3881/w12/update-ppp
RichDom2185 Nov 7, 2022
fc5ad35
Merge branch 'master' into w13/update-dg
RichDom2185 Nov 7, 2022
ac0fefe
Merge pull request #535 from Eugenetanwl3881/w13/update-dg
RichDom2185 Nov 7, 2022
04d2eea
Merge branch 'master' into week13/update-documentation
RichDom2185 Nov 7, 2022
07da6a8
Merge branch 'week13/update-documentation' of https://github.com/Rich…
RichDom2185 Nov 7, 2022
3aaa58b
Update PPP for ferusel
tingkai-mai Nov 7, 2022
1f44aba
Force window size to have min height and width
Nov 7, 2022
51a75a4
Remove unused community section
tingkai-mai Nov 7, 2022
1c3556c
Merge branch 'master' into fix-resize
yixiann Nov 7, 2022
962c189
Merge branch 'master' into tingkai/update-ppp-tingkai-again
RichDom2185 Nov 7, 2022
cab5d57
Clarify the uses of parameter and placeholder in UG
Eugenetanwl3881 Nov 7, 2022
4b86ba9
Update auto glossary for GUI
Eugenetanwl3881 Nov 7, 2022
2bad77e
Update Layout section
RichDom2185 Nov 7, 2022
2df044d
Remove unused styles
RichDom2185 Nov 7, 2022
42aa6cb
Merge pull request #536 from Ferusel/tingkai/update-ppp-tingkai-again
RichDom2185 Nov 7, 2022
f09852d
Merge branch 'master' into week13/update-documentation
RichDom2185 Nov 7, 2022
631afc3
Merge branch 'master' into fix-resize
RichDom2185 Nov 7, 2022
c597f45
Fix grammar
Eugenetanwl3881 Nov 7, 2022
9913856
Added autoglossary for parameter and placeholder
Eugenetanwl3881 Nov 7, 2022
aa247aa
Merge pull request #525 from RichDom2185/week13/update-documentation
tingkai-mai Nov 7, 2022
de4b07d
Merge branch 'master' into w13/auto-glossary
Eugenetanwl3881 Nov 7, 2022
ae8db1b
Merge branch 'master' into w13/auto-glossary
Eugenetanwl3881 Nov 7, 2022
191c503
Add warning for find command
tingkai-mai Nov 7, 2022
b60bb5f
Merge pull request #515 from Eugenetanwl3881/w13/auto-glossary
RichDom2185 Nov 7, 2022
e74fde2
Merge branch 'master' of github.com:Ferusel/tp into tingkai/update-ug…
tingkai-mai Nov 7, 2022
2d36081
Merge branch 'master' into bryan/fix-sequence-diagram
Eugenetanwl3881 Nov 7, 2022
31de988
Change warning to info
tingkai-mai Nov 7, 2022
12487fc
Add DG changes to PPP
Nov 7, 2022
d6e9f8f
Merge branch 'master' into update-ppp
yixiann Nov 7, 2022
5d06656
Fix PDF spacing in UG
RichDom2185 Nov 7, 2022
c8b075c
Add additional PRs
Nov 7, 2022
3e8b5e1
Merge pull request #541 from RichDom2185/week13/fix-ug-pdf-spacing
RichDom2185 Nov 7, 2022
06e0c7d
Merge branch 'master' into w13/update-ug-parameter
RichDom2185 Nov 7, 2022
ebc4388
Merge branch 'master' into update-ppp
yixiann Nov 7, 2022
6aba1b4
Merge branch 'master' into fix-resize
RichDom2185 Nov 7, 2022
dadb709
Merge branch 'master' into tingkai/update-ug-find-command
tingkai-mai Nov 7, 2022
ba553a0
Merge branch 'master' into bryan/fix-sequence-diagram
RichDom2185 Nov 7, 2022
c5c0ad0
Merge pull request #538 from Eugenetanwl3881/w13/update-ug-parameter
RichDom2185 Nov 7, 2022
1ddefee
Merge branch 'master' into tingkai/update-ug-find-command
tingkai-mai Nov 7, 2022
7c55ba2
Add PRs reviewed section
RichDom2185 Nov 7, 2022
c05debb
Merge branch 'master' into fix-resize
RichDom2185 Nov 7, 2022
c820b12
Merge branch 'master' into bryan/fix-sequence-diagram
RichDom2185 Nov 7, 2022
77bf219
Remove diagram requirements for stats in DG
Eugenetanwl3881 Nov 7, 2022
2e477b2
Add additional PRs
Nov 7, 2022
662b5df
Merge pull request #539 from Ferusel/tingkai/update-ug-find-command
tingkai-mai Nov 7, 2022
379a708
Fix spelling
Eugenetanwl3881 Nov 7, 2022
0c41c48
Merge branch 'master' into bryan/fix-sequence-diagram
Eugenetanwl3881 Nov 7, 2022
3fd5cd3
Merge branch 'master' into update-ppp
yixiann Nov 7, 2022
d4430c8
Remove composition of items and tags in list
Nov 7, 2022
8e8d040
Add blank UI section under Implementation
RichDom2185 Nov 7, 2022
b0e76a6
Merge branch 'master' into fix-resize
RichDom2185 Nov 7, 2022
4496971
Merge pull request #533 from bryanljx/bryan/fix-sequence-diagram
RichDom2185 Nov 7, 2022
21c2ca5
Merge branch 'master' into fix-resize
RichDom2185 Nov 7, 2022
636487d
Merge pull request #537 from yixiann/fix-resize
tingkai-mai Nov 7, 2022
a35e478
Merge branch 'master' into update-ppp
tingkai-mai Nov 7, 2022
faebb2a
Merge branch 'master' into final-dg
tingkai-mai Nov 7, 2022
30c988a
Merge pull request #540 from yixiann/update-ppp
tingkai-mai Nov 7, 2022
522beed
Merge branch 'master' into final-dg
tingkai-mai Nov 7, 2022
f24c28c
Fix activity diagram
bryanljx Nov 7, 2022
cba4773
Reformat markdown files
RichDom2185 Nov 7, 2022
479610a
Merge pull request #544 from yixiann/final-dg
tingkai-mai Nov 7, 2022
d6c26e1
Fix spacing issue
Eugenetanwl3881 Nov 7, 2022
3abcd5c
Merge branch 'master' into bryan/fix-uml-diagrams
tingkai-mai Nov 7, 2022
e4d3830
Merge pull request #545 from bryanljx/bryan/fix-uml-diagrams
tingkai-mai Nov 7, 2022
295fdc5
Simplify Troubleshooting
Eugenetanwl3881 Nov 7, 2022
c78d110
Add plural and singular message forms
tingkai-mai Nov 7, 2022
21fd562
Update tests
tingkai-mai Nov 7, 2022
654951a
Fix merge conflicts
Eugenetanwl3881 Nov 7, 2022
bc1c975
Remove unused error message
bryanljx Nov 7, 2022
7437474
Update Storage diagram to match FoodRem changes
bryanljx Nov 7, 2022
2fcf09b
Fix grammar
tingkai-mai Nov 7, 2022
0c43c9e
Fix find and sort command grammar
tingkai-mai Nov 7, 2022
2c9b0d0
Fix tests
tingkai-mai Nov 7, 2022
8d3ef74
Fix grammar for filtertag command
tingkai-mai Nov 7, 2022
ef0d62f
Merge pull request #542 from Eugenetanwl3881/w13/update-dg
tingkai-mai Nov 7, 2022
84255ec
Add UI implementation section
RichDom2185 Nov 7, 2022
a5561e0
Merge branch 'master' into tingkai/fix-grammar-sort-find
tingkai-mai Nov 7, 2022
e5d817f
Merge pull request #547 from Ferusel/tingkai/fix-grammar-sort-find
bryanljx Nov 7, 2022
ac22cc1
Merge branch 'master' into bryan/fix-storage-diagram
bryanljx Nov 7, 2022
e90d8b1
Add future extensions section
RichDom2185 Nov 7, 2022
957c9f5
Update PPP
tingkai-mai Nov 7, 2022
411621f
Fix command summary table deletetag bug
Eugenetanwl3881 Nov 7, 2022
86e7777
Fix about us page
tingkai-mai Nov 7, 2022
9f62635
Add autoglossary for TryingFirstCommand
Eugenetanwl3881 Nov 7, 2022
f6b0593
Replace invalid characters
Eugenetanwl3881 Nov 7, 2022
841f748
Merge branch 'master' into tingkai/fix-aboutus
tingkai-mai Nov 7, 2022
f6b2452
Merge pull request #546 from bryanljx/bryan/fix-storage-diagram
bryanljx Nov 7, 2022
a856f25
Merge branch 'master' into tingkai/fix-aboutus
bryanljx Nov 7, 2022
d7f4e58
Create PUML diagrams
RichDom2185 Nov 7, 2022
097e9a7
Merge branch 'master' into tingkai/final-ppp-update-tingkai
tingkai-mai Nov 7, 2022
82df8ac
Merge branch 'master' into week13/update-dg
RichDom2185 Nov 7, 2022
513fd3b
Fix manual testing
Nov 7, 2022
3a55afd
Merge branch 'master' into w13/update-ug-parameter
Eugenetanwl3881 Nov 7, 2022
f82edd2
Fix checkstyle
tingkai-mai Nov 7, 2022
109350d
Merge pull request #548 from Ferusel/tingkai/fix-aboutus
bryanljx Nov 7, 2022
d48d91f
Remove unused comments
RichDom2185 Nov 7, 2022
8b6ab4a
Merge branch 'master' into final-dg
bryanljx Nov 7, 2022
77641de
Merge branch 'master' into w13/update-dg
bryanljx Nov 7, 2022
57f49ba
Merge pull request #552 from Eugenetanwl3881/w13/update-dg
bryanljx Nov 7, 2022
d386f01
Add diagram images to DG
RichDom2185 Nov 7, 2022
a349342
Fix typo
Nov 7, 2022
a91f8c5
Merge branch 'master' into w13/update-ug-parameter
bryanljx Nov 7, 2022
8296826
Merge pull request #549 from Eugenetanwl3881/w13/update-ug-parameter
bryanljx Nov 7, 2022
103a4e0
Merge branch 'master' into final-dg
bryanljx Nov 7, 2022
64073f0
Fix typo
Nov 7, 2022
94cf76f
Shorten PPP
tingkai-mai Nov 7, 2022
c1595af
Merge pull request #553 from yixiann/final-dg
bryanljx Nov 7, 2022
6acd958
Merge branch 'master' into week13/update-dg
bryanljx Nov 7, 2022
ffc5c7b
Merge pull request #551 from RichDom2185/week13/update-dg
bryanljx Nov 7, 2022
f4bae85
Update PPP
tingkai-mai Nov 7, 2022
5b3ff8f
Update help diagram
Eugenetanwl3881 Nov 7, 2022
754420f
Update image
Eugenetanwl3881 Nov 7, 2022
9804949
Fix DG UML diagrams
tingkai-mai Nov 7, 2022
f339d24
Merge pull request #554 from Eugenetanwl3881/w13/update-diagram
bryanljx Nov 7, 2022
2304531
Update image
RichDom2185 Nov 7, 2022
218bf4d
Merge branch 'week13/update-dg' of https://github.com/RichDom2185/tp …
RichDom2185 Nov 7, 2022
ab20fbe
Merge pull request #555 from Ferusel/tingkai/fix-uml-dg
bryanljx Nov 7, 2022
494d491
Merge branch 'master' of github.com:Ferusel/tp into tingkai/final-ppp…
tingkai-mai Nov 7, 2022
e4b6f76
Merge branch 'master' of github.com:Ferusel/tp into tingkai/final-ppp…
tingkai-mai Nov 7, 2022
21090c9
Reorganise PRs
RichDom2185 Nov 7, 2022
4f0945c
Merge pull request #556 from RichDom2185/week13/update-dg
bryanljx Nov 7, 2022
b4d413b
Merge branch 'master' into tingkai/final-ppp-update-tingkai
bryanljx Nov 7, 2022
2714348
Fix styling
RichDom2185 Nov 7, 2022
1c44a22
Merge branch 'master' of github.com:Ferusel/tp into tingkai/final-ppp…
tingkai-mai Nov 7, 2022
82b48dc
Fix checkstyle
tingkai-mai Nov 7, 2022
faf9dc2
Merge branch 'tingkai/final-ppp-update-tingkai' of github.com:Ferusel…
tingkai-mai Nov 7, 2022
50ae038
Merge pull request #557 from RichDom2185/week13/update-ppp
bryanljx Nov 7, 2022
2bb59f8
Merge branch 'master' into tingkai/final-ppp-update-tingkai
bryanljx Nov 7, 2022
93caf99
Fix checkstyle again
tingkai-mai Nov 7, 2022
34cd6e6
Merge pull request #550 from Ferusel/tingkai/final-ppp-update-tingkai
bryanljx Nov 7, 2022
8d7afc7
Sync acknowledgements section on website root
RichDom2185 Nov 25, 2022
e52dfbe
Update copyright.txt
RichDom2185 Nov 25, 2022
0229c8e
Update YAML block scalars
RichDom2185 Nov 25, 2022
45c2ab6
Refactor and update acknowledgements
RichDom2185 Nov 25, 2022
bb3ffdb
Sync acknowledgements to project README
RichDom2185 Nov 25, 2022
d7de25d
Add newline to EOF
RichDom2185 Nov 26, 2022
dedfd72
Merge pull request #561 from RichDom2185/extra/complete-reuse
RichDom2185 Nov 26, 2022
f967d4c
Add PPP information and UGDG links
Dec 10, 2022
f9c34df
Fix comment typo
Dec 10, 2022
11ec2bd
Remove linebreak
Dec 10, 2022
32d5e19
Remove space
Dec 10, 2022
2a34fab
Merge pull request #563 from yixiann/update-readme
RichDom2185 Dec 11, 2022
6fb15d0
Bump ruby to version 3.3.0
RichDom2185 Oct 2, 2024
28f9b8f
Update dependencies and lockfile
RichDom2185 Oct 2, 2024
b5ebb91
Fix security vulnerabilities in dependencies
RichDom2185 Oct 2, 2024
aa09721
Merge pull request #564 from RichDom2185/2024-10/update-docs
RichDom2185 Oct 2, 2024
b69768c
Fix broken glossary links
RichDom2185 Oct 15, 2024
ed2e23a
Merge pull request #565 from RichDom2185/2024-10/fix-broken-glossary-…
RichDom2185 Oct 16, 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
  •  
  •  
  •  
85 changes: 85 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
name: Build

on:
workflow_dispatch:
push:
branches:
- master
tags:
- v*

jobs:
jarfile:
runs-on: ubuntu-20.04
outputs:
upload_url: ${{ steps.create_release.outputs.upload_url }}
steps:
- name: Checkout repository
uses: actions/checkout@main
with:
ref: master
- name: Validate Gradle Wrapper
uses: gradle/wrapper-validation-action@v1
- name: Setup JDK 11
uses: actions/setup-java@v1
with:
java-version: 11
java-package: jdk+fx
- name: Create JAR file
run: ./gradlew shadowJar
- name: Generate tag name from time
id: tagname
run: echo ::set-output name=TAGNAME::$(echo ${{ github.event.repository.pushed_at }} | sed -e 's/^../AR/')
- name: Generate release name from time
id: releasename
run: echo "::set-output name=RELEASENAME::$(date -d @${{ github.event.repository.pushed_at }})"
- name: Create release on GitHub
id: create_release # We need the id to refer to it in the next step
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ steps.tagname.outputs.TAGNAME }}
release_name: Auto-release ${{ steps.releasename.outputs.RELEASENAME }}
body: 'Auto-created release from branch "${{ github.ref_name }}"'
- name: Upload JAR file to GitHub releases
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./build/libs/foodrem.jar
asset_name: foodrem.jar
asset_content_type: application/java-archive
pdfs:
needs: jarfile
runs-on: ubuntu-20.04
steps:
- name: Set up repository
uses: actions/checkout@main
- name: Set up PATH
run: echo "$HOME/.gem/ruby/2.7.0/bin" >> $GITHUB_PATH
- name: Set up server dependencies
working-directory: ${{ github.workspace }}/docs
run: gem install --user-install bundler && bundle install
- name: Create PDFs of UG and DG
working-directory: ${{ github.workspace }}/docs
run: ./make-pdf.sh
- name: Upload UG to release
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ needs.jarfile.outputs.upload_url }}
asset_path: ./docs/release/UserGuide.pdf
asset_name: UserGuide.pdf
asset_content_type: application/pdf
- name: Upload DG to release
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ needs.jarfile.outputs.upload_url }}
asset_path: ./docs/release/DeveloperGuide.pdf
asset_name: DeveloperGuide.pdf
asset_content_type: application/pdf
21 changes: 21 additions & 0 deletions .github/workflows/check-links.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Check all links on website are valid

on: [push, pull_request, workflow_dispatch]

jobs:
check-links:
runs-on: ubuntu-20.04
steps:
- name: Set up repository
uses: actions/checkout@main
- name: Set up PATH
run: echo "$HOME/.gem/ruby/2.7.0/bin" >> $GITHUB_PATH
- name: Set up server dependencies
working-directory: ${{ github.workspace }}/docs
run: gem install --user-install bundler && bundle install
- name: Set up checker dependencies
working-directory: ${{ github.workspace }}/cli-test/linkchecker
run: npm install
- name: Set up server and check all links are valid
working-directory: ${{ github.workspace }}/cli-test/linkchecker
run: python serve-and-check.py
49 changes: 49 additions & 0 deletions .github/workflows/check-ppp-edited.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: Check PPP is updated

on: [workflow_dispatch, pull_request]

jobs:
check-ppp:
runs-on: ubuntu-20.04
steps:
- name: Set up repository
uses: actions/checkout@main
- name: Query GraphQL API
uses: octokit/[email protected]
id: get_latest_prs
with:
query: |
query PRs {
repository(owner: "AY2223S1-CS2103T-W16-2", name: "tp") {
pullRequests(last: 100) {
totalCount
edges {
node {
title
merged
resourcePath
participants(first: 10) {
edges {
node {
login
}
}
}
headRepositoryOwner {
login
}
number
closed
}
}
}
}
}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Save query data to file
working-directory: ${{ github.workspace }}/cli-test/ppp-checker
run: "echo '${{ steps.get_latest_prs.outputs.data }}' > data.json"
- name: Validate all PRs are included in PPP
working-directory: ${{ github.workspace }}/cli-test/ppp-checker
run: ./check-ppp-is-present.sh ${{ github.event.pull_request.user.login }}
4 changes: 2 additions & 2 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
- name: Setup JDK 11
uses: actions/setup-java@v1
with:
java-version: '11'
java-version: "11"
java-package: jdk+fx

- name: Build and check with Gradle
Expand All @@ -43,4 +43,4 @@ jobs:
with:
directory: ${{ github.workspace }}/build/reports/jacoco/coverage
files: coverage.xml
fail_ci_if_error: true
fail_ci_if_error: false
22 changes: 12 additions & 10 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,22 +1,24 @@
# Gradle build files
/.gradle/
/build/
.gradle/
build/
src/main/resources/docs/

# VSCode build files
bin/

# IDEA files
/.idea/
/out/
/*.iml
.idea/
out/
*.iml

# Storage/log files
/data/
/config.json
/preferences.json
/*.log.*
data/
config.json
preferences.json
*.log.*

# Test sandbox files
src/test/data/sandbox/

# MacOS custom attributes files created by Finder
.DS_Store
docs/_site/
35 changes: 35 additions & 0 deletions .markdownlint.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"MD004": { // Unordered list style
"style": "asterisk"
},
"MD009": { // Trailing spaces
"br_spaces": 0
},
"MD013": false, // Line length
"MD029": { // Ordered list item prefix
"style": "one"
},
"MD033": { // Inline HTML
"allowed_elements": ["sub", "sup", "br", "kbd"]
},
"MD035": { // Horizontal rule style
"style": "---"
},
"MD044": { // Proper names should have the correct capitalization
"names": ["FoodRem", "User Guide", "Developer Guide", "Command Input Box", "Command Output Box", "Item List Box"],
"code_blocks": false
},
"MD046": { // Code block style
"style": "fenced"
},
"MD048": { // Code fence style
"style": "backtick"
},
"MD049": { // Emphasis style should be consistent
"style": "underscore"
},
"MD050": { // Strong style should be consistent
"style": "asterisk"
},
"MD051": false // Link fragments should be valid
}
113 changes: 102 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,105 @@
[![CI Status](https://github.com/se-edu/addressbook-level3/workflows/Java%20CI/badge.svg)](https://github.com/se-edu/addressbook-level3/actions)
[![CI Status](https://github.com/AY2223S1-CS2103T-W16-2/tp/workflows/Java%20CI/badge.svg)](https://github.com/AY2223S1-CS2103T-W16-2/tp/actions)
 [![CI Status](https://github.com/AY2223S1-CS2103T-W16-2/tp/workflows/Build/badge.svg)](https://github.com/AY2223S1-CS2103T-W16-2/tp/actions)
 [![codecov](https://codecov.io/gh/AY2223S1-CS2103T-W16-2/tp/branch/master/graph/badge.svg)](https://codecov.io/gh/AY2223S1-CS2103T-W16-2/tp)

![Ui](docs/images/Ui.png)

* This is **a sample project for Software Engineering (SE) students**.<br>
Example usages:
* as a starting point of a course project (as opposed to writing everything from scratch)
* as a case study
* The project simulates an ongoing software project for a desktop application (called _AddressBook_) used for managing contact details.
* It is **written in OOP fashion**. It provides a **reasonably well-written** code base **bigger** (around 6 KLoC) than what students usually write in beginner-level SE modules, without being overwhelmingly big.
* It comes with a **reasonable level of user and developer documentation**.
* It is named `AddressBook Level 3` (`AB3` for short) because it was initially created as a part of a series of `AddressBook` projects (`Level 1`, `Level 2`, `Level 3` ...).
* For the detailed documentation of this project, see the **[Address Book Product Website](https://se-education.org/addressbook-level3)**.
* This project is a **part of the se-education.org** initiative. If you would like to contribute code to this project, see [se-education.org](https://se-education.org#https://se-education.org/#contributing) for more info.
## FoodRem

<!-- TODO: Check that this matches {{ site.data.foodrem.about.summary }} -->
FoodRem is an Inventory Management System that empowers small food and beverage (F&B) restaurant managers to manage inventory and obtain insights from inventory data. As a restaurant manager, leverage upon FoodRem's Inventory Management System during your daily operations. Utilize FoodRem's flexible tagging system to help you organize your inventory according to your business needs. Finally, streamline your business decisions by deriving insights from your inventory usage through FoodRem's statistics, keeping track of vital data such as food wastage.

## FoodRem User Guide

Here is the link to our FoodRem [User Guide](https://ay2223s1-cs2103t-w16-2.github.io/tp/UserGuide.html)!

## FoodRem Developer Guide

Here is the link to our FoodRem [Developer Guide](https://ay2223s1-cs2103t-w16-2.github.io/tp/DeveloperGuide.html)!

## Project Team

### Mai Ting Kai

<img src="docs/images/ferusel.png" width="200px">

[[Personal Github](https://github.com/ferusel)]
[[Project Portfolio Page](https://ay2223s1-cs2103t-w16-2.github.io/tp/team/ferusel)]

### Bryan Lim Jing Xiang

<img src="docs/images/bryanljx.png" width="200px">

[[Personal Github](https://github.com/bryanljx)]
[[Project Portfolio Page](https://ay2223s1-cs2103t-w16-2.github.io/tp/team/bryanljx)]

### Richard Dominick

<img src="docs/images/richdom2185.png" width="200px">

[[Personal Github](https://github.com/RichDom2185)]
[[Project Portfolio Page](https://ay2223s1-cs2103t-w16-2.github.io/tp/team/richdom2185)]

### Tan Wei Lie Eugene

<img src="docs/images/eugenetanwl3881.png" width="200px">

[[Personal Github](https://github.com/eugenetanwl3881)]
[[Project Portfolio Page](https://ay2223s1-cs2103t-w16-2.github.io/tp/team/eugenetanwl3881)]

### Tan Yi Xian

<img src="docs/images/yixiann.png" width="200px">

[[Personal Github](https://github.com/yixiann)]
[[Project Portfolio Page](https://ay2223s1-cs2103t-w16-2.github.io/tp/team/yixiann)]

## Acknowledgements

<!-- TODO: Check that this matches {{ site.data.foodrem.acknowledgements }} -->
FoodRem is a brownfield software project based off [AddressBook Level-3](https://se-education.org/addressbook-level3/), taken under the [CS2103T Software Engineering module](https://nus-cs2103-ay2223s1.github.io/website/index.html) held by the School of Computing at the National University of Singapore.

Java dependencies:

* [Jackson](https://github.com/FasterXML/jackson) for JSON-related operations
* [JavaFX](https://openjfx.io/) for GUI
* [JUnit5](https://github.com/junit-team/junit5) for testing

Documentation dependencies:

* [Jekyll](https://jekyllrb.com/) for rendering the website
* [PlantUML](https://plantuml.com/) for creating UML diagrams

Fonts used in FoodRem:

* FoodRem Java App:
* [Epilogue](https://fonts.google.com/specimen/Epilogue) by Tyler Finck
* [JetBrains Mono](https://fonts.google.com/specimen/JetBrains+Mono) by Philipp Nurullin and Konstantin Bulenkov
* [Montserrat](https://fonts.google.com/specimen/Montserrat) by Julieta Ulanovsky et al.
* FoodRem Website:
* [Epilogue](https://fonts.google.com/specimen/Epilogue) by Tyler Finck
* [Source Code Pro](https://fonts.google.com/specimen/Source+Code+Pro) by Paul D. Hunt

Other acknowledgments:

* Material Design Icons:
* [food-turkey](https://materialdesignicons.com/icon/food-turkey) by Colton Wiscombe as FoodRem's App Icon
* Font Awesome 6 icons:
* [book](https://fontawesome.com/icons/book) as the "note" admonition icon
* [circle-info](https://fontawesome.com/icons/circle-info) as the "info" admonition icon
* [fire-flame-curved](https://fontawesome.com/icons/fire-flame-curved) as the "danger" admonition icon
* [lightbulb](https://fontawesome.com/icons/lightbulb) as the "tip" admonition icon
* [triangle-exclamation](https://fontawesome.com/icons/triangle-exclamation) as the "warning" admonition icon
* Octicons:
* [git-merge](https://primer.style/octicons/git-merge-16) for the PR badge used in the project PPPs
* [issue-closed](https://primer.style/octicons/issue-closed-16) for the issue badge used in the project PPPs
* Code acknowledgements:
* [Custom link fragment checker](https://github.com/AY2223S1-CS2103T-W16-2/tp/blob/master/cli-test/linkchecker/check-links.js) adapted from the [World Wide Web Consortium](https://github.com/w3c/node-linkchecker)
* [Pure CSS auto-incrementing heading counters](https://github.com/AY2223S1-CS2103T-W16-2/tp/blob/master/docs/_sass/toc.scss) adapted from [@gvgramazio on StackOverflow](https://stackoverflow.com/a/51007932/9311854)
* [PDF styling of HTML pages](https://github.com/AY2223S1-CS2103T-W16-2/tp/blob/master/docs/_sass/pdf.scss) following Michael Perrin's [tutorial](https://www.michaelperrin.fr/blog/2019/11/printing-the-web-part-2-html-and-css-for-printing-books)
* [Pure liquid admonitions](https://github.com/AY2223S1-CS2103T-W16-2/tp/blob/master/docs/_sass/admonitions.scss) adapted from [@kimkyunghwan21 on GitHub](https://github.com/kimkyunghwan21/kimkyunghwan21.github.io/blob/master/_layouts/plugins/extension.liquid)
* [Pure liquid HTML table-of-contents](https://github.com/AY2223S1-CS2103T-W16-2/tp/blob/master/docs/_includes/toc.html) from [@allejo on GitHub](https://github.com/allejo/jekyll-toc)
* Miscellaneous:
* [Docusaurus](https://docusaurus.io/docs/markdown-features/admonitions) for admonition colors and styling
* [GitHub](https://github.com) for "PR merged" and "issue closed" colors used in PPP badges
* [SchemeColor](https://www.schemecolor.com/pastel-rainbow.php) for admonition colors
8 changes: 6 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ plugins {
id 'jacoco'
}

mainClassName = 'seedu.address.Main'
mainClassName = 'seedu.foodrem.Main'

sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
Expand Down Expand Up @@ -66,7 +66,11 @@ dependencies {
}

shadowJar {
archiveFileName = 'addressbook.jar'
archiveFileName = 'foodrem.jar'
}

run {
enableAssertions = true
}

defaultTasks 'clean', 'test'
1 change: 1 addition & 0 deletions cli-test/linkchecker/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules
Loading
Loading