Commit Graph

39 Commits

Author SHA1 Message Date
e7b7538986 Merge branch 'BundleInstaller' into Release0.2 2017-04-15 20:30:13 +01:00
Watts
54b6094a43 added debug and release installers build configuration to projects/solution to enable building installers in a complete/single step, to save building them individually. 2017-04-15 20:21:28 +01:00
Watts
4f4d247dc6 Add Log Source Identification to determine if a log has been created/updated from the UI/Other Applications
#29
2017-04-12 22:00:08 +01:00
Watts
a3432e0281 Add the methods necessary for updating/creating and deleteing logs
#29
2017-04-12 21:58:17 +01:00
119c60a0be update all dll versions to 0.1.5.0 2017-03-19 07:57:35 +00:00
290cad75c5 add GroupFilter property for UI drop down etc to show the active/applied filter
#64
2017-03-17 23:51:36 +00:00
199c5e965a extend interface to retrieve a single group by Id.
extend GetUsers to accept a groupId parameter.
#64
2017-03-17 23:50:37 +00:00
3e4a6839ee create GroupList object.
#30
2017-03-14 22:45:50 +00:00
a047c20aea removed old getUSers method.
Added CreateGroup, GetGroups, UpdateGroup, DeleteGroup methods.
#59
2017-03-08 16:25:59 +00:00
ca5a5ca4cb Created Group object.
added Group list to User object for UI to bind to in order to show list of associated groups etc.
#59
2017-03-08 16:25:20 +00:00
0f7c4e62ad Add property LastUsed
#56
2017-03-03 21:36:02 +00:00
69f3e502e0 Add LastEventDateTime property to User object
Add Code to populate the LastEventDateTime property in SQLiteRepository - getting the last TimeLogEvent datetime. will return min value if no logs available.
#53
2017-03-03 13:00:01 +00:00
6f3c5931f4 created ApplicationController which returns an AppDetails object with the properties filled.
#48
2017-02-27 16:48:44 +00:00
f4e8f0a76f updated the AssemblyInfo properties to be the right version. 2017-02-27 16:47:51 +00:00
cb6c595c8c created AppDetails object
#48
2017-02-27 16:47:16 +00:00
63a96e77cf Merge branch 'HomePageIndicator-#47' into Release0.1.4 2017-02-27 15:17:11 +00:00
07bcb40315 Added state to User object to support UI showing whether the user is in or out.
#47
2017-02-27 10:23:33 +00:00
0c88194db4 add new property to TimeLogList object to contain the user details - UserInformation
#46
2017-02-24 22:13:44 +00:00
f5513ce122 change all versions to 0.1.2.0 2017-02-22 22:31:31 +01:00
78acd50ba6 added rounding for WeeklyTotal to 2DP
#15
2017-02-15 20:48:19 +00:00
59e27c2991 Flatten the TimeLogsList object.
put DayOfWeek and Day into the DailyLogs object to help flatten.
changed GetTimeLogList to return List<DailyLogs>.
#15
2017-02-15 16:51:19 +00:00
8756964f0b add get user contracted hours procedure to supply the TimeLogList object HoursPerWeekMinutes property.
started databinding the timelogs page.

#15
2017-02-14 22:50:47 +00:00
1a130b464d ignore csproj.user files.
add missing DailyLog.cs reference file to proj.
2017-02-14 21:03:02 +00:00
69aaf53bb4 Added method to calculate the daily logs.
extended TimeLogList object:
 > to group logs into days with the "DailyLogs" object
 > to calculate the WeeklyTotal hours automatically based on the TimeLogs.DailyLogs object for each day.

Created DailyLogs object:
 > holds the number of entries for a day.
 > holds the time "in"/"at work" for that day (dailytotal).

