9 Commits (65c7bb6b3fdf920282c1c3f8005dca0853142890)

Author SHA1 Message Date
Darksider3 65c7bb6b3f Move argparser into mains function body 5 years ago
Darksider3 389b614de9 Revert "ListUsers: UAP and APP renamed, function updates /home/users.txt"
This reverts commit 84cc83db3c.
5 years ago
Darksider3 84cc83db3c ListUsers: UAP and APP renamed, function updates /home/users.txt
On every register() call the System rewrites the /home/users.txt to
reflect currently active users. Will fall apart when something
unexpected happened, but that's @helix responsibility.
5 years ago
Darksider3 c46adc2849 editUsers: Description, remove username change and so on 5 years ago
Darksider3 fb9a98fb81 Edit: Did delete, but here it is back!
It can now create users on disk, delete from disk(by changing the
status), change everything that really matters, except the username yet
5 years ago
Darksider3 eb6f3da3d7 System: Account for userdel returning 6 on success...
just because it couldnt delete the users mail.
5 years ago
Darksider3 fb7544bd8c edit: Added Name, email and first steps for status changes 5 years ago
Darksider3 84431bda1d Edit: Sceleton, Interface and first argument
The sceleton for the interface and it's first possible argument are
finished, so a users pbukey can be changed now without touching the DB
itself directly.

Checking for users existence and the presence of options/arguments is
done beforehand and will throw out when nothing useful got delivered to
the script.
5 years ago
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