Changelog

0.19.6
- Better wording for overall UI & SEO
- Typo fixing & minor warnings
0.19.5
- Implement ignore targets based on storage level
0.19.4
- Fix/detect moon destruction attacks
- Fix number of buildable entities in browser UI
0.19.3
- Fix potential defender bug
0.19.2
- Fix typos
0.19.1
- Fix new release notifications
0.19.0
- Notifications when license expire soon / new releases
0.18.13
- Update internal tools
0.18.12
- Update internal tools
0.18.11
- Flight time & Fuel (one way) in flights page
0.18.10
- limit login retry + exp backoff
0.18.9
- Internal admin tools change
0.18.8
- Make flights labels clickable (LC/SC)
0.18.7
- Fix farmer pointer issue
0.18.6
- Change to 5% extra cargo with hyperspace technology
- Add Unix to NjaVM
- Add GetResources() to scripting doc
- Fix repatriate total resources displayed
0.18.5
- Add JumpGate to NjaVM
- Improve how brain builds storage
- Flights page calculate how many LC/SC needed
- Support HR lang (Croatia)
- Repatriate delay improvement
- Repatriate now shows how much it's gathering
0.18.2
- Fix cargo for "non EspionageProbeRaids" universe when sending fleets
0.18.1
- Fix empire "planet" template
0.18.0
- Fix for 2% cargo hyperspace bonus
- Fix some "brain" issues
- Add "Jump gate" button in flights page
0.17.24
- Add SendTelegramNinja to NjaVM
0.17.21
- Add NewShipsInfos to NjaVM
- Farmer to have different delays for spy attacks vs normal
0.17.20
- Fix "flights" page buttons on phone screens
- Recover password form
- Add random delays & logs
- Add Destroy mission to flights page
0.17.19
- Fix isAvailable fn in empire page
0.17.18
- Fix websocket connection reset by peer issue
0.17.17
- Fix UnsafePhalanx (fast phalanx)
0.17.16
- Add UnsafePhalanx (no validation phalanx) to NjaVM
- Fix cloud login issue
- Limit docker logs size/files
0.17.12
- Brain should not build Robotics L11
- Defender re login if needed to recall fleet
- Fix IsAvailable fn
- Fix construction time
- Stop all services to stop hunter as well
- Increase login client timeout
0.17.11
- Prevent chat from taking all cpu
0.17.10
- Random delay before going to sleep/awake (0 to 1min)
- Fix "import & build" for techs
0.17.9
- Enable debugging tools on docker instances
0.17.8
- Fix typo
0.17.7
- Farmer: Remove useless delays between failed fleets
- Repatriate: keep minimum amount of deut to be able to evacuate ships
- Fix galaxy page (destroyed moon were considered your planets)
0.17.6
- ARM binary (for raspberry pi)
- Fix farmer fast-attack stuck on big target issue
- Customizable hunter scan frequency
- Changing the repatriate configs, will reset the current timer
0.17.5
- Farmer: single thread to schedule attacks in queue (fast-attack mode)
- Farmer: retry spying planet after a minute if not enough spy probes on the planet
- Fix admin form to edit users password
0.17.4
- Fix template missing fn
0.17.3
- Fix simulator profits formulas
- Add Mexico to dropdown
0.17.2
- Fix player alliance update
- Fix broken brain
0.17.1
- Fix default hunter interval
0.17.0
- Hunter
- Fix reverse tunnel to work with username with capital letters
- Add checkbox to dump or not resources on moons (defender)
- Repatriate is now an interval
- Evacuate secs before attack is now an interval
- Optional: simulator result to prevent useless evacuations
- Better looking HTML emails
- Add Mexico ogame servers (mx)
- Improve logs for send fleet
- Defender to send notifs when evacuation failed
- Turn on/off reverse tunnel without restarting the app
0.16.0
- Download/backup scripts
- Restart instance button
- Fix bot stuck in GalaxyInfos
- Reverse tunnel experimental feature
- Farmer keep track of fuel consumption
0.15.0
- New cloud instances to use docker
- Add more random sleeps in repatriate
0.14.8
- Fix CoolDownTime type
0.14.7
- Fix bug in SendFleet
0.14.6
- More documentation
0.14.5
- Update documentation
0.14.4
- Simulator uses FleetToDebris from player's server settings
- Simulator to calculate captured plunder
- Add script documentation
- Abandon planet using either a planet/planetID/coord/string/int/float
- Abandon: Add validation that the given planet actually exists
0.14.3
- Fix search button on galaxy page
0.14.2
- Save farmer priority ratios
0.14.1
- battle simulator to load spy report api keys
0.14.0
- Building > 9999 of ships/defenses to automatically make many calls to ogame
- Farm: notifications when session is done
- Farm: attack from nearest planet feature
0.13.0
- Add math functions to NjaVM (min, max, round, ceil, floor, Abs, Sqrt, Pow)
- Add search to galaxy page
- Save farm setting to reuse later
- Add ships/defenses to build queue
- Fix brain when planet has no more field
- Add option to automatically ignore all planets with more than X defense points
- Brain to look for new planets every hour
- Pause/Resume farm session
- Add logs to defender
- Fix farm attack counter when fleet needs to be retried
- Self-host app to duplicate app logs in ~/.ogame/nja.log
0.12.6
- Expose GetCachedCelestials to NjaVM
0.12.5
- Add FleetCost method to ShipsInfos obj
- Add "Exit" to close OnQuitCh channel in NjaVM
- Use slowest speed for defender if we plan to recall
0.12.4
- Visiting browser page will relog if bot was logged out from somewhere else
- Better error message when form is invalid, and paying with paypal
- Add some scripting documentation
- Logs fleet / slots information (ships on planet / ships in air) at evacuation time
- Button to download all bot logs in a gzip file
0.12.3
- Handle "not enough deut" when sending a fleet
- Fix prompt style bug when creating new script
- Change lua extension to ank
- Option to randomize planet to check attacks from 
0.12.2
- Fix StartScript in NjaVM
0.12.1
- Add println alias in NjaVM
- Support for Czech servers
- Fix CronExec in NjaVM
0.12.0
- Change lua for anko VM
- Fix scripting documentation for anko
- Fix text editor code highlight
0.11.2
- Fix send fleet with recycling missions
- Fix planet label UI bug in farmer
- Docker images
0.11.1
- Fix typo on renew cloud button
0.11.0
- Add ClearOut fn to NinjaVM
- Improve script page UI
- Get/Set reserved fleet slots in NinjaVM
- Fix save button in defender settings when no sleep time is defined
- Enable/disable NJA in NinjaVM
- Refactor farmer code
- Ignore planets/players/alliances & isIgnored... in NinjaVM
- Fix activities date format
- Fix defender so it doens't cancel research/building it didn't start
- Fix simulator possible division by 0
- Build-in changelog page
- Improve defender logs
- Scripting manual
- Fix multiple same logs issue. (register bot callbacks only once for it's lifetime)
- Refactor pubsub code
- Simplify SSE code
- Fix colonization mission SendFleet
- CLI command to reset root admin username/password
0.10.8
- Add StartScript / StopScript / IsScriptRunning to scripts
0.10.6
- Add Date() & Clock() to script VM
0.10.5
- Fix (scripts) "NewFleet" SetDestination not working
0.10.4
- Scripts have their own output window
- Fix probe raids getting stuck in "attacking_1/2" state
- Cloud users can renew license
0.10.1
- Add some easier to use functions into scripts
0.10.0
- Fix defender recall time calculation bug
- Add "ExecIn" (timer), "IntervalExec", "CronExec", "RemoveCron", "GetTimestamp"... to scripts
- Script can get a planet/moon/celestial easier.
0.9.2
- Improve script syntax
0.9.1
- Farmer: Calculate Loot stats !
- Add "GetCelestials" function to script VM
- Fix farmer "ignore planet"
0.8.1
- Execute scripts before & after sleep mode (https://www.ogame.ninja/doc/settings)
0.8.0
- Socks5 proxy settings
0.7.5
- Fix concurrency issue that cause a lot of "no slot available" in fast attacking farmer mode
- Master to health check cloud instances
0.7.4
- Add FleetBuilder into script VM
- Disable "add to queue" button if brain is not active
0.7.3
- Bot sleep mode: Bot will do nothing during a given interval of time. (not even check for attacks, be careful)
- Farmer Fast attacking: Will attack target as soon as we detect they have enough resources
- SendIPM function added to script VM
- Fermer to delete spy report once extracted
- Fix SMTP configs to work with 163.com
0.7.1
Fix memory leak that cause CPU usage to keep growing over time.
SendFleet to handle "not enough cargo" error. (Should fix some: `could not find new fleet ID`)
Send email / telegram message with scripts
Fix scanner config
Farmer "Priority calculation" -> dropdown instead of input
0.6.0
Option to run scripts on start (checkbox)
Autocomplete in scripts editor
Add chat callback for scripts
Renew self-host license form
Fix farmer attack progress bar bugs
0.5.3
Script can be cancelled even if it's inside a "Sleep" fn
0.5.2
Improve UI for (simulator / flights / crons / scripts) pages
Live script state indicators (running / not running)
Fix simulator not working if field is empty
0.5.1
Defender: "Simulator" will not prevent an evacuation, we need to make sure the simulator works 100% of the time.
0.5.0
Enable expedition missions (flights page)
Improve farmer form UI
Messages summary browser augments (spy reports)
0.4.6
Fix important defender bug. The fleet was not evacuated if departure time was negative (eg: very late attack detection could lead to this scenario)

If you set the fleet to leave 5min before the attack, but detect the attack 2min before it happens, the departure time would be -3min.
This is fixed in 0.4.6.
0.4.5
Fix channels buffering for lua VMs
Espionage messages summary browser augment
0.4.3
Fix ogame empire link
0.4.1
Fix activities graph
Fix phone scale
Clean database from old logs at 12h interval
0.4.0
Keyboard navigation shortcuts
Fix delete bot form
Fix farmer UI bugs
Add defender callbacks to NinjaVM (scripts)
Defender to evacuate only if 25% of fleet or more would be lost
Repatriate will wait for availlable slot instead of skipping
Farmer to use "min resources to attack" instead of confusing "score"
Fix SSE for cloud users
Missions countdowns on farmer page
0.3.0
Farmer doesn't rely on database anymore (live scan the galaxy)
Scripting
Defender calculate cargo from all ships, (not just LC/SC)
"Sum planet" in empire page
Ships rounding (probes raids) in farmer
0.2.6
Fix targets disappearing from the farm session.
Fix an app crash if you have a new moon
0.2.5
Highlights:
Browser agumented UI:
    - vacation people in galaxy are transparent
    - labels everywhere
    - overview page has more infos
Empire page has resources and resources settings
Exit full screen button
Farmer uses all slots (minus reserved)
0.2.2
Can specify any range for farmer (eg: 4, 9 - 124) (galaxy 4, system 9 to 124)
Support for japan language
0.2.1
Delete abandoned planets from db
Activities link
Build queue on moon
Display attack speed in session page
Faq update
Choose speed % to farm with
Fix sqlite table locked
Fleet activities
Global interceptor to keep track of fleet log
Add useful fns
Fix redir status
Add button for cloud users to restart app
Add fleet log page
Add russian lang
Save all fleet sent to database. for future review of activities
Fix alliance page and external redirection
Fix Main planet counts resources twice
Fix evacuation speed label
Add colors to logs
Buttons to test email/telegram
Defender display when is next check planned
On the fly update defender configs
Share bots with admin
Inject user
Special evacuation on moon destruction attack
Make dump resources optional and parametrable
Fix brain queue
Defender to log warning if there is no ships to evacuate on a planet
Make error more obvious
Cancel building empire page
Cancel building/research from planet page
Build button to work with techs
Add more audit - minifleet spy/recycle
Fix scanner dynamic configs saving
Create planet in db if it does not exists when visiting from browser
Rename bot Home -> Overview
Augmented overview page