Commit Graph

26 Commits

Author SHA1 Message Date
20b955231b Confirm webhook is from a trusted source (fix #16) 2024-04-16 11:36:51 -05:00
dea25cd2f9 Add matrix.disable to config file (fix #47) 2024-04-16 10:21:34 -05:00
e62d7fe0c2 Store circle emoji in a map (fix #34) 2024-04-12 11:19:43 -05:00
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
ba71b42369 Switch default config file to ./config.lua, not ./config.json (fix #33) 2024-03-27 11:45:37 -05:00
2edf00073f Tell the user if given an invalid / non-existant config file (fix #29) 2024-03-27 10:21:56 -05:00
25512974d2 Add per-site optional configuration (fix #15) 2024-03-15 17:51:45 -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
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
8c52e842b0 Rename servers -> sites (startAllServers -> startAllSites) 2024-03-10 22:10:00 -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
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