Commit Graph

  • 022b14bfa2 Fixed unhandled error return value Seednode 2022-10-18 16:46:55 -0500
  • c8971f5187 Replaced separate values for base, file number, and file extension with a struct, and added methods to increment/decrement that value Seednode 2022-10-18 16:40:13 -0500
  • 0d9e74fbca Added sorting options (ascending, descending, defaults to random) Seednode 2022-10-18 13:42:32 -0500
  • 7f27050595 Updated transitive dependencies Seednode 2022-10-13 11:19:34 -0500
  • 84038440af Cleaned up responsewriter and request pointer handling, and added return values when missing after 404 responses Seednode 2022-10-03 21:35:02 -0500
  • 919d1c2e8b Restructured code to hopefully be more readable Seednode 2022-09-26 12:31:45 -0500
  • 7fe46868c5 Removed extraneous double quote in html generator Seednode 2022-09-25 17:33:25 -0500
  • 8e1ab46302 Successive requires value of true, instead of any non-null value Seednode 2022-09-25 11:30:52 -0500
  • 5f9dd5f607 Removed debug message from reworking successive argument Seednode 2022-09-24 21:00:03 -0500
  • b51c8afc15 Moved successive and filter arguments to exclusively query parsms Seednode 2022-09-24 20:54:51 -0500
  • 159207dd5f Completely reworked file list generation to fix Successive weighting Seednode 2022-09-24 20:28:34 -0500
  • 5b8bec54e8 Added query param support for filtering Seednode 2022-09-24 18:59:10 -0500
  • ed1ecfd278 Added argument to filter displayed results Seednode 2022-09-24 17:17:56 -0500
  • b2ad413844 Replaced unquoted variable expansion with explicit splitting, to make shellcheck happy Seednode 2022-09-21 23:15:45 -0500
  • d1f1b2e90b Use raw strings instead of quoted strings for regexp.MustCompile, replaced time.Now().Sub with time.Since, fixed clobbered filePath value, per staticcheck Seednode 2022-09-21 21:24:05 -0500
  • 79331096a9 Rearranged some variable initializations Seednode 2022-09-18 13:32:58 -0500
  • 9e05a12fd7 serveHtmlHandler could potentially return an empty response in default case Seednode 2022-09-18 13:17:29 -0500
  • f3280a6b6c Display first image in directory on first load if --successive is enabled Seednode 2022-09-18 13:07:46 -0500
  • 0b7b9983a5 Fixed bug where -v + -s stops -s from working Seednode 2022-09-17 13:38:07 -0500
  • f332fb24a8 Added another slice length check Seednode 2022-09-17 13:12:22 -0500
  • 094bb13cf3 Added slice length check Seednode 2022-09-17 12:42:25 -0500
  • d6aa587091 Updated readme again Seednode 2022-09-17 11:13:32 -0500
  • 00dc485c08 Updated readme Seednode 2022-09-17 11:09:49 -0500
  • 40707bf9c8 Added option to display sequentially numbered files instead of randomly choosing, when possible Seednode 2022-09-17 11:07:37 -0500
  • 9b07726f14 Removed header from README Seednode 2022-09-16 14:59:14 -0500
  • 103f8cb456 Modified usage info Seednode 2022-09-16 14:57:40 -0500
  • 31f138d9ec Simplified phrasing Seednode 2022-09-16 14:54:23 -0500
  • d5f645abff Added README Seednode 2022-09-16 14:52:59 -0500
  • 4395818492 Replaced --version with version subcommand Seednode 2022-09-16 14:48:30 -0500
  • 26981c9669 Renamed functions for consistency Seednode 2022-09-16 14:45:54 -0500
  • 4e74d99019 Reworked to allow use of back button to return to previous results, via HTTP redirects Seednode 2022-09-16 13:45:33 -0500
  • 3febbedacc Fixed timestamp formatting Seednode 2022-09-11 20:48:52 -0500
  • 67299a2808 Simplified timestamp functions Seednode 2022-09-11 20:05:55 -0500
  • de398093b5 Display time spent displaying image when running in verbose mode Seednode 2022-09-11 19:01:56 -0500
  • 35b46ed9e8 Replaced log.Print with fmt.Printf to allow finer control of newlines Seednode 2022-09-10 18:03:04 -0500
  • bbe919be3b Removed unused utils.go Seednode 2022-09-10 16:35:05 -0500
  • 469cb96883 Added option for -v|--verbose, to log file accesses to stdout Seednode 2022-09-10 16:17:55 -0500
  • fbd4357afe Added deferred fd close for checkIfImage, and deferred getting filenames until after checking if file is an image Seednode 2022-09-10 13:09:39 -0500
  • 824965f2c3 Added licenses Seednode 2022-09-09 19:01:52 -0500
  • 5031692793 Moved from manually checking magic numbers to github.com/h2non/filetype Seednode 2022-09-09 19:00:02 -0500
  • eba8c6f068 No longer picking random files from slice, shuffle slice once instead. Return 404 not found if no valid image files are found. Seednode 2022-09-09 17:21:03 -0500
  • 6660e080f4 Replaced panic with error return value in normalizePaths() Seednode 2022-09-09 14:28:57 -0500
  • 4a484eed83 Removed unused functions Seednode 2022-09-09 14:14:54 -0500
  • 51ab23a234 Re-added missing HTML footer Seednode 2022-09-08 19:11:07 -0500
  • d51fdbb546 Reverted to old state because something was broken Seednode 2022-09-08 19:02:33 -0500
  • c61eeb004a Readded missing exit-handling function Seednode 2022-09-08 16:05:07 -0500
  • 731f1a6791 Removed unused functions Seednode 2022-09-08 16:01:28 -0500
  • 057e4ac21b Removed unused utils.go Seednode 2022-09-08 16:01:16 -0500
  • 7d40d25b40 Added file not found response for invalid files Seednode 2022-09-08 15:57:52 -0500
  • 6f1c0c3943 Reached first working version Seednode 2022-09-08 15:30:51 -0500
  • d052fd6af9 Confirmed recursive and nonrecursive functions both work as expected Seednode 2022-09-08 13:12:50 -0500
  • eee4917322 Added separate recursive path walker Seednode 2022-09-08 12:12:58 -0500
  • 7ae3c72697 First attempt Seednode 2022-09-08 10:57:59 -0500
  • 3d76fcd889 Initial commit Seednode 2022-09-08 10:12:06 -0500