Alex Liebowitz
deb67e6556
Don't time out on Publish page
...
lbry.getFileInfoWhenListed() now only times out if a timeout callback
is provided.
2017-02-01 04:11:16 -05:00
Alex Liebowitz
7ac9c599de
Publish: fix detection of the user's own claim on a name
2017-01-25 00:43:01 -05:00
Alex Liebowitz
423d4fa47b
Don't show error message if price for a file can't be retrieved
...
On search results pages, stream_cost_estimate is called on every
result. If there's some problem in the daemon that affects all calls
to stream_cost_estimate, this can lead to 25 error boxes. Better to
just suppress the error and not display a price.
Also switched to the new name for the daemon method (get_cost_est ->
stream_cost_estimate)
2017-01-24 19:29:47 -05:00
Alex Liebowitz
f3a501cf14
Add temporary timeout for blob peer list lookups
...
Returns an empty array for the peer list if the API call takes more
than 6 seconds. If the lookup takes that long, there are almost never
never any peers.
2017-01-23 23:50:15 -05:00
Alex Liebowitz
3c339492a0
Use new API method name in lbry.getPeersForBlobHash()
2017-01-23 23:41:38 -05:00
Alex Liebowitz
87e6713262
Make unavailable content visible by default
2017-01-20 08:54:36 -05:00
Job Evers-Meltzer
2aa10261d9
Improve startup checking
...
Before this fix, if the daemon wasn't accepting connections
the UI would get an error and then be stuck on the loading screen.
We now check if the daemon is accepting connections first, and then
check for the status.
2017-01-18 09:30:46 -06:00
Job Evers-Meltzer
22c4f41066
fix errorcallback in publish
2017-01-17 21:37:24 -06:00
Alex Liebowitz
839c42bc3a
Use new format for open and reveal RPC methods
2017-01-17 06:44:48 -05:00
Alex Liebowitz
88d4c49d9a
Use Object.entries() when calling file info callbacks
2017-01-17 06:44:43 -05:00
Alex Liebowitz
0b9980f371
Rename all vars called "___sInfo" to "___Infos"
2017-01-17 05:06:39 -05:00
Alex Liebowitz
425fbb84a5
Fix delay in files disappearing from My Files
...
We now maintain a list of files that have been requested for removal in
lbry.js and simulate the file being removed so all components can
respond immediately.
2017-01-17 04:04:31 -05:00
Jeremy Kauffman
70db4c937e
shitty file remove
2017-01-16 23:44:06 -05:00
Jeremy Kauffman
7f135275df
file list refactor
2017-01-16 23:44:06 -05:00
Jeremy Kauffman
4fd9828760
holy fuck javascript sucks
2017-01-16 23:44:05 -05:00
Jeremy Kauffman
e0eb36d032
more file tile refactor and fix file info unsubscribe
2017-01-16 23:44:05 -05:00
Jeremy Kauffman
b7f23aa0dd
big refactor of file actions/buttons/tiles
2017-01-16 23:44:04 -05:00
Alex Liebowitz
8d3e585306
When user chooses Open, open files instead of revealing
2017-01-16 23:42:09 -05:00
Alex Liebowitz
5fa158f771
Remove startup notice code
...
The API method for this (get_start_notice()) is now deprecated
2017-01-13 16:58:46 -05:00
Alex Liebowitz
ff61fbbf7a
Update lbry.reportBug() to use new report_bug daemon method
2017-01-02 15:43:34 -05:00
Alex Liebowitz
a2aaf65be5
Add developer settings to lbry.js
2016-12-29 04:59:29 -05:00
Alex Liebowitz
a03b021945
Add a missing param to an inner function in lbry.getCostInfoForName()
2016-12-29 04:10:36 -05:00
Alex Liebowitz
d557c09f80
Add API stubs for getting info for individual files
...
- lbry.getFileInfoByName()
- lbry.getFileInfoBySdHash()
- lbry.getFileInfoByFilename()
2016-12-26 23:51:01 -05:00
Alex Liebowitz
8456b3d3b2
Add lbry.getMyClaims()
2016-12-26 23:51:01 -05:00
Alex Liebowitz
d9a4442cc3
Add lbry.getCostInfoForName()
2016-12-14 13:24:58 -05:00
Alex Liebowitz
6963d877df
Break lbry.getCostEstimate() into 2 separate functions
...
lbrynet now supports getting the total cost if you provide the "size"
param, so we break this into two functions: lbry.getKeyFee() and
lbry.getTotalCost()
2016-12-14 13:24:58 -05:00
Alex Liebowitz
7ca6017986
Add lbry.getPeersForBlobHash()
2016-12-09 03:11:25 -05:00
Alex Liebowitz
1295b7e1b9
Hard code web UI address in certain links to make testing servers work
2016-12-06 15:09:49 -05:00
Job Evers
c32ab1ac65
bug fixes found while linting
2016-12-06 14:28:10 -05:00
Job Evers
42898d5f60
Convert to ES6 modules
2016-12-06 14:28:10 -05:00
Alex Liebowitz
735444f022
Add lbry.getSessionInfo()
2016-11-30 00:23:45 -05:00
Alex Liebowitz
5af7916b20
Add lbry.nameIsValid()
2016-11-22 01:14:15 -05:00
alexliebowitz
65ae347090
Merge pull request #84 from benyanke/patch-1
...
formatName - replace spaces with dashes
2016-11-21 00:18:42 -05:00
Ben Yanke
33b43477d5
formatName now using different text sanitation method
2016-11-16 13:56:04 -06:00
Ben Yanke
4bf4d14a24
formatName - replace spaces with dashes
...
Name-formatter now replaces spaces with dashes, for more readable names. This is similar to Wordpress' permalink processing.
2016-11-15 01:31:28 -06:00
Alex Liebowitz
46cf8915f9
Restore JSON-RPC 2.0 error keys
2016-11-15 01:30:38 -05:00
Alex Liebowitz
7f961ccc63
Update key names in API error reporting
2016-11-15 01:30:38 -05:00
Alex Liebowitz
80302786e1
Alert on AJAX connection failures
2016-11-15 01:30:38 -05:00
Alex Liebowitz
c36711c380
Report unhandled daemon and Lighthouse errors
2016-11-15 01:29:51 -05:00
Alex Liebowitz
e6fc50e01f
Tweak logic for handling failed connections in lbry.jsonrpc_call()
...
- Move AJAX error callback declaration to the right spot (before,
it was inside the load callback)
- Add support for custom timeouts
2016-11-11 09:31:09 -05:00
Alex Liebowitz
e0d68a9619
Move lbry.search() to lbry.lighthouse and add connection retry logic
2016-11-11 09:27:47 -05:00
Alex Liebowitz
39dc23398e
Use global search for filtering special chars in lbry.formatName()
2016-09-25 01:34:52 -04:00
Jeremy Kauffman
6643a44f31
Merge pull request #48 from lbryio/show-wallet-address
...
Show address on Wallet page
2016-09-24 15:19:41 -04:00
Alex Liebowitz
e1637d537c
Add lbry.getMyClaim()
2016-09-23 05:56:35 -04:00
Alex Liebowitz
f23d654a6b
Add support for running code at start of publication process
...
- Add lbry.getFileInfoWhenListed()
- Modify publish() to take an optional callback for when the file is
listed.
2016-09-16 11:17:12 -04:00
Alex Liebowitz
9a9bed2966
Make lbry.getMediaType() reliably handle malformed and absent input
2016-09-08 04:35:41 -04:00
Alex Liebowitz
bc129eb347
Make lbry.getMediaType() able to use MIME type as well as file name
2016-09-02 04:48:19 -04:00
Alex Liebowitz
96dedbf1bd
Add lbry.getAddressIsMine()
2016-09-02 01:34:30 -04:00
Alex Liebowitz
968506a8dd
Add lbry.formatName()
2016-09-01 03:28:07 -04:00
Alex Liebowitz
8378a7a387
Add option to show/hide NSFW content
2016-08-22 15:46:15 -04:00