Commit Graph

  • 23f52c4426 Set executable bit for build script Seednode 2023-09-05 08:22:15 -0500
  • e93dafd08a Combined Docker repo into main repo Seednode 2023-09-05 08:22:06 -0500
  • 38c947e90d Updated transitive dependencies Seednode 2023-09-03 12:20:36 -0500
  • ba016a86a3 Added -trimpath to build flags Seednode 2023-08-30 21:09:10 -0500
  • 6ff79b1817 Added option to force refreshInterval from command line, and added minimum interval of 500ms Seednode 2023-08-21 15:38:56 -0500
  • 9b250416d9 Reworked port uint16-to-string conversion Seednode 2023-08-13 18:07:45 -0500
  • 6678d0af36 Completely broke serveStats, whoops Seednode 2023-08-13 17:43:35 -0500
  • 01629da407 Replaced uint64 with uint32 Seednode 2023-08-13 17:29:28 -0500
  • 77f14ea71b Replaced atomic convenience wrappers with suggested versions Seednode 2023-08-13 17:02:09 -0500
  • 368a249024 Bumped Go version to 1.21 Seednode 2023-08-11 21:32:40 -0500
  • 6a18376f2e Added basic script to build in Docker to use newer version Seednode 2023-08-11 21:07:14 -0500
  • 172db15454 Updated transitive dependencies Seednode 2023-08-08 17:12:34 -0500
  • 53ee79b87f Reworked favicon and error page handlers Seednode 2023-08-05 21:38:28 -0500
  • 5901e7e1e6 Updated transitive dependencies Seednode 2023-08-05 10:31:34 -0500
  • 526e8e15d6 Added --maximum-files and --minimum-files flags, changed structure for stats struct Seednode 2023-08-02 13:29:37 -0500
  • 6e451afb7d Updated transitive dependencies Seednode 2023-08-02 12:42:33 -0500
  • 7c93fc8c37 Added explicit timezone loading Seednode 2023-07-17 07:41:32 -0500
  • 871851d138 Updated transitive dependencies Seednode 2023-07-05 13:03:36 -0500
  • ed44487604 Updated transitive dependencies Seednode 2023-07-03 12:07:25 -0500
  • 830e661223 Removed explicit w.WriteHeader(http.StatusOK) calls in favor of implicit Seednode 2023-06-22 05:10:40 -0500
  • 40ed9889f9 Added HTTP 500 response on all failed requests, instead of not sending any response Seednode 2023-06-20 10:24:12 -0500
  • 7ca86c19fd Added strings.ToLower() to all stable sorts to ensure intuitive ordering Seednode 2023-06-20 09:02:13 -0500
  • 780bed087d HTML debug sort is now case-insensitive Seednode 2023-06-19 14:34:30 -0500
  • e834547867 Updated transitive dependencies Seednode 2023-06-14 09:01:40 -0500
  • c5e6723bfa Added formatting to HTML debug page, for easier reading Seednode 2023-06-13 19:40:29 -0500
  • 911708b95c Open files to export as O_WRONLY instead of O_RDWR Seednode 2023-06-13 08:50:13 -0500
  • 9a23387a6b Added favicon to HTML debug page Seednode 2023-06-09 15:56:03 -0500
  • 9c668ea04d Significantly increased timeouts so clear_cache doesn't error out Seednode 2023-06-03 19:49:58 -0500
  • d2368884b7 Formatting cleanup for return values Seednode 2023-06-03 18:45:32 -0500
  • 7780b8eaa9 Added strings.TrimPrefix to refererUri so sorting works with the new setup Seednode 2023-06-03 18:37:06 -0500
  • 3d8d4c3869 Fixed hyperlinks in /html endpoint Seednode 2023-06-03 18:14:53 -0500
  • 1df552bc1e Updated debug endpoint paths in readme Seednode 2023-06-03 18:09:17 -0500
  • 72e41ba413 Added version endpoint Seednode 2023-06-03 15:51:08 -0500
  • abae8ba4c1 Replaced net/http with julienschmidt/httprouter and removed (broken) video support, changed stats/debug endpoints Seednode 2023-06-03 13:29:49 -0500
  • 29afaa3025 Changed wording of file count Seednode 2023-06-02 21:04:06 -0500
  • 99ad647614 Added file count to HTML debug endpoint Seednode 2023-06-02 21:00:44 -0500
  • 4679208eae Replace fmt.Println() + os.Exit(1) with log.Fatal() in error handler, error out if no useful paths are passed in Seednode 2023-05-31 13:01:24 -0500
  • af9b79878f Switched back from go-chi to net/http, explicitly declared mux and http.Server Seednode 2023-05-31 12:43:07 -0500
  • 8fc7084098 Recompressed favicons to save space, and replaced multiple favicon handler functions with a single catchall Seednode 2023-05-30 19:13:02 -0500
  • 229aaa7da2 Added embedded favicons, and replaced default mux with go-chi Seednode 2023-05-30 18:47:26 -0500
  • c31518d932 Added first served/last served/most served stats to /_/stats Seednode 2023-05-12 09:05:14 -0500
  • 7184542cb6 Updated transitive dependencies Seednode 2023-05-11 23:22:31 -0500
  • f6ac4b6e2b Added ?sort=asc when opening link via HTML debug page Seednode 2023-05-08 20:21:39 -0500
  • 3e1fb6be6a Added video support Seednode 2023-05-08 20:05:10 -0500
  • f92384f0ce Updated copyright year Seednode 2023-05-08 15:43:27 -0500
  • 2da8e79adb Updated transitive dependencies Seednode 2023-05-08 15:40:52 -0500
  • 5f78094498 Simplified handler function structure Seednode 2023-05-08 13:12:51 -0500
  • 4be011755b Added -b|--bind to bind to specific address Seednode 2023-05-08 11:45:57 -0500
  • 5beb1fc858 --debug now requires --cache, exits with error if not provided Seednode 2023-05-08 11:16:19 -0500
  • 5fdfaee80d Split /_/debug endpoint into /_/html and /_/json, formatted accordingly Seednode 2023-05-08 09:10:13 -0500
  • 8dae3865c0 Renamed /_/index to /_/debug, and adjusted readme accordingly Seednode 2023-04-28 13:31:07 -0500
  • 84af467feb Debug index output is now sorted Seednode 2023-04-28 13:26:47 -0500
  • 9cd9c286c2 Added -d|--debug flag and /_/index endpoint Seednode 2023-04-28 13:19:07 -0500
  • 5f3557614d Updated transitive dependencies Seednode 2023-04-18 09:17:14 -0500
  • c85cd55598 Fixed redirect URIs with relative input paths (e.g. ../../test) and --cache enabled Seednode 2023-04-11 07:19:06 -0500
  • 15e2cc52cc Added check for empty input paths Seednode 2023-04-11 04:44:18 -0500
  • 290395d0eb Updated transitive dependencies Seednode 2023-04-10 15:53:01 -0500
  • d4fce270cf Updated transitive dependencies Seednode 2023-04-06 11:55:40 -0500
  • 6ad4bd5592 Updated transitive dependencies Seednode 2023-04-05 04:45:50 -0500
  • 9101680c8b Updated transitive dependencies Seednode 2023-03-13 11:32:01 -0500
  • 72967395e1 Updated transitive dependencies Seednode 2023-03-06 08:09:30 -0600
  • 7344437e3e Removed stats file Seednode 2023-02-26 19:00:23 -0600
  • 63d040839b Updated transitive dependencies Seednode 2023-02-26 18:57:52 -0600
  • 966df032a6 Added retry to new file selection, with 10s timeout Seednode 2023-02-18 14:08:11 -0600
  • e2356c180f Readded checks in prepareDirectory to avoid redirect issue with sort=asc Seednode 2023-02-18 13:38:18 -0600
  • ce4c1e8171 Added --stats-file to README Seednode 2023-02-18 13:00:53 -0600
  • d05550a991 Preallocate slices when possible, remove unnecessary check when sortOrder is provided Seednode 2023-02-18 13:00:08 -0600
  • e638e2709a Updated transitive dependencies Seednode 2023-02-16 14:12:56 -0600
  • b89ffcce81 Updated transitive dependencies Seednode 2023-02-09 09:39:28 -0600
  • 537633a030 Added persistent stats file Seednode 2023-02-08 07:50:40 -0600
  • 9087cf6b4d Replaced log.Fatal() with fmt.Println() and return for non-critical functions Seednode 2023-02-07 07:39:04 -0600
  • 6a532e5511 Stats page should actually be sorted now Seednode 2023-02-06 12:23:59 -0600
  • 4fc20f1de8 Added freebsd/riscv64 build target Seednode 2023-02-06 09:26:54 -0600
  • 3c47841e90 Added licenses for new dependencies Seednode 2023-02-05 14:53:47 -0600
  • 18c9ea2688 Removed typo Seednode 2023-02-05 14:49:18 -0600
  • 7aad799b15 Updated entry for --stats, which replaces -d|--debug Seednode 2023-02-05 14:42:31 -0600
  • 5e723bb097 Rewrote readme for cache-file Seednode 2023-02-05 14:37:25 -0600
  • ae1a1bbc5e Added zstd compression for cache file Seednode 2023-02-05 14:34:22 -0600
  • d2794c721f Removed commented-out old rand source initialization Seednode 2023-02-04 23:47:09 -0600
  • 69c4ccfc97 Added support for persistent index file Seednode 2023-02-04 23:44:31 -0600
  • 2f92089191 Replaced Run with RunE in rootcmd, to cascade errors back to main Execute() Seednode 2023-01-27 13:20:07 -0600
  • 335f6bffde Combined root variable declarations into a block, changed increment/decrement functions to unexported Seednode 2023-01-27 13:17:13 -0600
  • 635df29fbc All methods that might mutate state changed to unexported, and all fields set to unexported by default Seednode 2023-01-27 10:06:10 -0600
  • 2a6c6b48d4 Reverted changes that entirely broke debug, keeping change to printf strings Seednode 2023-01-24 19:06:27 -0600
  • 93fa3640ef Reverted changes that entirely broke debug, keeping change to printf strings Seednode 2023-01-24 19:06:15 -0600
  • 3cb2e81ec7 Rearranged functions into alphabetical order Seednode 2023-01-24 12:03:26 -0600
  • da5bdfe765 Replaced %v with more specific format string in printf calls Seednode 2023-01-24 10:13:09 -0600
  • fa5ae95cb3 Renamed cache handler Seednode 2023-01-23 17:41:18 -0600
  • 359ded19f2 Set all functions that modify state to unexported Seednode 2023-01-23 17:30:33 -0600
  • 04d253c1e6 Log accesses to /_/stats and reduce verbosity of GenerateCache() Seednode 2023-01-21 16:37:32 -0600
  • 66f6069d96 Directly call getFileList() when generating cache, instead of pickFile() Seednode 2023-01-21 16:20:35 -0600
  • 3bf3c5b5ed Moved struct and method declarations to the appropriate source files Seednode 2023-01-21 16:08:59 -0600
  • 7c40d62496 Sped up indexing when caching is enabled but filters are applied, added RWMutex to Index struct Seednode 2023-01-21 10:27:35 -0600
  • 340b637baf Added Get() and Set() functions for file index Seednode 2023-01-21 09:35:23 -0600
  • fcdb81a9b7 Fixed double-scanning with cache enabled Seednode 2023-01-20 22:42:44 -0600
  • 6c888ba20a Added filesize and timestamps to debug JSON output Seednode 2023-01-20 18:14:07 -0600
  • 2f81e540e2 Corrected small typo in README Seednode 2023-01-19 20:57:18 -0600
  • 0f4c4845b2 JSON output for stats is now pretty-printed and sorted alphabetically Seednode 2023-01-19 20:31:02 -0600
  • 6bb779d1bc Clarified wording for how cache works Seednode 2023-01-19 15:00:29 -0600
  • bb3924edb7 Build against 1.20rc3 because we live on the edge Seednode 2023-01-19 12:46:50 -0600