Lex Berezhny
f1f0917063
updated all references to point to new reflector location
2018-11-04 20:25:24 -05:00
Hugo
2e6c848c39
Upgrade Python syntax with pyupgrade --py36-plus
2018-10-23 12:02:10 -04:00
Victor Shyba
0841c90e6c
fix encoding on download
2018-08-24 11:42:06 -04:00
Victor Shyba
451823f33e
test_misc and test_streamify functionals on py3
2018-08-24 11:40:43 -04:00
Lex Berezhny
10b34d6b33
unnecessary list() added during py3 port
...
instead of recursive bytes2unicode use a proper JSONEncoder to conver bytes->unicode for json.dumps()
removing excessive isinstance(data, bytes) checks
py3: / -> // and list() around .items() that gets modified in loop
moved lbrynet.undecorated to where its actually used and hopefully we can delete it eventually
removed build/upload_assets.py, travis can do all this now
2018-08-24 11:40:43 -04:00
Lex Berezhny
4ece422f48
No longer inheriting from object and added proper use of super().
2018-08-24 11:37:53 -04:00
Lex Berezhny
43bef9447c
progress on publish command: py3 porting and integration tests
2018-08-24 11:37:53 -04:00
Lex Berezhny
69446491b8
pylint and unit test fixes
2018-08-24 11:37:50 -04:00
Lex Berezhny
5520d518b5
DHT py3 compatibility, mostly commenting out implements() and fixing imports
...
cryptstream py3 support, mostly commenting out implements()
lbry_file py3 support, mostly commenting out implements()
file_manager py3 support, mostly commenting out implements()
core py3 support, mostly commenting out implements() and fixing imports
2018-08-24 11:37:25 -04:00
Jack Robison
5b7f7c87bf
fix stop_lbry_files
2018-08-12 22:04:55 -04:00
Jack Robison
fe43764bcb
fix announcement of blobs downloaded from a http mirror
2018-08-09 13:19:59 -04:00
Victor Shyba
d21313e590
allow mirrors if conf is set, but clear it for tests
2018-08-07 13:55:45 -03:00
Jack Robison
6359fc608e
set download_mirrors upon making the downloader instead in the file manager globally
2018-08-03 11:37:10 -04:00
Jack Robison
99207b7221
delete Session.py
...
split Session into Components
2018-07-30 18:00:33 -04:00
Victor Shyba
ad96b006f9
adds http download support for blobs mirroring
2018-07-25 12:15:52 -03:00
Victor Shyba
8598280654
fix base brm to prm typo
2018-06-08 11:16:21 -03:00
Jack Robison
b673c508cc
disable NegotiatedPaymentRateManager, use OnlyFreePaymentsManager for now
2018-06-07 15:02:47 -04:00
Victor Shyba
b48492c1d6
verify streams on a new migration instead
2018-05-17 12:29:12 -03:00
Victor Shyba
b6cedfec56
batch-start the file manager
2018-05-11 12:17:55 -03:00
Victor Shyba
df735252e5
verify streams only after migration
2018-05-11 12:17:55 -03:00
Jack Robison
aa4240de85
track successful reflector uploads in sqlite to minimize how many streams are attempted by auto re-reflect
...
-increase the default `auto_re_reflect_interval` to a day
2018-05-08 14:41:56 -04:00
Jack Robison
b28bdbd752
rename existing reupload.reflect_stream --> reupload.reflect_file, add a reupload.reflect_stream function
2018-03-19 13:55:11 -04:00
Jack Robison
f94a9e8729
start lbry files in parallel
2018-03-19 13:46:27 -04:00
Jack Robison
e881b608bf
Revert "don't block daemon startup on the file manager"
...
This reverts commit f25b772
2018-03-12 10:44:29 -04:00
Jack Robison
f25b772b56
don't block daemon startup on the file manager
2018-03-09 14:09:07 -05:00
Jack Robison
76cb674ebb
fix updating content claims for existing files
...
-update lbry file attributes as soon as a change to the content claim occurs
2018-03-02 15:34:20 -05:00
Jack Robison
b1c66015e1
detect and remove invalid streams and sd blobs
2018-02-21 19:09:10 -05:00
Jack Robison
68542f3ae1
refactor EncryptedFileDownloader and EncryptedFileManager
...
-remove stream info manager (DBEncryptedMetadataManager)
-split `add_lbry_file` into separate `add_published_file` and `add_downloaded_file` functions
-set the download path upon adding file to the db, use the source file path for publishes
-remove the lbry file manager-wide download directory, set for each file individually
-add claim `metadata`, `claim_name`, `claim_id`, `outpoint`, `txid`, `nout`, `channel_claim_id`, and `channel_name` attributes to EncryptedFileDownloader
2018-02-13 10:27:50 -05:00
Jack Robison
b6afc437e6
combine auto_re_reflect and reflect_uploads settings
2018-01-12 09:21:24 -05:00
Jack Robison
64e04f8a68
refactor start_lbry_file
2018-01-04 21:28:09 -05:00
Jack Robison
76de605b7f
refactor start_lbry_files
2018-01-04 21:25:56 -05:00
Jack Robison
2af61460a7
add attributes to lbry file base classes
2018-01-04 21:25:56 -05:00
Jack Robison
bc58add6de
logging
2018-01-04 21:25:56 -05:00
Jack Robison
bf46f5616b
Merge branch 'add_lbry_file_manager_to_reflector_2'
2017-12-29 12:39:50 -05:00
Jack Robison
a6f0c5fb4c
pylint fixes
...
fix exception formatting and a circular import
2017-12-15 20:25:20 -05:00
Jack Robison
1594c6a831
move db functions in EncryptedFileManger to EncryptedFileMetadataManager
...
- remove TempEncryptedFileMetadataManager, run tests with the normal
DBEncryptedFileMetadataManager
2017-12-06 16:49:49 -05:00
Jack Robison
329d74f6be
don't include file names when logging stream related info
2017-12-06 15:09:35 -05:00
Kay Kurokawa
ab667015c4
add lbry_file_manager to reflector server and add files to it
2017-12-04 13:08:33 -05:00
Kay Kurokawa
6218df2a92
make payment_rate_manager in add_lbry_file() an optional argument, initialize it from Session if not specified
2017-12-04 13:08:33 -05:00
Kay Kurokawa
57117baab5
remove ManagedEncryptedFileDownloader.load_file_attributes() move it to EncryptedFileDownloader.set_stream_info()
2017-12-04 13:08:32 -05:00
Kay Kurokawa
971c720642
removing claim information from files related API commands
2017-11-28 11:53:15 -05:00
Jack Robison
529a11043b
don't block file manager setup on all the streams being resumed
2017-10-23 01:17:54 -04:00
Kay Kurokawa
d33ebd60c4
fix to not reflect all the files at once
2017-10-02 16:30:58 -04:00
Jack Robison
070978248e
return new lbry file status from _change_file_status
2017-09-20 13:59:20 -04:00
Jack Robison
100c18d9b6
send CryptBlobInfo (not a CryptStreamBlobMaker) to DiskBlobManager.creator_finished
2017-09-20 13:59:19 -04:00
Jack Robison
e3cc3992b0
remove unnecessary functions
2017-09-20 13:59:19 -04:00
Alex Grintsvayg
c98197f266
deprecated blob_announce_all
2017-09-20 11:16:10 -04:00
Kay Kurokawa
9d92fba02e
add ability to control re-reflects through config
2017-08-03 23:44:20 -04:00
Jack Robison
eba74b97bd
rename lbrynet.lbryfilemanager to lbrynet.file_manager
2017-06-25 21:04:04 -04:00