This website works better with JavaScript.
633bfbe5c5
fix that fucking Dockerfile for good, thanks @dark
master
1735004800523550646/tmp_refs/heads/feature-admin-split
1735004800523550646/feature-admin-split
n1trux
2020-02-22 14:30:42 +0100
cea0a283cf
FIX THIS FUCKING SHIT OF PIECE CODE
Darksider3
2020-02-16 20:13:49 +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
d79e06a70e
Merge branch 'master' of dark/ssh-reg into master
phre4k
2019-10-10 16:20:52 +0000
a772fa9d40
Create /app/user/.ssh before trying to write to it!
Darksider3
2019-10-10 17:55:53 +0200
4079166167
Respect $TILDE_CONF ENV in container build
darksider3
2019-10-06 13:41:24 +0200
e00e587fac
Reflect changes made
darksider3
2019-09-23 23:17:56 +0200
93e846e775
Big restructure of all directories:
darksider3
2019-09-23 23:15:28 +0200
05bb0e77c6
Merge branch 'master' of dark/ssh-reg into master
phre4k
2019-09-20 13:41:33 +0000
3971ed88e8
Introduce TILDE_CONF environment variable
darksider3
2019-09-20 15:35:35 +0200
e5aae6bdc3
initial commit
n1trux
2019-08-15 14:06:07 +0200