Commit Graph

553 Commits

Author SHA1 Message Date
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
Seednode fcdb81a9b7 Fixed double-scanning with cache enabled 2023-01-20 22:42:44 -06:00
Seednode 6c888ba20a Added filesize and timestamps to debug JSON output 2023-01-20 18:14:07 -06:00
Seednode 2f81e540e2 Corrected small typo in README 2023-01-19 20:57:18 -06:00
Seednode 0f4c4845b2 JSON output for stats is now pretty-printed and sorted alphabetically 2023-01-19 20:31:02 -06:00
Seednode 6bb779d1bc Clarified wording for how cache works 2023-01-19 15:00:29 -06:00
Seednode bb3924edb7 Build against 1.20rc3 because we live on the edge 2023-01-19 12:46:50 -06:00
Seednode 71bedaf9e8 Changed json keys to lower-case 2023-01-19 12:40:33 -06:00