8ddbe8b2c6Replaced <= 0 with < 1 for readability's sake
Seednode
2022-12-20 18:24:07 -0600
cf79bc1d3dMoved determining real IP address to its own function
Seednode
2022-12-20 18:17:33 -0600
af9def38baAccidentally referred to response headers, not request headers, when determining IP address
Seednode
2022-12-20 17:54:27 -0600
3d560ef770Added initial attempt at reporting proper IPs in logs
Seednode
2022-12-20 17:48:05 -0600
cfbffb6dabFixed incorrect IsEmpty() check that would return true if exactly one of HasIncludes() or HasExcludes() returned true
Seednode
2022-12-20 17:12:37 -0600
85ddc13627Clarified which builds are actually tested
Seednode
2022-11-11 17:51:02 -0600
a053d8bb94Specified supported platforms for Docker image
Seednode
2022-11-11 17:48:29 -0600
06fd74741fAdded more build platform targets, maybe I'll even test some of them
Seednode
2022-11-11 17:44:05 -0600
e8a06a09a4Disabled CGO instead of statically linking it in
Seednode
2022-11-11 17:34:41 -0600
f9d7be008dCombined declare/initialize steps for structs
Seednode
2022-11-11 09:44:47 -0600
d3c063017dRemoved extraneous check in getRefreshInterval(), inverted value check in getSortOrder(), replaced string concatenation with strings.Builder in generateFilePath()
Seednode
2022-11-11 09:19:53 -0600
e605bf1f0fAdded link to Dockerfile repo to README
Seednode
2022-11-10 23:36:38 -0600
76aab2c2a2Added docker image to README
Seednode
2022-11-10 23:34:31 -0600
76e1ad90f7Added contact info to readme
Seednode
2022-11-10 23:33:20 -0600
0b34784b12Images are now centered, both vertically and horizontally
Seednode
2022-11-10 23:24:14 -0600
0bdbc5d2a0Merge branch 'master' of ssh://git/seednode/roulette
Seednode
2022-11-10 15:34:12 -0600
eff8394453Changed variable name from PascalCase to camelCase
Seednode
2022-11-10 15:34:07 -0600
6e16f6eef4Fixed phrasing consistency in README
Seednode
2022-11-10 14:54:55 -0600
7a49433e17Fixed typo in README, clarified that filters must be alphanumeric
Seednode
2022-11-10 14:54:17 -0600
5f28361f47Fixed issue where invalid include/exclude values were being accepted
Seednode
2022-11-10 13:57:38 -0600
ea4b1be5c3Added basic input verification for sortOrder/refreshInterval
Seednode
2022-11-10 10:09:39 -0600
28af94cba3Refresh now happens X seconds after page finishes completely loading, not X seconds after the initial request is sent
Seednode
2022-11-10 09:38:40 -0600
4b596743f7Replaced error if/else checks with switch/case, to keep things consistent
Seednode
2022-11-10 00:29:06 -0600
283b4fccecUnified error handling, fixed missing file checks, and added logging for requested (but not available) files
Seednode
2022-11-10 00:26:21 -0600
0a251e8f5aAlways append refresh query string, replaced string concatenation with strings.Builder in generateQueryParams()
Seednode
2022-11-10 00:04:47 -0600
3e98201cddRemoved extraneous </img> tag and added doctype tag
Seednode
2022-11-09 23:53:02 -0600
f12b800a71Replaced const string template with strings.Builder, to be hopefully somewhat more readable while still being moderately efficient
Seednode
2022-11-09 23:33:13 -0600
43a515c896Replaced image dimension string variable with Dimensions struct, replaced handrolled HTML generation with gohtml library, added height and width to img tags
Seednode
2022-11-09 23:17:19 -0600
ac67d710c8Moved javascript after img tag
Seednode
2022-11-09 21:25:04 -0600
a9b2af3e18Fixed improper handling of potentially empty string for strconv.Atoi()
Seednode
2022-11-08 19:30:08 -0600
ea2e17d265Added automatic reload functionality via query parameters, and rewrote generateQueryParams() to hopefully be more readable
Seednode
2022-11-08 19:24:49 -0600
c213911969Only generate filter struct once, further simplify switch/case om serveHtmlHandler() into a simple if/else
Seednode
2022-11-05 11:17:31 -0500
b6f7d9c104Reworked functions to be more concise (e.g. now getNewFile and getNextFile work with or without sortOrder)
Seednode
2022-11-05 11:00:42 -0500
70a1eaf91dReverted previous change because the count was actually working fine, I just forgot my test instance was pointing at multiple directories
Seednode
2022-11-02 09:17:07 -0500
ea1d8d52c6Maybe fixed incorrect total scanned file count displayed when -v is passed
Seednode
2022-11-02 09:10:55 -0500
c13eac975fFixed length of extensions array, and added bmp to the support formats in the readme
Seednode
2022-10-31 15:18:47 -0500
7e5f8b4c14Removed unused image decoders from vendoring
Seednode
2022-10-29 10:46:08 -0500
7fbac504bcRemoved unused tiff/vp8 decoders from vendoring
Seednode
2022-10-29 10:43:58 -0500
3450ea89e0Fixed for loop requesting out-of-range index in pickFile()
Seednode
2022-10-29 10:41:03 -0500
f6924ba7b5Added support for .bmp images
Seednode
2022-10-29 10:32:01 -0500
297c561fabpickFile now iterates through entire file list, instead of stopping after an arbitrary number
Seednode
2022-10-28 23:07:25 -0500
2274c51e84Set --cache and --filter as mutually exclusive
Seednode
2022-10-28 22:59:59 -0500
3d6e7b0493Added limit on file checking retries
Seednode
2022-10-28 21:08:08 -0500
ad6d7e2cd3Empty space on image pages is now clickable, and returns a new random image
Seednode
2022-10-28 19:52:53 -0500
97e3b47b19Only seed rng once, at initialization, and speed up picking random file by using rand.Intn instead of shuffling the slice
Seednode
2022-10-28 19:49:49 -0500
920bdb2615Slight formatting change to HTML output, for consistency's sake
Seednode
2022-10-28 19:18:34 -0500
5c7bb60dcbEntire 404 page is now clickable, and attempts to open a new random file
Seednode
2022-10-28 19:09:05 -0500
0434353942Display image size in tab titles, to match behavior of images served directly
Seednode
2022-10-28 18:32:03 -0500
8c763db461Removed two debug print statements I accidentally left in
Seednode
2022-10-28 17:26:26 -0500
f21c01e085Added flag to cache directory scan at startup
Seednode
2022-10-28 17:19:04 -0500
44972fde78Reordered variable initialization to match parameter orders
Seednode
2022-10-25 09:40:27 -0500
3801421567Display size of file served when verbose flag is passed
Seednode
2022-10-25 00:11:55 -0500
1fe42cb217Merge branch 'master' of ssh://git/seednode/roulette
Seednode
2022-10-25 00:07:06 -0500
d580f1a9abAdded info about query parameters to readme
Seednode
2022-10-19 19:56:42 -0500
fa7177849eReplaced some value passing with pointers, per suggestions from copyfighter
Seednode
2022-10-19 19:41:42 -0500
5d9a815bf2Replaced option to filter for a single stream with include and exclude options, each accepting multiple comma-delimited values
Seednode
2022-10-19 19:27:11 -0500
4d6c6f9bf1Removed Windows builds, since path handling is hard
Seednode
2022-10-19 14:39:55 -0500
41a7546334Hopefully fixed Windows support
Seednode
2022-10-18 17:30:04 -0500
b0ebf1177bUpdated readme with more useful info
Seednode
2022-10-18 16:58:15 -0500
0a546dd468Changed port type from int to uint16
Seednode
2022-10-18 16:54:01 -0500