Commit Graph

69 Commits

Author SHA1 Message Date
Luke T. Shumaker f6bd42f398 httpd, keygen: Implement HTTP API keys 2024-03-03 00:03:30 -07:00
Luke T. Shumaker 79da20bd57 httpd: Add a comment 2024-03-02 23:47:05 -07:00
Luke T. Shumaker 22f0728ef6 httpd: Get working with LibreJS 2024-03-02 23:11:43 -07:00
Luke T. Shumaker d1edfd4ddb gitcache: Have the default cache-dir obey @localstatedir@ 2024-01-28 11:01:07 -07:00
Luke T. Shumaker eb05854ed1 httpd: Show timestamps in the webui 2024-01-28 11:01:07 -07:00
Luke T. Shumaker 04013b7499 httpd: Have the job page refresh when the job finishes 2024-01-28 11:01:07 -07:00
Luke T. Shumaker 5eeeb9c651 Do maintenance on the gitcache 2024-01-28 11:01:07 -07:00
Luke T. Shumaker 3574bf8beb httpd: Factor out a pageTemplate() function 2024-01-26 17:14:59 -07:00
Luke T. Shumaker fbd66a44ea httpd: Have the whole row be clickable 2024-01-26 17:07:31 -07:00
Luke T. Shumaker b1deee8b36 run: Write logs to stdout too 2024-01-25 11:08:46 -07:00
Luke T. Shumaker aafa4b3671 run: Better error messages 2024-01-25 10:09:49 -07:00
Luke T. Shumaker 8631ae3643 httpd: Don't show status messages on the /jobs/ index 2024-01-25 10:09:32 -07:00
Luke T. Shumaker 5622a760fd Try a different solution to the EOF thing 2024-01-25 09:15:12 -07:00
Luke T. Shumaker 0434257b40 Fix the thing with pick hanging forever? 2024-01-25 03:40:07 -07:00
Luke T. Shumaker e0f88f1cb9 run: Fix the intermittent unexpected-EOF-at-EOF thing 2024-01-23 23:01:38 -07:00
Luke T. Shumaker 2eeecfff3c httpd: index: Add another link to the source code 2024-01-23 11:49:12 -07:00
Luke T. Shumaker daa6f1cd00 Add a from-gitea webhook 2024-01-23 11:48:57 -07:00
Luke T. Shumaker 1aa9e84dc8 pick: Add a TODO comment 2024-01-22 21:21:35 -07:00
Luke T. Shumaker 3528051a39 Fuss with the homepage 2024-01-22 21:17:06 -07:00
Luke T. Shumaker 03bcaa8601 Track job status messages 2024-01-22 21:10:47 -07:00
Luke T. Shumaker bb73dc7b77 run: fix? 2024-01-22 21:02:53 -07:00
Luke T. Shumaker ce7585e19c logging 2024-01-22 20:56:09 -07:00
Luke T. Shumaker 0d0d626099 httpd: When ?wait=true, send a keepalive every 30s 2024-01-22 18:39:16 -07:00
Luke T. Shumaker 2268111754 httpd: Fuss with HTML 2024-01-22 18:31:22 -07:00
Luke T. Shumaker 3540778d90 Fix /jobs/ query parameters 2024-01-22 17:24:31 -07:00
Luke T. Shumaker 8756abe8c2 Fuss with program descriptions 2024-01-20 14:08:44 -07:00
Luke T. Shumaker 9dc4d83a75 Separate leader and follower configs 2024-01-20 14:01:59 -07:00
Luke T. Shumaker 1589c0bd4f Resolve linter complaints
- cmd/*: add `_ =` before argparser.Mark*()
    + cmd/gitcache: while I'm at it, call MarkFlagDirname on "cache-dir"
 - source.go: add `_ =` before tar.Writer.WriteHeader()
 - cmd/gitcache: Add `ns2url` and `url2ns` subcommands
   "unused" complaints about lib/gitcache.id2url()
    + lib/gitcache: while I'm at it, rename id2url()→NS2URL() and
      url2id()→URL2NS()
 - cmd/httpd: clarify that parsing r.Form.Get() values is allowed to fail
 - cmd/trigger: delete unsused max() and sortedKeys()
 - lib/gitcache: RevParse(): check for errors from os.RemoveAll(tmpdir)
 - lib/leader:
    + add `_ =` before db.Close() in an `if err != nil` block
    + ListJobs(): check for errors from rows.Close()
    + fix the package name in guard.go
2024-01-20 11:07:48 -07:00
Luke T. Shumaker 8468a85f2b Split lib/eclipse into lib/common and lib/leader 2024-01-20 10:21:46 -07:00
Luke T. Shumaker feddc2102e gofmt -w -s . 2024-01-20 10:21:18 -07:00
Luke T. Shumaker e61ccb26b6 run: Run in a temporary directory 2024-01-20 09:44:20 -07:00
Luke T. Shumaker a0b461f2a1 Add an 'eclipse-pick' command 2024-01-19 14:03:03 -07:00
Luke T. Shumaker 38b9fcd2aa httpd: Add features to the /jobs/ endpoint 2024-01-19 13:44:17 -07:00
Luke T. Shumaker 35da1201aa Add a copyright statement to style.css 2024-01-18 22:27:15 -07:00
Luke T. Shumaker d968e614fd Have the log view resize 2024-01-18 22:22:24 -07:00
Luke T. Shumaker 921b4f31df fix 2024-01-18 21:54:39 -07:00
Luke T. Shumaker b7358a5a28 fix log streaming 2024-01-18 20:04:09 -07:00
Luke T. Shumaker af46b21214 reorg 2024-01-18 19:47:10 -07:00
Luke T. Shumaker 02a8580dd9 tidy 2024-01-18 18:32:01 -07:00
Luke T. Shumaker d39eb9dbc6 prune 2024-01-18 18:29:58 -07:00
Luke T. Shumaker 7433389f51 it works!? 2024-01-18 18:23:49 -07:00
Luke T. Shumaker ac2d50d1ea fixes 2024-01-18 14:17:26 -07:00
Luke T. Shumaker 461142dda1 wip 2024-01-18 12:55:53 -07:00
Luke T. Shumaker 66874b0617 wip 2024-01-18 12:08:10 -07:00
Luke T. Shumaker c12d55ebe8 wip 2024-01-18 09:17:10 -07:00
Luke T. Shumaker 4a0422f30d wip 2024-01-18 00:48:14 -07:00
Luke T. Shumaker 8f6c246b71 First pass at creating the runner 2024-01-18 00:43:02 -07:00
Luke T. Shumaker 640b747c50 Refactor 2024-01-17 22:49:09 -07:00
Luke T. Shumaker 09afbb94ec Add a Job page 2024-01-17 21:15:20 -07:00
Luke T. Shumaker 36885598a7 Snazz up the general page template 2024-01-17 19:47:08 -07:00