82b95c3018
referenced the new Minified resources in the html pages.
...
#65
2017-03-18 23:06:58 +00:00
37b3ea9110
added the new minified resources.
...
#65
2017-03-18 23:06:22 +00:00
d1f03ac8b3
added Minify.bat and MinifierConfig.xml to specify the files and their required outputs to minify using AjaxMinifier.exe
...
added build event to run AjaxMinifier with the correct arguments.
#65
2017-03-18 23:05:24 +00:00
f72ee9c794
add viewmodel methods for disabling/enabling controls in conditions:
...
disable group in dropdown using getCurrentGroupFilter()
enable clear filter button if the user has selected a group filter, or search term has been entered.
changed users route to compensate for an undefined groupId.
#64
2017-03-18 16:21:14 +00:00
d97343409c
--- Admin.html ----
...
remove hide link on groups form.
fix widths of columns for "User Count" and delete button.
--- admin.js ----
removed unused params from methods.
removed auto adding a blank group item to form on startup (assign null/hide form on load).
fix issues with page flickering in certain conditions (on group delete).
#64
2017-03-18 16:14:20 +00:00
8d51f3545f
change bootstrap files to use v3.3.7 instead of v4 (for intellisense purposes only)
2017-03-18 16:11:13 +00:00
550b15a2f9
implement group filtering.
...
when going to the overview page, the groups will be retrieved, populating the dropdown list of group filters.
#64
2017-03-17 23:56:12 +00:00
6034d55f03
fill the group filter drop down with the list of groups.
...
disable drop down option if it is applied.
#64
2017-03-17 23:54:54 +00:00
4e3319ef69
implement GetUsers with a groupId filter applied.
...
implement GetGroup by Id method.
#64
2017-03-17 23:53:47 +00:00
eb239d0458
add code in to handle group filtering.
...
if a groupId is present, then get the user list by the group Id.
#64
2017-03-17 23:53:02 +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
88b62a23a3
moved processRequestFailure and other multi-use methods into Helpers.js
2017-03-17 22:38:33 +00:00
398e61a36d
set the Name/UserCount data fields to be vertically aligned.
...
add delete button/link to each group.
#30
2017-03-17 22:37:59 +00:00
ce6ac53e8f
move goToMenuOption to Helpers.js
...
fix refresh groups list issue when groups are deleted/edited etc.
added ajax delete to delete the group from the db when delete is clicked on ui.
group form is hidden on new page.
#30
2017-03-17 22:35:03 +00:00
62e2aa1136
implement delete group api method.
...
#30
2017-03-17 22:32:18 +00:00
631c205f1a
add no caching attribute for group data.
...
change UpdateGroup method so that it can create a group as well as update it.
#30
2017-03-16 23:06:49 +00:00
33f1769d66
implement sql to get the AssignedUserCounts from the db.
...
change UpdateGroup to convert Group object to GroupDb for database update.
#30
2017-03-16 23:05:52 +00:00
7564127c18
implement the create/add button.
...
#30
2017-03-15 23:23:50 +00:00
3945789ee6
added editGroup endpoint.
...
added goToMenuOption function to enable navigation and posting (edit, create etc, on the homepage).
created submitGroupEdit function to post the changed/new object to the server.
#30
2017-03-15 23:16:17 +00:00
f27a124751
create add button to enable an expanding side panel to edit/add groups to the system.
...
add button to hide side panel.
#30
2017-03-15 23:13:17 +00:00
8b8bd9e808
include files.. trying to pop the stash.. can i hell.
...
#30
2017-03-14 22:50:17 +00:00
05436c2faf
return GroupList from GroupController
...
#30
2017-03-14 22:46:20 +00:00
3e4a6839ee
create GroupList object.
...
#30
2017-03-14 22:45:50 +00:00
0cbc9dffbb
index on AddUserGroups-#59: 1e01271 add doctype tag.
2017-03-14 22:40:28 +00:00
1e01271276
add doctype tag.
2017-03-14 22:38:10 +00:00
dc80fd9ba4
stubbed GroupController to include Update and Delete endpoints
...
#59
2017-03-09 16:05:01 +00:00
6cddabba38
removed unnecessary code.
...
#59
2017-03-08 16:56:26 +00:00
ae3ffdfc27
fix missing argument in procedure for getting user groups.
...
#59
2017-03-08 16:55:39 +00:00
c35c47f092
added getGroups endpoint definition.
...
added getGroups function to retrieve a list of groups from the API.
made sure new user page gets the groups and stubs out the Groups object for use later on.
#59
2017-03-08 16:30:01 +00:00
090c2ddead
added group section to the UI, binding to the Groups array in the user object returned by the api.
...
#59
2017-03-08 16:28:50 +00:00
4e8b988ac5
add GroupController to proj.
...
#59
2017-03-08 16:28:16 +00:00
cf3a099314
created/padded out the GroupController to simply Get and Create groups.
...
#59
2017-03-08 16:28:06 +00:00
b4eb179c8f
implemented the CreateGroup, GetGroups, UpdateGroup, DeleteGroup methods.
...
updated GetUsers and GetUser to populate the User object with groups list.
modified UpdateUser to link the User to the Group items in the DB
#59
2017-03-08 16:27:31 +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
a23bec7a5d
added files to proj
...
#59
2017-03-08 16:24:20 +00:00
4a9a526e36
Add Joining table object to link users to groups.
...
#59
2017-03-08 16:23:57 +00:00
d2ff905afd
create GroupDb object to hold group information
...
#59
2017-03-08 16:23:14 +00:00
fae6ca3244
Add Process.Start call to start browser on start (hardcoded to the 8800 localhost port and is for debug only)
2017-03-06 14:59:20 +00:00
d36645de2b
Change FavIcon to a content resource type - from Resource. Will now copy to output dir.
...
#61
2017-03-06 14:58:36 +00:00
72799981b6
moved the string update sql statement to a constant with the other procedures in SQLiteProcedures
...
#56
2017-03-03 21:48:09 +00:00
abf8833ba6
add UI display for LastUsed property to show the LastUsed time on the UI with the UniqueId.
...
format the date at the same time
#56
2017-03-03 21:41:48 +00:00
d41b5c528c
change SQLiteRepository to update last used property against the Identifiers in database (CardUniqueId table).
...
updated LogEventTime method to update the last used time in the db.
changed LogEventTime method to not store timelogs against unassigned cards.
updated GetUnassignedIdentifierList method to populate the Identifier LastUsed property.
#56
2017-03-03 21:39:31 +00:00
d55a1ed817
add LastUsed property
...
#56
2017-03-03 21:36:22 +00:00
0f7c4e62ad
Add property LastUsed
...
#56
2017-03-03 21:36:02 +00:00
50e9d3d182
correct data binding for LastEventDateTime property
...
added method to convert the datetime to a display format.
created padNumber to ensure numbers below 10 get shown as two digits.
#53
2017-03-03 20:48:12 +00:00
b0b1fd4576
Refactor code to simplify methods.
2017-03-03 13:01:31 +00:00
7110e3e2fe
add data bound tooltip to show the last event date time when hovering over the In/Out indicator
...
#53
2017-03-03 13:00:49 +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
309e8c093d
added sqlite test data db
2017-03-03 12:57:52 +00:00
a367cc1375
Merge remote-tracking branch 'origin/ChangeTimeDisplayUnits-_58' into Release0.1.5
2017-03-03 10:23:26 +00:00
bb1eeed231
reference ConfigurationHandler and update calls to get configurations.
...
removed ConfigMonitor.cs.
#54
2017-03-02 22:04:58 +00:00
bd54511d70
remove ConfigMonitor project.
...
#54
2017-03-02 22:01:46 +00:00
4a976f59f4
create ConfigurationHandler project to retrieve configuration settings from the app.config
...
#54
2017-03-02 22:00:25 +00:00
4e0a299fc5
changed convertToHours to split hours and decimal minutes into two parts.
...
calculating the minutes of the hour for display e.g.: 6.5 hours would be 6 hrs 30 mins.
#58
2017-03-02 20:26:06 +00:00
44b8012b27
try pulling ConfigMonitor into the same project to get it to work.
...
doesnt appear to work so parking it for now.
#54
2017-03-02 20:00:38 +00:00
a424260409
add ConfigMonitor instance to monitor the app.config for changes
...
#54
2017-03-01 16:52:19 +00:00
e9839fb19e
reference ConfigMonitor project
...
#54
2017-03-01 16:51:58 +00:00
e246c2e47c
Add ConfigMonitor instance to refresh/reload the config when it changes.
...
Added logger reference to increase logging around start/stop commands of the service.
#54
2017-03-01 16:51:44 +00:00
40d4d7b1f7
reference the ConfigMonitor project
...
#54
2017-03-01 16:50:38 +00:00
7501ca52fe
create ConfigMonitor project to actively monitor the app.config file.
...
#54
2017-03-01 16:50:17 +00:00
4ca281d826
changed version number of installers to 0.1.4.0
2017-03-01 09:20:07 +00:00
68af89f17a
remove unnecessary knockout binding root tag
...
#48 #45
2017-02-28 20:15:50 +00:00
7af17661f5
change about link to be a menu option in the top.
...
would be better as a menu option on the top right, rather than in with the menu top left, but I cant figure out how.
#48 #45
2017-02-27 22:09:15 +00:00
0ce9626622
added BugSubmissionEmailAddress config for gitlab bug email.
...
#48
2017-02-27 16:54:04 +00:00
be6a529afb
Add modal 'about' dialog, databind to appDetails observable.
...
triggered off an about button in the navbar.
#48
2017-02-27 16:53:29 +00:00
c8c915d4e6
Added getAppDetails function to retrieve the application details object from the api.
...
Added getAppDetails endpoint to apiEndpoints object.
Set Homepage (users) to get the appdetails if the appDetails observable returns null.
#48
2017-02-27 16:52:41 +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
e4724f2d3e
Merge branch 'DefaultUserSorting-#52' into Release0.1.4
2017-02-27 15:17:29 +00:00
63a96e77cf
Merge branch 'HomePageIndicator-#47' into Release0.1.4
2017-02-27 15:17:11 +00:00
e41f15eec8
reformat/reorder SQLiteProcedures file.
2017-02-27 15:16:23 +00:00
66def93ff1
added the order by arguments for GET_ALL_USERS_PAGINATE and GET_ALL_USERS procedures.
...
this will now order the users by LastName, then FirstName in alphabetical order (startint with a).
#52
2017-02-27 15:15:54 +00:00
eb1cb7a1b4
change in/out formatting to make uniform width
...
#47
2017-02-27 14:54:21 +00:00
e17568bdc5
update the html page to show the IN/OUT state as per the UI suggestion on the issue. Will conditionally show IN (green text)/OUT (red text) based on whether the system reports the user to be in or out.
...
#47
2017-02-27 10:25:31 +00:00
e4f987cc0b
add GetUserState to decide whether the user is currently In or Out.
...
#47
2017-02-27 10:24:23 +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
978744896f
add data binding and labels to display the user name on the TimeLog page.
...
#46
2017-02-24 22:20:58 +00:00
49235288d7
add implementation of the UserInformation property to populate it with the deftails for the given User
...
#46
2017-02-24 22:17: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
6f9966e426
Merge branch 'InvestigateUnassociatedCardsGapBehaviour-_41' into Release0.1.3
2017-02-23 21:03:49 +00:00
fa38512c9a
change code to only check the time log gap if the card is associated to a user.
...
This will ensure that multiple new users swiping their cards will definitely be added to the system.
#41
2017-02-23 21:02:37 +00:00
ded664cdd0
corrected rounding issue so that UI will always show hours/mins (3:32 hrs) to two dp.
...
#43
2017-02-23 20:54:46 +00:00
4025663db9
Change table column titles,
...
add data-binding for Contractor boolean to show a tick on the UI
#44
2017-02-23 21:38:40 +01:00
1560623460
Merge branch 'APIUI500Error-#39' into Release0.1.3
2017-02-23 17:04:07 +00:00
6e11ca0d2c
Merge branch 'ChangeCardServicePort-#40' into Release0.1.3
2017-02-23 17:03:50 +00:00
09e74af168
add dispose for reader in monitor event. to prevent memory leak.
2017-02-23 17:03:14 +00:00
1be6465901
change port to default 8800
...
#40
2017-02-23 17:02:18 +00:00
9fa97e2fc9
added extra logging to trace blocked swipe data events.
...
#39
2017-02-23 16:56:10 +00:00
caa7408465
add mapping for ManuallyPostData method (housekeeping)
...
correct 20 minute swipe event blocker and change to 3 min.
2017-02-23 16:55:13 +00:00
71bb5b70af
update ninject packages to fix 500 internal server error.
...
removed dependency resolver configuration line, seemed to be duplicating bindings.
#39
2017-02-23 16:54:15 +00:00
67eed43160
fix ticks property for SwipeTimeGap.
...
#36
2017-02-22 22:47:38 +01:00
f5513ce122
change all versions to 0.1.2.0
2017-02-22 22:31:31 +01:00
0e1e23a770
create GET_LOGS_IN_LAST_X_MINUTES procedure.
...
implement logs in last x minute check.
can be configured from app.config file using "SwipeTimeGap" configuration. defaults to 3 minutes if configuration is not there.
#36
2017-02-22 21:17:53 +00:00
4c18778a79
remove test error message code, plus some additional tidying, removing old comments.
...
plus removed unnecessary menu options.
#38
2017-02-22 20:53:10 +00:00
b8cd5792cf
Set the default page size to a config value - "DefaultPageSize", defaults to 10 if the config value is missing.
...
#37
2017-02-22 20:43:48 +00:00
eb7736bafa
add Ninject.Extensions.Xml to the installer components.
...
add Ninject.Extensions.Xml to the packages list for CardReaderService.
add NLogConfigFilePath configuration setting to the App.config file.
added extra logging around Ninject loading.
#34
2017-02-22 13:19:39 +00:00
dbd400dbb1
add start service on install component.
...
made conditional based on STARTSERVICEONINSTALL property (defaults to false).
#24
2017-02-19 21:05:52 +00:00