ba045a947f
Fix messages being deleted as they are added to the queue ( fix #26 )
2024-06-11 14:17:15 -05:00
d54fd47375
Add example config ( Fix #48 )
2024-06-11 14:06:28 -05:00
a122598484
Replace DeployErrors with a better system(?) ( fix #42 )
2024-06-11 14:00:32 -05:00
20b955231b
Confirm webhook is from a trusted source ( fix #16 )
2024-04-16 11:36:51 -05:00
70fffcd25b
Don't log when checking for queued messages #46
2024-04-16 10:22:59 -05:00
dea25cd2f9
Add matrix.disable to config file ( fix #47 )
2024-04-16 10:21:34 -05:00
a4ae6f77c7
Log Matrix messages (Even if -M is specified) ( fix #45 )
2024-04-16 10:03:45 -05:00
476ac5a175
Make sure Lua values are actually tables before accessing them ( fix #44 )
2024-04-16 10:00:08 -05:00
698d472ca1
Allow using "all" as an argument to !stop / !start / !restart ( fix #39 )
2024-04-15 16:09:48 -05:00
b15b5b7be1
Add DeployError.ToString() ( fix #43 )
2024-04-15 15:33:26 -05:00
e855c3e630
Display technical site names in !sites command ( fix #40 )
2024-04-15 15:14:37 -05:00
c19cb14ade
Don't trigger warning / error if configuration value is nil.
...
This makes getStringFromTable() and getIntFromTable() only return errors
if there's a type mismatch.
Example: 'name' should be a 'string'. If it's a number, an error is
triggered.
2024-04-15 15:14:09 -05:00
2e5c3dbed6
Remove extra spacing from matrix error message
2024-04-12 11:21:41 -05:00
e62d7fe0c2
Store circle emoji in a map ( fix #34 )
2024-04-12 11:19:43 -05:00
4ecd4b06b8
Move matrix chat commands to their own file ( fix #36 )
2024-04-10 15:59:41 -05:00
8875a40fea
Combine queued messages into one to save on message spam ( fix #18 )
2024-04-08 15:44:12 -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
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