Commit Graph

33 Commits

Author SHA1 Message Date
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 dbe3bbe0d6 Add CSP headers for all modules, though some are stricter than others 2024-01-30 13:22:42 -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 9c590c9bc6 Specify 'charset=UTF-8' for all text/plain content type headers 2024-01-25 09:30:28 -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 56c6565cb1 Add error handling to all functions that can possibly return non-nil errors 2024-01-07 22:43:51 -06:00
Seednode 75abffda62 Add admin prefix to first/prev/next/last links in info pages 2023-12-22 10:22:42 -06:00
Seednode 14adbdf742 Add concurrency limits; add optional admin path prefix 2023-12-17 06:35:03 -06:00
Seednode e9a3ae5e58 Restructure variable initializations 2023-12-17 05:16:46 -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 c6941f1336 Rename mime types to media types, change endpoints accordingly 2023-10-09 09:47:17 -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 10a3f0927d Add pagination button to both bottom and top of html info pages when enabled 2023-09-30 08:51:13 -05:00
Seednode 1d0e4634c7 Rename cache to index for more accurate terminology 2023-09-28 10:09:45 -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 c11ddae546 Fix capitalization of Serve->SERVE, fix double cache export 2023-09-27 19:01:18 -05:00
Seednode 81b2d4a7b4 Capitalize logging prefixes, limit values to math.MaxInt32 2023-09-26 05:29:55 -05:00
Seednode 935021e464 Replace uint/uint16/uint32 values with int, declare errors as variables 2023-09-26 03:49:20 -05:00
Seednode a1d041dedc Add flags to modify max concurrency directory and file scans 2023-09-26 03:34:50 -05:00
Seednode d4cf9cfa4f Add Type() method to types.Type, to allow displaying served file size for both embedded and inline files 2023-09-15 15:13:45 -05:00
Seednode 1ed9df3932 Add log channel, add --exit-on-error option 2023-09-15 14:28:21 -05:00
Seednode fdd33376ce Add --prefix flag for easy reverse proxying 2023-09-13 23:24:29 -05:00
Seednode 61f10a6f3c Split http handler registration into source files 2023-09-13 12:00:24 -05:00
Seednode 64639a87a3 Changed all variables to non-exported by default 2023-09-13 09:26:15 -05:00
Seednode d7bc6e2451 Total restructure, just look at the diffs at this point 2023-09-12 23:35:17 -05:00
Renamed from cmd/index.go (Browse further)