Commit Graph
100 Commits
Author SHA1 Message Date
justin 726ae9a5aa Use states on Uploads 2021-11-02 22:10:19 +10:30
justin 6fa6c34ccb Add new function to generate files that can be resized. Add states for upcoming queue changes. 2021-11-01 20:59:01 +10:30
justin 71c70ce965 Update changelog 2021-10-19 22:45:41 +10:30
justin 02b26e60a9 Update changelog 2021-10-19 22:44:22 +10:30
justin a9df878024 Bump version 2021-10-19 22:40:59 +10:30
justin 460fcf5523 Add test for the too big upload fail 2021-10-19 22:40:29 +10:30
justin 672fd83f27 Properly fail an upload when it is too large. 2021-10-19 22:39:27 +10:30
justin c3f1813f6e Close files so that tests pass on windows 2021-10-16 16:18:02 +10:30
justin 79d14c00bc Bump version to point release and update changelog 2021-10-11 22:53:37 +10:30
justin f180900d79 Error handling for the /rest/uploads endpoint 2021-10-11 22:50:10 +10:30
justin 2c4c9fdde6 Handle "entity too large" errors immediately instead of retrying. 2021-10-11 22:48:49 +10:30
justin b9cacf6d33 Fix problem with uploads rest endpoint 2021-10-11 22:47:43 +10:30
justin 6ad242e063 Fix version check test too 2021-10-11 21:02:08 +10:30
justin 87d8222bc8 Argh - I got the version check backwards :-( 2021-10-11 20:58:42 +10:30
justin 7670a0c5b7 Mark completely failed uploads as failed so we don't keep retrying them 2021-10-11 20:55:35 +10:30
justin 2a3f4ea21a Add the ability to mock the http client and a test. 2021-10-11 20:25:53 +10:30
justin 244cd7b9da Clean up console log printing 2021-10-11 20:25:20 +10:30
justin c2bbe13ca7 Clean up modules 2021-10-11 20:25:06 +10:30
justin 1ef5ed3ce4 Fix release script 2021-10-10 14:55:46 +10:30
justin ec8b2453cd Clean up logging 2021-10-10 14:54:08 +10:30
justin 3776374747 Fix test 2021-10-10 14:45:16 +10:30
justin 6ece881a52 Fix upload logs 2021-10-10 14:44:12 +10:30
justin 4534394abc Lesson learned - read the test output carefully 2021-10-10 14:13:59 +10:30
justin 4c963ba559 Just a stab in the dark 2021-10-10 14:04:25 +10:30
justin c9f8ad60c3 Add debugging to work out why this is failing on github 2021-10-10 13:59:18 +10:30
justin 4665380d15 Add a changelog 2021-10-10 13:57:34 +10:30
justin a739e62824 Fix test 2021-10-10 13:54:26 +10:30
justin c87d6ba79d Merge branch 'master' of https://github.com/tardisx/discord-auto-upload 2021-10-10 13:52:08 +10:30
justin fd6f6884ee Notice configuration changes and restart the watchers. 2021-10-10 13:51:52 +10:30
justin 14ce147ec6 Notice configuration changes and restart the watchers. 2021-10-10 13:43:36 +10:30
justin 90f8c3588b Sanity check the watch interval 2021-10-10 12:51:15 +10:30
justin 3e6cf49394 Add sanity checks for configuration and UI to display errors. 2021-10-10 12:47:37 +10:30
justin 1809033049 Support exclusions again. 2021-10-10 12:00:25 +10:30
justin f9614ffc48 Remove some system-specific testdata 2021-10-10 11:52:19 +10:30
justin 26d4272aa2 Make config look less crappy 2021-10-10 11:51:20 +10:30
justin 2b06c37be8 Fix debug output for startup and test 2021-10-06 23:17:16 +10:30
justin 8483fe7db9 Big refactor to allow for multiple watchers, v2 configuration file with migration and new UI for configuration 2021-10-06 23:12:43 +10:30
justin 7dddc92364 I'm no longer going to call this a quick hack when I spend significant refactoring time :-) 2021-10-04 19:48:26 +10:30
justin 7f3161143f Start to refactor config to support new version of configuration with multiple watchers. 2021-10-04 15:38:49 +10:30
justin e3a7fad7a9 Add the badge. Everyone loves badges. 2021-10-04 13:30:03 +10:30
justinandGitHub c85d134f7b Create go.yml 2021-10-04 13:28:28 +10:30
justin dd79dbed1d Better handling for not found cases, and test 2021-10-04 13:27:46 +10:30
justin 87acf0aefb Rework to use golang 1.16 embed package instead of go-bindata. Rework templates to be less insane 2021-10-04 13:03:26 +10:30
justin 3a65a60fcb Move software version handling to a new package 2021-10-04 12:20:16 +10:30
justin 1812486b19 Switch to semver, basic test. 2021-06-17 18:47:59 +09:30
justin c47660addf Add uploads page 2021-06-08 22:20:11 +09:30
justin 2d0e294af6 Fix title 2021-06-08 22:19:54 +09:30
justin 283e0f3584 Bump version 2021-06-08 22:19:37 +09:30
justin 9ef6ab71c7 Add upload package and update dependencies 2021-06-07 21:13:57 +09:30
justin 701583d3fd Update year 2021-06-07 21:13:18 +09:30
justin 0c156a19f0 Fix punctuation 2021-06-06 22:22:44 +09:30
justin cc54bb6469 Enable filtering by debug and automatic scroll to bottom 2021-06-06 17:15:38 +09:30
justin 71c097e578 Update gitignore 2021-06-06 17:15:19 +09:30
justin d23e31c0e0 Bump version 2021-06-04 10:42:26 +09:30
justin 9cb79a846e Umm, how did this ever work? 😫 2021-06-04 10:41:23 +09:30
justin a5ce0c7f63 Documenation update 2021-06-03 19:42:12 +09:30
justin bcc4e145a2 Limit number of log entries stored 2021-06-03 19:40:53 +09:30
justin d8c0b7d0ea Fix error popup 2021-06-03 19:40:43 +09:30
justin fdf70daba7 Improve log display, use a <pre> so it can be easily cut and pasted. 2021-06-03 19:36:48 +09:30
justin b69cdebf3b Send logs to web server for display there 2021-06-02 23:42:29 +09:30
justinandGitHub 9e22490fe2 Merge pull request #10 from NoahBohme/master
Open discord link in a new tab
2021-03-15 23:30:56 +10:30
justin 23c0aa2a34 Add Exclude to the config as well. 2021-02-09 22:07:40 +10:30
justin 2d1ac3c803 Clean up logging and improve web interface 2021-02-07 22:06:19 +10:30
justin 942f81a378 Bump version 2021-02-07 22:05:49 +10:30
justin 287efab257 We no longer create a .bat file. 2021-02-07 22:05:16 +10:30
justin 2b159e5532 Update README for the new version 2021-02-07 22:05:01 +10:30
justin 851f073e99 Read/Write config to $HOME 2021-02-07 11:42:13 +10:30
justin ec658520b7 go fmt 2021-02-07 08:10:27 +10:30
justin 6b1867f35f Support noWatermark config 2021-02-07 08:10:06 +10:30
justin 6e493522c8 Add username and watch period web configuration 2021-02-06 12:50:44 +10:30
justin 4d09901fb3 Fix up the javascript for loading config data. 2021-02-03 21:43:23 +10:30
justin 9c9d4e492a Wrapper for HTML pages and start of the config web interface 2021-02-02 22:09:18 +10:30
justin e1f5afa788 go fmt 2021-01-31 18:48:48 +10:30
justin 46a0f5a187 Rework configuration to it's own package and make it available to web server. Start a template driven web interface. 2021-01-31 17:53:32 +10:30
justin 55bb5a8bae Fix build instructions 2021-01-31 09:56:09 +10:30
justin c2b9bf410d Bring into 2021 2021-01-30 21:23:58 +10:30
justin a4f958f846 Continue web server integration 2020-03-26 11:40:35 +10:30
justin 14f8fe1933 Fix go generate call 2020-03-20 05:51:25 +10:30
justin 752ff42a19 Add asset generation. 2020-03-20 05:49:12 +10:30
justin 1ef062d19c Generate assets when releasing 2017-07-27 22:11:15 +09:30
justin 6f09841209 Ignore generated asset directory 2017-07-27 22:11:03 +09:30
justin 4619bb5383 Automatically open web browser on startup 2017-07-27 22:04:47 +09:30
justin e240f5dbd0 Embedded assets 2017-07-27 22:04:32 +09:30
justin 80a905b7d6 Improve update check error and make it non-fatal 2017-07-26 22:44:56 +09:30
justin 497d2e3e27 Basic web server startup 2017-07-26 22:40:21 +09:30
justin ab54ace0d2 Add empty web class for the upcoming build-in web server 2017-07-26 14:24:02 +09:30
justin 450765145b Add note about existing file handling 2017-07-26 13:24:07 +09:30
justin 3970c611a4 Add --exclude flag (to avoid uploading thumbnails) 2017-02-28 22:50:03 +10:30
justin d8dc3e4ea8 Fix stupid text 2017-02-28 22:21:22 +10:30
justin 3693d94297 Fix for new version variable name 2017-02-28 22:14:41 +10:30
justin 8ded2b2e2d Document the --no-watermark feature 2017-02-28 22:10:53 +10:30
justin e3e712d073 Add retries, with backoff 2017-02-28 22:07:57 +10:30
justin 1ecac568f7 Mark watermarked images be uploaded, and make it an optional option. 2017-02-28 21:32:18 +10:30
justin 82ba3be742 Hacky image watermarking (not yet complete) 2017-02-26 21:06:48 +10:30
justin 65b9241492 Refactor according to lint 2017-02-22 21:13:07 +10:30
justin f60928fefb Fix typo 2017-02-20 21:58:55 +10:30
justin 29fc0c67c9 Let's commit to the go version 2017-02-20 21:58:28 +10:30
justin 6c3cb6066d Upload. Lacks all but the most basic of error checking 2017-02-20 21:54:16 +10:30
justin 1870313424 Go version, for the easier cross-platform lulz 2017-02-20 21:16:44 +10:30
justin 00218b6cc5 Fix typo 2017-02-18 21:53:44 +10:30