Commit Graph

37 Commits

Author SHA1 Message Date
fc91613a66 Let per-site config specify a git branch (fix #30) (WIP) 2024-04-08 15:29:07 -05:00
401f4a89f8 Attempt to create "sites" folder on start (fix #32) 2024-04-02 21:10:51 -05:00
7ccd29bfb1 Add site start chat command (fix #23) 2024-03-27 12:03:12 -05:00
852874a12a Add site stop chat command (fix #22) 2024-03-27 11:57:26 -05:00
09ed6cc8c4 Add site.Stop method (fix #35) 2024-03-27 11:57:07 -05:00
ba71b42369 Switch default config file to ./config.lua, not ./config.json (fix #33) 2024-03-27 11:45:37 -05:00
fc4f0affc2 Switch per-site configuration to Lua (fix #31) 2024-03-27 11:44:09 -05:00
84961bda58 Switch main configuration language to Lua (fix #28) 2024-03-27 11:26:10 -05:00
2edf00073f Tell the user if given an invalid / non-existant config file (fix #29) 2024-03-27 10:21:56 -05:00
e72171f1ef Add site restart chat command (fix #21) 2024-03-15 19:19:19 -05:00
85ab2a963b Add chatcommand argument parsing 2024-03-15 18:27:02 -05:00
25512974d2 Add per-site optional configuration (fix #15) 2024-03-15 17:51:45 -05:00
9dc85805e3 Remove config.json 2024-03-15 17:12:41 -05:00
75ffee63c5 Add --disable-matrix flag for testing (fix #19) 2024-03-15 15:57:32 -05:00
bce75062cf Format main.go 2024-03-14 11:50:53 -05:00
72c5467ae2 Make handler() send more status messages over Matrix (fix #14) 2024-03-11 17:55:13 -05:00
841dda8f8f Fix Matrix bot replying to old commands on program launch (fix #11) 2024-03-11 17:43:24 -05:00
818e95c33f Add Site structure (and convert helper functions to methods) (fix #17) 2024-03-11 17:19:10 -05:00
fef65ea991 Don't give updateSite() a clone url 2024-03-11 15:52:49 -05:00
541fb1ca99 Fix cloning down new repositories (fix #12) 2024-03-10 23:13:43 -05:00
5928a0a1d6 Increase wait between message queue scans (fix #12) 2024-03-10 22:52:07 -05:00
714380477e Add \'servers\' matrix command (fix #10) 2024-03-10 22:40:45 -05:00
b07e9a78d8 Add getAllSites() function to sites.go 2024-03-10 22:19:25 -05:00
8c52e842b0 Rename servers -> sites (startAllServers -> startAllSites) 2024-03-10 22:10:00 -05:00
a20a44dd17 Matrix chatcommands 2024-03-10 22:05:15 -05:00
16e20f496b Matrix notifications (fix #3) 2024-03-10 21:22:05 -05:00
7ff174fab9 Matrix notifications (WIP #3) 2024-03-10 17:21:27 -05:00
b6b7357676 Start all sites on program launch (fix #8) 2024-03-10 14:06:10 -05:00
260df0914a Add 'port' configuration option (fix #7) 2024-03-08 15:55:13 -06:00
cc458e6381 Add package comment to deploy_error.go 2024-03-08 15:50:54 -06:00
6e4109cfd5 Allow passing in a configuration file with argparse (fix #6) 2024-03-08 15:50:30 -06:00
428cedeb45 Split up code into multiple files (fix #4) 2024-03-08 15:36:11 -06:00
a58eb557ab Add configuration file (fix #5) 2024-03-08 15:16:33 -06:00
afcbcdd1a7 Restart lapis server on receiving a webhook (fix #2) 2024-03-08 14:51:58 -06:00
a9e390bba4 Pull down repository on receiving a webhook! (+ basic error checking) 2024-03-07 22:37:09 -06:00
ce97b93a78 Base webhoo receiver 2024-03-07 16:43:06 -06:00
f32ed715c3 Init commit 2024-03-07 15:11:25 -06:00