Commit graph

77 commits

Author SHA1 Message Date
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
Alex Liebowitz
0472ea5d9d Add support for client side settings using localStorage 2016-08-22 15:42:09 -04:00
Alex Liebowitz
0a2c0586d4 Light refactor of daemon settings processing
- Rename the daemon setter/getter methods to lbry.getDaemonSettings()
   and lbry.setDaemonSettings() to differentiate them from the new
   methods for client settings
 - Add lbry.setDaemonSetting(), for changing individual daemon settings
   easy to
 - Refactor Settings page to submit only changed settings instead of
   re-submitting all settings every time
2016-08-22 15:19:11 -04:00
Alex Liebowitz
de1596c0ba Display prices rounded to whole numbers with no ".0"
Looks cleaner, plus no issue of "1.0 credits" vs "1.0 credit"
2016-08-19 03:24:12 -04:00
Alex Liebowitz
1a66fafd2d Rewrite search to use Lighthouse RPC calls 2016-08-18 03:14:38 -04:00
Alex Liebowitz
9d7f82e309 Refactor JSON-RPC handling into generic function 2016-08-18 02:57:19 -04:00
Jeremy Kauffman
007da592f1 crude ability to jump to discover 2016-08-09 08:22:06 -04:00
Alex Liebowitz
6d23e7af51 Make lbry.publish() call error callback 2016-08-03 06:57:06 -04:00
Alex Liebowitz
683a3cd4b1 More tweaks to Publish page
- Give lbry.publish()  complete data structure for fee (inc.
   currency and address) insteaed of just the amount.
 - Disable Publish button during submit
2016-08-03 06:57:06 -04:00
Alex Liebowitz
5170222e2d Add almost all remaining fields + visual fixes and refactoring 2016-08-03 06:57:06 -04:00
Alex Liebowitz
c46aecfbd9 Add error handling to lbry.resolveName() and lbry.publish() 2016-08-03 06:57:06 -04:00
Alex Liebowitz
d9c6787fac Add lbry.publish() 2016-08-03 06:57:06 -04:00
Jonas Whidden
a9d95bf76b Fix send amount to address 2016-08-02 05:36:00 -04:00
Jonas Whidden
d72e077ad3 Add basic wallet functionality 2016-08-02 05:36:00 -04:00
Alex Liebowitz
1fcf1b4325 Add lbry.getCostEstimate() stub 2016-07-30 03:45:31 -04:00
Alex Liebowitz
8a62bbf808 Add lbry.getClaimInfo() stub 2016-07-30 02:42:53 -04:00
Alex Liebowitz
8b8bcc644c Switch to int comparison in version check 2016-07-22 00:20:16 -04:00
Alex Liebowitz
5f2174dd07 Add claim code page 2016-07-04 12:05:26 -04:00
Alex Liebowitz
ab15d96efe Fix version check logic (Pt. 2) 2016-06-30 01:27:31 -04:00