Victor Shyba
b055c25156
cache space stats from running components so status is instant
2022-03-15 15:34:09 -03:00
Victor Shyba
35905b99ff
add index for blob table so size summaries are faster
2022-03-15 15:34:09 -03:00
Victor Shyba
806857c066
download from stored announcements and dont reannounce
2022-03-15 15:34:09 -03:00
Victor Shyba
ba8a7fc351
improve disk space manager status, include more info and unify space queries
2022-03-15 15:34:09 -03:00
Victor Shyba
a36fd76eb1
normal_blobs->stream_blobs, proactive->background
2022-03-15 15:34:09 -03:00
Victor Shyba
02994164be
fix free space calculation, test it and give a margin of 10mb before starting so it doesnt insist when full
2022-03-15 15:34:09 -03:00
Victor Shyba
c3b89a896b
move more logic out of the downloader component
2022-03-15 15:34:09 -03:00
Victor Shyba
47c4cb800d
add analytics event for network disk space
2022-03-15 15:34:09 -03:00
Victor Shyba
c5f6a4ca1c
announce orphan blobs manually, as that was done when save stream
2022-03-15 15:34:09 -03:00
Victor Shyba
813108b9d8
cleanup background downloader blobs from conf
2022-03-15 15:34:09 -03:00
Victor Shyba
95703b3af5
separated network seeding space metrics
2022-03-15 15:34:09 -03:00
Victor Shyba
2ceec7c3d4
don't save streams for network blobs and bypass disk space manager
2022-03-15 15:34:09 -03:00
Victor Shyba
355ccb1e32
schedule the download task instead
2022-03-15 15:34:09 -03:00
Victor Shyba
8d6a7101f6
download from DHT
2022-03-15 15:34:09 -03:00
Victor Shyba
abbd8473bb
drop channel support, prepare to hook into DHT
2022-03-15 15:34:09 -03:00
Victor Shyba
02b2103d94
handle case where something that isn't a sd blob gets hit
2022-03-15 15:34:09 -03:00
Victor Shyba
85474ae381
no api yet
2022-03-15 15:34:09 -03:00
Victor Shyba
9d3c401abb
download only blobs
2022-03-15 15:34:09 -03:00
Victor Shyba
602cd5bd2e
fix exception arguments
2022-03-15 15:34:09 -03:00
Victor Shyba
4b88b191e7
test add/remove/list subscriptions
2022-03-15 15:34:09 -03:00
Victor Shyba
e449cd01ba
fix and test main api
2022-03-15 15:34:08 -03:00
Victor Shyba
b1db42acf4
download all blobs and check that on tests
2022-03-15 15:34:08 -03:00
Victor Shyba
fcbe8cf00b
create downloader component and initial tests
2022-03-15 15:34:08 -03:00
Jack Robison
a53b454d86
Update daemon.py
...
docstring
2022-03-15 15:34:08 -03:00
Cristian Vicas
01557b599a
Updated documentation for RPC calls: status, blob_list.
2022-03-15 15:34:08 -03:00
Jack Robison
4e77fa100b
small fixes
2022-03-15 15:34:07 -03:00
Jack Robison
1c8f92239d
fix stream_update
--clear_channel flag
2022-03-15 15:34:07 -03:00
Jack Robison
1445340bba
tests
2022-03-15 15:34:07 -03:00
Victor Shyba
3d7ece91eb
fix file reflect and add test
2022-03-15 15:34:07 -03:00
Lex Berezhny
1004a83dae
disk space metrics
2022-03-15 15:34:07 -03:00
Victor Shyba
e569fdd43c
generalize stream empty to argument empty
2022-03-15 15:34:07 -03:00
Victor Shyba
00a850500d
empty stream name error for user input
2022-03-15 15:34:07 -03:00
Victor Shyba
25aa2f95a5
error for missing channel private key
2022-03-15 15:34:07 -03:00
Victor Shyba
dc2ccc4fe8
error for already purchased claims
2022-03-15 15:34:07 -03:00
belikor
c47ba498a4
daemon: fix documentation in the file_list
docstring
...
This is necessary to produce the `docs/api.json`
(through `scripts/generate_json_api.py`)
with correct information, and to be able to parse this file later on
by other tools.
2022-03-15 15:34:06 -03:00
Lex Berezhny
5fea68a9b9
default is_mine to true during migration
2022-03-15 15:34:06 -03:00
Lex Berezhny
c66b1646a6
during disk clean your own sd blob is now kept and file status of deleted files is set to stopped
2022-03-15 15:34:06 -03:00
Lex Berezhny
bbcdc881cd
db migration and other fixes
2022-03-15 15:34:06 -03:00
Lex Berezhny
07a78cf73d
use databse to track blob disk space use and preserve own blobs
2022-03-15 15:34:06 -03:00
Victor Shyba
358ef4536f
add ConflictingInputValueError for claim_id+claim_ids
2021-09-10 18:57:20 -03:00
Victor Shyba
5061a35e66
remove ignored output from hub node
2021-09-10 18:57:20 -03:00
Victor Shyba
8206441834
run CI for old and new setups
2021-09-10 18:57:20 -03:00
Victor Shyba
d713783736
ignore default values
2021-09-10 18:57:20 -03:00
Victor Shyba
9e81dd2360
refactor arguments fixup
2021-09-10 18:57:20 -03:00
Victor Shyba
e2798969d7
claim_id is an invertible field, not a repeated
2021-09-10 18:57:20 -03:00
Victor Shyba
1c31ec66f2
simplify operator handling
2021-09-10 18:57:20 -03:00
Victor Shyba
241f9fc7b0
not_claim_id/not_claim_ids is not a search parameter
2021-09-10 18:57:20 -03:00
Victor Shyba
a799503c97
update fields from hub
2021-09-10 18:57:20 -03:00
Victor Shyba
9685928087
there is no first_search
2021-09-10 18:57:20 -03:00
Victor Shyba
3c4571a4e0
remove fallback
2021-09-10 18:57:20 -03:00