Commit Graph

19 Commits

Author SHA1 Message Date
dtookey
b11be2f32c Final tweak. Slightly better formatting for returned message 2022-11-16 11:15:06 -05:00
dtookey
3a7077f2d5 Auto import fail 2022-11-16 11:13:26 -05:00
dtookey
fd61f14365 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	servlet/server.go
2022-11-16 11:12:20 -05:00
dtookey
25ef4fd54b edited SendError to ship a generic error if there's no template explicitly stated 2022-11-16 11:10:58 -05:00
dtookey
e2a686fb65 added error logging into the SendError call 2022-08-16 11:38:23 -04:00
dtookey
3ed33dfac9 enabled more robust logging during errors 2022-08-15 13:45:30 -04:00
dtookey
577525ebaf update to how configs work 2022-08-09 11:46:49 -04:00
dtookey
85587cd2eb first draft of config-based servlet creation 2022-08-05 10:11:45 -04:00
dtookey
97a50a6a34 implemented some template route stuff 2022-08-03 12:42:42 -04:00
dtookey
8f29442ff4 tenative draft of template routes 2022-08-03 11:08:25 -04:00
dtookey
355021634f rudimentary template -> static file stuff 2022-07-27 13:11:24 -04:00
dtookey
c3df1f3a85 added some Content-type header insertion in uncompressedfileroutes.
Changed how Get GetFresh work in the webLRU. Entries can now force loading from disk with LruEntry.Reload().
2022-07-27 12:17:41 -04:00
dtookey
3b9ecb168f tweaked server.go to have a more informative servlet.Start() experience 2022-07-21 10:04:21 -04:00
dtookey
14cbf49e9a cleaned up the api for adding routes (it does it automatically when you create the route).
Added a function to the server to announce registered routes.
2022-07-21 09:53:49 -04:00
dtookey
a72b54a114 setting default cache time super low to test cache expirations 2022-07-21 09:19:36 -04:00
dtookey
b15a05676c With no testing, and no evidence that we did anything correctly, it appears the has cleaned up the api a little tiny bit 2022-07-21 09:04:37 -04:00
dtookey
9ebc43e072 massive refactor. StaticRoute.go is still a mess. needs a big overhaul still. 2022-07-20 15:16:05 -04:00
dtookey
a5f494730d implemented a global cache-disabler for use during dev 2022-07-19 15:38:31 -04:00
dtookey
26fbb2908c okay, everything seems to work. somewhat. 2022-07-18 17:00:22 -04:00