Commit graph

56 commits

Author SHA1 Message Date
Alex Grintsvayg
4634179a7e more long lines 2017-01-17 12:51:33 -05:00
Alex Grintsvayg
267c6cbaca refactor conf.settings 2017-01-16 22:32:54 -05:00
Job Evers
f7308beee9 upgrade txJson-RCP to 0.5
The older version we were running didn't support jsonrpc v2 for
error codes, which both the command line client and ui client
were expecting.
2017-01-02 19:15:25 -06: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
c30ea04959 Remove commented code
This is the result of running eradicate (https://github.com/myint/eradicate)
on the code and double-checking the changes.
2016-12-15 18:58:06 -06:00
Job Evers-Meltzer
afba045c29 add line-to-long check 2016-12-07 09:38:37 -05:00
Job Evers-Meltzer
b64fa51567 fixup long lines 2016-12-07 09:38:34 -05:00
Job Evers-Meltzer
0bbc8f5b7e add envparse to requirements 2016-11-22 18:14:41 -06:00
Job Evers-Meltzer
183617c85b try patched version of cx_freeze 4.3.3 2016-11-16 14:53:27 -06:00
Job Evers-Meltzer
386c67fa70 revert cx-freeze back to 4.3.3 2016-11-16 14:23:48 -06:00
Job Evers-Meltzer
1c036cce78 remove - from regex for rc tag 2016-11-15 22:01:20 -06:00
Alex Grintsvayg
b75a89e876 set build type in travis 2016-11-15 22:30:10 -05:00
Alex Grintsvayg
7ecc8103d8 improve error analytics
- move analytics creation earlier in the startup process
- add several events to track startup, startup failure, other errors
- abstract platform detection into separate file
- add "build" type to platform so we can differentiate devs vs live users
2016-11-15 10:31:35 -05:00
Job Evers-Meltzer
81d107d99c better regex for tag match on appveyor 2016-11-11 11:44:35 -06:00
Job Evers-Meltzer
23c012f417 add ui bundle to RC too 2016-11-11 09:49:27 -06:00
Job Evers-Meltzer
f3a71245e8 Add missing files
Somehow these files got lost in a rebase. I'm sort of at a loss
for how, but well, adding them back in.
2016-11-09 11:35:03 -06:00
Job Evers-Meltzer
61a354fa60 add bad-whitespace check to pylint 2016-11-09 11:27:07 -06:00
Job Evers-Meltzer
838508f342 Bundle the UI into non-tagged builds.
Updates the UIManager to check if a bundled UI was included
in the package and preferentially use that.
2016-11-09 09:29:39 -06:00
Job Evers-Meltzer
694db88ac1 bug fix: fail build if tests fail 2016-11-09 09:28:47 -06:00
Job Evers-Meltzer
cb7c849273 bug fix: actually read the environment variable 2016-11-09 09:28:18 -06:00
Job Evers-Meltzer
7de4340c38 lint the osx and windows apps
This also fixes a trivial bug in the osx release.
2016-11-01 15:39:50 -05:00
Job Evers-Meltzer
a4ec706b06 enable console logging for apps 2016-11-01 11:14:04 -05: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
46cfa20f65 Merge pull request #204 from lbryio/cleanup-logging
Cleanup logging
2016-10-28 15:56:54 -05:00
Job Evers-Meltzer
80f548fdfd use same logging for apps 2016-10-28 15:43:04 -05:00
Job Evers-Meltzer
6f9ec2fa66 remove repeated log code 2016-10-28 15:43:04 -05:00
Job Evers-Meltzer
8fe5eb514a make app startup consistent across versions 2016-10-28 15:41:48 -05:00
Job Evers-Meltzer
e70ecc8ac9 change settings object for packages too 2016-10-27 14:57:02 -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 Robison
d4aa109b73 Merge pull request #193 from lbryio/check-remote-conn
Use lbry.io instead of google to check for internet connection
2016-10-19 15:06:33 -04:00
Jack
6799de645b Merge branch 'master' into refactor-settings
# Conflicts:
#	packaging/osx/lbry-osx-app/lbrygui/LBRYApp.py
#	packaging/windows/lbry-win32-app/LBRYWin32App.py
2016-10-19 00:19:45 -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
Job Evers-Meltzer
9f2dbd4291 Appveyor build needs to fail when tests fail
According to
https://www.appveyor.com/docs/build-configuration/#script-blocks-in-build-configuration
a build only fails if an exception is thrown. This is causing builds to pass even if
the tests fail. That same link suggests adding the code that is in this commit.
2016-10-18 09:44:21 -05:00
Job Evers
6b7d575e95 use lbry.io to check for an internet connection 2016-10-17 20:11:08 -05:00
Jack
5b15da2c55 add jsonschema to windows build 2016-10-16 00:29:32 -04:00
Jack
b5311dd1c3 fix DaemonRequest import in apps 2016-10-14 23:01:15 -04:00
Jack
50f0430d04 fix broken windows import 2016-09-30 11:26:37 -04:00
Jack
c4eb3de5b2 update app imports 2016-09-30 11:17:47 -04:00
Job Evers-Meltzer
27337a9243 appveyor updates
- move init and build steps into dedicated scripts
- deploy msi artifact on tag
2016-09-28 07:38:12 -07:00
David Amrhein
514575d0f1 Fix Shortcuts icons 2016-09-03 14:39:39 -04:00
David Amrhein
756427560c Attempt to fix CannotListenError 2016-09-02 16:04:27 -04:00
David Amrhein
e67fa3cadc Merge remote-tracking branch 'origin/master' 2016-09-01 10:31:20 -04:00
Jack
f47d174f0b fix file 2016-08-31 23:09:01 -04:00
Jack
75f23a1723 sign msi 2016-08-31 23:00:16 -04:00
Jack
0203ef66ea build windows in setup.py, drop leveldb requirement 2016-08-31 20:20:07 -04:00
David Amrhein
d3807cb86c Python script for win registry 2016-08-28 14:33:46 -04:00
Jack
f9f12ffb61 move uri handler to packaging/uri_handler 2016-08-28 01:10:28 -04:00
David Amrhein
25437602d7 Add URI handling as an arg 2016-08-27 01:32:28 -04:00
David Amrhein
6097e14617 Make systray thread a daemon to close on api.stop() 2016-08-23 01:05:07 -04:00