Commit Graph

53 Commits

Author SHA1 Message Date
3787021ffe Add function to get lock/unlock status of a door 2018-09-18 14:05:06 -04:00
7ae175baf0 Convert to lxml instead of xml.etree 2018-09-18 14:05:06 -04:00
48333d1e6d viewer: add basic buttons to lock/unlock front door 2018-09-18 14:05:06 -04:00
1f5acb1a91 MembershipWorks: Get org number from login data 2018-09-18 14:02:58 -04:00
a1d2bbd842 Fix _id to uid variable name in MembershipWorks private API 2018-09-18 14:02:34 -04:00
852e8a51e8 ucsAccounts: Add groups for certifications, door access, membership level, and volunteer type 2018-08-14 14:51:48 -04:00
deddf1605a membershipViewer: Add search, try not to expose too much information 2018-08-13 16:27:15 -04:00
848520f327 Use absolute path for config.json 2018-08-13 15:46:00 -04:00
7650ff4179 Change Storage Closet to Front Door
The physical controllers got moved, this was easier
2018-08-13 12:32:45 -04:00
8ea028f400 Add doorUtil.py which is sendSchedule and some other stuff 2018-08-13 12:32:04 -04:00
207c36a147 doorUpdater: Add support for the "misc access" folder in MembershipWorks 2018-08-07 18:33:12 -04:00
cec414ca36 Fix indentation, update props, allow for updating existing accounts
should have split these up, but messed up indentation, and too lazy to
fix right now
2018-07-20 11:45:45 -04:00
4b5040599c ucsAccounts: Add script to populate UCS domain controller from MembershipWorks 2018-06-22 17:56:45 -04:00
6048990ea9 membershipViewer: Add basic front desk web page thingy 2018-06-21 15:58:09 -04:00
c0d7ef4f86 Move getMembershipworksData to common.py
for use in members web list
2018-06-21 15:58:09 -04:00
a6191a5b38 doorUpdater: Force consistent order of member levels 2018-06-21 15:56:27 -04:00
a9df94a5ad Temp logging of csvs to files 2018-06-12 01:42:17 -04:00
cbc049ce68 doorUpdater: Sort MembershipWorks CSV by last name
so that output CSVs might be more consistent
2018-06-10 23:58:05 -04:00
8b598fd8b9 Bump CSV import timeout to 60 sec
new firmware is slower I guess
2018-06-10 22:55:49 -04:00
b17a19b570 doorUpdater: Add debug string when updating door 2018-06-10 22:52:31 -04:00
167e254d15 sendSchedule: fix doImport -> doCSVImport 2018-06-03 14:27:13 -04:00
e93bccb78e common: add missing import 2018-06-03 14:26:58 -04:00
4a0df699c8 doorUpdater: Update hashes for each door as they complete
instead of all at once
2018-06-03 14:24:46 -04:00
8e82caea0f doorUpdater: Change "Rental Studio" to "Studio Space"
because legal stuff
2018-06-03 14:16:32 -04:00
71d3f9ecea doorUpdater: Do hashing on output csvs instead of MembershipWorks input 2018-06-02 14:39:55 -04:00
3df228afd5 doorUpdater: Allow people to have multiple schedules 2018-06-01 14:00:27 -04:00
e9ce04e3cd events: remove formatMessage
will be added back as web viewer
2018-06-01 13:57:14 -04:00
b1cf735bf0 events: Make it work on multiple doors 2018-06-01 13:56:46 -04:00
d62f0c16ab events: Move into main() method 2018-06-01 13:51:50 -04:00
07a7de5227 events: Get only needed records, write to file 2018-05-27 17:44:00 -04:00
aad4de1159 Move config into config.json 2018-05-27 17:17:36 -04:00
0fb1b7481b event: move message formatting into a function, use defaultdict 2018-05-14 22:53:26 -04:00
fc29f1a2e6 events: rename input/output XMLs for easier reading 2018-05-14 22:43:46 -04:00
8eb4d2035e events: Add an unused function to parse message strings from source 2018-05-14 22:37:48 -04:00
db774e2f73 Move namespace registration to common.py 2018-05-14 22:36:24 -04:00
8a63c64917 Merge XML requests into common.py 2018-05-14 11:23:25 -04:00
5f30998131 doorUpdater: Add member level to Custom1 field 2018-05-14 11:22:49 -04:00
0d95865c8b sendSchedule: Add clearing people DB
allows updating doors fully automatically
2018-05-12 09:50:12 -04:00
33c0857e1b Move CSV update functions into common.py 2018-05-12 09:49:51 -04:00
f3556f74a4 doorUpdater: Actually check for errors in response xml 2018-05-11 19:04:12 -04:00
82e9a9b037 Only write out hash if doorUpdater gets to the end of main 2018-05-11 19:03:29 -04:00
a22de02d3e Add hash checking to getMembershipworksData
to minimize unnecessary updates
2018-05-10 11:12:51 -04:00
c24ba626a7 Add shebangs and set executable bit on scripts 2018-05-09 21:26:20 -04:00
04e44c860c Add basic event puller 2018-05-09 10:12:02 -04:00
198cf59409 Increase door control communication timeout 2018-05-08 20:46:09 -04:00
c222a2198f Use "Access Card Facility Code" field 2018-05-08 20:46:09 -04:00
e443380153 Add check for "Account On Hold" 2018-05-08 20:46:09 -04:00
8dd7904c5f Add basic error checking on network requests 2018-05-08 20:46:09 -04:00
7a7f0a324b Don't use a session for getting membershipworks data 2018-05-08 20:46:09 -04:00
437503a5b1 Add some comments 2018-05-08 20:46:09 -04:00