Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d3381749f7 | ||
|
|
55848d6c7d | ||
|
|
f9819350ad | ||
|
|
7062094234 |
1
.gitignore
vendored
1
.gitignore
vendored
@@ -4,3 +4,4 @@ cmd/cmd
|
||||
cmd/cli
|
||||
cmd/pttodo/pttodo
|
||||
/truckstop
|
||||
/exec-truckstop
|
||||
|
||||
@@ -5,7 +5,6 @@ import (
|
||||
"errors"
|
||||
"fmt"
|
||||
"io"
|
||||
"log"
|
||||
"os"
|
||||
"strings"
|
||||
"sync"
|
||||
@@ -90,7 +89,6 @@ func logf(l Level, format string, args []interface{}) {
|
||||
fmt.Fprintf(os.Stderr, format, args...)
|
||||
}
|
||||
fmt.Fprintf(logger, format, args...)
|
||||
log.Printf("l==sos=%v, ansoser!=nil=%v", l == SOS, ansoser != nil)
|
||||
if l == SOS && cAnsoser != nil {
|
||||
cAnsoser.Send(fmt.Sprintf(format, args...))
|
||||
}
|
||||
|
||||
2
main.go
2
main.go
@@ -26,6 +26,7 @@ func main() {
|
||||
}
|
||||
if config.Get().Message.Matrix.ReceiveEnabled {
|
||||
if err := matrixrecv(); err != nil {
|
||||
logtr.SOSf("failed to recv matrix on boot: %v", err)
|
||||
panic(err)
|
||||
}
|
||||
}
|
||||
@@ -47,6 +48,7 @@ func main() {
|
||||
}
|
||||
}()
|
||||
if err := _main(); err != nil {
|
||||
logtr.SOSf("failed _main: %v", err)
|
||||
panic(err)
|
||||
}
|
||||
lock.Lock()
|
||||
|
||||
@@ -1,8 +1,7 @@
|
||||
todo:
|
||||
- help() log on truckstop for stuff like perma 403
|
||||
- TEST its falling apart
|
||||
- mark jobs no longer avail by modifying in matrix
|
||||
- write-as for clients so ma can write to pa by default
|
||||
- mark jobs no longer avail by modifying in matrix;; save matrix ID over dummy payload
|
||||
- recv-as for clients so pa receives mas commands as writes
|
||||
- try search ntg by autoinc?
|
||||
- continuation is garbo, but I can still do better client side to avoid get-set high level
|
||||
- no hard code jpeg or have it in multiple places
|
||||
- test each !command callbacks to matrix
|
||||
@@ -15,6 +14,8 @@ todo:
|
||||
- banlist criteria like vendors, brokers, metadata
|
||||
- set up copy for caleb, broc
|
||||
done:
|
||||
- TEST its falling apart
|
||||
- help() log on truckstop for stuff like perma 403
|
||||
- figure out zoom on maps;; is there like an auto-zoom I can leverage?
|
||||
- mock is nigh useless
|
||||
- mark consumed;; save scroll id for matrix
|
||||
|
||||
Reference in New Issue
Block a user