This website works better with JavaScript.
f803b1acb4
testcfg: Add genRandomString, which automates away a few cases
feature-test
Darksider3
2020-06-15 10:46:21 +0200
cabe14d41d
tests-ListUsers: Remove useless printing to dev/null
Darksider3
2020-06-15 10:45:08 +0200
c954940bec
tests: Adds verificator-tests & lib: __init__ file
Darksider3
2020-06-12 13:44:53 +0200
b4d52b5376
tests: lib.ListUsers tests done
Darksider3
2020-06-09 11:58:39 +0200
c79edbfc84
tests: backup: Even more! Now with deletion of tested tmp!
Darksider3
2020-06-09 10:46:36 +0200
3a6a92267b
tests: sample csv files for tests
Darksider3
2020-06-09 08:44:33 +0200
f201ab603d
tests: Add initial infrastructure!
Darksider3
2020-06-08 14:34:59 +0200
b8d4dac5da
Allow test directories in gitignore
Darksider3
2020-06-08 14:31:36 +0200
e2c2bcb0c2
import.py: Dont check for users existence while just sanitizing.
dev
Darksider3
2020-05-30 16:50:49 +0200
108492db3f
private/lib/Validator.py: Further code quality enhancements
Darksider3
2020-05-30 16:46:30 +0200
d2f99d95d0
sqlitedb.py: Refactor naming
Darksider3
2020-05-30 13:48:44 +0200
fb620447c7
config_ui: Always point out that the script can operate on the ENV
Darksider3
2020-05-30 12:22:09 +0200
b4bb45ef85
Import.py: Sanitize given csv in case --Import isnt given and...
Darksider3
2020-05-30 12:11:26 +0200
aae7504e13
ListUsers.py: Externalize class & rename some variables
Darksider3
2020-05-30 09:51:25 +0200
b5c11455d0
Backup.py -> backup.py, also some PEP conformity-changes
Darksider3
2020-05-29 05:41:57 +0200
633bfbe5c5
fix that fucking Dockerfile for good, thanks @dark
master
feature-admin-split
n1trux
2020-02-22 14:30:42 +0100
dd5b4043be
Merge remote-tracking branch 'origin/pr/4'
n1trux
2020-02-16 19:40:23 +0100
43a3dd81ac
Merge remote-tracking branch 'origin/pr/3'
n1trux
2020-02-16 18:14:52 +0100
df1d09a155
Forgot that message. x_X
Darksider3
2019-10-25 10:19:54 +0200
8008fa36b9
General overhaul, better messages, ordered imports etc
Darksider3
2019-10-25 10:17:39 +0200
32c6ea7e07
System: Rename aio_register to aio_approve.
Darksider3
2019-10-25 06:49:43 +0200
8d4d2038d3
Typing support and sqlite3.Row!
Darksider3
2019-10-25 03:03:47 +0200
84508820a6
ListUsers: Implement --user flag, rename --list to --list-asc
Darksider3
2019-10-25 01:57:29 +0200
b7ffedfba2
Rename SQLitedb to SQLiteDB
Darksider3
2019-10-23 18:13:42 +0200
fb4b577eb8
minor adjustemenets
Darksider3
2019-10-23 18:01:13 +0200
f31117e940
System: aio_register, performs all neccessary steps to create user...
Darksider3
2019-10-23 17:50:13 +0200
dd01acf801
editUsers: Refactor from System taken
Darksider3
2019-10-23 17:38:43 +0200
05f27078f6
System: Refactors username given in constructor
Darksider3
2019-10-23 17:37:59 +0200
f204a74f98
Refactor some variable names
Darksider3
2019-10-23 17:37:45 +0200
7ebabbb5f6
EditUsers: Implement --remove flag
Darksider3
2019-10-23 15:02:48 +0200
b4d4fd9ad4
System: Improved return calls at remove_user
Darksider3
2019-10-23 15:02:21 +0200
7d5ef3b493
Wording fix in docstring
Darksider3
2019-10-23 15:01:44 +0200
0eeafa626e
Documentation work all over the place
Darksider3
2019-10-23 14:27:48 +0200
65c7bb6b3f
Move argparser into mains function body
Darksider3
2019-10-22 16:13:57 +0200
a17d0ed30f
ListUsers: UAP and APP => Unapproved and Approved replaced
Darksider3
2019-10-22 15:56:05 +0200
389b614de9
Revert "ListUsers: UAP and APP renamed, function updates /home/users.txt"
Darksider3
2019-10-22 15:52:00 +0200
84cc83db3c
ListUsers: UAP and APP renamed, function updates /home/users.txt
Darksider3
2019-10-22 15:47:17 +0200
452204a5e9
ListUsers: --list sorts all approved users ascending
Darksider3
2019-10-22 15:26:52 +0200
c46adc2849
editUsers: Description, remove username change and so on
Darksider3
2019-10-22 13:52:41 +0200
24eee6e84e
Shebang/env for script execution
Darksider3
2019-10-22 13:51:01 +0200
6ea679cb60
System: userdel returns 6 when no maildir is deleted but homedir is
Darksider3
2019-10-22 13:50:14 +0200
fb9a98fb81
Edit: Did delete, but here it is back!
Darksider3
2019-10-21 18:34:41 +0200
eb6f3da3d7
System: Account for userdel returning 6 on success...
Darksider3
2019-10-21 18:33:14 +0200
fb7544bd8c
edit: Added Name, email and first steps for status changes
Darksider3
2019-10-21 13:08:00 +0200
7091cbcbd2
Validator: checkName taken from registration form
Darksider3
2019-10-21 13:07:30 +0200
786b652b21
update dev environment with disable possiblities
Darksider3
2019-10-20 15:37:03 +0200
84431bda1d
Edit: Sceleton, Interface and first argument
Darksider3
2019-10-20 15:25:14 +0200
7786df3761
System: Introduce function to write just write the auth file
Darksider3
2019-10-20 15:24:11 +0200
96097e26b1
Catched that little error and killed it!
Darksider3
2019-10-20 15:23:46 +0200
27e5f0445a
Shortcuts to source when working on ssh-reg
Darksider3
2019-10-19 22:49:58 +0200
710ceacd7c
Breaking up the code smell regarding the CFG.py!
Darksider3
2019-10-19 21:56:46 +0200
934b6bf75a
Factor out 'as CFG'
Darksider3
2019-10-19 14:32:01 +0200
670aa3d9c3
Factor out CONF_FILE
Darksider3
2019-10-19 14:27:16 +0200
cdc72a30f4
Factor out REG_FILE
Darksider3
2019-10-19 14:25:43 +0200
77efb4b339
delete cfgparse again and get it going as it where before
Darksider3
2019-10-19 14:21:46 +0200
8c3ac4060f
Split CFG.py to private/lib/cfgparse.py
Darksider3
2019-10-19 14:02:52 +0200
192e70e4a2
Seperate out even more, own dir for UIs
Darksider3
2019-10-19 13:53:21 +0200
5c6ecaf627
Modularize CFG.py into CWD, default_cmd and cmd ui
Darksider3
2019-10-19 13:50:30 +0200
5a57a62780
Allow uppercase Chars afters first character in usernames
Darksider3
2019-10-17 15:27:57 +0200
91b5e6ae7b
Positional fix: OperationalError before general
Darksider3
2019-10-17 15:27:38 +0200
77a31a44d1
Abort on errors in import file before even trying to activate
Darksider3
2019-10-17 14:42:13 +0200
2ab27aa019
Validate Timestamps and don't not insert into DB when error
Darksider3
2019-10-17 14:05:17 +0200
3ae497e2eb
Let the container stop gracefully with exec!
Darksider3
2019-10-17 13:34:43 +0200
b0856b558e
Move import related stuff to the Import.py script.
Darksider3
2019-10-17 11:51:57 +0200
283143104d
Actually we allow currently strange things, this fixes it on the usernames
Darksider3
2019-10-16 21:52:25 +0200
d517db3b2a
On Operational Exceptions we create the table and try again
Darksider3
2019-10-16 20:54:49 +0200
a1563116f6
Renamed SSH-Exception
Darksider3
2019-10-16 20:54:34 +0200
0c1f7ea252
Validate even imported files and users
Darksider3
2019-10-16 20:52:15 +0200
8274cbb27e
unregister() is just a different word for removing
Darksider3
2019-10-16 16:58:20 +0200
4760e35fda
it's freakin stupid to import IDs. Nothing depends on them. Ignore them.
Darksider3
2019-10-16 16:29:34 +0200
96c403a3d9
Introducing own Exception classes to distinguish between possible System errors
Darksider3
2019-10-16 16:16:30 +0200
c1488f6164
Return True on success
Darksider3
2019-10-16 14:33:38 +0200
cd8fe5fed0
commit on querys
Darksider3
2019-10-16 14:33:17 +0200
0718de20fb
Let SQLite check for incorrect dates on timestamp row
Darksider3
2019-10-16 14:00:57 +0200
2202af7826
Introduce imports, which comes with a new flag(--Import)
Darksider3
2019-10-16 12:33:07 +0200
c28e616ea5
Faster rebuildung by moving system relevant stuff up
Darksider3
2019-10-16 12:32:21 +0200
e0efeee67d
Better error handling, just hang a freakin' / to ssh_dir if it got screwed up
Darksider3
2019-10-13 22:44:30 +0200
04d95c2d08
realign layout
Darksider3
2019-10-13 22:20:59 +0200
43c7636920
Make PEP8 finally happy
Darksider3
2019-10-13 21:12:17 +0200
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
Darksider3
2019-10-13 19:20:25 +0200
d413662b36
Adds ability to delete users in db as well as on the system + type hints.. .... in function names for further documentation.
Darksider3
2019-10-13 18:49:38 +0200
a6d63fee42
PEP8: One Import per line... -.- Add TODO statements and foremost return False on error. Missed that
Darksider3
2019-10-13 17:37:34 +0200
c43cad73fa
Print Error messages to stderr instead of standard-out. Makes very much sense indeed!
Darksider3
2019-10-13 17:35:04 +0200
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
Darksider3
2019-10-13 17:16:48 +0200
2afb4c79a2
Implements a backup to csv. Uses StringIO because it has an own writer() method, which is pretty nice to have when csv.writer() want's that on its passed variable.
Darksider3
2019-10-13 11:01:08 +0200
90b2ee5236
add gitignore
Darksider3
2019-10-13 10:52:48 +0200
a984b14c37
Implement -f/--file option. Defaults to stdout
Darksider3
2019-10-13 10:46:25 +0200
4134e3cc2e
introduces -f/--file, which outputs or takes from a file(conditional to the current program)
Darksider3
2019-10-13 10:42:15 +0200
6e86bf11bb
-a Flag: default false, do action on only approved users
Darksider3
2019-10-12 19:21:33 +0200
c40ef4d40a
Max username length is 16 now
Darksider3
2019-10-12 14:27:10 +0200
cab4cd25a2
Well, that alternative view rocks hard...
Darksider3
2019-10-12 14:21:26 +0200
b368ea058c
huh, that already looks close to good... o.o
Darksider3
2019-10-12 13:55:22 +0200
f06d4fa945
first steps towards real listings!
Darksider3
2019-10-12 13:34:01 +0200
3915843943
introducing the -u flag, which turns on the 'unapproved' mode.
Darksider3
2019-10-12 12:26:13 +0200
2eeeebdacb
Add sceleton for listusers.py
Darksider3
2019-10-12 11:54:29 +0200
96837cebe3
Externalize CFG-Handling into lib/CFG.py.
Darksider3
2019-10-12 11:39:19 +0200
8ed215e89b
Create sqlite3 connector class to handle all the errors and quirks for us
Darksider3
2019-10-12 11:05:37 +0200
c4912502d7
Now with dynamic TILDE_CONF support!
Darksider3
2019-10-11 06:55:51 +0200
79fb448f30
pep8-changes like before mostly
Darksider3
2019-10-11 04:55:03 +0200
4d353e6804
Some PEP8 conform changes, noteably line breaks and too long lines and indendantion
Darksider3
2019-10-11 04:17:32 +0200