Commit Graph

252 Commits

Author SHA1 Message Date
Seednode 2416dc26aa Correct linter errors 2024-02-28 11:17:33 -06:00
Seednode fc425425b5 Display time of next scheduled index rebuild 2024-02-15 18:01:54 -06:00
Seednode c6c1cf7e5d Disable CSP headers for the time being 2024-02-08 21:17:47 -06:00
Seednode 065cb275ae All arguments are now at most two hyphenated words 2024-02-06 16:10:06 -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 dbe3bbe0d6 Add CSP headers for all modules, though some are stricter than others 2024-01-30 13:22:42 -06:00
Seednode 352eb24c30 Add initial CSP header support (currently only for images and error pageS) 2024-01-30 13:07:59 -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 dc3eda4047 Move index rebuild timer function into index.go 2024-01-30 06:25:14 -06:00
Seednode efd28adbc3 Defer closing quit channel 2024-01-30 05:12:26 -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 98c730e824 Set default concurrency to 1024, simplify setting Content-Length header 2024-01-15 09:41:11 -06:00
Seednode 76456f586d Remove --handlers, remove all logging unless --verbose is passed 2024-01-15 09:28:59 -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 6bd97f30c2 Re-use zstd encoder 2024-01-14 09:43:22 -06:00
Seednode 9e458aa0bb Move regex compilation to global variable 2024-01-10 13:07:24 -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 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 60ec29612b Add --redact option to hide admin prefix in log output 2024-01-05 19:00:15 -06:00
Seednode 5167ff457e Allow empty paths, notifying if no valid files are found 2024-01-05 18:50:45 -06:00
Seednode 14adbdf742 Add concurrency limits; add optional admin path prefix 2023-12-17 06:35:03 -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 aa6cb2aeef Allow --fallback as sole format option 2023-11-13 17:31:00 -06:00
Seednode 61ea0b9670 Replace default --image flag with MarkFlagsOneRequired() from spf13/cobra 2023-11-05 08:23:49 -06:00
Seednode d902368845 Add first/prev/next/last buttons to sorted content 2023-10-20 17:18:35 -05:00
Seednode 9274162b4b Only pass Fun value to Type{} if it has an actual effect 2023-10-19 09:44:41 -05:00
Seednode c6941f1336 Rename mime types to media types, change endpoints accordingly 2023-10-09 09:47:17 -05:00
Seednode 9633239b69 Spacebar now also resumes automatic refreshing 2023-10-09 08:17:32 -05:00
Seednode f36c0cc999 Spacebar now pauses automatic page refreshing 2023-10-08 17:38:09 -05:00
Seednode 9844f4a2e1 Add new --fun flag, add comments to Type interface 2023-10-04 17:33:03 -05:00
Seednode 84c25310da Replace single-value registered format struct with the map value itself 2023-10-04 14:09:49 -05:00
Seednode 5dc218c60e Remove timestamp from error output, allow min/max file count value of 0 2023-10-03 15:00:32 -05:00
Seednode e67752470d Add --fallback option to serve every file, even if no corresponding format is registered 2023-10-03 09:44:50 -05:00
Seednode 8c4633f40f Load timezone before displaying first log output, to ensure consistent timestamps 2023-09-30 07:49:40 -05:00
Seednode fa1e3d126f Simplify type registration system 2023-09-29 14:36:11 -05:00
Seednode 71497198fa Remove -c shorthand for --index, update PGO profile 2023-09-29 08:31:35 -05:00
Seednode 1d0e4634c7 Rename cache to index for more accurate terminology 2023-09-28 10:09:45 -05:00
Seednode 19c2e616fc Rework verbose output for visual consistency 2023-09-28 07:29:33 -05:00
Seednode 0e8ac8cdc5 Preserve case of filter query params even without --case-sensitive, include filename in --verbose output for cache import/export 2023-09-28 06:15:10 -05:00
Seednode 4d8b47a6e3 Remove trailing ellipsis after displaying bound socket 2023-09-28 04:50:08 -05:00
Seednode c8dcc58c1a Release first stable version! 2023-09-28 04:42:30 -05:00
Seednode c57bb9c4c2 Sorting now supports arbitrary numbering length, so long as it is sequential 2023-09-28 03:36:26 -05:00
Seednode 1b84606232 Remove debug statements, update PGO profile 2023-09-26 16:47:01 -05:00
Seednode 64e756f6a3 Make multiple filters actually function, instead of only applying the last filter 2023-09-26 16:37:28 -05:00
Seednode 9a2bf05790 Ensure listen port log entry displays before cache import 2023-09-26 16:11:40 -05:00
Seednode 88a8aff135 Return to pass-by-value instead of globals, to make Sean happy 2023-09-26 15:50:16 -05:00