Commit Graph

210 Commits

Author SHA1 Message Date
Seednode f92384f0ce Updated copyright year 2023-05-08 15:43:27 -05:00
Seednode 2da8e79adb Updated transitive dependencies 2023-05-08 15:40:52 -05:00
Seednode 5f78094498 Simplified handler function structure 2023-05-08 13:12:51 -05:00
Seednode 4be011755b Added -b|--bind to bind to specific address 2023-05-08 11:45:57 -05:00
Seednode 5beb1fc858 --debug now requires --cache, exits with error if not provided 2023-05-08 11:16:19 -05:00
Seednode 5fdfaee80d Split /_/debug endpoint into /_/html and /_/json, formatted accordingly 2023-05-08 09:10:13 -05:00
Seednode 8dae3865c0 Renamed /_/index to /_/debug, and adjusted readme accordingly 2023-04-28 13:31:07 -05:00
Seednode 84af467feb Debug index output is now sorted 2023-04-28 13:26:47 -05:00
Seednode 9cd9c286c2 Added -d|--debug flag and /_/index endpoint 2023-04-28 13:19:07 -05:00
Seednode 5f3557614d Updated transitive dependencies 2023-04-18 09:17:14 -05:00
Seednode c85cd55598 Fixed redirect URIs with relative input paths (e.g. ../../test) and --cache enabled 2023-04-11 07:19:06 -05:00
Seednode 15e2cc52cc Added check for empty input paths 2023-04-11 04:44:18 -05:00
Seednode 290395d0eb Updated transitive dependencies 2023-04-10 15:53:01 -05:00
Seednode d4fce270cf Updated transitive dependencies 2023-04-06 11:55:40 -05:00
Seednode 6ad4bd5592 Updated transitive dependencies 2023-04-05 04:45:50 -05:00
Seednode 9101680c8b Updated transitive dependencies 2023-03-13 11:32:01 -05:00
Seednode 72967395e1 Updated transitive dependencies 2023-03-06 08:09:30 -06:00
Seednode 7344437e3e Removed stats file 2023-02-26 19:00:23 -06:00
Seednode 63d040839b Updated transitive dependencies 2023-02-26 18:57:52 -06:00
Seednode 966df032a6 Added retry to new file selection, with 10s timeout 2023-02-18 14:08:11 -06:00
Seednode e2356c180f Readded checks in prepareDirectory to avoid redirect issue with sort=asc 2023-02-18 13:38:18 -06:00
Seednode ce4c1e8171 Added --stats-file to README 2023-02-18 13:00:53 -06:00
Seednode d05550a991 Preallocate slices when possible, remove unnecessary check when sortOrder is provided 2023-02-18 13:00:08 -06:00
Seednode e638e2709a Updated transitive dependencies 2023-02-16 14:12:56 -06:00
Seednode b89ffcce81 Updated transitive dependencies 2023-02-09 09:39:28 -06:00
Seednode 537633a030 Added persistent stats file 2023-02-08 07:50:40 -06:00
Seednode 9087cf6b4d Replaced log.Fatal() with fmt.Println() and return for non-critical functions 2023-02-07 07:39:04 -06:00
Seednode 6a532e5511 Stats page should actually be sorted now 2023-02-06 12:23:59 -06:00
Seednode 4fc20f1de8 Added freebsd/riscv64 build target 2023-02-06 09:26:54 -06:00
Seednode 3c47841e90 Added licenses for new dependencies 2023-02-05 14:53:47 -06:00
Seednode 18c9ea2688 Removed typo 2023-02-05 14:49:18 -06:00
Seednode 7aad799b15 Updated entry for --stats, which replaces -d|--debug 2023-02-05 14:42:31 -06:00
Seednode 5e723bb097 Rewrote readme for cache-file 2023-02-05 14:37:25 -06:00
Seednode ae1a1bbc5e Added zstd compression for cache file 2023-02-05 14:34:22 -06:00
Seednode d2794c721f Removed commented-out old rand source initialization 2023-02-04 23:47:09 -06:00
Seednode 69c4ccfc97 Added support for persistent index file 2023-02-04 23:44:31 -06:00
Seednode 2f92089191 Replaced Run with RunE in rootcmd, to cascade errors back to main Execute() 2023-01-27 13:20:07 -06:00
Seednode 335f6bffde Combined root variable declarations into a block, changed increment/decrement functions to unexported 2023-01-27 13:17:13 -06:00
Seednode 635df29fbc All methods that might mutate state changed to unexported, and all fields set to unexported by default 2023-01-27 10:06:10 -06:00
Seednode 2a6c6b48d4 Reverted changes that entirely broke debug, keeping change to printf strings 2023-01-24 19:06:27 -06:00
Seednode 93fa3640ef Reverted changes that entirely broke debug, keeping change to printf strings 2023-01-24 19:06:15 -06:00
Seednode 3cb2e81ec7 Rearranged functions into alphabetical order 2023-01-24 12:03:26 -06:00
Seednode da5bdfe765 Replaced %v with more specific format string in printf calls 2023-01-24 10:13:09 -06:00
Seednode fa5ae95cb3 Renamed cache handler 2023-01-23 17:41:18 -06:00
Seednode 359ded19f2 Set all functions that modify state to unexported 2023-01-23 17:30:33 -06:00
Seednode 04d253c1e6 Log accesses to /_/stats and reduce verbosity of GenerateCache() 2023-01-21 16:37:32 -06:00
Seednode 66f6069d96 Directly call getFileList() when generating cache, instead of pickFile() 2023-01-21 16:20:35 -06:00
Seednode 3bf3c5b5ed Moved struct and method declarations to the appropriate source files 2023-01-21 16:08:59 -06:00
Seednode 7c40d62496 Sped up indexing when caching is enabled but filters are applied, added RWMutex to Index struct 2023-01-21 10:27:35 -06:00
Seednode 340b637baf Added Get() and Set() functions for file index 2023-01-21 09:35:23 -06:00