Commit Graph

116 Commits (0a5ba717d816259ea6e3207df7d2897d207568a1)

Author SHA1 Message Date
Simon Roberts acd8af949d
Add configuration for enable_mouse 3 years ago
Simon Roberts 73a00588ba
If $DEBUG_FILE is set, use that rather than /tmp/cointop.log (#236) 3 years ago
Simon Roberts 65bf1394b8
Emit verbose HTTP logging for coingecko when DEBUG_HTTP is set 3 years ago
Simon Roberts 6b6a18d38a
Pass $HTTPS_PROXY to ssh server (#205)
* Pass $HTTPS_PROXY to ssh server
* Emit additional error when failing to set HostKeyFile
3 years ago
Simon Roberts e843b79ac1
Merge branch 'cointop-sh:master' into bugfix/zero-left 3 years ago
Simon Roberts cf5270623d
Fix global chart always showing in USD, and add current currency to chart name (#209)
* Use exchange-rates to convert GlobalMarketGraphData
* Ask for global data in usd just in case it starts working again :)
* Include currency conversion in chart title #207
* Better error handling
3 years ago
Simon Roberts bbf4144ebb
Fix edge case with resample min-time 3 years ago
Simon Roberts 1713392f08
Update comment 3 years ago
Simon Roberts aece767608
Use new FormatTime for X-axis labels and last_updated 3 years ago
Simon Roberts 9e910402f5
New method to format date-time in locale and LC_TIME sensitive way 3 years ago
Simon Roberts 11bf5e23df
Start working on locale-sensitive date-time formatting 3 years ago
Simon Roberts 3b37cc34c3
Scale large numbers by adding Million Billion Trillion suffix (#200)
Add option for scaling Thousand Million Billion Trillion numbers by adding suffix.
3 years ago
Simon Roberts e1aded93e8
More minor cleanups (no functional change) (#198)
* Redundant type conversions

* Remove redudant type declarations. Inline one-line constructors. Remove unnecessary brackets.

* Simplify name - it's used via package name anyway

* Simplify variable initializations

* Change `var x uint = Y` to `x := uint(Y)`

* More shorthand initialization
3 years ago
Simon Roberts b986017d6c
DefaultCacheDir = ":PREFERRED_CACHE_HOME:/cointop" (#197) 3 years ago
Simon Roberts 9824c409ad
Feature/code cleanups (#191)
Lots of style/comment/redundancy cleanups. No functional change.
3 years ago
Miguel Mota f375eec1eb
Rename org miguelmota → cointop-sh 3 years ago
Simon Roberts 620e5c737c
Remove debug code 3 years ago
Simon Roberts 6e99e9100f
Add time labels to X axis 3 years ago
Simon Roberts e8fcd4a7a4
Remove interpolateData() 3 years ago
Simon Roberts 370b9f3a56
Fix comments 3 years ago
Simon Roberts 49ac2fbc0f
Ask the chart how many data points it needs 3 years ago
Simon Roberts 065f23eba2
Merge branch 'master' into feature/resample-data 3 years ago
Simon Roberts f38bc4ca3f
Continue from https://github.com/miguelmota/cointop/pull/165 3 years ago
Simon Roberts 26981df6a5
Add currency conversion to Satoshi 3 years ago
Miguel Mota 5f76e89a0b
Optimize Dockerfile #127 3 years ago
Simon Roberts e638040372 When evaluating, take an environment to provide as context 3 years ago
Simon Roberts 0074ecfff9 Patch expression to substitute Float64 for Integer. Update docs to include '/' 3 years ago
Simon Roberts 09b66439fc Switch to github.com/antonmedv/expr for expression evaluation 3 years ago
Miguel Mota b0dd16f813
Unbind forward slash keybinding when not in table view. #150 #149 3 years ago
Miguel Mota 08e81cabb8
Add subpackage for expression string eval 3 years ago
Simon Roberts fcfb0f48fe Add support for 1Y columns - see https://github.com/miguelmota/cointop/issues/131 3 years ago
Patryk Pomykalski ed1bcedf7b Fix filecache locking
Added mutex for map access. Removed mutex for openfile.
3 years ago
Miguel Mota 758e8367f7
Increase number of decimals shown when price < 1. #132 3 years ago
Miguel Mota f127de3048
ssh: Add support for holdings command 3 years ago
Miguel Mota 9fab6bd5b9
File cache fix 3 years ago
Alexis Hildebrandt cae7d520f0 Merge branch 'master' into table-alignment 3 years ago
Miguel Mota 342afeadab
Merge branch 'preferred_cache_home' of https://github.com/afh/cointop into afh-preferred_cache_home 3 years ago
Alexis Hildebrandt 5933f22020 Ignore ANSI escape codes when when determining string length
to calculate width and padding for table alignment.
3 years ago
afh cb2d24bc11 Add support for :PREFERRED_CACHE_HOME: 3 years ago
afh 6f92573a93 Merge branch 'master' into numeric-monetary-locale 3 years ago
Miguel Mota 6a4aac1277
Add filecache prefix based on config file path 3 years ago
afh 7d06a536eb pkg/humanize: Replace Commaf with Numericf and Monetaryf
to allow for locale aware formatting of numbers.
3 years ago
afh 235675d597 pkg/table: Use RuneCountInString for string length
when calculating table cell widths and alignments.
3 years ago
Miguel Mota 65626536e3
Add SSH server user config type flag 3 years ago
Miguel Mota 2b6b7b629b Add max sessions option to SSH server 3 years ago
Miguel Mota faabbfc8a6 Add max pages flag 3 years ago
Miguel Mota e0eaf60329 Add max timeout to SSH server 3 years ago
Miguel Mota aeed426034 Table scroll fix 3 years ago
Miguel Mota 0a0530de5a Add option to keep row focus on sort 3 years ago
Miguel Mota 6605cc548c Chart width data interpolation 3 years ago