BinHong Lee
2eff50d2ab
DeleteDialog is now implemented and for both User and Book
7 lat temu
BinHong Lee
897750971d
Renamed DeleteBook to DeleteBookDialog for naming consistency
7 lat temu
BinHong Lee
f2237e8727
Converted BookTest and UserTest to Kotlin
7 lat temu
BinHong Lee
ee02077edb
Converted all factory files to Kotlin
7 lat temu
BinHong Lee
af3dd212d1
Converted User class to Kotlin
7 lat temu
BinHong Lee
00f9e5c388
Converted Book class to Kotlin
7 lat temu
BinHong Lee
d13c326cd9
Further increase code coverage
7 lat temu
BinHong Lee
003197131d
Increased code coverage
7 lat temu
BinHong Lee
c2f219227c
Set theme jekyll-theme-midnight
7 lat temu
BinHong Lee
716cb581c1
Added .codecov.yml
7 lat temu
BinHong Lee
9d77520ea4
Deploy first pre-release
7 lat temu
BinHong Lee
566ab73aba
Separate linux JDK tests to 2 jobs
7 lat temu
BinHong Lee
008fb84203
JDK switcher doesn't work in OSX
7 lat temu
BinHong Lee
55f52245aa
Added Travis-CI, codecov and LICENSE file
7 lat temu
BinHong Lee
0b6532dd73
Updated JavaDocs and JUnit tests for all non-UI classes
7 lat temu
BinHong Lee
61e20f59ca
Set theme jekyll-theme-midnight
7 lat temu
BinHong Lee
65c9bec312
Documentations are now all in javadocs (through Maven Apache)
7 lat temu
BinHong Lee
274f9e755f
Added edit options for books and users
7 lat temu
BinHong Lee
74784513c7
Settings now allow custom title and save file names.
7 lat temu
BinHong Lee
3bfcf9cd02
Can create new book through UI, BookFactory now search for id instead of position in list
7 lat temu
BinHong Lee
4a945aec5a
Now creates new json if it doesn't exist and allow to create new user through UI
7 lat temu
BinHong Lee
7f6185bcef
Added more buttons!
7 lat temu
BinHong Lee
154a6380df
Rent and return are now both working features
7 lat temu
BinHong Lee
ee8f91c85e
Added users.json and basic UI implementation
7 lat temu
BinHong Lee
76017c0d0d
Added JSON implementation for books
7 lat temu
BinHong Lee
9eb12152c5
Added json.jar as an external resources.
7 lat temu
BinHong Lee
88631e3cf4
Added Basic GUI without any functionality
7 lat temu
BinHong Lee
b23c6d945a
Changed from 1.9 to 1.6
7 lat temu
BinHong Lee
fed181d867
Added specification for source and target in pom.xml
7 lat temu
BinHong Lee
9a8ccbaebe
Merge branch 'master' of https://github.com/binhonglee/LibrarySystem
7 lat temu
BinHong Lee
f331a3c398
Update some formatting
7 lat temu
BinHong Lee
a9652140ae
Set theme jekyll-theme-dinky
7 lat temu
BinHong Lee
c6f00392b2
Changed table of content to table format
7 lat temu
BinHong Lee
7fd9a1f2c0
Third attempt to fix formatting issue
7 lat temu
BinHong Lee
428276fbfd
Another attempt to fix the formatting issue
7 lat temu
BinHong Lee
d82f2cf735
Fixed some formatting on docs
7 lat temu
BinHong Lee
6a668e9c7a
Merge branch 'master' of https://github.com/binhonglee/LibrarySystem
7 lat temu
BinHong Lee
2d9c778a24
Updated documentations to include all classes available
7 lat temu
BinHong Lee
1ddf3c637a
Set theme jekyll-theme-time-machine
7 lat temu
BinHong Lee
5d9728cc23
Added documentations for Book and BookFactory
7 lat temu
BinHong Lee
ec2bdc1d63
Added basic README.md
7 lat temu
BinHong Lee
2739aa568b
Now uses Maven for compile, clean and execution
7 lat temu
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
8 lat temu
BinHong Lee
e53d8b0423
currentDay()
- It now returns the array of the actual numbers instead of the default
formatting
8 lat temu
BinHong Lee
40b9b86320
Minor bug
- Fixed missing semicolon on import statement
- Fixed formatting error when declaring ‘int[] currentDay’
8 lat temu
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
8 lat temu
BinHong Lee
5b6742ce71
update() for BookFactory
- Added update(Book) on BookFactory.java
8 lat temu
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
8 lat temu
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
8 lat temu
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()
8 lat temu