Commit graph

46 commits

Author SHA1 Message Date
b9903fd6c8 Increment version due to license change 2019-10-04 21:16:13 +02:00
6960251163 Changed license to MIT
The reason for this change is that PIZZA-WARE is no widely used license
and therefore makes problems when fileshare should be packaged for Linux
distributions. MIT is in the same spirit, but is well-known and
therefore easily integrated. You may of course still invite me for some
pizza or also something else (except alcohol) if you like :-) .
2019-10-04 21:06:13 +02:00
3820ba88dc Fixed 1-byte overflow in safe_append 2016-12-17 01:10:09 +01:00
577dfd9e1a Fixed forgotten deprecation warning 2016-12-17 00:25:08 +01:00
36b04a059e Release 0.2.3 2016-12-17 00:09:37 +01:00
67ef4d7083 Fixed libmicrohttpd deprecation warnings 2016-12-17 00:07:20 +01:00
10e9289921 Prevent buffer overflows by urlencode() 2016-12-17 00:00:07 +01:00
1bcc672503 Reimplemented memory management in dirlisting generation
This should eliminate all bufferoverflows introduced by the previous
usage of strcat() and various assumptions.
2016-12-16 23:40:44 +01:00
4722639ae1 Fixed date in logger 2016-03-25 21:55:26 +01:00
0d42e9c22a New version + logging cosmetics 2015-11-23 21:25:10 +01:00
900ee14e32 Added optional HTTP Authentication 2015-11-23 21:23:57 +01:00
77a2ee3d8e Increased version number 2014-12-21 22:08:21 +01:00
3d0e4aa0b6 Fixed dual stack support for current libmicrohttpd 2014-12-21 22:06:51 +01:00
ec3640f15b Fixed linker errors 2014-12-21 21:51:18 +01:00
e89b5efb70 Fixed type warning 2013-08-21 17:49:31 +02:00
88c5715293 Fixed some critical buffer overflows in dirlisting 2013-08-21 17:47:21 +02:00
e5d57be8ad Fixed large files on 32 bit systems; fixed warnings 2013-08-21 16:57:57 +02:00
d1dbaeb55b Only show favicon-message in debug mode 2013-08-21 16:08:55 +02:00
119ac79beb Show client’s ip address in log 2013-08-21 16:07:05 +02:00
7a3d20ee25 Fixed dual stack 2013-08-21 15:29:03 +02:00
57d0d90d64 Use dual stack if possible 2013-08-21 13:19:44 +02:00
bf82cfdee8 Fixed favicon requests 2013-08-19 23:04:06 +02:00
e439138146 Show upload form directly in directory listing 2013-08-19 22:57:59 +02:00
b6a76a3d43 Fixed warnings, handled write errors 2013-08-19 20:28:26 +02:00
1c103e0952 Use getopt(), restrict upload access 2013-08-19 19:59:54 +02:00
6dfd30e508 Added interface for the file upload 2013-08-19 18:27:19 +02:00
54dd5bae12 Implemented basic upload functionality 2013-08-19 18:07:42 +02:00
d07fc77f7d New makefile + nicer directory structure 2013-08-18 22:52:50 +02:00
fa98c1e089 Show version (and git commit) on startup 2013-03-07 20:24:35 +01:00
7d35b1f48d Don't ignore HEAD requests 2013-03-07 20:07:01 +01:00
e1c3d216f6 Add pizza-ware license note 2013-02-02 21:57:10 +01:00
363a16e056 Special handling for favicon.png 2013-01-31 18:15:49 +01:00
0782bc834b Print full URLs instead of just IP addresses 2013-01-31 17:34:13 +01:00
8336b7ef9d Also listen on IPv6 2013-01-30 21:54:56 +01:00
0e71bbf605 List IP addresses on startup 2013-01-30 21:26:06 +01:00
bd21ab6dd7 Added support for ranged requests 2013-01-20 23:57:20 +01:00
cb8c926296 Cleaner make output 2013-01-20 19:41:27 +01:00
3cb4e23860 Support for large files on 32 bit systems 2013-01-20 19:33:43 +01:00
1dab3f798c Added "debug" and "release" targets to Makefile 2013-01-20 17:55:20 +01:00
fc1562467a Do some signal handling 2013-01-20 17:47:13 +01:00
eb16317dff Moved content generators from connection handler to separate functions 2013-01-20 17:46:25 +01:00
1a30d22de8 Added Makefile to rebuild dependencies 2013-01-17 23:18:09 +01:00
9a9a49ff3a Optionally determine MIME types using libmagic 2013-01-17 23:17:38 +01:00
b77e4dcc8b URL-encode filenames in generated links 2013-01-17 22:42:31 +01:00
2bb32b1cf9 Safer directory listing HTML generation
Also reallocate memory while generating the directory list.
2013-01-17 22:23:00 +01:00
6cd65091ff Initial commit
- Working version with the following features:
  - Directory listing and navigation
  - Download files
  - HTTP error pages (403, 404, 500)
  - Verbose logging
2013-01-17 21:13:15 +01:00