Commit graph

29 commits

Author SHA1 Message Date
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
b64fa51567 fixup long lines 2016-12-07 09:38:34 -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
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 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
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
6b7d575e95 use lbry.io to check for an internet connection 2016-10-17 20:11:08 -05: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
David Amrhein
756427560c Attempt to fix CannotListenError 2016-09-02 16:04:27 -04:00
Jack
0203ef66ea build windows in setup.py, drop leveldb requirement 2016-08-31 20:20:07 -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
David Amrhein
0b149ce5f1 Remove old osx imports 2016-08-22 21:21:56 -04:00
David Amrhein
84d340382b Fix for icon path when running shortcut 2016-08-21 18:58:50 -04:00
David Amrhein
5bfb067d0f Rename to just Open 2016-08-21 18:49:41 -04:00
David Amrhein
d8cb62a92c Run win32 as systray app 2016-08-21 18:44:16 -04:00