Akinwale Ariwodola
0291482abb
raised errors directly instead of wrapping with AssertionError
2017-10-11 07:59:30 +01:00
Akinwale Ariwodola
fb6545481b
refactored one more assert
2017-10-09 20:41:08 +01:00
Akinwale Ariwodola
4f6f226b18
refactor asserts due to PYTHONOPTIMIZE flag
2017-10-09 20:20:58 +01:00
Kay Kurokawa
0fc116fbdb
Change to reflector2 in conf
2017-09-25 13:18:07 -04:00
Kay Kurokawa
cc98cdf933
announce_head_blobs_only is True by default
2017-09-22 14:46:28 -04:00
Kay Kurokawa
66152a8f93
turn on head blob announce seek for clients
2017-09-11 11:34:26 -04:00
Kay Kurokawa
a31b6b192f
Create an optional way of downloading by head blob first in ConnectionManager
2017-08-28 10:46:47 -04:00
Kay Kurokawa
0639bb9865
add support for should_announce feature
2017-08-28 10:43:57 -04:00
Jack Robison
5fc55fc482
Merge branch 'master' into android_platform_paths
2017-08-22 15:39:02 -04:00
Akinwale Ariwodola
6252184699
fix pylint error
2017-08-18 15:09:08 +01:00
Akinwale Ariwodola
70881dab6e
added Android platform detection and androidhelpers module which will be used to determine base paths
2017-08-18 11:52:03 +01:00
Jack Robison
d1b7de1807
persist dht node id
2017-08-16 21:18:10 -04:00
Kay Kurokawa
9d92fba02e
add ability to control re-reflects through config
2017-08-03 23:44:20 -04:00
hackrush
ecd602e5fb
Added validation for currencies.
...
Now while setting currency via API/CLI it is checked that the user has
not entered any currency other that LBC, BTC or USD.
Fixes #778
2017-07-24 16:38:15 -04:00
Jack Robison
5e2e96b1ff
fix directories
2017-07-19 18:52:48 -04:00
Zestyr
bfa626c6e6
Update default directories
...
Fixes #574
2017-07-17 21:50:58 +02:00
Jack Robison
dfedb6cd01
update loggly token
2017-07-14 14:29:12 -04:00
hackrush
f7b6a09110
Updated max_key_fee_setting
...
Added an option to disable max key fee check.
Did the required docs changes.
2017-07-14 14:09:30 -04:00
Kay Kurokawa
2730aa9ad6
make sure window paths of directories are in string not unicode
2017-07-03 16:01:18 -04:00
Umpei Kay Kurokawa
4e42ae97ea
Revert "Fix default directories ( fixes #574 )"
2017-07-03 11:09:59 -04:00
Zestyr
091c49115c
Merge remote-tracking branch 'upstream/master'
2017-06-28 17:54:42 +02:00
hackrush
9743162cda
Increased max_key_fee
...
The default max_key_fee value is increased to US$ 50.
Fixes #721
2017-06-27 21:48:42 +05:30
Zed
9caea54490
Merge branch 'master' into master
2017-06-23 02:45:12 +02:00
Jack Robison
bc34c22e58
update daemon settings and settings_set
2017-06-21 22:54:47 -04:00
Zestyr
6a1a91f8f1
Fix old legacy Windows location
2017-06-22 02:28:32 +02:00
Zestyr
ebec2fe955
Make directories lowercase, catch exception, initialize settings
2017-06-19 19:49:27 +02:00
Zestyr
ddde036e3a
Add check for old folder locations
2017-06-19 19:24:39 +02:00
Zestyr
28613f1990
Shorten download dir variable for consistency
2017-06-18 07:15:28 +02:00
Zestyr
e0ff3171d8
Fix default directories
2017-06-18 07:14:42 +02:00
Alex Grintsvayg
15e89650ff
track more events
2017-04-26 20:02:00 -04:00
Alex Grintsvayg
2353dbcb00
refactor analytics
2017-04-26 14:19:03 -04:00
Alex Grintsvayg
cd16383fa6
use git version when in dev
2017-04-26 14:18:41 -04:00
Alex Grintsvayg
492cbc83c9
pylint
2017-04-19 16:00:39 -04:00
Jack Robison
40374ec202
use lbryio api for price data instead of bittrex
2017-04-07 19:33:13 -04:00
Jack Robison
1880f64da2
raise default download timeout
2017-04-06 20:50:28 -04:00
Kay Kurokawa
931038d478
bug fixes for lbryschema integration
2017-04-04 20:30:51 -04:00
Alex Grintsvayg
1a562d70aa
config to share debug info with lbry devs
2017-03-29 11:06:07 -04:00
Alex Grintsvayg
15517732ae
add config to disable reflecting on publish
2017-03-16 17:49:24 -04:00
Alex Grintsvayg
68f5588bd9
make loggly logs less verbose
2017-03-08 11:23:28 -05:00
Jack Robison
25ec8fde23
add timeout to get_availability and peer_list
...
-add optional timeout to DHTPeerFinder.find_peers_for_blob
-add peer_search_timeout setting
2017-02-16 11:17:37 -05:00
Jack Robison
c6648ff6bc
add installation id, re-initialize lbryid on each start
2017-02-02 10:23:17 -05:00
Alex Grintsvayg
c62ee6bb0c
fix loading settings from env
2017-01-20 13:38:49 -05:00
Alex Grintsvayg
3aea476014
ignore invalid config file keys
2017-01-20 12:39:59 -05:00
Alex Grintsvayg
cac8267e85
updates, more refactoring for greater clarity
2017-01-17 12:29:09 -05:00
Alex Grintsvayg
267c6cbaca
refactor conf.settings
2017-01-16 22:32:54 -05:00
Jack
2cf08fda2d
use urllib for loggly url formatting
2017-01-02 16:09:28 -05:00
Jack
c2c7d2b327
send bug reports to slack
2017-01-02 14:52:24 -05:00
Job Evers-Meltzer
8f61fb3fc4
Initialize settings, along with lbryid and session_id on startup
2016-12-30 13:05:19 -06:00
Job Evers-Meltzer
39b2e44492
Replace settings with conf.settings
...
In the next commit I change conf.settings to be initialized
at runtime instead of load time and so any import of
`from lbrynet.conf import settings` will be and stay None if
it happens before the initialization.
2016-12-30 13:05:18 -06:00
Job Evers-Meltzer
fa29c92760
Add setting to disable reuploading to reflector
2016-12-15 18:58:16 -06:00
Job Evers-Meltzer
14ac2bac39
pylint: fix trailing-whitespace
2016-12-14 19:21:59 -06:00
Job Evers-Meltzer
e8faadc324
fix more long lines
2016-12-07 10:10:46 -05:00
alexliebowitz
39005ffc14
Merge pull request #310 from lbryio/allow-cors-config
...
allow Access-Control-Allow-Origin to be configurable
2016-12-06 15:11:38 -05:00
Jack Robison
28e88d89a5
Merge pull request #313 from lbryio/config-bittrex
...
Add bittrex to conf
2016-12-06 12:41:45 -05:00
Jack Robison
4c4bccfe73
Merge pull request #312 from lbryio/local-ui-conf
...
local_ui_path needs to be a str
2016-12-06 12:23:45 -05:00
Umpei Kay Kurokawa
6076861cd0
Merge pull request #304 from kaykurokawa/remove_lbrycrd
...
Remove lbrycrdd
2016-12-06 12:06:09 -05:00
Job Evers‐Meltzer
8b427a92ac
Merge pull request #311 from lbryio/fix-server-port
...
port needs to be an int
2016-12-06 09:48:08 -05:00
Job Evers-Meltzer
8f80e8a3da
add bittrex to conf
2016-12-05 17:14:25 -05:00
Job Evers-Meltzer
cd44ae02a3
__getattr__ should call __getattribute__
2016-12-05 17:06:45 -05:00
Job Evers-Meltzer
848f1f025c
local_ui_path needs to be a str
2016-12-05 16:29:18 -05:00
Job Evers-Meltzer
d2cc8355dc
port needs to be an int
2016-12-05 16:20:16 -05:00
Job Evers
ee00d1984a
allow Access-Control-Allow-Origin to be configurable
2016-12-05 15:34:48 -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
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
Kay Kurokawa
200a22c93b
Remove support for lbrycrdd wallet and related code
2016-12-01 16:45:48 -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
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
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
Jack
bfcd84a568
use nOut in addition with txid to identify claims
2016-11-25 16:59:23 -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
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
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
Alex Grintsvayg
6b72b4de11
use constants for wallet types
2016-11-15 10:31:35 -05:00
Jack
472bb6af1b
remove unused lighthouse search from daemon
2016-11-11 13:43:58 -05:00
Jack Robison
5ea945ca0b
Merge pull request #249 from lbryio/settings-bugs
...
fix --wallet argument bug, use .json conf file if not given a .yml file
2016-11-09 16:53:46 -05:00
Alex Grin
9d82be6664
that server's not up anymore
2016-11-09 10:13:36 -05:00
Jack
297865902b
use json conf file if not given yml
2016-11-05 14:23:48 -04:00
Job Evers-Meltzer
0036685ece
use more readable KB, MB
2016-11-04 11:44:50 -05:00
Jack
c748572bf6
feedback from job
2016-11-02 11:32:46 -04:00
Jack
660bf74d42
fix missing conf file on first run
2016-11-02 10:41:47 -04:00
Job Evers‐Meltzer
b316b56885
Merge pull request #234 from lbryio/unicode-settings
...
download directory and ui bug fixes for windows
2016-11-02 07:19:51 -05:00
Job Evers-Meltzer
c0d96a5733
fix bug in jsonrpc_get_settings
2016-11-01 15:39:51 -05:00
Jack
2294e6bf36
Merge branch 'master' into unicode-settings
2016-11-01 13:06:20 -04:00
Jack
d1b23e25d9
allow unicode settings
2016-11-01 12:53:04 -04:00
Job Evers-Meltzer
30533a7986
Read config file in windows and osx
...
Also moves the config loading to BEFORE the log configuration
2016-11-01 11:14:04 -05:00
Job Evers-Meltzer
359cb83fab
change windows log file location
2016-10-30 10:46:58 -05:00
Job Evers-Meltzer
dee0917642
various fixes
2016-10-28 16:57:25 -05:00
Job Evers-Meltzer
395a68b261
For settings: On conversion failure, fallback to default values
2016-10-28 16:29:16 -05:00
Job Evers-Meltzer
6f9ec2fa66
remove repeated log code
2016-10-28 15:43:04 -05:00
Job Evers-Meltzer
862055a6de
move settings into conf file
2016-10-27 14:31:27 -05:00
Job Evers-Meltzer
7076c0c870
Require env settings are in LBRY namespace
2016-10-27 11:05:21 -05:00
Jack
1951ea09cd
updates from master, more refactoring
...
-lbrynet.lbrynet_daemon.auth.client.LBRYAPIClient.config will detect if
it needs to return the auth/non-auth version
2016-10-26 03:16:33 -04:00
Jack
3f5efb1fa3
fix problems in blobrequester
...
-also move is_generous_host into a conf setting
2016-10-20 01:35:18 -04:00
Jack
293933163f
move USE_AUTH_HTTP to adjustable settings
2016-10-19 14:59:10 -04:00
Jack
8a95c8b7af
whoops
2016-10-19 14:26:19 -04:00
Jack
33674f8cc3
remove logging in conf, rearrange platform
2016-10-19 00:39:19 -04:00
Jack
06a88599df
--http-auth flag to use authentication, refactor settings
...
settings will prefer, in order:
-defaults
-settings in config file
-settings given as environmental variables
-settings given as command line args
2016-10-19 00:12:44 -04:00
Jack
a8a581d35c
Merge branch 'master' into auth-jsonrpc
...
# Conflicts:
# lbrynet/conf.py
# lbrynet/core/Error.py
# lbrynet/lbrynet_daemon/Daemon.py
# lbrynet/lbrynet_daemon/DaemonControl.py
# lbrynet/lbrynet_daemon/ExchangeRateManager.py
2016-10-14 18:25:37 -04:00
Jack Robison
32a973943f
Merge pull request #173 from lbryio/blob-prices
...
Blob prices
2016-10-13 14:59:26 -04:00
Jack
4f60a98eb2
fix functional tests, add a few unit tests,
...
-add ‘generous’ parameter for NegotiatedPaymentRateManager to turn free
hosting on/off, by default set to true.
2016-10-05 22:58:34 -04:00
Job Evers-Meltzer
0ecfad0ae9
add configuration to LBRYumWallet
2016-10-04 13:58:44 -05:00
Jack
d741c705cd
add some tests, don't use lighthouse for cost ests
2016-10-01 01:09:27 -04:00
Jack
1720cce3b0
negotiated downloads
...
-uploads are still underway
2016-09-27 13:52:44 -04:00
Jack
4d79a7828c
more cleaning up
2016-09-21 21:36:06 -04:00
Jack
aecafbbebd
clean up
2016-09-21 03:49:52 -04:00
Jack
130f9cfc4d
api sessions
...
-user starts a httpauthsession with an api key and name
-user initializes jsonrpc hmac secret to sha256 of session id
-server sends new random hmac secret after each api call
-a user without an authenticated session will get a authorization error
2016-09-20 16:58:30 -04:00
Jack
a23f2ca956
allow more download attempts after having timed out
...
-also lower the name cache time
2016-09-12 15:39:19 -04:00
Jack Robison
9ba6da1f4d
set development version to false
2016-08-29 16:28:49 -04:00
Jack
a6619a628e
flag to use development lighthouse servers
2016-08-28 05:25:48 -04:00
David Amrhein
d8cb62a92c
Run win32 as systray app
2016-08-21 18:44:16 -04:00
Jack
cc1b3609a1
Merge branch 'master' into reflector
...
# Conflicts:
# lbrynet/__init__.py
2016-08-17 19:01:38 -04:00
Job Evers
9a738c3783
Add basic analytics api and heartbeat event
2016-08-12 13:37:26 -05:00
Job Evers-Meltzer
0995d864e8
connectTCP wants an ip address, not a url
2016-08-10 19:09:20 -05:00
Jack
1c88cbc5f6
Merge branch 'master' into reflector
2016-08-10 02:31:28 -04:00
Jack
0733d885fb
start reflector upload in publish
2016-08-09 12:26:34 -04:00
Job Evers-Meltzer
b8ddbb9a26
Add loggly logger
...
It configured twice, once right at startup without the lbry id and then
after the settings database is available it gets reconfigured with the
lbry id and a session id.
2016-08-08 15:02:36 -05:00
Jack
f68fd96555
break out sd timeout into a variable
2016-08-03 17:57:26 -04:00
Jack
a574c33ac6
multiple search servers
2016-07-29 21:37:44 -04:00
Jack
33e7e4bee3
fancy search
2016-07-28 21:25:37 -04:00
Jack
5e1fdf66b0
fix download problem
2016-07-26 18:18:34 -04:00
Jack
d86e709b90
reduce min blob prices
2016-07-26 17:24:59 -04:00
Jack
3d88eb92c1
change default max fee to $25
2016-07-26 17:21:03 -04:00
Jack
a5374cb876
fix currencies and LBRYFeeFormat
2016-07-25 22:17:31 -04:00
Jack
2e2d309d38
BTC/USD denominated fees, metadata revisions
2016-07-25 01:40:26 -04:00
Jack
fbef187400
Merge branch 'master' into metadata-version
...
# Conflicts:
# lbrynet/conf.py
# lbrynet/lbrynet_daemon/LBRYDaemon.py
2016-07-21 16:45:41 -04:00
Jack
25d1b8b9e5
move towards better fees and metadata
2016-07-21 16:11:14 -04:00
Job Evers-Meltzer
78b4b3ffa8
revert default wallet back to lbryum
2016-07-18 11:30:21 -05:00
Job Evers-Meltzer
8ec10e2304
emergency fix: force lbrycrd to be the default wallet
...
Ignore save settings for wallet type and use the default wallet (lbrycrd)
instead. lbryum can be used but only if specified on the command line.
2016-07-17 13:45:26 -05:00
Jack
1b53e8e98c
re-enable lbryum
2016-07-09 13:31:07 -04:00
Jack
808e3ea6e3
rename LBRYcrdWallet.py to LBRYWallet.py and change default wallet to lbrycrd
2016-07-04 04:57:30 -04:00
Jack
7cc3e9d5ef
publish updates
...
-adds a base set of metadata fields required for results to be rendered
in conf.py, including language and content-type
-dont support old style claims on the new blockchain
2016-06-27 17:07:59 -04:00
Jack
20ca2eac37
lbryum logging in lbryum.log, add to upload_log()
2016-06-04 17:05:14 -04:00
Jack
a9f99d05b9
add more known dht nodes
...
also fix migrator bug
2016-06-03 20:20:16 -04:00
Jack
a4a5d63da7
fix update settings problem
...
also move log upload url constant to conf.py
2016-05-31 17:38:00 -04:00
Jack
2026024c8a
updates from development
2016-05-30 15:49:25 -04:00
Jack
591634f175
cache name claim info
...
-cache name claim info for an hour rather than looking it up each time
it’s required
-add default thumbnail to search results
2016-04-25 22:35:21 -04:00
Jack
fecd29a967
only load /view page when file isn't empty
2016-04-22 02:45:05 -04:00
Jack
13acbfb64f
update uri handler
...
-use new jsonrpc daemon, start app if it isn’t running on first lbry://
request
2016-03-22 11:51:27 -04:00
Jack
02bde900d6
update daemon and console
...
-don’t start console if daemon is running, display a message alerting
user
-move os x data directory to match app
-add timeout parameter to get function
2016-03-17 10:19:36 -04:00
Jack
42df2fe242
update daemon
...
convert to jsonrpc, fix a few issues, remove hacky functions
2016-03-14 12:30:22 -04:00
Jack
d544199eff
Fix search issue and move some settings to conf.py
2016-02-15 10:12:49 -05:00
Jimmy Kiselak
97976cbee9
lower the minimum rate
2016-02-04 15:18:47 -05:00
Jimmy Kiselak
7240ff6b1c
initial commit
2015-08-20 11:27:15 -04:00