Job Evers-Meltzer
a15d7ca543
Refactor _download_name
...
Nested functions are the devil, especially ones that
use variables from the outer scope. Refactoring
_download_name to use a helper class helps make
the scoping more explicit and will undoubtably
prevent bugs in the future.
I think this makes _download_name drastically more readable.
Also cleaned up some duplicated code and
made download_directory respect the passed in parameter
instead of being the default.
2016-07-15 12:42:26 -05:00
Job Evers-Meltzer
a90029ec50
update doc string
2016-07-15 11:37:04 -05:00
Job Evers-Meltzer
563896b126
fix bug in reveal code
2016-07-15 11:33:38 -05:00
Job Evers-Meltzer
5aecd02668
Refactor jsonrpc_get.
...
Move parameter handling into its own function and
better use the `.get()` function for dictionaries.
Early return on the failed checks is more readable.
The lambda function in the callback was long and
hard to read so moved it out.
2016-07-15 11:32:46 -05:00
Job Evers‐Meltzer
842dd90780
Merge pull request #66 from lbryio/add-tests-blob-handler
...
add tests for BlobRequestHandler and run on travis
2016-07-14 09:33:06 -05:00
kimihiro64
ee71a03f96
Revert to 2 params as isinstance cannot support 3+ ( #69 )
...
* Revert to 2 params as isinstance cannot support 3+
* Use basestring for maximum efficiency
2016-07-13 22:44:02 -05:00
Jack
5221631b40
Bump version: 0.3.5 -> 0.3.6
2016-07-12 17:30:58 -04:00
Jack
404412a950
return publish error message
2016-07-11 21:57:34 -04:00
Job Evers-Meltzer
53bf1fe4fd
add send_blob tests
2016-07-10 21:56:00 -05:00
Jack
5c05daa007
update import to new file name
2016-07-10 22:21:50 -04:00
Jack
1b53e8e98c
re-enable lbryum
2016-07-09 13:31:07 -04:00
Jack
b727bd20c8
version bump
2016-07-06 22:48:38 -04:00
Jack
5a703c116f
linux lbrycrdd path
2016-07-06 22:46:59 -04:00
Alex Liebowitz
c58fc0781c
Call xdg-open properly in jsonrpc_reveal()
2016-07-06 15:57:00 -04:00
Jack
03c02ff74f
lbrycrdd path wierdness
2016-07-06 03:37:31 -04:00
Jack
9277c3c674
add help for when things go wrong
2016-07-06 03:02:55 -04:00
Jack
34b1259dc6
move check for if daemon is running to inside of function
2016-07-06 02:20:18 -04:00
Jack
257e38de12
add command line wrapper for lbrynet-daemon calls
2016-07-06 02:17:38 -04:00
Jack
1984132eae
add update_available keys to version()
...
as to not require making the version string comparison in whatever is
making the daemon call
2016-07-06 01:46:49 -04:00
Jack
8b1d75ea98
check every 30 minutes for a new ui version
...
-previously the check for a new ui version was only at startup, which
resulted in bugs persisting after they’d been fixed
-add option to skip requirements check
-try to load an existing ui if it can’t be obtained from github
2016-07-06 01:27:25 -04:00
Alex Grintsvayg
8336930091
Bump version: 0.3.2 → 0.3.3
2016-07-05 15:20:35 -04:00
Alex Grintsvayg
d875325cee
better non-root fix, restore version var
2016-07-05 15:20:30 -04:00
Alex Grintsvayg
f1c5d1cb23
Bump version: 0.3.1 → 0.3.2
2016-07-05 14:30:35 -04:00
Alex Grintsvayg
b55752e715
add bumpversion script
2016-07-05 14:29:24 -04:00
Jack
4c2ab23c1f
write to the file that's supposed to be written to
2016-07-04 20:19:04 -04:00
Jack
0a3f81e364
fix download directory not existing problem
2016-07-04 20:02:38 -04:00
Jack
cca4331ac4
create lbrycrddpath.conf if it doesnt exist
2016-07-04 19:34:51 -04:00
Job Evers-Meltzer
794f2d8576
version bump: 0.3.0.2
2016-07-04 16:51:29 -05:00
Alex Liebowitz
e35dce530a
Set default download dir to ~/Downloads on Linux
2016-07-04 17:49:48 -04:00
Job Evers-Meltzer
6034bd3cb2
version bump: 0.3.0.1
2016-07-04 15:47:12 -05:00
Job Evers‐Meltzer
42c77bbb67
Merge pull request #51 from lbryio/restart-lbrycrd
...
add a more useful exception if auth fails on lbrycrd
2016-07-04 15:45:44 -05:00
Job Evers‐Meltzer
d504c8f4a3
Merge pull request #50 from lbryio/lbrycrd-in-bundle
...
Add lbrycrd to app bundle on macos
2016-07-04 15:42:24 -05:00
Job Evers-Meltzer
976c8b3ce0
add a more useful exception if auth fails on lbrycrd
2016-07-04 15:40:52 -05:00
Job Evers-Meltzer
16f48d0400
Add lbrycrd to app bundle on macos
2016-07-04 15:18:08 -05:00
Alex Liebowitz
6d7608d851
Create lbrycrd.conf if needed
2016-07-04 16:16:34 -04:00
Jack
7b9e3aace9
use lbrycrd
2016-07-04 05:43:26 -04:00
Jack
568737e123
change lbryum version constant name
2016-07-04 05:15:53 -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
1cedd8ee5b
update name
2016-07-01 03:16:08 -04:00
Jack
b80fe24179
tanstaafl
2016-07-01 02:55:20 -04:00
Jack
3cea41a854
remove lbrynet_gui
2016-07-01 02:42:34 -04:00
Jack
62b80c13cc
version bump
2016-06-30 01:26:33 -04:00
Jack
08b612575c
update_claim fix and clean up publish keys
...
-replace ‘value’ key with ‘metadata’
-update claim metadata in db when an update is published
2016-06-28 23:20:28 -04:00
Jack
b3b804bf2d
add update_name
2016-06-28 14:28:59 -04:00
Jack
09d8a86e30
rename variable
2016-06-28 02:06:04 -04:00
Jack
cc5d917c72
download fix
2016-06-28 01:51:05 -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
f89486f5fe
port and import name
2016-06-24 13:12:27 -04:00
Jack
761e4f2718
change variable name to lbrynet_log
2016-06-07 04:30:22 -04:00
Jack
3441dd4d2d
don't mess with logging
2016-06-07 04:19:51 -04:00
Jack
a0f823910c
delete accidentally committed file
2016-06-07 03:16:22 -04:00
Jack
755338ded0
import logging.handlers
2016-06-07 03:08:32 -04:00
Jack
ecd85a53a1
ui dir for linux
2016-06-07 01:20:44 -04:00
Jack
8faa0d9e01
update lbryum log path
2016-06-06 15:24:29 -04:00
Jack
20ca2eac37
lbryum logging in lbryum.log, add to upload_log()
2016-06-04 17:05:14 -04:00
Jack
85b56247a3
merge add-tests-to-travis updates
2016-06-04 15:11:51 -04:00
Jack
febc66fb02
missing keyword args for travis
2016-06-04 15:03:16 -04:00
Jack
3f929aee3c
merge travis fixes
2016-06-04 14:28:32 -04:00
Jack
8c46dd194d
save command line wallet choice to config
2016-06-04 14:18:58 -04:00
Jack
a9f99d05b9
add more known dht nodes
...
also fix migrator bug
2016-06-03 20:20:16 -04:00
Jack
e224c33817
add mime_type to get_lbry_file
2016-06-03 03:45:46 -04:00
Jack
36787eeeeb
default value
2016-06-01 21:05:38 -04:00
Jack
104cafedb0
--wallet fix
2016-06-01 20:52:15 -04:00
Jack
f50c98e10d
revert import
...
see if this helps travis
2016-05-31 17:45:04 -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
9f0f9e0928
Merge remote-tracking branch 'origin/better_log_names' into add-tests-to-travis
2016-05-30 17:09:39 -04:00
Jack
2026024c8a
updates from development
2016-05-30 15:49:25 -04:00
Jack
3d56baddd7
fix import error
2016-05-30 15:44:31 -04:00
Jack
c10e7b2b41
fix import
2016-05-30 15:39:27 -04:00
Jack
ba605e985a
no shell=True
2016-05-30 04:40:58 -04:00
Jack
4cd1cdf495
escape spaces in paths given to reveal()
2016-05-30 04:37:34 -04:00
Jack
f9c644b964
fix switching between --branch and --ui
2016-05-30 04:00:47 -04:00
Jack
da68bcf952
third time's the charm
2016-05-30 03:14:59 -04:00
Jack
2c3b625b6b
change full_path to path
2016-05-30 02:56:08 -04:00
Jack
16ef259ae1
add full_path to lbry_file
2016-05-30 02:53:36 -04:00
Jack
c56b3e75ea
add download_directory to lbry_file
2016-05-30 02:42:33 -04:00
Jack
772866389f
ui manager fixes
...
load a ui when it’s supposed to be loaded
2016-05-30 02:36:13 -04:00
Jack
41f8b5aee2
add reveal() function and delete_target_file param for delete_lbry_file
2016-05-30 02:05:16 -04:00
Jack
75052fc773
remove check_for_new_version vestige
2016-05-30 00:10:43 -04:00
Jack
e7a580fd3a
add lbry_ui_manager
2016-05-29 23:18:30 -04:00
Jack
8922fd6dde
add startup scripts
...
-populate blockchainname.db on first run from older version
2016-05-25 22:28:45 -04:00
Jack
eb0dd827b1
delete old unused app and move uri handler to lbry-osx-app
2016-05-24 17:54:44 -04:00
Jack
7fca1f865d
update from master
2016-05-24 17:50:01 -04:00
Alex Grintsvayg
7a97a28e00
fix lbry icon
2016-05-22 23:48:51 -04:00
Alex Grintsvayg
f48c1562f3
better log names
2016-05-20 19:59:49 -04:00
Jack
be96c77467
add set_miner and get_miner_status
...
set_miner takes parameter key ‘run’, which is True or False
2016-05-14 17:57:34 -04:00
Jack
b5e8aec548
fix --wallet=lbrycrd
2016-05-14 17:36:30 -04:00
Jack
278c7dc836
have get() wait for file to have written data before returning by default
...
controlled by wait_for_write parameter
2016-05-13 19:35:38 -04:00
Jack
1425ad87ab
fix get_lbry_file problem
2016-05-11 04:44:23 -04:00
Jack
f985a2a8ad
add waiting_for_credits startup code
2016-05-11 02:47:33 -04:00
Jack
20f423a2fc
bump version
2016-05-11 02:08:13 -04:00
Jack
210c1215d6
add metadata to lbry_file
2016-05-11 01:48:23 -04:00
Jack
1c507393a9
fix problem with getting a stream where the file has been deleted
2016-05-10 21:01:53 -04:00
Jack
b04cfdc091
load uri and txid when stream is started
2016-05-10 20:47:35 -04:00
Jack
42a3006f6e
add claim txid and uri to lbry_file
2016-05-10 19:03:18 -04:00
Jack
8bd6fb5b4e
clean up uri handler
...
clean up work arounds from when ui didn’t do loading nicely
2016-05-06 17:20:03 -04:00
Jack
bb2fb92b0e
have uri handler fail silently to prevent misleading error
...
otherwise first run produced an error while it was downloading the
headers if the app was started by going to lbry://lbry
2016-05-06 16:59:23 -04:00
Jack
10b016312d
get rid of Xcode tools and git requirement
2016-05-06 16:16:09 -04:00
Jack
b4500a2914
get rid of git HEAD stuff
2016-05-06 15:51:59 -04:00
Jack
da9b1b3f58
merge conflicts
2016-05-06 15:42:21 -04:00