Commit graph

298 commits

Author SHA1 Message Date
Tanguy Pruvot
f3c65e270c explorer: dynamic generation of all explorer links
will use a more friendly format if the coin is visible

bitcoins txs will be linked to an external site, and if the site explorer
is disabled, hyperlinks should be disabled (text only)

+ some other changes related to the explorer...
2016-05-03 21:37:18 +02:00
Tanguy Pruvot
b97682e225 explorer: allow /explorer/SYM url format 2016-05-03 15:37:27 +02:00
Tanguy Pruvot
382131c413 Fix displayed pending amount in user wallet
There was a (UI only) difference between details and total.

note: the paid amount was correct (the one showed in show details)
2016-05-03 13:42:57 +02:00
Tanguy Pruvot
b82873632b sorter: fix hashrate column on explorer + pool status 2016-05-02 20:47:05 +02:00
Tanguy Pruvot
eb4e918fa6 pool status: fix typo 2016-05-02 14:43:06 +02:00
Tanguy Pruvot
57422a36f7 Fix hashrate sort in pool Status + sort css 2016-05-02 13:08:21 +02:00
Tanguy Pruvot
125cf47930 dashboard: hide inactive algos + sorter 2016-05-02 11:24:37 +02:00
Tanguy Pruvot
b2f7f27228 yii 1.1.x models form unsafe attributes
boolean flag required if not set in the model...
2016-05-01 20:46:27 +02:00
Tanguy Pruvot
c9c7a27dcf Fixes to handle the newer framework and jquery assets
double check the web/assets folder is writable by your web server...

so, jquery-ui bundled in this framework is now the v1.10.4
and jquery at the v1.11.1
2016-05-01 19:10:23 +02:00
Tanguy Pruvot
2d1af265fa history: improve the stacked graph series with missing data
+ optional hack to allow to store decred staking (locked) balance history
2016-05-01 13:29:25 +02:00
Tanguy Pruvot
2300314280 wallet: enhance graph ajax refresh and resize
prevent graph flicker on ajax refresh, only reload data after 5mn
and/or when the browser window is resized.

should reduce a bit the browser cpu usage...
2016-05-01 08:00:05 +02:00
Tanguy Pruvot
b81a3701b4 history: prune database + better axis interval for 7 days
2 months kept in the database, and pruned by avg after 7 days
2016-04-30 13:50:24 +02:00
Tanguy Pruvot
6d2ab6efa1 markets: attempt to handle LTC markets
for the test, i added (manually) a market record named "c-cex LTC"
with base_coin set to "LTC", you may have to disable any BTC market(s) for the coin

In this case, the coin BTC price/balance is computed, based on LTC price,
even if the database coin "BTC price" is under 1 sat.

require LTC to be enabled or... "watched" to also update LTC/BTC price

implemented for cryptopia, nova and c-cex, not bleutrade (DOGE only)

+ various small log fixes..
2016-04-28 18:51:23 +02:00
Tanguy Pruvot
9dbc9c5ee3 history: improve graphes axis, dynamically 2016-04-28 10:08:58 +02:00
Tanguy Pruvot
ce6e7ff9f4 wallets: enhance layout, css and table sorter 2016-04-28 05:45:41 +02:00
crackfoo
3516e623f5 wallets: show status codes descriptions 2016-04-28 05:20:03 +02:00
Tanguy Pruvot
6c8c6ce043 bitstamp: fix private api + getbalance 2016-04-27 12:08:41 +02:00
Tanguy Pruvot
9d20eb01b3 backups: prefer xz if available 2016-04-27 05:17:27 +02:00
crackfoo
e0d65b0fad separate stratum URL option (squashed + default) 2016-04-26 15:49:00 +02:00
Tanguy Pruvot
70d4ac5b88 bitstamp public api, private untested yet 2016-04-26 12:47:52 +02:00
crackfoo
d417830c22 Update admin_results.php
Fixed algo colors showing in coin state colum
2016-04-26 06:36:34 +02:00
Tanguy Pruvot
e0188d7c07 wallet: small changes: series order, site name 2016-04-25 13:08:45 +02:00
Tanguy Pruvot
e816d5ce0c markets: always update markets if we have the data
Only require installed flag if a secondary api query is required

+ banx rename
+ kraken BTC/ALT markets fix, prices are 1/x
2016-04-25 12:49:13 +02:00
Tanguy Pruvot
21746e5953 history: allow to watch local price/balance
also show graphes even if the wallet is not installed (like BTC or LTC)

