1
0
Fork 0
Commit graph

7 commits

Author SHA1 Message Date
25d3344104 - inserted more comm.header() and comm.encode_message()
- added loop to be able to process multiple commands within one session, send "exit" to exit
- added code 004: Exit
- added include/auth.py with init() and check_password()
- added settings variable PASSWORD (stores a SHA512-encrypted password)
- added authenticate() to class comm
2013-06-19 16:25:43 +02:00
a4f497115a - bugfix in class statuscodes: putted a 's' before all code numbers, dict is working now...
- bugfix in class comm, header(): status codes couldn't be handled
- added import for include/statuscodes.py, class statuscodes to include/__init__.py
- added encode_message() and decode_message() to class comm
- added use of encode_message() to motd() in class comm
- added more docstrings and comments in class comm
- added more comments in asrc-server.py
- moved pid file check and creation around in asrc-server.py for less oddness when starting the server with -n
2013-04-29 21:51:20 +02:00
1207c6b225 - cleaned class argparser
- commented and cleaned asrc-server.py
- renamed includes/content.py to includes/comm.py
- renamed class content to comm
- made some vars (aliases, server_version, protocol_version, verbiosity) global in class comm
- added init() to class comm for setting lobal vars
- moved motd() from asrc-server-py to class comm
- conformed comm.motd() to reference
- added comm.header() for building the headers
- added includes/statuscodes.py with class statuscodes with dict description for storing the status codes and their description
- added docstrings
2013-04-26 12:55:37 +02:00
fbb4653740 - solved bug: argparser 2013-04-25 10:22:18 +02:00
daa40d6367 warning, buggy version!
- class file folder is include/
- moved content handler to an individual class file (include/content.py)
- added argument parser (include/argparser.py) -- doesn't work yet like expected
2013-04-24 20:25:50 +02:00
ee7ffadfbd - moved doc/reference.rtf to doc/protocol_reference.odt
- asrc-server.py structured and commented
- minor changes to protocol
- protocol partly implemented in asrc-server.py
2013-04-23 12:51:52 +02:00
3986528b95 initial commit 2013-04-23 00:25:16 +02:00