Commit Graph

111 Commits

Author SHA1 Message Date
Sebastian Lohff c357b585e6 Added option for changing the http basic auth realm 2012-06-25 12:39:19 +02:00
Sebastian Lohff 9c4df009ee Fixed bug where content-length overflowed on 32bit systems
Content-Lenght could be too big for 32bit systems when uploading
big files.
2012-06-25 03:37:42 +02:00
Sebastian Lohff f65e896bd9 Added checks for ipv6 support 2012-06-25 02:43:00 +02:00
Sebastian Lohff 33124dfc98 Added IPv6 support 2012-06-25 02:13:36 +02:00
Konrad Mohrfeldt 845e34a297 refactor css and html
more contrast and slightly more spacing
improve font readability
add encoding to html
switch to html5 doctype
2012-06-25 00:22:20 +02:00
Sebastian Lohff 709c2ad9da Directory index is now sorted alphabetical 2012-06-25 00:20:44 +02:00
Sebastian Lohff b1891da417 Added lighttpd-like directory listing look 2012-06-22 13:52:05 +02:00
Sebastian Lohff ee18c3e52e Replaced SimpleHTTPServer Handler with own handler
A directory index looks not that well but isn't influenced by a
index.htm(l) and presents more metadata than before.
2012-06-20 22:55:43 +02:00
Sebastian Lohff b11710da39 Moved FileHandler functions to FileBaseHandler
FileHandler hat core functionality used/needed by other Handlers.
2012-06-19 18:26:05 +02:00
Sebastian Lohff 790607eabc Code cleanup: Added docstrings + newlines between classes 2012-06-19 18:24:22 +02:00
Sebastian Lohff 138940a804 code cleanup with pyflakes 2012-06-16 21:52:11 +02:00
Sebastian Lohff 94eea95d99 Moved continuation/range handling to extra function 2012-06-06 17:15:16 +02:00
Sebastian Lohff 9db41d5681 Moved Content-* header generation to extra function 2012-06-06 15:54:47 +02:00
Sebastian Lohff 4567570962 Added server version to HTTP headers 2012-06-05 16:33:56 +02:00
Sebastian Lohff 528d19c67b Moved to version v0.4.1 2012-05-04 16:32:17 +02:00
Sebastian Lohff 4d22c6e1dd Added message for successful uploading 2012-05-04 13:26:25 +02:00
Sebastian Lohff c985509141 Fixed typos, enhanced text
Mostly provided by Florian Streibelt
2012-05-04 13:17:40 +02:00
Florian Streibelt 096be09372 too much whitespace 2012-05-04 12:26:21 +02:00
Tom Priebe be6e735a43 typos 2012-05-03 12:31:07 +02:00
Sebastian Lohff 3a06b0699d Added "finished downloading" msg for tars 2012-04-29 20:58:53 +02:00
Sebastian Lohff e649416b17 Fixed file extension for tar files 2012-04-27 17:39:12 +02:00
Sebastian Lohff b5c43664e2 tar + directories are now handled correctly 2012-04-27 15:43:58 +02:00
Sebastian Lohff f51a98bf1b Fixed modecounting bug 2012-04-27 15:37:35 +02:00
Sebastian Lohff 4bfb5b92f8 Added check for nonexistent directories in tar-mode 2012-04-27 03:54:55 +02:00
Sebastian Lohff fba7b2e117 Added tar and tar-compression support 2012-04-27 03:52:07 +02:00
Sebastian Lohff a1b08ba10a Moved redirect functionality to extra class 2012-04-26 15:45:51 +02:00
Sebastian Lohff c010709827 Fixed bug with max upload size
When max upload size was not set (default 0), servefile woudn't
allow any uploads.
2012-04-26 14:52:25 +02:00
Sebastian Lohff 860e24906c Changed missing error for missing content length
From 400 to 411 (length required)
2012-04-20 04:23:23 +02:00
Sebastian Lohff 9ee544dece Show SSL key fingerprints on self generated certs 2012-04-20 04:22:02 +02:00
Sebastian Lohff 32fb52e4d6 Moved to version 0.4.0 2012-04-16 19:12:58 +02:00
Sebastian Lohff 6c5cca4a00 Basic dirlisting with SimpleHTTPRequestHandler 2012-04-16 19:10:36 +02:00
Sebastian Lohff bd611eb219 Added option to limit upload file size 2012-04-16 18:40:28 +02:00
Sebastian Lohff 381e89a316 Surpressed error when no iproute2 is present 2012-04-16 16:42:17 +02:00
Sebastian Lohff fbc87e0991 Added authentication support 2012-04-16 16:36:40 +02:00
Sebastian Lohff 15d4890e3b Added status message for keypair generation 2012-04-16 16:36:31 +02:00
Sebastian Lohff 6820011c67 Added support to generate self signed certs 2012-04-16 14:51:12 +02:00
Sebastian Lohff afe666db91 HTTPS works 2012-04-14 22:31:09 +02:00
Sebastian Lohff edb1582626 Fixed uploading to existing directories 2012-04-13 20:19:23 +02:00
Sebastian Lohff fdac22b5d8 Massive code cleanup, added ServeFile class 2012-04-13 20:17:48 +02:00
Sebastian Lohff c206724060 Added Content-Disposition to HEAD 2012-04-12 17:38:05 +02:00
Sebastian Lohff d9ca9b128c Code cleanup 2012-04-12 13:17:55 +02:00
Sebastian Lohff a0e97c7de4 Merge branch 'master' into putfile
Conflicts:
	servefile
