Commit Graph

13 Commits (710ceacd7c0b6a4ba608d8185fba7d389fff0e06)

Author SHA1 Message Date
Darksider3 710ceacd7c Breaking up the code smell regarding the CFG.py!
It began smelling already but having some duplicate code across the
interfaces is still better than having all of it all over the place.

It enables to write specific flags which are nice to have. For example,
Import.py requires the --Import flag because it WANTS the user to read
the whole Help before it acts actually as an importer. When the user
supplies something they should know what's currently happening.

Also removes the hardcoded dependency on lib.CFG-Calls from most calls
which was already embarassingly present. Introduced some db and
cfg-variables which doesnt clutter anything but suck much less.

In future we provide a set of default arguments and a bare minimum -
config_ui as the bare minimum, default as the full blown storm.

This is rather big because it also patches several other smells
including a bug where a user from the db wouldnt be reported as existent
5 years ago
Darksider3 934b6bf75a Factor out 'as CFG' 5 years ago
Darksider3 cdc72a30f4 Factor out REG_FILE 5 years ago
Darksider3 04d95c2d08 realign layout 5 years ago
Darksider3 290e72f159 Add various documentation to the System class and sqlitedb-Class...
... which are all written in rst-format, which sphynx understands and has
an own formal specification in  http://docutils.sourceforge.net/rst.html
5 years ago
Darksider3 d413662b36 Adds ability to delete users in db as well as on the system + type hints..
.... in function names for further documentation.
5 years ago
Darksider3 a984b14c37 Implement -f/--file option. Defaults to stdout 5 years ago
Darksider3 6e86bf11bb -a Flag: default false, do action on only approved users 5 years ago
Darksider3 cab4cd25a2 Well, that alternative view rocks hard... 5 years ago
Darksider3 b368ea058c huh, that already looks close to good... o.o 5 years ago
Darksider3 f06d4fa945 first steps towards real listings! 5 years ago
Darksider3 3915843943 introducing the -u flag, which turns on the 'unapproved' mode.
Oh, and just testing it in ListUsers.py :)
5 years ago
Darksider3 2eeeebdacb Add sceleton for listusers.py 5 years ago