summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Urban Wallasch [Sun, 7 Apr 2019 22:08:37 +0000 (00:08 +0200)]
* Use (file)path.Join, and (file)path.IsAbs where reasonable.
* Sorted out the filepath vs. path mess, just in case someone intends to run this on WinDOS.
* Straightened code in createIndex().
Urban Wallasch [Sun, 7 Apr 2019 20:08:59 +0000 (22:08 +0200)]
* Replaced old exit strategy by waiting for SIGINT / SIGTERM.
Urban Wallasch [Sun, 7 Apr 2019 16:29:15 +0000 (18:29 +0200)]
* Version bump v0.3.
Urban Wallasch [Sun, 7 Apr 2019 16:15:38 +0000 (18:15 +0200)]
* Removed unnecessary string concatenations in Print statements.
* Fixed .footer.goph layout.
Urban Wallasch [Sun, 7 Apr 2019 12:13:15 +0000 (14:13 +0200)]
* Updated sample configuration file and README.md.
* Added sample gopherhole.
Urban Wallasch [Sun, 7 Apr 2019 10:28:06 +0000 (12:28 +0200)]
* Added options to specify header and footer files to include in generated pages.
* Include header and footer in error pages and generated directory indexes.
* Improved error page appearance.
* Lots of refactoring, especially WRT to configuration options and variable naming.
Urban Wallasch [Sat, 6 Apr 2019 22:04:02 +0000 (00:04 +0200)]
* Added a sorry excuse for a configuration file parser.
Urban Wallasch [Sat, 6 Apr 2019 18:36:19 +0000 (20:36 +0200)]
* Added -I directory index file command line option; default: index.goph.
* Dropped -M message command line option.
* Refactored send file and send index logic.
Urban Wallasch [Sat, 6 Apr 2019 15:01:40 +0000 (17:01 +0200)]
* Updated copyright year in LICENSE.
Urban Wallasch [Sat, 6 Apr 2019 13:19:25 +0000 (15:19 +0200)]
* Added README.md.
Urban Wallasch [Sat, 6 Apr 2019 11:33:18 +0000 (13:33 +0200)]
* Evaluate errors returned by guessFiletype().
Urban Wallasch [Sat, 6 Apr 2019 10:27:21 +0000 (12:27 +0200)]
* Set correct type '3' for error replies.
Urban Wallasch [Sat, 6 Apr 2019 07:55:40 +0000 (09:55 +0200)]
* Fixed a regression bug in handling of symbolic links.
* Added option to disable directory indexes, in preparation for index page support.
* Some minor adjustments.
Urban Wallasch [Fri, 5 Apr 2019 21:38:48 +0000 (23:38 +0200)]
* Send at least a generic error reply when we are unable to satisfy the request.
Urban Wallasch [Fri, 5 Apr 2019 17:41:59 +0000 (19:41 +0200)]
* Fixed comment.
Urban Wallasch [Fri, 5 Apr 2019 17:38:28 +0000 (19:38 +0200)]
* Include file modification time in directory listings.
Urban Wallasch [Fri, 5 Apr 2019 15:28:45 +0000 (17:28 +0200)]
* Incorporated generation of version.go into Makefile and dropped version.sh.
Urban Wallasch [Fri, 5 Apr 2019 15:04:00 +0000 (17:04 +0200)]
* Display symbolic links like regular files and directories, do not expose the the target path.
Urban Wallasch [Fri, 5 Apr 2019 14:55:23 +0000 (16:55 +0200)]
* Added option to show dotfiles which are now hidden by default.
Urban Wallasch [Fri, 5 Apr 2019 14:24:56 +0000 (16:24 +0200)]
* Moved utility initialization to util.go.
Urban Wallasch [Fri, 5 Apr 2019 14:04:48 +0000 (16:04 +0200)]
* Split source into several files.
Urban Wallasch [Fri, 5 Apr 2019 08:23:33 +0000 (10:23 +0200)]
* Added automatic git version string generation.
Urban Wallasch [Fri, 5 Apr 2019 07:48:43 +0000 (09:48 +0200)]
* Fixed path canonicalize logic.
* Added option to follow symbolic links (default: don't).
* Fixed default value for -f FQDN option.
* Renamed -d option to -r.
* Replaced os.File.Readdir() by ioutil.ReadDir() to get a sorted list.
* Removed dot-dot entry from top level menu.
* Removed HOME reference from directory listings.
* Several small fixes and minor improvements.
Urban Wallasch [Thu, 4 Apr 2019 16:45:46 +0000 (18:45 +0200)]
* Added command line switch to specify FQDN.
* Display file sizes in human readable units.
Urban Wallasch [Thu, 4 Apr 2019 15:52:24 +0000 (17:52 +0200)]
* Fixed partially initialized buffer bug in content type detection for short files.
Urban Wallasch [Thu, 4 Apr 2019 15:21:04 +0000 (17:21 +0200)]
* Added file type guessing.
Urban Wallasch [Thu, 4 Apr 2019 14:13:24 +0000 (16:13 +0200)]
* Improved and more secure handling of paths and symbolic links.
* General cleanup and refactoring.
Urban Wallasch [Wed, 3 Apr 2019 23:42:41 +0000 (01:42 +0200)]
* Auto generate directory indexes.
* Use io.Copy to send file contents.
* Refactored and reformatted source.
* Removed stage 1 test files.
Urban Wallasch [Wed, 3 Apr 2019 19:13:43 +0000 (21:13 +0200)]
* initial commit