Darksider3
8008fa36b9
General overhaul, better messages, ordered imports etc
5 years ago
Darksider3
32c6ea7e07
System: Rename aio_register to aio_approve.
5 years ago
Darksider3
f31117e940
System: aio_register, performs all neccessary steps to create user...
...
BUT will NOT catch ANY exceptions. Therefore the caller script itself is
REQUIRED to catch.
5 years ago
Darksider3
05f27078f6
System: Refactors username given in constructor
...
deleted all references and added one class which accepts to set a
username
5 years ago
Darksider3
b4d4fd9ad4
System: Improved return calls at remove_user
5 years ago
Darksider3
0eeafa626e
Documentation work all over the place
...
Renamed also some paramters
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
6ea679cb60
System: userdel returns 6 when no maildir is deleted but homedir is
...
So we agree on that one!
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
7786df3761
System: Introduce function to write just write the auth file
5 years ago
Darksider3
a1563116f6
Renamed SSH-Exception
5 years ago
Darksider3
8274cbb27e
unregister() is just a different word for removing
5 years ago
Darksider3
96c403a3d9
Introducing own Exception classes to distinguish between possible System errors
5 years ago
Darksider3
e0efeee67d
Better error handling, just hang a freakin' / to ssh_dir if it got screwed up
5 years ago
Darksider3
43c7636920
Make PEP8 finally happy
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
a6d63fee42
PEP8: One Import per line... -.-
...
Add TODO statements and foremost return False on error. Missed that
5 years ago
Darksider3
c43cad73fa
Print Error messages to stderr instead of standard-out. Makes very much sense indeed!
5 years ago
Darksider3
89faf57b58
System: Still a lot @TODO here, but add it. Should(TM) work, but didn't
...
test it yet and also have to do a whole lot more. e.g. write out in dry-mode
which commands are getting to run in serious-mode but build up together
correctly in the correct order
5 years ago