Commit graph

23 commits

Author SHA1 Message Date
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)