boravyvorant / eve-fuelbot Goto Github PK
View Code? Open in Web Editor NEWNotify Slack when structures need fuel
License: Apache License 2.0
Notify Slack when structures need fuel
License: Apache License 2.0
Slack has a mechanism for displaying time in the local timezone of each reader, described here:
https://api.slack.com/docs/message-formatting
It's not clear whether the exact expiry time for a structure is more useful in this form or not, but we should give some thought to changing this.
At present, the systems
configuration item must appear. We should change the application so that if it doesn't appear, the restriction by system is not performed.
ESI includes a system to allow applications to detect that they are using deprecated versioned routes. For a command-line application, it doesn't really make sense to do this in normal application use, but it could be added as something that could be called with a separate cron
entry.
If you have a structure which is in low power state because no services are active, the fuel_expires
value is nil
rather than a DateTime
and the following code fails:
# Sort by fuel expiry time.
structures.sort_by!(&:fuel_expires)
Error is:
fuelbot.rb:74:in `sort_by': comparison of DateTime with nil failed (ArgumentError)
To help deploying instances of this application we probably need:
Dockerfile
to encapsulate the applicationAt present, the thresholds (in days) for danger
and warning
states are hard-wired. They should be taken from the configuration (but defaulted).
To help deploying instances of this application we probably need:
Dockerfile
to encapsulate the applicationA declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.