diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000000000000000000000000000000000000..55fd41c20ccdc710f8040bbc133c2e47dbd21c3c --- /dev/null +++ b/LICENSE @@ -0,0 +1,19 @@ +Copyright (c) 2016 Jan Maximilian Michal + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/hallgrim/uploader.py b/hallgrim/uploader.py index 0cfca4c55ada94b2ef6c5daf33946b5ce2f683ac..d36bbed324a5e202c20e9bbc6d2e792fcf21e70a 100644 --- a/hallgrim/uploader.py +++ b/hallgrim/uploader.py @@ -1,19 +1,19 @@ -########################################################################## +################################################################################ # -# This is the uploader. It simplifies the testing process immensely and makes +# This is the uploader. It simplifies the testing process immensely and makes # autoILIAS finally obsolete, since this system uses a proper Ilias # implementation. # -# The code is straight forward. You need to seed s couple of POST requests -# in the right order an then the items appear at the right place. Currently -# works for the Folder 'Sandkasten' of the test environment that ships -# with hallgrim. Ilias changes often so maybe the urls have to be updated. +# The code is straight forward. You need to seed s couple of POST requests in +# the right order an then the items appear at the right place. Currently works +# for the Folder 'Sandkasten' of the test environment that ships with hallgrim. +# Ilias changes often so maybe the urls have to be updated. # # The simplest way was to intercept the html traffic with wireshark. # # Sadly this script adds some ugly dependencies like requests_toolbelt. # -########################################################################## +################################################################################ import os