+ yaamp "core" function to know if a coin is watched
2016-04-25 12:49:10 +02:00
Tanguy Pruvot
e6365fcc93 wallet: refactor graphes + vertical scroll to show more txs 2016-04-25 10:13:11 +02:00
Tanguy Pruvot
25a76ce458 wallet: history graphes improvements
apply a better granularity to reduce empty space on axis edges,
also handle resize and hide empty balances from the stacked graph.
2016-04-25 08:19:30 +02:00
Tanguy Pruvot
8dcbeec01b wallet: market price/balance graphes
only shown if the coin is monitored (server config)
2016-04-24 15:58:04 +02:00
Tanguy Pruvot
bf7fc3534f sql: keep btc and user defined markets history
will allow to do internal graphes and compute better exchange orders

Also track in the new table a (BTC/EUR) alternative, from kraken public api
this second currency should be user definable later.
2016-04-24 10:23:21 +02:00
Tanguy Pruvot
60e1938289 wallet: basic console 2016-04-22 11:04:34 +02:00
Tanguy Pruvot
09d46679f6 decred: show all live tickets (old too)
also show locked balance in summary
2016-04-22 10:37:09 +02:00
Tanguy Pruvot
dd262f1b65 decred: allow to purchase multiple tickets
require decred 0.1.0
2016-04-22 10:37:06 +02:00
Tanguy Pruvot
74b80292a6 stratum/decred: link new db coin rpc fields
And use rpcencoding='DCR' for decred checks,
to handle testnet instances or future forks..
2016-04-20 00:13:11 +02:00
Tanguy Pruvot
b4f1ce898f users: fix remains of last_login column 2016-04-17 02:32:14 +02:00
Tanguy Pruvot
009e97f311 nova: missing link to cron + url typo 2016-04-15 21:57:46 +02:00
Tanguy Pruvot
345e5bcfc9 add xvg algos + rename groestl to myr-gr
only diamond use dmd-gr, and groestl is for groestlcoin (deprecated)
2016-04-15 18:04:29 +02:00
Tanguy Pruvot
f0bf43b72e tickets: proper error and show current balance 2016-04-07 16:02:48 +02:00
Tanguy Pruvot
63f1032fb3 decred: tickets plugin in the wallet
can be useful as dashboard-only mode of yiimp
2016-04-06 23:34:23 +02:00
Tanguy Pruvot
e4ef728d40 coins: link the new fields in form
notes:
- account "default" should be set for decred
- payout_min handled (should be > txfee)
- payout_max to handle...

stratum rpc/account changes will be made in a second commit
2016-04-03 16:02:04 +02:00
Tanguy Pruvot
a338131f28 sql: rename account last_login to last_earning
this column name was confusing, add an index btw...

beware with this commit, need mysql change + memcache restart
2016-04-03 15:19:52 +02:00
Tanguy Pruvot
2a23f05b8f coins: change default order to creation date, desc
previous order by id was not perfect in case of importation from other databases
2016-04-03 15:19:36 +02:00
Tanguy Pruvot
b43fa9236b coins: add link_site field
don't forget to restart memcached service to refresh the db structure
2016-04-02 15:11:54 +02:00
Tanguy Pruvot
2902cdbf4e wallet: allow to manually toggle markets 2016-04-02 15:11:54 +02:00
Tanguy Pruvot
9f431ec275 markets: improve disabled flag
disabled = 9 means permanent disable by admin (no more checked)
else, values 1 to 8 will depends on different cases... api down, low volume, etc

for the moment, only handle the autoswitch between 0 and 1 when the api reports an active state
2016-04-02 15:11:54 +02:00
Tanguy Pruvot
616e448228 wallet: link new market fields 2016-04-02 15:11:53 +02:00
Tanguy Pruvot
dcce3ff418 workers: columns sort and search filter 2016-04-02 15:08:43 +02:00
Tanguy Pruvot
6950057b17 db: handle custom user donation percents
The setting is set with g=10% in password field

its disabled by default, to do maybe per worker...

prevent negative donation percents
2016-04-02 15:08:43 +02:00
Tanguy Pruvot
71de6d635b db: save blocks worker id for worker stats
Note: need database change!
2016-04-02 15:08:43 +02:00
Tanguy Pruvot
cefd7ffc59 coins: more flexible datasorter 2016-04-01 13:45:57 +02:00
Tanguy Pruvot
7d4f97b1a3 decred: show tickets and locked amount in the wallet 2016-04-01 12:26:27 +02:00
Tanguy Pruvot
da9cafe03a api: fix status json, could contain empty values 2016-04-01 11:16:54 +02:00