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