2012-04-12 12:21:12 +02:00
Sebastian Lohff e5108d0f63 Added HEAD support 2012-04-09 15:32:57 +02:00
Sebastian Lohff 83d392efe7 Added upload support for wget --post-file 2012-04-07 22:34:34 +02:00
Sebastian Lohff 99882b9a37 Added PUT support 2012-04-07 18:50:24 +02:00
Sebastian Lohff 06b983fe1d Moved filename generation to extra function 2012-04-07 18:48:48 +02:00
Sebastian Lohff d46cc10107 Added cleanup for temp directories 2012-04-07 03:02:20 +02:00
Sebastian Lohff 771d383b81 Added upload support per multipart 2012-04-07 02:57:06 +02:00
Sebastian Lohff a34c2bc5b8 Merge branch 'master' into putfile 2012-04-05 17:24:46 +02:00
Sebastian Lohff f6cfefb3ea Version 0.3.2 + description updated 2012-04-05 17:11:17 +02:00
Sebastian Lohff b2ce090b55 Fixed argparse/argv bug 2012-04-05 16:23:04 +02:00
Sebastian Lohff 1780f76df1 Added BaseClass + Argparse line 2012-04-05 15:56:28 +02:00
Sebastian Pipping 8c90e4142d Add description for --help 2012-04-03 03:51:17 +02:00
Sebastian Pipping 8c9bc15677 Add --version 2012-04-03 03:51:10 +02:00
Sebastian Lohff be8ad72b31 Fixes and additional methos for ip-gathering 2012-03-18 05:13:51 +01:00
Sebastian Lohff 929da24f4c Fixed header, now with author/license etc. 2012-03-18 04:16:10 +01:00
Sebastian Lohff 6a2fea1465 Introduced argparse 2012-03-18 02:28:14 +01:00
Sebastian Lohff c186d5f695 Rearranged imports 2012-03-18 01:42:03 +01:00
Sebastian Lohff 48318d9132 Moved from ifconfig to ip 2012-03-18 01:35:12 +01:00
Sebastian Lohff 77be4adcd0 Code cleanup 2012-03-18 00:21:55 +01:00
Sebastian Lohff 8620869e03 Initial commit 2012-03-12 15:41:55 +01:00