Commit graph

60 commits

Author SHA1 Message Date
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
Alex Liebowitz c5d93f7bb1 Fix version check logic 2016-06-30 00:39:41 -04:00
Alex Liebowitz 5f5e3ae5c6 Version check/upgrade improvements
- Upgrading is now optional
  - Move version comparison logic into JS (Jack took it out of the daemon)
2016-05-30 09:43:34 -04:00
Alex Liebowitz 142c0dad9e Make "Remove from LBRY" and "Delete file" options work 2016-05-30 08:54:08 -04:00
Alex Liebowitz 4593e8600d Add lbry.resolveName() 2016-05-16 09:17:53 -04:00
Alex Liebowitz ecc20adaa9 Add lbry.getMediaType() 2016-05-16 04:16:40 -04:00
Alex Liebowitz f2f7698d3d Add startFile, stopFile, deleteFile functions to lbry module 2016-05-14 08:27:11 -04:00
Alex Liebowitz a6b97d75ab Add lbry.getFilesInfo() 2016-05-14 08:27:10 -04:00
Alex Liebowitz 31bf22cbf1 Add lbry.getFileStatus() 2016-05-05 04:08:37 -04:00
Alex Liebowitz f91ba86295 Add lbry.reportBug() 2016-04-23 08:19:15 -04:00
Alex Liebowitz 80fdf2fd5f add lbry.getStreamInfo() 2016-04-21 06:16:40 -04:00
Alex Liebowitz 19933c53e5 Add lbry.getVersionInfo() and lbry.stop() 2016-04-20 05:38:00 -04:00
Alex Liebowitz 7c1fb5bcb2 Add lbry.getDaemonStatus() 2016-04-14 00:40:31 -04:00
Alex Liebowitz 7ec2b46960 Add missing args param to check_for_new_version call 2016-04-13 21:21:35 -04:00
Alex Liebowitz f8c0382db0 If user has old version, redirect them to lbry.io/[os] to upgrade
The OS checking is ugly, but once we have an "upgrade" page on lbry.io we'll change it to point there
2016-04-12 06:35:14 -04:00
Alex Liebowitz 458ff88602 Extend timeout to 5 minutes 2016-04-12 05:07:17 -04:00
Alex Liebowitz 1c896a4243 Switch to callback based error handling for daemon requests 2016-04-12 05:00:27 -04:00
Alex Liebowitz 8cf9395ea8 Display startup message if provided by daemon 2016-04-09 06:44:46 -04:00