Commit Graph

23 Commits

Author SHA1 Message Date
KevinMidboe 0318202aa5 Added so you can add to cmd prompt if you want to filter out all other names than the name specified. 2017-02-10 23:36:16 +01:00
KevinMidboe 1664a56bd7 Removed long in 'int, float' 2017-02-10 18:47:31 +01:00
KevinMidboe a8756fde64 Merge branch 'master' of github.com:KevinMidboe/homeChecker 2017-02-10 18:42:06 +01:00
KevinMidboe 3e02f7ad62 Updated to db 2017-02-10 18:41:19 +01:00
KevinMidboe 35854a52f4 Added check for when time is not defined yet (NULL) 2017-02-10 18:40:38 +01:00
KevinMidboe 7897119322 Added a script for quering server, should not be in project really. TODO: DELETE THIS 2017-02-10 18:26:03 +01:00
KevinMidboe 33539e7737 Created homeSender for com with others on the network, this will be changed! 2017-02-10 18:24:10 +01:00
KevinMidboe 751e408b12 More changes to formatting of decimals 2017-02-10 16:55:13 +01:00
KevinMidboe a5c16b88c9 Changed so that time added to db only has two decimal points. 2017-02-10 16:44:43 +01:00
KevinMidboe b61ae873f1 Forgot to change back the adr of UPDATE sql function to be dynamic to content of online, not a static value. Also removed conn.commit for function where only selects, not update or add. 2017-02-10 16:42:35 +01:00
KevinMidboe cce64669f2 Changed the print function when adding/updating the db 2017-02-10 16:39:14 +01:00
KevinMidboe f1337c9511 Added return statement for updateTimes() 2017-02-10 16:36:36 +01:00
KevinMidboe d685783290 Passed 'c'/cursor to getAddr from updateTimes() 2017-02-10 16:34:44 +01:00
KevinMidboe 7037832598 Fixed pprint import 2017-02-10 16:32:58 +01:00
KevinMidboe a483dc543a Added pprint to main() call functions 2017-02-10 16:31:19 +01:00
KevinMidboe 0b71e6f5f8 Added a check for if 'arp-scan' is able to run, and added run functions 2017-02-10 16:29:36 +01:00
KevinMidboe 8871359085 Created the logic for saving and fetching times. 2017-02-10 16:19:46 +01:00
KevinMidboe 7e0f60996d Added som test for querying the db. 2017-02-10 14:18:03 +01:00
KevinMidboe cef5a369d3 Created two tables, 'clients' with MAC adr to track with matching names and 'lastonline' as a table for logging time matching a MAC adr. 2017-02-10 14:17:30 +01:00
KevinMidboe 657e95ef31 Added a gitignore for times.txt 2017-02-10 12:52:00 +01:00
KevinMidboe ed6df7a7dd Merge branch 'master' of github.com:KevinMidboe/homeChecker 2017-02-10 12:47:51 +01:00
KevinMidboe 479b203d3d Initial commit 2017-02-10 12:47:29 +01:00
KevinMidboe 69215b7e4c Init commit 2017-02-10 12:43:24 +01:00