Job Evers-Meltzer
d2cc8355dc
port needs to be an int
2016-12-05 16:20:16 -05:00
Jack
b9bb337a07
add tests for daemon.get_est_cost
2016-12-05 11:48:44 -05:00
Jack
d93f86030c
clean up get_est_cost functions
2016-12-05 11:48:44 -05:00
Jack
d9e1e88c05
refactor get_est_cost
...
-add size parameter, if provided the sd blob won’t be downloaded (can
be used with size information from lighthouse)
-check if blob was already downloaded before trying to download it again
2016-12-05 11:48:43 -05:00
Job Evers-Meltzer
f579c8dbb8
Bump version: 0.7.7 → 0.7.8
2016-12-02 20:05:08 -06:00
Jack Robison
13d74d1f76
Merge pull request #297 from lbryio/better-name-error
...
Provide better feedback on why a name is invalid
2016-12-02 12:08:58 -05:00
Job Evers-Meltzer
ddf678af8a
Bump version: 0.7.7rc0 → 0.7.7
2016-12-02 09:47:27 -06:00
Job Evers‐Meltzer
2c6d6d1602
Merge pull request #303 from lbryio/settings-api-fixes
...
Fixes to get_settings() and set_settings()
2016-12-02 09:41:22 -06:00
Alex Liebowitz
7d0e9f6ab9
Tweak logic in ApplicationSettings
...
Use self.environ instead of ENVIRONMENT to avoid global reference
2016-12-01 23:51:58 -05:00
Alex Liebowitz
458561fe6f
In AdjustableSettings, initialize all keys on init
...
Settings.update() method expects keys to already be present, so load
them all up front
2016-12-01 15:22:52 -05:00
Alex Liebowitz
157d6dca93
Save settings in conf.py
2016-12-01 15:22:52 -05:00
Alex Liebowitz
7b1b7fbf13
Call conf.settings.get_dict() in jsonrpc_get_daemon_settings()
2016-12-01 15:22:51 -05:00
Alex Liebowitz
876cdce51f
Add Config.get_dict()
...
We don't want the version from DefaultSettings, so use super() to get
the standard functionality from conf.Settings.
2016-12-01 15:22:51 -05:00
Alex Liebowitz
205a10bc8e
Refactor how adjustable settings are pulled out of config.settings
...
- Factor out this functionality into separate method
- Change the set_settings() JSON-RPC method to use this (before, it was
just returning all fields, which doesn't work anymore after the
settings refactor)
2016-12-01 15:22:51 -05:00
Alex Liebowitz
ef8d1cfdc2
Rename var in Settings.update()
2016-12-01 15:22:51 -05:00
Alex Liebowitz
879c01ba00
Add separate list of excluded fields to AdjustableSettings
...
Adds "environ" field. Also renames __excluded to _excluded so it can
be overridden by child classes.
2016-12-01 15:22:44 -05:00
Alex Liebowitz
8bb7517f32
Merge pull request #300 from kaykurokawa/fix_claim_defer
...
Missing the return of a defer.fail when claim fails, changing to raise Exception
2016-12-01 13:49:29 -05:00
Job Evers-Meltzer
70d9b3ed74
Attempt to fix analytics badstatusline error
...
We've started seeing a lot of:
ConnectionError: ('Connection aborted.', BadStatusLine("''",))
Hopefully this fixes the problem. Its hard to test, so I'll
have to check the logs after releasing.
2016-12-01 12:13:12 -06:00
Job Evers-Meltzer
f39a21cf7b
Provide better feedback on why a name is invalid
2016-12-01 11:02:37 -06:00
Umpei Kay Kurokawa
67b169c5a1
Merge pull request #300 from kaykurokawa/fix_claim_defer
...
Missing the return of a defer.fail when claim fails, changing to raise Exception
2016-11-30 23:08:48 -05:00
Kay Kurokawa
ff10546152
Missing the return of a defer.fail when claim fails, changing to raise Exception
2016-11-30 22:57:23 -05:00
Kay Kurokawa
360f4e50a0
converting some log.info to log.debug in Wallet
2016-11-30 16:37:28 -05:00
Job Evers‐Meltzer
f11f486f5a
Merge pull request #292 from lbryio/allow-rc
...
allow for rc in version values
2016-11-30 14:16:17 -06:00
Jack Robison
fe53cc97d9
Merge pull request #285 from lbryio/more-flexible-origin-check
...
Allow 0.0.0.0 for api interface
2016-11-30 14:04:52 -05:00
Jack
051e63d76b
don't allow 0 bid
2016-11-29 20:17:06 -05:00
Job Evers-Meltzer
8cdda7d845
Bump version: 0.7.6 → 0.7.7rc0
2016-11-28 23:33:57 -06:00
Job Evers-Meltzer
6a8789050c
Allow 0.0.0.0 for api interface
...
For a host to be able to access the daemon running inside a docker
container the damon needs to be listening to 0.0.0.0
- move the API_INTERFACE setting to the adjustablesettings
- check the port matches as well as the interface
2016-11-28 19:19:05 -06:00
Job Evers‐Meltzer
9140c95a0c
Merge pull request #291 from lbryio/fix-pylint
...
fix pylint errors
2016-11-28 15:32:16 -06:00
Job Evers-Meltzer
6f2e2e727e
fix pylint errors
2016-11-28 13:33:34 -06:00
Jack Robison
48b137fe4c
Merge pull request #287 from lbryio/version-add-lbry-id
...
get_lbry_session_info
2016-11-28 14:26:43 -05:00
Jack
a6326ee7a1
get_lbry_session_info
2016-11-28 14:16:21 -05:00
Jack
bfcd84a568
use nOut in addition with txid to identify claims
2016-11-25 16:59:23 -05:00
Alex Liebowitz
4cb2a8f2aa
Include LBRY ID in version() API method result
2016-11-23 20:29:45 -05:00
Alex Liebowitz
9d272befcd
Convert length of shortened plaintext LBRY ID to constant
2016-11-23 20:28:16 -05:00
Job Evers
91fb78b077
Update TODO with more useful info
2016-11-22 18:14:41 -06:00
Job Evers-Meltzer
464bd11c3a
Improve parsing of environment variables
...
Switch adjustable settings to use the envparse library. This
provides more flexible and robust parsing.
2016-11-22 18:14:36 -06:00
Job Evers-Meltzer
b88e771eb2
bug fix: use proper settings dictionary
2016-11-22 16:03:37 -06:00
Job Evers-Meltzer
7a76763610
rename Setting to Settings
2016-11-22 16:03:37 -06:00
Job Evers-Meltzer
02d2bad03f
allow json to be used to set settings
2016-11-22 16:03:37 -06:00
Jack Robison
f65a50a6a3
Merge pull request #260 from lbryio/error-messages
...
meaningful error messages, improve cli, remove unused search from daemon
2016-11-22 15:54:21 -05:00
Jack
0a9ef07787
Merge branch 'master' into error-messages
...
# Conflicts:
# lbrynet/lbrynet_daemon/Daemon.py
# lbrynet/lbrynet_daemon/auth/server.py
2016-11-22 15:44:47 -05:00
Jack Robison
0e9ad16a2e
Merge pull request #278 from lbryio/fix-uncaught-analytics-exception
...
fix uncaught analytics exception
2016-11-22 15:25:07 -05:00
Jack
cd0a9ba9e8
feedback from job
2016-11-22 15:18:01 -05:00
Jack
e08d0eb8f9
_log_and_render_error
2016-11-22 15:11:25 -05:00
Jack Robison
82f9cc57fd
Merge pull request #283 from lbryio/fail-blank-uri
...
fail verify_name_characters for blank uri
2016-11-22 13:55:12 -05:00
Jack
543f65fc24
fail verify_name_characters for blank name
2016-11-21 21:58:04 -05:00
Kay Kurokawa
896a16c15d
fix spelling mistake for auto connect
2016-11-19 19:29:58 -05:00
Job Evers-Meltzer
3d7dee1208
allow for rc in version values
2016-11-19 16:58:40 -06:00
Alex Liebowitz
e03db79f79
Always return array from jsonrpc_get_lbry_files()
...
Before, would return false when there were no files in the DB.
2016-11-16 23:57:02 -05:00
Jack
0b0150ad73
fix uncaught analytics exception
2016-11-16 19:10:49 -05:00