Commit graph

14 commits

Author SHA1 Message Date
670aa3d9c3 Factor out CONF_FILE 2019-10-19 14:27:34 +02:00
cdc72a30f4 Factor out REG_FILE 2019-10-19 14:25:43 +02:00
77efb4b339 delete cfgparse again and get it going as it where before 2019-10-19 14:21:46 +02:00
8c3ac4060f Split CFG.py to private/lib/cfgparse.py 2019-10-19 14:04:19 +02:00
192e70e4a2 Seperate out even more, own dir for UIs
default UI is now in private/lib/uis/default.py
2019-10-19 13:57:00 +02:00
5c6ecaf627 Modularize CFG.py into CWD, default_cmd and cmd ui 2019-10-19 13:50:30 +02:00
b0856b558e Move import related stuff to the Import.py script.
and delete occurences in Import It is much tidier to look at and
doesn't clutter the Script. Is even a whole seperate task
so it does make no sense to call it in Backup when i think about it.
2019-10-17 11:57:29 +02:00
2202af7826 Introduce imports, which comes with a new flag(--Import)
--Import depends on --file being present pointing to a valid CSV-file
that contains unique users with id's. When a user already exists
with his id, the script will fail.
It is also Backup.py-only which is reflected in the help message
2019-10-16 12:37:54 +02:00
43c7636920 Make PEP8 finally happy 2019-10-13 21:12:17 +02:00
a6d63fee42 PEP8: One Import per line... -.-
Add TODO statements and foremost return False on error. Missed that
2019-10-13 17:54:24 +02:00
4134e3cc2e introduces -f/--file, which outputs or takes from a file(conditional to the current program) 2019-10-13 10:46:10 +02:00
6e86bf11bb -a Flag: default false, do action on only approved users 2019-10-12 19:25:11 +02:00
3915843943 introducing the -u flag, which turns on the 'unapproved' mode.
Oh, and just testing it in ListUsers.py :)
2019-10-12 12:26:16 +02:00
96837cebe3 Externalize CFG-Handling into lib/CFG.py.
Never write this code again!
2019-10-12 11:39:19 +02:00