# # ChangeLog for / in code # # Generated by Trac 1.6 # Jun 8, 2025, 10:34:43 AM Tue, 19 Oct 2021 17:15:58 GMT dev [36] * trunk/README (added) Add README file Tue, 19 Oct 2021 16:26:33 GMT dev [35] * trunk/LICENSE (added) Add LICENSE file Tue, 19 Oct 2021 16:04:07 GMT dev [34] * trunk/partage.go (modified) Move parsing and privilege drop out of main() Tue, 19 Oct 2021 12:19:32 GMT dev [33] * trunk/mkfile (modified) * trunk/partage-trash (added) * trunk/partage-trash/partage-trash.go (added) Add partage-trash to cleanup expired files Tue, 19 Oct 2021 10:38:38 GMT dev [32] * trunk/partage.go (modified) Fix incorrect log messages Tue, 19 Oct 2021 10:20:42 GMT dev [31] * trunk/partage.go (modified) Reformat code with `go fmt` Tue, 19 Oct 2021 09:45:55 GMT dev [30] * trunk/go.mod (modified) * trunk/partage.go (modified) Move configuration to a file Tue, 19 Oct 2021 09:45:01 GMT dev [29] * trunk/partage.go (modified) Add logs and a verbose mode Tue, 19 Oct 2021 07:42:00 GMT dev [28] * trunk/partage.go (modified) Provide ability to drop privileges on start Tue, 19 Oct 2021 06:57:32 GMT dev [27] * trunk/partage.go (modified) Add option to chroot into a directory on startup Tue, 19 Oct 2021 06:54:10 GMT dev [26] * trunk/go.mod (modified) * trunk/partage.go (modified) Accept flags as INI file config Tue, 19 Oct 2021 06:51:37 GMT dev [25] * trunk/partage.go (modified) Actually use conf.bind Tue, 19 Oct 2021 06:38:15 GMT dev [24] * trunk/partage.go (modified) Hide true error messages Tue, 19 Oct 2021 06:35:26 GMT dev [23] * trunk/partage.go (modified) Prevent serving metadata files Tue, 19 Oct 2021 06:35:08 GMT dev [22] * trunk/partage.go (modified) Use http.Error() when appropriate Tue, 19 Oct 2021 06:00:29 GMT dev [21] * trunk/partage.go (modified) Remove useless function contenttype() Mon, 18 Oct 2021 17:59:02 GMT dev [20] * trunk/partage.go (modified) Write metadata about the file along with it Mon, 18 Oct 2021 15:41:56 GMT dev [19] * trunk/partage.go (modified) Improve error handling for writefile() Mon, 18 Oct 2021 15:35:50 GMT dev [18] * trunk/static/partage.css (modified) Change page header disposition Mon, 18 Oct 2021 14:59:35 GMT dev [17] * trunk/static/robots.txt (added) * trunk/templates/index.html (modified) Block crawlers Mon, 18 Oct 2021 14:56:25 GMT dev [16] * trunk/partage.go (modified) Fix /index.html URL recognition Mon, 18 Oct 2021 14:40:32 GMT dev [15] * trunk/static (added) * trunk/static/favicon.ico (added) * trunk/static/partage.css (added) * trunk/static/partage.png (added) * trunk/templates/index.html (modified) * trunk/templates/upload.html (modified) Add style to pages Mon, 18 Oct 2021 08:27:26 GMT dev [14] * trunk/partage.go (modified) Replace servefile() with built-in http.ServeFile() Sun, 17 Oct 2021 16:14:58 GMT dev [13] * trunk/partage.go (modified) Turn all config options into flags Fri, 15 Oct 2021 17:23:50 GMT dev [12] * trunk/partage.go (modified) * trunk/templates/index.html (modified) * trunk/templates/upload.html (added) Print a report page when uploading files from a form Wed, 13 Oct 2021 14:57:27 GMT dev [11] * trunk/go.mod (modified) * trunk/partage.go (modified) * trunk/templates (added) * trunk/templates/index.html (added) Add templating system for pages Mon, 11 Oct 2021 18:41:11 GMT dev [10] * trunk/partage.go (modified) Remove useless call to parseForm() Mon, 11 Oct 2021 18:35:15 GMT dev [9] * trunk/partage.go (modified) Move PUT/GET handlers to their own functions Mon, 11 Oct 2021 16:18:43 GMT dev [8] * trunk/partage.go (modified) Make ifs one-line when appropriate Mon, 11 Oct 2021 15:21:28 GMT dev [7] * trunk/partage.go (modified) Add newline after URL file download Mon, 11 Oct 2021 15:20:55 GMT dev [6] * trunk/partage.go (modified) Remove HTTP method logging Mon, 11 Oct 2021 15:14:13 GMT dev [5] * trunk/partage.go (modified) Limit writing to Content-Length header Mon, 11 Oct 2021 15:12:39 GMT dev [4] * trunk/partage.go (modified) Prevent writing more data than expected Mon, 11 Oct 2021 13:30:16 GMT dev [3] * trunk/partage.go (modified) Serve files as-is for context "/f/" Mon, 11 Oct 2021 13:09:06 GMT dev [2] * trunk/partage.go (modified) Remove useless if imbrication Sun, 10 Oct 2021 05:29:51 GMT dev [1] * trunk (added) * trunk/config.mk (added) * trunk/go.mod (added) * trunk/mkfile (added) * trunk/partage.go (added) Provide basic GET/PUT HTTP methods