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