Commit Graph

29 Commits

Author SHA1 Message Date
Stefan Midjich e4285430cf move format into variable for convenience. 2018-06-27 23:42:50 +02:00
Stefan Midjich bec77b9d92 I should have been more ashamed of this ljust madness than I was 2017-12-06 12:01:58 +01:00
Stefan Midjich 148d409d3b fancy 2017-11-20 23:06:52 +01:00
Stefan Midjich 9033a4d484 major rehaul of syncing clients to db 2017-11-20 22:46:15 +01:00
Stefan Midjich f8d2a410af sharing new portalclient plugins config 2017-11-20 10:58:21 +01:00
Stefan Midjich e6ad0f676f fixing use_sudo argument 2017-11-19 00:45:24 +01:00
Stefan Midjich c56ecc0d01 fixing the refresh action 2017-11-18 21:33:37 +01:00
Stefan Midjich bc0a9b851a comparing the wrong time here 2017-11-17 23:54:34 +01:00
Stefan Midjich e2b160a993 refactored client lib, so it can be used by the new portalclient module 2017-11-17 17:23:51 +01:00
Stefan Midjich 6a9fcb9f0c add sudo option throughout client lib 2017-11-16 23:56:15 +01:00
Stefan Midjich f56eb9a83d forgot to enable new clients 2017-11-16 22:26:57 +01:00
Stefan Midjich 4c9f133f9a storage.cfg is not necessary, moving to plugins.cfg to save on files and confusion. 2017-11-16 22:17:40 +01:00
Stefan Midjich b23468ed28 more verbose 2017-11-16 21:54:34 +01:00
Stefan Midjich 64acdd080f more verbose 2017-11-16 21:53:22 +01:00
Stefan Midjich 5b92fb2b5e forgot int 2017-11-16 21:46:05 +01:00
Stefan Midjich 3c69e4374f stdout no longer needed with check_output 2017-11-16 21:36:37 +01:00
Stefan Midjich 742cf01e86 try to do a purge as well for old clients with no traffic. 2017-11-16 21:10:25 +01:00
Stefan Midjich f821b1df5c increase ipset command timeout for cli tool 2017-11-16 18:39:01 +01:00
Stefan Midjich 54aa460191 increase ipset command timeout for cli tool 2017-11-16 13:59:01 +01:00
Stefan Midjich 70c0c3049a increase ipset command timeout for cli tool 2017-11-16 13:49:50 +01:00
Stefan Midjich eddb4c0ced subprocess.run does not work in python 3.4 2017-11-16 13:46:30 +01:00
Stefan Midjich 6f476223b5 Two major changes in this commit:
* Moving from iptables to ipset
	* Moving from python-sh to subprocess
2017-11-15 23:12:16 +01:00
Stefan Midjich a67d7f7a6d cleanup 2017-09-29 18:50:41 +02:00
Stefan Midjich 5370134b57 typos 2017-09-29 18:40:57 +02:00
Stefan Midjich 6130f0d746 forgot timedelta 2017-09-29 17:56:16 +02:00
Stefan Midjich 44625db697 added "expires" field to clients 2017-09-29 17:44:40 +02:00
Stefan Midjich 8ea6ae4f55 typo 2017-03-07 17:21:52 +01:00
Stefan Midjich 86a02d65e1 typo 2017-03-07 17:20:13 +01:00
Stefan Midjich 3059459915 merged three actions into manage_client.py 2017-03-07 17:15:39 +01:00
Renamed from tools/add_client.py (Browse further)