- Mar 21, 2022
-
-
Rafi Zereselasie (raz070) authored
-
Rafi Zereselasie (raz070) authored
Fixed a bug where isManager wasn't properly evaluated, and changed how positions in the employee are separated.
-
Michael Kish authored
-
eyan_ authored
-
- Mar 20, 2022
-
-
eyan_ authored
-
Rafi Zereselasie (raz070) authored
Added comments, and added a method to receive the availability of a new employee. Also fixed a bug in the splitting of some data.
-
Rafi Zereselasie (raz070) authored
-
- Mar 19, 2022
-
-
Michael Kish authored
-
Michael Kish authored
-
Michael Kish authored
-
Michael Kish authored
-
- Mar 18, 2022
-
-
Rafi Zereselasie (raz070) authored
Added the ability for you to check into a shift by passing the shift ID. If you sign in you should know who the employee is and what shifts they work that day. The methods sign you in if you sign in over five minutes early or over five minutes late, in which case you must talk to a manager and they should change your shift to the hours worked. Also, added a function for calculating the number of hours worked.
-
Rafi Zereselasie (raz070) authored
-
Rafi Zereselasie (raz070) authored
-
Rafi Zereselasie (raz070) authored
-
Rafi Zereselasie (raz070) authored
-
Rafi Zereselasie (raz070) authored
-
Rafi Zereselasie (raz070) authored
-
Rafi Zereselasie (raz070) authored
-
- Mar 17, 2022
-
-
Rafi Zereselasie (raz070) authored
-
Rafi Zereselasie (raz070) authored
-
Rafi Zereselasie (raz070) authored
-
Rafi Zereselasie (raz070) authored
Client now supports receiving position messages from the server. Cleaned bug that stopped timeOff requests from updating locally.
-
Rafi authored
Added functionality for availability and requesting time off to the app. The app needs at least one employee in the database to run. Make sure to open the sql file in the repo drop your current table and execute everything from "create database" to the end of the availability table.
-
Rafi authored
Moved to new package for server files. Updated UserThread and DataBaseQuery to work with the both Availability and TimeOff classes.
-
- Mar 15, 2022
-
-
Rafi Zereselasie (raz070) authored
-
Rafi Zereselasie (raz070) authored
Employees table now captures the email, phone number, isManager, and wage. Shift table now captures the availability of the shift. Updated parsing so all employee and shift details are separated by commas.
-
Rafi Zereselasie (raz070) authored
-
Rafi Zereselasie (raz070) authored
-
Rafi authored
-
Rafi authored
-
Rafi authored
Added a remove all shifts by employee id method to the Schedule class. Now when an employee is removed there shifts are deleted first from the database then they're deleted after.
-
Rafi authored
-
Rafi authored
Refactored updates so when changes are made to the database, a message will be broadcast to update there local copy with the specific change rather than send the entire list of staff or schedule.
-
Rafi authored
Made changes to the Schedule class methods to return data that the client needs to update there local copy. Cleaned up some spacing and variable names for consistency. Cleaned up all the warnings.
-
Rafi authored
Refactored how updates are handled, now when there is a change the client is told to update there local copy with the specific change, rather than resend either the whole list of employees information, or the whole list of shift information. This change to updates should make changes to the staff or schedule more efficient especially when there are multiple clients. In coming data from the server is now stored in HashMaps where the key is either the shift or employee IDs, and the value is of Shift or Employee classes. All the methods in this class were made to help with these 2 changes. Cleaned up warnings.
-
Rafi authored
-
Rafi authored
Changed the employees and shift collections from both being ArrayList<String> to HashMap<Int ID, Employee> and HashMap<Int ID, Shift> respectively. Refactored all methods that used the old employee and shift collections. Cleaned up some warnings.
-
Rafi authored
Implemented Employee class to make it easier to get employee data, handle changes to database, and for testing.
-
- Mar 14, 2022
-
-
Rafi Zereselasie (raz070) authored
-