Commit Graph

33 Commits

Author SHA1 Message Date
Seednode 9c590c9bc6 Specify 'charset=UTF-8' for all text/plain content type headers 2024-01-25 09:30:28 -06:00
Seednode 61060f7895 Remove --page-length and HTML index dump, fix media type identification 2024-01-15 08:51:41 -06:00
Seednode 06c6b70b2c Update release year 2024-01-14 12:39:14 -06:00
Seednode 7546c6257f Add garbage collection after every index rebuild, to test something 2024-01-14 10:12:24 -06:00
Seednode ee09812376 Remove unused CompressionFormats variable 2024-01-14 10:00:34 -06:00
Seednode 6bd97f30c2 Re-use zstd encoder 2024-01-14 09:43:22 -06:00
Seednode 2f06ae3605 Remove non-zstd compression options 2024-01-14 09:29:22 -06:00
Seednode 4e85621335 Round all durations to microseconds 2024-01-11 03:36:16 -06:00
Seednode 431de92bbb Remove snappy, lz4, lzw, deflate, and gzip compression options 2024-01-09 13:39:08 -06:00
Seednode 656c74b883 Change lzw from LSB-first to MSB-first. This should probably be a major version bump, but who's using lzw, really 2024-01-08 17:42:13 -06:00
Seednode e13c141c5c Move compression format slice variable from root.go => index.go 2024-01-08 16:00:37 -06:00
Seednode 56c6565cb1 Add error handling to all functions that can possibly return non-nil errors 2024-01-07 22:43:51 -06:00
Seednode 09bff1ed18 Skip calling IOReadCloser() method on zstd decoder for getReader() 2024-01-07 22:28:03 -06:00
Seednode 6f29f89acf Continue scanning instead of aborting on fs.ErrPermission or fs.ErrNotExist; add --debug flag to view output from those errors; initialize error logging earlier in setup 2024-01-06 09:41:30 -06:00
Seednode 560868ab75 Remove import alias for pierrec/lz4 2024-01-05 21:48:40 -06:00
Seednode 59cbd25e7c Add --compression-fast to use fastest compression method instead of best 2024-01-05 21:42:22 -06:00
Seednode 965d3deb8d Add support for snappy and lz4 compression 2024-01-05 21:30:08 -06:00
Seednode fac4412c5c Add --compression, to allow specifying compression format for index file 2024-01-05 20:39:05 -06:00
Seednode 89637c12b2 Close zstd encoder before reading file info, to ensure accurate file size reporting for index file 2024-01-04 12:43:26 -06:00
Seednode b90f6cfc64 Updated transitive dependencies 2024-01-04 08:43:52 -06:00
Seednode fef51438c0 Append newline to index rebuild HTTP response; remove unneeded error handling for index rebuild handler registration 2023-12-17 05:28:24 -06:00
Seednode d902368845 Add first/prev/next/last buttons to sorted content 2023-10-20 17:18:35 -05:00
Seednode dec38c8758 Fix prev/next buttons for info pages, add support for --prefix to the same 2023-10-09 21:52:06 -05:00
Seednode 81d7e60d0c Restructure endpoints to be more structured, bump major version 2023-10-09 10:13:15 -05:00
Seednode 9ae0aa60d3 Use int returned from w.Write() instead of calculating length of []byte 2023-10-04 15:47:43 -05:00
Seednode 84c25310da Replace single-value registered format struct with the map value itself 2023-10-04 14:09:49 -05:00
Seednode 09ccf91a39 Change /clear_cache endpoint to /rebuild_index 2023-09-28 10:35:01 -05:00
Seednode 1d0e4634c7 Rename cache to index for more accurate terminology 2023-09-28 10:09:45 -05:00
Seednode d7bc6e2451 Total restructure, just look at the diffs at this point 2023-09-12 23:35:17 -05:00
Seednode cbf7218453 Added endpoints to view registered file formats 2023-09-12 22:35:15 -05:00
Seednode 732d944036 Rename formats package to types, replace Css string literal in type struct with func() string 2023-09-12 16:32:19 -05:00
Seednode a29390aa76 Added .swf support, fallback to filetype detection by extension if mime type detection fails 2023-09-12 13:06:45 -05:00
Seednode 86184f26bf Split source into more files and fixed bug where images wouldn't display due to swapped parameter order 2023-09-11 12:09:08 -05:00