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
Miguel Mota
295f163ae2
Update CoinMarketCap graph data endpoint
3 years ago
Miguel Mota
a9473e354c
Fix coin name to ID lookup. #81
3 years ago
Miguel Mota
7fa0af0fa3
Add 30 day percent change column
3 years ago
Miguel Mota
d8cbc89e5c
Add additional currency conversions
3 years ago
Miguel Mota
184ebfb497
Dynamic column widths
3 years ago
Miguel Mota
68ff8ecfb7
Format fixes
3 years ago
Miguel Mota
c6744f173d
Undo notification sound
3 years ago
Miguel Mota
093084e859
Full width highlight rows
3 years ago
Miguel Mota
3bc93134c9
Add price alerts table
3 years ago
Miguel Mota
cba53fe5d4
Set up price alerts config
3 years ago
Miguel Mota
060286af9c
Set up notification package
3 years ago
Miguel Mota
b86ac682c9
Add cache wrapper package
3 years ago