Commit Graph

49 Commits

Author SHA1 Message Date
Seednode fc425425b5 Display time of next scheduled index rebuild 2024-02-15 18:01:54 -06:00
Seednode 09bb2def7e Rename variable for conciseness 2024-02-11 10:30:10 -06:00
Seednode 3ef68aaa23 Fix broken JSON, pt 2 2024-02-08 22:10:48 -06:00
Seednode e910b9f8d1 Fix broken JSON 2024-02-08 22:10:09 -06:00
Seednode b17a21b846 Remove ': null' from JSON output 2024-02-08 15:36:07 -06:00
Seednode 9989b42386 Actually use zstd encoder instead of directly wrapping file in gob 2024-02-06 15:48:39 -06:00
Seednode 158d304bee Remove unnecessary check for leading slash in JSON dump 2024-02-06 15:41:34 -06:00
Seednode ca8818af78 Initial attempt at generating JSON tree for index dump 2024-02-06 15:26:28 -06:00
Seednode 8939f00653 Remove zstd encoder re-use, as it runs at fairly long intervals and isn't worth keeping the object alive 2024-02-06 10:12:55 -06:00
Seednode cd9443a64b Updated transitive dependencies 2024-01-31 11:30:37 -06:00
Seednode 0baba06ace Temporarily remove CSP header for flash 2024-01-30 15:22:15 -06:00
Seednode 70275a734f Rework log messages for index rebuilds (scheduled and requested) 2024-01-30 14:38:05 -06:00
Seednode 83809696ac Change --info to --api; /index/rebuild now requires POST instead of GET request; merge --ignore and --ignore-file 2024-01-30 10:12:05 -06:00
Seednode 3a6aaee236 Remove extraneous newline, why is this a commit? No idea 2024-01-30 06:42:59 -06:00
Seednode dc3eda4047 Move index rebuild timer function into index.go 2024-01-30 06:25:14 -06:00
Seednode 187a6569ff Add --index-interval for automatic index rebuilds 2024-01-30 04:27:18 -06:00
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