#15
2017-02-14 17:06:16 +00:00
cdac61b18d added pagination to the repository GetUser method.
added pagesixe to userlist object.
added total user count to enable PageCount to work correctly.
added GET_TOTAL_USER_COUNT and GET_ALL_USERS_PAGINATE sqlite procedures to support pagination.
updated methods in SQLiteRepository to support pagination procedures and pagination properties of UserList.
updated UsersController to support pagination parameters.
tidied html script tags.
added pagination buttons at the bottom of user page. including drop down to select PageSize
added setPageSize, goToUserPage and setPagination methods to the viewmodel.
updated other methods for sammy etc to work with pagesize and PageNumber params.
#11
2017-02-12 22:26:00 +00:00
19b718a946 changed IRepository to accept a DateTime for the arg, instead of an int for calendar week/year.
added SelectedDate to the TimeLog object.
changed the timelog controller to accept a datetime as an arg, instead of the previous calendarweek/year args.
This kills two birds with one arg.
Changed the goToTimeLogs function to accept an args object to allow passing of datetime SelectedDate parameter.
removed console.logs to tidy code a little.
corrected some "undefined" parameter bugs/errors.
#5
2017-02-10 12:07:02 +00:00
760f37b14b added manuallog object to allow users to create a sign in/out log for the swipedatacontroller log. 2017-02-09 21:36:22 +00:00
e3207fa684 proj update for ILogger interface. 2017-02-09 16:30:01 +00:00
b3a8530bf1 added ILogger interface to support a logging output for errors etc.
gitlab issue: #9
2017-02-09 16:26:42 +00:00
34665985a5 added TimeLogCount 2017-02-08 22:22:49 +00:00
3d64fc90ff created enum for LogDirection (in, out or unknown) added extra parameters to TimeLog to provide sufficient data on the log event.
renamed TimeLog to TimeLogDb, to create a database Entity.
2017-02-08 22:19:58 +00:00
e2859f12f8 added out param to return created time log id. 2017-02-08 22:14:12 +00:00
29cc798097 added out param to IRepository to return the UserId of the user that has been created/updated. 2017-02-07 17:20:37 +00:00
0bb6c8bc08 corrected uiPages method to return correct home endpoint.
changed references to User.Id to User.UserId.
added relativePath option to createRequestUrl(..).
added documentation to returnButtonClick and createRequestUrl methods.
changed initDatePicker to have separate assign handler method to make code simpler.
changed all URL references to relative urls, no longer JSONP/crossdomain compatible.
tidied code.
added query parameter to home/users page.
added search getJson method.
changed all property names to match the WebApi endpoint.
added js to conditionally highlight the datepicker row on hover.
changed script and css references to proper CDN urls.
tidied html.
added form for querying user list.
UserController will conditionally choose to GetUsersList or Search, based on Query Parameter.
Add search method to IRepository
Implement Search method on IRepository interface
added search procedure to SQLiteProcedures
added Query property to UserList to allow UI to display the last filter/query parameter.
2017-02-06 22:18:09 +00:00
e60c1f55bb add TimeLog initialiser. 2017-02-06 22:05:50 +00:00
7596eb7d3f #4 Added IsContractor flag to the UserIdentity and User Object, the Api will now relate that status to the output object. note, notimplemented in the UI yet to control this flag. 2017-02-03 12:39:38 +00:00
4ac6b2475b Added initialisation for User object to set First and Last names to an empty string.
removed line to check if user id is valid, as when creating a user id, it will be -1....
2017-02-03 12:21:21 +00:00
440c1f44ce Added IRepository comments.
Changed oder of response codes.
changed HoursPerWeek to use float not int.
Changed AssociatedIdentifierCount to use count property on AssociatedIdentifiers instead of needing to populate separately.
Changed UserCount in UserList for the same reason.
Added Users list initialisation to prevent null ref exception.
overrode Equals and GetHashCode to allow use of List.Except method. (tests show without this, Except is useless).
2017-01-31 21:57:21 +00:00
1ad53fbe76 Added Interfaces project which holds everything required for the IRepository Interface 2017-01-31 17:24:16 +00:00