fixed pagination where it wasnt rounding up so <x.5 would show not 1 page less than required.
fix issue introduced in last branch where group drop down/filter wouldnt work.
#51
Now use this "day:2" to add to the selected timelog date interval (the date of the monday of the selected week). To now calculate the period. This is then used to update the log date picker when manually creating a log.
#82
WIP - Adding save dialog to enter description of change, version, author etc.
admin.js
Added Markdown custom renderer
Added policy reload and policy save
# Conflicts:
# DataCenter_Windows/WindowsDataCenter/SQLiteRepository/SQLiteRepository.cs
# DataCenter_Windows/WindowsDataCenter/WindowsDataCenter/App.config
Merged Branch for linux work. Now Deploying Card Reader on RPI.
code has been split into smaller methods, and queries on db have been optimised to make fewer, larger queries than lots of small queries. (using IN sql queries).
restructured UpdateUser to be more logical which has reduced some of the complexity of the method.
When deleting unassociated cards, the system will ensure all timelogs associated to those Ids are deleted also.
CreateGroup will now not allow duplicate groups, but will return the ID of the existing Group found in the DB.
pulled out GetUserCount method to simplify the GetUsers method.
removed empty quotes in favour of string.empty
#95
add queries DELETE_TIMELOG_ENTRIES and GET_CARDS_BY_UNIQUE_ID_LIST that use the IN command.
this will delete all timelog entries where the ids exist in the list, or get cards in the db where the unique Id exists in the DB respectively.
GET_GROUP_BY_NAME is to be used for checking whether a group already exists on create and is designed to only return one record.
#95
removed conversion code from SQLiteRepository.cs in favour of new converters.
pulled out string queries from SQLiteRepository and moved to SQLiteProcedures.cs.
#95
The code will change in> out and vice versa when an entry is created or deleted from the UI.
Does not affect the automatic TimeLog system (swipe cards etc)
#89
Implement Clear Unassigned Card method to remove all cards/identifiers from the database not assigned to a user.
Add procedure to delete cards from the db.
#69
update assemblyinfo so that it uses static const properties.
Create 0.2 upgrade script.
Add code to repository class that will check version of the database currently being referenced. IT will then proceed to run upgrade scripts (in order) from the oldest to newest version on the database, before finally setting the db version number.
#85