BinHong Lee
ee02077edb
Converted all factory files to Kotlin
pirms 7 gadiem
BinHong Lee
af3dd212d1
Converted User class to Kotlin
pirms 7 gadiem
BinHong Lee
00f9e5c388
Converted Book class to Kotlin
pirms 7 gadiem
BinHong Lee
d13c326cd9
Further increase code coverage
pirms 7 gadiem
BinHong Lee
003197131d
Increased code coverage
pirms 7 gadiem
BinHong Lee
c2f219227c
Set theme jekyll-theme-midnight
pirms 7 gadiem
BinHong Lee
716cb581c1
Added .codecov.yml
pirms 7 gadiem
BinHong Lee
9d77520ea4
Deploy first pre-release
pirms 7 gadiem
BinHong Lee
566ab73aba
Separate linux JDK tests to 2 jobs
pirms 7 gadiem
BinHong Lee
008fb84203
JDK switcher doesn't work in OSX
pirms 7 gadiem
BinHong Lee
55f52245aa
Added Travis-CI, codecov and LICENSE file
pirms 7 gadiem
BinHong Lee
0b6532dd73
Updated JavaDocs and JUnit tests for all non-UI classes
pirms 7 gadiem
BinHong Lee
61e20f59ca
Set theme jekyll-theme-midnight
pirms 7 gadiem
BinHong Lee
65c9bec312
Documentations are now all in javadocs (through Maven Apache)
pirms 7 gadiem
BinHong Lee
274f9e755f
Added edit options for books and users
pirms 7 gadiem
BinHong Lee
74784513c7
Settings now allow custom title and save file names.
pirms 7 gadiem
BinHong Lee
3bfcf9cd02
Can create new book through UI, BookFactory now search for id instead of position in list
pirms 7 gadiem
BinHong Lee
4a945aec5a
Now creates new json if it doesn't exist and allow to create new user through UI
pirms 7 gadiem
BinHong Lee
7f6185bcef
Added more buttons!
pirms 7 gadiem
BinHong Lee
154a6380df
Rent and return are now both working features
pirms 7 gadiem
BinHong Lee
ee8f91c85e
Added users.json and basic UI implementation
pirms 7 gadiem
BinHong Lee
76017c0d0d
Added JSON implementation for books
pirms 7 gadiem
BinHong Lee
9eb12152c5
Added json.jar as an external resources.
pirms 7 gadiem
BinHong Lee
88631e3cf4
Added Basic GUI without any functionality
pirms 7 gadiem
BinHong Lee
b23c6d945a
Changed from 1.9 to 1.6
pirms 7 gadiem
BinHong Lee
fed181d867
Added specification for source and target in pom.xml
pirms 7 gadiem
BinHong Lee
9a8ccbaebe
Merge branch 'master' of https://github.com/binhonglee/LibrarySystem
pirms 7 gadiem
BinHong Lee
f331a3c398
Update some formatting
pirms 7 gadiem
BinHong Lee
a9652140ae
Set theme jekyll-theme-dinky
pirms 7 gadiem
BinHong Lee
c6f00392b2
Changed table of content to table format
pirms 7 gadiem
BinHong Lee
7fd9a1f2c0
Third attempt to fix formatting issue
pirms 7 gadiem
BinHong Lee
428276fbfd
Another attempt to fix the formatting issue
pirms 7 gadiem
BinHong Lee
d82f2cf735
Fixed some formatting on docs
pirms 7 gadiem
BinHong Lee
6a668e9c7a
Merge branch 'master' of https://github.com/binhonglee/LibrarySystem
pirms 7 gadiem
BinHong Lee
2d9c778a24
Updated documentations to include all classes available
pirms 7 gadiem
BinHong Lee
1ddf3c637a
Set theme jekyll-theme-time-machine
pirms 7 gadiem
BinHong Lee
5d9728cc23
Added documentations for Book and BookFactory
pirms 7 gadiem
BinHong Lee
ec2bdc1d63
Added basic README.md
pirms 7 gadiem
BinHong Lee
2739aa568b
Now uses Maven for compile, clean and execution
pirms 7 gadiem
BinHong Lee
e41e28bff6
Main.java
- borrowBook(User, Book) is added as a unified function that will
update and change all required data when a user attempts to borrow a
book
pirms 8 gadiem
BinHong Lee
e53d8b0423
currentDay()
- It now returns the array of the actual numbers instead of the default
formatting
pirms 8 gadiem
BinHong Lee
40b9b86320
Minor bug
- Fixed missing semicolon on import statement
- Fixed formatting error when declaring ‘int[] currentDay’
pirms 8 gadiem
BinHong Lee
729bbf9033
Main.java
- Added returnBook(User, Book) which will update both the users and the
books upon success on returning the book
- Added currentDay() that would return the current date in int array
- Added calDueDate(int) that takes the current date from currentDay()
and calculate the due date from there
pirms 8 gadiem
BinHong Lee
5b6742ce71
update() for BookFactory
- Added update(Book) on BookFactory.java
pirms 8 gadiem
BinHong Lee
2ab2cdd3d4
UserFactory Bug fixes
- Declared users as ArrayList
- Fixed false declaration method of newUser(String, int)
- Renamed new and old to newUser and oldUser due to ‘new’ unusable
pirms 8 gadiem
BinHong Lee
4ab4761225
getId(), UserFactory
User.java
- Added getId()
UserFactory
- Added simple constructor (to be modified further)
- Added newUser(), getUser(String), getUser(int) for interaction with
the List<User>
- Added update(User, User) to update/replace an item in the List
pirms 8 gadiem
BinHong Lee
95d4f4fbdd
bookStatus(), returnBook(int)
- Added bookStatus() that will help main program to determine if the
books are not past due
- Added returnBook(int) to remove the returned book from the List
- Fixed List<int> as List<Integer>
- Added import java.util.* for List and ArrayList
- Fixed status with status()
pirms 8 gadiem
BinHong Lee
cc03dca8fc
Added User class
User.java is added with basic / expecting data and functionality
pirms 8 gadiem
BinHong Lee
2ca886ce92
Minor updates
Main.java
- removed redundant newBook()
Book.java
- Added a condition if the book is not overdue
BookFactory.java
- Removed empty newBook()
- Added “throw new NullPointerException()” on both getBook() if Book is
not found
pirms 8 gadiem
BinHong Lee
94a4a90cec
overdueFine(int[]), newBook()
BookFactory.java
- newBook() now returns the new ‘Book’ created instead of ‘void’
- if getBook() failed, it now returns an empty ‘Book’
Book.java
- overdueFine(int[]) is now rewritten
pirms 8 gadiem