Commit Graph

147 Commits

Author SHA1 Message Date
Sebastian Lohff 72b561ace7 Fixed connection keep-alive bug for basic auth 2012-11-13 02:56:50 +01:00
Sebastian Lohff d54b3f5b8d Nicer display of OSError exception messages 2012-11-12 19:47:16 +01:00
Robert Buchholz affa42dae8 Do not swallow exceptions that can be helpful in error messages 2012-11-12 19:46:03 +01:00
Sebastian Pipping 2886d1fb07 Hide ../ in listing of the (virtual) root directory 2012-10-29 19:12:48 +01:00
Sebastian Lohff 6a38212242 Merge branch 'spingpatches'
Conflicts:
	servefile
2012-10-25 03:08:40 +02:00
Sebastian Pipping dece73be04 Make sorting case-insensitive so that "aaa" and "AAA" end up next to each other 2012-10-25 01:35:34 +02:00
Sebastian Pipping 0df9c56214 Make all directories go on top in listings 2012-10-25 01:31:41 +02:00
Sebastian Pipping 4452d86498 Extract method DirListingHandler._appendToListing (so we can re-use it) 2012-10-24 01:01:42 +02:00
Sebastian Lohff 8c4439cc2b Moved to v0.4.2 2012-06-27 01:44:49 +02:00
Sebastian Lohff 602dba42f9 Enhanced regexes for *bsd compability 2012-06-27 01:44:34 +02:00
Sebastian Lohff d628770d73 Startup parameter fixups 2012-06-26 02:40:41 +02:00
Sebastian Lohff 12169eafe4 Added keyword argument to function for clarification 2012-06-26 02:19:04 +02:00
Sebastian Lohff 18775c5c72 Improved the dirlisting's display of sizes 2012-06-26 02:18:18 +02:00
Sebastian Lohff c5cb5f45a7 Added link to seba-geek.de to dirlisting bottom 2012-06-26 02:16:20 +02:00
Sebastian Lohff 8a32b02eed Added 404 message to dirlisting 2012-06-26 02:16:02 +02:00
Sebastian Lohff fbbbeb3fd2 Code cleanup
List of bugs and improvemends provided by Sebastian Pipping
2012-06-26 02:13:24 +02:00
Sebastian Lohff 5374315e76 Only allow directories for directorylisting 2012-06-25 20:45:37 +02:00
Sebastian Lohff 8a040fbb75 Enhanced error message for broken SSL keyfiles 2012-06-25 20:33:21 +02:00
Sebastian Lohff 2ce2a9c228 Better error messages when socket could not be opened 2012-06-25 20:03:34 +02:00
Sebastian Lohff f48838f63c Fixed bug where --tar produced filenames with duplicate extension 2012-06-25 19:30:18 +02:00
Sebastian Lohff 8274849c8a Moved to new print function and python3 support 2012-06-25 19:23:50 +02:00
Sebastian Lohff df6e6f403a Fixed documentation for --realm option 2012-06-25 13:05:43 +02:00
Sebastian Lohff 2e1af7785b Fixed minor punctuation mistake 2012-06-25 12:39:56 +02:00
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 98d4aeb26b Manpage now reflects -4 and -6 options 2012-06-25 02:45:28 +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
Sebastian Lohff 0f54983a63 Merge branch 'dirlisting' 2012-06-25 00:25:18 +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 4a9cae2731 Corrected curl manpage example error 2012-06-22 13:55:21 +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 5e62b1783e Corrected manpage header to reflect correct section 2012-05-22 12:11:39 +02:00
Sebastian Lohff 528d19c67b Moved to version v0.4.1 2012-05-04 16:32:17 +02:00
Sebastian Lohff 889be24025 Corrected some manpage errors 2012-05-04 14:55:30 +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
Sebastian Lohff e7215bd9cb New ChangeLog format proposed by Florian Streibelt 2012-05-04 12:23:48 +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 4c76137674 Fixed manpage text 2012-04-27 17:39:33 +02:00