Compare commits

..

2570 Commits

Author SHA1 Message Date
Liam Cardenas
654edc9885 Bump version: 0.18.2rc1 → 0.18.2 2017-11-15 14:39:09 -05:00
Liam Cardenas
1304182fbc Added to changelog 2017-11-15 14:38:25 -05:00
Liam Cardenas
d8a20a5cba Bump version: 0.18.1rc1 → 0.18.2rc1 2017-11-15 13:25:20 -05:00
Liam Cardenas
06b2a94c80 Bump version: 0.18.0 → 0.18.1rc1 2017-11-15 11:46:40 -05:00
Liam Cardenas
4adde1ba57 Merge pull request #749 from lbryio/fixemailverifyissue
Added currentBalance to props in modal credit intro
2017-11-15 10:57:49 -05:00
Liam Cardenas
4ffbf05400 Added currentBalance to props in modal credit intro 2017-11-15 10:40:48 -05:00
Jeremy Kauffman
8733f3a590 state transaction failure in transaction modal 2017-11-13 16:06:09 -05:00
Jeremy Kauffman
cdbfd73893 Bump version: 0.18.0rc5 → 0.18.0 2017-11-13 13:42:04 -05:00
Jeremy Kauffman
2882a14f03 Merge pull request #734 from seanyesmunt/windows-webpack
Fix windows ui build
2017-11-13 10:58:29 -05:00
Sean Yesmunt
7bdfa65ba1 Fix windows ui build 2017-11-13 10:50:41 -05:00
Jeremy Kauffman
b7b81b080c Bump version: 0.18.0rc4 → 0.18.0rc5 2017-11-13 10:29:13 -05:00
Alex Grintsvayg
74db2ab40a webpack on windows 2017-11-13 10:22:21 -05:00
Jeremy Kauffman
440128d2c3 add changelog related to build improvements 2017-11-13 09:58:37 -05:00
Alex Grin
0a818fa583 Update README.md 2017-11-10 11:49:22 -05:00
Alex Grintsvayg
aa3762c100 Merge branch 'build-improvements'
* build-improvements:
  simplify build, almost remove python
  Fix build script to permit paths with spaces
2017-11-10 11:48:11 -05:00
Alex Grintsvayg
597be05199 simplify build, almost remove python 2017-11-10 11:48:04 -05:00
Alex Liebowitz
cb88b306ab Fix build script to permit paths with spaces
- Quote dynamic command names
 - Use "python pip" instead of "pip" when in virtualenv (pip can't
   handle paths with spaces inside of a virtualenv, may be fixed in
   pip 10).
2017-11-10 11:48:04 -05:00
Jeremy Kauffman
85f391e8a1 Bump version: 0.18.0rc3 → 0.18.0rc4 2017-11-10 10:41:58 -05:00
Jeremy Kauffman
3209d813f2 placeholder value should match default value on publish #701 2017-11-10 10:41:22 -05:00
Jeremy Kauffman
c2a18d6f1b Bump version: 0.18.0rc2 → 0.18.0rc3 2017-11-10 09:56:24 -05:00
Jeremy Kauffman
7a9aaf377b fix API error propegation 2017-11-10 09:55:30 -05:00
Jeremy Kauffman
4c94f65493 Merge pull request #724 from seanyesmunt/webpack-fix
fix dev build path and update webpack file names in build.sh/watch.bat
2017-11-10 08:27:29 -05:00
Sean Yesmunt
1eeff2dadc fix dev build path and update webpack file names in build.sh/watch.bat 2017-11-09 18:46:33 -08:00
Jeremy Kauffman
c219cf9709 Bump version: 0.18.0rc1 → 0.18.0rc2 2017-11-09 17:05:17 -05:00
Jeremy Kauffman
c40de1ed8c update daemon to 0.18.0 proper 2017-11-09 17:04:30 -05:00
Jeremy Kauffman
e811b3a613 remove console statements 2017-11-09 17:01:22 -05:00
Jeremy Kauffman
8acb7bd85a actually fix api.lbry.io errors getting swallowed 2017-11-09 17:00:48 -05:00
Jeremy Kauffman
6300370046 fix api.lbry.io errors getting swallowed 2017-11-09 16:59:41 -05:00
Jeremy Kauffman
3b1f63d98f enlarge snack bar, fixes #714 2017-11-09 16:55:34 -05:00
Jeremy Kauffman
a678570665 Bump version: 0.17.1 → 0.18.0rc1 2017-11-08 18:20:50 -05:00
Jeremy Kauffman
9529b1a0af no newlines in changelog 2017-11-08 18:20:36 -05:00
Jeremy Kauffman
60b344bcb9 update changelog prior to rc 2017-11-08 18:19:38 -05:00
Jeremy Kauffman
8987fca22c Merge branch 'revoke_claims' 2017-11-08 18:15:15 -05:00
Jeremy Kauffman
d9f65aaff3 add help link for transaction types 2017-11-08 18:14:32 -05:00
Jeremy Kauffman
a6946b4930 Merge remote-tracking branch 'origin/master' into revoke_claims 2017-11-08 17:42:51 -05:00
Jeremy Kauffman
748dd9268e CHANGELOG update missing from previous commit 2017-11-08 17:38:56 -05:00
Jeremy Kauffman
77774e6fbc update daemon to 0.18 2017-11-08 17:37:16 -05:00
Jeremy Kauffman
d6f405c1b0 Merge branch 'app-minimize' 2017-11-08 17:27:59 -05:00
Jeremy Kauffman
350c4dc98c minor changes to tray functionality 2017-11-08 17:27:20 -05:00
hackrush
7a0a0c468e Rudimentary implementation of tray minimization(WIP)
Minimize app to tray

@kauffj I was not sure about which icon to use so I used a 96x96 png as
a placeholder. The feature is working well.

Fixes #374

3 small changes

Broken Minimization

Fixed App-minization finally

Bug fix and compatibility check

Added Alt+F4 accelerator to quit the app

Small features and fixes

Homerun: Added Quit to Menu

Fixes and changes
2017-11-08 17:27:17 -05:00
Sean Yesmunt
b858614902 Merge pull request #713 from seanyesmunt/webpack
Simplify webpack
2017-11-08 11:02:24 -08:00
Sean Yesmunt
f877ac39f8 merge common webpack configs 2017-11-07 19:54:22 -08:00
Alex Grintsvayg
f14884d8a0 categories are in order these days 2017-11-07 12:43:31 -05:00
Josh Finer
7ee84b6ae9 Update view.jsx
loading message update
2017-11-07 10:29:11 -05:00
Jeremy Kauffman
f9e419adb9 add changelog for previous commit 2017-11-07 09:36:22 -05:00
Jeremy Kauffman
c33b7df732 increase modal width by 20px, fixes #709 2017-11-07 09:35:49 -05:00
hackrush
5da244e3e2 Regression Fixes 2017-11-06 20:20:43 +05:30
hackrush
e956017bc1 Possible fix for regression in previous commit 2017-11-02 02:28:19 +05:30
hackrush
588972d017 Clean Up 2017-11-02 01:53:30 +05:30
Alex Grintsvayg
567bb17c63 wget required 2017-10-31 14:23:03 -04:00
Alex Grintsvayg
556b5f5e96 typo 2017-10-31 11:15:46 -04:00
hackrush
a2791ec57a Fixed redundant storing of states 2017-10-31 19:36:43 +05:30
Alex Grintsvayg
41174bcb30 fix build version hash length 2017-10-31 09:48:07 -04:00
Jeremy Kauffman
a682d84bd9 Merge pull request #707 from lbryio/changelog-addition
changelog addition
2017-10-30 18:04:52 -04:00
Thomas Zarebczan
db06489543 update to include first publish also
update to include first publish also
2017-10-30 17:46:53 -04:00
Alex Grintsvayg
76b21801ab changelog 2017-10-30 17:37:57 -04:00
Alex Grin
03a7644a58 Merge pull request #706 from lbryio/fix-channel-surfing-reward
simplify check for initial claim. fix #290
2017-10-30 15:42:08 -04:00
Alex Grintsvayg
47208b7f66 simplify check for initial claim. fix #290 2017-10-30 15:34:00 -04:00
hackrush
c4626dda4a Merge branch 'master' into revoke_claims and clean-up 2017-10-30 22:16:42 +05:30
hackrush
88b3e5a08b Feedback fixes 2017-10-30 21:55:56 +05:30
hackrush
28241aaa3a Updated Changelog 2017-10-28 11:09:40 +05:30
hackrush
f73cace72d Ask for confirmation before revoking 2017-10-28 11:09:40 +05:30
hackrush
74c4e1efa3 Revoke claims from Txn list 2017-10-28 11:09:40 +05:30
Jeremy Kauffman
e335f526b1 Merge branch 'rewards_tx_list' 2017-10-27 17:30:36 -04:00
hackrush
44f962fe2a Rewards marked in txn list 2017-10-27 17:23:53 -04:00
Jeremy Kauffman
8f1e2ea72b fix settings bug and update changelog 2017-10-27 17:14:42 -04:00
Jeremy Kauffman
86ead993e0 Merge branch 'thujeevan-replace-xmlhttprequest' 2017-10-27 15:37:45 -04:00
Jeremy Kauffman
f758a5bdbe remove old endpoint reference 2017-10-27 15:37:32 -04:00
thujeevan
6d45b7c1c3 Replace xmlhttprequest with fetch
fixes https://github.com/lbryio/lbry-app/issues/650
add fetch and es6-Promise polyfills
update webpack config accordingly
2017-10-27 15:37:32 -04:00
Jeremy Kauffman
2fa5cdcfbb Merge branch 'menu-patch' 2017-10-27 15:12:21 -04:00
Jeremy Kauffman
cd4bedc873 small menu tweak 2017-10-27 15:11:38 -04:00
Baltazar Gomez
12f7d44c43 auto hide menubar
update menu

tidy up menu items

fix help label

improve help submenu
2017-10-27 15:11:35 -04:00
Jeremy Kauffman
c8cc05b685 Bump version: 0.17.1rc1 → 0.17.1 2017-10-25 17:57:51 -04:00
Jeremy Kauffman
6ca3a1a881 Bump version: 0.17.0 → 0.17.1rc1 2017-10-25 17:51:12 -04:00
Jeremy Kauffman
1f41446738 update daemon version 2017-10-25 17:51:06 -04:00
Jeremy Kauffman
29463ac57b update references to slack 2017-10-25 17:45:47 -04:00
btzr-io
8bd6358310 update money color -> dark-theme 2017-10-23 17:23:11 -04:00
btzr-io
dc839b472c remove empty div 2017-10-23 17:23:11 -04:00
btzr-io
d489f48f14 update helper text color 2017-10-23 17:23:11 -04:00
btzr-io
2a49a2b889 show markdown guide
I need this :)
2017-10-23 17:23:11 -04:00
btzr-io
1c41b7d77a remove css junk 2017-10-23 17:23:11 -04:00
btzr-io
ecd90de84a fix markdown placeholder 2017-10-23 17:23:11 -04:00
btzr-io
dd2f549eb0 update light theme 2017-10-23 17:23:11 -04:00
btzr-io
fc1be7c033 fix wallet address input styles 2017-10-23 17:23:11 -04:00
btzr-io
f529d29a77 minor cleanup for channelSection 2017-10-23 17:23:11 -04:00
btzr-io
ee08f38cd8 fix missign focus method 2017-10-23 17:23:11 -04:00
btzr-io
9dffde221c fix #678 2017-10-23 17:23:11 -04:00
Jeremy Kauffman
4f02b87800 Merge pull request #690 from lbryio/channel_name_length
Fixed parsing of channel names of length < 4
2017-10-23 16:59:39 -04:00
hackrush
72130c74ae Fixed parsing of channel names of length < 4 2017-10-20 13:46:18 +05:30
Jeremy Kauffman
782fb5d59e revert user-select: none as default for all elements 2017-10-15 09:35:16 -04:00
Jeremy Kauffman
3cc05e0768 upgrade changelog for changes since 0.17.0 release 2017-10-15 08:36:56 -04:00
Jeremy Kauffman
31be7086bb Merge branch 'ux-patch' 2017-10-15 08:25:28 -04:00
btzr-io
06092cd8f9 more changes for markdown styles 2017-10-14 23:55:25 -06:00
btzr-io
0256d7a8f8 minor update for publish layout
update markdown styles

css fixes
2017-10-14 23:40:15 -06:00
btzr-io
c6f75702b1 more fixes for input styles 2017-10-14 22:52:32 -06:00
btzr-io
f5126fc059 update / fix input styles 2017-10-14 21:52:23 -06:00
btzr-io
904205beb8 fix download button styles 2017-10-14 20:16:31 -06:00
btzr-io
d17261a965 consistent titles for settings page 2017-10-14 19:56:51 -06:00
btzr-io
3f18110e7c don't show channel on fetch 2017-10-14 19:53:43 -06:00
btzr-io
9a8799eae0 fix recent transaction actions 2017-10-14 19:42:47 -06:00
btzr-io
bccdcb1315 settigns page cleanup 2017-10-14 18:42:21 -06:00
btzr-io
a0bedb7f97 remove extra label 2017-10-14 18:22:43 -06:00
btzr-io
6c1f627dd7 fix form-field margin 2017-10-14 18:16:05 -06:00
btzr-io
4db73ddb36 better radio input styles + animation 2017-10-14 17:54:38 -06:00
btzr-io
720ec3b77a fix dark theme checkbox styles 2017-10-14 17:46:18 -06:00
btzr-io
f17777b511 better checkbox styles 2017-10-14 17:41:41 -06:00
btzr-io
ac95dea827 update checkbox / radio input styles 2017-10-14 16:37:40 -06:00
btzr-io
b6b23b5583 update input styles 2017-10-14 16:03:05 -06:00
btzr-io
37d3515fa8 publish layout cleanup 2017-10-14 13:41:04 -06:00
Jeremy Kauffman
eeec63a27e win can sometimes be null (not sure how?) 2017-10-13 16:33:37 -04:00
Jeremy Kauffman
d1c09ad71c update discover api endpoint 2017-10-13 16:29:58 -04:00
Jeremy Kauffman
11033dd5b2 case-insensitive protocol replacement 2017-10-13 09:33:12 -04:00
Jeremy Kauffman
7d056d3944 Merge pull request #674 from lbryio/upgrade-electron-179
Stop lbry:// links from opening a new window on Linux
2017-10-13 09:25:53 -04:00
btzr-io
d8e4e2437a fix empty search results 2017-10-12 20:23:02 -06:00
btzr-io
036bc5200a fix pr :( 2017-10-12 20:08:29 -06:00
btzr-io
d7dede8c08 fix channel tile thumbnail 2017-10-12 19:49:49 -06:00
btzr-io
28216e998b fix jsx 2017-10-12 19:37:26 -06:00
Baltazar Gomez
5ed51109f6 Merge branch 'master' into ux-patch 2017-10-12 19:23:44 -06:00
Alex Liebowitz
c9bd5ad488 Use Single Instance App mode on Linux
This Electron feature now works on Linux again as of Electron 1.7.8.

Fixes #164 (multiple windows opening on Linux when clicking lbry://
links)
2017-10-12 18:52:17 -04:00
Alex Liebowitz
992c9d16a3 Upgrade to Electron 1.7.9 2017-10-12 18:30:24 -04:00
Thomas Zarebczan
e1122ef1e3 fix pr
fix 547 > 576
2017-10-12 14:12:22 -04:00
Jeremy Kauffman
fed95f0549 Bump version: 0.17.0rc3 → 0.17.0 2017-10-12 13:04:17 -04:00
Jeremy Kauffman
ab0bc8e3ff update daemon to 0.17 proper 2017-10-12 13:03:48 -04:00
Jeremy Kauffman
3cf63e73a3 Bump version: 0.17.0rc2 → 0.17.0rc3 2017-10-12 10:05:34 -04:00
Jeremy Kauffman
a6b83a0b08 fix infinite loops on unclaimed URLs (somewhat ugly) 2017-10-12 10:05:18 -04:00
Jeremy Kauffman
142b1eb529 Bump version: 0.17.0rc1 → 0.17.0rc2 2017-10-12 09:50:37 -04:00
Jeremy Kauffman
45b2bc6aa8 style form row labels and form field labels the same way 2017-10-12 09:45:59 -04:00
Jeremy Kauffman
3735498785 saner paging, fix resolving uri state, fix counts in channel results, fix search prefix 2017-10-12 09:45:59 -04:00
btzr-io
c20ecd5f36 improvements for channel Tile 2017-10-11 22:25:53 -06:00
btzr-io
3374c8ba39 add smart text selection 2017-10-11 21:37:36 -06:00
btzr-io
7ccc701b7b remove overall text selection 2017-10-11 21:15:09 -06:00
btzr-io
6eff0b46dd minor update for scrollbar - fix #666 2017-10-11 21:05:57 -06:00
btzr-io
e18ba31988 file selector cleanup - fix #656
add readonly style

minor css fixes
2017-10-11 20:52:34 -06:00
Jeremy Kauffman
9e7800d6d7 Merge pull request #662 from lbryio/rc-patch
Better title for menu bar
2017-10-11 10:34:18 -04:00
Jeremy Kauffman
8be0ba5809 Merge pull request #665 from lbryio/effectiveamount
show effective amount as top bid
2017-10-11 10:25:38 -04:00
Thomas Zarebczan
0bc3b31946 show effective amount as top bid
This changes amount > effective_amount which provides a more accurate top bid.
2017-10-11 09:57:33 -04:00
btzr-io
cb8e9b4bdf remove uri from tile component 2017-10-10 22:53:01 -06:00
Baltazar Gomez
5341dab102 don't show default title - fix #658 2017-10-10 20:04:08 -06:00
Jeremy Kauffman
d553f9e8e3 Bump version: 0.16.1 → 0.17.0rc1 2017-10-10 09:59:25 -04:00
Jeremy Kauffman
5bce9f887a fix version numbers 2017-10-10 09:59:09 -04:00
Jeremy Kauffman
38702ad00d Bump version: 0.18.0rc1 → 0.18.0rc2 2017-10-10 09:48:09 -04:00
Jeremy Kauffman
e290a7474d Bump version: 0.17.0rc1 → 0.18.0rc1 2017-10-10 09:44:31 -04:00
Jeremy Kauffman
c4bcfbc0ca Bump version: 0.16.1rc1 → 0.17.0rc1 2017-10-10 09:36:26 -04:00
Jeremy Kauffman
34addb6ffd update daemon and changelog 2017-10-10 09:29:48 -04:00
Jeremy Kauffman
dd667e8bad Merge branch 'lighthouse_v2' 2017-10-10 09:24:48 -04:00
Jeremy Kauffman
646c91efcb Merge branch 'css_patch' 2017-10-10 09:17:16 -04:00
Jeremy Kauffman
d6b86c0f07 Merge branch 'multi-resolve' 2017-10-10 09:05:00 -04:00
Jeremy Kauffman
cc1963d21e restore resolve dispatch behavior on file cards and tiles 2017-10-10 09:03:19 -04:00
Alex Liebowitz
c5c67a0de5 Minor refactors in doResolveUri()
Add doResolveUris()

Always call resolveUri() in FileTile and FileCard

Before, these components would only try and resolve if claim info
wasn't provided.

Don't require uri param in lbry.resolve()

It can now be "uris" instead, plus the error message about caching
doesn't really apply anymore.

Don't cache/cancel open resolve requests

No longer needed because we're not doing resolve requests in bulk

Add support for multiple URI resolution in lbry.resolve()

Handle multi URL resolves with one action

Update CHANGELOG.md
2017-10-10 09:03:17 -04:00
btzr-io
2039ab7f21 update file layout and more fixes :) 2017-10-09 22:53:50 -06:00
btzr-io
3c31ad69ea implement dividers 2017-10-09 21:10:59 -06:00
btzr-io
16e236cb2b add more focus to edit button 2017-10-09 19:39:41 -06:00
btzr-io
3eef5d7070 revert commit dd8ab64 and minor cleanup for fileActions 2017-10-09 19:27:35 -06:00
Jeremy Kauffman
401bb85272 shit-tier channel search results 2017-10-09 19:19:50 -04:00
btzr-io
73c2d02e38 minor cleanup for wallet page 2017-10-08 23:10:56 -06:00
btzr-io
a3b0ecd9b9 update cards margin 2017-10-08 21:37:37 -06:00
btzr-io
7400b8c916 more experimental changes
add more focus for support button

minor fixes css
2017-10-08 20:39:10 -06:00
btzr-io
c0f545a774 more minor fixes for file actions and scrollbar 2017-10-08 17:19:00 -06:00
btzr-io
725b9e1066 use standar animations for card component 2017-10-08 16:52:29 -06:00
btzr-io
dd8ab647b8 don't support your own claims :( 2017-10-08 16:36:04 -06:00
btzr-io
5b9eac8c00 test: remove description 2017-10-08 16:32:18 -06:00
btzr-io
67475c690f tidy up 2017-10-08 15:56:59 -06:00
btzr-io
62053e6b36 better format for dateTime component 2017-10-08 14:43:56 -06:00
btzr-io
e801f77fd9 simplify published date 2017-10-08 14:23:55 -06:00
Jeremy Kauffman
91d4dd610e search working, but no rendering of channels 2017-10-06 17:46:41 -04:00
Baltazar Gomez
ac2a69c47d Merge branch 'master' into css_patch 2017-10-06 15:02:20 -06:00
Jeremy Kauffman
80f1cac4e5 drop developer page 2017-10-06 16:22:17 -04:00
Jeremy Kauffman
767630a985 finally killed client settings in lbry.js 2017-10-06 16:15:33 -04:00
Jeremy Kauffman
145e4c8b97 Merge pull request #641 from lbryio/redeemedrewards
change message if all rewards redeemed
2017-10-06 15:46:26 -04:00
Baltazar Gomez
57b6948212 Merge branch 'master' into css_patch 2017-10-05 10:39:44 -06:00
btzr-io
10917ea472 remove paddign from media component 2017-10-05 00:00:43 -06:00
Thomas Zarebczan
b64196a641 update daemon version
0.16.3 ->0.16.4
2017-10-05 01:20:39 -04:00
btzr-io
3aca559715 fix issue with card-row header 2017-10-04 22:18:29 -06:00
btzr-io
79895f6c7f more fixes :) 2017-10-04 22:13:06 -06:00
btzr-io
6cee8d7664 fixes for last review 2017-10-04 21:07:04 -06:00
Jeremy Kauffman
948ebe8500 fix bug introduced in previous commit 2017-10-03 17:55:41 -04:00
Jeremy Kauffman
b8980c00d3 update upgrade message 2017-10-03 17:52:53 -04:00
btzr-io
9ea1e21f5b more minor fixes 2017-10-03 11:27:52 -06:00
btzr-io
5dcf15a5b9 minor fix for fileTile component 2017-10-03 10:59:08 -06:00
btzr-io
dda98e81fa Merge https://github.com/lbryio/lbry-app into css_patch
merge master
2017-10-02 23:33:34 -06:00
btzr-io
a8e414ba4a update dark theme 2017-10-02 23:25:06 -06:00
btzr-io
87c4bd2047 add experimental fileTile styles 2017-10-02 23:05:11 -06:00
btzr-io
fd99676307 update fonts and fix button font size 2017-10-02 22:08:25 -06:00
btzr-io
59778808e3 redesign for fileSelector component 2017-10-02 21:04:21 -06:00
btzr-io
28f4b98e20 implement nice shadows :) 2017-10-02 20:37:31 -06:00
btzr-io
b9241fd42d remove funky underline text 2017-10-02 20:25:44 -06:00
btzr-io
55297041a1 fix header invalid css property and update button styles 2017-10-02 20:10:40 -06:00
btzr-io
d4fc6901dc additional header css changes 2017-10-02 19:58:41 -06:00
btzr-io
9c53de114f add standar css animation 2017-10-02 19:35:52 -06:00
btzr-io
1ea453237f improve header css 2017-10-02 19:27:44 -06:00
Alex Grintsvayg
5168cb950c Revert "Bump version: 0.16.1rc1 → 0.16.1rc2"
This reverts commit 4c0cc5e7c8.

Revert "bump daemon version"

This reverts commit 37eb4ef6f8.
2017-10-02 17:51:57 -04:00
Alex Grintsvayg
4c0cc5e7c8 Bump version: 0.16.1rc1 → 0.16.1rc2 2017-10-02 17:39:24 -04:00
Alex Grintsvayg
37eb4ef6f8 bump daemon version 2017-10-02 17:38:24 -04:00
Jeremy Kauffman
ab8c07a7aa Merge pull request #646 from lbryio/disabledmessage
update disabled reward text
2017-10-02 12:30:35 -04:00
Baltazar Gomez
b66968d9f9 Merge branch 'master' into css_patch 2017-10-02 09:30:39 -06:00
Thomas Zarebczan
6759f9c320 update disabled reward text
This message appears when a user's account is manually disabled (rewards abuse, etc).  We don't reach out to them via email, so we should ask them to reach out if they are actually legitimate users.
2017-10-02 11:20:14 -04:00
Jeremy Kauffman
a7a4e8dc16 remove channel length minimum, fixes #645 2017-10-02 08:40:42 -04:00
Jeremy Kauffman
92f3cf46e2 Merge branch 'fix-empty-channels' 2017-10-01 12:49:03 -04:00
Jeremy Kauffman
3539d78d0a prevent overwriting variable 2017-10-01 12:48:31 -04:00
Jeremy Kauffman
17a164b10f Merge pull request #642 from lbryio/fix-play
Fix issues with playing uri
2017-10-01 12:35:39 -04:00
Baltazar Gomez
732b8d219f update changelog 2017-09-30 23:47:45 -06:00
Baltazar Gomez
45ca07115b Fix #643
Reset playing uri
2017-09-30 23:39:00 -06:00
Baltazar Gomez
c25ee25482 update change log 2017-09-30 21:01:47 -06:00
Baltazar Gomez
449997ff6e fix #605
Don't play video if you can't pay for it :(
2017-09-30 20:50:32 -06:00
btzr-io
36c106e16c fix wrong page number 2017-09-30 09:36:13 -06:00
Thomas Zarebczan
7687f1ff93 change message if all rewards redeemed
Change failed message to: "There are no rewards available at this time, please check back later."

This scenario happens when all rewards are claimed. Not sure if it can be encountered any other time.
2017-09-30 11:31:28 -04:00
Baltazar Gomez
78232eb2a9 update changelog 2017-09-29 17:25:53 -06:00
Baltazar Gomez
ab3aa0501c fix for empty channels #636 2017-09-29 17:15:14 -06:00
Jeremy Kauffman
72ad1552cb Bump version: 0.16.0 → 0.16.1rc1 2017-09-29 16:52:01 -04:00
Jeremy Kauffman
ca6ef4e11f fix all step properties, removing publish or send minimums app-side 2017-09-29 16:51:36 -04:00
Jeremy Kauffman
d39664a0fd fix #624, remove unnecessary settings state 2017-09-29 16:05:26 -04:00
Baltazar Gomez
2e28582277 Merge branch 'master' into css_patch 2017-09-28 20:30:27 -06:00
Baltazar Gomez
1c83e8f78a update changelog 2017-09-28 20:23:26 -06:00
Baltazar Gomez
6ae166a559 Update CHANGELOG.md 2017-09-28 20:19:25 -06:00
Baltazar Gomez
18450209b7 remove unnecessary title from discover page 2017-09-28 20:00:18 -06:00
Jeremy Kauffman
f4b2c599c3 fix #615 2017-09-28 20:32:59 -04:00
Alex Grin
021d663960 Merge pull request #630 from lbryio/windowsbuildfix
update windows build instructions
2017-09-28 12:36:15 -04:00
Alex Grintsvayg
ad410b4c0b contributing 2017-09-28 08:14:54 -04:00
Thomas Zarebczan
5d15efffea update windows build instructions
-add step to download git for Windows
-I had to manually extract the last SDK to install on Windows 10
-add step to build windows-build-tools, otherwise it fails on keytar install
-fix xcopy  - /E includes directories
-fix syntax to run app
2017-09-27 15:35:08 -04:00
Jeremy Kauffman
9308971cab use consistent step property on credit inputs #604 2017-09-26 15:57:56 -04:00
btzr-io
2c7cdfd43e minor css fixes
fix dark theme issues

minor css fix for #620
2017-09-26 10:56:21 -06:00
btzr-io
ce889f2d3b add more focus on search
remove icon duplication

minor ux / ui fix
2017-09-26 00:45:49 -06:00
btzr-io
8d8bcf303e fix for #605 2017-09-26 00:21:05 -06:00
btzr-io
ddc5e93aec remove unused css from video component
related to #605
2017-09-26 00:14:24 -06:00
btzr-io
e604916aa3 fix header issue #613 2017-09-25 23:50:05 -06:00
Jeremy Kauffman
342162cfcc Merge branch 'patch_edit' 2017-09-24 16:37:05 -04:00
Jeremy Kauffman
71bb48eaf5 update changelog 2017-09-24 16:36:50 -04:00
btzr-io
b6279febc5 show full path to prevent confusion 2017-09-24 16:33:31 -04:00
btzr-io
a5f65d678d fix #606
tidy up

minor fix
2017-09-24 16:33:29 -04:00
btzr-io
6d38c0e322 fix #601
prefill price from uri

only working for edit button

revert last commit
2017-09-24 16:33:27 -04:00
Jeremy Kauffman
5c8db79b69 remove "showDeveloperMenu" as a setting 2017-09-22 19:10:38 -04:00
Jeremy Kauffman
4a23d13438 remove unnecessary lbry.js functions 2017-09-22 19:02:50 -04:00
Jeremy Kauffman
31cc95cf0e simplify balance check now that we are in redux land 2017-09-22 18:59:28 -04:00
Jeremy Kauffman
f7aec65912 Merge branch 'instant-purchase' 2017-09-22 18:34:39 -04:00
Jeremy Kauffman
b24b6e2e8e add labels, remove unused selectors 2017-09-22 18:34:19 -04:00
Alex Liebowitz
93b1ab8ac6 Add basics of Instant Purchase setting
Fix and simplify state management of Instant Purchas setting

Add Instant Purchase check to Watch page

Merge Max Purchase Price and Instant Purchase into one section

Wording still not finalized.

Add Instant Purchase setting names to constants

Support USD for Instant Purchase

On Settings page, use constants for new Instant Purchase settings

Convert Instant Purchase Maximum setting into FormRow

Update wording of Instant Purchase option and add helper text.

Wording still not final.

On Settings page, get Instant Purchase settings via selector

Update CHANGELOG.md
2017-09-22 18:34:16 -04:00
Jeremy Kauffman
27448499dd update changelog 2017-09-22 18:11:55 -04:00
Jeremy Kauffman
7e9c8f2625 Merge pull request #587 from lbryio/show-local-channel
Show local file indicator on Channel page
2017-09-22 18:10:46 -04:00
Jeremy Kauffman
861241ca3a Merge branch 'icon-improvements' 2017-09-22 17:48:52 -04:00
Jeremy Kauffman
0a4e17af54 minor design changes 2017-09-22 17:48:35 -04:00
Alex Liebowitz
bbfb0fea67 Add <IconSet /> component
This is a presentational component for horizontal banks of icons (and
sometimes other stuff).

Convert <FileCard /> and <FileTile /> to use <IconSet />

Factor out "downloaded/published" icon into its own component

Add Featured Content icon to file tiles

Add alignment style for Featured Content icon

Update CHANGELOG.md

Handle featured content icon adjustment in _icons.scss

Remove IconSet component

Converted back to a presentational span and move positioning styles
into card SCSS

Fix spacing between price and icons in file tiles and cards

Before, it would be missing the space if there was a "local file" icon
but no featured content icon.

Rewrite Icon component to use semantic icons

Now you can pass in a constant that indicates the meaning of the icon
within the interface, e.g. icons.FEATURED instead of "icon-rocket".
Also adds the appropriate title.

All icons should eventually be updated to use this.

Remove IconFeatured and IconLocal in favor of new Icon component

Add space between Featured and Local icons

In the conversion to a generic Icon component, we lost the styles that
added padding on the left for FeaturedIcon and LocalIcon.

Fix how rocket icon position is adjusted

Before, it was using a negative margin, which altered the shape of the
bounding box. Changed to use relative positioning.

Add support for styling LBRY icons

Move style for Featured icon into icons.js

Uses new class name format for LBRY icon styles
2017-09-22 17:48:30 -04:00
Jeremy Kauffman
4ed7d2cba9 bad solution for #544 2017-09-21 21:12:18 -04:00
Baltazar Gomez
55f2a4c2cd Merge pull request #574 from lbryio/v16-scrollbar
Improve scrollbar ( UI / UX )
2017-09-21 10:48:53 -06:00
Baltazar Gomez
440d982690 Merge branch 'redesign' into v16-scrollbar 2017-09-21 10:48:29 -06:00
Baltazar Gomez
40ad276f1a Merge pull request #576 from lbryio/v16-tabs
Improve tabs ( UI / UX )
2017-09-21 10:44:10 -06:00
Alex Grintsvayg
326d76b561 we don't need the full gnome-keyring, just libsecret 2017-09-21 10:24:18 -04:00
Alex Grintsvayg
a2ef39a3cb forgot to changelog this 2017-09-21 09:31:02 -04:00
Alex Grintsvayg
dafe9bb87d add message about installing dependencies in build 2017-09-21 09:29:56 -04:00
Jeremy Kauffman
cba6a40394 Bump version: 0.16.0rc7 → 0.16.0 2017-09-21 09:26:32 -04:00
Alex Grin
054a548fc4 Merge pull request #558 from MSFTserver/patch-2
better (build.sh)
2017-09-21 09:23:43 -04:00
Alex Grintsvayg
dbd147f4d1 add gnome-keyring deb dependency. closes #386.
the rest of the `depends` are the defaults

see https://www.electron.build/configuration/deb for details
2017-09-21 08:50:05 -04:00
Jeremy Kauffman
a01b258f47 Bump version: 0.16.0rc6 → 0.16.0rc7 2017-09-20 15:45:57 -04:00
Jeremy Kauffman
cac00028c4 update invite reward check, fix infinite reward loop 2017-09-20 15:45:39 -04:00
Jeremy Kauffman
7b41c199b2 Bump version: 0.16.0rc5 → 0.16.0rc6 2017-09-20 15:27:44 -04:00
Jeremy Kauffman
6b87369bbe transaction value fix 2017-09-20 15:27:25 -04:00
Jeremy Kauffman
0f8e61982e Bump version: 0.16.0rc4 → 0.16.0rc5 2017-09-20 13:55:29 -04:00
Jeremy Kauffman
8690d8a414 update daemon to 0.16.1 proper 2017-09-20 13:55:10 -04:00
Jeremy Kauffman
3bb146244e Bump version: 0.16.0rc3 → 0.16.0rc4 2017-09-20 13:23:57 -04:00
Jeremy Kauffman
7b7a63b892 disable anything cost related other than direct content cost 2017-09-20 13:20:02 -04:00
Jeremy Kauffman
33c5158818 channel navigation fixes 2017-09-20 13:12:53 -04:00
Jeremy Kauffman
a22a773633 fix channel pagination 2017-09-20 10:57:43 -04:00
Jeremy Kauffman
16bc650d6a fix sign on some transaction outpoints 2017-09-20 10:39:51 -04:00
Jeremy Kauffman
2a15331e88 Bump version: 0.16.0rc2 → 0.16.0rc3 2017-09-20 09:43:59 -04:00
Jeremy Kauffman
13074fef0c no data is included 2017-09-20 09:43:49 -04:00
Jeremy Kauffman
4553418f98 remove dependency on lighthouse for size 2017-09-20 09:38:24 -04:00
Jeremy Kauffman
ef882b40b8 Bump version: 0.16.0rc1 → 0.16.0rc2 2017-09-20 08:47:55 -04:00
Jeremy Kauffman
2746627fb1 fix availability issue and restore open in folder 2017-09-20 08:47:16 -04:00
Alex Grin
47aec4efcf Merge pull request #567 from wallermadev/WD-Microsoft-Watch
Windows Watch Batch
2017-09-19 09:29:17 -04:00
Alex Liebowitz
d82f4c43a2 Show local file indicator on Channel page 2017-09-19 04:16:15 -04:00
Jeremy Kauffman
ae512ea68e update changelog 2017-09-18 18:17:01 -04:00
Jeremy Kauffman
c9d5e248aa Merge branch 'btzr/enter-key' 2017-09-18 18:16:18 -04:00
Jeremy Kauffman
cfcdbd48f1 add required prop type 2017-09-18 18:16:00 -04:00
btzr-io
b7b8851698 fix #542
implement submit component

fix weird behaviour in wallet send

prevent refresh on enter key

fix wallet send ->  submit handler

implement form component

fix conflicts

remove unused files

better submit handler

better validation for walletSend

prevent / remove missign parameters error (popup)

minor fix

minor fix for submit validation in walletSend
2017-09-18 18:10:20 -04:00
Jeremy Kauffman
abb83c17ed Bump version: 0.15.1 → 0.16.0rc1 2017-09-18 17:49:41 -04:00
Jeremy Kauffman
76352161a5 Merge branch 'v16' 2017-09-18 17:48:39 -04:00
Jeremy Kauffman
4866fa8b84 update to daemon v0.16.0 proper, fix bug on new publishes 2017-09-18 17:42:11 -04:00
Jeremy Kauffman
3e4aea3a15 lost theming in changelog 2017-09-17 22:14:48 -04:00
Jeremy Kauffman
2dfd071e16 cancel play on navigate away 2017-09-17 22:13:05 -04:00
Jeremy Kauffman
e741d5ee27 fix pending play issue introduced much earlier in branch 2017-09-17 22:08:43 -04:00
btzr-io
190523518d update dark-theme 2017-09-17 19:24:11 -06:00
Jeremy Kauffman
b5dc588e23 remove unused property 2017-09-17 21:03:44 -04:00
Jeremy Kauffman
65f65f1aea transaction refactor / cleanup / improvement 2017-09-17 20:52:57 -04:00
btzr-io
44e5698b1a update vars.scss 2017-09-17 18:46:44 -06:00
btzr-io
15216d0cad split tabs style from header 2017-09-17 18:27:50 -06:00
btzr-io
b49e5f3075 add better tab styles
add animation for active tab
2017-09-17 18:25:07 -06:00
btzr-io
1e2f8e643d update changelog 2017-09-17 14:34:39 -06:00
Jeremy Kauffman
f68136bd79 Merge branch 'v16-tip' into v16 2017-09-17 16:34:14 -04:00
Jeremy Kauffman
e9b48f0bd6 tip clean up and refactor 2017-09-17 16:33:52 -04:00
btzr-io
77536af503 add a better scrollbar style
now scrollbar don't affect navbar:

make it less annoying
2017-09-17 13:32:56 -06:00
Jeremy Kauffman
c05edc4042 clean up tip and search navigation 2017-09-17 14:26:55 -04:00
hackrush
ae81843c05 Additional tipping fixes/changes
- [x] Display empty message on empty filtered Tx list
- [ ] Tipping form has to stay open until success is detected(or closed
by user)
- [ ] Storing the older transaction list, and refreshing the new one in
the background.

Tip Box shown until valid Txn or manually cancelled

Cleanup of show tip box logic
2017-09-17 12:54:39 -04:00
Jeremy Kauffman
c3a9eee10a Fix multi-line URLs on cards 2017-09-17 12:43:18 -04:00
Jeremy Kauffman
f2116b21bb Merge branch 'v16-edit' into v16 2017-09-17 12:30:45 -04:00
btzr-io
f7367f5c6a tidy up edit / publish logic
edit claim by id

fix #553

display title and icon based on action:  edit / publish

tidy up

remove unused code
2017-09-17 12:30:21 -04:00
Jeremy Kauffman
e119533973 more progress but probably more breakage 2017-09-15 09:56:32 -04:00
Mat Waller
acdeafe6db Watch Batch
Batch file to provide node-sass/webpack watching for windows users.
2017-09-15 03:27:20 +01:00
Mat Waller
13f9352315 Merge pull request #566 from wallermadev/wallermadev-windowsbuild-guide
Adding Windows Build Instructions
2017-09-15 02:46:50 +01:00
Mat Waller
515d6b666a Merge pull request #1 from wallermadev/wallermadev-windowsbuild-guide
Adding Windows Build Instructions
2017-09-15 00:35:52 +01:00
Mat Waller
d8e4f0c49f Adding Windows Build Instructions
Adding guide on how to build for windows.
2017-09-15 00:34:55 +01:00
Jeremy Kauffman
5e56934b6b Merge pull request #562 from lbryio/btzr/icons
Fix #543
2017-09-14 14:46:18 -04:00
Baltazar Gomez
abcd8a2ba8 add missign icons - fix #543 2017-09-13 20:40:44 -06:00
MSFTserver
ebd0949ce2 better (build.sh)
better set -x wrappers for non-debugging everything and added a couple extra echos
2017-09-12 22:19:50 -07:00
Jeremy Kauffman
13d61651c9 Merge remote-tracking branch 'origin/master' into v16 2017-09-11 18:46:21 -04:00
Jeremy Kauffman
78db4b0671 Merge pull request #547 from gyroninja/master
Get the app directory via an absolute path instead of a relative one.
2017-09-11 18:23:44 -04:00
Jeremy Kauffman
5c56de8034 remove unused import 2017-09-11 18:23:17 -04:00
Alex Grin
7a29e93fbe Merge pull request #545 from MSFTserver/patch-2
added color to echo's to stand out more(build.sh)
2017-09-11 13:16:38 -04:00
gyroninja
716fc604f4 Get the app directory via an absolute path instead of a relative one. Fixes #516 2017-09-09 21:47:46 -07:00
MSFTserver
be44455b7a added color to echo's to stand out more 2017-09-08 23:46:26 -07:00
Jeremy Kauffman
9cb28e8f46 Bump version: 0.15.1rc2 → 0.15.1 2017-09-08 09:48:40 -04:00
Jeremy Kauffman
680bb1df9d make select and file actions refactor 2017-09-07 23:15:05 -04:00
Jeremy Kauffman
6ae6c8b736 Bump version: 0.15.1rc1 → 0.15.1rc2 2017-09-07 17:44:56 -04:00
Jeremy Kauffman
6e5cc922ba Bump version: 0.15.0 → 0.15.1rc1 2017-09-07 17:21:41 -04:00
Jeremy Kauffman
2e3ea9e2ae update daemon version 2017-09-07 17:21:23 -04:00
Jeremy Kauffman
bdf84b3dbd pausing during partial refactor 2017-09-07 17:18:33 -04:00
Jeremy Kauffman
ff12ff3d36 merge cleanup 2017-09-07 09:38:44 -04:00
Jeremy Kauffman
8b47b8e71d Merge branch 'file_edit' into v16 2017-09-07 08:28:07 -04:00
btzr-io
72d98767c6 add and use editClaim action 2017-09-07 08:27:48 -04:00
btzr-io
7766b6db28 improve submit label logic 2017-09-07 08:26:44 -04:00
btzr-io
a28b4b0c87 better label for submit button 2017-09-07 08:26:44 -04:00
btzr-io
dd5aada7ec fix for anonymous edit 2017-09-07 08:26:44 -04:00
Jeremy Kauffman
7a5f3c606d minor fixes 2017-09-07 08:26:44 -04:00
Jeremy Kauffman
86c7bda9c8 fix merge 2017-09-07 08:26:44 -04:00
btzr-io
61a83614ea remove debug for claimInfo 2017-09-07 08:26:44 -04:00
btzr-io
cde7008853 use source when no file_path is provided - fix #467 2017-09-07 08:26:44 -04:00
btzr-io
9f154ac6b7 revert last commit fa531e9 2017-09-07 08:26:44 -04:00
btzr-io
42cc8fdb52 simple fix for #467 2017-09-07 08:25:32 -04:00
btzr-io
2a09110d53 update rawName and channel on edit claim 2017-09-07 08:25:00 -04:00
btzr-io
b8cadad26b update message for use existing claim -> Edit existing claim 2017-09-07 08:25:00 -04:00
btzr-io
73d4f24a5f add edit-claim button 2017-09-07 08:25:00 -04:00
Baltazar Gomez
24e21271a7 Update CHANGELOG.md 2017-09-07 08:23:54 -04:00
Jeremy Kauffman
03c1d502b2 Merge branch 'hackrush01-tipping_button' into v16 2017-09-07 08:21:04 -04:00
Jeremy Kauffman
0a543a3dcd Merge branch 'tipping_button' of https://github.com/hackrush01/lbry-app into hackrush01-tipping_button 2017-09-07 08:20:23 -04:00
Jeremy Kauffman
4cc9f46934 more settings progress 2017-09-06 21:53:42 -04:00
Jeremy Kauffman
ad6b4f4f03 Merge branch 'btzr-io-master' into v16 2017-09-06 20:53:42 -04:00
Jeremy Kauffman
1019a94221 theme refactor and bug fix 2017-09-06 20:52:34 -04:00
Jeremy Kauffman
4d85f4c5f9 update daemon, fix icon path 2017-09-06 19:16:21 -04:00
Jeremy Kauffman
de69a7c76b further css cleanup, no dependency on themes folder existing 2017-09-06 18:34:11 -04:00
Jeremy Kauffman
67c1ec531e first attempt at merge 2017-09-06 18:03:09 -04:00
Jeremy Kauffman
cacaed401f update CHANGELOG 2017-09-06 16:21:33 -04:00
Jeremy Kauffman
eafd1c9143 potential fix for #536 2017-09-06 16:20:05 -04:00
Jeremy Kauffman
be95ebf916 update changelog 2017-09-06 15:06:43 -04:00
Jeremy Kauffman
b32f3cbafe default balance to undefined, fixes #534 2017-09-06 15:05:35 -04:00
Jeremy Kauffman
b8dd1fccbc refine help text 2017-09-06 14:58:04 -04:00
Jeremy Kauffman
0aaf4741da Merge branch 'check-address-valid' 2017-09-06 14:54:15 -04:00
Alex Liebowitz
de08c04158 Add regexp option to FormField
Still needs logic to notify the form when there's invalid input

Add address validation to Send page

Trim address input on Send page

Adds trim prop to FormField

Improve LBRY address regexp

On Send page, don't prevent form submit, and only show error on blur

This isn't a full fix (it only handles blur, it's still the form's
job to do validation on submit). A proper solution to this (that can
generalize to other forms) will probably involve looking at all of the
inputs and asking each one whether it has an error, which will
require some tricky state management.

On Send page, use error message from daemon

Update CHANGELOG.md

Further improve invalid address regexp

 - Remove incorrect check for second character
 - Add "O" to chars excluded from b58 section
 - Allow for 33-character addresses

Don't internationalize daemon error message on Send page

remove console, add i18n
2017-09-06 14:53:57 -04:00
hackrush
065d699a2d Small changes
Clicking support hides everything below fileActions
Title of form is Support now
One line helper sentence

Moved Tx related component to internal
Unfiltered -> Show All -> All
Claims -> Publishes
Fee below Amount(class meta)
Dropped Credits everywhere.
2017-09-05 00:32:26 +05:30
Jeremy Kauffman
38ed9985b7 Merge branch 'btzr/relative-time' 2017-09-03 12:35:49 -04:00
Jeremy Kauffman
2b77c16cdd add datetime component, show date of publishes, store block history in redux 2017-09-03 12:35:01 -04:00
Jeremy Kauffman
1916589553 clarify auth token is equivalent to a password 2017-09-03 11:29:59 -04:00
hackrush
f1bdb5e20d Removes inconsistencies in wallet.js and Insuff. Balance Modal 2017-09-02 23:32:13 +05:30
hackrush
7a328f185a Clickable claims and filter for tips 2017-09-02 23:20:40 +05:30
hackrush
5b96039b99 Transaction list now displays additional information
Removed older modal files
2017-09-02 21:06:27 +05:30
btzr-io
e76244b004 use a better date format 2017-09-01 22:52:51 -06:00
btzr-io
e5e0b2d79c Merge branch 'btzr/relative-time' of https://github.com/lbryio/lbry-app into btzr/relative-time 2017-09-01 22:00:58 -06:00
btzr-io
8c033d6fef display published date
Fix #59
2017-09-01 21:59:25 -06:00
Jeremy Kauffman
4c2143fda4 Merge pull request #520 from lbryio/ui_resize
Card row autoadjust on window resize and scroll arrow clipping css fix
2017-09-01 19:04:16 -04:00
hackrush
997c8930c1 Fixed the feature breaking change, I don't how I could have skipped this 2017-09-01 21:37:06 +05:30
hackrush
5b49915ff6 Merge branch 'master' into tipping_button 2017-09-01 14:02:35 +05:30
Akinwale Ariwodola
f0efcea3d5 added semicolons 2017-09-01 09:08:15 +01:00
Akinwale Ariwodola
b18391085b card row autoadjust on window resize and scroll arrow clipping css fix 2017-08-31 21:22:24 +01:00
Jeremy Kauffman
104f022fcc Bump version: 0.15.0rc5 → 0.15.0 2017-08-31 14:40:05 -04:00
Jeremy Kauffman
094a7995d2 add invite disclaimer text 2017-08-31 14:39:30 -04:00
Jeremy Kauffman
8a7cd863be Bump version: 0.15.0rc4 → 0.15.0rc5 2017-08-31 14:26:32 -04:00
Jeremy Kauffman
c06009f006 fix invite reward claim 2017-08-31 14:23:57 -04:00
Jeremy Kauffman
421f88a077 add console log for error alert so we can figure out what is happening 2017-08-31 14:10:37 -04:00
Josh Finer
cbee81730e Update view.jsx
Make YT copy more accurate
2017-08-31 11:09:53 -04:00
Jeremy Kauffman
d6c43df674 Bump version: 0.15.0rc3 → 0.15.0rc4 2017-08-31 09:38:39 -04:00
Jeremy Kauffman
02c55b50db fix yt url 2017-08-31 09:37:49 -04:00
Jeremy Kauffman
1f6366573c Bump version: 0.15.0rc2 → 0.15.0rc3 2017-08-31 09:13:19 -04:00
Jeremy Kauffman
e169737f5d fix spacing on last item of card grid 2017-08-31 09:12:11 -04:00
Jeremy Kauffman
73750bb18c Merge pull request #519 from lbryio/btzr/source
fix #467
2017-08-31 09:11:07 -04:00
Jeremy Kauffman
a9113369ef fix off by 1 error in navigation history 2017-08-31 08:59:29 -04:00
hackrush
b973524901 Fixed modals 2017-08-31 09:45:13 +05:30
Baltazar Gomez
91a9c43ef4 update changelog 2017-08-30 19:00:43 -06:00
Baltazar Gomez
ad4476dfd6 fix #467
Use source when no file_path is provided
2017-08-30 18:57:50 -06:00
Jeremy Kauffman
f12e3551e2 fix for #517, I think 2017-08-30 16:56:14 -04:00
Jeremy Kauffman
b9d3f024d9 Bump version: 0.15.0rc1 → 0.15.0rc2 2017-08-30 14:40:08 -04:00
Jeremy Kauffman
56c7561673 fix mis-merge of navigation fix 2017-08-30 14:39:20 -04:00
Jeremy Kauffman
e5f4796bc5 Bump version: 0.14.3 → 0.15.0rc1 2017-08-30 14:20:50 -04:00
Jeremy Kauffman
592cab3351 update changelog prior to release 2017-08-30 14:09:39 -04:00
Jeremy Kauffman
4b759412c1 fix imports, remove unused code 2017-08-30 13:57:42 -04:00
Jeremy Kauffman
f6976c3feb Merge branch 'history_fix' 2017-08-30 13:41:51 -04:00
Jeremy Kauffman
339945018d Fix bugs in history navigation in stack ordering and loss of scrolling
and refactor history
2017-08-30 13:40:51 -04:00
Jeremy Kauffman
7e23b62c7b CHANGELOG fix, remove settings, abstract interval setting 2017-08-30 12:43:35 -04:00
Jeremy Kauffman
a3af234e98 hack fix for build issue 2017-08-30 10:49:13 -04:00
Jeremy Kauffman
fa0d2b5b90 Merge branch 'invites_and_rewards' 2017-08-30 09:04:53 -04:00
Jeremy Kauffman
7cd24c850a fixes from code review 2017-08-30 09:04:38 -04:00
Jeremy Kauffman
1b87dd24fd do not attempt claim rewards when user is not approved 2017-08-30 09:04:38 -04:00
Jeremy Kauffman
2b29005d76 more verification copy tweaks
Fix Grammar
2017-08-30 09:04:36 -04:00
Jeremy Kauffman
c7522dc0a5 better?
merging is hard

releasable?
2017-08-29 17:42:11 -04:00
Jeremy Kauffman
2fb0bf4a14 invites for all 2017-08-29 17:42:11 -04:00
Jeremy Kauffman
b07682ef9d wallet changes
finish rebase
2017-08-29 17:42:09 -04:00
Jeremy Kauffman
8c012bc087 negative progress 2017-08-29 14:40:30 -04:00
Jeremy Kauffman
7b5e752e90 properly split welcome modal logic 2017-08-29 14:40:30 -04:00
Jeremy Kauffman
2013da3fac decent progress 2017-08-29 14:40:30 -04:00
Jeremy Kauffman
2b8296fcc3 rewards refactor to support types, add list 2017-08-29 14:40:30 -04:00
Jeremy Kauffman
31fb723d87 invites basics 2017-08-29 14:40:30 -04:00
Jeremy Kauffman
1cbc96533b refactor wallet area 2017-08-29 14:40:30 -04:00
hackrush
21175ba608 Merge remote-tracking branch 'upstream/master' into tb2 2017-08-29 13:21:23 +05:30
Jeremy Kauffman
6d6f70ed46 Merge branch 'btzr-io-patch-3' 2017-08-28 13:57:10 -04:00
Jeremy Kauffman
ed6c282572 add comment to clarify fix 2017-08-28 13:56:55 -04:00
Jeremy Kauffman
be6f93ac71 Merge branch 'patch-3' of https://github.com/btzr-io/lbry-app into btzr-io-patch-3 2017-08-28 13:47:07 -04:00
Jeremy Kauffman
8838029122 Merge branch 'hackrush01-regression-fix-501' 2017-08-28 11:54:00 -04:00
Jeremy Kauffman
e448f54a73 fix #460 try 783 2017-08-28 11:53:29 -04:00
Jeremy Kauffman
8fd9d64b7f fix #460 again again 2017-08-28 09:29:29 -04:00
Jeremy Kauffman
90c83c6239 fix #460 again 2017-08-28 09:25:53 -04:00
Baltazar Gomez
dec4fb893d update changelog 2017-08-27 19:20:09 -06:00
Baltazar Gomez
daabc1cf7e fix menu bug #503 2017-08-27 15:50:35 -06:00
hackrush
3f7391fc07 Fixed regression in #501 2017-08-27 10:37:54 +05:30
btzr-io
463d09256f tidy up _markdown-styles.scss 2017-08-26 14:50:02 -06:00
btzr-io
f6857313ad fix markdown-editor styles 2017-08-26 14:47:37 -06:00
btzr-io
55cd9123f2 fix export / import error 2017-08-26 13:04:44 -06:00
Jeremy Kauffman
fb2b37c4f1 Merge pull request #501 from hackrush01/channel-claimID-fix
Return proper URI when channel name is present.
2017-08-26 10:00:01 -04:00
hackrush
ebd7c66faa Changelog entry 2017-08-26 13:32:05 +05:30
hackrush
2c14eb77ac Return proper URI when channel name is present 2017-08-26 13:25:26 +05:30
Alex Grintsvayg
1f6b477d24 use test stripe token when connected to api on localhost 2017-08-25 16:49:27 -04:00
Jeremy Kauffman
010534cc16 kill utils.js, reduce (set|get)(Local|Session) to just lbry.js 2017-08-25 16:26:09 -04:00
Jeremy Kauffman
b49318aead Merge pull request #496 from lbryio/redux_volume
Issue #323 switch volume preference to use redux
2017-08-25 16:17:26 -04:00
Jeremy Kauffman
0a51067166 update changelog for #0c1be6e 2017-08-25 16:05:23 -04:00
Jeremy Kauffman
cb70fdb4b3 remove unused code 2017-08-25 16:04:05 -04:00
Jeremy Kauffman
0c1b36e1a6 Merge branch 'btzr-io-patch-8' 2017-08-25 16:03:40 -04:00
Baltazar Gomez
c03c0de0a2 Fix for #461
show full price on confirmation

don't format full price

smart format for full price
2017-08-25 16:03:29 -04:00
hackrush
57cc730f19 Removed useless css 2017-08-26 00:55:53 +05:30
Akinwale Ariwodola
faa1c4634b Issue #323 switch volume preference to use redux 2017-08-25 20:05:00 +01:00
hackrush
5ae8129084 Fix the Mega Breaking change 2017-08-26 00:11:31 +05:30
hackrush
e8c5ba5536 Tipping UI is rendered in FilePage 2017-08-25 23:33:33 +05:30
hackrush
0054723ed6 Added Fee column 2017-08-25 18:56:43 +05:30
Jeremy Kauffman
a31e064c3e fix pagination of channels 2017-08-24 17:12:32 -04:00
Alex Grintsvayg
7e6c55c605 no more token swapping 2017-08-24 15:07:16 -04:00
Baltazar Gomez
03b04ad9b0 Merge branch 'master' into master 2017-08-24 12:28:05 -06:00
Jeremy Kauffman
3de3dd2544 Merge branch 'i18n' 2017-08-24 13:43:16 -04:00
Jeremy Kauffman
68e0eb66d2 save setting, fix warning 2017-08-24 13:33:41 -04:00
btzr-io
4185f22cb2 update dark theme -> header color -> #ccc 2017-08-24 11:06:21 -06:00
btzr-io
8e7c783750 rewrite fallback for themes 2017-08-24 10:55:24 -06:00
btzr-io
c257691b57 move getThemes -> settings -> componentWillMount 2017-08-24 10:29:54 -06:00
btzr-io
8b8c9c9da9 fix settings constant 2017-08-24 10:14:30 -06:00
btzr-io
191b95cc2e load theme on /doDaemonReady 2017-08-24 10:11:39 -06:00
Akinwale Ariwodola
48b02567a0 fixed locale change bug 2017-08-23 00:50:59 +01:00
Jeremy Kauffman
6e61a9f73c further improvements to backup wallet content 2017-08-22 17:28:01 -04:00
btzr-io
a77a6495b0 tidy up themes 2017-08-21 20:43:14 -06:00
btzr-io
3c7f1761bb minor fixes for overall scss / themes 2017-08-21 20:23:38 -06:00
Alex Grin
918610263c Merge pull request #488 from lbryio/daemon_dl_skip
skip downloading the daemon if it exists and the version matches
2017-08-21 12:08:42 -04:00
Alex Grin
cd37c80b9a quotes 2017-08-21 12:06:56 -04:00
Akinwale Ariwodola
efd2b99cda modified doDownloadLanguages to use XMLHttpRequest instead of http.request 2017-08-21 16:03:51 +01:00
btzr-io
66af58940a tidy up dark theme 2017-08-20 12:13:17 -06:00
btzr-io
d8f71eba6d minor fix for dark theme 2017-08-20 11:07:26 -06:00
btzr-io
af46f8a73c remove unused constant 2017-08-20 09:52:09 -06:00
hackrush
a2cc9afe05 Displays additional fields in the transaction list 2017-08-20 15:21:57 +05:30
btzr-io
4ddecf2aaa implement dark theme 2017-08-19 23:58:03 -06:00
btzr-io
2db24b059f rewrite action -> doSetTheme 2017-08-19 17:59:48 -06:00
btzr-io
1233b2d4fd load initial theme 2017-08-19 16:03:40 -06:00
btzr-io
c87bcb8383 rewrite themes-system -> action / reducer 2017-08-19 15:34:45 -06:00
btzr-io
58496c1d3c init fix for last review 2017-08-19 13:04:45 -06:00
Jeremy Kauffman
cefc882474 more i18n progress 2017-08-19 14:03:51 -04:00
Akinwale Ariwodola
970539ffae fixed merge conflicts with latest master 2017-08-19 09:01:31 +01:00
btzr-io
3f3372c96a update overall scss structure
make styles more flexible / customizable
2017-08-18 22:33:01 -06:00
btzr-io
dccd52c7df fix broken style from form-field 2017-08-18 19:46:45 -06:00
btzr-io
198d44af66 minor fix for buttons style 2017-08-18 19:18:07 -06:00
btzr-io
509ff192cd fix for card style 2017-08-18 19:09:45 -06:00
btzr-io
95f68cbda8 fix load screen styles 2017-08-18 18:42:45 -06:00
btzr-io
6455f49956 minor fix for broken styles / animation 2017-08-18 18:06:53 -06:00
btzr-io
5a9fdcdd26 import css vars 2017-08-18 17:35:52 -06:00
btzr-io
1e465d80b1 add missing colors 2017-08-18 17:25:35 -06:00
Baltazar Gomez
d2c735717c Merge branch 'master' into master 2017-08-18 15:54:18 -06:00
Jeremy Kauffman
5bec6accc2 mostly done
refactor modals and settings, clean-up CHANGELOG
2017-08-18 17:47:30 -04:00
Alex Grin
2018bfb2f2 Merge pull request #483 from lbryio/setup-update
update setup
2017-08-18 16:00:45 -04:00
Jeremy Kauffman
5a92bf79f9 restore changelog line 2017-08-18 13:19:26 -04:00
Jeremy Kauffman
bcf86dfc16 Merge remote-tracking branch 'origin/history' 2017-08-18 13:18:44 -04:00
btzr-io
079eca8790 update disable opacity -> 0.5 2017-08-18 13:18:18 -04:00
Baltazar Gomez
9d02df5446 prevent duplicated history / get history length
implement custom history

fix history back / forward actions

fix react error

fix back / forward actions -> use doChangePath

revert history state

return page index / location from history stack

implement custom history -> react/redux style

remove util/createHistory.js

 tidy up / simplify

fix comments
2017-08-18 13:18:15 -04:00
6ea86b96
5df497182e Working on history fix 2017-08-18 13:18:15 -04:00
Jeremy Kauffman
22fbf13715 attempt to disable back/forward buttons 2017-08-18 13:18:15 -04:00
Baltazar Gomez
86b4f8e82c add forward button
add forward history

diseable conditionals

fix last  commit

update CHANGELOG.md
2017-08-18 13:18:03 -04:00
btzr-io
9bf654e05f init migration to css vars 2017-08-17 23:37:35 -06:00
Baltazar Gomez
ba35ac81aa Merge branch 'master' into master 2017-08-17 22:45:08 -06:00
Thomas Zarebczan
2735b647a9 update setup
-add node /nvm link
-add keytar/libsecret
-add yarn

Feel free to adjust directions/wording
2017-08-17 13:04:04 -04:00
Jeremy Kauffman
7cf491c050 update packages and fix build warnigs 2017-08-15 23:02:16 -04:00
Jeremy Kauffman
9b6ae50c51 skip downloading the daemon if it exists and the version matches 2017-08-15 22:15:03 -04:00
Jeremy Kauffman
23601a3e48 add changelog entry for daemon update 2017-08-15 19:36:45 -04:00
Jeremy Kauffman
a21eaf0f57 Merge branch 'hackrush01-wallet_bckp_help' 2017-08-15 17:43:05 -04:00
Jeremy Kauffman
622f1aaa37 backup help 2017-08-15 17:42:48 -04:00
hackrush
aefda6398b Added wallet backup guide referance.
It also displays the current wallet path so user doesn't have to "go
places"

Could use a different/better msg though, this was more of a place
holder.
2017-08-15 17:20:38 -04:00
Jeremy Kauffman
be8c115fd5 remove unused assets 2017-08-15 17:15:47 -04:00
Jeremy Kauffman
d5f6ecee70 update daemon to 0.15 2017-08-15 17:04:09 -04:00
Akinwale Ariwodola
4ea5e8b937 removed unused action types 2017-08-15 15:59:38 +01:00
Jeremy Kauffman
17f25cb45d add changelog for previous fix 2017-08-14 14:56:45 -04:00
Jeremy Kauffman
1f9cbeb0ff Merge pull request #472 from hackrush01/claims_fix
Fix for broken published links in published tab
2017-08-14 14:55:44 -04:00
hackrush
a6c53e6505 Fix for broken published links in published tab 2017-08-15 00:19:33 +05:30
hackrush
de40578608 Passing params directly w/o using redux store 2017-08-14 15:13:40 +05:30
Akinwale Ariwodola
fe5ba7cb9e updated doDownloadLanguages to use the app.i18n.directory property instead of 'app/locales' string 2017-08-13 13:28:18 +01:00
btzr-io
71ad127f0e move vars -> _vars.scss 2017-08-12 23:37:33 -06:00
btzr-io
a655bdd1d6 init css vars implementation 2017-08-12 23:03:15 -06:00
btzr-io
f5e69c57d2 load all.css from index.html 2017-08-12 20:24:53 -06:00
btzr-io
fa1ba091a3 revert ui/watch.sh 2017-08-12 20:18:55 -06:00
btzr-io
02091861af revert build 2017-08-12 20:12:37 -06:00
btzr-io
01e82bba1c remove external theme dependency 2017-08-12 20:04:25 -06:00
btzr-io
a71426b119 remove compiled css 2017-08-12 19:57:02 -06:00
Jeremy Kauffman
8598eab3b3 drop hard minimum checks 2017-08-12 18:21:53 -04:00
Baltazar Gomez
eac8b345d9 Show minimum LBC deposit amounts for Publish / Claims
set min bid for channel creation

remove unused function handleCreateChannelClick

lbryio/lbry-app#440

display claim min-bid

get bids from function

add better message error

prevent negative value in WalletSend > input
2017-08-12 18:21:52 -04:00
Jeremy Kauffman
91c041cfd8 will jeremy ever learn to not merge PRs by inspection? probably not 2017-08-12 16:30:44 -04:00
Jeremy Kauffman
517d585b1a add changelog for last change 2017-08-12 16:24:21 -04:00
Jeremy Kauffman
ef4435954a replace confusing placeholder email text 2017-08-12 16:24:21 -04:00
btzr-io
8a416856e3 load light theme as fallback 2017-08-12 13:51:16 -06:00
Jeremy Kauffman
fe71355ecf Merge pull request #471 from btzr-io/patch-6
Prevent negative value in WalletSend bid input
2017-08-12 15:38:27 -04:00
btzr-io
c9c50349b8 implement initial fallback for missing theme
load last theme selected
2017-08-12 12:46:10 -06:00
Baltazar Gomez
ec5709d9ed prevent negative value in WalletSend > input 2017-08-12 11:39:51 -06:00
Jeremy Kauffman
db2ada9ec4 Merge pull request #459 from aayanl/patch-1
Update bid input field in view.jsx to not go past 0
2017-08-12 13:13:59 -04:00
Jeremy Kauffman
6b2919892a Merge pull request #470 from lbryio/dont-bump-daemon-ver
Configure bumpversion to avoid modifying daemon version in package.json
2017-08-12 12:34:25 -04:00
btzr-io
beffda09bd update CHANGELOG.md 2017-08-11 17:29:35 -06:00
Alex Liebowitz
130dfd7a0a Configure bumpversion to avoid modifying daemon version in package.json
Before, it was matching *any* instance of the current app version
string, so if the daemon version configured in app/package.json
happened to match the app version, it would get bumped.

This updates the bumpversion config to only update the line containing
the package version itself.
2017-08-11 00:16:57 -05:00
Jeremy Kauffman
05783db1ba set precision to 2, improve rendering of amounts below precision 2017-08-10 23:03:28 -04:00
Baltazar Gomez
da497aeaf3 init fix for #461
use `===` instead of `==`

don't format prices

increase price precision
2017-08-10 23:03:28 -04:00
Jeremy Kauffman
ce0dd5ae62 Merge pull request #469 from lbryio/build-fixes
Fix build and release system to store all daemon version settings in app/package.json
2017-08-10 22:47:41 -04:00
Jeremy Kauffman
a32e0de939 Merge pull request #464 from hackrush01/publish_quickfix
(quickfix) Check for required fields during publishing
2017-08-10 22:41:47 -04:00
Jeremy Kauffman
1c0d681d8f Merge branch 'master' into publish_quickfix 2017-08-10 22:41:33 -04:00
Alex Liebowitz
cce5b3a8fb Update build.sh to build URL from new lbrynetDaemonVersion setting 2017-08-10 21:10:11 -05:00
Alex Liebowitz
d55c365997 Remove DAEMON_URL file
Functionality is now fully replaced by settings in package.json
2017-08-10 19:12:55 -05:00
Alex Liebowitz
b434fb3b9b Convert release.py to get daemon version and URL from package.json
Before, it was using the old DAEMON_URL file, which no longer exists.
2017-08-10 19:10:49 -05:00
Alex Liebowitz
6769b9eeb6 Update Windows build script to build daemon URL from package.json
Before, it was using the DAEMON_URL file, which no longer exists.
2017-08-10 19:10:04 -05:00
Jeremy Kauffman
956500fb07 update changelog 2017-08-10 19:56:25 -04:00
Alex Liebowitz
7384c2be99 Update package.json to include daemon URL template 2017-08-10 18:53:57 -05:00
Jeremy Kauffman
577760ca82 Merge pull request #458 from btzr-io/patch-4
Fix pagination break
2017-08-10 19:50:20 -04:00
Jeremy Kauffman
7c5677f915 Merge pull request #457 from btzr-io/patch-3
Fix video width
2017-08-10 18:49:07 -04:00
hackrush
bd11952d41 Check for required fields during publishing 2017-08-10 02:33:06 +05:30
Procrastinator
dcf5844ff6 Update view.jsx 2017-08-09 12:07:49 -04:00
btzr-io
4f2039368b prevent regression #295 2017-08-09 09:28:54 -06:00
btzr-io
504a4fe0b9 add pagination break style 2017-08-08 22:31:56 -06:00
Baltazar Gomez
6842d844de add class for pagination break 2017-08-08 22:16:25 -06:00
Baltazar Gomez
88f6f985e2 fix #419 2017-08-08 19:35:47 -06:00
Akinwale Ariwodola
66287079e7 removed unused code 2017-08-08 14:33:21 +01:00
Akinwale Ariwodola
d591886df5 reduxify pull request 325 2017-08-08 10:36:14 +01:00
Jeremy Kauffman
5aa28433bf Merge pull request #449 from hackrush01/price_form2
Using setState in formFieldPrice
2017-08-07 18:46:30 -04:00
hackrush
03ee864af0 (WIP) Tip as support Functionality Only. 2017-08-08 03:56:43 +05:30
hackrush
4d60f96b85 The form now displays a help message. 2017-08-08 03:49:22 +05:30
hackrush
a701011245 Removed useless passing of claim arg in filePage 2017-08-08 03:49:22 +05:30
hackrush
7ce5d596b8 Displays snackBar for any successful trasaction.
Also, minor changes to tip form css, to increase gap between select box
and tip button.
2017-08-08 03:49:22 +05:30
hackrush
ba6d093d1c Added new component form for price, also only tipping form is shown when
clicked.
2017-08-08 03:49:22 +05:30
hackrush
b8b3a6ffd2 Changed modals to use constants. 2017-08-08 03:49:22 +05:30
hackrush
a74d61d685 Added tip related code in different file. 2017-08-08 03:49:22 +05:30
hackrush
f54f8a4e10 Testing with tip link in different file. 2017-08-08 03:49:22 +05:30
hackrush
f403260598 (WIP) Adds tipping feature to app.
For issue #355
2017-08-08 03:49:22 +05:30
Jeremy Kauffman
b8902599c5 Merge pull request #448 from lbryio/fix-back-removing-claimid
Stop the back function removing the claim_id from the URI
2017-08-07 16:42:26 -04:00
hackrush
05c38ec575 Using setState in formFieldPrice 2017-08-07 21:47:54 +05:30
6ea86b96
7572c9a051 Stop the back function removing the claim_id from the URI 2017-08-07 20:07:39 +07:00
Jeremy Kauffman
57057ab6f2 Merge pull request #447 from hackrush01/price_form2
Showing "other currency" help tip in publish form now works.
2017-08-07 09:06:11 -04:00
btzr-io
c4b8b0ff00 load dark theme 2017-08-06 22:57:14 -06:00
btzr-io
0873cb76b0 fix react warning 2017-08-06 21:01:10 -06:00
btzr-io
8d1c3531b7 update build
all.scss > themes/light.css
2017-08-06 20:23:52 -06:00
hackrush
6ab77b5324 Showing "other currency" help tip in publish form now works.
Also removed old commit's(9c3d633) unused files.
2017-08-07 07:51:20 +05:30
Baltazar Gomez
da92061ee9 Merge branch 'master' into master 2017-08-06 18:58:50 -06:00
btzr-io
694f02dc59 implement getThemes action 2017-08-06 18:55:31 -06:00
Jeremy Kauffman
f395d7153a try to open the file's folder if open fails 2017-08-06 19:18:38 -04:00
Jeremy Kauffman
a299ca2ddd significant additional form changes and cleanup 2017-08-06 18:27:37 -04:00
hackrush
9c3d63353d Created a more generic PriceForm component
- [ ] Fixes #426

Modifying form to use single onChange event.

ONLY MEANT FOR TESTING, NOT MERGING.
2017-08-06 18:27:08 -04:00
btzr-io
b7781f0e40 fix var names 2017-08-06 12:17:16 -06:00
Jeremy Kauffman
06979f1a19 add changelog for blur fix 2017-08-06 10:52:27 -04:00
Jeremy Kauffman
51622ac2f1 Merge pull request #413 from akinwale/ui-blur
Fix for blurry text and image on hover
2017-08-06 10:49:54 -04:00
Akinwale Ariwodola
60e0f24b58 removed unused code 2017-08-05 06:21:36 +01:00
Akinwale Ariwodola
fb07adb73c additional css tweaks to fix blurry text 2017-08-05 06:02:49 +01:00
btzr-io
8b7bb67354 add themes folder 2017-08-04 21:07:07 -06:00
btzr-io
9eec9fae1a tidy up 2017-08-04 20:18:18 -06:00
btzr-io
4bbab4befc set default theme 2017-08-04 20:11:07 -06:00
btzr-io
977d116f40 remove debug 2017-08-04 19:42:38 -06:00
btzr-io
5bf9ac9fe6 implement theme-system 2017-08-04 19:36:36 -06:00
Jeremy Kauffman
443ab0b804 Bump version: 0.14.3rc3 → 0.14.3 2017-08-03 15:08:46 -04:00
Jeremy Kauffman
7e6bce1ab2 Bump version: 0.14.3rc2 → 0.14.3rc3 2017-08-03 12:19:36 -04:00
Jeremy Kauffman
da8ed48fa7 cache auth token to prevent race condition on set 2017-08-03 12:15:52 -04:00
Jeremy Kauffman
cae8e3701f update app description 2017-08-03 11:30:46 -04:00
Jeremy Kauffman
ef0a0883cb Bump version: 0.14.3rc1 → 0.14.3rc2 2017-08-03 08:38:11 -04:00
Jeremy Kauffman
32a640b6dd fix daemon version 2017-08-03 08:37:46 -04:00
Jeremy Kauffman
7dbcb4de88 Bump version: 0.14.2 → 0.14.3rc1 2017-08-02 19:38:27 -04:00
Jeremy Kauffman
6304d6b4b9 improve confirm identity flow 2017-08-02 19:37:38 -04:00
Jeremy Kauffman
e39afb3a59 fix case of null user in auth 2017-08-02 19:17:28 -04:00
Jeremy Kauffman
a83aee1452 flow for failed authentication 2017-08-02 18:55:58 -04:00
Jeremy Kauffman
7b5f43eb77 add missing changelog entries 2017-08-02 13:46:17 -04:00
Jeremy Kauffman
cec789b983 make featured content icon a rocket ship 2017-08-02 13:43:58 -04:00
Jeremy Kauffman
c2c910ba9f Merge pull request #411 from hackrush01/quickfix
(quickfix) Now displays quit button in IncompatibleDaemonModal.
2017-08-01 09:23:57 -04:00
Akinwale Ariwodola
b1920cfaf2 Fix for blurry text and image on hover 2017-07-31 20:45:15 +01:00
hackrush
50d7b3ab70 (quickfix) Now displays quit button in IncompatibleDaemonModal.
Also display a Learn More link pointing to the appropriate faq.
2017-07-31 10:19:56 +05:30
Jeremy Kauffman
af34bdfff1 Add tooltips to header buttons, fixes #401 2017-07-30 17:24:46 -04:00
Jeremy Kauffman
72340475e3 Merge pull request #407 from akinwale/blocks-behind-grammar
Simple fix for cases where the status is 1 block behind
2017-07-30 16:29:41 -04:00
Jeremy Kauffman
fde0956959 Bump version: 0.14.2rc1 → 0.14.2 2017-07-30 16:06:55 -04:00
Jeremy Kauffman
a99657328f Bump version: 0.14.1 → 0.14.2rc1 2017-07-30 16:06:29 -04:00
Jeremy Kauffman
ae296b3111 update changelog 2017-07-30 16:05:41 -04:00
Jeremy Kauffman
99c13f6444 reset downloading state on get fail 2017-07-30 15:57:42 -04:00
Jeremy Kauffman
64bebd9321 do not block play button on cost info 2017-07-30 15:57:22 -04:00
Jeremy Kauffman
8acccafe19 fix handling and display of errors on get API call 2017-07-30 15:37:44 -04:00
Jeremy Kauffman
0a32ff1735 fix error signature not detected by jsonrpc 2017-07-30 15:20:54 -04:00
Jeremy Kauffman
d58990f240 fix incorrect file_list responses 2017-07-30 15:20:36 -04:00
Jeremy Kauffman
f4bdabd5d8 fix clicking play twice required on most videos 2017-07-30 13:57:21 -04:00
Akinwale Ariwodola
7aa69d4897 simple fix for cases where the status is 1 block behind 2017-07-30 16:27:50 +01:00
Jeremy Kauffman
cd7e780465 Merge branch 'notify-hot-right-now' 2017-07-29 18:56:36 -04:00
Jeremy Kauffman
b6d3a52f5d featured icon for reward content 2017-07-29 18:56:08 -04:00
Alex Liebowitz
230d2a451c Indicate content eligible for Hot Right Now reward 2017-07-29 17:54:05 -04:00
Jeremy Kauffman
1f588ff923 improve first run feedback 2017-07-29 17:52:32 -04:00
Jeremy Kauffman
f226b19b65 Merge branch 'infinite-scroll' 2017-07-29 15:35:40 -04:00
Jeremy Kauffman
16c2eb9479 pagination styles 2017-07-29 15:35:16 -04:00
6ea86b96
d7ceeb15cf Add pagination
Some bad pagination CSS
2017-07-29 15:35:14 -04:00
Jeremy Kauffman
e3b17ef32f fix hovering of rightmost card 2017-07-29 14:34:02 -04:00
Jeremy Kauffman
00f2413597 some css cleanup 2017-07-29 14:14:09 -04:00
Akinwale Ariwodola
a76afb0253 discover page horizontal scroll initial progress
added translate3d transform for card hover and sibling cards

implemented simple horizontal scroll animation

updated header z-index

switched z-index of cards on hover with horizontal left/right nav buttons

removed unnecessary code

added transition and states for horizontal scroll arrows, and some css tweaks and fixes
2017-07-29 14:14:09 -04:00
Jeremy Kauffman
47a5f6a442 Merge pull request #399 from akinwale/issue255-css
Issue #255 purchase confirmation dialog css fix
2017-07-29 13:00:07 -04:00
Jeremy Kauffman
0451967883 Add missing semi-colon 2017-07-29 12:59:47 -04:00
Jeremy Kauffman
778c73cf33 add link to auth flow to exit 2017-07-29 12:58:31 -04:00
Jeremy Kauffman
2a0d9a0d08 Bump version: 0.14.1rc1 → 0.14.1 2017-07-28 19:31:48 -04:00
Jeremy Kauffman
ddb2c534cd Bump version: 0.14.0 → 0.14.1rc1 2017-07-28 19:31:31 -04:00
Jeremy Kauffman
022e7f808b fix upgrade file path missing name 2017-07-28 19:31:10 -04:00
Jeremy Kauffman
aa2e345999 Bump version: 0.14.0rc4 → 0.14.0 2017-07-28 17:31:14 -04:00
Akinwale Ariwodola
a8ca574eb3 Issue #255 modal dialog css fix 2017-07-28 21:36:39 +01:00
Jeremy Kauffman
fcf8ba97ac Bump version: 0.14.0rc3 → 0.14.0rc4 2017-07-27 21:13:47 -04:00
Jeremy Kauffman
687321d91b rework welcome flow and copy again 2017-07-27 21:13:12 -04:00
Jeremy Kauffman
152da72fc9 Merge pull request #395 from lbryio/reload-hash-bug
Fix a bug where refreshing strips the claim_id from the uri
2017-07-27 18:02:12 -04:00
Jeremy Kauffman
6b1bd038b4 Bump version: 0.14.0rc2 → 0.14.0rc3 2017-07-27 14:43:04 -04:00
Jeremy Kauffman
ad73e6f1ae add zip code 2017-07-27 14:42:43 -04:00
6ea86b96
603217f554 Fix a bug where refreshing strips the claim_id from the uri 2017-07-27 11:45:34 +07:00
Jeremy Kauffman
2a07aa4916 more changelog cleanup 2017-07-26 16:49:45 -04:00
Jeremy Kauffman
658e88a467 Bump version: 0.14.0rc1 → 0.14.0rc2 2017-07-26 16:46:46 -04:00
Jeremy Kauffman
c972230df4 Merge pull request #388 from lbryio/file-actions-fix
Quick fix to stop an infinite loop
2017-07-26 07:36:57 -04:00
Jeremy Kauffman
e68fbc99b9 Merge pull request #387 from lbryio/settings-fix
Settings fix
2017-07-26 07:36:06 -04:00
6ea86b96
12e0d99a95 Quick fix to stop an infinite loop 2017-07-26 15:44:05 +07:00
6ea86b96
6eb9c5cc66 Stop app blowing up on refresh on settings page 2017-07-26 15:20:18 +07:00
6ea86b96
4f068afa98 Remove old commented code in settings/view 2017-07-26 15:17:39 +07:00
Jeremy Kauffman
1ccd03ea59 fix typo in file_info reducer 2017-07-25 16:41:21 -04:00
Jeremy Kauffman
a3ce714af1 Bump version: 0.13.0 → 0.14.0rc1 2017-07-25 15:20:47 -04:00
Jeremy Kauffman
edb9ad3f01 simplify config 2017-07-25 14:59:47 -04:00
Jeremy Kauffman
85468c350c minor flow tweak for grandfathered users 2017-07-25 14:34:28 -04:00
Jeremy Kauffman
6e08fd6888 I think DAEMON_URL can't die yet 2017-07-25 14:06:36 -04:00
Jeremy Kauffman
c0afe22d7f update daemon and changelog 2017-07-25 13:09:22 -04:00
Jeremy Kauffman
a2b8bb4828 Merge pull request #383 from lbryio/better-download-fix
Restart download monitoring in redux for pending downloads after restart
2017-07-25 10:24:59 -04:00
Jeremy Kauffman
0d4218d6f9 Merge pull request #324 from hackrush01/hackrush
Added max_key_fee setting
2017-07-25 10:10:19 -04:00
Jeremy Kauffman
deefd9c824 Merge branch 'master' into hackrush 2017-07-25 10:10:05 -04:00
Jeremy Kauffman
47734955d5 update labels and help copy 2017-07-25 10:07:17 -04:00
6ea86b96
1f9fc456d3 Restart download monitoring in redux for pending downloads after
restart
2017-07-25 15:45:21 +07:00
Jeremy Kauffman
c202ad93ea Merge branch 'rewards3' 2017-07-24 19:02:33 -04:00
Jeremy Kauffman
29553bc391 auth flow fixes 2017-07-24 18:59:26 -04:00
Jeremy Kauffman
9bb618e3af Merge remote-tracking branch 'origin/master' into rewards3 2017-07-24 18:16:07 -04:00
Jeremy Kauffman
551f67bdaa remove bandwidth settings 2017-07-24 18:15:51 -04:00
Jeremy Kauffman
ac34faea80 Merge remote-tracking branch 'origin/master' into rewards3 2017-07-24 18:09:37 -04:00
hackrush
0f4bc36bcd The URL name is automatically suggested.
Fixes #347

minor clean up
2017-07-24 17:56:18 -04:00
Jeremy Kauffman
fdc68684ed Merge pull request #380 from lbryio/refresh-fix
Fix refresh regression after adding scroll position to history state
2017-07-24 17:31:24 -04:00
Jeremy Kauffman
e6b28e55f6 Merge branch 'master' into refresh-fix 2017-07-24 17:31:12 -04:00
Jeremy Kauffman
276aa5c27e Merge pull request #381 from lbryio/no-progress-downloads
Display the download button for files that are not downloading and have 0 progress
2017-07-24 17:30:42 -04:00
Alex Grintsvayg
6f65ab1c70 Merge branch 'new-cert'
* new-cert:
  rotate windows signing cert
2017-07-24 16:29:53 -04:00
Alex Grintsvayg
9f99fa42fe rotate windows signing cert 2017-07-24 16:10:57 -04:00
6ea86b96
4745088eff Display the download button for files that are not downloading and have
0 progress
2017-07-25 00:37:57 +07:00
Alex Grintsvayg
7ea5c615bd remove confusing placeholder, add prompt to check email for code 2017-07-24 09:03:55 -04:00
6ea86b96
7671787a63 Fix refresh after scrolly history changes 2017-07-23 15:53:24 +07:00
Jeremy Kauffman
6967059c7e Merge pull request #370 from lbryio/downloading-by-outpoint
Track downloading files by outpoint
2017-07-22 19:07:14 -04:00
6ea86b96
e7daf42e99 CHANGELOG 2017-07-22 10:54:15 +07:00
6ea86b96
af96d40ead Remove files from downloading list when they are deleted mid download 2017-07-22 10:54:15 +07:00
6ea86b96
b99d58c3f9 Track downloading files by outpoint 2017-07-22 10:54:15 +07:00
Jeremy Kauffman
5ea4bffe9d production key 2017-07-21 18:13:13 -04:00
Jeremy Kauffman
343fadb462 fix modal showing for existing users, fix previous merge, remove console 2017-07-21 18:06:39 -04:00
Jeremy Kauffman
c67fe5aae6 update to master 2017-07-21 17:45:37 -04:00
Jeremy Kauffman
82b6e3af07 Merge pull request #369 from lbryio/access-token
Add access token to help page
2017-07-21 17:31:30 -04:00
6ea86b96
cad678417e Add access token to help page 2017-07-21 17:29:01 -04:00
Jeremy Kauffman
4047c99059 Merge pull request #371 from lbryio/fixes
A couple of little fixes
2017-07-21 17:12:25 -04:00
6ea86b96
c8990a0f79 changelog 2017-07-21 16:04:36 +07:00
6ea86b96
76a99cc576 Add a loading file info message. 2017-07-21 16:02:03 +07:00
6ea86b96
63daf5d282 Use toQueryString from util/query_params in app actions 2017-07-21 16:02:03 +07:00
Jeremy Kauffman
57a56c5313 remove unused logic 2017-07-20 17:35:56 -04:00
Jeremy Kauffman
8313d06346 add missing reward text 2017-07-20 15:37:25 -04:00
Jeremy Kauffman
ed2cbc0555 minor cleanup, update api field name 2017-07-20 15:03:01 -04:00
Jeremy Kauffman
c2a611f11c more user flow improvements, possibly ready 2017-07-19 21:07:17 -04:00
Jeremy Kauffman
4886f1a81a Merge branch 'akinwale-ui-discover-cards' 2017-07-19 18:13:40 -04:00
Jeremy Kauffman
53168074e0 tweak styling 2017-07-19 18:13:19 -04:00
Jeremy Kauffman
9e1b78c044 Merge branch 'ui-discover-cards' of https://github.com/akinwale/lbry-app into akinwale-ui-discover-cards 2017-07-19 17:57:08 -04:00
Jeremy Kauffman
38fd451e72 add startup daemon version check, refactor daemon versioning to package.json 2017-07-19 17:05:08 -04:00
Jeremy Kauffman
5aa471a68f Merge branch 'text-channels' 2017-07-19 11:25:58 -04:00
reillysmith
aff019bf56 clearer language
extended tool tip and changed identity to channel
2017-07-19 11:25:52 -04:00
Jeremy Kauffman
4632c4f919 update publish content url help text 2017-07-19 11:23:32 -04:00
Jeremy Kauffman
48cf23864b Merge pull request #365 from lbryio/scroll-back
Retain scrollY when navigating back using the History API
2017-07-19 11:10:54 -04:00
Jeremy Kauffman
d7fdaa08e2 more progress 2017-07-19 11:09:40 -04:00
6ea86b96
739bf6adf5 Use history API to retain scrollY when navigating back 2017-07-19 16:20:51 +07:00
6ea86b96
a7c4df9393 Revert "Merge pull request #331 from akinwale/issue312"
This reverts commit a83b695602, reversing
changes made to 1d01dc8303.
2017-07-19 15:36:22 +07:00
Jeremy Kauffman
a63222c7dd remove test code 2017-07-18 19:00:55 -04:00
Jeremy Kauffman
ab9150fb27 end-to-end barebones 2017-07-18 19:00:13 -04:00
Jeremy Kauffman
a83b695602 Merge pull request #331 from akinwale/issue312
Issue #312 home page scroll position on back navigation
2017-07-18 14:32:53 -04:00
Jeremy Kauffman
1d01dc8303 Merge pull request #358 from lbryio/publishing-fix
Publishing fix
2017-07-18 08:51:14 -04:00
6ea86b96
5290311b42 Update CHANGELOG 2017-07-18 13:55:20 +07:00
6ea86b96
969bc0bcbe Fix hiding new channel fields on publish form 2017-07-18 13:55:20 +07:00
6ea86b96
95c5ddbfda Fix hiding price input when free is checked on publish form 2017-07-18 13:45:00 +07:00
Akinwale Ariwodola
0854fb7004 Discover page UI tweaks 2017-07-17 15:50:07 +01:00
Jeremy Kauffman
16abedbf3a moderate progress 2017-07-16 12:29:46 -04:00
Jeremy Kauffman
c5c7dbbdee Merge pull request #352 from hackrush01/quickfix_nsfw_cards
A quick fix for oscuring cards for nsfw content.
2017-07-16 10:00:58 -04:00
hackrush
d07a0bd8ad A quick fix for oscuring cards for nsfw content.
The download cards in page were not obscured when opening a link
directly(e.g. lbry://jacki2).
2017-07-16 15:35:57 +05:30
Jeremy Kauffman
b3de4ceee9 beginnings of new flow 2017-07-15 15:25:39 -04:00
Jeremy Kauffman
902b7f203c cleanup previous commit 2017-07-15 15:24:57 -04:00
Jeremy Kauffman
a7195d12e1 discover page vertical jumping fix 2017-07-15 15:15:17 -04:00
Jeremy Kauffman
25098bfab8 upgrade daemon 2017-07-14 17:41:49 -04:00
Jeremy Kauffman
e918e9b17d fix search bug and update changelog 2017-07-14 15:34:53 -04:00
Akinwale Ariwodola
f1b0c272cb CardMedia component 2017-07-14 00:18:28 +01:00
Akinwale Ariwodola
187ac405fe Modified to use redux store and return to previous scroll position only upon back navigation 2017-07-13 16:32:32 +01:00
Jeremy Kauffman
2dbca1533f Merge pull request #346 from lbryio/publishing2
Publishing Take 2
2017-07-13 10:19:51 -04:00
Jeremy Kauffman
3950f7e9b2 fix import case 2017-07-13 10:19:27 -04:00
6ea86b96
d1eb8f5de3 Stop old file infos from updated claims appearing in downloaded file list 2017-07-13 13:52:48 +07:00
6ea86b96
0419399dec Disable markdown editor side-by-side mode 2017-07-13 13:52:48 +07:00
6ea86b96
cd9fcf550a Remove console.log 2017-07-13 13:52:48 +07:00
6ea86b96
5e6d790bb3 Drop notice component 2017-07-13 13:52:48 +07:00
6ea86b96
103e4302d4 Disable publish button if bid is too low 2017-07-13 13:52:48 +07:00
6ea86b96
f1c45775ab Cleaner way of filtering published claims while abandoning 2017-07-13 13:52:48 +07:00
6ea86b96
d0e3dd8f99 Extract TruncatedMarkdown component 2017-07-13 13:52:48 +07:00
6ea86b96
d3c621ed12 use _SUCCEEDED for abandom claim and file list action types 2017-07-13 13:52:48 +07:00
6ea86b96
6f336c96c5 Remove unnecessary binds 2017-07-13 13:52:48 +07:00
6ea86b96
443caa2740 Fix promise reject when creating a channel 2017-07-13 13:52:48 +07:00
6ea86b96
76fe44e519 Refactor back to lbry.js localStorage for pending publishes 2017-07-13 13:52:47 +07:00
6ea86b96
470f61da9d commit little and often fail 2017-07-13 13:52:47 +07:00
6ea86b96
f9b9221471 Fix show page being blank for unconfirmed claims 2017-07-13 13:52:47 +07:00
6ea86b96
5012d44384 Start using claims instead of file info for published files 2017-07-13 13:52:47 +07:00
6ea86b96
253932113f Fix adding new identities 2017-07-13 13:52:47 +07:00
6ea86b96
f3fdf5e841 Rename pending to fetching in selectors to avoid confusion 2017-07-13 13:52:47 +07:00
6ea86b96
6c6f1beb19 Change redux-persist debounce to 10 seconds 2017-07-13 13:52:47 +07:00
6ea86b96
35a5cb0918 Fix file info selector 2017-07-13 13:52:47 +07:00
6ea86b96
7c3953ac51 Fix selectClaimForUriIsMine 2017-07-13 13:52:47 +07:00
6ea86b96
7c5187c4e4 Create publish form component, fix markdown editor, fix prefill 2017-07-13 13:52:47 +07:00
Le Long
b09d71ecff Markdown Support 2017-07-13 13:52:47 +07:00
6ea86b96
8325828f6e Progress towards working publish 2017-07-13 13:52:47 +07:00
6ea86b96
df954882bc Cache channel claims 2017-07-13 13:52:47 +07:00
6ea86b96
e01868d29b Move claim lookup on publish page into redux 2017-07-13 13:52:47 +07:00
6ea86b96
284ab8a01a Move fetching my channels into redux 2017-07-13 13:52:47 +07:00
Jeremy Kauffman
7c7bbcd064 Merge pull request #348 from akinwale/issue333
Issue #333 media switch fix
2017-07-12 17:19:00 -04:00
Akinwale Ariwodola
0198c991e3 check that fileInfo outpoint is different before resetting media play state 2017-07-12 21:56:18 +01:00
Akinwale Ariwodola
877586a00a Issue #333 media switch fix 2017-07-12 13:40:36 +01:00
Jeremy Kauffman
52393145ec Merge pull request #320 from akinwale/issue253
Issue #253 mp3 audio seek fix
2017-07-11 16:46:36 -04:00
Jeremy Kauffman
7c380ce01b add transition to card hovers 2017-07-11 15:41:37 -04:00
hackrush
afd361bcd7 Added max_key_fee setting
Enables user to set the max_key_fee via the UI.
Fixes #268
2017-07-11 23:50:51 +05:30
Jeremy Kauffman
a7d8d1a7b0 fix misnamed modal 2017-07-10 13:19:42 -04:00
Fillerino
7b8de81567 More fixing... 2017-07-07 15:37:24 +02:00
Fillerino
15e765b65b Fixing more stuff... 2017-07-07 15:27:52 +02:00
Fillerino
2ca08f92b5 Fixing some stuff... 2017-07-07 15:26:03 +02:00
Fillerino
d733a7b1b4 Trying to get redux stuff to work... 2017-07-07 15:15:45 +02:00
Josh Finer
0348606859 Update view.jsx 2017-07-06 21:14:55 -04:00
Akinwale Ariwodola
95145b57e3 additional tweaks to renderAudio 2017-07-06 20:03:31 +01:00
Akinwale Ariwodola
913d642b52 removed additional unused code 2017-07-06 18:44:52 +01:00
Akinwale Ariwodola
f61a8a4372 removed unused code 2017-07-06 18:42:39 +01:00
Akinwale Ariwodola
ee002597fc Merged with master to resolve conflicts 2017-07-06 18:39:35 +01:00
Akinwale Ariwodola
49b1399926 MP3 audio seek fix #2 2017-07-06 18:33:44 +01:00
Akinwale Ariwodola
89b58aa588 removed unused ref 2017-07-06 04:20:25 +01:00
Akinwale Ariwodola
52b404b552 Issue #312 home page scroll position on back navigation 2017-07-06 04:14:45 +01:00
Fillerino
d41c9295bd Removed the old langs file as it´s not needed anymore 2017-07-04 20:45:35 +02:00
Fillerino
fdb3b1849c Moved the resLang function into utils to reduce top level files. 2017-07-04 20:43:45 +02:00
Jeremy Kauffman
658ce9115f Merge pull request #317 from akinwale/issue311
Issue #311 playback input improvements
2017-07-04 14:13:13 -04:00
Jeremy Kauffman
48c10b6c53 update changelog 2017-07-04 13:06:09 -04:00
Jeremy Kauffman
45035eb2f2 Merge pull request #327 from lbryio/progress-bar-fix
Stop progress bar code blowing up if window is defocused before download starts
2017-07-04 13:03:15 -04:00
6ea86b96
2cc24318c1 Stop progress bar code blowing up if window is defocused before download starts 2017-07-03 13:55:52 +07:00
Fillerino
26a361d873 Added Language Downloading and Settings
Added basic downloading of languages and a dynamic settings panel which allows the user to change the language between the downloaded ones.
2017-07-02 21:13:37 +02:00
Akinwale Ariwodola
398f3b9ee8 Prevent keydown event from preventing space input in omnibar 2017-07-02 19:33:07 +01:00
Jeremy Kauffman
37d6e5f918 Merge pull request #306 from lbryio/abandon-claim-on-delete
Add option to abandon claim when deleting published file
2017-07-02 14:24:48 -04:00
Jeremy Kauffman
8ea972200a refactor remove file modal 2017-07-02 14:23:38 -04:00
6ea86b96
91359c2966 Add option to abandon claim when deleting published file 2017-07-02 13:48:53 -04:00
Jeremy Kauffman
1dea560cdf switch volume to session 2017-07-02 11:36:24 -04:00
Akinwale Ariwodola
444f230877 Issue #310 video volume reset fix 2017-07-02 11:36:24 -04:00
Jeremy Kauffman
d8e867aa5a Merge pull request #319 from akinwale/issue308
Issue #308 hide menu in fullscreen mode on Windows
2017-07-02 11:18:45 -04:00
Jeremy Kauffman
99cb1a0a65 fix video sizing, remove unused CSS 2017-07-02 10:48:18 -04:00
Akinwale Ariwodola
c111af6579 Issue #253 mp3 audio seek fix 2017-07-02 11:09:26 +01:00
Akinwale Ariwodola
98e25bee45 Issue #308 hide menu in fullscreen mode on Windows 2017-07-02 09:00:22 +01:00
Akinwale Ariwodola
49900e0cdf Added requested event handling changes 2017-07-01 22:57:14 +01:00
Akinwale Ariwodola
fb3785feed Implemented the ability for the spacebar to initiate video playback 2017-07-01 21:48:12 +01:00
Akinwale Ariwodola
b43ed0b64f Issue #311 playback input improvements 2017-07-01 21:33:23 +01:00
Jeremy Kauffman
f6ad6e7ba7 remove mov from list of playable files 2017-06-30 16:33:49 -04:00
Jack Robison
29e45d6e2d build branches with prs on appveyor 2017-06-30 15:04:31 -04:00
Jeremy Kauffman
8a2756112c Bump version: 0.13.0rc1 → 0.13.0 2017-06-30 10:31:51 -04:00
Jeremy Kauffman
888cc33192 remove language widget 2017-06-29 15:17:07 -04:00
Jeremy Kauffman
ba632b5876 Bump version: 0.12.2rc9 → 0.13.0rc1 2017-06-29 09:24:53 -04:00
Jeremy Kauffman
70d2b23add Merge pull request #307 from hackrush01/master
Renamed links files.
2017-06-29 09:11:44 -04:00
hackrush
80b54c27f8 Renamed links files.
Fixed some incorrectly named files.
2017-06-29 18:29:06 +05:30
Jeremy Kauffman
080b693e63 Merge pull request #305 from lbryio/cancel-resolve
Cancel resolving URis when unmounting discover page
2017-06-29 08:46:42 -04:00
6ea86b96
ef8bd5f986 Cancel resolving URis when unmounting discover/file list pages 2017-06-29 15:38:01 +07:00
alexliebowitz
fce702f737 Merge pull request #304 from lbryio/fix-link-focus-2
On Windows, denormalize URI when opening link with app closed
2017-06-29 01:26:48 -04:00
Alex Liebowitz
ac5df086a9 On Windows, denormalize URI when opening link with app closed 2017-06-29 00:56:59 -04:00
Jeremy Kauffman
e6f1dea9d5 Bump version: 0.12.2rc8 → 0.12.2rc9 2017-06-28 18:08:58 -04:00
Jeremy Kauffman
b815f78a50 more pending and publishing fixes 2017-06-28 18:08:16 -04:00
Jeremy Kauffman
8d62b4d1fc clarify why channels are empty, fixes #299 2017-06-28 16:17:22 -04:00
Jeremy Kauffman
df286da300 stupid pending publish hacks 2017-06-28 15:54:33 -04:00
Jeremy Kauffman
429ca37e55 fix undefined count 2017-06-28 15:45:24 -04:00
Jeremy Kauffman
ed80d9fa2e Bump version: 0.12.2rc7 → 0.12.2rc8 2017-06-28 14:22:45 -04:00
Jeremy Kauffman
91ba6f1773 fix requirements, update changelog 2017-06-28 14:21:21 -04:00
Jeremy Kauffman
bab2f7d53c fix initial reward showing 2017-06-28 14:00:10 -04:00
Jeremy Kauffman
289bb0b4ae hackish fix for pending publishes not working 2017-06-28 11:24:16 -04:00
Jeremy Kauffman
020f437a63 Merge pull request #302 from lbryio/fix-link-focus
Reliably focus app window when opening lbry:// links (WIP)
2017-06-28 10:07:42 -04:00
Jeremy Kauffman
c011783003 Merge pull request #301 from lbryio/nsfw
Move client settings into redux
2017-06-28 09:05:25 -04:00
Alex Liebowitz
c8cbf61f94 Reliably focus app window when opening lbry:// links
Also refactors and simplifies the code for handling URIs requested from
outside apps.
2017-06-28 03:28:30 -04:00
6ea86b96
500fdd282c Move client settings into redux 2017-06-28 14:12:01 +07:00
Jeremy Kauffman
e42aa217d0 update CHANGELOG 2017-06-27 17:27:27 -04:00
Jeremy Kauffman
0db0fd1307 Merge pull request #296 from lbryio/claim-id-dmca
Add claim_id to DMCA links
2017-06-27 14:24:06 -04:00
Jeremy Kauffman
1ce926dd98 fix nsfw not refreshing 2017-06-27 14:19:33 -04:00
hackrush
e3bbb6fcef "Fixed NSFW content showing on filePage"
NSFW content is obscured on show page and gives an overlay to inform
the user. Fixes #286

Added one additional format(epub) in lbry.js.
2017-06-27 14:18:30 -04:00
6ea86b96
ad931b5871 Add claim_id to DMCA links 2017-06-28 00:12:17 +07:00
Jeremy Kauffman
6aad233f66 Merge pull request #294 from lbryio/teardown-focused-listeners
Teardown old window event listeners and don't blow up when window isn't focused
2017-06-27 12:55:23 -04:00
Alex Grintsvayg
0f8edabcc0 Bump version: 0.12.2rc6 → 0.12.2rc7 2017-06-27 10:40:43 -04:00
Alex Grintsvayg
83d387dcfb yarn lock files dont have versions 2017-06-27 10:40:35 -04:00
Alex Grintsvayg
db342dd268 upgrade some babel deps, remove npmrc files 2017-06-27 10:25:07 -04:00
Alex Grin
e22b44d609 Merge pull request #293 from lbryio/file-info-fix
Two file info fixes since last merge
2017-06-27 09:52:40 -04:00
6ea86b96
28eb490014 Teardown old window event listeners and don't blow up when window isn't focused
at boot/reload
2017-06-27 19:54:25 +07:00
6ea86b96
78be53806b Two file info fixes since last merge 2017-06-27 15:23:03 +07:00
Alex Grintsvayg
fabfc06703 fix some dependency conflicts 2017-06-26 15:18:13 -04:00
Alex Grintsvayg
065d8839fb dont need extractLocals in appveyor 2017-06-26 14:13:27 -04:00
Jeremy Kauffman
de5af5d2bc Merge branch 'master' of github.com:lbryio/lbry-app 2017-06-26 13:17:46 -04:00
Jeremy Kauffman
1a36f6683c Merge branch 'dock-badge' 2017-06-26 13:17:14 -04:00
Jeremy Kauffman
6ff423a760 Merge branch 'master' into dock-badge 2017-06-26 13:16:59 -04:00
Jeremy Kauffman
e8d7e2dc40 minor copy change 2017-06-26 13:16:36 -04:00
Alex Grintsvayg
ada379f873 Merge branch 'yarn'
* yarn:
  forgot to edit appveyor build
  move keytar into main app process, so webpack doesnt package it and fuck up the keytar.node path
  switch to yarn
  devtron
2017-06-26 13:09:24 -04:00
Alex Grintsvayg
9eb448f1bc forgot to edit appveyor build 2017-06-26 13:08:54 -04:00
Alex Grintsvayg
6c3a30eac0 move keytar into main app process, so webpack doesnt package it and fuck up the keytar.node path 2017-06-26 13:08:54 -04:00
Alex Grintsvayg
e37fe1f58e switch to yarn 2017-06-26 13:08:54 -04:00
Alex Grintsvayg
8c063f41c4 devtron 2017-06-26 13:08:54 -04:00
Jeremy Kauffman
ec31284e7a Merge pull request #285 from lbryio/show-fix
Fix resolving uris on show page
2017-06-26 12:32:35 -04:00
Jeremy Kauffman
23d43b0b99 Merge pull request #284 from lbryio/by-outpoint
Rename fileInfo.fileInfos to fileInfo.byOutpoint
2017-06-26 12:32:20 -04:00
Jeremy Kauffman
d072dabead Merge pull request #283 from lbryio/no-history
Don't call history.back when there is no previous history
2017-06-26 12:31:42 -04:00
6ea86b96
5711e99a06 Fix resolving uris on show page 2017-06-25 14:37:09 +07:00
6ea86b96
7ec5f4950a Rename fileInfo.fileInfos to fileInfo.byOutpoint 2017-06-25 14:24:45 +07:00
6ea86b96
a76ac95f7c Don't call history.back when there is no previous history 2017-06-25 14:08:29 +07:00
Jeremy Kauffman
ee1de52156 Merge pull request #280 from lbryio/player-classes
Use array to build classes in video view
2017-06-24 14:53:24 -04:00
6ea86b96
1b88e70d74 Send desktop notifications when a download has completed 2017-06-24 23:48:01 +07:00
6ea86b96
0214422e6b Add a badge to the dock for downloaded files 2017-06-24 22:21:04 +07:00
Alex Grintsvayg
9c9d685be6 trim verification token 2017-06-23 13:47:07 -04:00
6ea86b96
3a57363b8a Use array to build classes in video view 2017-06-23 23:19:48 +07:00
Alex Grintsvayg
56aa4d2255 dont even make lock files 2017-06-23 11:30:17 -04:00
Alex Grintsvayg
aafba60858 only travis on releases 2017-06-23 11:30:17 -04:00
Jeremy Kauffman
af68c07931 Merge pull request #273 from lbryio/refreshing
Fix refreshing
2017-06-23 11:26:46 -04:00
Jeremy Kauffman
f697b167f8 Merge pull request #274 from lbryio/fix-rewards-page
Fix rewards page
2017-06-23 10:02:33 -04:00
Jeremy Kauffman
ade2788d33 Merge pull request #276 from lbryio/trim-search-term
Trim search query
2017-06-23 09:42:31 -04:00
Jeremy Kauffman
5e6c2363bd Merge pull request #275 from lbryio/fix-transaction-links
Fix links from transactions to block explorer
2017-06-23 09:41:33 -04:00
Jeremy Kauffman
17e742a566 Merge pull request #277 from lbryio/permanent-urls
Add claim ids to urls in downloaded/published files
2017-06-23 09:40:49 -04:00
6ea86b96
e67a826314 Add claim ids to urls in downloaded/published files 2017-06-23 13:58:08 +07:00
6ea86b96
717e6c12bf Trim search query 2017-06-23 13:21:37 +07:00
6ea86b96
23f99d2bb9 Fix links from transactions to block explorer 2017-06-23 13:00:59 +07:00
6ea86b96
9595b1707d Fix refreshing 2017-06-23 12:47:41 +07:00
6ea86b96
d4438914d5 Fetch rewards after authentication success 2017-06-23 12:30:26 +07:00
6ea86b96
83f72a83b0 Fetch rewards on rewards page 2017-06-23 12:29:40 +07:00
Jeremy Kauffman
f1f0c15548 Merge pull request #272 from lbryio/file-tile-error
File tile error
2017-06-22 12:00:38 -04:00
6ea86b96
c4827c853d remove pointless nulls 2017-06-22 22:13:33 +07:00
6ea86b96
d53c3d4db6 Fix this.state.hovered null error 2017-06-22 21:17:01 +07:00
Alex Grintsvayg
adbc02838c does removing lock files make it build right? 2017-06-22 10:04:25 -04:00
Jeremy Kauffman
282cf4f708 Merge pull request #269 from intnick/master
Transifex configuration
2017-06-22 08:50:43 -04:00
Jeremy Kauffman
b8af474375 Merge branch 'master' into master 2017-06-22 08:50:36 -04:00
Jeremy Kauffman
2285f2f01e Merge pull request #270 from intnick/transiflex
separated page name translations
2017-06-22 08:50:17 -04:00
Alex Grintsvayg
d9bc7f9777 Bump version: 0.12.2rc5 → 0.12.2rc6 2017-06-21 20:12:35 -04:00
Alex Grintsvayg
89b5e20b15 iron out auth issues 2017-06-21 20:09:30 -04:00
Intnick
b14293cd14 separated page name translations 2017-06-22 01:15:24 +02:00
Alex Grintsvayg
0d5a04b451 pass the function, dont call it 2017-06-21 18:49:23 -04:00
Alex Grintsvayg
a9fe3a0ed2 those arent real functions anymore 2017-06-21 18:27:07 -04:00
Alex Grintsvayg
9da8a4b8dc build on master too 2017-06-21 15:43:21 -04:00
Alex Grintsvayg
613c15280c ping travis 2017-06-21 15:42:50 -04:00
Alex Grintsvayg
31565c3d5a ping travis 2017-06-21 15:34:55 -04:00
Alex Grintsvayg
b95f818604 ping travis 2017-06-21 15:27:40 -04:00
Alex Grintsvayg
da1314fb2c transifex travis integration 2017-06-21 15:23:14 -04:00
Mayesters
3721500c2d Transifex preparation 2017-06-21 20:48:04 +02:00
Alex Grintsvayg
c183ebc838 travis work 2017-06-21 14:33:32 -04:00
Mayesters
85464fb3cb Merge remote-tracking branch 'upstream/master' 2017-06-21 20:31:12 +02:00
Alex Grintsvayg
70ae11520c actually use travis 2017-06-21 14:26:43 -04:00
Alex Grintsvayg
f12a39352a Bump version: 0.12.2rc4 → 0.12.2rc5 2017-06-21 14:20:38 -04:00
Alex Grintsvayg
c539544778 bump versions in package lock files 2017-06-21 14:20:14 -04:00
Jeremy Kauffman
d389292ef3 Bump version: 0.12.2rc3 → 0.12.2rc4 2017-06-21 12:59:30 -04:00
Jeremy Kauffman
0f5bcf1a77 update changelog 2017-06-21 12:56:47 -04:00
Jeremy Kauffman
19eb1eda13 Merge pull request #266 from zestyr/patch-1
Support more file extensions
2017-06-21 12:07:24 -04:00
Alex Grintsvayg
024278e235 Merge branch 'new_auth'
* new_auth:
  build is hard
  fixed package-lock and electron-rebuild
  prettier
  i need shebang-command to get the precommit hook working
  update locks
  store auth token in OS keyring, not in local storage
  minor cleanup
2017-06-21 10:01:28 -04:00
Alex Grintsvayg
92bac9de54 build is hard 2017-06-21 09:20:29 -04:00
Alex Grintsvayg
efb7876b93 fixed package-lock and electron-rebuild 2017-06-21 09:16:23 -04:00
Alex Grintsvayg
cb68c538ee prettier 2017-06-21 08:42:22 -04:00
Alex Grintsvayg
d67f07bcbb i need shebang-command to get the precommit hook working 2017-06-21 08:41:07 -04:00
Alex Grintsvayg
e37472aeca update locks 2017-06-21 08:41:07 -04:00
Alex Grintsvayg
4376c34678 store auth token in OS keyring, not in local storage 2017-06-21 08:41:07 -04:00
Alex Grintsvayg
d4e572a2b6 minor cleanup 2017-06-21 08:34:50 -04:00
Alex Grintsvayg
4562b0bf99 add extractlocals to build script 2017-06-21 08:25:57 -04:00
Alex Grintsvayg
024ff3cb50 create locales dir if it doesnt exist 2017-06-21 08:23:21 -04:00
Zed
c27d492d48 Support more file extensions 2017-06-20 20:34:00 +02:00
Alex Grintsvayg
741a88a7b4 added i18n-extract to package-lock 2017-06-20 10:08:28 -04:00
Alex Grintsvayg
aaec1f3a48 prettify all the files 2017-06-20 08:08:52 -04:00
Jeremy Kauffman
202570f286 update to daemon 0.13.1 proper 2017-06-19 16:55:15 -04:00
Jeremy Kauffman
02f226e484 Merge pull request #258 from intnick/transiflex
fix i18n stuff + string extraction script for Transifex
2017-06-19 15:13:19 -04:00
Mayesters
0540b3d3b8 welcome modal i18n simplification 2017-06-19 15:51:28 +02:00
Mayesters
7fd9c25af2 fix publish again cuz im stupid 2017-06-19 15:50:10 +02:00
Mayesters
51ea169329 fix publish page 2017-06-19 15:49:26 +02:00
Mayesters
95a37e3f88 fix components + pages 2017-06-19 14:58:39 +02:00
Mayesters
df19708a5c fix components 2017-06-19 14:42:24 +02:00
Jeremy Kauffman
9c791e50a1 Merge pull request #257 from lbryio/fix-url-load-on-start
Make URLs load correctly after clicking a lbry:// link with the app closed
2017-06-19 08:34:03 -04:00
Mayesters
25589a6a45 Merge branch 'master' into transiflex 2017-06-19 14:26:35 +02:00
Mayesters
e46e1bd5f7 Merge remote-tracking branch 'upstream/master' 2017-06-19 14:24:27 +02:00
Alex Liebowitz
a5968c2c20 Remove unnecessary load of Discover page during startup
We were loading the Discover page at the end of the launch screen.
That meant that if a user started with LBRY closed and started it by
clicking on a lbry:// link, it would load during the launch screen
but then get overridden by the Discover page as soon as the launch
screen finished.

Fortunately, this load was redundant anyway as the necessary state is
already being set in the default state for the App component:
902fb96878/ui/js/reducers/app.js (L5)
2017-06-19 08:12:00 -04:00
Jeremy Kauffman
ac067b78d1 Bump version: 0.12.2rc2 → 0.12.2rc3 2017-06-18 10:53:17 -04:00
Jeremy Kauffman
320eb8d93a update changelog 2017-06-18 10:53:06 -04:00
Jeremy Kauffman
eb3f1086a2 Merge branch 'master' of github.com:lbryio/lbry-app 2017-06-18 10:34:54 -04:00
Jeremy Kauffman
dd444744ad Merge pull request #246 from lbryio/refresh-claims-fix
Refresh claims fix
2017-06-16 17:19:53 -04:00
Jeremy Kauffman
038b3820bf Merge pull request #248 from lbryio/clear-cache
Add a way for users to clear their own cache
2017-06-16 17:15:04 -04:00
6ea86b96
cf532b4e98 Add a way for users to clear their own cache 2017-06-16 12:43:43 +07:00
6ea86b96
5595b5b5b2 Remove doCancelResolveUri, it deletes claims from the store 2017-06-16 09:51:02 +07:00
6ea86b96
5074b368ee Fix loading state on file card and uri indicator when claim is already available 2017-06-16 09:48:55 +07:00
Jeremy Kauffman
620ac04db2 remove deprecated metadata field 2017-06-15 20:05:15 -04:00
Jeremy Kauffman
f95853892b disable availability check 2017-06-15 20:02:57 -04:00
Jeremy Kauffman
98782bbe2a Merge pull request #225 from lbryio/redux-persist
Redux persist
2017-06-15 10:13:31 -04:00
Jeremy Kauffman
f975ef4b1b Merge branch 'master' into redux-persist 2017-06-15 10:13:22 -04:00
Jeremy Kauffman
2cecd20c16 Merge pull request #239 from seanyesmunt/master
allow user to create new directory when choosing download directory
2017-06-15 09:37:26 -04:00
Jeremy Kauffman
be198e0cf4 Merge pull request #241 from lbryio/refresh-claim-list-mine
Always refresh claims/file info on downloaded/published pages
2017-06-15 09:36:49 -04:00
Jeremy Kauffman
b0959502ef Merge branch 'master' into refresh-claim-list-mine 2017-06-15 09:36:25 -04:00
6ea86b96
1063d2fc9d Always refresh claims/file info on downloaded/published pages 2017-06-15 19:46:27 +07:00
6ea86b96
28ea648215 Fixes after rebasing on master 2017-06-15 11:27:38 +07:00
6ea86b96
e5260612d6 Fix removing busy message after discovered content is fetched 2017-06-15 11:27:38 +07:00
6ea86b96
b596806fbc Refresh claim data when show page is mounted 2017-06-15 11:27:38 +07:00
6ea86b96
8f786baacd Make search page updates more efficient with batch actions 2017-06-15 11:27:38 +07:00
6ea86b96
193738083f Always resolve claims on discover page 2017-06-15 11:27:38 +07:00
6ea86b96
04c4988a9a Always refresh claims/file info on downloaded/published pages 2017-06-15 11:27:38 +07:00
6ea86b96
aa30aec997 Cache claims in indexedDB (via LocalForage) 2017-06-15 11:27:38 +07:00
Sean Yesmunt
0798f60c70 allow user to create new directory when choosing download directory 2017-06-14 21:03:20 -07:00
Jeremy Kauffman
e9ece65d68 Bump version: 0.12.2rc1 → 0.12.2rc2 2017-06-14 20:38:14 -04:00
Jeremy Kauffman
521b368cb0 fix error reporting 2017-06-14 20:37:42 -04:00
Jeremy Kauffman
4b095c3ea6 kill lbry.call 2017-06-14 20:21:31 -04:00
Jeremy Kauffman
a6b8ae2ce4 Bump version: 0.12.1rc1 → 0.12.2rc1 2017-06-14 18:01:22 -04:00
Jeremy Kauffman
c6603a4e80 daemon v0.13 support 2017-06-14 18:01:04 -04:00
Jeremy Kauffman
ce6284219c Bump version: 0.12.0 → 0.12.1rc1 2017-06-14 17:50:29 -04:00
Jeremy Kauffman
4c8d649830 updates required for lbry daemon 0.12 2017-06-14 17:49:23 -04:00
Jeremy Kauffman
efd289b1ed increase wait time for daemon to launch 2017-06-14 11:21:16 -04:00
Jeremy Kauffman
84589f1ebb Merge branch 'longle255-fix_loading_help_menu' 2017-06-13 15:59:10 -04:00
Jeremy Kauffman
6d41006918 Merge branch 'fix_loading_help_menu' of https://github.com/longle255/lbry-app into longle255-fix_loading_help_menu 2017-06-13 15:45:13 -04:00
Jeremy Kauffman
ba27b7fe69 Merge pull request #232 from lbryio/lock-files
Regenerate lock files
2017-06-13 14:35:24 -04:00
Le Long
bbaec6bfe0 add changelog 2017-06-13 17:03:18 +02:00
Le Long
d52d8872be use ipcRenderer as bridge for communication between electron and ui app 2017-06-13 17:02:06 +02:00
6ea86b96
d59f5f1005 Regenerate lock files 2017-06-13 11:19:56 +07:00
Mayesters
148392d49a update script again 2017-06-12 21:18:20 +02:00
Jeremy Kauffman
c47fb7cb2b Merge pull request #222 from seanyesmunt/webpack-2
webpack@2
2017-06-12 12:07:12 -04:00
Mayesters
ef568ef816 made script easier 2017-06-12 12:34:40 +02:00
Mayesters
9b32c764ac Extract Locals script basic setup 2017-06-12 12:20:50 +02:00
Mayesters
e83ace19c5 Merge remote-tracking branch 'upstream/master' 2017-06-12 11:11:13 +02:00
Jeremy Kauffman
1fc7c92524 Merge pull request #223 from lbryio/video-fallback
Metadata at end
2017-06-11 12:10:41 -04:00
Sean Yesmunt
3a89a75e7d consistent quote type 2017-06-10 21:59:33 -07:00
6ea86b96
03f0c3ae8f Prettier fixes 2017-06-11 00:17:55 +07:00
6ea86b96
bfa9f6581f lock file updates. Are these files more trouble than they're worth? 2017-06-11 00:17:55 +07:00
6ea86b96
afcdd2271e Catch and render files with metadata at the end. Also notify if a file is
unplayable
2017-06-11 00:17:52 +07:00
Jeremy Kauffman
96265b9ae6 Merge pull request #217 from seanyesmunt/master
move why-did-you-update to package.json ui/
2017-06-10 11:30:27 -04:00
Sean Yesmunt
d4afa34d48 update webpack.config for v2 2017-06-09 22:13:11 -07:00
Sean Yesmunt
dd0bb16e58 update webpack.dev.config for v2 2017-06-09 22:03:02 -07:00
Sean Yesmunt
ab6d730091 update package-lock.json 2017-06-09 21:03:38 -07:00
Jeremy Kauffman
6bfce16f2e remove typo in settings page 2017-06-09 17:23:08 -04:00
Jeremy Kauffman
3f68858cf7 Bump version: 0.12.0rc8 → 0.12.0 2017-06-09 14:31:39 -04:00
Jeremy Kauffman
49c255e29a Bump version: 0.12.0rc7 → 0.12.0rc8 2017-06-09 13:13:34 -04:00
Jeremy Kauffman
c1f5215a4f update daemon to 0.11 proper 2017-06-09 13:13:20 -04:00
Jeremy Kauffman
d4e95c59ed Merge pull request #218 from lbryio/fix-publish-my-claims-display
Fix display of info about user's own claims on Publish page (WIP)
2017-06-09 10:49:23 -04:00
Jeremy Kauffman
cfa3aa3bc4 Merge branch 'master' into fix-publish-my-claims-display 2017-06-09 10:49:12 -04:00
Alex Grintsvayg
6cf5c144b0 Bump version: 0.12.0rc6 → 0.12.0rc7 2017-06-09 10:23:47 -04:00
Alex Grintsvayg
668a8b40e9 what is up with these files? 2017-06-09 10:23:36 -04:00
Alex Grintsvayg
902fb96878 Merge branch 'tear_down_this_wall'
* tear_down_this_wall:
  bump daemon version
  restore purecomponent, remove console.log
  changelog and bugfix
  reviewable
  mostly done?
  previously uncommitted copy change
  not enough progress
  uncommitted work from last night
  good chunk of progress towards auth and rewards refactor / degating
  Working on rewards refactor
  midway through auth rewrite
  slight progress
2017-06-09 10:18:25 -04:00
Alex Liebowitz
342afc6873 Fetch claim list on Publish page
Before, it would only receive the list of published claims if it had
already been fetched from previously viewing the My Files page
2017-06-09 06:58:20 -04:00
Sean Yesmunt
11d80c1361 move why-did-you-update to ui 2017-06-08 22:22:45 -07:00
Jeremy Kauffman
20fa2bb0e5 bump daemon version 2017-06-08 20:11:51 -04:00
Jeremy Kauffman
9418e78046 restore purecomponent, remove console.log 2017-06-08 20:10:53 -04:00
Jeremy Kauffman
241a0118a2 Merge remote-tracking branch 'origin/master' into tear_down_this_wall 2017-06-08 20:03:11 -04:00
Jeremy Kauffman
69bf1bdfea two more pure components 2017-06-08 19:41:44 -04:00
Jeremy Kauffman
418394446d Merge pull request #209 from seanyesmunt/should-component-update
Use React.PureComponent and add whyDidYouUpdate for dev env
2017-06-08 19:37:58 -04:00
Jeremy Kauffman
31b7c326cf Merge branch 'master' into should-component-update 2017-06-08 19:37:48 -04:00
Jeremy Kauffman
f21bf287d9 Merge branch 'master' into should-component-update 2017-06-08 19:36:17 -04:00
Jeremy Kauffman
7ea2999bc4 Merge branch '6ea86b96-positive-claim-fee-only' 2017-06-08 19:26:00 -04:00
Jeremy Kauffman
360a3d74c3 min of 0.01, fix parse call 2017-06-08 19:25:42 -04:00
Jeremy Kauffman
29e21f8faf Merge branch 'positive-claim-fee-only' of https://github.com/6ea86b96/lbry-app into 6ea86b96-positive-claim-fee-only 2017-06-08 19:23:54 -04:00
Jeremy Kauffman
a3870d4f7f update changelog 2017-06-08 19:19:21 -04:00
Jeremy Kauffman
4317057268 Merge branch 'seanyesmunt-master' 2017-06-08 19:18:44 -04:00
Jeremy Kauffman
f2cabfb07a minor correction 2017-06-08 19:16:38 -04:00
Jeremy Kauffman
5d5badd567 Merge branch 'master' of https://github.com/seanyesmunt/lbry-app into seanyesmunt-master 2017-06-08 19:07:50 -04:00
Jeremy Kauffman
1a6a69914c changelog and bugfix 2017-06-08 17:19:02 -04:00
Jeremy Kauffman
09ecae7e0d reviewable 2017-06-08 17:15:34 -04:00
6ea86b96
c78465227a Don't allow negative numbers for access cost and less than 1 for identity 2017-06-08 23:25:34 +07:00
Sean Yesmunt
e13d7c2149 use React.PureComponent 2017-06-07 21:42:19 -07:00
Sean Yesmunt
4c216d843b add whyDidYouUpdate for dev env 2017-06-07 21:41:33 -07:00
Jeremy Kauffman
18a40defba mostly done? 2017-06-07 20:56:52 -04:00
Jeremy Kauffman
cbf35014cd previously uncommitted copy change 2017-06-07 12:11:47 -04:00
Jeremy Kauffman
4f65957287 not enough progress 2017-06-07 12:11:47 -04:00
Jeremy Kauffman
b6881c829c uncommitted work from last night 2017-06-07 12:08:05 -04:00
Jeremy Kauffman
a17d19038e good chunk of progress towards auth and rewards refactor / degating 2017-06-07 12:08:04 -04:00
Sean Yesmunt
11fa00504d switch to BEM naming pattern 2017-06-07 09:06:14 -07:00
6ea86b96
eb170b9720 Working on rewards refactor 2017-06-07 12:04:39 -04:00
Jeremy Kauffman
e0b8afe028 midway through auth rewrite 2017-06-07 11:56:01 -04:00
Jeremy Kauffman
ddd01855b0 slight progress 2017-06-07 11:50:44 -04:00
Jeremy Kauffman
86f9749753 Bump version: 0.12.0rc5 → 0.12.0rc6 2017-06-07 11:09:53 -04:00
Jeremy Kauffman
3ee250a651 Merge pull request #192 from 6ea86b96/claims-by-id
Store claims by claim_id and fileinfo by sd_hash
2017-06-07 11:09:38 -04:00
Jeremy Kauffman
3c58678f62 Merge pull request #207 from filipnyquist/fillerino-ver-fix
Fixed the local version in help
2017-06-07 11:05:01 -04:00
Fillerino
b5218a39e7 Fixed the local version in help
This commit fixes the version in the help page.
Before it displayed the last remote version, now it displays the "localVersion".
2017-06-07 16:51:50 +02:00
Sean Yesmunt
0a7626fe49 remove un-necessary comment 2017-06-07 00:15:55 -07:00
Sean Yesmunt
46862a302e style loading spinner 2017-06-06 23:32:38 -07:00
Sean Yesmunt
708efba091 fix prop name 2017-06-06 22:42:01 -07:00
Sean Yesmunt
7a467f3635 move video-player and video-player-button into their own file 2017-06-06 22:36:12 -07:00
Sean Yesmunt
57a7d1db97 add internal video loading screen component 2017-06-06 21:12:45 -07:00
6ea86b96
626167995a Ignore .vimrc 2017-06-07 09:12:40 +07:00
6ea86b96
732c9c3bd3 Make channel pages work again 2017-06-07 08:34:43 +07:00
6ea86b96
72137f51d2 Fix resolving uris in file tile 2017-06-07 08:34:13 +07:00
6ea86b96
c023a41a28 Stop cost info getting into an infinite loop 2017-06-07 08:32:41 +07:00
6ea86b96
f97ec7b390 Store claims by id in the state 2017-06-07 08:30:17 +07:00
Jeremy Kauffman
059673983c Bump version: 0.12.0rc4 → 0.12.0rc5 2017-06-06 17:58:32 -04:00
Jeremy Kauffman
e1baebfec5 Merge branch '6ea86b96-npm-5' 2017-06-06 17:43:02 -04:00
Jeremy Kauffman
6f0e429ac4 Merge branch 'npm-5' of https://github.com/6ea86b96/lbry-app into 6ea86b96-npm-5 2017-06-06 17:41:25 -04:00
Jeremy Kauffman
e0bcf44202 Merge branch 'seanyesmunt-master' 2017-06-06 17:25:29 -04:00
Jeremy Kauffman
9c708ca93c correct prettier path 2017-06-06 17:23:58 -04:00
Jeremy Kauffman
2172555096 change prettier options 2017-06-06 17:19:12 -04:00
6ea86b96
955e9564e0 Some package tweaks for npm 5x 2017-06-06 23:58:16 +07:00
Sean Yesmunt
759a9011dc add prettier script 2017-06-06 09:24:55 -07:00
Alex Grintsvayg
6bc1405f2d Bump version: 0.12.0rc3 → 0.12.0rc4 2017-06-06 11:15:34 -04:00
Alex Grintsvayg
a10ebce017 changelog 2017-06-06 11:14:57 -04:00
Alex Grintsvayg
954db08bd1 use new fee metadata format 2017-06-06 11:14:08 -04:00
Sean Yesmunt
c8b949f020 format with prettier 2017-06-05 21:21:55 -07:00
Sean Yesmunt
6f93834990 add prettier 2017-06-05 21:20:41 -07:00
Jeremy Kauffman
e644bc5d89 Bump version: 0.12.0rc2 → 0.12.0rc3 2017-06-05 19:11:26 -04:00
Jeremy Kauffman
5d9cfe00af Merge pull request #199 from filipnyquist/wallet_page_quick_fix
Quick fix for Issue #198 , not being able to go to SEND/RECEIVE page
2017-06-05 18:16:16 -04:00
Fillerino
a2ec397ff8 Quick fix for Issue #198 , not being able to go to SEND/RECEIVE page
This commit fixes the missing _ in one of the i18n translation labels.
fixes #198
2017-06-05 22:35:24 +02:00
Jeremy Kauffman
1dc1b0ed7a Bump version: 0.12.0rc1 → 0.12.0rc2 2017-06-05 12:58:04 -04:00
Jeremy Kauffman
a023c11493 update to latest daemon, remove extra bracket 2017-06-05 12:57:27 -04:00
Jeremy Kauffman
5597f736bf Bump version: 0.11.9 → 0.12.0rc1 2017-06-05 11:49:47 -04:00
Jeremy Kauffman
304a737b6d upgrade changelog 2017-06-05 11:47:18 -04:00
Jeremy Kauffman
c348f552cd Merge pull request #189 from 6ea86b96/play-more-file-types
Render all file types that render-media can handle
2017-06-05 11:40:11 -04:00
Jeremy Kauffman
8d359629fb Merge pull request #160 from intnick/i18n
i18n Support
2017-06-05 11:34:22 -04:00
Jeremy Kauffman
49b706a87c Merge pull request #196 from lbryio/update-deprecated-commands
update deprecated commands
2017-06-05 10:50:07 -04:00
Jack Robison
eb0641d82a update deprecated commands 2017-06-05 10:44:53 -04:00
Jeremy Kauffman
659473bbbb Merge pull request #191 from krrishnarraj/master
Add timeout for jayson client requests
2017-06-04 19:06:37 -04:00
Mayesters
77aa8c61b0 Fix commenting out of setting 2017-06-03 13:34:32 +02:00
Mayesters
a539b58829 Include y18n without creating files + fix modal 2017-06-03 13:27:37 +02:00
Mayesters
4e86023bf1 Merge remote-tracking branch 'upstream/intnick-i18n' into i18n 2017-06-03 13:10:54 +02:00
Mayesters
f59731ff41 Added y18n as dependency 2017-06-03 13:08:45 +02:00
Mayesters
fb36cf12f1 Merge branch 'master' into i18n 2017-06-03 13:06:53 +02:00
Mayesters
e36fa6623b Merge remote-tracking branch 'upstream/master' 2017-06-03 13:06:41 +02:00
Krishnaraj Bhat
db64723c24 Add timeout for jayson client requests
request() didn't hit the callback sometimes
fixes #19
fixes #188
2017-06-03 13:34:58 +05:30
6ea86b96
1fd1b3c064 Render all file types that render-media can handle 2017-06-03 01:29:08 +07:00
Jack Robison
448088a134 update deprecated get_settings call 2017-06-02 12:57:23 -04:00
Jeremy Kauffman
f84c738018 changes to global declaration, eliminate translation files 2017-06-02 12:40:26 -04:00
Jeremy Kauffman
8ab629de01 Merge branch 'i18n' of https://github.com/intnick/lbry-app into intnick-i18n 2017-06-02 12:25:56 -04:00
Mayesters
81afbf8d70 Merge branch 'master' into i18n 2017-06-02 18:11:54 +02:00
Mayesters
f2e87bc8f6 Merge remote-tracking branch 'upstream/master' 2017-06-02 18:10:42 +02:00
Jeremy Kauffman
3a89b01998 Merge pull request #185 from 6ea86b96/play-more-file-types
Play more file types
2017-06-02 08:56:21 -04:00
6ea86b96
912933d4e7 Sync loading between file actions and video player 2017-06-02 14:40:40 +07:00
6ea86b96
8505959c22 Use render-media to render audio and images 2017-06-02 14:11:59 +07:00
6ea86b96
b1bbf7ee4e Scroll to top of page when changing path 2017-06-02 14:11:59 +07:00
6ea86b96
fa66f4e918 Fix download progress for recontructing files 2017-06-02 14:11:59 +07:00
Jeremy Kauffman
7d9621f850 add screenshot 2017-06-01 18:24:20 -04:00
Jeremy Kauffman
ced93942f5 fix typo 2017-06-01 18:21:07 -04:00
Jeremy Kauffman
8bdcaa75c8 update README 2017-06-01 18:20:29 -04:00
Alex Grintsvayg
c115e9c923 fix whitespace in access token 2017-06-01 16:40:18 -04:00
Alex Grintsvayg
5d09bcc550 rename deprecated call 2017-06-01 14:39:28 -04:00
Mayesters
c658211e2c merge translations fixed 2017-06-01 17:49:07 +02:00
Mayesters
0153a6dab5 Merge branch 'master' into i18n 2017-06-01 17:41:49 +02:00
Mayesters
bca5815c83 Merge remote-tracking branch 'upstream/master' 2017-06-01 17:24:28 +02:00
Mayesters
4097a13c08 Merge remote-tracking branch 'origin/i18n' into i18n 2017-06-01 17:24:10 +02:00
Jeremy Kauffman
2958500875 Bump version: 0.11.9rc1 → 0.11.9 2017-06-01 11:03:39 -04:00
Intnick
02ed8145ca Merge branch 'i18n' of github.com:intnick/lbry-app into i18n 2017-06-01 17:02:16 +02:00
Intnick
addf29f3bc global i18n object defined in app.js; smaller translation improvements 2017-06-01 17:02:02 +02:00
Jeremy Kauffman
b0c87e064a Bump version: 0.11.8 → 0.11.9rc1 2017-06-01 10:24:44 -04:00
Jeremy Kauffman
cba11210c4 update changelog 2017-06-01 10:24:29 -04:00
Jeremy Kauffman
7d3ff96dd7 Merge pull request #176 from lbryio/fix-upgrades-may
Upgrades fixes
2017-06-01 08:21:00 -04:00
Alex Liebowitz
df9391da76 On Windows, open installer using shell (allows elevation)
When you're just running a bare process, Windows can't show the "this
app wants elevated permissions" box and child_process.spawn throws an
error.
2017-06-01 05:51:37 -04:00
Alex Liebowitz
e9dc3324cb Fix upgrade filenames on Mac and Windows 2017-06-01 05:03:37 -04:00
Alex Liebowitz
c7bab43b7b Open full path instead of directory during upgrade
This was how it was before the Redux refactor
2017-06-01 05:03:37 -04:00
Jeremy Kauffman
fcfce1bf64 Bump version: 0.11.8rc1 → 0.11.8 2017-05-31 18:21:09 -04:00
Jeremy Kauffman
60d50fc63b Bump version: 0.11.7 → 0.11.8rc1 2017-05-31 18:20:54 -04:00
Jeremy Kauffman
0a188e61db update changelog 2017-05-31 18:20:34 -04:00
Jeremy Kauffman
9f1e5489a1 fix multiple install ids 2017-05-31 18:19:48 -04:00
Jeremy Kauffman
149d1ef61f fix version check on help 2017-05-31 12:22:50 -04:00
Mayesters
eb1227fa21 add i18n to README 2017-05-31 12:59:58 +02:00
Mayesters
313cea5580 fix master merge translations 2017-05-31 12:55:32 +02:00
Mayesters
31190ea5b0 Merge branch 'master' into i18n 2017-05-31 12:48:49 +02:00
Mayesters
2136299cd3 Merge remote-tracking branch 'upstream/master' 2017-05-31 12:41:49 +02:00
Mayesters
51adcc1d1e Merge remote-tracking branch 'origin/i18n' into i18n 2017-05-31 12:41:09 +02:00
Maximilian Böther
da46487372 remove windows dev files 2017-05-31 12:40:31 +02:00
Maximilian Böther
2d5da067de delete windows dev files 2017-05-31 12:40:13 +02:00
Mayesters
fe7b5eb4e0 removed unnecessary y 2017-05-31 12:34:39 +02:00
Mayesters
dc2dfff148 fixed misstructured call 2017-05-31 12:33:39 +02:00
Mayesters
21d8e0c7d1 fixed tick marks in translation 2017-05-31 12:29:22 +02:00
Jeremy Kauffman
aa425c5c69 Bump version: 0.11.7rc1 → 0.11.7 2017-05-30 19:57:36 -04:00
Jeremy Kauffman
4d986a509e Bump version: 0.11.6 → 0.11.7rc1 2017-05-30 19:57:16 -04:00
Jeremy Kauffman
7a8a2c4913 connection changes and changelog 2017-05-30 19:56:48 -04:00
Jeremy Kauffman
89dadc6d05 Merge pull request #136 from 6ea86b96/autoplay
Fix autoplaying
2017-05-30 17:18:16 -04:00
Jeremy Kauffman
c3eb921685 Merge branch 'master' into autoplay 2017-05-30 17:18:04 -04:00
6ea86b96
230e6e2d70 Fix autoplaying 2017-05-30 23:16:41 +04:00
Jeremy Kauffman
dce16af1a6 update changelog 2017-05-30 14:22:24 -04:00
Jeremy Kauffman
db8201e43c Merge pull request #159 from 6ea86b96/bug/error-message
Stop landing page content loading error from displaying all the time
2017-05-30 14:21:08 -04:00
Jeremy Kauffman
2bdc2ce268 fix close modal in video component 2017-05-30 14:12:07 -04:00
6ea86b96
5aca89ab63 Stop landing page content loading error from displaying all the time 2017-05-30 12:34:13 +04:00
Jeremy Kauffman
5a552761da Bump version: 0.11.6rc1 → 0.11.6 2017-05-29 16:46:51 -04:00
Jeremy Kauffman
3c1b361ee7 Bump version: 0.11.5 → 0.11.6rc1 2017-05-29 16:46:40 -04:00
Jeremy Kauffman
7572c06b2e changelog 2017-05-29 16:46:19 -04:00
Jeremy Kauffman
4acd8a8f25 fix upgrade on windows 2017-05-29 16:43:50 -04:00
Jeremy Kauffman
adaced37ec Merge pull request #149 from 6ea86b96/fetch-claim-list-mine
Try to only keep one copy of each claim in the store
2017-05-29 16:17:38 -04:00
Mayesters
209efa45ff Merge branch 'master' into i18n 2017-05-28 21:36:04 +02:00
Mayesters
63a8ac9457 Merge remote-tracking branch 'upstream/master' 2017-05-28 21:35:40 +02:00
Mayesters
a8a42cee2e wunderbar translated 2017-05-28 21:35:21 +02:00
6ea86b96
a6709ffc26 Try to only keep one copy of each claim in the store 2017-05-28 22:46:00 +04:00
Jeremy Kauffman
64c5f10bc1 Bump version: 0.11.5rc1 → 0.11.5 2017-05-28 14:13:25 -04:00
Mayesters
1a3c20a637 Translated updated components 2017-05-28 18:56:01 +02:00
Mayesters
804c9a646b Merge branch 'master' into i18n 2017-05-28 18:46:31 +02:00
Mayesters
7ef9806542 Merge remote-tracking branch 'upstream/master' 2017-05-28 18:43:35 +02:00
Mayesters
449ef335a5 Merge remote-tracking branch 'origin/i18n' into i18n 2017-05-28 18:42:36 +02:00
Intnick
f72f5a0661 Merge branch 'i18n' of github.com:intnick/lbry-app into i18n 2017-05-28 18:39:18 +02:00
Intnick
02b13fc252 i18n ready for testing 2017-05-28 18:36:35 +02:00
Jeremy Kauffman
eefc3a5826 Bump version: 0.11.4 → 0.11.5rc1 2017-05-28 12:31:09 -04:00
Jeremy Kauffman
ae583e98bb update changelog 2017-05-28 12:30:53 -04:00
Intnick
13989632a7 language switch implementation. Needs more testing 2017-05-28 17:52:23 +02:00
Mayesters
469e769e01 lots of stuff translated 2017-05-28 17:52:23 +02:00
Intnick
1d09f08392 header and tranactionList component translated 2017-05-28 17:46:08 +02:00
Intnick
972ac78595 fileListSearch and fileTitle component translated 2017-05-28 17:46:08 +02:00
Intnick
7d6368aeca fileList component translated 2017-05-28 17:46:08 +02:00
Intnick
ff02e0452b filaActions and fileCard components translated 2017-05-28 17:45:40 +02:00
Intnick
0cf1da36ea page settings, show, wallet, report translated 2017-05-28 17:45:03 +02:00
Intnick
3ba79fff32 search page translated 2017-05-28 17:44:10 +02:00
Intnick
c7d7a532ac help page trans 2017-05-28 17:42:59 +02:00
Intnick
d30d4353e8 moved the import of y18n component before some other imports; translations for auth developer 2017-05-28 17:33:25 +02:00
Jeremy Kauffman
6bccb67585 Merge pull request #153 from 6ea86b96/double-fetch-cost
Don't try to fetch cost info if it's already fetching
2017-05-28 11:28:14 -04:00
Jeremy Kauffman
fd093f0a95 Merge pull request #152 from 6ea86b96/file-actions-cost-info
Stop blowing up if user attempts to download before cost info fetched
2017-05-28 11:27:35 -04:00
Intnick
1e311905b8 finalization of i18n setup to i18n branch 2017-05-28 17:25:21 +02:00
Intnick
e8bfd592a6 initial merge 2017-05-28 17:25:21 +02:00
Intnick
59aa56b7ef initial merge 2017-05-28 17:25:21 +02:00
Intnick
d5a4032b9f initial merge 2017-05-28 17:25:21 +02:00
Jeremy Kauffman
08ba2f49f6 Merge pull request #150 from 6ea86b96/reconstructing-message
Add a message for when we're reconstructing a moved/deleted file before playback
2017-05-28 11:24:28 -04:00
Jeremy Kauffman
a8667d18de Merge pull request #148 from 6ea86b96/remove-batching
Turns out that batchActions doesn't play nicely with thunk
2017-05-28 11:24:09 -04:00
6ea86b96
b2b99b31b9 Don't try to fetch cost info if it's already fetching 2017-05-28 19:16:07 +04:00
6ea86b96
37344b3517 Stop blowing up if user attempts to download before cost info fetched 2017-05-28 18:24:10 +04:00
Intnick
b68f24f5fd Merge remote-tracking branch 'upstream/master' 2017-05-28 16:10:47 +02:00
6ea86b96
862d711391 Add a message for when we're reconstructing a moved/deleted file before playback 2017-05-28 17:38:36 +04:00
6ea86b96
3d700f470c Turns out that batchActions doesn't play nicely with thunk 2017-05-28 15:35:11 +04:00
Jeremy Kauffman
89c4402d67 Merge pull request #145 from 6ea86b96/bug/no-cost-info-required
Fix playing videos that were deleted and require no cost info
2017-05-26 16:42:19 -04:00
Mayesters
b41b35de13 Merge branch 'master' into i18n 2017-05-26 22:29:31 +02:00
Mayesters
b124fe8b0f Merge remote-tracking branch 'upstream/master' 2017-05-26 22:28:22 +02:00
Mayesters
01cb3f583e lots of stuff translated 2017-05-26 22:26:06 +02:00
6ea86b96
2bb5f9acc6 Fix playing videos that were deleted and require no cost info 2017-05-26 22:50:43 +04:00
Jeremy Kauffman
d878d3b693 Bump version: 0.11.4rc1 → 0.11.4 2017-05-26 14:26:53 -04:00
Jeremy Kauffman
8ba2e96b24 Bump version: 0.11.3 → 0.11.4rc1 2017-05-26 14:22:15 -04:00
Jeremy Kauffman
2c42097eeb add changelog 2017-05-26 14:21:55 -04:00
Jeremy Kauffman
66bbf30482 fix claim id parameter 2017-05-26 14:19:45 -04:00
Jeremy Kauffman
dff389d8cf Merge pull request #144 from 6ea86b96/bug/cost-info-lookup
Lookup cost info on file page if it hasn't already been looked up
2017-05-26 14:19:16 -04:00
6ea86b96
82bdf6324d Lookup cost info on file page if it hasn't already been looked up 2017-05-26 22:17:01 +04:00
Jeremy Kauffman
526881c261 move up time of rewad claim for downloads 2017-05-26 11:58:56 -04:00
Jeremy Kauffman
ca4442f767 featured download reward 2017-05-26 11:56:32 -04:00
Mayesters
dbb118c8ee Fix small error in merge master -> i18n 2017-05-26 17:30:18 +02:00
Mayesters
636a302e70 Merge branch 'master' into i18n + Windows development batch files 2017-05-26 17:21:52 +02:00
Mayesters
0bf24f3110 Merge remote-tracking branch 'upstream/master' 2017-05-26 17:05:53 +02:00
Intnick
c5df087504 header and tranactionList component translated 2017-05-26 16:19:49 +02:00
Intnick
9ba4da4032 fileListSearch and fileTitle component translated 2017-05-26 16:13:16 +02:00
Jeremy Kauffman
0350dd1610 Bump version: 0.11.3rc1 → 0.11.3 2017-05-26 10:03:56 -04:00
Jeremy Kauffman
05e78eba2d Revert "Bump version: 0.11.3rc1 → 0.11.3"
This reverts commit 94de80a539.
2017-05-26 10:01:28 -04:00
Intnick
73e7419bf2 fileList component translated 2017-05-26 15:55:59 +02:00
Jeremy Kauffman
434485b0aa update changelog 2017-05-26 09:50:02 -04:00
Jeremy Kauffman
94de80a539 Bump version: 0.11.3rc1 → 0.11.3 2017-05-26 09:45:08 -04:00
Jeremy Kauffman
ecc14e0b32 Merge pull request #141 from lbryio/fix-publish-claim-info-format
Fix Publish page to use new claim info format
2017-05-26 09:42:31 -04:00
Jeremy Kauffman
0e90b02516 Bump version: 0.11.2 → 0.11.3rc1 2017-05-26 09:33:07 -04:00
Alex Liebowitz
fc652e221a Fix Publish page to use new claim info format 2017-05-26 04:16:25 -04:00
Intnick
0119ed8edc filaActions and fileCard components translated 2017-05-26 09:02:37 +02:00
Intnick
a000058bf6 page settings, show, wallet, report translated 2017-05-26 08:40:35 +02:00
Jeremy Kauffman
c03f48384e Bump version: 0.11.2rc1 → 0.11.2 2017-05-25 22:57:32 -04:00
Intnick
6bd1dccbb8 search page translated 2017-05-26 02:38:55 +02:00
Intnick
85aa35122e help page trans 2017-05-26 02:27:05 +02:00
Intnick
8917d9e7e7 moved the import of y18n component before some other imports; translations for auth developer 2017-05-26 02:16:25 +02:00
Jeremy Kauffman
3bb08fd987 Bump version: 0.11.1rc1 → 0.11.2rc1 2017-05-25 16:12:22 -04:00
Jeremy Kauffman
58c18b2b7a Merge pull request #135 from 6ea86b96/bug/production-redux-logger
set ENV to production webpack.config.js
2017-05-25 16:09:20 -04:00
Jeremy Kauffman
260980ff38 fix app upgrades? 2017-05-25 16:07:32 -04:00
Jeremy Kauffman
24759b3ab9 Bump version: 0.11.0 → 0.11.1rc1 2017-05-25 15:12:40 -04:00
Jeremy Kauffman
aee0603dc9 fix version info on help 2017-05-25 14:29:28 -04:00
Jeremy Kauffman
a899d623d0 fix reward check on startup 2017-05-25 13:38:53 -04:00
Intnick
df2192116c finalization of i18n setup to i18n branch 2017-05-25 19:31:10 +02:00
Intnick
936b56c472 initial merge 2017-05-25 19:20:04 +02:00
Intnick
d366b45634 initial merge 2017-05-25 19:17:35 +02:00
Intnick
c3df03d4fc initial merge 2017-05-25 19:12:02 +02:00
Jeremy Kauffman
aacdc0c804 Bump version: 0.11.0rc1 → 0.11.0 2017-05-25 11:16:54 -04:00
6ea86b96
96702fdf57 set ENV to production webpack.config.js 2017-05-25 18:52:30 +04:00
Jeremy Kauffman
d1804a07ed Bump version: 0.10.1rc1 → 0.11.0rc1 2017-05-25 09:47:47 -04:00
Jeremy Kauffman
2bd77de776 less strict domain check 2017-05-25 09:43:09 -04:00
Jeremy Kauffman
f4663b42db update daemon url 2017-05-25 08:50:40 -04:00
Jeremy Kauffman
dd305c0a87 correct beta type ;) 2017-05-24 21:13:06 -04:00
Jeremy Kauffman
51a2f4f52e Merge branch 'api-fixes' 2017-05-24 20:10:36 -04:00
Jeremy Kauffman
a8082b0e0d minor style fix 2017-05-24 20:07:38 -04:00
Jeremy Kauffman
946db9a6bc fix uri handling? 2017-05-24 20:07:38 -04:00
Jeremy Kauffman
de0f40bd0b fix installation id 2017-05-24 20:07:38 -04:00
Jeremy Kauffman
5d68da9dba fix access without code 2017-05-24 20:07:38 -04:00
Jeremy Kauffman
0c41cbb823 error and auth fixes 2017-05-24 20:07:38 -04:00
Alex Grintsvayg
6e414c93ce upload builds to s3 2017-05-24 14:46:27 -04:00
Jeremy Kauffman
8ac2bcd638 fix publish prompt 2017-05-23 21:01:38 -04:00
Jeremy Kauffman
e92c72ae16 update daemon version 2017-05-23 16:02:48 -04:00
Jeremy Kauffman
68b8febc93 Merge pull request #131 from lbryio/claim_fix
only try to claim reward for initial claims, not updates
2017-05-23 15:54:11 -04:00
Jeremy Kauffman
a3d98266af fix nsfw 2017-05-23 15:51:58 -04:00
Alex Grintsvayg
d77fc883d1 only try to claim reward for initial claims, not updates 2017-05-23 13:08:32 -04:00
Jeremy Kauffman
9183717354 Merge pull request #129 from 6ea86b96/faster-discover
Some small fixes
2017-05-23 11:43:54 -04:00
6ea86b96
3659c989b8 Display search results immediately if they are in the state 2017-05-23 12:59:35 +04:00
6ea86b96
60f3a07917 remove the uri encoding 2017-05-23 12:49:15 +04:00
6ea86b96
27b9d844b7 Fix navigating back through search results 2017-05-23 12:46:52 +04:00
6ea86b96
1b9d23279c Fix playing videos that have been previously downloaded but then deleted/moved 2017-05-23 11:48:36 +04:00
6ea86b96
e55ba15613 Set ENV in webpack and always log in development 2017-05-23 11:41:26 +04:00
6ea86b96
53efd55890 Fix snackbar 2017-05-23 11:21:21 +04:00
6ea86b96
666674888e batch actions dispatched when daemon is ready 2017-05-22 21:18:24 +04:00
6ea86b96
279f6ff76c No need to set the title in history push 2017-05-22 20:32:25 +04:00
6ea86b96
63dab7a496 Fix going back when there's no state to pop 2017-05-22 19:58:33 +04:00
6ea86b96
720c0bac9f Set page title when changing path 2017-05-22 19:58:17 +04:00
6ea86b96
25bb380976 Display featured content immediately if it's already loaded 2017-05-22 19:22:24 +04:00
Alex Grintsvayg
73c4778a7b Bump version: 0.10.0 → 0.10.1rc1 2017-05-21 19:24:27 -04:00
Jeremy Kauffman
a08a214d34 fix text areas and bug reporting 2017-05-21 18:34:12 -04:00
Jeremy Kauffman
a95ad63c7e Merge pull request #127 from lbryio/redux
Redux
2017-05-21 17:13:42 -04:00
Jeremy Kauffman
7cd84716fd add changelog 2017-05-21 17:09:04 -04:00
Jeremy Kauffman
fe3155ec24 I don't know how to test URI handling without triggering builds :( :( 2017-05-21 16:41:09 -04:00
Jeremy Kauffman
20a4f20562 uri handling 2017-05-21 15:41:26 -04:00
Jeremy Kauffman
4f7e7c6922 debug fixes 2017-05-21 14:07:02 -04:00
Jeremy Kauffman
610188352d trigger build 2017-05-21 12:58:13 -04:00
Jeremy Kauffman
656f6bfaf3 update submodules 2017-05-21 12:44:52 -04:00
Jeremy Kauffman
0936d28e5d minor bug fixes 2017-05-21 12:15:41 -04:00
Jeremy Kauffman
582b479a3e Merge remote-tracking branch 'origin/master' into redux 2017-05-21 10:42:54 -04:00
Jeremy Kauffman
951190bf96 channel and file selector fixes 2017-05-21 10:42:34 -04:00
Jeremy Kauffman
503119aa41 Merge pull request #126 from lbryio/linux-uris-2
Linux URI handling (again)
2017-05-20 10:55:59 -04:00
Alex Liebowitz
4152061f95 Add .desktop file settings to package.json 2017-05-19 22:07:29 -04:00
Jeremy Kauffman
bb16156034 re-enable rewards 2017-05-19 12:17:19 -04:00
Alex Grintsvayg
a79fcdbbd7 add prerelease link 2017-05-19 10:30:13 -04:00
Jeremy Kauffman
d6680a7ae5 Merge branch 'es6-classes' into redux 2017-05-19 09:18:01 -04:00
Jeremy Kauffman
209db5e3d0 Merge branch 'redux' into es6-classes 2017-05-19 09:17:41 -04:00
Jeremy Kauffman
37a4124d4a Merge branch 'file-selector' into redux 2017-05-19 09:11:58 -04:00
Jeremy Kauffman
f60d17f604 Merge branch 'redux' into file-selector 2017-05-19 09:11:32 -04:00
Jeremy Kauffman
3a0506c18b renable discover list 2017-05-18 19:15:54 -04:00
Jeremy Kauffman
9d8fa102ee bug fixes, file info and my claims refactor, list claims in channel 2017-05-18 19:14:26 -04:00
Jeremy Kauffman
900c5cbc2b some progress towards cost and file info refactor, plus other fixes 2017-05-18 13:58:28 -04:00
Alex Liebowitz
09834941ab Convert more callbacks to arrow functions 2017-05-18 04:39:18 -04:00
Alex Liebowitz
3e35d44978 Basics of conversion to ES6 classes 2017-05-18 04:39:18 -04:00
Jeremy Kauffman
3fa4d0dfe7 progress towards fixing settings and costs 2017-05-17 17:52:45 -04:00
Jeremy Kauffman
aa935c1c07 more refactors, fixes 2017-05-15 12:34:33 -04:00
Jeremy Kauffman
6783bcdfeb i'm making things better... right? 2017-05-14 23:50:59 -04:00
Jeremy Kauffman
0fad6864ec let improvements and breaking continue 2017-05-12 18:50:51 -04:00
Jeremy Kauffman
02025bb2dc Merge remote-tracking branch 'origin/master' into redux 2017-05-12 16:49:30 -04:00
Jeremy Kauffman
c823ccd056 fix infinite resolve, add valid uri check 2017-05-12 16:49:15 -04:00
Jeremy Kauffman
57bd67d925 Merge pull request #121 from lbryio/windows-linux-uris
Windows URI handling
2017-05-12 16:46:48 -04:00
Jeremy Kauffman
950f3183cf more bug fixes + optimizations 2017-05-12 14:36:44 -04:00
Jeremy Kauffman
5605b10f54 more bug fixes and bugs 2017-05-12 13:14:06 -04:00
Alex Liebowitz
b44631b5b9 Update changelog 2017-05-12 07:31:33 -04:00
Alex Liebowitz
02f1f0e55b Developer Settings: make compatible with new file field 2017-05-12 07:31:33 -04:00
Alex Liebowitz
b12c9e2744 Settings: Use new "directory" field type for download directory
Before it was using a plain text box (hold-over from when we were
in-browser and couldn't use a directory selector)
2017-05-12 07:31:33 -04:00
Alex Liebowitz
c8f7cb2110 Update FormField to use new Electron file/directory selector 2017-05-12 07:31:33 -04:00
Alex Liebowitz
044d3612c2 Add FileSelector component 2017-05-12 07:31:23 -04:00
Jeremy Kauffman
c1161fc10b mainly more bug fixes 2017-05-11 19:28:43 -04:00
Alex Grintsvayg
df7ce9cc64 api returns fields in lowercase now 2017-05-11 17:44:00 -04:00
Alex Liebowitz
32fd2c2c7a Update changelog 2017-05-11 06:17:37 -04:00
Alex Liebowitz
980a509260 Disable single instance app on Linux for now (Electron bug)
On Linux, app.makeSingleInstance is always returning true (i.e. "this
is not the original process").
2017-05-11 06:17:35 -04:00
Alex Liebowitz
d888707d56 Tweak logic in makeSingleInstance callback 2017-05-11 06:15:39 -04:00
Alex Liebowitz
df46c3f4e5 Undo normalization that Windows does to URIs passed in from other apps 2017-05-11 03:12:24 -04:00
Alex Liebowitz
2b6528ca3e Fix argv.length check in makeSingleInstance callback
Also correct length of argv: with Electron, there's just the
executable, not interpreter + filename.
2017-05-11 03:12:00 -04:00
Alex Liebowitz
856aa28db2 Convert to single-instance app
- Prevents multiple windows from being opens at once
 - Allows for URI launching by capturing argv from second process
2017-05-11 03:09:43 -04:00
Alex Liebowitz
b189b31347 Fix handling for URIs requested before window is open on Windows 2017-05-11 03:02:25 -04:00
Jeremy Kauffman
3c325b2f0a where's the triggers?! also very broken 2017-05-10 20:59:47 -04:00
Alex Liebowitz
d44d5806fd Add setAsDefaultProtocolClient call for Windows 2017-05-10 04:05:55 -04:00
Jeremy Kauffman
d517316554 some progress but also broken show 2017-05-09 23:06:48 -04:00
Jeremy Kauffman
1dedb9873c more fixes but not all of the fixes :( 2017-05-09 21:33:13 -04:00
Jeremy Kauffman
60d298b354 Merge remote-tracking branch 'origin/master' into redux 2017-05-09 16:58:48 -04:00
Jeremy Kauffman
9c02327b26 merge plus some bug fixes 2017-05-09 16:12:48 -04:00
6ea86b96
786f57e787 Fix search results html 2017-05-09 14:33:01 +07:00
6ea86b96
84b86ff8e4 Make FileTile resolve URIs (fixes exact search matching) 2017-05-09 13:38:43 +07:00
Jeremy Kauffman
e4ca14aa47 fix some minor things with search 2017-05-08 18:22:27 -04:00
Jeremy Kauffman
b28b116a24 Merge pull request #116 from lbryio/uri-handling
URI handling (WIP)
2017-05-08 10:11:18 -04:00
Alex Liebowitz
2761ebbd92 Attach did-finish-load event to win.webContents instead of win 2017-05-08 05:22:38 -04:00
Alex Liebowitz
ef4274012f Add better handling for URIs requested during load 2017-05-08 05:04:11 -04:00
Alex Liebowitz
38ea41775b Avoid page reload when loading URIs passed in from other apps 2017-05-08 02:36:48 -04:00
Alex Liebowitz
499fa1214f Fix variable name in open URI callback 2017-05-08 02:33:54 -04:00
Jeremy Kauffman
c0053363ff Merge pull request #118 from 6ea86b96/redux
Redux
2017-05-07 09:02:20 -04:00
6ea86b96
4b5187bc7f Better search 2017-05-07 19:50:32 +07:00
6ea86b96
b19e356a06 Remove wallet new address logging 2017-05-07 16:18:18 +07:00
6ea86b96
e08419e534 Save receive address in localStorage to prevent new receive address creation on
every boot
2017-05-07 16:17:38 +07:00
6ea86b96
58c06e17c9 Fix dashboard loading message 2017-05-07 14:39:13 +07:00
6ea86b96
225921c0a4 Use HTML from master file tile stream 2017-05-07 14:07:40 +07:00
6ea86b96
3085b2d362 A couple of minor history fixes 2017-05-07 00:57:34 +07:00
6ea86b96
d2c97d3460 Back button working properly 2017-05-06 23:31:47 +07:00
6ea86b96
fcea4cb305 Progress on navigation 2017-05-06 14:25:14 +07:00
6ea86b96
fb3d366fe0 Fix upgrading and start on history 2017-05-06 00:05:33 +07:00
Jeremy Kauffman
e4c82ffceb Merge pull request #113 from lbryio/fix-error-modals
Make error modals display full screen properly
2017-05-05 09:00:10 -04:00
Jeremy Kauffman
f5dec02fd9 Merge pull request #114 from lbryio/version-info-logic-fix
Don't try to send version info to render process if window isn't open
2017-05-05 08:59:24 -04:00
Alex Liebowitz
758bb59ccb Add basics of URI handling for Mac and Windows 2017-05-05 05:19:15 -04:00
6ea86b96
89e91c6d8a Add downloaded/published nav and comment out broken reward code 2017-05-05 15:10:51 +07:00
6ea86b96
29c53a9bf8 Search kind of working, but nasty 2017-05-05 15:01:16 +07:00
Alex Liebowitz
9fc2a70ee5 Don't try to send version info to render process if window isn't open 2017-05-05 02:19:52 -04:00
6ea86b96
daabe975e1 Add showPage again. Not 100% sure if it's needed? 2017-05-05 13:13:06 +07:00
6ea86b96
f2490c902f Missed NavSettings 2017-05-05 12:48:15 +07:00
6ea86b96
494d885f31 Use SubHeader for all sub navigation 2017-05-05 12:28:28 +07:00
6ea86b96
ac626ab9f9 File page working 2017-05-05 12:10:37 +07:00
Alex Liebowitz
536c5391fb Make error modals display full screen properly
Was not passing in the generic modal-overlay class. (ExpandableModal
doesn't provide it automatically so you can omit it and make a totally
custom overlay if you want.)
2017-05-05 00:46:10 -04:00
6ea86b96
d7f84caaa4 Add webpack build notifications in dev 2017-05-05 11:28:30 +07:00
6ea86b96
ca2c678301 Merge branch 'redux' of https://github.com/lbryio/lbry-app into redux 2017-05-05 11:15:20 +07:00
Alex Grintsvayg
2cc60fade1 Bump version: 0.10.0rc9 → 0.10.0 2017-05-04 13:54:11 -04:00
Jeremy Kauffman
b70f169256 much progress towards a working merge 2017-05-04 11:59:46 -04:00
Jeremy Kauffman
cfedb4a860 more bug fixes 2017-05-04 11:59:46 -04:00
6ea86b96
3693c36a20 Fix accidental commit 2017-05-04 11:59:46 -04:00
6ea86b96
2b0c9bd17a Switch to https://github.com/Selz/plyr video player (recommended by @fillerino). 2017-05-04 11:59:46 -04:00
6ea86b96
6d913236e1 Fix publish page link in router 2017-05-04 11:59:46 -04:00
6ea86b96
82fd7e25ad Start on publish page 2017-05-04 11:59:46 -04:00
6ea86b96
64dfa70551 Fix for timed out content 2017-05-04 11:59:46 -04:00
6ea86b96
557a2dffc1 File tile stream fixes 2017-05-04 11:59:46 -04:00
6ea86b96
bb6df4169b Get rewards page working 2017-05-04 11:59:46 -04:00
6ea86b96
1c26213fff Refactor UriIndicator 2017-05-04 11:59:46 -04:00
6ea86b96
a5e7843e9c Fix file card stream loading text 2017-05-04 11:59:46 -04:00
6ea86b96
1f22a3353b Add missing DAEMON_READY reducer 2017-05-04 11:59:46 -04:00
6ea86b96
124cc54a77 Jam claim next purchase reward in 2017-05-04 11:59:45 -04:00
6ea86b96
da98d02fb1 Published files working 2017-05-04 11:59:45 -04:00
6ea86b96
8f57420127 Increase deactivate search timeout 2017-05-04 11:59:45 -04:00
6ea86b96
c85228f3a4 Fix purchasing from file actions and allow content to be watched when being
downloaded from file actions download link
2017-05-04 11:59:45 -04:00
6ea86b96
85ad180303 reverse wallet transactions 2017-05-04 11:59:45 -04:00
6ea86b96
d2e7d7f1df Downloaded file list kind of working. Not sure about sort. 2017-05-04 11:59:45 -04:00
6ea86b96
12f965f473 even smarter search 2017-05-04 11:59:45 -04:00
6ea86b96
21818c57a8 Fix NSFW blurring on search and make search show/hide smarter 2017-05-04 11:59:45 -04:00
6ea86b96
b5fbb9b10e More refactoring/fixing of file actions, tiles, etc 2017-05-04 11:59:45 -04:00
6ea86b96
e88f06c17c A bunch of improvements and broken the back of the file rendering code now 2017-05-04 11:59:45 -04:00
6ea86b96
a77370afc9 Refactoring 2017-05-04 11:59:45 -04:00
6ea86b96
3fd48810f1 Add fileinfo to action data when download starts 2017-05-04 11:59:45 -04:00
6ea86b96
3981ca8381 Don't re-render the video player when fileinfo has changed 2017-05-04 11:59:45 -04:00
6ea86b96
f70e90877b Videos playing properly immediately after purchase 2017-05-04 11:59:45 -04:00
6ea86b96
925586f6b1 Playing videos actually working now 2017-05-04 11:59:45 -04:00
6ea86b96
356393330a Playing videos working better 2017-05-04 11:59:45 -04:00
6ea86b96
4754ba3da2 Able to watch already downloaded videos 2017-05-04 11:59:45 -04:00
6ea86b96
99e34343d6 put build back the way it was 2017-05-04 11:59:45 -04:00
6ea86b96
3a050b3b71 Search working 2017-05-04 11:59:45 -04:00
6ea86b96
894ba3d38f webpack-dev-server 2017-05-04 11:59:45 -04:00
6ea86b96
1fd94e7902 Working on search 2017-05-04 11:59:45 -04:00
6ea86b96
6abb7bfe92 Loading show page content fast, resolving cost and file info.
Rewards and uploaded/downloaded files currently broken
2017-05-04 11:59:45 -04:00
6ea86b96
cfb4c13f70 Starting on downloaded/published content 2017-05-04 11:59:45 -04:00
6ea86b96
393aa9129c Featured content 2017-05-04 11:59:45 -04:00
6ea86b96
cb5067dce3 Progress on featured content 2017-05-04 11:59:45 -04:00
6ea86b96
cf0fd96ed8 Progress on sending transactions 2017-05-04 11:59:45 -04:00
6ea86b96
1a8929f8d6 Some transactions cleanup and starting on sending 2017-05-04 11:59:45 -04:00
6ea86b96
ef3a2b3ddf Check address ownership 2017-05-04 11:59:45 -04:00
6ea86b96
763dd6197e Fix for generating a wallet address on load 2017-05-04 11:59:45 -04:00
6ea86b96
da9d29ed6a Quick hack to speed up local building 2017-05-04 11:59:45 -04:00
6ea86b96
b90e35355d Wallet progress 2017-05-04 11:59:45 -04:00
Jeremy Kauffman
66b07c1922 watch page is ded 2017-05-04 11:59:45 -04:00
Jeremy Kauffman
57fbd2bd7a remove console 2017-05-04 11:59:45 -04:00
Jeremy Kauffman
28d0d00a7f fix drawer highlight and drawer balance 2017-05-04 11:59:45 -04:00
6ea86b96
8cae067876 Redux proof of concept 2017-05-04 11:59:45 -04:00
6ea86b96
ff9441b955 Redux proof of concept 2017-05-04 11:59:45 -04:00
Alex Grintsvayg
d7694d2775 Bump version: 0.10.0rc8 → 0.10.0rc9 2017-05-04 11:51:47 -04:00
Alex Grintsvayg
ac21cdbee4 update daemon 2017-05-04 11:50:42 -04:00
Jeremy Kauffman
36a992343f much progress towards a working merge 2017-05-03 23:44:08 -04:00
Alex Grintsvayg
a450d294ca fix arg name 2017-05-03 13:56:39 -04:00
Alex Grintsvayg
82561e3aaf update daemon url, remove redundant brackets around jsonrpc params 2017-05-03 13:54:36 -04:00
Jeremy Kauffman
d94ef70f60 more bug fixes 2017-05-02 19:49:02 -04:00
6ea86b96
2ad50aa00d Fix accidental commit 2017-05-02 19:43:34 -04:00
6ea86b96
e1e172a11e Switch to https://github.com/Selz/plyr video player (recommended by @fillerino). 2017-05-02 19:43:34 -04:00
6ea86b96
44ad47c05f Fix publish page link in router 2017-05-02 19:41:37 -04:00
6ea86b96
d87fc4b09a Start on publish page 2017-05-02 19:41:37 -04:00
6ea86b96
513555e402 Fix for timed out content 2017-05-02 19:40:42 -04:00
6ea86b96
6d35eb69c5 File tile stream fixes 2017-05-02 19:40:42 -04:00
6ea86b96
001d5e21f1 Get rewards page working 2017-05-02 19:40:42 -04:00
6ea86b96
b97703dc3c Refactor UriIndicator 2017-05-02 19:38:14 -04:00
6ea86b96
2547d85751 Fix file card stream loading text 2017-05-02 19:37:15 -04:00
6ea86b96
bf5fa75892 Add missing DAEMON_READY reducer 2017-05-02 19:36:31 -04:00
6ea86b96
63c3af32f8 Jam claim next purchase reward in 2017-05-02 19:36:31 -04:00
6ea86b96
3c31a9fca1 Published files working 2017-05-02 19:36:31 -04:00
6ea86b96
84a2f48c24 Increase deactivate search timeout 2017-05-02 19:35:59 -04:00
6ea86b96
1d549ff258 Fix purchasing from file actions and allow content to be watched when being
downloaded from file actions download link
2017-05-02 19:35:59 -04:00
6ea86b96
bef2f87efd reverse wallet transactions 2017-05-02 19:35:59 -04:00
6ea86b96
7a6dd93886 Downloaded file list kind of working. Not sure about sort. 2017-05-02 19:35:59 -04:00
6ea86b96
8c09469858 even smarter search 2017-05-02 19:35:22 -04:00
6ea86b96
e1d23667bc Fix NSFW blurring on search and make search show/hide smarter 2017-05-02 19:35:22 -04:00
6ea86b96
1d16c73cf4 More refactoring/fixing of file actions, tiles, etc 2017-05-02 19:34:01 -04:00
6ea86b96
f08ce3d300 A bunch of improvements and broken the back of the file rendering code now 2017-05-02 19:31:34 -04:00
6ea86b96
b0f32aebc7 Refactoring 2017-05-02 19:30:28 -04:00
6ea86b96
0419b0eb24 Add fileinfo to action data when download starts 2017-05-02 19:29:20 -04:00
6ea86b96
f3aefe4341 Don't re-render the video player when fileinfo has changed 2017-05-02 19:29:20 -04:00
6ea86b96
13008f5f31 Videos playing properly immediately after purchase 2017-05-02 19:29:10 -04:00
6ea86b96
0d658b2767 Playing videos actually working now 2017-05-02 19:27:57 -04:00
6ea86b96
e0b78368ab Playing videos working better 2017-05-02 19:25:06 -04:00
6ea86b96
674fafd31a Able to watch already downloaded videos 2017-05-02 19:23:52 -04:00
6ea86b96
31513cc1a7 put build back the way it was 2017-05-02 19:22:44 -04:00
6ea86b96
67b79fc3a0 Search working 2017-05-02 19:22:44 -04:00
6ea86b96
a9b7e8e45f webpack-dev-server 2017-05-02 19:20:53 -04:00
6ea86b96
768326fb4a Working on search 2017-05-02 19:20:53 -04:00
6ea86b96
bb9a71805b Loading show page content fast, resolving cost and file info.
Rewards and uploaded/downloaded files currently broken
2017-05-02 19:16:42 -04:00
6ea86b96
6c4ad8cee9 Starting on downloaded/published content 2017-05-02 19:13:01 -04:00
6ea86b96
5c3772dc86 Featured content 2017-05-02 19:10:35 -04:00
6ea86b96
ecd2063fed Progress on featured content 2017-05-02 19:07:46 -04:00
6ea86b96
4fe3fe5dcb Progress on sending transactions 2017-05-02 18:47:03 -04:00
6ea86b96
4c07198b03 Some transactions cleanup and starting on sending 2017-05-02 18:47:03 -04:00
6ea86b96
823a936c19 Check address ownership 2017-05-02 18:47:03 -04:00
6ea86b96
bd103ee956 Fix for generating a wallet address on load 2017-05-02 18:47:03 -04:00
6ea86b96
573d85c302 Quick hack to speed up local building 2017-05-02 18:47:03 -04:00
6ea86b96
089572880f Wallet progress 2017-05-02 18:47:03 -04:00
Jeremy Kauffman
cee2f2a626 watch page is ded 2017-05-02 18:37:54 -04:00
Jeremy Kauffman
a123ace686 remove console 2017-05-02 18:37:54 -04:00
Jeremy Kauffman
d5b411b572 fix drawer highlight and drawer balance 2017-05-02 18:37:54 -04:00
6ea86b96
3d5e1db5e3 Redux proof of concept 2017-05-02 18:37:19 -04:00
6ea86b96
0d3647c709 Redux proof of concept 2017-05-02 18:24:21 -04:00
Alex Grintsvayg
d160710d20 Bump version: 0.10.0rc7 → 0.10.0rc8 2017-05-02 10:43:56 -04:00
Jeremy Kauffman
99405578af Merge pull request #111 from lbryio/wunderbar
Wunderbar
2017-05-02 10:31:12 -04:00
Jeremy Kauffman
9539a243b7 update changelog 2017-05-02 10:30:51 -04:00
Jeremy Kauffman
ea5d85954f a few missed behaviors 2017-05-02 10:21:33 -04:00
Jeremy Kauffman
13e198f20e releasable? 2017-05-02 10:21:33 -04:00
Jeremy Kauffman
59da42a84b show refactor and fixes 2017-05-02 10:21:33 -04:00
Jeremy Kauffman
3f923550f1 fixes, channel page stubs 2017-05-02 10:21:33 -04:00
Jeremy Kauffman
5b11c2575a still not quite releasable, but much progress 2017-05-02 10:21:33 -04:00
Jeremy Kauffman
da538a7a23 many bug fixes, working back button, progress towards working search 2017-05-02 10:21:33 -04:00
Alex Liebowitz
0b8d9e3d82 Simplify state management of viewing page
Explicitly set the page being viewed to "discover" instead of just
rendering the discover page if none is set.

Eliminates several real or possible bugs and edge cases.
2017-05-02 10:21:33 -04:00
Alex Liebowitz
a82ee8a2d5 Fix refreshing behavior on new input in WunderBar
Before, <WunderBar /> would compare the address inside it to the page
address passed in by <Header /> to determine if there was a page change.
This would cause user input to be replaced with "Home" when typing a
search, since during a search the page address is always "Home," not
the query.

Now it simply checks if the page being viewed has changed.
2017-05-02 10:21:33 -04:00
Alex Liebowitz
e42252507b Minor style fixes 2017-05-02 10:21:33 -04:00
Jeremy Kauffman
543b912ddb more cleanup / restoration 2017-05-02 10:21:33 -04:00
Jeremy Kauffman
71771aeb6f it's not the worst thing I've ever done 2017-05-02 10:21:33 -04:00
Jeremy Kauffman
77e8722b9b Merge pull request #108 from lbryio/fix-welcome-final-dialog
Make final dialog of auth process close properly
2017-05-02 10:20:13 -04:00
Jeremy Kauffman
5c2ca72ef8 Merge pull request #109 from lbryio/add-select-all
Add Select All option to Edit menu
2017-05-02 10:19:49 -04:00
Alex Grintsvayg
6fed6304b3 bump daemon version 2017-05-02 10:06:53 -04:00
Alex Liebowitz
9a26078e34 Add Select All option to Edit menu 2017-05-02 03:47:41 -04:00
Alex Liebowitz
778289a2b1 Make final dialog of auth process close properly 2017-05-02 03:29:03 -04:00
Josh Finer
ac8a64f5e5 Update publish.js
Raise default minimum bid
2017-04-30 14:39:29 -04:00
alexliebowitz
1f85715038 Merge pull request #103 from MaxiBoether/patch-1
Removed .bind() from lambda
2017-04-29 23:48:51 -04:00
Alex Liebowitz
0ffb0fd4d7 Replace all uses of bind() with arrow functions 2017-04-29 22:05:47 -04:00
MaxiBoether
95cb2baab2 Removed .bind() from lambda
wallet.js did not compile with .bind after the lambda function, and after talking in #dev in Gitter we came to the conclusion to just remove the bind as it's not necessary
2017-04-29 18:28:33 +02:00
Alex Grintsvayg
2bd12a9ecd Bump version: 0.10.0rc6 → 0.10.0rc7 2017-04-28 10:29:05 -04:00
alexliebowitz
e83118a34b Merge pull request #91 from lbryio/handle-version-in-electron
Move version checking into Electron
2017-04-28 03:24:10 -04:00
Alex Liebowitz
3648554f48 Move semver dependency into app directory 2017-04-28 03:14:58 -04:00
Jeremy Kauffman
7f2c6992f2 Merge pull request #98 from lbryio/conserve_wallet_addresses
prefer wallet_unused_address over wallet_new_address
2017-04-27 17:01:46 -04:00
Alex Grintsvayg
e06c2320e1 prefer wallet_unused_address over wallet_new_address 2017-04-27 14:18:59 -04:00
Alex Grintsvayg
63da853ba7 rename share_usage_stats setting 2017-04-27 08:40:29 -04:00
Alex Liebowitz
9348d4d912 Move version checking into Electron 2017-04-27 02:58:34 -04:00
Jeremy Kauffman
88720903f4 add missing initial value for array reduce call 2017-04-25 21:22:44 -04:00
Alex Grintsvayg
adb42b2c75 more changelog sections 2017-04-25 16:57:01 -04:00
Alex Grintsvayg
092a018d63 Bump version: 0.10.0rc5 → 0.10.0rc6 2017-04-25 15:57:40 -04:00
Alex Grintsvayg
066f96cf8a show daemon version before releasing 2017-04-25 15:57:31 -04:00
Alex Grintsvayg
846382ad8b latest daemon version 2017-04-25 15:48:45 -04:00
Alex Grintsvayg
a1198059ac enable windows code signing 2017-04-25 15:13:01 -04:00
Alex Grintsvayg
e005289967 more lighthouses 2017-04-24 15:53:39 -04:00
Alex Grin
41690bc3d1 Merge pull request #52 from addobandre/patch-1
Fix .appveyor.yml link in README.md
2017-04-22 10:42:28 -04:00
André Breda
8b2a388252 Fix .appveyor.yml link in README.md
Someone seems to have forgotten a dot in the URL.
2017-04-22 15:21:04 +01:00
Alex Grintsvayg
1573662a06 check that daemon_url works before releasing 2017-04-21 19:01:07 -04:00
Alex Grintsvayg
10580729f8 stop the stupid version rewriting 2017-04-21 13:09:02 -04:00
Jeremy Kauffman
b2dd790d4c fix overly aggressive balance checking 2017-04-20 20:31:52 -04:00
Jeremy Kauffman
f2d6bc3dcf fix search result uri building and empty array reduce warning 2017-04-20 19:26:29 -04:00
Jeremy Kauffman
a8d85d7c1d allow anyone with lbc into early access 2017-04-20 10:45:45 -04:00
Jeremy Kauffman
e73f367045 always show title on mouseover 2017-04-20 10:45:45 -04:00
Alex Grintsvayg
38fdf56583 rewrite release.py script 2017-04-19 15:38:41 -04:00
Alex Grintsvayg
2e9e0f129b run daemon install even in local build 2017-04-19 15:16:29 -04:00
Alex Grintsvayg
1853c688da update to a more recent daemon 2017-04-19 15:13:14 -04:00
Alex Grintsvayg
bfbc443e54 delete submodules 2017-04-19 15:09:44 -04:00
Alex Grintsvayg
37c747cb38 Merge branch 'build'
* build:
  external daemon, no more submodules
2017-04-19 15:05:43 -04:00
Alex Grintsvayg
451300e694 external daemon, no more submodules 2017-04-19 15:04:46 -04:00
Jeremy Kauffman
a66a5edc67 Merge pull request #49 from lbryio/uri-improvements
Improve URI module
2017-04-19 14:11:44 -04:00
Alex Liebowitz
ca6d55da21 Add special support for building channel claims in lbryuri module
Extends lbryuri.build() and lbryuri.parse() to support special
keys, contentName and channelName. These put the right values in the
"name" and "path" position for both anonymous claims and channel
content claims, which lets us write code that can deal with either type
without special logic.
2017-04-19 14:06:29 -04:00
Alex Grintsvayg
daf621e662 Bump version: 0.10.0rc4 → 0.10.0rc5 2017-04-18 17:27:33 -04:00
Jeremy Kauffman
395a48980d world's worst loading screen was truly the worst 2017-04-18 17:02:21 -04:00
Jeremy Kauffman
90e6f16e82 handle duplicate emails 2017-04-18 16:51:00 -04:00
Jeremy Kauffman
2e2805fc47 Fix config values 2017-04-18 15:54:16 -04:00
Jeremy Kauffman
b30bfd9f61 auth fix and partial other auth fix 2017-04-18 15:45:15 -04:00
Alex Liebowitz
7a4e9ad656 Rename uri module and its functions 2017-04-18 15:14:56 -04:00
alexliebowitz
5c65d83f7d Merge pull request #47 from lbryio/new-search
Discover: update search to use new format from Lighthouse
2017-04-17 19:23:09 -04:00
Alex Liebowitz
3ac31df63f Discover: update search to use new format from Lighthouse 2017-04-17 19:13:20 -04:00
Jeremy Kauffman
b3d1439870 render tiles before they load 2017-04-17 17:51:18 -04:00
Alex Liebowitz
e01c8268a7 Bump version: 0.10.0rc3 → 0.10.0rc4 2017-04-17 17:31:19 -04:00
alexliebowitz
36a550e447 Merge pull request #45 from lbryio/download-fixes
Improvements to watch and download process
2017-04-17 17:29:02 -04:00
Alex Liebowitz
277ba8249d Update changelog for price loading changes 2017-04-17 17:28:48 -04:00
Alex Liebowitz
b65753d543 Update submodules 2017-04-17 17:26:36 -04:00
Alex Liebowitz
757ab11779 Compute cost estimate on client side when possible 2017-04-17 17:21:35 -04:00
Alex Liebowitz
9b4ebbab0f Add caching wrapper for settings_get API method 2017-04-17 17:21:34 -04:00
Alex Liebowitz
cf1107050d Show: prevent prompt for purchase if user already has a copy 2017-04-17 17:20:25 -04:00
Alex Liebowitz
bbab1f064a Show: don't display price if file is already downloaded 2017-04-17 17:20:25 -04:00
Alex Liebowitz
94b60beebc Update download notice modal to include price 2017-04-17 17:20:24 -04:00
Alex Liebowitz
5fe9f076eb Update handling of file prices
- Until Lighthouse results come back, display just the key fee
 - Add support for displaying prices without special formatting
 - Refactor and simplify FilePrice and CreditAmount
2017-04-17 17:19:19 -04:00
Alex Liebowitz
7644566ef5 Add ability to display non-styled prices and credit amounts 2017-04-17 17:19:18 -04:00
Jeremy Kauffman
c252c757b0 minor changes 2017-04-17 16:45:51 -04:00
Jeremy Kauffman
0b17ca6043 stop opening dev toolbar 2017-04-17 14:39:13 -04:00
Alex Grintsvayg
1aa78c8029 Bump version: 0.10.0rc2 → 0.10.0rc3 2017-04-17 12:37:37 -04:00
Alex Grintsvayg
4e1102cf58 new lighthouse server 2017-04-17 12:37:25 -04:00
Alex Grintsvayg
501f26e210 Bump version: 0.10.0rc1 → 0.10.0rc2 2017-04-17 10:46:37 -04:00
Alex Grintsvayg
683849046b enable early access in build 2017-04-17 10:46:09 -04:00
Alex Grintsvayg
be339d904c update submodules 2017-04-17 10:45:56 -04:00
Jeremy Kauffman
deb214224e update changelog 2017-04-17 10:05:11 -04:00
Jeremy Kauffman
83f25475e7 Merge pull request #46 from lbryio/rewards
Early Access app
2017-04-17 10:02:52 -04:00
Jeremy Kauffman
6603bb4cd2 allow discover if lbryio is disabled 2017-04-17 10:01:33 -04:00
Jeremy Kauffman
a937534a8b disable lbryio 2017-04-17 09:47:38 -04:00
Jeremy Kauffman
581be8c429 disable lbryio 2017-04-17 09:47:38 -04:00
Jeremy Kauffman
e9c8abd307 rewards flow changes 2017-04-17 09:47:38 -04:00
Jeremy Kauffman
8d67d36ad9 views, rewards, fixes for no api, other fixes 2017-04-17 09:47:38 -04:00
Alex Liebowitz
9532f8b29a Publish: improve state management of names
Save the new name as soon as it's entered instead of after resolution,
so that it's possible to publish before the results from resolve()
and claim_list_mine() come back.
2017-04-17 09:47:38 -04:00
Alex Liebowitz
d926967e49 Correct and simplify metadata processing in dummy pending publishes 2017-04-17 09:47:38 -04:00
Jeremy Kauffman
9b4d8ec266 more show/purchase work 2017-04-17 09:47:38 -04:00
Alex Liebowitz
300264e364 Publish: add Terms of Service agreement field 2017-04-17 09:47:38 -04:00
Jeremy Kauffman
280f98902c closer to real watch 2017-04-17 09:47:38 -04:00
Jeremy Kauffman
3b29be467b turn off things 2017-04-17 09:47:38 -04:00
Alex Liebowitz
62db745c38 Publish: convert nsfw field to submit a boolean 2017-04-17 09:47:37 -04:00
Alex Liebowitz
83f43ab54f More improvements for better compatibility with new claim format
- Update Pending Files cache to match format more closely
 - Except null instead of string for pending publishes
2017-04-17 09:47:37 -04:00
Jeremy Kauffman
736d769fa6 minor fixes, cost cache 2017-04-17 09:47:37 -04:00
Jeremy Kauffman
e3222c853a fix merge 2017-04-17 09:47:37 -04:00
Jeremy Kauffman
c8c97e97ca update 2017-04-17 09:47:37 -04:00
Alex Liebowitz
dabedf38a1 Update and refactor pending publish caching system for channels 2017-04-17 09:46:51 -04:00
Alex Liebowitz
b9f0ed2f5b Refactor lbry.getCostInfo() 2017-04-17 09:46:51 -04:00
Alex Liebowitz
d3258d9de6 Convert lbry.getCostInfo() to use URIs 2017-04-17 09:46:51 -04:00
Alex Liebowitz
dce87e9079 Switch name check to URI check in lbry.getCostInfo() 2017-04-17 09:46:51 -04:00
Jeremy Kauffman
b38998dc18 more fixes 2017-04-17 09:46:51 -04:00
Jeremy Kauffman
a5d1695084 more tweaks and turn off auth 2017-04-17 09:46:51 -04:00
Jeremy Kauffman
cb4af24cd7 more clean up and fixes 2017-04-17 09:46:51 -04:00
Jeremy Kauffman
0313ba941a approaching acceptable 2017-04-17 09:46:51 -04:00
Jeremy Kauffman
0ba69ff32b stashed cleanup 2017-04-17 09:46:51 -04:00
Jeremy Kauffman
029b0b9c3a more 2017-04-17 09:46:51 -04:00
Jeremy Kauffman
cbb3da2795 rebase fix 1 of n 2017-04-17 09:46:51 -04:00
Jeremy Kauffman
ecf54f400b mostly garbage 2017-04-17 09:46:51 -04:00
Jeremy Kauffman
575db85477 so far 2017-04-17 09:46:51 -04:00
Alex Liebowitz
498618e39b More revisions to Welcome screen
- Eliminate intro page
 - Add "verify email" page
 - Move buttons into individual components
 - Claim reward (not handling reporting success/failure yet)
2017-04-17 09:46:51 -04:00
Alex Liebowitz
326d066353 Fixes to Email page
Still not actually working (doing it in the welcome screen right
now)
2017-04-17 09:46:51 -04:00
Alex Liebowitz
26aba5fb04 Random corrections and style fixes 2017-04-17 09:46:51 -04:00
Alex Liebowitz
e47f86bbfe Add mock for reward/new action 2017-04-17 09:46:51 -04:00
Alex Liebowitz
647eb80eef Add wrapper code for creating rewards
Calls the API and displays notices for success and errors
2017-04-17 09:46:51 -04:00
Alex Liebowitz
7b7e361bdd Add notification bar
Used for displaying global info (e.g. "you just got a reward.")
Can be displayed from anywhere in the app using events.
2017-04-17 09:46:51 -04:00
Alex Liebowitz
b975fab1bb Add email section to Welcome screen 2017-04-17 09:46:51 -04:00
Alex Liebowitz
70d2f7c823 Add auth to lbryio.js 2017-04-17 09:46:51 -04:00
Alex Liebowitz
1dbbf8fc01 Style tweaks 2017-04-17 09:46:51 -04:00
Alex Liebowitz
e0f05f43a6 Log requests and responses in lbryio module 2017-04-17 09:46:51 -04:00
Alex Liebowitz
7f8bf8a2e2 Add Welcome screen 2017-04-17 09:46:51 -04:00
Alex Liebowitz
3727e275c4 Update registration logic and move to app.js 2017-04-17 09:46:51 -04:00
Alex Liebowitz
5587d2f0f5 Convert Register page to Email page 2017-04-17 09:46:51 -04:00
Alex Liebowitz
8964398c2e Register page fixes 2017-04-17 09:46:51 -04:00
Alex Liebowitz
98b38855a2 Progress toward register page 2017-04-17 09:46:51 -04:00
Alex Liebowitz
b074242783 Quick cleanup in main.js
Friends don't let friends mix tabs and spaces
2017-04-17 09:46:51 -04:00
Alex Liebowitz
892607174a Reward: style and formatting tweaks 2017-04-17 09:46:51 -04:00
Alex Liebowitz
3749e0393a Reward: add error handling
Also adds Notice component
2017-04-17 09:46:51 -04:00
Alex Liebowitz
8299e229fd Improve lbry.io API code
- Send as form data
 - Handle errors better
2017-04-17 09:46:51 -04:00
Alex Liebowitz
c374a59af8 Add access token and wallet address to GitHub reward 2017-04-17 09:46:50 -04:00
Alex Liebowitz
6cc2892399 More progress on Rewards
* Add wrapper for lbry.io API
 * View and basic logic for GitHub reward (not working yet)
2017-04-17 09:46:50 -04:00
Alex Liebowitz
c5d4941535 Basic views for reward and reward list pages 2017-04-17 09:46:50 -04:00
Jeremy Kauffman
2614c6f7eb Merge pull request #40 from lbryio/shutdown-fixes-2
Improve shutdown process
2017-04-14 09:47:16 -04:00
Alex Liebowitz
8614276f0c Improve shutdown process 2017-04-13 17:32:59 -04:00
Alex Grintsvayg
64387a5215 Bump version: 0.9.2rc24 → 0.10.0rc1 2017-04-13 13:15:26 -04:00
Alex Grintsvayg
e1ff7c4934 update submodules 2017-04-13 13:14:48 -04:00
Alex Grintsvayg
37f66d9144 Bump version: 0.9.2rc23 → 0.9.2rc24 2017-04-12 18:51:06 -04:00
Jack Robison
690d3eb487 Bump version: 0.9.2rc22 → 0.9.2rc23 2017-04-12 18:13:26 -04:00
Jack Robison
11ca9dbc51 update submodule 2017-04-12 18:13:13 -04:00
Alex Grintsvayg
e6b208ebb4 Bump version: 0.9.2rc21 → 0.9.2rc22 2017-04-12 15:23:09 -04:00
Alex Grintsvayg
1d10068393 Bump version: 0.9.2rc20 → 0.9.2rc21 2017-04-12 12:25:56 -04:00
Alex Grintsvayg
64477c3e5e disabled daemon upload prematurely 2017-04-12 12:25:18 -04:00
Alex Grintsvayg
a8242bf7b2 Bump version: 0.9.2rc19 → 0.9.2rc20 2017-04-12 11:46:04 -04:00
Alex Grintsvayg
7e1ca07073 Bump version: 0.9.2rc18 → 0.9.2rc19 2017-04-12 11:05:11 -04:00
Jack Robison
8dca65f135 Bump version: 0.9.2rc17 → 0.9.2rc18 2017-04-11 19:31:05 -04:00
Jack Robison
7c2a60798c Bump version: 0.9.2rc16 → 0.9.2rc17 2017-04-11 19:31:01 -04:00
Jack Robison
60e3f3d12b Bump version: 0.9.2rc15 → 0.9.2rc16 2017-04-11 19:30:52 -04:00
Jack Robison
8e36608508 update submodules 2017-04-11 19:29:42 -04:00
alexliebowitz
4af89b4685 Merge pull request #36 from lbryio/channels
More Channels fixes
2017-04-11 00:36:26 -04:00
Alex Liebowitz
a7050303c2 My Files: pass signing info into file tiles 2017-04-11 00:21:08 -04:00
Alex Liebowitz
d7644c0394 My Files: include channel names in URIs 2017-04-11 00:15:50 -04:00
Alex Liebowitz
5577b436d3 Use resolve API method on splash screen 2017-04-11 00:14:52 -04:00
Alex Liebowitz
c49d229eef Publish: name resolution bugfixes 2017-04-11 00:12:34 -04:00
Alex Liebowitz
f64ad6e169 Fix merging error in FileActions 2017-04-10 22:42:20 -04:00
alexliebowitz
4a712c8102 Merge pull request #35 from lbryio/channels
Channels, round 3
2017-04-10 21:58:53 -04:00
Alex Liebowitz
7e8fdf625f Style fixes and cleanup
- Remove a couple of unused files from lbry.js
 - Couple of style fixes
2017-04-10 21:55:35 -04:00
Alex Liebowitz
326493c0b7 Publish: use new discover() RPC method 2017-04-10 21:55:35 -04:00
Alex Liebowitz
562f7dd399 Update Watch page for channels 2017-04-10 21:55:35 -04:00
Alex Liebowitz
a80b2da5c2 Update Show page for channels 2017-04-10 21:55:34 -04:00
Alex Liebowitz
f8e3eff378 Update My Files for channel compatibility 2017-04-10 21:55:34 -04:00
Alex Liebowitz
3b72938b74 Refactor file tiles to be compatible with channels 2017-04-10 21:55:34 -04:00
Alex Liebowitz
af32951d1f Add uri.normalizeLbryUri() 2017-04-10 21:51:57 -04:00
Alex Liebowitz
839e629362 Fix bid position and claim sequence regexes 2017-04-10 21:51:57 -04:00
Alex Grintsvayg
96bd8285f4 build is done in lbry repo now 2017-04-10 18:02:22 -04:00
Alex Grintsvayg
5ce9319b07 switch to get_unused_address whe loading wallet page 2017-04-10 18:02:22 -04:00
Jack Robison
bb6a297606 Bump version: 0.9.2rc14 → 0.9.2rc15 2017-04-10 14:36:21 -04:00
Jack Robison
c070f1863b update submodules 2017-04-10 14:36:21 -04:00
Alex Grintsvayg
096659bc90 fix availability call 2017-04-10 13:19:11 -04:00
Jack Robison
7327b03c7f Bump version: 0.9.2rc13 → 0.9.2rc14 2017-04-10 11:13:13 -04:00
Jack Robison
678d02819f update submodules 2017-04-10 11:12:37 -04:00
Jack Robison
79bfeadd18 Bump version: 0.9.2rc12 → 0.9.2rc13 2017-04-10 10:05:46 -04:00
Jack Robison
a1f14cefa1 update submodules 2017-04-10 10:05:46 -04:00
alexliebowitz
3edd8d837c Merge pull request #34 from lbryio/channels
Channels, round 2
2017-04-10 04:10:05 -04:00
Alex Liebowitz
797f9eafdc Publish: Add rudimentary error handling when creating new channels 2017-04-10 04:09:01 -04:00
Alex Liebowitz
6c68eb5e2b Publish: Add length check for new channel names 2017-04-10 04:08:43 -04:00
Alex Liebowitz
a9cb0abcc6 Publish: Rename "None" new channel option to "Anonymous" 2017-04-10 04:07:48 -04:00
Alex Liebowitz
b599e5343c Publish: wait for new channel to appear before updating list 2017-04-10 04:06:15 -04:00
Jack Robison
1963556566 Bump version: 0.9.2rc11 → 0.9.2rc12 2017-04-09 21:54:19 -04:00
Jack Robison
697d75746d update submodules 2017-04-09 21:54:08 -04:00
Jack Robison
857cd174ed Bump version: 0.9.2rc10 → 0.9.2rc11 2017-04-09 17:56:41 -04:00
Jack Robison
b186f5e511 update submodules 2017-04-09 17:56:29 -04:00
Jack Robison
b921e71b9e Bump version: 0.9.2rc9 → 0.9.2rc10 2017-04-09 00:04:08 -04:00
Jack Robison
846eb36adc update lbryum 2017-04-09 00:03:57 -04:00
Alex Grintsvayg
85a81d753b Bump version: 0.9.2rc8 → 0.9.2rc9 2017-04-08 19:24:24 -04:00
Alex Grintsvayg
9eecb78dad update submodules 2017-04-08 19:23:58 -04:00
Alex Grintsvayg
f83ac641c6 Merge remote-tracking branch 'origin/channels'
* origin/channels:
  Publish: add ability to choose and create channels
  Add new channel auth status indicator to file tiles
  Add channel indicator component
  Add functions for building and parsing new-style URIs
2017-04-08 19:21:35 -04:00
Alex Liebowitz
f91653ff2d Publish: add ability to choose and create channels 2017-04-08 08:37:27 -04:00
Alex Liebowitz
461f5f95d9 Add new channel auth status indicator to file tiles 2017-04-08 08:37:27 -04:00
Alex Liebowitz
3e2b675e7b Add channel indicator component 2017-04-08 08:37:27 -04:00
Alex Liebowitz
af6981c164 Add functions for building and parsing new-style URIs 2017-04-08 08:37:03 -04:00
Alex Grintsvayg
3c380d380d Bump version: 0.9.2rc7 → 0.9.2rc8 2017-04-06 19:14:19 -04:00
Alex Grintsvayg
e2b65ed3ce final touches on unifying requirements files 2017-04-06 19:11:36 -04:00
Alex Grintsvayg
e4e20f4b1b Bump version: 0.9.2rc6 → 0.9.2rc7 2017-04-06 18:55:07 -04:00
Alex Grintsvayg
a8a1d95762 grin is bad at powershell 2017-04-06 18:54:56 -04:00
Alex Grintsvayg
32f54f18c8 Bump version: 0.9.2rc5 → 0.9.2rc6 2017-04-06 18:39:50 -04:00
Alex Grintsvayg
487cccdc99 fixes for windows 2017-04-06 18:38:18 -04:00
Alex Grintsvayg
33dbd94402 Bump version: 0.9.2rc4 → 0.9.2rc5 2017-04-06 18:16:47 -04:00
Alex Grintsvayg
4c27cbb9b7 fix outdated daemon dependencies 2017-04-06 18:16:24 -04:00
Alex Grintsvayg
8ac55020bf Bump version: 0.9.2rc3 → 0.9.2rc4 2017-04-06 17:50:40 -04:00
Alex Grintsvayg
56e9e33e99 update submodule 2017-04-06 17:47:42 -04:00
Alex Grintsvayg
122e5ccc16 Bump version: 0.9.2rc2 → 0.9.2rc3 2017-03-29 11:10:57 -04:00
Alex Grintsvayg
500635bafb update submodules 2017-03-29 11:10:04 -04:00
Alex Grintsvayg
d1314ccee1 renamed config value 2017-03-29 11:07:29 -04:00
Alex Grin
8d6337dca8 Update README.md 2017-03-28 12:05:17 -04:00
alexliebowitz
b3aa61cf47 Merge pull request #14 from lbryio/publish-cache
Make publishes appear immediately in My Files
2017-03-28 02:26:45 -04:00
Alex Grintsvayg
afeb3257be Merge branch 'shutdown-fixes'
* shutdown-fixes:
  Add changelog entry for shutdown improvements
  Tweak shutdown logic
  Finish Windows compatibility for shutdown process
2017-03-27 16:48:37 -04:00
Alex Liebowitz
e1f9a46f33 Add changelog entry for shutdown improvements 2017-03-27 16:48:28 -04:00
Alex Liebowitz
4b11525bce Tweak shutdown logic 2017-03-27 16:48:28 -04:00
Alex Liebowitz
70da416ca2 Finish Windows compatibility for shutdown process 2017-03-27 16:48:28 -04:00
Jeremy Kauffman
f409c5f3ec Merge pull request #25 from lbryio/fast_pages
make page changes fast
2017-03-27 09:46:53 -04:00
Jeremy Kauffman
2a0cf1d6db Merge branch 'master' into fast_pages 2017-03-27 09:46:47 -04:00
Alex Liebowitz
b2fcdd1f9a Add changelog entry for fast publishes 2017-03-27 03:11:39 -04:00
Alex Liebowitz
b8f1447b7e Don't display Downloading bar on published files
We handled this just fine until recently; not sure where the regression
happened.
2017-03-27 03:10:02 -04:00
Alex Liebowitz
e523906901 Make publishes appear immediately in My Files
Uses a client side cache to simulate entries in the file manager and
claims list.

Also adds new utility functions for using Local Storage.
2017-03-27 03:10:02 -04:00
Alex Liebowitz
a0903e6b4f Style tweaks 2017-03-27 01:44:13 -04:00
Jeremy Kauffman
dc13de7160 make page changes fast 2017-03-26 14:30:18 -04:00
Alex Grintsvayg
e19c16c1ce Bump version: 0.9.2rc1 → 0.9.2rc2 2017-03-25 10:29:07 -04:00
Alex Grintsvayg
0d0d835746 Merge branch 'upgrades-2'
* upgrades-2:
  Add code to get process IDs for daemon on Windows
  Small bugfixes and typos
  Refactor shutdown process
  Add Mac and Windows installer launching
  Minor style fixes and tweaks
  Light refactoring of upgrade process  - Use Node instead of lbrynet to get platform info  - Factor out code that picks the download URI into its own function  - Remove out-of-date code for checking old versions of MacOS
  Make upgrade process better at killing old daemons
2017-03-25 10:28:24 -04:00
Alex Liebowitz
3e33f78235 Add code to get process IDs for daemon on Windows 2017-03-25 10:27:20 -04:00
Alex Liebowitz
31e3b3006b Small bugfixes and typos 2017-03-25 10:27:20 -04:00
Alex Liebowitz
977acafb8c Refactor shutdown process 2017-03-25 10:26:50 -04:00
Alex Liebowitz
dead2bdeb3 Add Mac and Windows installer launching
Also starts a detached process so the window doesn't get held open
(many GUI apps launch the interface in a new process, so xdg-open
returns immediately, but it's not guaranteed).
2017-03-25 10:26:50 -04:00
Alex Liebowitz
71e8d42b27 Minor style fixes and tweaks 2017-03-25 10:24:34 -04:00
Alex Liebowitz
052eef5f81 Light refactoring of upgrade process
- Use Node instead of lbrynet to get platform info
 - Factor out code that picks the download URI into its own function
 - Remove out-of-date code for checking old versions of MacOS
2017-03-25 10:24:34 -04:00
Alex Liebowitz
f51b720e05 Make upgrade process better at killing old daemons
- Manually call xdg-open instead of using shell.openItem(), which
   doesn't reliably work from the main process
 - If there's a connection error or timeout when asking the daemon
   to close, fall back on force killing
2017-03-25 10:24:34 -04:00
Alex Grintsvayg
fa4bb58c9a update submodule 2017-03-25 10:23:11 -04:00
Alex Grintsvayg
2a7a36db15 no faultstring in jsonrpc 2 2017-03-25 10:22:02 -04:00
alexliebowitz
724ad79fcb Merge pull request #21 from lbryio/fix-upgrade-filenames
Fix filenames for downloaded upgrades
2017-03-24 03:22:05 -04:00
alexliebowitz
16122216bb Fix filenames for downloaded upgrades
Windows and Linux were incorrect
2017-03-24 03:21:12 -04:00
Alex Liebowitz
c086842972 Revert newest upgrade changes (need more work) 2017-03-22 07:21:48 -04:00
Alex Liebowitz
534ea2aa75 Light refactoring of upgrade process
- Use Node instead of lbrynet to get platform info
 - Factor out code that picks the download URI into its own function
 - Remove out-of-date code for checking old versions of MacOS
2017-03-22 07:17:53 -04:00
Alex Liebowitz
4958f9decf Make upgrade process better at killing old daemons
- Manually call xdg-open instead of using shell.openItem(), which
   doesn't reliably work from the main process
 - If there's a connection error or timeout when asking the daemon
   to close, fall back on force killing
2017-03-22 07:17:53 -04:00
Alex Grintsvayg
7d32c8e98f Bump version: 0.9.1 → 0.9.2rc1 2017-03-21 17:12:29 -04:00
Alex Grintsvayg
984bb05cbb broken 2017-03-21 17:09:18 -04:00
Jeremy Kauffman
8022a839cd add github issue template 2017-03-18 09:39:33 -04:00
Alex Grintsvayg
3ffaf8db4b Bump version: 0.9.1rc6 → 0.9.1 2017-03-17 18:24:20 -04:00
Alex Grintsvayg
0d5ef61944 Merge branch 'real-upgrades'
* real-upgrades:
  minor
  some progress, but needs more work
  Real update system
2017-03-17 18:23:41 -04:00
Alex Grintsvayg
5322e935a7 minor 2017-03-17 18:23:29 -04:00
Alex Grintsvayg
20064ee558 some progress, but needs more work 2017-03-17 18:05:25 -04:00
Alex Liebowitz
3c2f3abe8e Real update system
- Now asks the daemon to close, even if it wasn't started by the same
   app
 - Improved UX during upgrade process (cancel buttons, final dialog
   where you approve the update, etc.)
 - Saves updates in temp directory, closes app and launches the installer
2017-03-17 13:15:07 -04:00
Alex Grintsvayg
06f77936a3 Bump version: 0.9.1rc5 → 0.9.1rc6 2017-03-17 13:11:38 -04:00
Alex Grintsvayg
894a188918 update submodule 2017-03-17 13:11:32 -04:00
Alex Grin
1c2103511c Merge pull request #17 from lbryio/context-menu
Add context menu
2017-03-17 12:38:36 -04:00
Alex Liebowitz
0b79e49452 Add context menu
Has Cut, Copy, Paste, and when in developer mode there's also Inspect Element
2017-03-17 07:53:34 -04:00
Alex Grintsvayg
b8d48d6e03 Bump version: 0.9.1rc4 → 0.9.1rc5 2017-03-16 17:56:25 -04:00
Alex Grintsvayg
0885285591 update lbry 2017-03-16 17:56:05 -04:00
Jeremy Kauffman
aeaf09af6c Merge pull request #15 from lbryio/external_links
open http links in external app (probably browser)
2017-03-16 10:00:46 -04:00
Alex Grintsvayg
ccfaf6af03 Bump version: 0.9.1rc3 → 0.9.1rc4 2017-03-15 21:53:37 -04:00
Alex Grintsvayg
32d67031a0 enable basic logging in cl 2017-03-15 21:53:24 -04:00
Alex Grintsvayg
0ee255ec18 Bump version: 0.9.1rc2 → 0.9.1rc3 2017-03-15 21:26:08 -04:00
Alex Grintsvayg
8a8230d202 upload cli binary, dont package languages for cli 2017-03-15 21:23:04 -04:00
Alex Grintsvayg
55cf3d5dc7 Bump version: 0.9.1rc1 → 0.9.1rc2 2017-03-15 19:59:59 -04:00
Alex Grintsvayg
75135bdf1c update lbry submodule 2017-03-15 19:59:22 -04:00
Alex Grintsvayg
c4e363fbe3 attempt to build cli alongside daemon 2017-03-15 19:58:36 -04:00
Alex Grintsvayg
9f30e007c0 open http links in external app (probably browser) 2017-03-15 19:12:52 -04:00
Alex Grintsvayg
ad05a8096a need pyinstaller in reqs 2017-03-15 19:12:16 -04:00
Alex Grintsvayg
9df83d7ea2 mark rc releases as prereleases in github 2017-03-15 17:44:38 -04:00
Alex Grintsvayg
08c66556a4 Bump version: 0.9.0 → 0.9.1rc1 2017-03-15 12:34:32 -04:00
Alex Grintsvayg
ffb8387b95 update lbry 2017-03-15 12:33:13 -04:00
Alex Grintsvayg
6aea51ea9e Revert "Bump version: 0.9.0 → 0.9.1rc1"
This reverts commit ba09f47ea1.
2017-03-15 12:32:58 -04:00
Alex Grintsvayg
ba09f47ea1 Bump version: 0.9.0 → 0.9.1rc1 2017-03-15 12:30:52 -04:00
Alex Grintsvayg
c3a3859e54 no more rc0 2017-03-15 12:30:13 -04:00
Alex Grintsvayg
d10c0cc297 revert on lbry 2017-03-15 11:31:47 -04:00
Alex Grintsvayg
4e8ab78e4d Revert "Bump version: 0.9.0 → 0.9.001"
This reverts commit 7bb6909493.
2017-03-15 11:31:18 -04:00
Alex Grintsvayg
7bb6909493 Bump version: 0.9.0 → 0.9.001 2017-03-15 11:19:07 -04:00
Alex Grintsvayg
ead8677ca5 bah 2017-03-15 11:18:59 -04:00
Alex Grintsvayg
edcdd43b0e sync app and ui versions 2017-03-15 11:14:58 -04:00
alexliebowitz
b13381e9aa Merge pull request #13 from lbryio/fix-watch
Update Watch logic for new API wrapper
2017-03-14 12:34:17 -04:00
Alex Liebowitz
a2af284ccf Update Watch logic for new API wrapper
Also was using some keys that are no longer available from file_list -
fixed that
2017-03-14 12:35:39 -04:00
Alex Liebowitz
5a0dc0b5c2 Fix progress bars
Wasn't calling file_list with full_status to get total bytes (won't be
needed after lbrynet DB refactor is merged)
2017-03-14 12:15:24 -04:00
Alex Grintsvayg
cf3e83ee44 Bump version: 0.9.0rc17 → 0.9.0 2017-03-13 23:16:01 -04:00
Alex Grintsvayg
95c130dd7a fixing release script 2017-03-13 23:15:55 -04:00
Alex Grintsvayg
bb500244fb minor simplify 2017-03-13 22:20:06 -04:00
Alex Grintsvayg
474663e2b0 update submodules 2017-03-13 18:45:59 -04:00
Alex Grintsvayg
06de73363c Revert "Bump version: 0.9.0rc17 → 0.9.1rc0"
This reverts commit 30be5b69d3.
2017-03-13 18:44:53 -04:00
Alex Grintsvayg
30be5b69d3 Bump version: 0.9.0rc17 → 0.9.1rc0 2017-03-13 18:15:37 -04:00
Alex Grintsvayg
07701d03bd update package author/email 2017-03-13 14:12:56 -04:00
Alex Grintsvayg
ed755f18c8 one more spot 2017-03-13 12:54:42 -04:00
Alex Grintsvayg
9972828c2b fix windows build 2017-03-13 11:47:07 -04:00
Jeremy Kauffman
a427f974b5 remove obsolete info 2017-03-13 11:44:15 -04:00
Jeremy Kauffman
df71a081e8 improve install language (copy from lbry repo) 2017-03-13 11:37:49 -04:00
Alex Grintsvayg
314e01dff0 Bump version: 0.9.0rc16 → 0.9.0rc17 2017-03-10 16:30:28 -05:00
Alex Grintsvayg
0cd3fa0c75 fix reset script 2017-03-10 16:26:15 -05:00
Alex Grintsvayg
f6265aab4a pull submodules 2017-03-10 16:23:34 -05:00
alexliebowitz
eb37f1f6bf Merge pull request #12 from lbryio/fix-nout
Change nOut to nout
2017-03-10 15:37:38 -05:00
Alex Liebowitz
6a46ccc565 Change nOut to nout
Needed for compatibility with this lbrynet change:
https://github.com/lbryio/lbry/pull/513
2017-03-10 15:37:56 -05:00
alexliebowitz
05b8417f5f Merge pull request #10 from lbryio/new-api-wrapper
Revamp API wrapper code
2017-03-10 03:57:43 -05:00
alexliebowitz
9fedfe2b93 Merge pull request #11 from lbryio/outpoints
Use outpoints for unique IDs
2017-03-10 03:57:19 -05:00
Alex Liebowitz
a5feefe294 Use updated key name in file_list (was lbry_uri, now name) 2017-03-09 17:55:17 -05:00
Alex Liebowitz
3b428c394c Convert UI to use outpoints for unique IDs
This covers *almost* everything. There are a couple of places that
still use names or SD hashes because the APIs haven't been updated
yet.
2017-03-09 17:55:17 -05:00
Alex Liebowitz
cba3ec3091 Add unique ID to JSON-RPC requests 2017-03-09 17:54:46 -05:00
Alex Liebowitz
1567a2de0a Revamp API wrapper code
- Refactoring throughout JSON-RPC, lbrynet and Lighthouse logic
 - Move JSON-RPC stuff into its own module
 - Add ability to directly call API methods on the lbry and lighthouse
   modules, e.g. lbry.file_list({name: 'what'})
 - New-style API calls use promises instead of callbacks.
 - Converted some lbrynet calls and all Lighthouse calls to use the new
   style
2017-03-09 17:54:46 -05:00
Alex Grintsvayg
d633c2790c missed a few spots 2017-03-09 15:41:17 -05:00
Alex Grintsvayg
787fd0cc71 Bump version: 0.9.0rc15 → 0.9.0rc16 2017-03-09 15:30:36 -05:00
Alex Grintsvayg
2bd5d3faae add build.sh for teamcity 2017-03-09 13:33:06 -05:00
Alex Grintsvayg
48a8aab292 move build stuff into its own dir 2017-03-09 13:33:06 -05:00
Alex Grintsvayg
60ed5cce14 switch from lbry-web-ui to ui 2017-03-09 12:31:40 -05:00
Alex Grintsvayg
05d4a07312 Add 'ui/' from commit 'efc28c6644b7970403e3a11523cbf6e336eee52d'
git-subtree-dir: ui
git-subtree-mainline: 3886c7bf2c
git-subtree-split: efc28c6644
2017-03-09 12:11:46 -05:00
Alex Grintsvayg
3886c7bf2c remove lbry-web-ui submodule 2017-03-09 12:07:14 -05:00
Alex Grintsvayg
a021d7b200 Bump version: 0.9.0rc14 → 0.9.0rc15 2017-03-09 10:37:45 -05:00
Alex Grintsvayg
efc28c6644 Bump version: 0.9.0rc14 → 0.9.0rc15 2017-03-09 10:37:42 -05:00
Alex Grintsvayg
f8a2a03ae8 fix lbryum release without tag 2017-03-09 10:37:35 -05:00
alexliebowitz
addfbb2acf Merge pull request #194 from lbryio/developer-menu-tweaks
Quick tweaks to developer menu
2017-03-08 18:35:18 -05:00
Alex Liebowitz
3763108cb0 Quick tweaks to developer menu
- Fix variable name of default client setting
 - Correct key combo details in change log entry
2017-03-08 18:35:00 -05:00
alexliebowitz
2ff2d12d94 Merge pull request #193 from lbryio/developer-menu
Add option in Developer Settings to enable/disable developer menu
2017-03-08 18:24:13 -05:00
alexliebowitz
b71382d276 Merge pull request #9 from lbryio/menubar
Add basic menubar
2017-03-08 18:23:04 -05:00
Alex Liebowitz
9c13a03ca6 Refactor and improve menubar
- Style fixes
 - Remove some items from Edit menu
 - Add app menu on macOS
 - Make Help point to help page instead of FAQ
 - Simplify menubar logic
2017-03-08 18:23:05 -05:00
Alex Liebowitz
e9fdcd1094 Tune up logic for launching developer settings
- Don't bother to return false, event.preventDefault() is enough
 - Don't respond to cmd-shift, only ctrl-shift (cmd-shift was a
   workaround for OS X, but it works fine on OS X if we use
   onMouseUp instead of onClick)
2017-03-08 18:18:42 -05:00
Alex Liebowitz
302a1029bd Simplify developer menu logic 2017-03-08 18:14:43 -05:00
Jeremy Kauffman
d78aab14e8 Merge pull request #192 from lbryio/open-reveal-electron
Open and reveal files using Electron instead of daemon
2017-03-08 17:12:30 -05:00
Jeremy Kauffman
34c7da88c9 ignore venv 2017-03-08 09:55:45 -05:00
Alex Liebowitz
694eb77b0b Add option in Developer Settings to enable/disable developer menu
Also added the ability to access Developer Settings by holding
Ctrl-Shift or Cmd-Shift and clicking the LBRY logo.

https://youtu.be/pXPXMxsXT28
2017-03-08 04:37:10 -05:00
Alex Liebowitz
b0d7e6497a Add basic menubar
This includes a Developer menu that can be enabled or disabled through
the UI.
2017-03-08 04:05:18 -05:00
Alex Liebowitz
a6979445cc Fix "search for your first download" link on My Files page 2017-03-08 02:37:06 -05:00
Alex Liebowitz
fbc1d4fe8a Open and reveal files using Electron instead of daemon 2017-03-08 02:33:42 -05:00
Alex Grintsvayg
780f9dd7c5 Bump version: 0.9.0rc13 → 0.9.0rc14 2017-03-07 16:03:19 -05:00
Alex Grintsvayg
86c1210793 Bump version: 0.9.0rc13 → 0.9.0rc14 2017-03-07 16:03:17 -05:00
Alex Grintsvayg
8f417005b5 finally working 2017-03-07 15:46:06 -05:00
Alex Grintsvayg
df33156ea4 Bump version: 0.9.0rc12 → 0.9.0rc13 2017-03-06 18:15:45 -05:00
Alex Grintsvayg
9ff1ffd53e Bump version: 0.9.0rc12 → 0.9.0rc13 2017-03-06 18:15:43 -05:00
Alex Grintsvayg
bb26e66d05 another fix 2017-03-06 18:00:57 -05:00
Alex Grintsvayg
9b6146cf0d Bump version: 0.9.0rc11 → 0.9.0rc12 2017-03-06 17:47:50 -05:00
Alex Grintsvayg
4a4b575d93 Bump version: 0.9.0rc11 → 0.9.0rc12 2017-03-06 17:47:46 -05:00
Alex Grintsvayg
ccfb56f717 fix 2017-03-06 17:47:10 -05:00
Alex Grintsvayg
a3a3769222 Revert "Change submodules url to use ssh access"
This reverts commit 4386102ba3.

It turns out that Appveyor and Teamcity choke on SSH urls.
2017-03-06 17:40:21 -05:00
Alex Grintsvayg
3c100ecf20 minor 2017-03-06 17:17:03 -05:00
Alex Grintsvayg
abbcbfefd7 move more requirements into req.txt 2017-03-06 11:52:34 -05:00
jobevers
33ffb322cc add script to reset each submodule 2017-03-06 10:34:37 -06:00
jobevers
5a2de41563 update submodules 2017-03-06 10:33:54 -06:00
jobevers
9ed1ba33be check if tag already exists 2017-03-06 10:33:17 -06:00
jobevers
86e52ffcb4 Add checks for token and lbryum part
Also adds better instructions and help items
2017-03-06 08:45:41 -06:00
jobevers
4bda5ac19a update submodules 2017-03-06 07:48:07 -06:00
jobevers
4386102ba3 Change submodules url to use ssh access
This change was requested by grin. This means that the general public
won't be able to pull the repo unless they have ssh access setup on
github.  I'd suggest switching back to https at some point and having
each person that wants to use ssh authentication change their local
repo to use ssh urls

`git config submodule.lbry.url git@github.com:lbryio/lbry.git`
2017-03-06 07:43:38 -06:00
Job Evers‐Meltzer
ecec1ba5c8 Merge pull request #8 from lbryio/grin
grin's attempts at getting release.py working
2017-03-06 07:29:17 -06:00
Alex Grintsvayg
565764a629 fixing release so ppl like me can do it 2017-03-02 23:37:20 -05:00
Alex Grintsvayg
666fd5a490 renamed lbrynet to lbrynet-daemon, removed some unused code, lowercased daemon release name 2017-03-02 23:37:20 -05:00
Jeremy Kauffman
c2f9352466 Merge pull request #189 from lbryio/refactor-publish-page
Refactor Publish page + make styling of form fields more flexible
2017-03-02 12:19:59 -05:00
Alex Liebowitz
714714cece Update change log for changes to form field styles and Publish page 2017-03-01 16:07:52 -05:00
Alex Liebowitz
0fc4712820 Convert Publish page to use new FormField and field label styles 2017-03-01 15:51:08 -05:00
Alex Liebowitz
828041449f Add style for form field labels 2017-03-01 15:51:08 -05:00
Alex Liebowitz
a9563b80df Add a "text-number" form field type, and add styles for 2 others 2017-03-01 15:51:00 -05:00
alexliebowitz
3750acded1 Merge pull request #188 from lbryio/bug-fixes-3
Fix 2 links and remove some dead code
2017-03-01 15:27:37 -05:00
Alex Liebowitz
166db552b2 Fix two links to Discover page
Need the "index.html" for Electron
2017-03-01 15:26:03 -05:00
Alex Liebowitz
c12b7645a7 Remove code for Linux close link
Not needed for Electron
2017-03-01 15:25:11 -05:00
Alex Liebowitz
b81add382b Bump version: 0.9.0rc10 → 0.9.0rc11 2017-02-27 17:49:09 -05:00
Alex Liebowitz
1ccbbe721f Bump version: 0.9.0rc10 → 0.9.0rc11 2017-02-27 17:49:08 -05:00
Alex Liebowitz
2fc2ab0a84 update submodules 2017-02-27 17:45:09 -05:00
Alex Liebowitz
d7b3b94197 Updating submodules 2017-02-27 17:26:45 -05:00
alexliebowitz
a97cd34407 Merge pull request #187 from lbryio/fix-api-changes
Fix pending changes to lbry.io API
2017-02-27 17:15:00 -05:00
Jeremy Kauffman
049e007747 add missing var declaration 2017-02-27 17:15:15 -05:00
Jeremy Kauffman
7eb15a9ac6 fix pending changes to api.lbry.io 2017-02-27 17:15:06 -05:00
Jeremy Kauffman
ae4a27c122 Merge pull request #186 from lbryio/modal-updates
Improvements to modals
2017-02-26 10:31:51 -05:00
Alex Liebowitz
eaa0b7ba01 Convert error modal to use ExpandableModal component 2017-02-25 03:18:24 -05:00
Alex Liebowitz
08c4a5173a Add new ExpandableModal component 2017-02-25 02:56:57 -05:00
Alex Liebowitz
ce33050fb3 Refactor Modal component 2017-02-25 02:55:05 -05:00
Alex Liebowitz
2b7c258cf3 Restore centering of modal headers 2017-02-25 01:51:33 -05:00
alexliebowitz
7bce94b10d Merge pull request #185 from lbryio/misc-bugfixes-2
Misc. bugfixes, round 2
2017-02-24 04:23:13 -05:00
Alex Liebowitz
041771f07b Publish: restore "you have not published anything yet" message 2017-02-24 04:22:44 -05:00
Alex Liebowitz
b041d66ee4 Make menus close after you click an option 2017-02-24 04:14:02 -05:00
Alex Liebowitz
e8da1d09f5 Fix some links 2017-02-24 03:57:24 -05:00
Alex Liebowitz
7172149bac Tweak padding on drop-down menus 2017-02-24 03:02:32 -05:00
Alex Liebowitz
23a4ad09de Fix "Component not mounted" error in FileActions 2017-02-24 02:30:32 -05:00
alexliebowitz
4494b8f117 Merge pull request #184 from lbryio/fix-my-files-sort
Fix sorting on My Files page
2017-02-24 00:38:43 -05:00
Alex Liebowitz
d3666b119f My Files: Fix sorting comparison functions
- Properly distinguish between < and = cases
 - Make a copy before sorting (this wasn't causing problems; just good
   practice)
2017-02-24 00:38:55 -05:00
alexliebowitz
4ac007bbf6 Merge pull request #183 from lbryio/fix-web-ui-version
Restore UI version on Help page
2017-02-23 23:37:10 -05:00
Alex Liebowitz
e058470a70 Restore UI version on Help page 2017-02-23 23:36:19 -05:00
jobevers
a91f987cfa specify requirements for daemon in this repo 2017-02-23 14:17:53 -06:00
jobevers
02dd08a72f allow lbrynet-daemon executable to be configured 2017-02-23 14:15:09 -06:00
jobevers
762712ed69 whitespace 2017-02-23 13:01:23 -06:00
jobevers
8a42412096 cleanup app comments 2017-02-23 12:46:25 -06:00
jobevers
6b7dca8bb1 switch from lbrynet-daemon to lbry repo 2017-02-23 12:26:31 -06:00
jobevers
0c431b0947 add tag to zip filename 2017-02-23 12:24:54 -06:00
jobevers
e69e0f0c54 flailing again - trying to upload from stdin 2017-02-23 12:11:05 -06:00
jobevers
250ed2bd6a the last thing worked, now just replace json with file 2017-02-23 11:45:23 -06:00
jobevers
4ad978f3ef still flailing - what if we try to post just json 2017-02-23 11:21:46 -06:00
jobevers
c05e85d0f8 still flailing - try empty name 2017-02-23 10:46:36 -06:00
jobevers
0c0b85aa7a still flailing - try lbry repo 2017-02-23 10:17:25 -06:00
jobevers
518d136d8e still flailing - try a different file 2017-02-23 09:34:30 -06:00
jobevers
318160b328 still flailing - try a random name 2017-02-23 09:16:10 -06:00
jobevers
478ca98b0e still flailing - try both requests and curl 2017-02-23 08:51:59 -06:00
jobevers
2e8c8b95c8 still flailing - use a random name 2017-02-23 08:32:28 -06:00
jobevers
6fb83f8da4 still flailing - use a simple name 2017-02-23 08:17:33 -06:00
Jeremy Kauffman
7daeb610a2 Merge pull request #181 from lbryio/always-show-cancel
On load screen, always show Cancel link if a previous page is available
2017-02-23 09:15:48 -05:00
Jeremy Kauffman
4473536626 Merge branch 'development' into always-show-cancel 2017-02-23 09:15:36 -05:00
Alex Liebowitz
2c0b47edf2 On load screen, always show Cancel link if a previous page is available
Before, it was only showing if a load attempt timed out, and would show
even if there was no previous page to go back to.
2017-02-23 04:04:09 -05:00
alexliebowitz
129fa5aaa7 Merge pull request #182 from lbryio/fix-balance-check
When user hits "Watch", don't check balance if download already started
2017-02-23 03:56:31 -05:00
Alex Liebowitz
fb421cdd79 When user hits "Watch", don't check balance if download already started 2017-02-23 03:56:50 -05:00
alexliebowitz
94768bb086 Merge pull request #180 from lbryio/back-button-2
Re-integrate Back button on Watch page
2017-02-23 02:50:14 -05:00
Alex Liebowitz
756a04a368 Watch: fix back button flickering on mouseover 2017-02-23 02:50:53 -05:00
Alex Liebowitz
889ef01782 Watch: Update Back to LBRY button for Electron 2017-02-23 02:50:53 -05:00
Jeremy Kauffman
1ccc7fd047 change bg color 2017-02-23 02:24:53 -05:00
Alex Liebowitz
7f2358fdbb Add Back button to Watch page 2017-02-23 02:20:52 -05:00
alexliebowitz
a24c6ed281 Merge pull request #179 from lbryio/bugfixes-feb-2017
Misc. bug fixes
2017-02-23 01:46:58 -05:00
Alex Liebowitz
b8103bce21 Remove incorrectly formatted comment in app.js 2017-02-23 01:36:44 -05:00
Alex Liebowitz
b18063584a Add link styles back to "Try Anyway" link 2017-02-23 01:28:58 -05:00
Alex Liebowitz
0266523a5c Fix wrong prop types for metadata 2017-02-23 01:14:48 -05:00
jobevers
26c077dd79 still flailing - remove uri expansion 2017-02-22 23:14:40 -06:00
jobevers
be97368123 still flailing 2017-02-22 23:05:45 -06:00
jobevers
a11949608a still flailing 2017-02-22 22:53:35 -06:00
jobevers
26391cb935 flailing, lets try print some stuff 2017-02-22 18:40:39 -06:00
jobevers
4688e92aab flailing, lets try reversing the uploads 2017-02-22 17:00:19 -06:00
jobevers
9a36270d3e Bump version: 0.9.0rc9 → 0.9.0rc10 2017-02-22 16:14:42 -06:00
Job Evers-Meltzer
c1ef161972 need absolute paths for electron 2017-02-22 15:41:39 -06:00
jobevers
75cf359e6f fix section headers on changelog 2017-02-22 13:14:21 -06:00
jobevers
b53c8e11d3 update changelog 2017-02-22 12:58:15 -06:00
jobevers
98ba69c0d1 Bump version: 0.9.0rc8 → 0.9.0rc9 2017-02-22 12:51:12 -06:00
jobevers
4f66a3a6a1 stop using bumpversion on changelog 2017-02-21 22:20:50 -06:00
jobevers
f64e3d9356 update version to 0.9.0rc8 2017-02-21 21:04:52 -06:00
Job Evers‐Meltzer
fe954ed17d Merge pull request #176 from lbryio/electron-2
Electron 2
2017-02-21 12:59:00 -06:00
jobevers
55b2465125 update bumpversion 2017-02-21 08:36:29 -06:00
jobevers
b65910f441 revert to detecting the OS client side for update url 2017-02-21 08:36:29 -06:00
jobevers
27b85e2301 Improve updates download
- create progress bar modal
- trigger app shutdown on successful download
- move update url logic to the website
2017-02-21 08:36:29 -06:00
alexliebowitz
1ace1b32a8 Merge pull request #177 from lbryio/fix-button-padding
Fix several problems with margin and padding on buttons
2017-02-21 01:32:43 -05:00
Alex Liebowitz
fb75bc19b4 Fix several problems with margin and padding on buttons
- Buttons on dialogs were not getting width and height
 - Tooltip buttons were getting standard button spacing when they
   should be closer to their corresponding menu button
 - Several buttons and other elements had containers just to get
   spacing in button sets; rename button-container class to
   button-set-item and apply directly to elements where possible.
2017-02-21 01:27:08 -05:00
Alex Liebowitz
321fbfbc17 Change Watch page to recognize "stopped" status as playable 2017-02-20 23:09:04 -06:00
jobevers
2f80c86647 add changelog 2017-02-20 23:06:55 -06:00
jobevers
c7a57d6e3f change watch for electron 2017-02-20 23:06:55 -06:00
jobevers
1fc8f21824 background image isn't actually used on load screen 2017-02-20 23:06:55 -06:00
jobevers
b8b43ec587 change path for images 2017-02-20 23:06:55 -06:00
jobevers
4771682ee0 Use local file path for publishing instead of uploading 2017-02-20 23:06:55 -06:00
Job Evers-Meltzer
33395ccb33 Add a dev build configuration
Add caching and a faster source map for the dev builds.
This brings the rebuild time down to about 500ms for me.

dev build now puts the bundle in the electron app/js directory
so that the app can be automatically reloaded
2017-02-20 23:06:55 -06:00
jobevers
724742f0db revert - build into the dist folder 2017-02-20 23:06:55 -06:00
Job Evers-Meltzer
51ca2f8a92 add shutdown msg html pages 2017-02-20 23:06:55 -06:00
Job Evers-Meltzer
9979315d6a only show the splash screen on initial load 2017-02-20 23:06:55 -06:00
Job Evers-Meltzer
4ee729fb81 need full link for electron 2017-02-20 23:06:55 -06:00
Job Evers-Meltzer
3c660c813b move build to electron folder 2017-02-20 23:06:55 -06:00
Job Evers-Meltzer
1ab1684b2d add html5 video playback 2017-02-20 23:06:55 -06:00
alexliebowitz
c5da3de3c1 Merge pull request #175 from lbryio/revert-174-merge-development-electron
Revert "Merge updates from development into Electron branch"
2017-02-20 23:16:15 -05:00
alexliebowitz
4cc1a5355f Revert "Merge updates from development into Electron branch" 2017-02-20 23:15:17 -05:00
alexliebowitz
f5c3f5d080 Merge pull request #174 from lbryio/merge-development-electron
Merge updates from development into Electron branch
2017-02-20 23:09:54 -05:00
Alex Liebowitz
ae9e474fdc Merge branch 'development' into electron 2017-02-20 22:56:25 -05:00
alexliebowitz
e291efcefb Merge pull request #173 from lbryio/add-version-explanation
Add explanation of version format to CHANGELOG.md
2017-02-20 22:30:53 -05:00
Alex Liebowitz
c12ae58089 Add explanation of version format to CHANGELOG.md 2017-02-20 22:30:16 -05:00
jobevers
a973c59051 update bumpversion 2017-02-20 16:04:24 -06:00
jobevers
0005280cb6 revert to detecting the OS client side for update url 2017-02-20 13:28:59 -06:00
jobevers
86351d1736 Improve updates download
- create progress bar modal
- trigger app shutdown on successful download
- move update url logic to the website
2017-02-20 12:56:15 -06:00
Alex Liebowitz
f93ff2c1d7 Merge branch 'master' into development 2017-02-20 01:14:57 -05:00
Alex Liebowitz
a114f81543 Merge branch 'master' into development 2017-02-20 01:09:35 -05:00
alexliebowitz
ab31666f4e Merge pull request #172 from lbryio/availability-check-fixes
Fix two problems with displaying unavailable files
2017-02-19 18:49:09 -05:00
Alex Liebowitz
1f4ec440df Fix error in FileTile when metadata is unavailable 2017-02-19 18:47:40 -05:00
Alex Liebowitz
bb26b5372a If get_availability gives an error, treat the stream as unavailable 2017-02-19 18:47:37 -05:00
Alex Grintsvayg
fbb11d78c7 Revert "Revert "Use get_availability to determine stream availability""
This reverts commit 24e43ba42e.

Ok, that wasn't it.
2017-02-18 09:59:13 -05:00
Alex Grintsvayg
24e43ba42e Revert "Use get_availability to determine stream availability"
This reverts commit c209c1f84f.

This commit may have broken downloading/watching by never showing the download button.
Let's see if reverting it fixes the issue. --grin
2017-02-18 09:53:05 -05:00
alexliebowitz
d0a730f29f Merge pull request #170 from lbryio/use-get-availability
Use get_availability to determine stream availability
2017-02-17 17:56:54 -05:00
Alex Liebowitz
c209c1f84f Use get_availability to determine stream availability
More info than peer_count, and now has built-in timeout
2017-02-17 17:54:45 -05:00
alexliebowitz
d904744a31 Merge pull request #169 from lbryio/update-publish-poll
Update how Publish page polls for file appearing in file manager
2017-02-17 15:45:33 -05:00
Alex Liebowitz
fd0439bf0b Update requirements.txt for My Files publish polling changes 2017-02-17 15:46:00 -05:00
Alex Liebowitz
c9a171ae28 Update how Publish page polls for file appearing in file manager
Formerly polled the full list of files; now looks up the specific file
by name.
2017-02-17 15:45:52 -05:00
jobevers
5b454a3837 download updates using node 2017-02-16 21:26:29 -06:00
alexliebowitz
337cf5a426 Merge pull request #164 from lbryio/featured_names_api
Use remote source for featured names
2017-02-16 13:34:28 -05:00
Jeremy Kauffman
5099fe3ab2 use remote api to fetch featured names 2017-02-16 13:30:57 -05:00
Jeremy Kauffman
339f1ac607 Merge pull request #158 from lbryio/video-back-button
Add Back button to Watch page (WIP)
2017-02-16 09:28:14 -05:00
Alex Liebowitz
6059c3bebb Watch: Update Back to LBRY button for Electron 2017-02-16 02:41:24 -05:00
Jeremy Kauffman
471bf2fb10 change bg color 2017-02-16 02:19:41 -05:00
Alex Liebowitz
b6982854d8 Add Back button to Watch page 2017-02-16 02:19:41 -05:00
Alex Liebowitz
056470b47c Convert to HTML5 video player (temp) 2017-02-16 02:19:41 -05:00
jobevers
7c7e3a97e8 add changelog 2017-02-16 02:19:41 -05:00
Alex Liebowitz
3252d29d9e Watch: correct status check logic 2017-02-16 02:19:41 -05:00
Alex Liebowitz
75b28f998c Change Watch page to recognize "stopped" status as playable 2017-02-16 02:19:41 -05:00
alexliebowitz
d628b9bda9 Merge pull request #168 from lbryio/fix-status-check-logic
Correct status check logic on Watch page
2017-02-16 01:29:36 -05:00
Alex Liebowitz
38fdcd1e1b Watch: correct status check logic 2017-02-16 01:01:38 -05:00
Alex Liebowitz
ee44ce5001 Watch: correct status check logic 2017-02-16 00:19:10 -05:00
Alex Liebowitz
f070baf914 Watch: correct status check to look for "stopped" instead of "paused" 2017-02-15 17:24:30 -05:00
alexliebowitz
49720be076 Merge pull request #166 from lbryio/fix-watch-page-status-check
Fix status check on Watch page
2017-02-15 17:19:35 -05:00
Alex Liebowitz
77830d1fb2 Change Watch page to recognize "stopped" status as playable 2017-02-15 17:19:47 -05:00
Alex Liebowitz
5292b069eb Change Watch page to recognize "paused" status as playable 2017-02-15 16:46:16 -05:00
jobevers
4068fb5fd8 add changelog 2017-02-15 11:28:15 -06:00
jobevers
9c89652d46 change watch for electron 2017-02-14 17:12:37 -06:00
jobevers
93effcbb78 background image isn't actually used on load screen 2017-02-14 17:12:37 -06:00
jobevers
1017977251 change path for images 2017-02-14 17:12:37 -06:00
jobevers
06aba33300 Use local file path for publishing instead of uploading 2017-02-14 17:12:37 -06:00
Job Evers-Meltzer
3394f964dd Add a dev build configuration
Add caching and a faster source map for the dev builds.
This brings the rebuild time down to about 500ms for me.

dev build now puts the bundle in the electron app/js directory
so that the app can be automatically reloaded
2017-02-14 17:12:27 -06:00
jobevers
4ba671d4d6 revert - build into the dist folder 2017-02-14 17:11:07 -06:00
Job Evers-Meltzer
557ee9cb91 add shutdown msg html pages 2017-02-14 17:11:07 -06:00
Job Evers-Meltzer
24d339b583 only show the splash screen on initial load 2017-02-14 17:11:07 -06:00
Job Evers-Meltzer
18108f12ab need full link for electron 2017-02-14 17:11:07 -06:00
Job Evers-Meltzer
728125c999 move build to electron folder 2017-02-14 17:11:07 -06:00
Job Evers-Meltzer
e95f1b8163 add html5 video playback 2017-02-14 17:11:07 -06:00
Job Evers-Meltzer
0ecf492a20 need absolute paths for electron 2017-02-14 17:11:06 -06:00
Jeremy Kauffman
227e23653d Merge pull request #165 from lbryio/fix-clamp-js-firefox
Fix line clamping on Firefox
2017-02-10 12:13:07 -05:00
alexliebowitz
6748534cd1 Merge pull request #162 from lbryio/add-changelog
Add changelog and check
2017-02-09 19:44:06 -05:00
Alex Liebowitz
bd922f0f45 Make TruncatedText elements display: inline-block
Needed because clamp.js sets a height on browsers that don't have
native clamping.
2017-02-09 19:14:08 -05:00
Alex Liebowitz
c8754e4351 Round up line heights in TruncatedText (workaround for Clamp.js bug)
Clamp.js doesn't handle fractional-pixel line heights reliably. It
always rounds down the line height when calculating the target height
for the element, and you end up with one less line than you asked for.
2017-02-09 19:14:06 -05:00
Alex Liebowitz
e6f473e275 Switch to maintained fork of clamp.js 2017-02-09 19:11:25 -05:00
jobevers
820060eb44 try installing rvm earlier to get around https://github.com/travis-ci/travis-ci/issues/5092 2017-02-08 00:31:21 -06:00
jobevers
cea2fc6e73 build PRs and master/dev branches 2017-02-08 00:28:44 -06:00
jobevers
e01bd6c1e3 combining languages on travis is too hard 2017-02-08 00:22:42 -06:00
jobevers
7ae5bf97bd why is travis a pain 2017-02-08 00:12:08 -06:00
jobevers
5a86b68893 had boolean logic backwards 2017-02-08 00:05:24 -06:00
jobevers
1c2eab4b40 install and use a more recent ruby 2017-02-08 00:02:58 -06:00
jobevers
96ace874ce see what rubies are available 2017-02-07 23:59:27 -06:00
jobevers
4a060f120a add changelog and check 2017-02-07 23:56:25 -06:00
alexliebowitz
6ee45e2935 Merge pull request #161 from lbryio/development
Merge development into master
2017-02-06 16:40:02 -05:00
Alex Grin
ca5540da4b Merge pull request #159 from reillysmith/patch-3
Update discover.js
2017-02-03 12:20:53 -05:00
reillysmith
b1c320264e Update discover.js 2017-02-03 09:11:36 -08:00
alexliebowitz
181d267bd2 Merge pull request #143 from lbryio/development
Release
2017-02-01 14:11:30 -05:00
Alex Liebowitz
ac5a588490 Referral: Fix ARIA label on "lookup failed" modal 2017-02-01 04:27:36 -05:00
alexliebowitz
04fe213c6c Merge pull request #155 from lbryio/fix-space-claim-code-page
Fix missing space in confirm modal on Claim Code page
2017-02-01 04:17:51 -05:00
Alex Liebowitz
fc6cd35025 Claim Code: fix missing space in confirm modal 2017-02-01 04:16:32 -05:00
alexliebowitz
7e77f52976 Merge pull request #154 from lbryio/remove-publish-timeout
Don't time out on Publish page
2017-02-01 04:11:18 -05:00
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
alexliebowitz
ea1a10860e Merge pull request #153 from lbryio/fix-uris-file-tile
Fix display of LBRY URIs in FileTile
2017-02-01 03:43:12 -05:00
Alex Liebowitz
4f9e1a7c46 Fix display of LBRY URIs in FileTile 2017-02-01 03:43:19 -05:00
alexliebowitz
edd92c3c89 Merge pull request #152 from lbryio/fix-load-screen-colors
Fix colors on loading screen
2017-02-01 03:28:07 -05:00
Alex Liebowitz
df1c6ed97c Fix colors on loading screen 2017-02-01 03:27:18 -05:00
alexliebowitz
fe5193ad84 Merge pull request #151 from lbryio/fix-watch-screen-debug
Remove debug logic in load_screen.js
2017-01-31 13:46:24 -05:00
Alex Liebowitz
e7209aa19a Remove debug logic in load_screen.js
There were some !s in there that were only for debugging
2017-01-31 13:45:36 -05:00
Jeremy Kauffman
c2c45fc53e Merge pull request #150 from lbryio/watch-screen-cancel-link
Add Cancel link when loading screen is lagging
2017-01-31 10:11:36 -08:00
Alex Liebowitz
810b94fa77 Add Cancel link when loading screen is lagging 2017-01-31 02:17:53 -05:00
Alex Liebowitz
34d04255de Convert load screens to use CSS 2017-01-31 02:06:53 -05:00
Jeremy Kauffman
e97a81e7d5 Merge pull request #148 from lbryio/published-file-tile-fixes
Fix bugs in display of published files
2017-01-30 12:26:39 -05:00
Jeremy Kauffman
c1922d097e Merge pull request #149 from lbryio/show-page-file-actions
Update Show page to use new FileActions component
2017-01-30 12:26:17 -05:00
Alex Liebowitz
c3220bcb99 Update Show page to use new FileActions component 2017-01-30 03:46:37 -05:00
Alex Liebowitz
042c093666 Don't show "file not available" message if user has the file 2017-01-30 03:24:58 -05:00
Alex Liebowitz
eba0ac6842 Indicate files pending confirmation in FileTile 2017-01-30 03:24:57 -05:00
alexliebowitz
fe62548637 Merge pull request #146 from lbryio/fix-text-link-styles
Fix styling of normal text links
2017-01-26 02:41:40 -05:00
Jeremy Kauffman
b58748cfdb Merge pull request #147 from lbryio/fix-my-claim-detection-publish
On Publish page, fix detection of the user's own claim on a name
2017-01-25 09:02:27 -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
376bbed97c Fix styling of normal text links
Due to recent changes, they were appearing as text buttons
2017-01-24 22:39:36 -05:00
Jeremy Kauffman
51142dfc53 Merge pull request #145 from lbryio/fix-cost-error
Don't show error message if price for a file can't be retrieved
2017-01-24 19:53:46 -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
alexliebowitz
2900f6e14d Merge pull request #144 from lbryio/fix-webpack-requirement
Update Webpack preset list
2017-01-24 19:26:06 -05:00
Alex Liebowitz
b3ee6a837f Update Webpack preset list
For now we only need the Stage 2 Babel plugin, not stage 3
2017-01-24 19:25:23 -05:00
Jeremy Kauffman
d95e04104f Merge pull request #142 from lbryio/unavailable-content-bugfixes
Unavailable content bugfixes
2017-01-24 09:57:29 -05:00
Alex Liebowitz
2286fc992e Add z-index to menus
Prevents elements with position stacking on top
2017-01-23 23:52:20 -05:00
Alex Liebowitz
0af15751f7 Fix typo in "file unavailable" message
Missing period
2017-01-23 23:52:07 -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
13886f4156 Fix padding issue with download progress bar
Label was not wrapped in span, so the wrong styles were applying
2017-01-23 23:06:32 -05:00
Alex Liebowitz
ef393ca360 Simplify content wrapping logic in Link 2017-01-23 19:22:25 -05:00
Alex Liebowitz
b2fd38a1c8 Reduce padding around text buttons
After moving the padding to the content of buttons, we ended up with
extra padding around text buttons that wasn't there before. The
"Download" bar doesn't look great with no padding at all, but it needs
to match the text buttons so the text doesn't jump to the right when
it switches from "Download" (text button) to "Connecting" (progress bar).

So we pad both text buttons and progress bars just a little bit, less
than a standard button but enough that progress bars look OK.
2017-01-23 18:58:31 -05:00
Alex Grin
c66508266c Update README.md 2017-01-23 16:23:35 -05:00
Alex Grin
78fde523ee Update README.md 2017-01-23 16:23:07 -05:00
Jeremy Kauffman
10163c53cc Clarify setup 2017-01-23 16:18:04 -05:00
alexliebowitz
f3c951187d Merge pull request #141 from lbryio/hide-unavailable-files
Add setting to hide unavailable content
2017-01-22 01:56:13 -05:00
Jeremy Kauffman
44412437ce unavailable content cleanup 2017-01-21 16:31:41 -05:00
Alex Liebowitz
e5b4aaf175 Revamp "file not available" message
- Don't fade out tile
 - Display message in place of buttons with an option to bypass the
   message
 - Factor out message into its own FileUnavailableMessage component
2017-01-21 01:52:35 -05:00
Alex Liebowitz
42517587ee Add FileUnavailableMessage component 2017-01-21 01:48:30 -05:00
Alex Liebowitz
3e33b5a2e8 Pass sdHash into FileTile on Discover page 2017-01-20 23:59:07 -05:00
Alex Liebowitz
9b68f71199 Always use local availability checks (not Lighthouse) 2017-01-20 23:55:49 -05:00
Alex Liebowitz
78176e6b0a In FileTile, show a message when a file is unavailable 2017-01-20 11:44:08 -05:00
Alex Liebowitz
9a421941fe Move styles for ToolTip and ToolTipLink into CSS 2017-01-20 11:38:23 -05:00
Alex Liebowitz
87e6713262 Make unavailable content visible by default 2017-01-20 08:54:36 -05:00
Alex Liebowitz
1c19537883 Clean up prop passing from FileTile to FileTileStream 2017-01-20 08:49:47 -05:00
Alex Liebowitz
9d0aa0d8da Add setting to hide unavailable content 2017-01-19 05:05:57 -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
bfbe69a861 Merge pull request #135 from lbryio/my-bug-fixes
Minor bug fixes
2017-01-17 22:15:33 -06:00
Job Evers-Meltzer
f1b2d0d62d ensure that content_type exists 2017-01-17 21:57:16 -06:00
Job Evers-Meltzer
22c4f41066 fix errorcallback in publish 2017-01-17 21:37:24 -06:00
Job Evers-Meltzer
4166419823 fix missing Icon import 2017-01-17 21:36:48 -06:00
Job Evers-Meltzer
5f2312295c fix typo in proptypes 2017-01-17 21:36:32 -06:00
Jeremy Kauffman
2192efc49f Merge pull request #116 from lbryio/unified-tiles
Unified File Tiles (WIP)
2017-01-17 17:10:40 -05:00
Jeremy Kauffman
8ce5e23c8f Merge pull request #134 from lbryio/development
Merge development into master
2017-01-17 16:25:52 -05:00
Alex Liebowitz
e6563f26b8 Fix extra margin around Open and Download links 2017-01-17 06:44:48 -05:00
Alex Liebowitz
839c42bc3a Use new format for open and reveal RPC methods 2017-01-17 06:44:48 -05:00
Alex Liebowitz
8fdfd4b60e Show prices on Published page 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
Alex Liebowitz
e9f00eec23 Pad buttons using margin on content instead of padding on container
Allows button-style progress bars to set width without having to
account for padding
2017-01-16 23:44:06 -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
3b7d093201 my_files fixes 2017-01-16 23:44:06 -05:00
Alex Liebowitz
b70b2a859d Fix handling of window click events in DropDownMenu
Wasn't doing e.stopPropagation() when mounting the handler for clicks
outside the menu.
2017-01-16 23:44:06 -05:00
Jeremy Kauffman
70d390ea2e no more overflow-y on tiles, let's cap titles for now 2017-01-16 23:44:06 -05:00
Jeremy Kauffman
6c67cee3d9 fix duplicate keys on search results 2017-01-16 23:44:05 -05:00
Jeremy Kauffman
4fd9828760 holy fuck javascript sucks 2017-01-16 23:44:05 -05:00
Jeremy Kauffman
167541b92c search bar displays pre-set value when ?discover=arg is passed 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
95675cd802 Fix clamp.js import 2017-01-16 23:42:09 -05:00
Alex Liebowitz
e1ec3bb979 Fix nsfw check in FileTile 2017-01-16 23:42:09 -05:00
Alex Liebowitz
8d3e585306 When user chooses Open, open files instead of revealing 2017-01-16 23:42:09 -05:00
Alex Liebowitz
cddc1ecd22 Remove files from UI immediately (don't wait for daemon to confirm) 2017-01-16 23:42:07 -05:00
Alex Liebowitz
769ee12020 Add ARIA labels to all modals in link.js 2017-01-16 23:41:20 -05:00
Alex Liebowitz
0796dbf285 Add keys to DownloadLink menu items 2017-01-16 23:37:24 -05:00
Alex Liebowitz
94c22961c6 Show "Connecting" instead of "0% Complete" before a download starts
Also remove now-unneeded showCaret prop from <DropDown />
2017-01-16 23:37:24 -05:00
Alex Liebowitz
b524eec826 Hide caret on "Downloading" dropdown when download hasn't actually started 2017-01-16 23:37:24 -05:00
Alex Liebowitz
802d8c6777 Remove "Download Started" modal 2017-01-16 23:37:22 -05:00
Alex Liebowitz
8ae5b6e0ed In DownloadLink, immediately switch to "0% Downloaded" on click
Before, it would only change after several seconds when the  download
actually started.
2017-01-16 23:34:29 -05:00
Alex Liebowitz
986ce927f0 In DownloadLink, offer dropdown in "downloading" state 2017-01-16 23:34:29 -05:00
Alex Liebowitz
8a1f0b76b1 Correct how SD hashes are extracted in SearchResults 2017-01-16 23:34:29 -05:00
Alex Liebowitz
f8ae201e76 Add initial value for this.state.deleteChecked in DownloadLink 2017-01-16 23:34:29 -05:00
Alex Liebowitz
6ea5e41368 Use in-browser platform check in DownloadLink 2017-01-16 23:34:29 -05:00
Alex Liebowitz
8d9e63ad53 Customize "Open in Folder" message based on platform 2017-01-16 23:34:29 -05:00
Alex Liebowitz
78e9a02b70 Add DropDown component and convert DownloadLink to use it 2017-01-16 23:34:10 -05:00
Alex Liebowitz
a2641c1a98 Add support for custom conteint in <Link />
Before you could only specify an icon and text label.
2017-01-16 23:33:32 -05:00
Alex Liebowitz
80272ab8f0 Update prop names and prop processing logic in Icon 2017-01-16 23:33:32 -05:00
Alex Liebowitz
18192cd93b Add Stage 2 Babel preset
Needed for rest spread operator (e.g. let {foo, ...bar} = baz)
2017-01-16 23:33:32 -05:00
Alex Liebowitz
78cb69a5ef Update menu formatting 2017-01-16 23:33:32 -05:00
Alex Liebowitz
0560f13ec4 Convert Menu styles to CSS 2017-01-16 23:33:31 -05:00
Alex Liebowitz
9f743700b7 Refactor Menu component
Instead of having the menu keeping track of whether it's open, we now
leave it up to the surrounding component to mount and unmount it. This
avoids bubbling issues when listening for events on an external toggle
button.

We also now use the recommended callback style for refs instead of
named refs.
2017-01-16 23:33:31 -05:00
Alex Liebowitz
d067a6e006 Refactor and clean up Link component 2017-01-16 23:33:31 -05:00
Alex Liebowitz
1e61af3b24 Rename things in FileTile
- updateStatusCallback -> updateFileInfoCallback
- this._statusCheckInterval -> this._fileInfoCheckInterval
2017-01-16 23:33:31 -05:00
Alex Liebowitz
5fcedd0d01 Update props in FileTile
- Add fileInfo
- Remove path (now calculated from fileInfo)
2017-01-16 23:33:31 -05:00
Alex Liebowitz
ac32ec366a Update MyFilesPage to work with updated FileTile
Also did a little cleanup/refactoring
2017-01-16 23:33:31 -05:00
Alex Liebowitz
4bd29ed515 Convert FeaturedContentItem to pass one metadata prop into FileTile 2017-01-16 23:33:31 -05:00
Alex Liebowitz
a36dd5cfe4 Convert search results to use FileTile 2017-01-16 23:33:31 -05:00
Alex Liebowitz
182ec6064d FileTile improvements and refactoring
- Now accepts a single metadata object for all metadata fields so
   the surrounding components don't have to break out the individual
   fields into props.
 - Now tracks whether the file was published by the user, and if
   there's a copy on their machine (will look up using API calls if
   needed)
 - Use the new "state" prop for DownloadLink
 - General refactoring and cleanup
2017-01-16 23:33:31 -05:00
Alex Liebowitz
bcaad75df4 Improve and refactor Download links
- Use a single "state" prop to track download progress (not-started,
   downloading, or done)
 - Accept a file path as a prop an "Open" link after the download is
   complete
 - Trim some outdated code; improve CSS class names
2017-01-16 23:33:28 -05:00
Alex Liebowitz
ce82f8cc6f Make FileTile look up its own download status if not provided 2017-01-16 23:31:16 -05:00
Alex Liebowitz
1b51b4e329 Add support for displaying progress in DownloadLink 2017-01-16 23:31:13 -05:00
Alex Liebowitz
f424e2e439 Show Download link only if file is not published by user 2017-01-16 23:27:14 -05:00
Alex Liebowitz
64d7b680c3 Add propTypes and getDefaultProps() to FileTile 2017-01-16 23:27:14 -05:00
Alex Liebowitz
97f6f3bdf8 Style and formatting fixes in FileTile 2017-01-16 23:27:14 -05:00
Alex Liebowitz
efa1a29d4f Rename SearchResultRow to FileTile and convert styles to CSS
Also moves the component to its own file (file-tile.js) so it can be
used outside the Discover page.
2017-01-16 23:27:14 -05:00
Jeremy Kauffman
9f9a1b66c2 Merge pull request #129 from lbryio/always-use-flash
Bypass check for Flash being installed in MediaElement.js
2017-01-13 17:54:12 -05:00
Jeremy Kauffman
f334770a8a Merge pull request #131 from lbryio/add-modal-labels
Add ARIA labels for all modals
2017-01-13 17:53:45 -05:00
Alex Liebowitz
9f5c57f93a Add ARIA labels for all modals 2017-01-13 17:05:09 -05:00
alexliebowitz
d2e33961cf Merge pull request #130 from lbryio/remove-get-start-notice
Remove startup notice code
2017-01-13 17:00:17 -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
35a09dff0f Bypass check for Flash being installed in MediaElement.js
Needed because Safari now reports that Flash isn't installed, even
when it is: https://webkit.org/blog/6589/next-steps-for-legacy-plug-ins
2017-01-12 21:56:39 -05:00
alexliebowitz
b78b644826 Merge pull request #128 from lbryio/update-readme-webpack
Update setup instructions and watch.sh for Webpack
2017-01-06 07:06:10 -05:00
Alex Liebowitz
16a9833bce Update watch.sh for Webpack 2017-01-06 07:03:54 -05:00
alexliebowitz
2fb876b6cb Update setup instructions 2017-01-06 07:00:49 -05:00
Jeremy Kauffman
4db3211855 always make lbry globally available 2017-01-05 17:30:36 -05:00
alexliebowitz
15d9236500 Merge pull request #127 from lbryio/development
Merge development into master
2017-01-04 17:09:01 -05:00
alexliebowitz
e345682b1c Merge pull request #126 from lbryio/fix-thumbnail-loading
Fix uncaught type error in Thumbnail
2017-01-04 17:08:20 -05:00
Alex Liebowitz
c3e08809c2 Check if Thumbnail is still mounted before confirming its image loaded 2017-01-04 15:50:20 -05:00
alexliebowitz
a6b7b3de5a Merge pull request #125 from lbryio/fix-null-search
Fix search on pages other than Discover
2017-01-04 15:28:10 -05:00
Job Evers‐Meltzer
a490554365 Merge pull request #124 from lbryio/development
Merge development into master
2017-01-04 11:14:59 -06:00
Alex Liebowitz
160c6fd407 DiscoverPage: pass query into handleSearchChanged() on mount 2017-01-04 11:53:30 -05:00
alexliebowitz
5b5318e100 Merge pull request #123 from lbryio/my-files-fix-date-sort
My Files: fix "Date" sorting in Published tab
2017-01-03 22:04:53 -05:00
alexliebowitz
536b8d83dc Merge pull request #122 from lbryio/fix-mediaelement-import
Import MediaElement with <script> tag
2017-01-03 22:04:20 -05:00
Alex Liebowitz
863758ba54 My Files: Preserve order of claims returned by daemon 2017-01-03 19:41:32 -05:00
Alex Liebowitz
304b53e994 Simplify sorting logic in My Files 2017-01-03 19:09:46 -05:00
Alex Liebowitz
a2f7f150db Import MediaElement with <script> tag
Needed because MediaElement doesn't fully support ES6 modules yet
2017-01-03 18:10:03 -05:00
alexliebowitz
5a9d095a44 Merge pull request #121 from lbryio/master
Sync development with fixes in Master
2017-01-03 13:39:13 -05:00
Job Evers‐Meltzer
6936d2f94e Merge pull request #120 from lbryio/fix-watch-page
fix LoadScreen import on watch page
2017-01-02 20:26:52 -06:00
Job Evers
e23cce81dc fix LoadScreen import on watch page 2017-01-02 20:21:23 -06:00
Jeremy Kauffman
2c760ca2dd Merge pull request #118 from lbryio/bug-report
Update Report Bug page
2017-01-02 15:47:21 -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
0ccc8ca809 Report: fix imports 2017-01-02 15:42:53 -05:00
Jeremy Kauffman
2b5557e781 Merge pull request #117 from lbryio/show-ui-version
Show UI version on Help page
2017-01-02 15:01:46 -05:00
Alex Liebowitz
70953710a8 Help: show Web UI version 2017-01-02 14:23:47 -05:00
Jeremy Kauffman
fa469253a3 Merge pull request #114 from lbryio/fix-dewey-decimals
Restore Dewey Decimals message in searches
2017-01-02 11:26:38 -05:00
Jeremy Kauffman
e726322b58 Merge pull request #113 from lbryio/developer-settings
Developer Settings page (WIP)
2017-01-02 11:25:15 -05:00
alexliebowitz
759a3ba185 Merge pull request #115 from lbryio/add-babel-polyfill
Add Babel Polyfill
2016-12-31 23:01:14 -05:00
Alex Liebowitz
3fd7cd62af Add Babel Polyfill
Fixes some IE bugs, plus gives us a few more ES2015 features.
2016-12-31 22:56:05 -05:00
Alex Liebowitz
7e86cccd6c Restore Dewey Decimals message
The "no results found" message was showing instead due to some tricky
state management stuff.
2016-12-30 08:21:24 -05:00
Alex Liebowitz
ed38e2ea75 Add import for BusyMessage to discover.js 2016-12-30 07:40:07 -05:00
Alex Liebowitz
cc335cfc65 Move Developer Settings page styles to separate file 2016-12-30 04:38:51 -05:00
alexliebowitz
cadb901209 Merge pull request #109 from lbryio/development
Merge development into master
2016-12-29 16:59:40 -05:00
Alex Liebowitz
5bcf095600 Refactor lighthouse.js and add support for custom servers
- Adds support for custom servers
 - Some light refactoring; mainly moving the logic for retrying queries
   into lbry.call() instead of leaving it up to the individual methods
2016-12-29 05:15:02 -05:00
Alex Liebowitz
9e2b43c531 Implement debug mode
Exposes lbry and lighthouse modules in global scope for easy testing.
2016-12-29 04:59:29 -05:00
Alex Liebowitz
f947164164 Add Developer Settings page 2016-12-29 04:59:29 -05:00
Alex Liebowitz
a2aaf65be5 Add developer settings to lbry.js 2016-12-29 04:59:29 -05:00
alexliebowitz
eb18d47e8a Merge pull request #112 from lbryio/fix-lighthouse-logic
Add a missing param to an inner function in lbry.getCostInfoForName()
2016-12-29 04:59:02 -05:00
Alex Liebowitz
a03b021945 Add a missing param to an inner function in lbry.getCostInfoForName() 2016-12-29 04:10:36 -05:00
alexliebowitz
bf388474a7 Merge pull request #111 from lbryio/update-lighthouse-servers
Update Lighthouse servers
2016-12-28 21:17:42 -05:00
Alex Liebowitz
c672528a18 Update Lighthouse servers 2016-12-28 20:59:30 -05:00
Alex Liebowitz
5d3110a295 My Files: Add import for FormField
Needed for "Sort by" dropdown now that we're on ES6 modules
2016-12-28 20:49:33 -05:00
Alex Liebowitz
ac281105ad Add Sort option to My Files page 2016-12-28 20:49:33 -05:00
Alex Liebowitz
350bc6d847 Add sorting functions to MyFilesPage 2016-12-28 20:49:33 -05:00
alexliebowitz
a9ef9ea391 Merge pull request #77 from lbryio/my-files-refactor
Refactor My Files page (WIP)
2016-12-28 03:38:52 -05:00
Alex Liebowitz
83d59da827 Refactor My Files page
- Checking for file ownership is now done by making one call to
   lbry.getMyClaims() and saving a list of txids.
 - Broke out logic for Published and Downloaded pages
 - Published page now looks up the user's claims instead of files.
   This allows published streams to be listed even if the files don't
   exist on the user's machine; also, because it looks up file info by
   txid, you will no longer see a newer claim listed if you made a
   claim and it was overtaken.
2016-12-28 02:28:13 -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
a642806a8d Add message for when no content is published
Before, it was showing the same message as the Downloaded page
2016-12-26 23:51:01 -05:00
alexliebowitz
59b31c1803 Merge pull request #108 from lbryio/update-download-watch-links
Update logic in Download and Watch links
2016-12-16 18:36:22 -05:00
alexliebowitz
29574a2a3d Merge pull request #107 from lbryio/webpack-travis
Update .travis.yml to use Webpack
2016-12-16 18:19:11 -05:00
Alex Liebowitz
643c884f56 Fix timeout check in DownloadLink
Was checking typeof streamInfo === 'object', and typeof null is
'object' (because why not?)

I think this was previously returning false for timeouts, and now
will only return null, so the "typeof" part may not be needed anymore.
2016-12-16 17:59:15 -05:00
Alex Liebowitz
7efbccbe83 Use new lbry.getCostInfoForName() in DownloadLink and WatchLink 2016-12-16 17:56:55 -05:00
Alex Liebowitz
500ea38792 Update .travis.yml to use Webpack 2016-12-16 16:26:14 -05:00
alexliebowitz
5dbadeb941 Merge pull request #106 from lbryio/new-lighthouse
Update Discover and Show pages to use new Lighthouse cost reporting
2016-12-14 13:27:46 -05:00
Alex Liebowitz
1cad30d188 Show: var -> const in DetailPage.render() 2016-12-14 13:27:07 -05:00
Alex Liebowitz
8b781694f2 Show: use new Lighthouse cost reporting 2016-12-14 13:24:58 -05:00
Alex Liebowitz
06de4534cd Show: rename some variables and props for clarity
- cost -> amount
 - available -> costIncludesData
 - claimInfo -> metadata (only in DetailPage for now)
2016-12-14 13:24:58 -05:00
Alex Liebowitz
34a7d41dc7 Make search result tiles use new Lighthouse cost reporting
Featured/Community Content and regular search results now calculate
cost the same way, so instead of calculating the cost in the outer
component we now do it inside <SearchResultRow /> itself.
2016-12-14 13:24:58 -05:00
Alex Liebowitz
d9a4442cc3 Add lbry.getCostInfoForName() 2016-12-14 13:24:58 -05:00
Alex Liebowitz
d59c5c2a1c Add lbry.getSizeForName() 2016-12-14 13:24:58 -05:00
Alex Liebowitz
0b58ae6e6e Add error and connection failure callbacks to Lighthouse methods 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
97496c33da Make cost prop optional in <SearchResultRow /> 2016-12-13 13:16:59 -05:00
alexliebowitz
a98c410403 Merge pull request #105 from lbryio/my-files-no-lighthouse
My Files page: during publication, check for availability directly from peers instead of with Lighthouse
2016-12-13 13:15:33 -05:00
Alex Liebowitz
177fa2cfa2 Move file availability check interval to class member 2016-12-13 13:14:42 -05:00
Alex Liebowitz
100dac0629 My Files: monitor file availability using lbry.getPeersForBlobHash()
Also reduce the checking rate to once every 5 minutes to avoid
slamming your peers with availability checks
2016-12-13 13:13:29 -05:00
alexliebowitz
c7f85046c2 Merge pull request #100 from lbryio/tweak_upgrade_msg
Tweak upgrade message
2016-12-13 13:03:56 -05:00
Alex Liebowitz
7ca6017986 Add lbry.getPeersForBlobHash() 2016-12-09 03:11:25 -05:00
alexliebowitz
3058f6714c Merge pull request #104 from lbryio/my-files-page-fix-imports
Fix imports on My Files page
2016-12-09 02:51:20 -05:00
Alex Liebowitz
a6825c4269 Fix imports on My Files page 2016-12-09 02:50:25 -05:00
alexliebowitz
325e930e2c Merge pull request #103 from lbryio/show-page-fix-imports
Fix imports on Show page
2016-12-09 02:12:47 -05:00
Alex Liebowitz
7b98f5b9a9 Show: fix imports 2016-12-09 02:10:59 -05:00
alexliebowitz
c296f0c708 Merge pull request #102 from lbryio/lighthouse-namespacing-fix
lbry.lighthouse.search() -> lighthouse.search() in two files
2016-12-07 15:16:20 -05:00
Alex Liebowitz
78ed1b9dcd lbry.lighthouse.search() -> lighthouse.search() in two files 2016-12-07 15:14:53 -05:00
alexliebowitz
4d4cad0158 Merge pull request #101 from lbryio/remove-console-logs
Remove a couple of stray console.log() calls
2016-12-07 13:20:08 -05:00
Alex Liebowitz
0458d58a08 Remove a couple of stray console.log() calls 2016-12-07 13:19:24 -05:00
alexliebowitz
a4303fe1ad Merge pull request #93 from lbryio/build-with-webpack
Convert to ES6 Modules
2016-12-07 13:00:38 -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
494168474f Small tweak so that hot-reloading works.
The middleware server servers the bundle from memory
so it needs to know where to put it.
2016-12-06 14:28:10 -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
Job Evers
d57d8d8a0b remove unused zip file 2016-12-06 14:28:10 -05:00
Jeremy Kauffman
b80420465a Tweak upgrade message
Avoid text like "Click 'Upgrade' to XXX" that tells the user how to do something that the UI already invites them to do.
2016-12-05 14:51:36 -05:00
Jeremy Kauffman
f086b47f80 Merge pull request #98 from lbryio/word-break-modals
Change wrapping of file path in "Download Succeeded" Modal
2016-12-04 09:02:44 -05:00
Job Evers‐Meltzer
c0e53b45eb Merge pull request #99 from lbryio/master
Release to Master
2016-12-02 21:15:34 -06:00
Alex Liebowitz
8e90389122 Layout tweak to "Download Succeeded" Modal
This displays the file path on its own line and does character-level
wrapping on the path only.

Ideally, we would just apply character wrapping to all words that are
too long for their line. There are CSS props for that but I haven't
been able to find a reliable way to do it without setting a width on the
outer container, which we don't want here (modals stretch based on their content). So this is the best compromise I can come up with.
2016-12-02 03:21:35 -05:00
alexliebowitz
d913e0be63 Merge pull request #97 from lbryio/lbry-id-new-method
Update API method used to get LBRY ID
2016-11-30 00:34:18 -05:00
Alex Liebowitz
406c37f9ff Help: change method used to get LBRY ID
Now uses lbry.getSessionInfo() instead of lbry.getVersionInfo()
2016-11-30 00:23:57 -05:00
Alex Liebowitz
735444f022 Add lbry.getSessionInfo() 2016-11-30 00:23:45 -05:00
Jeremy Kauffman
18b8712bf8 Merge pull request #96 from lbryio/fix-modal-string-bug
Fix missing $ in string interpolation in a few modals
2016-11-29 07:55:44 -05:00
Alex Liebowitz
4868efdfb9 Fix missing $ in string interpolation in a few modals 2016-11-28 18:24:55 -05:00
Jeremy Kauffman
af61b7caae Merge pull request #94 from lbryio/show-lbry-id
Help: Show LBRY ID in "About" section
2016-11-25 14:36:12 -05:00
alexliebowitz
c0fb03b994 Merge pull request #95 from lbryio/watch-download-link-improvements
Improvements to Watch and Download links
2016-11-24 23:11:04 -05:00
Alex Liebowitz
7eaeeeefb4 Wrap modal content in div to prevent flexbox layout 2016-11-24 23:03:03 -05:00
Alex Liebowitz
17d13c3a93 Properly notify when a download times out 2016-11-24 22:43:57 -05:00
Alex Liebowitz
323cedadb2 Disable Watch link on click 2016-11-24 22:43:52 -05:00
Alex Liebowitz
12afb10cbc In DownloadLink, don't check this.state.downloading on click
If this.state.downloading is true, the button will be disabled anyway.
2016-11-24 22:43:44 -05:00
Alex Liebowitz
468692b480 Make Download link switch to "Downloading" immediately on click 2016-11-24 22:43:28 -05:00
Alex Liebowitz
70076d8a9e Help: Show LBRY ID in "About" section 2016-11-23 21:35:15 -05:00
Alex Liebowitz
a0fb58415e Help: slight refactor of version section 2016-11-23 21:35:09 -05:00
Jeremy Kauffman
adb6329d9e Merge pull request #89 from lbryio/warn-invalid-chars
Reject invalid name characters on Publish page
2016-11-23 11:12:35 -05:00
Alex Liebowitz
e0d0c3f915 Publish: validate names as the user types
Rejects invalid characters and pops up a form hint explaining what
characters are allowed.
2016-11-22 01:14:22 -05:00
Alex Liebowitz
5af7916b20 Add lbry.nameIsValid() 2016-11-22 01:14:15 -05:00
Alex Liebowitz
aea1c7e6ee Convert name field into controlled component 2016-11-22 01:14:02 -05:00
alexliebowitz
6ac9853fd4 Merge pull request #88 from lbryio/better-form-hints
Convert form hints to separate component with better style (WIP)
2016-11-22 01:08:09 -05:00
Alex Liebowitz
96afd8a840 Left justify form hints 2016-11-22 01:06:24 -05:00
Alex Liebowitz
8b13f341b6 Don't render hidden form fields 2016-11-22 01:06:24 -05:00
Alex Liebowitz
b73399f4e6 Publish: prevent submit and notify user if file is not fully processed 2016-11-22 01:06:24 -05:00
Alex Liebowitz
f6f4d452b0 Add FormField.showAdvice() for displaying arbitrary form hints
Also modifies FormField.warnRequired() to use this new method
2016-11-22 01:06:20 -05:00
Alex Liebowitz
498b75c688 Convert form hints to separate component with better style 2016-11-22 01:06:15 -05:00
Alex Liebowitz
84464a8118 Add className prop to Icon 2016-11-22 01:06:04 -05:00
alexliebowitz
fd7091cbcf Merge pull request #87 from lbryio/delete-modal-buttons
My Files page: make buttons in "delete" modal work
2016-11-21 22:28:47 -05:00
Jeremy Kauffman
90b483ea7e Merge pull request #91 from lbryio/publish-my-claim-fix
Fix issue with live updating logic on Publish page
2016-11-21 18:30: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
Alex Liebowitz
298c03283d Fix issue with live updating logic on Publish page
Previously, if the user typed a name that they have a claim on and
then continued typing, some of the interface would not be updated to
show that they don't have a claim.
2016-11-18 06:14:02 -05:00
Alex Liebowitz
5f5a460a6d My Files: add handler for closing delete modal 2016-11-17 23:40:24 -05:00
Alex Liebowitz
3dd961b70a My Files: make "Confirm" button in delete modal work
Was calling lbry.setState() instead of this.setState()
2016-11-17 23:40:19 -05:00
Ben Yanke
33b43477d5 formatName now using different text sanitation method 2016-11-16 13:56:04 -06:00
Job Evers‐Meltzer
68b377e7a6 Merge pull request #86 from lbryio/development
Release
2016-11-16 11:15:03 -06:00
Job Evers‐Meltzer
f8c77a96cc Merge pull request #69 from lbryio/high-level-error-handling
High-level error handling
2016-11-16 10:13:27 -06:00
Alex Liebowitz
c6104516e7 My Files: don't check stream availability when URI is absent
Previously this was failing silently, but with the new error modals
it started popping up error messages.
2016-11-15 02:33:42 -05: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
f346739bfb More error modal appearance tweaks
- Change warning icon to PNG with different color scheme
 - Use alt style button
 - Darken backdrop
 - Add spacing under header
 - Reduce margins on all modals
2016-11-15 01:30:38 -05:00
Alex Liebowitz
46cf8915f9 Restore JSON-RPC 2.0 error keys 2016-11-15 01:30:38 -05:00
Alex Liebowitz
edeaf4f7d0 Add warning icon and dark backdrop to error dialog 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
439f6523b1 Add close handler to error modal 2016-11-15 01:30:38 -05:00
Alex Liebowitz
8dd20edfcb Fix "missing key in ul" React warning 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
1173cb3f57 Fix capitalization of labels in error modal 2016-11-15 01:29:51 -05:00
Alex Liebowitz
78cb810204 Error modal logic tweak
Check type instead of key name to determine whether to render value as
JSON
2016-11-15 01:29:51 -05:00
Alex Liebowitz
6e5684c18b Add styles for error modal 2016-11-15 01:29:51 -05:00
Alex Liebowitz
c36711c380 Report unhandled daemon and Lighthouse errors 2016-11-15 01:29:51 -05:00
alexliebowitz
3471184828 Merge pull request #79 from lbryio/transaction-date-placeholder
On Wallet page, show placeholder text for dates on pending transactions
2016-11-15 01:09:27 -05:00
alexliebowitz
0db4c8df13 Merge pull request #80 from lbryio/publish-page-bid-fixes
Fix issues with display of bids on Publish page
2016-11-14 12:04:07 -05:00
alexliebowitz
b437c326ef Merge pull request #81 from lbryio/fix-drawer-item-highlighting
Highlight drawer item for sub-pages
2016-11-14 12:03:21 -05:00
alexliebowitz
02a0b36673 Merge pull request #82 from lbryio/thumbnail-component
Thumbnail component
2016-11-14 12:01:50 -05:00
alexliebowitz
a1554cba5c Merge pull request #83 from lbryio/retry-search-server
Retry search on a different server if connection to Lighthouse fails (WIP)
2016-11-14 12:01:31 -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
4ea16b4d66 Convert all thumbnails to use Thumbnail component 2016-11-11 08:05:30 -05:00
Alex Liebowitz
7c42bda244 Add Thumbnail component 2016-11-11 08:05:29 -05:00
Alex Liebowitz
eadaefb63b Highlight drawer item for sub-pages 2016-11-11 06:36:02 -05:00
Alex Liebowitz
db41c45da3 Publish page: fix pluralization of bid amounts 2016-11-11 06:25:32 -05:00
Alex Liebowitz
b4d97b1cee Publish page: fix issues with display of top claim value
- Display top bid correctly (before, it would sometimes show the user's
   bid instead)
 - Change wording to say "more than ___ credits" instead of "at least
   ___ credits"
2016-11-11 06:25:32 -05:00
Alex Liebowitz
5a0057093c Publish page: display exact bid amounts 2016-11-11 06:25:32 -05:00
Alex Liebowitz
ee56a38b0d Wallet page: Show placeholder text for dates on pending transactions 2016-11-11 05:09:43 -05:00
alexliebowitz
14565ec586 Merge pull request #70 from lbryio/modals
Use React Modal dialogs for all alerts and confirmation boxes
2016-11-10 07:05:16 -05:00
Alex Liebowitz
6e31b076b3 Restore spacing on Watch and Download buttons 2016-11-10 06:59:54 -05:00
Alex Liebowitz
f34fca11a8 Add option to disable confirm or abort buttons in modals
Adds new confirmButtonDisabled and abortButtonDisabled props to Modal
component. Mainly useful when you have a "confirm" button that performs
some operation before closing the modal and you need the confirm button
to disable after it's clicked.
2016-11-10 06:59:53 -05:00
Alex Liebowitz
57b953ba69 Watch and Download link layout tweak
Contain links in spans instead of divs to avoid block layout
2016-11-10 06:59:53 -05:00
Alex Liebowitz
9306617fd4 Simplify modal button logic 2016-11-10 06:59:53 -05:00
Alex Liebowitz
855e64e661 Convert alerts to modals in My Files, Publish, Report, Wallet pages 2016-11-10 06:59:48 -05:00
Alex Liebowitz
a6e4751ae3 Convert alerts to modals in DownloadLink component 2016-11-10 06:57:06 -05:00
Alex Liebowitz
df0a5ee73e Convert alerts to modals in Claim Code and Referral pages 2016-11-10 06:57:01 -05:00
Alex Liebowitz
ced77438ad Convert alerts to modals in app.js 2016-11-10 05:21:13 -05:00
Alex Liebowitz
c031313c84 Add Modal component 2016-11-10 05:21:13 -05:00
Alex Liebowitz
e3f178e379 Include React Modal lib 2016-11-10 05:21:13 -05:00
Alex Liebowitz
580a5fd89b Upgrade to React 15.3.2 2016-11-10 05:21:13 -05:00
alexliebowitz
1e055ea59f Merge pull request #76 from reillysmith/patch-2
Update discover.js new content 11-03
2016-11-04 01:40:09 -04:00
reillysmith
f37f2abc63 Update discover.js 2016-11-03 16:25:47 -07:00
Job Evers‐Meltzer
dcc04d3290 Merge pull request #75 from lbryio/revert-66-only-push-tags
Revert "only deploy on a tag"
2016-11-02 13:47:40 -05:00
Job Evers‐Meltzer
628fe64a4d Revert "only deploy on a tag" 2016-11-02 13:45:38 -05:00
Jeremy Kauffman
eb0acc2ce4 Merge pull request #74 from lbryio/report-link
Add infringement report link to Show page
2016-11-02 13:08:22 -04:00
Alex Liebowitz
5d5ec8633e Add "report" link to Show page 2016-11-02 13:03:19 -04:00
Job Evers-Meltzer
9ae6278ade Bump version: 0.1.0 → 0.1.1 2016-11-02 11:38:05 -05:00
Alex Liebowitz
e228790b28 Add styles for help links 2016-11-02 12:12:46 -04:00
Alex Liebowitz
a7e6e9db1d Convert text links to mixin 2016-11-02 12:09:33 -04:00
Job Evers‐Meltzer
584a1d7d6a Merge pull request #71 from lbryio/clampjs
Switch TruncatedText component to use clamp.js
2016-10-26 16:41:48 -05:00
Job Evers‐Meltzer
cf7818a6e6 Merge pull request #67 from lbryio/submit-on-enter
Submit forms on enter
2016-10-26 16:29:15 -05:00
Alex Liebowitz
5925f11083 Switch TruncatedText component to use clamp.js 2016-10-21 06:28:42 -04:00
alexliebowitz
fb8a36ef09 Merge pull request #68 from lbryio/my-files-no-files
My FIles: Don't get stuck on loading screen if no files are present
2016-10-20 12:43:39 -04:00
Alex Liebowitz
2ad8960e2f My FIles: Don't get stuck on loading screen if no files are present 2016-10-19 20:29:35 -04:00
Alex Liebowitz
0e21b88281 Add submit input to Claim Code, Referral and Wallet pages 2016-10-19 03:13:39 -04:00
Alex Liebowitz
7cfbb60033 Add submit input to Publish page 2016-10-19 03:11:17 -04:00
Alex Liebowitz
eba4dbe146 Convert Publish page to use <form>
Previously used form element only for file input
2016-10-18 22:30:57 -04:00
Job Evers‐Meltzer
48d30a5cb7 Merge pull request #66 from lbryio/only-push-tags
only deploy on a tag
2016-10-18 10:07:40 -05:00
Job Evers-Meltzer
c0e1d3c4b3 only deploy on a tag 2016-10-13 18:37:48 -05:00
alexliebowitz
d7efbc35e9 Merge pull request #65 from reillysmith/patch-1
Update discover.js
2016-10-10 18:03:58 -04:00
reillysmith
6b460b4a9a Update discover.js 2016-10-10 14:57:00 -07:00
Alex Liebowitz
80fd456e04 Add query strings to JS files to bypass caching
As of lbrynet 0.6.4 we're giving the right headers for JS files, so
we only need a fixed query string to force a new load once.
2016-10-10 00:26:10 -04:00
Jeremy Kauffman
b8e3ad93ac Merge pull request #63 from finer9/patch-1
Update help.js
2016-10-08 16:14:13 -04:00
Josh Finer
5631d03f76 Update help.js
typo
2016-10-07 20:23:22 -04:00
Alex Liebowitz
b07241405e Flip menus to the left on My Files page 2016-10-02 03:33:40 -04:00
Alex Liebowitz
ef8f0e6227 Don't trigger lbry.search() on page load
This was happening because the transition of the query from
undefined -> '' was registering as a search being typed
2016-09-29 03:46:00 -04:00
Alex Liebowitz
fdc6329c2f Disable Silverlight, enable HTML5 fallback 2016-09-28 05:42:38 -04:00
Alex Grintsvayg
011199aef7 reword credit claim messages 2016-09-25 13:28:10 -04:00
alexliebowitz
ef1cc62c26 Merge pull request #58 from lbryio/non-winning-claims
Add better feedback for non-winning claims on Publish page
2016-09-25 01:38:03 -04:00
Alex Liebowitz
39dc23398e Use global search for filtering special chars in lbry.formatName() 2016-09-25 01:34:52 -04:00
Alex Liebowitz
3b0d24d4f5 Bold claim name everywhere on Publish page 2016-09-25 01:31:58 -04:00
Alex Liebowitz
5a60cb451c Give clearer feedback when updating a claim when have a non-winning bid 2016-09-25 01:29:57 -04:00
Jeremy Kauffman
c7ab4b9500 Merge pull request #61 from lbryio/longer-descriptions
Fix Featured and Community Content descriptions getting cut off
2016-09-24 15:30:02 -04:00
Jeremy Kauffman
d2ed0098f6 Merge pull request #60 from lbryio/video-load-screen
Use format of main splash screen for video load screen
2016-09-24 15:29:16 -04:00
Jeremy Kauffman
d7ec67c4ee add ellipsis to initial load message for consistency 2016-09-24 15:27:07 -04:00
Jeremy Kauffman
7be116665e Merge pull request #59 from lbryio/license-select
Convert license field to drop-down box
2016-09-24 15:22:30 -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
317db4cb4f If get_my_claim returns an error, assume the claim is mine (temporary) 2016-09-24 04:41:31 -04:00
Alex Liebowitz
3614640adc Show different message for fully uploaded files vs. completed downloads 2016-09-24 04:21:07 -04:00
Alex Liebowitz
cb087cd50d Temporarily disable Reflector upload notice, pending lbrynet fixes 2016-09-24 04:15:02 -04:00
Alex Liebowitz
0991eafcbc Bump required lbrynet version to 0.5.0 2016-09-24 03:17:58 -04:00
alexliebowitz
ac1b504dcf Merge pull request #62 from lbryio/my-files-tabs
Separate tabs for Downloaded and Published files in My Files
2016-09-24 03:01:54 -04:00
Alex Liebowitz
89f87bb604 Remove workaround for old get_my_claim() behavior 2016-09-24 02:59:46 -04:00
Alex Liebowitz
9e3dc5b5ce Convert MyFilesPage._filesOwnershipLoaded to state var 2016-09-24 02:50:13 -04:00
Alex Liebowitz
e5e27444a5 On My Files page, simplify check for file availability 2016-09-24 02:42:19 -04:00
Alex Grin
e12dc598a9 Merge pull request #53 from lbryio/claim-referral-credits
Add referral credit check page (WIP)
2016-09-23 20:03:45 -04:00
Alex Liebowitz
8bc13fb8a5 Filter My Files results based on tab chosen 2016-09-23 05:56:36 -04:00
Alex Liebowitz
4072c1cdda Add Downloaded and Published tabs to My Files page 2016-09-23 05:56:36 -04:00
Alex Liebowitz
e1637d537c Add lbry.getMyClaim() 2016-09-23 05:56:35 -04:00
Alex Liebowitz
4e9159828c Use compact search result tiles for featured and community content 2016-09-22 02:42:20 -04:00
Alex Liebowitz
eefc44cfb2 Add "compact" option for search result tiles 2016-09-22 02:41:03 -04:00
Alex Liebowitz
452f808e32 In copyright notice pre-fill, use "Copyright" instead of (C) symbol 2016-09-21 03:42:31 -04:00
Alex Liebowitz
5476c29322 Fix handling of absent license URLs
Before, if an option was picked that has no license URL field, it
would submit undefined for license_url. Now it correctly omits the key.
2016-09-21 02:57:20 -04:00
Alex Liebowitz
28e7f1e3b2 Remove "all rights reserved" wording 2016-09-21 02:29:45 -04:00
Alex Liebowitz
f598517e27 Use format of main splash screen for video load screen 2016-09-21 01:39:50 -04:00
Alex Liebowitz
19d12955a5 Factor out generic loading screen component from SplashScreen 2016-09-21 01:35:29 -04:00
Alex Liebowitz
8340759934 Convert license field to drop-down box 2016-09-20 06:40:24 -04:00
Alex Liebowitz
b90e1d62e0 Add FormField.getSelectedElement() 2016-09-20 06:38:46 -04:00
Alex Liebowitz
b3218f13c9 Show message on My Files page for files uploading to Reflector 2016-09-16 12:56:26 -04:00
Alex Liebowitz
9315b617c1 Track file Reflector availability in MyFiles state 2016-09-16 12:55:34 -04:00
Alex Liebowitz
09cd853bf2 Make Publish page send user to My Files as soon as file is listed there 2016-09-16 11:23:39 -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
Job Evers‐Meltzer
4d34bb1599 Merge pull request #56 from reillysmith/patch-1
Update discover.js
2016-09-09 16:26:22 -07:00
reillysmith
24934f66b0 Update discover.js 2016-09-09 16:07:27 -07:00
Alex Liebowitz
cd2d3a44ea Fix wording 2016-09-09 07:40:27 -04:00
Alex Liebowitz
7077b78135 Make Watch button appear correctly in search results
Wasn't passing in the content type to SearchResultRow
2016-09-08 04:36:57 -04:00
Alex Liebowitz
9a9bed2966 Make lbry.getMediaType() reliably handle malformed and absent input 2016-09-08 04:35:41 -04:00
Alex Liebowitz
0788cde219 Add referral code claim page 2016-09-08 04:17:08 -04:00
Jack Robison
3be312736b fix keys used in response from get_transaction_history 2016-09-05 13:20:34 -04:00
Jeremy Kauffman
9527d1abc0 Merge pull request #51 from sonatagreen/show-debits
show negative transactions
2016-09-04 15:22:19 -04:00
Sonata Green
1c89f47d1a show negative transactions 2016-09-03 15:28:05 -05:00
Jeremy Kauffman
9a52f69b72 Merge pull request #50 from lbryio/hide-watch-button
Hide Watch button for non-video content everywhere, not just My Files page
2016-09-02 08:05:21 -04:00
Alex Liebowitz
ef3e57be8a On Discover and Show pages, hide Watch button for non-video content 2016-09-02 04:51:22 -04:00
Alex Liebowitz
3deb160822 Make My Files page get media type via content_type instead of filename 2016-09-02 04:50:44 -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
b39d313776 Make upgrade send user to MSI on Win or lbry.io/get for unknown OSes 2016-09-02 03:43:45 -04:00
Alex Liebowitz
3043574608 Link thumbnails and LBRY names in search tiles 2016-09-02 03:34:08 -04:00
Alex Liebowitz
0844cbd14a Don't show claim code page after user submits or skips 2016-09-02 03:08:46 -04:00
Alex Liebowitz
c8220e0c08 On Show page, don't display wrong name when given a nonexistent name
Now shows 404-like "no content here" message instead
2016-09-02 02:51:28 -04:00
Alex Liebowitz
8ebddc5a9f On Wallet page, refresh address if it doesn't match the current wallet 2016-09-02 01:46:27 -04:00
Alex Liebowitz
96dedbf1bd Add lbry.getAddressIsMine() 2016-09-02 01:34:30 -04:00
Alex Grintsvayg
2bc90f9957 bumpversion config 2016-09-01 13:23:47 -04:00
Jeremy Kauffman
99c942a214 Merge pull request #49 from lbryio/publish-reformat-names
Lowercase and remove special characters from names on Publish page
2016-09-01 07:46:24 -04:00
Alex Liebowitz
e453679729 Lowercase and remove special chars from names on Publish page
Also edited the text that appears next to the "name" box so
the user always gets to sees the actual name that will be claimed.
2016-09-01 03:30:12 -04:00
Alex Liebowitz
968506a8dd Add lbry.formatName() 2016-09-01 03:28:07 -04:00
Alex Liebowitz
97512b9b3a Show address on Wallet page
- Remembers address from previous views using local storage
 - Also improved layout and added help text
2016-09-01 02:54:16 -04:00
alexliebowitz
aa7abb2451 Merge pull request #46 from lbryio/tx_log
Transaction log on Publish page
2016-08-30 05:15:49 -04:00
Jeremy Kauffman
e8dae73491 Merge pull request #37 from lbryio/help-version-section
Add section with version and upgrade info to "Help" page
2016-08-29 11:41:29 -04:00
Jeremy Kauffman
b4dac55d26 cleaned up transaction history, added header subnav style 2016-08-27 10:12:56 -04:00
Alex Liebowitz
39a70aa464 Support both versions of content_type field on Show page
Just needed for transition to new metadata system
2016-08-27 02:37:35 -04:00
Alex Liebowitz
9995e6e3a8 Keep existing metadata version when updating claims 2016-08-27 02:18:19 -04:00
Jeremy Kauffman
f538c9a775 Merge remote-tracking branch 'origin/master' into txlog2 2016-08-26 19:07:49 -04:00
Jeremy Kauffman
d46fed313f Merge remote-tracking branch 'origin/master' into help-version-section 2016-08-26 18:11:28 -04:00
Jeremy Kauffman
d927c5ffef futher cleanup of help page 2016-08-26 18:06:22 -04:00
alexliebowitz
596a122d25 Fixed capitalization on featured content item URI 2016-08-26 16:51:12 -04:00
alexliebowitz
1c1ca5c0ae Merge pull request #43 from lbryio/front-page-tweaks
Update Featured Content and add "five" slot to Community Content
2016-08-26 08:23:28 -04:00
Alex Liebowitz
0e30c6c8c8 Update Featured Content and add "five" slot to Community Content 2016-08-26 08:07:46 -04:00
Alex Liebowitz
a679c9944a Add default thumbnails everywhere 2016-08-26 08:03:08 -04:00
Alex Liebowitz
5ae7bb4ac2 Fix wide thumbnails in My Files 2016-08-26 06:54:30 -04:00
Jeremy Kauffman
f8045ea104 NSFW legalese 2016-08-24 11:14:46 -04:00
Sonata Green
f0c93ce150 List newest transactions first 2016-08-24 00:08:58 -05:00
Jeremy Kauffman
aff23d77f0 Merge pull request #41 from lbryio/kimihiro64-patch-1
Quick typo
2016-08-23 14:52:52 -04:00
kimihiro64
61bd7ce5c5 Quick typo 2016-08-23 09:53:45 -05:00
Jack Robison
92a0e40536 Merge pull request #40 from lbryio/use-existing-metadata
Use existing metadata to fill missing fields when updating claims
2016-08-23 01:48:08 -04:00
Alex Liebowitz
d16c4aa181 Show correct price on Show page 2016-08-23 01:22:29 -04:00
Alex Liebowitz
6f9bec804b Use existing metadata to fill missing fields when updating claims 2016-08-23 01:03:03 -04:00
Jeremy Kauffman
f80b057a6b Merge pull request #34 from sonatagreen/fix-showpage-buttons
fix watch/download links on ?show= page
2016-08-22 17:03:25 -04:00
Jeremy Kauffman
71719d02f4 Merge pull request #38 from lbryio/blur-nsfw
Blur NSFW stuff on home page (WIP)
2016-08-22 16:58:01 -04:00
Jeremy Kauffman
5dcb0593ad move nsfw logic lower, more semantic, handle search unmount 2016-08-22 16:56:52 -04:00
Jeremy Kauffman
b53a178338 Merge remote-tracking branch 'origin/show-hide-nsfw' into blur-nsfw 2016-08-22 16:14:58 -04:00
Sonata Green
17bfbb8940 add setting to show/hide NSFW content 2016-08-22 16:09:28 -04:00
Alex Liebowitz
399fb5c7c8 Filter NSFW featured content on Discover page 2016-08-22 16:09:28 -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
b75004c5f6 Make search work from pages other than Discover 2016-08-22 15:19:11 -04:00
Sonata Green
fb265520f3 Merge branch 'txlog2' of github:sonatagreen/lbry-web-ui into txlog2 2016-08-22 11:18:51 -05:00
Sonata Green
73e29b423b use BusyMessage on wallet page 2016-08-22 11:16:43 -05:00
Alex Liebowitz
124b2b9a18 Add styles 2016-08-22 09:03:36 -04:00
Alex Liebowitz
3edc93c842 Blur NSFW content on home page
Also adds a mouse-over overlay explaining you can choose to
show NSFW stuff on the Settings page (not implemented yet)
2016-08-22 08:01:00 -04:00
Alex Liebowitz
13f7f1995e Improve wording and formatting on Help page 2016-08-22 05:43:02 -04:00
Alex Liebowitz
ce574f24ec Add version and upgrade info section to Help page 2016-08-22 05:42:01 -04:00
Alex Liebowitz
61a3d4f36e Improve wording and formatting of Help page 2016-08-22 05:38:17 -04:00
Sonata Green
a4cd2f9b09 use .table-standard for transaction history 2016-08-21 23:22:09 -05:00
Sonata Green
955db5fcfc fix double transactions 2016-08-21 23:22:09 -05:00
Sonata Green
d8182c084c prettify transaction log a bit 2016-08-21 23:22:09 -05:00
Sonata Green
e2a1d53287 fix date/time display 2016-08-21 23:22:09 -05:00
Sonata Green
1687518c6e Bare-bones transaction history. 2016-08-21 23:22:08 -05:00
Sonata Green
a255d7aefa use .table-standard for transaction history 2016-08-21 13:05:19 -05:00
Sonata Green
e4544087a8 fix watch/download links on ?show= page 2016-08-21 11:51:20 -05:00
Jeremy Kauffman
0221761a5a Merge pull request #33 from lbryio/sonatagreen-myfiles-loading
Sonatagreen myfiles loading
2016-08-21 10:57:43 -04:00
Jeremy Kauffman
3554d34c53 revert wallet changes 2016-08-21 10:57:11 -04:00
Jeremy Kauffman
f9a1bd99c0 component for busy indicator, use in my_files 2016-08-21 10:55:32 -04:00
Sonata Green
0b5ec7be77 fix double transactions 2016-08-20 16:52:31 -05:00
Sonata Green
6b97cc7f6a prettify transaction log a bit 2016-08-20 15:38:27 -05:00
Sonata Green
0efe31e444 fix date/time display 2016-08-20 15:38:01 -05:00
Sonata Green
f823b570f3 Bare-bones transaction history. 2016-08-20 14:52:03 -05:00
Sonata Green
920f55b4f5 add loading message to the My Files page 2016-08-19 20:48:08 -05:00
Jeremy Kauffman
02416f66e5 fix cross browser scrolling 2016-08-19 09:47:40 -04:00
Jeremy Kauffman
abecc5490a Merge pull request #25 from lbryio/my_files_no_dups
only print an item in my_files once
2016-08-19 09:30:35 -04:00
Jeremy Kauffman
afd9b90df7 Merge pull request #28 from lbryio/easier-install
Easier install
2016-08-19 09:30:06 -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
5d05e10f18 Remove (est) from cost on items that Lighthouse reports hosted
Also adds "credits" to all prices and tweaks formatting slightly
2016-08-19 03:15:17 -04:00
Alex Liebowitz
a98c97fe0f Stack header on top of all content 2016-08-18 04:06:45 -04:00
Alex Liebowitz
5c25f30c90 Hold off on "credits" wording change for now 2016-08-18 04:04:42 -04:00
Alex Liebowitz
4c01cf4259 Use lbry.search() to fetch costs 2016-08-18 03:34:20 -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
Alex Grintsvayg
7038f044b9 node-sass is a bit dumb with --watch 2016-08-17 16:27:53 -04:00
Alex Grintsvayg
9f19116d3e simplify setup process 2016-08-17 15:15:09 -04:00
Alex Liebowitz
9f5c999c39 On Publish page, ignore outdated getClaimInfo() responses 2016-08-10 03:05:17 -04:00
Alex Liebowitz
2573262e2b Don't use native form styles on Safari 2016-08-09 21:19:35 -04:00
Alex Liebowitz
c371c7c758 Make header text display in Safari 2016-08-09 16:33:01 -04:00
Alex Liebowitz
0ebbe4427b Filter NSFW search results (will add option to display them later) 2016-08-09 12:17:02 -04:00
alexliebowitz
f78c6a65bb Merge pull request #27 from lbryio/ux_gonna_give_it_to_ya
Wicked awesome UX overhaul
2016-08-09 11:03:57 -04:00
Alex Liebowitz
eceaabb93c Make search not get stuck on Dewey Decimals message 2016-08-09 10:58:35 -04:00
Jeremy Kauffman
e1bbb7dbdf fix spacing issue 2016-08-09 08:42:32 -04:00
Jeremy Kauffman
2867560fed unify item tiles 2016-08-09 08:42:32 -04:00
Jeremy Kauffman
201a1989d9 fix watch 2016-08-09 08:36:26 -04:00
Jeremy Kauffman
c9b7c37e2c more form fixes 2016-08-09 08:36:26 -04:00
Jeremy Kauffman
21b5890448 publish and form tweaks 2016-08-09 08:36:26 -04:00
Jeremy Kauffman
2b07c982e6 result display improvements, search to header 2016-08-09 08:29:22 -04:00
Jeremy Kauffman
007da592f1 crude ability to jump to discover 2016-08-09 08:22:06 -04:00
Jeremy Kauffman
a36f0f2691 wallet code + some finer touches on header + nav 2016-08-09 08:22:06 -04:00
Jeremy Kauffman
0d2775138a clean up help, report, and settings 2016-08-09 08:20:19 -04:00
Jeremy Kauffman
7b18774e81 move exit to header 2016-08-09 08:20:19 -04:00
Jeremy Kauffman
2ec42aad26 basic nav design, new title scheme, light page clean up 2016-08-09 08:20:19 -04:00
Jeremy Kauffman
640001c597 store upgrade skip in session 2016-08-09 08:20:19 -04:00
Jeremy Kauffman
98ebf02ca6 split out tool tip to separate component 2016-08-09 08:20:19 -04:00
Jeremy Kauffman
45f14598b9 barebones sidebar + light component refactor 2016-08-09 08:20:19 -04:00
Jeremy Kauffman
24a7d5588e turn return link into a component 2016-08-09 08:20:19 -04:00
Jeremy Kauffman
78f1fde34b only print an item in my_files once 2016-08-09 08:20:19 -04:00
alexliebowitz
ad3773ead4 Merge pull request #26 from lbryio/support-own-claims
Change wording and behavior on Publish page when user already controls name
2016-08-09 06:38:24 -04:00
Alex Liebowitz
6b899bdfc0 Pass sources from existing claim to publish() if file not provided 2016-08-09 03:04:54 -04:00
Alex Liebowitz
7a5f478b4d Change wording on Publish page for claims user already controls 2016-08-09 02:46:11 -04:00
Alex Liebowitz
6677769ded Use current value in name field on Publish page 2016-08-08 23:34:11 -04:00
Alex Liebowitz
761ba6f1e2 Properly set default currency 2016-08-08 05:49:30 -04:00
Alex Liebowitz
3d20bc22aa Make Featured Content use TrunctedText 2016-08-08 05:44:15 -04:00
Jeremy Kauffman
31820a8ad8 only print an item in my_files once 2016-08-07 11:29:08 -04:00
Jeremy Kauffman
b60037b8d9 fix react warnings 2016-08-07 11:27:00 -04:00
Alex Liebowitz
53843361b6 Make Featured Content and Search use new TruncatedText component 2016-08-04 04:09:03 -04:00
Alex Liebowitz
be31598ed9 Add TruncatedText component 2016-08-04 04:08:12 -04:00
Alex Liebowitz
aa2f48f359 Add spacing between buttons on Publish page 2016-08-04 03:36:53 -04:00
Alex Liebowitz
f4d2ed2af1 Add spacing between buttons on Search page and between search results 2016-08-04 03:33:44 -04:00
Jeremy Kauffman
007a5e55d1 Merge pull request #24 from lbryio/publish-page-july
Publishing support
2016-08-03 15:38:20 -04:00
Alex Liebowitz
5ece0111df Clearly indicate pending files in My Files 2016-08-03 06:57:06 -04:00
Alex Liebowitz
c1185b3c9d Update publish success message
Now says that file will appear in My Files immediately but
will initially show up as "pending."
2016-08-03 06:57:06 -04:00
Alex Liebowitz
3c417d0abe Remove PublishPage.readyToPublish() (now unused) 2016-08-03 06:57:06 -04:00
Alex Liebowitz
25e9eff7f2 Change publish link in empty search results to point to Publish page 2016-08-03 06:57:06 -04:00
Alex Liebowitz
00524f5554 Move Publish entry in menu 2016-08-03 06:57:06 -04:00
Alex Liebowitz
7d283743fc More Publish page improvements
- Multiple currency support (USD/LBC)
 - Add bid amount to list of required fields
2016-08-03 06:57:06 -04:00
Alex Liebowitz
655d764213 Use new lbry.getClaimInfo() to get claim status on Publish page 2016-08-03 06:57:06 -04:00
Alex Liebowitz
c937b28a99 Make Publish confirmation message show title correctly 2016-08-03 06:57:06 -04:00
Alex Liebowitz
03052fde62 Fix filtering of absent metadata fields 2016-08-03 06:57:06 -04:00
Alex Liebowitz
31417fcc57 Fixed required field test 2016-08-03 06:57:06 -04:00
Alex Liebowitz
9298db089b Remove warnings about non-numeric input (will replace with input filtering)"
Remove warnings about non-numeric input

Will replace with input filtering
2016-08-03 06:57:06 -04:00
Alex Liebowitz
690881ab9e Many small improvements to Publish
- Add NSFW field
   - Send metadata version
   - Convert back to non-nested metadata fields (for now)
   - Made progress bar display properly during the "processing" phase
   - Changed "Publish" button to "Publishing..." during submit
2016-08-03 06:57:06 -04:00
Alex Liebowitz
157a68d4f1 Add checkbox support to FormField component 2016-08-03 06:57:06 -04:00
Alex Liebowitz
45c126a757 In PublishPage.handleSubmit(), return right away when data is missing 2016-08-03 06:57:06 -04:00
Alex Liebowitz
6b9df7be76 Fix unnecessary double call of getValue on license URL field 2016-08-03 06:57:06 -04:00
Alex Liebowitz
45840838b9 Refactor and new features for Publish page
- Publish button no longer grayed out when form is incomplete
 - Now warns about individual missing fields using the new FormField
   component
 - Fixed relaying of error messages from daemon
 - New license URL field
 - License broken into two sub-fields (.license.name, .license.url)
2016-08-03 06:57:06 -04:00
Alex Liebowitz
e4f439c12c Add FormField component with required field support 2016-08-03 06:57:06 -04:00
Alex Liebowitz
b4fb4b3a5c Add custom colors for form placeholders 2016-08-03 06:57:06 -04:00
Alex Liebowitz
6d23e7af51 Make lbry.publish() call error callback 2016-08-03 06:57:06 -04:00
Alex Liebowitz
7f258b2a14 Fix My Files link on Publish page 2016-08-03 06:57:06 -04:00
Will Moyer
c3754e7c56 update styles and layout for Publish page 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
faca7f18d0 Finish core logic of Publish page 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
2ec8a5c7fc Basic skeleton of Publish page 2016-08-03 06:57:06 -04:00
Alex Liebowitz
d9c6787fac Add lbry.publish() 2016-08-03 06:57:06 -04:00
Alex Liebowitz
1aac7576ae Make update redirect go directly to dmg or deb 2016-08-03 06:56:40 -04:00
alexliebowitz
cd1cb858d7 Merge pull request #23 from lbryio/add-wallet-ui
Add Wallet UI
2016-08-03 05:40:09 -04:00
Alex Liebowitz
a2856052dc Tweak wording and formatting on Wallet page 2016-08-03 05:37:59 -04:00
Jonas Whidden
629ba32d3a Clean up and Package
The first case is covered by the condition for enabling the send button
2016-08-02 08:35:18 -05:00
Alex Liebowitz
09cad7196b Add low balance checking on Wallet page 2016-08-02 05:36:00 -04:00
Jonas Whidden
4b521f29e6 Change phrasing 2016-08-02 05:36:00 -04:00
Jonas Whidden
0f2db3e00a Make it prettier 2016-08-02 05:36:00 -04:00
Jonas Whidden
a9d95bf76b Fix send amount to address 2016-08-02 05:36:00 -04:00
Jonas Whidden
31cf170e35 Wallet branch 2016-08-02 05:36:00 -04:00
Jonas Whidden
0131294b91 Use bank icon for wallet menu item 2016-08-02 05:36:00 -04:00
Jonas Whidden
61c73e0ae2 Commit was left out 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
9a01b7202f Alert user if they don't have enough credits for watch/download 2016-08-02 05:12:52 -04:00
Alex Liebowitz
7b8a4918a1 Make it clear the search box is actually a search box now
(Thanks Jack)

This reverts commit a7ae10530e.
2016-07-30 04:29:13 -04:00
Alex Liebowitz
cfbadd7007 Make Featured Content use lbry.getCostEstimate() 2016-07-30 04:23:41 -04:00
Alex Liebowitz
7c77f166cd Make Show page use lbry.getClaimInfo() and lbry.getCostEstimate() 2016-07-30 03:47:31 -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
aff6308846 Add character cutoff on descriptions for featured and community content 2016-07-27 06:25:26 -04:00
Alex Liebowitz
aa968e2b13 Small style fixes on home page 2016-07-27 06:24:10 -04:00
Jeremy Kauffman
a7ae10530e make it clear the search box is not actually a search box 2016-07-26 09:19:54 -04:00
Jeremy Kauffman
1048f110da capitalize area names 2016-07-26 09:03:46 -04:00
Jeremy Kauffman
7c418c0ea6 fix ?files failing to load after publish 2016-07-26 09:02:28 -04:00
Jeremy Kauffman
f191ddf623 Merge pull request #22 from lbryio/community-content
Community content (WIP)
2016-07-26 08:45:41 -04:00
Alex Liebowitz
3d6e66a4bf Add Community Content section to home page 2016-07-26 08:02:55 -04:00
Alex Liebowitz
6f16b76bb3 Add tooltip support to Link component 2016-07-26 08:01:54 -04:00
Jeremy Kauffman
73a70b7a61 minor formatting fix 2016-07-24 11:55:24 -04:00
Alex Liebowitz
fe66cc502c Use error message from claim code endpoint 2016-07-22 23:46:37 -04:00
alexliebowitz
1e026bebe4 Merge pull request #20 from lbryio/add-travis
Build the frontend assets on travis and deploy to S3
2016-07-22 17:02:33 -04:00
Job Evers
af553c6ac0 Build the frontend assets on travis and deploy to S3 2016-07-22 10:59:39 -05:00
Alex Liebowitz
820ffc2a40 Send user directly to GitHub releases page 2016-07-22 01:18:36 -04:00
Alex Liebowitz
8b8bcc644c Switch to int comparison in version check 2016-07-22 00:20:16 -04:00
Alex Liebowitz
27341cd55e Restore normal claim code page
This reverts commit 8a984f0519.
2016-07-21 13:43:23 -04:00
Alex Liebowitz
8a984f0519 Disable claim codes (temporary) 2016-07-20 23:30:08 -04:00
Jeremy Kauffman
c43c21672d add common issue 2016-07-20 22:06:39 -04:00
Jeremy Kauffman
94c2479d06 Merge pull request #19 from lbryio/kimihiro64-patch-2
Clarify testing
2016-07-20 22:05:00 -04:00
kimihiro64
aede1ca623 Clarify testing 2016-07-20 18:25:23 -05:00
Alex Liebowitz
0ef5ce3bd4 Update dist.zip 2016-07-20 18:45:44 -04:00
Alex Liebowitz
a373349a6b Update dist.zip 2016-07-20 16:26:04 -04:00
Alex Liebowitz
597fa08154 Add MediaElement.js to main repo (not just dist.zip) 2016-07-20 16:20:25 -04:00
Jeremy Kauffman
ad33c0e4b5 minor install tweaks 2016-07-20 14:24:54 -04:00
Jack
fbd68aa2b7 re-add dist.zip 2016-07-19 12:33:55 -04:00
Jack
0dbf33fd62 dist.zip 2016-07-19 12:32:09 -04:00
Jack
5e5ba8910a fix dist.zip 2016-07-19 12:11:34 -04:00
alexliebowitz
946785bed2 Merge pull request #12 from kimihiro64/add-detail-page
Add detail page
2016-07-19 02:20:27 -04:00
Jonas Whidden
cc28af2436 Merge branch 'master' into add-detail-page
# Conflicts:
#	dist.zip
2016-07-19 00:41:27 -05:00
Jack Robison
b298dc889a Merge pull request #16 from kimihiro64/fix-news-get
Turns out www was the culprit, not http.
2016-07-19 01:06:42 -04:00
Jonas Whidden
685f39b764 Turns out www was the culprit, not http. 2016-07-18 23:51:22 -05:00
Jack
b5da0d673f update dist.zip
update to
https://github.com/lbryio/lbry-web-ui/commit/7c86ae047171baaf8bf86ab2682
a8683886129a6
2016-07-19 00:18:19 -04:00
Jonas Whidden
50de564183 Update dis.zip 2016-07-18 21:54:06 -05:00
Jeremy Kauffman
7c86ae0471 Merge pull request #14 from kimihiro64/patch-1
Change update location
2016-07-18 13:23:12 -04:00
Jonas Whidden
97f44b9072 More show links 2016-07-18 11:22:45 -05:00
kimihiro64
f6d0585ba7 Change update location
Needs to be https://www.lbry.io/get. For some reason if it's non https, it redirects to https://www.lbry.io/news/get.
2016-07-18 09:40:52 -05:00
Jonas Whidden
8890a0cb8c Make title a link to show page, make watch link not use lory:// 2016-07-17 17:16:57 -05:00
Jonas Whidden
151cb22684 Use escaped to access content-type 2016-07-17 09:20:37 -05:00
Jonas Whidden
4c8bdc27ec Refactor to use results only since it contains everything, add message when no results found, wait for results data to load before display page, extract variables for cleaner JTX. Using results.content_type which for now is null, the actual property is results.content-type, but that's syntactically ambiguous so there's no way to resolve the name. Requires a change in LBRY to send content_type instead of content-type. 2016-07-16 12:14:06 -05:00
Jonas Whidden
c7f92bdf5a Design audit, need to add entry to show file type 2016-07-16 00:43:12 -05:00
Jonas Whidden
ea178e6ae4 Fix bigs with JTX 2016-07-16 00:19:40 -05:00
Jonas Whidden
f7790e8bf8 Initial show page commit 2016-07-15 21:58:24 -05:00
alexliebowitz
2a94c824e5 Merge pull request #11 from lbryio/jeremy_ux
bold titles, better image sizes, minor rework of homepage
2016-07-14 01:36:51 -04:00
Jeremy Kauffman
5d7f920bc6 bold titles, better image sizes, minor rework of homepage 2016-07-13 21:46:26 -04:00
Alex Liebowitz
49eaa25423 Remove all mention of "200 credits," to support other offers 2016-07-05 10:32:25 -04:00
Alex Liebowitz
54140ee069 Update dist.zip 2016-07-05 01:58:07 -04:00
Alex Liebowitz
5ff7bd30eb Alignment and formatting tweaks 2016-07-05 01:39:53 -04:00
Alex Liebowitz
40c336db9b URL encode arguments for invite endpoint 2016-07-04 22:07:24 -04:00
Alex Liebowitz
2ad24c6b0d General Featured Content improvements 2016-07-04 21:58:17 -04:00
Alex Liebowitz
597e450dd5 UI tweaks 2016-07-04 20:02:06 -04:00
alexliebowitz
5b33411a74 Give claim code "skip" button alt style 2016-07-04 15:05:26 -04:00
alexliebowitz
28905347f8 Typo 2016-07-04 14:58:31 -04:00
alexliebowitz
cb19a5dba5 Fix mandatory field handling in claim code form 2016-07-04 14:58:00 -04:00
alexliebowitz
f06c0e7c1b Make email required in claim code form 2016-07-04 14:55:18 -04:00
alexliebowitz
8d9f793275 Merge pull request #10 from lbryio/claim-code
Add claim code page
2016-07-04 12:07:30 -04:00
Alex Liebowitz
5f2174dd07 Add claim code page 2016-07-04 12:05:26 -04:00
alexliebowitz
2ce6fb0da6 Merge pull request #9 from lbryio/mediaelement
Switch to MediaElement video player
2016-07-04 12:02:13 -04:00
Alex Liebowitz
ab15d96efe Fix version check logic (Pt. 2) 2016-06-30 01:27:31 -04:00
Alex Liebowitz
b38b069034 Update dist.zip 2016-06-30 00:47:34 -04:00
Alex Liebowitz
11f450bde0 Merge branch 'mediaelement' of https://github.com/lbryio/lbry-web-ui into mediaelement 2016-06-30 00:42:38 -04:00
Alex Liebowitz
c5d93f7bb1 Fix version check logic 2016-06-30 00:39:41 -04:00
Jack
0074e80c1f fix zip 2016-06-27 17:18:04 -04:00
Jack
45d74d0de9 update dist.zip
update to
https://github.com/lbryio/lbry-web-ui/commit/cdc31b3006bee3260b5252a090c
b275eae4a99ee
2016-06-27 17:16:31 -04:00
alexliebowitz
cdc31b3006 Make search results use new standard "title" field 2016-06-27 16:40:49 -04:00
alexliebowitz
2834bc01f4 Change My Files to use new standard "title" field 2016-06-27 16:38:08 -04:00
Alex Liebowitz
5f7c4a8121 Make styles for MediaElement.js to add letterboxing 2016-06-06 04:52:52 -04:00
Alex Liebowitz
e6869e2cf7 Convert all.scss to UNIX line endings 2016-06-06 04:42:17 -04:00
Alex Liebowitz
986a2bf16e Switch to MediaElement (all done except letterboxing) 2016-06-03 07:45:03 -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
92105f1bf4 Change option wording to non-OS-specific "Reveal file" for now 2016-05-30 09:37:47 -04:00
alexliebowitz
14d8b3de52 Merge pull request #8 from lbryio/my-files-more-menu
"More Options" menu on My Files page
2016-05-30 09:04:54 -04:00
Alex Liebowitz
142c0dad9e Make "Remove from LBRY" and "Delete file" options work 2016-05-30 08:54:08 -04:00
Alex Liebowitz
9aabfc171c Basics of More Options menu on My Files items 2016-05-30 04:16:33 -04:00
Jack
df31e97e60 update dist.zip
update to
https://github.com/lbryio/lbry-web-ui/commit/77b5b0465be3033975c479ec58f
f3c56b2121786
2016-05-29 22:45:07 -04:00
Jack
77b5b0465b add requirements.txt 2016-05-29 22:43:36 -04:00
Alex Liebowitz
c49b70049e Remove some debug code 2016-05-29 05:28:06 -04:00
alexliebowitz
409be530c3 Merge pull request #7 from lbryio/featured-content-support
Featured content support
2016-05-29 04:59:55 -04:00
Alex Liebowitz
909685a70e Merge branch 'master' into featured-content-support 2016-05-29 04:58:10 -04:00
Alex Liebowitz
dc8b0e9df6 Hide featured content for now 2016-05-29 04:41:57 -04:00
Alex Liebowitz
c132de88b0 Make menu icons bigger 2016-05-29 04:30:28 -04:00
Alex Liebowitz
9550a08b51 Center art on My Files page 2016-05-29 04:30:28 -04:00
Alex Liebowitz
823489baed Fix rounding error causing progress bar to grow and shrink 1px 2016-05-29 04:30:27 -04:00
Alex Liebowitz
6db7551911 Fix missing padding before "Return" link in My Files 2016-05-29 04:30:27 -04:00
Alex Liebowitz
1894f833a5 Make My Files page use new WatchLink component 2016-05-29 04:30:27 -04:00
Alex Liebowitz
db76714801 Indentation fix in my_files.js 2016-05-29 04:30:27 -04:00
Alex Liebowitz
be74a51d9f Streamline featured content styles; spacing tweaks 2016-05-29 04:30:26 -04:00
Alex Liebowitz
f16d9f044b Make Featured Content reappear the same moment search results disappear 2016-05-29 04:30:26 -04:00
Alex Liebowitz
ddb430c2c0 Factor out DownloadLink and WatchLink into standalone components 2016-05-29 04:30:26 -04:00
Alex Liebowitz
1609cc0e3f Merge branch 'my-files-page' 2016-05-29 04:02:33 -04:00
Alex Liebowitz
c41c9c07c3 Make menu close when user clicks away
Also moved toggle button handling into Menu component to simplify
logic.
2016-05-28 06:33:42 -04:00
Alex Liebowitz
85f13d9991 Add padding to main menu 2016-05-28 03:08:34 -04:00
Alex Liebowitz
cc75ff9aff Main menu improvements
- Move most of the code into generic Menu and MenuItem components
  - Icons can go left or right of text
  - Make icons fixed width (fixes ragged left edge of labels)
  - Labels underlined on hover only
2016-05-27 07:18:42 -04:00
Alex Liebowitz
2b3dd4b1df CSS tweaks for menu: support fixed width icons, non-underlined links 2016-05-27 07:04:37 -04:00
Alex Liebowitz
8ec07a42a6 Add back Linux check for close button 2016-05-23 13:01:53 -04:00
Alex Liebowitz
cce187ad62 Add small LBRY logo to top of sub-pages 2016-05-23 10:24:23 -04:00
Alex Liebowitz
926fce72af Convert main menu to drop down 2016-05-23 09:56:21 -04:00
Alex Liebowitz
4977729409 Make watch page full width (override 800px page width) 2016-05-23 08:16:41 -04:00
Jeremy Kauffman
bbe3bb4862 verbiage on help 2016-05-20 11:54:53 -04:00
Jeremy Kauffman
c8ff35920c remove osx litter 2016-05-20 11:33:28 -04:00
Jeremy Kauffman
b762ab79c2 no osx garbage in repo pls 2016-05-20 11:32:48 -04:00
Jack
edc0ef2060 update dist.zip to my-files-page 2016-05-16 20:25:56 -04:00
Alex Liebowitz
5b11964e59 Add basics of Featured Content with dummy entries 2016-05-16 09:45:49 -04:00
Alex Liebowitz
4593e8600d Add lbry.resolveName() 2016-05-16 09:17:53 -04:00
Alex Liebowitz
6ac17ae675 Vertically center download start/stop icon 2016-05-16 06:22:14 -04:00
Alex Liebowitz
f8f1d97150 Add Watch button to video streams 2016-05-16 05:00:20 -04:00
Alex Liebowitz
ecc20adaa9 Add lbry.getMediaType() 2016-05-16 04:16:40 -04:00
Alex Liebowitz
2824447c6c Make stream name display more robust (inc. fall back to URI) 2016-05-16 03:10:02 -04:00
Alex Liebowitz
00ade0a78b Make pause/resume button update correctly 2016-05-16 01:48:27 -04:00
Alex Liebowitz
668e1d7a5d Basic layout with working pause/resume/remove file functionality 2016-05-14 08:27:11 -04:00
Alex Liebowitz
f2f7698d3d Add startFile, stopFile, deleteFile functions to lbry module 2016-05-14 08:27:11 -04:00
Alex Liebowitz
32c2c94b95 Basics of My Files page 2016-05-14 08:27:10 -04:00
Alex Liebowitz
8a9d883956 Add title prop to Link class 2016-05-14 08:27:10 -04:00
Alex Liebowitz
a6b97d75ab Add lbry.getFilesInfo() 2016-05-14 08:27:10 -04:00
Alex Liebowitz
9a2125ae4a Add My Files menu item and titles for all menu items 2016-05-14 08:27:09 -04:00
Alex Liebowitz
3246e93766 Make 1000 LBC notice only appear on home page 2016-05-14 08:27:09 -04:00
Jack
6e36cf67f1 update dist.zip
update to
https://github.com/lbryio/lbry-web-ui/commit/9071b2b1a97368e88a603974720
c89f0cda85d83
2016-05-13 19:42:26 -04:00
Alex Liebowitz
9071b2b1a9 Switch to FlowPlayer to fix streaming issues and simplify code 2016-05-13 07:51:46 -04:00
Jack
3ae53eda6b update dist.zip
update to
https://github.com/lbryio/lbry-web-ui/commit/d3745e13d181b64c77380c05978
1aba5a120da81
2016-05-11 04:50:01 -04:00
Alex Liebowitz
d3745e13d1 Make 15 sec fallback loop start when video is created, loop properly 2016-05-11 03:17:42 -04:00
Jack Robison
5870f42ab3 Merge pull request #2 from lbryio/help-page
Help page and video loading
2016-05-06 03:15:13 -04:00
Jack
27b0db0528 Merge branch 'master' into help-page
# Conflicts:
#	dist.zip
2016-05-06 03:14:15 -04:00
Jack
55d18758b4 update dist.zip
update to:
https://github.com/lbryio/lbry-web-ui/commit/e5e4802143f66ef8c7b145c2307
4a93a371f761f
2016-05-05 18:43:13 -04:00
Alex Liebowitz
e5e4802143 Add fallback routine to call .load() every 15 seconds if a video fails to load 2016-05-05 08:10:19 -04:00
Alex Liebowitz
c74629f5d3 Pre-render video hidden, then launch when it reports it can play 2016-05-05 06:58:06 -04:00
Alex Liebowitz
5b0f2e638a Hide video until it's playable and show loading message 2016-05-05 04:12:23 -04:00
Alex Liebowitz
31bf22cbf1 Add lbry.getFileStatus() 2016-05-05 04:08:37 -04:00
Alex Liebowitz
b9d30cf85e Remove video ready state poll (video now starts on first try) 2016-04-27 01:28:45 -04:00
Alex Liebowitz
54a125673e Fix image captions in search results 2016-04-25 06:58:40 -04:00
Alex Liebowitz
1d4a259135 Vertically center inline icons 2016-04-25 06:57:47 -04:00
Jack
c05b7cad96 update dist.zip
update to:
https://github.com/lbryio/lbry-web-ui/commit/32784f5ad00df5f457e461b4721
da3eabb64c16f
2016-04-24 17:53:24 -04:00
Alex Liebowitz
32784f5ad0 Improve wording and formatting on Help page 2016-04-24 05:01:47 -04:00
Alex Liebowitz
0c135bd774 Add style for <p> 2016-04-24 04:59:55 -04:00
Alex Liebowitz
366a16b933 Add "Report a Bug" page to replace Jack's temporary one 2016-04-23 08:20:54 -04:00
Alex Liebowitz
f91ba86295 Add lbry.reportBug() 2016-04-23 08:19:15 -04:00
Jack
17e0ebdc80 update dist.zip
update to:
https://github.com/lbryio/lbry-web-ui/commit/4924b8d272447f9e635568cd8b7
4205b655c2a58
2016-04-22 19:10:20 -04:00
Alex Liebowitz
4924b8d272 Keep trying to load video until it's available (temporary) 2016-04-22 06:46:36 -04:00
Jack
bcb7bc373b change variable 'default_download_directory' to 'download_directory' 2016-04-22 02:48:07 -04:00
Jack
5a2f014cb7 update dist.zip
update to
https://github.com/lbryio/lbry-web-ui/commit/0c3cc55a317bc088ac3ccd4668b
3374b090d11e2
2016-04-21 16:48:48 -04:00
Jack
f716219715 update dist.zip
update to
https://github.com/lbryio/lbry-web-ui/commit/96745ef2b6c8aec5e8751670c01
a5c46aeecbab7
2016-04-21 15:24:13 -04:00
Alex Liebowitz
0c3cc55a31 Fix "Download" link; also notify user and disable link on click. 2016-04-21 06:55:41 -04:00
Alex Liebowitz
80fdf2fd5f add lbry.getStreamInfo() 2016-04-21 06:16:40 -04:00
Alex Liebowitz
7f96f534a1 Move video viewing into front end 2016-04-21 05:54:18 -04:00
Jack
a9b58b4020 fix chrome link problem
update to
https://github.com/lbryio/lbry-web-ui/commit/96745ef2b6c8aec5e8751670c01
2016-04-21 01:00:22 -04:00
Alex Liebowitz
96745ef2b6 Switch from full URI to absolute path for View links 2016-04-21 00:52:07 -04:00
Jack
7ba7232b59 update dist.zip
update to
https://github.com/lbryio/lbry-web-ui/commit/6faca8e669dddcdf0fddb581d9d
5fbd11ef32a8d
2016-04-20 15:27:23 -04:00
Jack
6faca8e669 add help text 2016-04-20 15:25:39 -04:00
Alex Liebowitz
a4f02c8ae9 Add "close" button on Linux with landing page to restart 2016-04-20 08:18:55 -04:00
Alex Liebowitz
b5fcb77e22 Add basics of Help page 2016-04-20 06:28:13 -04:00
Alex Liebowitz
5f64e0dbae Stop daemon before sending user to get new version
Daemon versions <= 0.2.2 don't support the "stop" method on O SX, so
we ask those users to manually exit LBRY
2016-04-20 05:46:29 -04:00
Alex Liebowitz
19933c53e5 Add lbry.getVersionInfo() and lbry.stop() 2016-04-20 05:38:00 -04:00
Jack
590da0e674 update dist.zip
update to:
https://github.com/lbryio/lbry-web-ui/commit/0ff8dd7b84132e04e0725c1ab6e
ba530da703ada
2016-04-17 21:36:43 -04:00
Alex Liebowitz
0ff8dd7b84 Remove load screen timeout (lagging is now reported by daemon) 2016-04-17 21:32:45 -04:00
Alex Liebowitz
8267646d93 Use localhost URLs for links in Chrome and on Windows (temporary)
Probably would be better to pass URL prefix via props or context, but it's
temporary code anyway.
2016-04-16 06:33:30 -04:00
Jack Robison
b07aea9cf2 Merge pull request #1 from lbryio/settings-page
merge updates from settings-page
2016-04-16 01:10:42 -04:00
Jack
afcd5bddc4 update dist.zip
https://github.com/lbryio/lbry-web-ui/commit/6ab085d74b62a084eec54561ba8
345e3a271aa8a
2016-04-15 21:24:57 -04:00
Jack
914af6980b update dis.zip
update to commit:
https://github.com/lbryio/lbry-web-ui/commit/6ab085d74b62a084eec54561ba8
345e3a271aa8a
2016-04-15 19:12:50 -04:00
Alex Liebowitz
6ab085d74b Convert lagging notice from alert to regular message 2016-04-15 06:41:01 -04:00
Jack
e43daed8a7 update dist.zip
update to:
https://github.com/lbryio/lbry-web-ui/commit/f34d0c9ad84f8cff2980147037b
b2af73e1f0922
2016-04-14 16:29:10 -04:00
Alex Liebowitz
f34d0c9ad8 Add details from daemon to splash message 2016-04-14 04:21:36 -04:00
Alex Liebowitz
3b705ada7b Basic load status checking logic and notify user when lagging 2016-04-14 02:27:06 -04:00
Alex Liebowitz
8deb62cc76 Let SplashScreen trigger render of App
The splash screen will soon poll for loading progress info, so we might as well
launch App directly from SplashScreen instead of having two separate polls.
2016-04-14 01:49:00 -04:00
Alex Liebowitz
7c1fb5bcb2 Add lbry.getDaemonStatus() 2016-04-14 00:40:31 -04:00
Jack
105738db12 update dist.zip
update to commit:
https://github.com/lbryio/lbry-web-ui/commit/7ec2b469609ba288643a6c0e6d7
9e82c08f3e4d2
2016-04-13 21:44:35 -04:00
Alex Liebowitz
7ec2b46960 Add missing args param to check_for_new_version call 2016-04-13 21:21:35 -04:00
Jack
698b08cff5 update dist zip
update to commit:
https://github.com/lbryio/lbry-web-ui/commit/f8c0382db0e2aa251c68ce8926d
15ca75801b3a8
2016-04-13 02:36:32 -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
dd4b7a621b Rename gui.js to main.js (per Jeremy's changes)) 2016-04-12 04:52:42 -04:00
Jack
c0f51c446e fix directory 2016-04-11 15:30:21 -04:00
Jack
f4b30dade1 update dist zip 2016-04-11 14:38:53 -04:00
Jeremy Kauffman
2447a15a73 Update watch.sh 2016-04-10 16:25:26 -04:00
Jeremy Kauffman
f7cc73c113 one more function to remove 2016-04-09 20:03:23 -04:00
Jeremy Kauffman
3a6e1529d8 settings UI, clean up 2016-04-09 20:00:56 -04:00
Alex Liebowitz
8cf9395ea8 Display startup message if provided by daemon 2016-04-09 06:44:46 -04:00
Alex Liebowitz
21ba8ae8b3 Code style fixes and typos 2016-04-09 05:10:42 -04:00
Alex Liebowitz
123e6760bc Finish pre-population; fix saving of "share diagnostic data" field 2016-04-09 03:47:56 -04:00
Alex Liebowitz
496dbaea34 Add "Share diagnostic data" option 2016-04-09 03:05:06 -04:00
Alex Liebowitz
1c602449fe Improve wording and layout; make all fields save 2016-04-08 12:08:48 -04:00
Alex Liebowitz
790124d25a First sorta-working draft of Settings page
- Includes all fields except some I need to ask Jack about (layout details)
  - Loads current settings and saves one (run_on_startup)
  - Also made success callback in lbry.call() optional (don't need it for set_settings)
2016-04-03 09:13:15 -04:00
Alex Liebowitz
485c7fafbe Add support for multiple pages and basic outline of Settings page 2016-03-31 06:22:31 -04:00
Alex Liebowitz
fa7fd4c589 Update lbry.call() for Jack's JSONception fix 2016-03-30 05:35:42 -04:00
Alex Liebowitz
2f8e5873f4 Break out menu into its own component 2016-03-27 01:50:27 -04:00
Alex Liebowitz
d6a432fe75 Move top bar into its own component 2016-03-27 01:41:36 -04:00
Alex Liebowitz
29f8018cef Fix missing titles in search results 2016-03-27 01:23:37 -04:00
Alex Liebowitz
841fc40568 Fix empty style passed as string instead of object 2016-03-27 01:22:07 -04:00
Alex Liebowitz
baa604cdb1 Add menu bar with settings icon and supporting changes
- Added class support and "fade in" option to Link component
2016-03-25 03:31:20 -04:00
Alex Liebowitz
4bdadc4551 Fixes to improve loading screen
- Add optional "connection failed" callback to lbry.call()
- Make loading screen handle condition where daemon is not running at all (i.e. AJAX connection fails)
2016-03-24 21:20:58 -04:00
Jack
9bf1e6c55a fix zip file
supposed to contain the contents of dist, not dist itself
2016-03-24 16:04:52 -04:00
Jack
0411050078 use real loading screen
loading animation plays while app is still connecting
2016-03-24 15:35:35 -04:00
Alex Liebowitz
b2bcf3a436 Implement lbry.connect(); loading screen now actually checks if the daemon is loaded 2016-03-24 03:08:39 -04:00
Jack
74636bad63 add zip of pre-built UI 2016-03-22 09:50:21 -04:00
Jack
279fc434c1 fix thumbnail and font paths, add default thumbnail image
also remove reference to unused script (mimic.js) from index.html
2016-03-21 12:04:46 -04:00
Jack
443b4520c3 fix a path, remove unneeded file, fix parameter formatting 2016-03-21 10:10:19 -04:00
Alex Liebowitz
972674ce2e Implement lbry.call() and get balance display working 2016-03-21 02:31:25 -04:00
Jeremy Kauffman
8c39a0716f api tweak 2016-03-16 17:57:41 -04:00
Jeremy Kauffman
7974c66515 ensure folders exist 2016-03-15 12:12:43 -04:00
Jeremy Kauffman
c8d425ada2 add a README 2016-03-15 12:10:27 -04:00
Jeremy Kauffman
5b2867f830 full frontend separation (you must be 18+ to view this commit) 2016-03-15 12:05:11 -04:00
Jeremy Kauffman
62ba2b8585 initial commit (broken) 2016-03-14 18:05:24 -04:00
364 changed files with 35223 additions and 1071 deletions

28
.appveyor.yml Normal file
View File

@@ -0,0 +1,28 @@
# Test against the latest version of this Node.js version
environment:
nodejs_version: 7
GH_TOKEN:
secure: LiI5jyuHUw6XbH4kC3gP1HX4P/v4rwD/gCNtaFhQu2AvJz1/1wALkp5ECnIxRySN
key_pass:
secure: u6DydPcdrUJlxGL9uc7yQRYG8+5rY6aAEE9nfCSzFyNzZlX9NniOp8Uh5ZKQqX7bGEngLI6ipbLfiJvn0XFnhbn2iTkOuMqOXVJVOehvwlQ=
pfx_key:
secure: 1mwqyRy7hDqDjDK+TIAoaXyXzpNgwruFNA6TPkinUcVM7A+NLD33RQLnfnwVy+R5ovD2pUfhQ6+N0Fqebv6tZh436LIEsock+6IOdpgFwrg=
# find with: Get-Childitem –Path "C:\Program Files (x86)\Microsoft SDKs\Windows\" -Include *signtool* -File -Recurse -ErrorAction SilentlyContinue
SIGNTOOL_PATH: C:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\Bin\signtool.exe
AWS_ACCESS_KEY_ID:
secure: iVGwoJ7ogspjSmuqr+haVPLglSgQsp6tUZx6mIlKH7Q=
AWS_SECRET_ACCESS_KEY:
secure: zKaqdZGPl0exDL5YhJkb33prSemC9Rzg9S7Lw2wFy1WnJ6ffgl6mQH7jqJDUTqsY
skip_branch_with_pr: false
clone_folder: C:\projects\lbry-app
build_script:
- ps: build\build.ps1
test: off
artifacts:
- path: dist\*.exe
name: LBRY

View File

@@ -1,5 +1,5 @@
[bumpversion]
current_version = 0.9.0rc10
current_version = 0.18.2
commit = True
tag = True
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)((?P<release>[a-z]+)(?P<candidate>\d+))?
@@ -7,6 +7,9 @@ serialize =
{major}.{minor}.{patch}{release}{candidate}
{major}.{minor}.{patch}
[bumpversion:part:candidate]
first_value = 1
[bumpversion:part:release]
optional_value = production
values =
@@ -14,4 +17,10 @@ values =
production
[bumpversion:file:app/package.json]
search = "version": "{current_version}"
replace = "version": "{new_version}"
[bumpversion:file:ui/package.json]
search = "version": "{current_version}"
replace = "version": "{new_version}"

49
.github/ISSUE_TEMPLATE.md vendored Normal file
View File

@@ -0,0 +1,49 @@
<!--
Thanks for reporting an issue to LBRY and helping us improve!
To make it possible for us to help you, please fill out below information carefully.
Before reporting any issues, please make sure that you're using the latest version.
- App releases: https://github.com/lbryio/lbry-app/releases
- Standalone daemon: https://github.com/lbryio/lbry/releases
We are also available on live chat at https://chat.lbry.io
-->
## The Issue
### Steps to reproduce
1.
2.
3.
### Expected behaviour
Tell us what should happen
### Actual behaviour
Tell us what happens instead
## System Configuration
<!-- For the app, this info is in the About section at the bottom of the Help page.
You can include a screenshot instead of typing it out -->
<!-- For the daemon, run:
curl 'http://localhost:5279' --data '{"method":"version"}'
and include the full output -->
- LBRY Daemon version:
- LBRY App version:
- LBRY Installation ID:
- Operating system:
## Anything Else
<!-- Include anything else that does not fit into the above sections -->
## Screenshots
<!-- If a screenshot would help explain the bug, please include one or two here -->

40
.gitignore vendored
View File

@@ -1,10 +1,32 @@
app/dist
app/node_modules
node_modules
LBRY-darwin-x64
dist
lbrynet/build
lbrynet/venv
/node_modules
/LBRY-darwin-x64
/dist
/ui/dist/css/*
/ui/dist/js/*
!/ui/dist/js/mediaelement
/ui/node_modules
/ui/.sass-cache
/app/dist
/app/locales
/app/node_modules
/build/venv
/build/daemon.ver
/lbry-app-venv
/lbry-app
/lbry-venv
/daemon/build
/daemon/venv
/daemon/requirements.txt
/.idea
*.pyc
.#*
build_venv
*.pyc
build/daemon.zip
.vimrc
package-lock.json
ui/yarn.lock

9
.gitmodules vendored
View File

@@ -1,9 +0,0 @@
[submodule "lbry-web-ui"]
path = lbry-web-ui
url = https://github.com/lbryio/lbry-web-ui.git
[submodule "lbry"]
path = lbry
url = https://github.com/lbryio/lbry.git
[submodule "lbryum"]
path = lbryum
url = https://github.com/lbryio/lbryum.git

View File

@@ -1,20 +1,28 @@
matrix:
include:
- os: osx
# Use generic language for osx
# python 2.7 is broken on osx on travis, so follow we have to specify the installation ourselves
# https://github.com/travis-ci/travis-ci/issues/2312#issuecomment-195620855
language: generic
osx_image: xcode7.3
env:
global:
- TRANSIFEX_USER: api
- secure: u6gwnZlPGJLnvpoPPCpUZ+jBPajQuIW1+aq6UGW57z54AUjTAECxaYpqcGTGtDBjYark/yeiso887wP/EmJva7hMHeNMf6uLqwzP3YFsIv/Iv+9c1f4MXbJNgOrEKN834o/BdkD4ifi9CCiH9uPPVYGPx1bvfaxGpcHmQXdW4F4S0uj+jePB257mt+afGiNlz9wET6kWJKNNZf/4BNmefldVNq7h6oTSLsyO1TBhDcvSjatpKIwmXUNQfSUTFWvrtpWUB/m/IzitGuUtrt82vU2fPl7tuH6BHNrNp58MINjFzXXJLC+mMybb2UBDIAuc3+k7vj4J0U2rkcTloxDNCKNmYa1jBogOKBRgGp98Ct7E0V2vuLGAPniUbvBcCGK1wwed7uwDjsz3YNCGxUEcyyWc3OVDgN/up4+gXHxkh9FTpZy8Q3rSZx4Lwj700impBUQIVh/5p7Vgv+bSUdOeVRAMlcP9yT83jX50w9LkJMfICFPNv1tOZ3/SOnnB+JdW/ahpplFI4Z68/fBLttZTeaNcU4f28oJvPer8Wll+Elx5kxwLqLbwVUFNlxTxY1LYnPB7SPjGxrFNy3mVTRq5Pxp1hMiTZF4TlapkfHgR+gEzk2wpcJGmub70tW2baZaJF0jDBWIh7GXV+EGve53BKDhpX2Z6jTK0gkhrSUW1MT8=
- secure: h1r9Qzv2xHRQl7nDHcscB4qDv7KlF/ncgHko1YuoY4oLZipBV8mzQXDmn3nlMKwaKOe1/Tty/bjoZexkWict4cwKBzU7/1HtJeMa6nxRICuS6DiVhLUNGZEddK6jQLxeEZFxkFPSCZyjybPWtasF8f8jd0lqqLIL4/FcIVV56aRCKAsUwCbedxi8Vnc19l74xjaQIK82xBFYOQPK078OBovk9DDOnicTjMulUo3/pKEZD1njSdcEhfSRv+MFE+31B/a6lpoLo7twPlyzLMfpo30NlEzIN0TeMAk44e4PV6DYg0wntC2GJ21p4BqMnDGocwnZwm7gpjflzUZdW6hF0esGLcqOdbyJLUb3rNX9AzQmn0p9KwDC3S80peZFxSiuLJGL8eivceVDUK/jwWinu3OHDJ/eO5iMDm9odm2ALemPtrDTSlRNT8HzNCY9PQTU9Dhdm4Q/dGDsRPWibFJSJ/qGKhVgadk2CUEAPua0hB1zZ556PkTGx4R1JDscgFDAkgemzgKl4Z/4qK3xGDoEtz1HmBlvQtn+B/PuhA2essADj0iTDiItxb7AYTA7EzsHEcRMmrbYarZ3Eh2onWy2GOpAGRN5Xl9cBIDbibcSC6BLI1m2PcLABpP7DhUX4bJbsVNSiGesHEU7o9Dgn8Ig09eHW/8F9i0VVoGUZXxKMJ8=
os: linux
dist: xenial
branches:
only:
- "/^v\\d+\\.\\d+\\.\\d+$/"
install:
- wget https://www.python.org/ftp/python/2.7.13/python-2.7.13-macosx10.6.pkg
- sudo installer -pkg python-2.7.13-macosx10.6.pkg -target /
- pip install -U pip
- pip install pyinstaller
- wget https://nodejs.org/dist/v6.9.4/node-v6.9.4.pkg
- sudo installer -pkg node-v6.9.4.pkg -target /
- sudo npm install electron-packager -g
- ./build.sh
- electron-packager --electron-version=1.4.14 --overwrite electron LBRY
- rvm install 2.3.1
script:
- rvm use 2.3.1 && gem install danger --version '~> 4.0' && danger
- FULL_BUILD=true ./build.sh
sudo: required
after_success:
- pip install virtualenv
- virtualenv ~/env
- source ~/env/bin/activate
- pip install transifex-client
- sudo echo $'[https://www.transifex.com]\nhostname = https://www.transifex.com\nusername= '"$TRANSIFEX_USER"$'\npassword = '"$TRANSIFEX_PASSWORD"$'\ntoken = '"$TRANSIFEX_API_TOKEN"$'\n' > ~/.transifexrc
- tx push -s

8
.tx/config Normal file
View File

@@ -0,0 +1,8 @@
[main]
host = https://www.transifex.com
[lbry-app.app-strings]
file_filter = app/dist/locales/<lang>.json
source_file = app/dist/locales/en.json
source_lang = en
type = KEYVALUEJSON

499
CHANGELOG.md Normal file
View File

@@ -0,0 +1,499 @@
# Change Log
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/).
The LBRY Web UI comes bundled as part of [LBRYApp](https://github.com/lbryio/lbry-app).
Web UI version numbers should always match the corresponding version of LBRY App.
## [Unreleased]
### Added
*
*
### Changed
*
*
### Fixed
*
*
### Deprecated
*
*
### Removed
*
*
## [0.18.2] - 2017-11-15
### Fixed
* Email verification is fixed. (#746)
## [0.18.0] - 2017-11-13
### Added
* Trending! The landing page of the app now features content that is surging in popularity relative to past interest.
* The app now closes to the system tray. This will help improve publish seeding and network performance. Directing the app to quit or exit will close it entirely. (#374)
* You can now revoke past publishes to receive your credits. (#581)
* You can now unlock tips sent to you so you can send them elsewhere or spend them. (#581)
* Added new window menu options for reloading and help.
* Rewards are now marked in transaction history (#660)
### Changed
* Daemon updated to [v0.18.0](https://github.com/lbryio/lbry/releases/tag/v0.18.0). The largest changes here are several more network improvements and fixes as well as functionality and improvements related to concurrent heavier usage (bugs and issues largely discoverd by spee.ch).
* Improved build and first-run process for new developers.
* Replaced all instances of `XMLHttpRequest` with native `Fetch` API (#676).
### Fixed
* Fixed console errors on settings page related to improper React input properties.
* Fixed modals being too narrow after font change (#709)
* Fixed bug that prevented new channel and first publish rewards from being claimed (#290)
## [0.17.1] - 2017-10-25
### Changed
* Updated daemon to 0.17.1. 0.17.1 contains several more download fixes that are backwards incompatible, making this a near mandatory upgrade.
* Continuing to standardize and improve design. File selectors, checkboxes, radios, and a number of other elements got substantial improvements.
* [Electron](https://github.com/electron/electron) version upgraded. Most relevantly, this fixes URI handling in Linux.
* Chat links and text updated to remove references to Slack.
### Fixed
* Fixed handling of empty search results.
* Fixed minimum channel length name(#689).
## [0.17.0] - 2017-10-12
### Added
* Added a new search service. Significantly improved search results.
* Channels now appear in search results. Channel cards to be improved soon?.
* Add setting to automatically purchase low-cost content without a confirmation dialog.
* New custom styled scrollbar (#574)
* New tabs (#576).
### Changed
* LBRY protocol upgraded from v0.16.1 to [v0.17](https://github.com/lbryio/lbry/releases/tag/v0.17.0). Significant improvements to download performance anticipated.
* Improved Discover page load time by batching all URIs into one API call.
* Changed the File page to make it clearer how to to open the folder for a file.
* Display search bar on discover page instead of title and remove duplicated icon.
* Minor update for themes.
* There is no longer a minimum channel length (#645)
* Changed the File page to make it clearer how to to open the folder for a file
* The upgrade message is now friendlier and includes a link to the release notes.
* Local settings refactored and no longer intermixed with LBRY API library.
### Fixed
* Improve layout (and implementation) of the icon panel in file tiles and cards
* The folder icon representing a local download now shows up properly on Channel pages (#587)
* While editing a publish, the URL will no longer change if you select a new file. (#601)
* Fixed issues with opening the folder for a file (#606)
* Be consistent with the step property on credit inputs (#604)
* Fixed unresponsive header (#613)
* Fixed dark theme issues with text content.
* Minor css fixes.
* Fixed issue when file fails to download (#642)
* Fixed issue after accessing a video without enough credits (#605)
* Fixed channel fetching without claims (#634)
## [0.16.0] - 2017-09-21
### Added
* Added a tipping button to send LBRY Credits to a creator.
* Added an edit button on published content. Significantly improved UX for editing claims.
* Added theme settings option and new Dark theme.
* Significantly more detail is shown about past transactions and new filtering options for transactions.
* File pages now show the time of a publish.
* The "auth token" displayable on Help offers security warning
* Added a new component for rendering dates and times. This component can render the date and time of a block height, as well.
* Added a `Form` component, to further progress towards form sanity.
* Added `gnome-keyring` dependency to .deb
### Changed
* CSS significantly refactored to support CSS vars (and consequently easy theming).
### Fixed
* URLs on cards no longer wrap and show an ellipsis if longer than one line
## [0.15.1] - 2017-09-08
### Added
* File pages now show the time of a publish. This includes a new component for rendering dates and times that can render the date and time of a block height, as well.
### Changed
* Updated to daemon [0.15.2](https://github.com/lbryio/lbry/releases/tag/v0.15.2) to prevent a bug in USD purchases.
### Fixed
* Potential fix for blank error popup when streaming (#536)
* Fixed some popups showing improperly while balance was loading (#534)
* Show a security warning when the auth token is displayed on Help.
* Some CSS changes to prevent the card row from clipping the scroll arrows after the window width is reduced below a certain point
* Clearly notify user when they try to send credits to an invalid address (#445)
## [0.15.0] - 2017-08-31
### Added
* Added an Invites area inside of the Wallet. This allows users to invite others and shows the status of all past invites (including all invite data from the past year). Up to one referral reward can now be claimed, but only if both users have passed the humanity test.
* Added new summary components for rewards and invites to the Wallet landing page.
* Added a forward button and improved history behavior. Back/forward disable when unusable.
* Added past history of rewards to the rewards page.
* Added wallet backup guide reference.
* Added a new widget for setting prices (`FormFieldPrice`), used in Publish and Settings.
### Changed
* Updated to daemon [0.15](https://github.com/lbryio/lbry/releases). Most relevant changes for app are improved announcing of content and a fix for the daemon getting stuck running.
* Significant refinements to first-run process, process for new users, and introducing people to LBRY and LBRY credits.
* Changed Wallet landing page to summarize status of other areas. Refactored wallet and transaction logic.
* Added icons to missing page, improved icon and title logic.
* Changed the default price settings for priced publishes.
* When an "Open" button is clicked on a show page, if the file fails to open, the app will try to open the file's folder.
* Updated several packages and fixed warnings in build process (all but the [fsevents warning](https://github.com/yarnpkg/yarn/issues/3738), which is a rather dramatic debate)
* Some form field refactoring as we take baby steps towards form sanity.
* Replaced confusing placeholder text from email input.
* Refactored modal and settings logic.
* Refactored history and navigation logic.
### Removed
* Removed the label "Max Purchase Price" from settings page. It was redundant.
* Unused old files from previous commit(9c3d633)
### Fixed
* Tiles will no longer be blurry on hover (Windows only bug)
* Removed placeholder values from price selection form fields, which was causing confusion that these were real values (#426)
* Fixed showing "other currency" help tip in publish form, which was caused due to not "setting" state for price
* Publish page now properly checks for all required fields are filled
* Fixed pagination styling for pages > 5 (#416)
* Fixed sizing on squat videos (#419)
* Support claims no longer show up on Published page (#384)
* Fixed rendering of small prices (#461)
* Fixed incorrect URI in Downloads/Published page (#460)
* Fixed menu bug (#503)
* Fixed incorrect URLs on some channel content (#505)
* Fixed video sizing for squat videos (#492)
* Fixed issues with small prices (#461)
* Fixed issues with negative values not being stopped by app on entry (#441)
* Fixed source file error when editing existing claim (#467)
## [0.14.3] - 2017-08-03
### Added
* Add tooltips to controls in header
* New flow for rewards authentication failure
### Changed
* Make it clearer how to skip identity verification and add link to FAQ
* Reward-eligible content icon is now a rocket ship :D :D :D
* Change install description shown by operating systems
* Improved flow for when app is run with incompatible daemon
### Fixed
* Corrected improper pluralization on loading screen
## [0.14.2] - 2017-07-30
### Added
* Replaced horizontal scrollbars with scroll arrows
* Featured weekly reward content shows with an orange star
* Added pagination to channel pages
### Fixed
* Fixed requirement to double click play button on many videos
* Fixed errors from calls to `get` not bubbling correctly
* Fixed some corner-case flows that could break file pages
## [0.14.1] - 2017-07-28
### Fixed
* Fixed upgrade file path missing file name
## [0.14.0] - 2017-07-28
### Added
* Identity verification for new reward participants
* Support rich markup in publishing descriptions and show pages.
* Release past publishing claims (and recover LBC) via the UI
* Added transition to card hovers to smooth animation
* Use randomly colored tiles when image is missing from metadata
* Added a loading message to file actions
* URL is auto suggested in Publish Page
### Changed
* Publishing revamped. Editing claims is much easier.
* Daemon updated from v0.13.1 to [v0.14.2](https://github.com/lbryio/lbry/releases/tag/v0.14.2)
* Publish page now use `claim_list` rather than `file_list`
### Removed
* Removed bandwidth caps from settings, because the daemon was not respecting them anyway.
### Fixed
* Fixed bug with download notice when switching window focus
* Fixed newly published files appearing twice
* Fixed unconfirmed published files missing channel name
* Fixed old files from updated published claims appearing in downloaded list
* Fixed inappropriate text showing on searches
* Stop discover page from pushing jumping vertically while loading
* Restored feedback on claim amounts
* Fixed hiding price input when Free is checked on publish form
* Fixed hiding new identity fields on publish form
* Fixed files on downloaded tab not showing download progress
* Fixed downloading files that are deleted not being removed from the downloading list
* Fixed download progress bar not being cleared when a downloading file is deleted
* Fixed refresh regression after adding scroll position to history state
* Fixed app not monitoring download progress on files in progress between restarts
## [0.13.0] - 2017-06-30
### Added
* State is persisted through app close and re-open, resulting in faster opens
* Desktop notifications on downloads finishing
* Support webm, ogg, m4v, and a few others
* Translations added to build process
* Claim IDs are shown in your published files
### Changed
* Upgraded to lbry daemon 0.13, including updating API signatures
* Channels resolve much faster
* Resolve is no longer cancelled on navigate
* Updated API and authentication used by rewards process
* Improved security of reward credential storage
* Additional information submitted in DMCA reports
* Switched packaging to yarn
### Removed
* The author metadata field is no longer shown, in favor of first-class identities
* Availability is no longer checked before showing Download options, due to unreliability
### Fixed
* Fix help menu force reloading whole app
* Show page updates correctly when navigating from show page to another show page
* NSFW setting respected on show page
* URI handling navigates to correct page if app is closed
* URI handling issues specific to Windows (maybe)
* Changing the NSFW setting refreshes properly (previously required app restart)
## [0.12.0] - 2017-06-09
### Added
* More file types, like audio and documents, can be streamed and/or served from the app
* App is no longer gated. Reward authorization re-written. Added basic flows for new users.
* Videos now have a classy loading spinner
### Changed
* All UI strings are now rendered according to gettext standard, in prep for i18n
* Switched to new fee metadata format
### Fixed
* If a daemon is running but unresponsive, startup is no longer blocked indefinitely
* Updated deprecated LBRY API call signatures
* App scrolls to the top of the page on navigation
* Download progress works properly for purchased but deleted files
* Publish channels for less than 1 LBC
## [0.11.9] - 2017-06-01
### Fixed
* Windows upgrade process fixed
* Upgrade process on Mac and Linux will open the file rather than the folder
## [0.11.8] - 2017-05-31
### Fixed
* Verified access from two different installation ids
* Version upgrade check on help page
## [0.11.7] - 2017-05-30
### Changed
* Video player switched from plyr to render-media
### Fixed
* Video player should behave better on streaming
* Daemon times out more quickly when it cannot start
* Connection should fail more cleanly, rather than get stuck entirely
* Closing modal dialogs was broken on some download and stream errors
* Discover landing page improperly showed loading error when it was loading correctly
## [0.11.6] - 2017-05-29
### Changed
* Do not use a separate claim cache for publishes
### Fixed
* Upgrade process should now works on Windows
* Crudely handle failed publishes missing outpoints
## [0.11.5] - 2017-05-28
### Fixed
* Eliminated instance of costs being double fetched
* Fixed issue preventing file re-download
* Fixed race condition that could prevent file playbac
* Fixed issue with batch actions and thunk
## [0.11.4] - 2017-05-26
### Added
* New reward for watching weekly featured content
### Fixed
* Video playback will always properly fetch cost info (this was a big playback bug)
* Fixed view rewards
## [0.11.3] - 2017-05-26
### Fixed
* Fixed always showing welcome message on run
* "Fixed" upgrade process
* Version info now shows properly on Help page
* Claim info is properly accessed on Publish page
## [0.11.0] - 2017-05-25
### Added
* Entire app re-written to use Redux as state store. Far saner and faster. Will also increase productivity moving forward.
* Channel page shows content published in channel.
* URI handling. Clicking lbry:// links should open the app and appropriate URI on all OSes.
* File cards have an icon indicating you posses that file.
* Download directory setting now uses a proper dialog.
* Movie player automatically shows if the file has already been downloaded.
### Changed
* Plyr replaces mediaelement as the movie player.
### Fixed
* Publisher indicator on show pages and file cards/tiles will now always show the proper channel name.
* Performance improvements related to avoiding duplicate fetches.
* Fix incorrect prompt on empty published page
## [0.10.0] - 2017-05-04
### Added
* The UI has been overhauled to use an omnibar and drop the sidebar.
* The app is much more responsive switching pages. It no longer reloads the entire page and all assets on each page change.
* lbry.js now offers a subscription model for wallet balance similar to file info.
* Fixed file info subscribes not being unsubscribed in unmount.
* Fixed drawer not highlighting selected page.
* You can now make API calls directly on the lbry module, e.g. lbry.peer_list()
* New-style API calls return promises instead of using callbacks
* Wherever possible, use outpoints for unique IDs instead of names or SD hashes
* New publishes now display immediately in My Files, even before they hit the lbrynet file manager.
* New welcome flow for new users
* Redesigned UI for Discover
* Handle more of price calculations at the daemon layer to improve page load time
* Add special support for building channel claims in lbryuri module
* Enable windows code signing of binary
* Support for opening LBRY URIs from links in other apps
### Changed
* Update process now easier and more reliable
* Updated search to be compatible with new Lighthouse servers
* Cleaned up shutdown logic
* Support lbry v0.10 API signatures
### Fixed
* Fix Watch page and progress bars for new API changes
* On Windows, prevent opening multiple LBRY instances (launching LBRY again just focuses the current instance)
## [0.9.0rc15] - 2017-03-09
### Added
* A way to access the Developer Settings panel in Electron (Ctrl-Shift and click logo)
* Option in Developer Settings to toggle developer menu
### Changed
* Open and reveal files using Electron instead of daemon
## [0.9.0rc12] - 2017-03-06
### Changed
* Improved ability to style FormFields and form field labels
* Refactored Publish page to use form field changes
## [0.9.0rc11] - 2017-02-27
### Added
* "Back to LBRY" button on Watch page
### Changed
* In error modal, hide details in expandable section
### Fixed
* On load screen, always show Cancel link if a previous page is available
* When user hits "Watch," don't check balance if download already started
* Restore UI version on Help page
* Fix sorting on My Files page
## [0.9.0rc9] - 2017-02-22
### Changed
* Use local file for publishing
* Use local file and html5 for video playback
* Misc changes needed to make UI compatible with electron

3
CONTRIBUTING.md Normal file
View File

@@ -0,0 +1,3 @@
## Contributing to LBRY
https://lbry.io/faq/contributing

6
Dangerfile Normal file
View File

@@ -0,0 +1,6 @@
# Add a CHANGELOG entry for app changes
has_app_changes = !(git.modified_files.grep(/js/).empty? && git.modified_files.grep(/scss/).empty?)
if !git.modified_files.include?("CHANGELOG.md") && has_app_changes
fail("Please include a CHANGELOG entry.")
message "See http://keepachangelog.com/en/0.3.0/ for details on good changelog guidelines"
end

View File

@@ -1,42 +1,102 @@
# LBRY App
This is a graphical browser for the decentralized content marketplace provided by the [LBRY](https://lbry.io) protocol. It is essentially the [lbry daemon](https://github.com/lbryio/lbry) bundled with the [lbry web ui](https://github.com/lbryio/lbry-web-ui) in an [Electron](http://electron.atom.io/) application.
This is a graphical browser for the decentralized content marketplace provided by the [LBRY](https://lbry.io) protocol. It is essentially the [lbry daemon](https://github.com/lbryio/lbry) bundled with a UI using [Electron](http://electron.atom.io/).
![App Screenshot](https://lbry.io/img/lbry-ui.png)
## Installing
Check out the [release page](https://github.com/lbryio/lbry-app/releases/latest) to download a binary.
We provide installers for Windows, macOS, and Debian-based Linux.
| | Windows | macOS | Linux |
| --- | --- | --- | --- |
| Latest Stable Release | [Download](https://lbry.io/get/lbry.exe) | [Download](https://lbry.io/get/lbry.dmg) | [Download](https://lbry.io/get/lbry.deb) |
| Latest Prerelease | [Download](https://lbry.io/get/lbry.pre.exe) | [Download](https://lbry.io/get/lbry.pre.dmg) | [Download](https://lbry.io/get/lbry.pre.deb) |
Our [releases page](https://github.com/lbryio/lbry-app/releases/latest) also contains the latest release, pre-releases, and past builds.
To install from source or make changes to the application, continue reading below.
## Development
## Development on Linux and macOS
This repo uses submodules, so clone it using `--recursive`.
### One-time Setup
### Setup
1. Clone this repo
2. `DEPS=true ./build.sh`
The
[lbry daemon](https://github.com/lbryio/lbry/blob/master/INSTALL.md) needs
to be installed along with pyinstaller. You also need to be
able to build the lbry-web-ui, so have node, webpack, etc installed.
This will download and install the LBRY app and its dependencies, including [the LBRY daemon](https://github.com/lbryio/lbry) and command line utilities like `node` and `yarn`. The LBRY app requires Node >= 6; if you have an earlier version of Node installed and want to keep it, you can use [nvm](https://github.com/creationix/nvm) to switch back and forth.
### Build
### Running
run `./build.sh`
Run `./node_modules/.bin/electron app`
This builds the UI assets and puts them into `app/dist`. It also builds `app/dist/lbrynet-daemon`.
### Ongoing Development
1. `cd ui`
2. `./watch.sh`
### Run
This will set up a monitor that will automatically compile any changes to JS or CSS folders inside of the `ui` folder. This allows you to make changes and see them immediately by reloading the app.
`./node_modules/.bin/electron app`
### Package
### Packaging
We use [electron-builder](https://github.com/electron-userland/electron-builder)
to create distributable packages, which is run by calling:
`node_modules/.bin/build -p never`
### Development on Windows
## Development on Windows
This project has currently only been worked on in Linux and macOS. If you are on Windows, you can
checkout out the build steps in [appveyor.yml](https://github.com/lbryio/lbry-app/blob/master/appveyor.yml) and probably figure out something from there.
### Windows Dependency
1. Download and install `git` from <a href="https://git-for-windows.github.io/">github.io<a> (configure to use command prompt integration)
2. Download and install `npm` and `node` from <a href="https://nodejs.org/en/download/current/">nodejs.org<a>
3. Download and install `python 2.7` from <a href="https://www.python.org/downloads/windows/">python.org</a>
4. Download and Install `Microsoft Visual C++ Compiler for Python 2.7` from <a href="https://www.microsoft.com/en-us/download/confirmation.aspx?id=44266">Microsoft<a>
5. Download and install `.NET Framework 2.0 Software Development Kit (SDK) (x64)` from <a href="https://www.microsoft.com/en-gb/download/details.aspx?id=15354">Microsoft<a> (may need to extract setup.exe and install manually by running install.exe as Administrator)
### One-time Setup
1. Open command prompt as adminstrator and run the following:
```
npm install --global --production windows-build-tools
exit
```
2. Open command prompt in the root of the project and run the following:
```
python -m pip install -r build\requirements.txt
python build\set_version.py
npm install -g yarn
yarn install
```
3. Change directory to `app` and run the following;
```
yarn install
node_modules\.bin\electron-rebuild
node_modules\.bin\electron-rebuild
cd ..
```
4. Change directory to `ui` and run the following:
```
yarn install
npm rebuild node-sass
node node_modules\node-sass\bin\node-sass --output dist\css --sourcemap=none scss\
node_modules\.bin\webpack --config webpack.dev.config.js
xcopy /E dist ..\app\dist
cd ..
```
4. Download the lbry daemon and cli [binaries](https://github.com/lbryio/lbry/releases) and place them in `app\dist\`
### Building lbry-app
1. run `node_modules\.bin\build -p never` from the root of the project.
### Running the electron app
1. Run `node_modules\.bin\electron app`
### Ongoing Development
1. `cd ui`
2. `watch.bat`
This will set up a monitor that will automatically compile any changes to JS or CSS folders inside of the `ui` folder. This allows you to make changes and see them immediately by reloading the app.
## Internationalization
If you want to help translating the lbry-app, you can copy the en.json file in /app/locales and modify the values while leaving the keys as their original English strings. An example for this would be: `"Skip": "Überspringen",` Translations should automatically show up in options.

View File

@@ -1,91 +1,424 @@
const {app, BrowserWindow, ipcMain} = require('electron');
module.exports = { safeQuit }
const {app, BrowserWindow, ipcMain, Menu, Tray, globalShortcut} = require('electron');
const url = require('url');
const isDebug = process.env.NODE_ENV === 'development';
const setMenu = require('./menu/main-menu.js');
var path = require('path');
if (isDebug) {
try
{
require('electron-debug')({showDevTools: true});
}
catch (err) // electron-debug is in devDependencies, but some
{
console.error(err)
}
}
var jayson = require('jayson');
const path = require('path');
const jayson = require('jayson');
const semver = require('semver');
const https = require('https');
const keytar = require('keytar');
// tree-kill has better cross-platform handling of
// killing a process. child-process.kill was unreliable
var kill = require('tree-kill');
const kill = require('tree-kill');
const child_process = require('child_process');
const assert = require('assert');
const {version: localVersion} = require(app.getAppPath() + '/package.json');
let client = jayson.client.http('http://localhost:5279/lbryapi');
const VERSION_CHECK_INTERVAL = 30 * 60 * 1000;
const LATEST_RELEASE_API_URL = 'https://api.github.com/repos/lbryio/lbry-app/releases/latest';
const DAEMON_PATH = process.env.LBRY_DAEMON || path.join(__dirname, 'dist', 'lbrynet-daemon');
let client = jayson.client.http({
host: 'localhost',
port: 5279,
path: '/',
timeout: 1000
});
// Keep a global reference of the window object, if you don't, the window will
// be closed automatically when the JavaScript object is garbage collected.
let win
let win;
// Also keep the daemon subprocess alive
let subpy
// set to true when the quitting sequence has started
let quitting = false;
let daemonSubprocess;
// This is set to true right before we try to shut the daemon subprocess --
// if it dies when we didn't ask it to shut down, we want to alert the user.
let daemonStopRequested = false;
// When a quit is attempted, we cancel the quit, do some preparations, then
// this is set to true and app.quit() is called again to quit for real.
let readyToQuit = false;
// If we receive a URI to open from an external app but there's no window to
// sendCredits it to, it's cached in this variable.
let openUri = null;
// Set this to true to minimize on clicking close
// false for normal action
let minimize = true;
// Keep the tray also, it is getting GC'd if put in createTray()
let tray = null;
function processRequestedUri(uri) {
// Windows normalizes URIs when they're passed in from other apps. On Windows,
// this function tries to restore the original URI that was typed.
// - If the URI has no path, Windows adds a trailing slash. LBRY URIs
// can't have a slash with no path, so we just strip it off.
// - In a URI with a claim ID, like lbry://channel#claimid, Windows
// interprets the hash mark as an anchor and converts it to
// lbry://channel/#claimid. We remove the slash here as well.
// On Linux and Mac, we just return the URI as given.
if (process.platform == 'win32') {
return uri.replace(/\/$/, '').replace('/#', '#');
} else {
return uri;
}
}
function checkForNewVersion(callback) {
function formatRc(ver) {
// Adds dash if needed to make RC suffix semver friendly
return ver.replace(/([^-])rc/, '$1-rc');
}
let result = '';
const opts = {
headers: {
'User-Agent': `LBRY/${localVersion}`,
}
};
const req = https.get(Object.assign(opts, url.parse(LATEST_RELEASE_API_URL)), (res) => {
res.on('data', (data) => {
result += data;
});
res.on('end', () => {
const tagName = JSON.parse(result).tag_name;
const [_, remoteVersion] = tagName.match(/^v([\d.]+(?:-?rc\d+)?)$/);
if (!remoteVersion) {
if (win) {
win.webContents.send('version-info-received', null);
}
} else {
const upgradeAvailable = semver.gt(formatRc(remoteVersion), formatRc(localVersion));
if (win) {
win.webContents.send('version-info-received', {remoteVersion, localVersion, upgradeAvailable});
}
}
})
});
req.on('error', (err) => {
console.log('Failed to get current version from GitHub. Error:', err);
if (win) {
win.webContents.send('version-info-received', null);
}
});
}
ipcMain.on('version-info-requested', checkForNewVersion);
/*
* Replacement for Electron's shell.openItem. The Electron version doesn't
* reliably work from the main process, and we need to be able to run it
* when no windows are open.
*/
function openItem(fullPath) {
const subprocOptions = {
detached: true,
stdio: 'ignore',
};
let child;
if (process.platform == 'darwin') {
child = child_process.spawn('open', [fullPath], subprocOptions);
} else if (process.platform == 'linux') {
child = child_process.spawn('xdg-open', [fullPath], subprocOptions);
} else if (process.platform == 'win32') {
child = child_process.spawn(fullPath, Object.assign({}, subprocOptions, {shell: true}));
}
// Causes child process reference to be garbage collected, allowing main process to exit
child.unref();
}
function getPidsForProcessName(name) {
if (process.platform == 'win32') {
const tasklistOut = child_process.execSync(`tasklist /fi "Imagename eq ${name}.exe" /nh`, {encoding: 'utf8'});
if (tasklistOut.startsWith('INFO')) {
return [];
} else {
return tasklistOut.match(/[^\r\n]+/g).map((line) => line.split(/\s+/)[1]); // Second column of every non-empty line
}
} else {
const pgrepOut = child_process.spawnSync('pgrep', ['-x', name], {encoding: 'utf8'}).stdout;
return pgrepOut.match(/\d+/g);
}
}
function createWindow () {
// Create the browser window.
//win = new BrowserWindow({x: 0, y: 0, width: 1440, height: 414, backgroundColor: '#155b4a'})
win = new BrowserWindow({backgroundColor: '#155b4a'})
win = new BrowserWindow({backgroundColor: '#155B4A', minWidth: 800, minHeight: 600 }) //$color-primary
win.maximize()
//win.webContents.openDevTools()
// and load the index.html of the app.
if (isDebug) {
win.webContents.openDevTools();
}
win.loadURL(`file://${__dirname}/dist/index.html`)
if (openUri) { // We stored and received a URI that an external app requested before we had a window object
win.webContents.on('did-finish-load', () => {
win.webContents.send('open-uri-requested', openUri);
});
}
win.removeAllListeners();
win.on('close', function(event) {
if (minimize) {
event.preventDefault();
win.hide();
}
})
// Emitted when the window is closed.
win.on('closed', () => {
// Dereference the window object, usually you would store windows
// in an array if your app supports multi windows, this is the time
// when you should delete the corresponding element.
win = null
})
win.on("hide", () => {
// Checks what to show in the tray icon menu
if (minimize) updateTray();
});
win.on("show", () => {
// Checks what to show in the tray icon menu
if (minimize) updateTray();
});
win.on("blur", () => {
// Checks what to show in the tray icon menu
if (minimize) updateTray();
// Unregisters Alt+F4 shortcut
globalShortcut.unregister('Alt+F4');
});
win.on("focus", () => {
// Checks what to show in the tray icon menu
if (minimize) updateTray();
// Registers shortcut for closing(quitting) the app
globalShortcut.register('Alt+F4', () => safeQuit());
win.webContents.send('window-is-focused', null);
});
// Menu bar
win.setAutoHideMenuBar(true);
win.setMenuBarVisibility(isDebug);
setMenu();
};
function lauchDaemon() {
if (subpy) {
return;
function createTray () {
// Minimize to tray logic follows:
// Set the tray icon
const iconPath = path.join(app.getAppPath(), "/dist/img/fav/32x32.png");
tray = new Tray(iconPath);
tray.setToolTip("LBRY App");
tray.setTitle("LBRY");
tray.on('double-click', () => {
win.show()
})
}
// This needs to be done as for linux the context menu doesn't update automatically(docs)
function updateTray() {
let contextMenu = Menu.buildFromTemplate(getMenuTemplate());
if (tray) {
tray.setContextMenu(contextMenu);
} else {
console.log("How did update tray get called without a tray?");
}
console.log(`${__dirname}`);
executable = path.join(__dirname, 'dist', 'lbrynet-daemon');
subpy = require('child_process').spawn(executable)
}
function getMenuTemplate () {
return [
getToggleItem(),
{
label: "Quit",
click: () => safeQuit(),
},
]
function getToggleItem () {
if (win.isVisible() && win.isFocused()) {
return {
label: 'Hide LBRY App',
click: () => win.hide()
}
} else {
return {
label: 'Show LBRY App',
click: () => win.show()
}
}
}
}
function handleOpenUriRequested(uri) {
if (!win) {
// Window not created yet, so store up requested URI for when it is
openUri = processRequestedUri(uri);
} else {
if (win.isMinimized()) {
win.restore()
} else if (!win.isVisible()) {
win.show()
}
win.focus();
win.webContents.send('open-uri-requested', processRequestedUri(uri));
}
}
function handleDaemonSubprocessExited() {
console.log('The daemon has exited.');
daemonSubprocess = null;
if (!daemonStopRequested) {
// We didn't request to stop the daemon, so display a
// warning and schedule a quit.
//
// TODO: maybe it would be better to restart the daemon?
if (win) {
console.log('Did not request daemon stop, so quitting in 5 seconds.');
win.loadURL(`file://${__dirname}/dist/warning.html`);
setTimeout(quitNow, 5000);
} else {
console.log('Did not request daemon stop, so quitting.');
quitNow();
}
}
}
function launchDaemon() {
assert(!daemonSubprocess, 'Tried to launch daemon twice');
console.log('Launching daemon:', DAEMON_PATH)
daemonSubprocess = child_process.spawn(DAEMON_PATH)
// Need to handle the data event instead of attaching to
// process.stdout because the latter doesn't work. I believe on
// windows it buffers stdout and we don't get any meaningful output
subpy.stdout.on('data', (buf) => {console.log(String(buf).trim());});
subpy.stderr.on('data', (buf) => {console.log(String(buf).trim());});
subpy.on('exit', () => {
console.log('The daemon has exited. Quitting the app');
subpy = null;
if (quitting) {
app.quit();
} else {
// TODO: maybe it would be better to restart the daemon?
win.loadURL(`file://${__dirname}/dist/warning.html`);
setTimeout(app.quit, 5000)
}
});
console.log('lbrynet daemon has launched')
daemonSubprocess.stdout.on('data', (buf) => {console.log(String(buf).trim());});
daemonSubprocess.stderr.on('data', (buf) => {console.log(String(buf).trim());});
daemonSubprocess.on('exit', handleDaemonSubprocessExited);
}
// This method will be called when Electron has finished
// initialization and is ready to create browser windows.
// Some APIs can only be used after this event occurs.
app.on('ready', function(){
// Check if the daemon is already running. If we get
// an error its because its not running
console.log('Checking for lbrynet daemon')
client.request(
'status', [],
function (err, res) {
if (err) {
console.log('lbrynet daemon needs to be launched')
lauchDaemon();
} else {
console.log('lbrynet daemon is already running')
}
}
);
createWindow();
/*
* Quits by first killing the daemon, the calling quitting for real.
*/
function safeQuit() {
minimize = false;
app.quit();
}
/*
* Quits without any preparation. When a quit is requested (either through the
* interface or through app.quit()), we abort the quit, try to shut down the daemon,
* and then call this to quit for real.
*/
function quitNow() {
readyToQuit = true;
safeQuit();
}
const isSecondaryInstance = app.makeSingleInstance((argv) => {
if (argv.length >= 2) {
handleOpenUriRequested(argv[1]); // This will handle restoring and focusing the window
} else if (win) {
if (win.isMinimized()) {
win.restore();
} else if (!win.isVisible()) {
win.show();
}
win.focus();
}
});
if (isSecondaryInstance) { // We're not in the original process, so quit
quitNow();
return;
}
app.on('ready', function(){
launchDaemonIfNotRunning();
if (process.platform === "linux") {
checkLinuxTraySupport( err => {
if (!err) createTray();
else minimize = false;
})
} else {
createTray();
}
createWindow();
});
function launchDaemonIfNotRunning() {
// Check if the daemon is already running. If we get
// an error its because its not running
console.log('Checking for lbrynet daemon');
client.request(
'status', [],
function (err, res) {
if (err) {
console.log('lbrynet daemon needs to be launched')
launchDaemon();
} else {
console.log('lbrynet daemon is already running')
}
}
);
}
/*
* Last resort for killing unresponsive daemon instances.
* Looks for any processes called "lbrynet-daemon" and
* tries to force kill them.
*/
function forceKillAllDaemonsAndQuit() {
console.log('Attempting to force kill any running lbrynet-daemon instances...');
const daemonPids = getPidsForProcessName('lbrynet-daemon');
if (!daemonPids) {
console.log('No lbrynet-daemon found running.');
quitNow();
} else {
console.log(`Found ${daemonPids.length} running daemon instances. Attempting to force kill...`);
for (const pid of daemonPids) {
let daemonKillAttemptsComplete = 0;
kill(pid, 'SIGKILL', (err) => {
daemonKillAttemptsComplete++;
if (err) {
console.log(`Failed to force kill daemon task with pid ${pid}. Error message: ${err.message}`);
} else {
console.log(`Force killed daemon task with pid ${pid}.`);
}
if (daemonKillAttemptsComplete >= daemonPids.length - 1) {
quitNow();
}
});
}
}
}
// Quit when all windows are closed.
app.on('window-all-closed', () => {
@@ -96,13 +429,17 @@ app.on('window-all-closed', () => {
}
})
app.on('before-quit', (event) => {
if (subpy == null) {
return
if (!readyToQuit) {
// We need to shutdown the daemon before we're ready to actually quit. This
// event will be triggered re-entrantly once preparation is done.
event.preventDefault();
shutdownDaemonAndQuit();
} else {
console.log('Quitting.')
}
event.preventDefault();
shutdownDaemon();
})
});
app.on('activate', () => {
@@ -111,26 +448,92 @@ app.on('activate', () => {
if (win === null) {
createWindow()
}
})
});
// When a quit is attempted, this is called. It attempts to shutdown the daemon,
// then calls quitNow() to quit for real.
function shutdownDaemonAndQuit(evenIfNotStartedByApp = false) {
function doShutdown() {
console.log('Shutting down daemon');
daemonStopRequested = true;
client.request('daemon_stop', [], (err, res) => {
if (err) {
console.log(`received error when stopping lbrynet-daemon. Error message: ${err.message}\n`);
console.log('You will need to manually kill the daemon.');
} else {
console.log('Successfully stopped daemon via RPC call.')
quitNow();
}
});
}
function shutdownDaemon() {
console.log('Shutdown triggered');
if (subpy == null) {
// TODO: In this case, we didn't start the process so I'm hesitant
// to shut it down. We might want to send a stop command
// though instead of just letting it run.
console.log('Not killing lbrynet because we did not start it')
return
if (daemonSubprocess) {
doShutdown();
} else if (!evenIfNotStartedByApp) {
console.log('Not killing lbrynet-daemon because app did not start it');
quitNow();
} else {
doShutdown();
}
if (win) {
win.loadURL(`file://${__dirname}/dist/quit.html`);
}
quitting = true;
console.log('Killing lbrynet-daemon process');
kill(subpy.pid, undefined, (err) => {
console.log('Killed lbrynet-daemon process');
});
// Is it safe to start the installer before the daemon finishes running?
// If not, we should wait until the daemon is closed before we start the install.
}
ipcMain.on('shutdown', shutdownDaemon);
function upgrade(event, installerPath) {
app.on('quit', () => {
console.log('Launching upgrade installer at', installerPath);
// This gets triggered called after *all* other quit-related events, so
// we'll only get here if we're fully prepared and quitting for real.
openItem(installerPath);
});
if (win) {
win.loadURL(`file://${__dirname}/dist/upgrade.html`);
}
shutdownDaemonAndQuit(true);
// wait for daemon to shut down before upgrading
// what to do if no shutdown in a long time?
console.log('Update downloaded to', installerPath);
console.log('The app will close, and you will be prompted to install the latest version of LBRY.');
console.log('After the install is complete, please reopen the app.');
}
// Taken from webtorrent-desktop
function checkLinuxTraySupport (cb) {
// Check that we're on Ubuntu (or another debian system) and that we have
// libappindicator1.
child_process.exec('dpkg --get-selections libappindicator1', function (err, stdout) {
if (err) return cb(err)
// Unfortunately there's no cleaner way, as far as I can tell, to check
// whether a debian package is installed:
if (stdout.endsWith('\tinstall\n')) {
cb(null)
} else {
cb(new Error('debian package not installed'))
}
})
}
ipcMain.on('upgrade', upgrade);
app.setAsDefaultProtocolClient('lbry');
if (process.platform == 'darwin') {
app.on('open-url', (event, uri) => {
handleOpenUriRequested(uri);
});
} else if (process.argv.length >= 2) {
handleOpenUriRequested(process.argv[1]);
}
ipcMain.on('get-auth-token', (event) => {
keytar.getPassword("LBRY", "auth_token").then(token => {
event.sender.send('auth-token-response', token ? token.toString().trim() : null)
});
});
ipcMain.on('set-auth-token', (event, token) => {
keytar.setPassword("LBRY", "auth_token", token ? token.toString().trim() : null);
});

36
app/menu/context-menu.js Normal file
View File

@@ -0,0 +1,36 @@
const {Menu} = require('electron');
const electron = require('electron');
const app = electron.app;
const contextMenuTemplate = [
{
role: 'cut',
},
{
role: 'copy',
},
{
role: 'paste',
},
];
module.exports = {
showContextMenu(win, posX, posY, showDevItems) {
let template = contextMenuTemplate.slice();
if (showDevItems) {
template.push({
type: 'separator',
});
template.push(
{
label: 'Inspect Element',
click() {
win.inspectElement(posX, posY);
}
}
);
}
Menu.buildFromTemplate(template).popup(win);
},
};

137
app/menu/main-menu.js Normal file
View File

@@ -0,0 +1,137 @@
const { app, shell, Menu } = require('electron');
const { safeQuit } = require('../main.js')
const baseTemplate = [
{
label: 'File',
submenu: [
{
label: 'Quit',
accelerator: "CommandOrControl+Q",
click: () => safeQuit(),
},
]
},
{
label: 'Edit',
submenu: [
{
role: 'undo',
},
{
role: 'redo',
},
{
type: 'separator',
},
{
role: 'cut',
},
{
role: 'copy',
},
{
role: 'paste',
},
{
role: 'selectall',
},
]
},
{
label: 'View',
submenu: [
{
role: 'reload'
},
{
label: 'Developer',
submenu: [
{
role: 'forcereload'
},
{
role: 'toggledevtools'
},
]
},
{
type: 'separator'
},
{
role: 'togglefullscreen'
}
]
},
{
role: 'help',
submenu: [
{
label: 'Learn More',
click(item, focusedWindow) {
if (focusedWindow) {
focusedWindow.webContents.send('open-menu', '/help');
}
}
},
{
label: 'Frequently Asked Questions',
click(item, focusedWindow){
shell.openExternal('https://lbry.io/faq')
}
},
{
type: 'separator'
},
{
label: 'Report Issue',
click(item, focusedWindow){
shell.openExternal('https://lbry.io/faq/contributing#report-a-bug');
}
},
{
type: 'separator'
},
{
label: 'Developer API Guide',
click(item, focusedWindow){
shell.openExternal('https://lbry.io/quickstart')
}
},
]
}
];
const macOSAppMenuTemplate = {
label: app.getName(),
submenu: [
{
role: 'about',
},
{
type: 'separator',
},
{
role: 'hide',
},
{
role: 'hideothers',
},
{
role: 'unhide',
},
{
type: 'separator',
},
{
role: 'quit',
},
]
};
module.exports = () => {
let template = baseTemplate.slice();
(process.platform === 'darwin') && template.unshift(macOSAppMenuTemplate);
Menu.setApplicationMenu(Menu.buildFromTemplate(template));
};

View File

@@ -1,17 +1,28 @@
{
"name": "LBRY",
"version": "0.9.0rc10",
"version": "0.18.2",
"main": "main.js",
"description": "LBRY is a fully decentralized, open-source protocol facilitating the discovery, access, and (sometimes) purchase of data.",
"description": "A browser for the LBRY network, a digital marketplace controlled by its users.",
"homepage": "https://github.com/lbryio/lbry-app",
"author": {
"email": "jobevers@lbry.io",
"name": "Job Evers-Meltzer"
"name": "LBRY Inc.",
"email": "hello@lbry.io"
},
"dependencies": {
"electron-dl": "^1.6.0",
"install": "^0.8.7",
"jayson": "^2.0.2",
"keytar": "^4.0.3",
"npm": "^4.2.0",
"semver": "^5.3.0",
"tree-kill": "^1.1.0"
}
},
"devDependencies": {
"electron-rebuild": "^1.5.11"
},
"lbrySettings": {
"lbrynetDaemonVersion": "0.18.0",
"lbrynetDaemonUrlTemplate": "https://github.com/lbryio/lbry/releases/download/vDAEMONVER/lbrynet-daemon-vDAEMONVER-OSNAME.zip"
},
"license": "MIT"
}

2016
app/yarn.lock Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -1,53 +0,0 @@
# Test against the latest version of this Node.js version
environment:
nodejs_version: "6"
GH_TOKEN:
secure: LiI5jyuHUw6XbH4kC3gP1HX4P/v4rwD/gCNtaFhQu2AvJz1/1wALkp5ECnIxRySN
skip_branch_with_pr: true
clone_folder: C:\projects\lbry-electron
# Install scripts. (runs after repo cloning)
install:
# needed to deal with submodules
- git submodule update --init --recursive
- python set_version.py
- python set_build.py
# Get the latest stable version of Node.js or io.js
- ps: Install-Product node $env:nodejs_version
# install modules
- npm install
- cd app
- npm install
- cd ..
# create lbrynet-daemon executable
- cd lbrynet
- ps: .\build.ps1
- cd ..
# build ui
- cd lbry-web-ui
- npm install
- node_modules\.bin\node-sass --output dist\css --sourcemap=none scss\
- node_modules\.bin\webpack
- ps: Copy-Item dist ..\app\ -recurse
- cd ..
- ps: Copy-Item lbrynet\dist\lbrynet-daemon.exe app\dist
build_script:
# build electron app
- node_modules\.bin\build -p never
# for debugging, see what was built
- python zip_daemon.py
- dir dist
- pip install PyGithub uritemplate
- python release_on_tag.py
test: off
artifacts:
- path: dist\*.exe
name: LBRY
- path: dist\*.zip
name: lbrynet-daemon

View File

@@ -1,89 +1,4 @@
#!/bin/bash
set -o xtrace
set -eu
ROOT="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
if [ "$(uname)" == "Darwin" ]; then
ICON="$ROOT/build/icon.icns"
else
ICON="$ROOT/build/icons/lbry48.png"
fi
FULL_BUILD="${FULL_BUILD:-false}"
if [ -n "${TEAMCITY_VERSION:-}" ]; then
FULL_BUILD="true"
elif [ -n "${APPVEYOR:-}" ]; then
FULL_BUILD="true"
fi
if [ "$FULL_BUILD" == "true" ]; then
# install dependencies
$ROOT/prebuild.sh
VENV="$ROOT/build_venv"
if [ -d "$VENV" ]; then
rm -rf "$VENV"
fi
virtualenv "$VENV"
set +u
source "$VENV/bin/activate"
set -u
pip install -U pip setuptools pyinstaller
python set_version.py
python set_build.py
fi
npm install
pushd $ROOT/app
npm install
popd
pushd "$ROOT/lbry"
pip install -r requirements.txt
# need to install our version of lbryum, not
# what is currently on master
pushd "$ROOT/lbryum"
pip install .
popd
pip install .
popd
(
cd "$ROOT/lbrynet"
pyinstaller -y lbry.onefile.spec
)
(
cd "$ROOT/lbry-web-ui"
npm install
node_modules/.bin/node-sass --output dist/css --sourcemap=none scss/
node_modules/.bin/webpack
rm -rf "$ROOT/app/dist"
cp -r dist "$ROOT/app/dist"
)
mv "$ROOT/lbrynet/dist/lbrynet-daemon" "$ROOT/app/dist"
if [ "$FULL_BUILD" == "true" ]; then
if [ "$(uname)" == "Darwin" ]; then
security unlock-keychain -p ${KEYCHAIN_PASSWORD} osx-build.keychain
fi
node_modules/.bin/build -p never
python zip_daemon.py
echo 'Build and packaging complete.'
else
echo 'Build complete. Run `./node_modules/.bin/electron app` to launch the app'
fi
if [ "$FULL_BUILD" == "true" ]; then
# electron-build has a publish feature, but I had a hard time getting
# it to reliably work and it also seemed difficult to configure. Not proud of
# this, but it seemed better to write my own.
pip install PyGithub uritemplate
python release_on_tag.py
deactivate
fi
# this is here because teamcity runs /build.sh to build the project
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
"$DIR/build/build.sh"

56
build/build.ps1 Normal file
View File

@@ -0,0 +1,56 @@
pip install -r build\requirements.txt
python build\set_version.py
# Get the latest stable version of Node.js or io.js
Install-Product node $env:nodejs_version
npm install -g yarn
yarn install
# do app
cd app
yarn install
# necessary to ensure native Node modules (e.g. keytar) are built against the correct version of Node)
# yes, it needs to be run twice. it fails the first time, not sure why
node_modules\.bin\electron-rebuild
node_modules\.bin\electron-rebuild
cd ..
# build ui
cd ui
yarn install
npm rebuild node-sass
node_modules\.bin\node-sass --output dist\css --sourcemap=none scss\
node_modules\.bin\webpack --config webpack.prod.js
Copy-Item dist ..\app\ -recurse
cd ..
# get daemon and cli executable
$package_settings = (Get-Content app\package.json -Raw | ConvertFrom-Json).lbrySettings
$daemon_ver = $package_settings.lbrynetDaemonVersion
$daemon_url_template = $package_settings.lbrynetDaemonUrlTemplate
$daemon_url = $daemon_url_template.Replace('OSNAME', 'windows').Replace('DAEMONVER', $daemon_ver)
Invoke-WebRequest -Uri $daemon_url -OutFile daemon.zip
Expand-Archive daemon.zip -DestinationPath app\dist\
dir app\dist\ # verify that daemon binary is there
rm daemon.zip
# build electron app
node_modules\.bin\build -p never
$binary_name = Get-ChildItem -Path dist -Filter '*.exe' -Name
$new_name = $binary_name -replace '^LBRY Setup (.*)\.exe$', 'LBRY_$1.exe'
Rename-Item -Path "dist\$binary_name" -NewName $new_name
dir dist # verify that binary was built/named correctly
# sign binary
nuget install secure-file -ExcludeVersion
secure-file\tools\secure-file -decrypt build\lbry3.pfx.enc -secret "$env:pfx_key"
& ${env:SIGNTOOL_PATH} sign /f build\lbry3.pfx /p "$env:key_pass" /tr http://tsa.starfieldtech.com /td SHA256 /fd SHA256 dist\*.exe
python build\upload_assets.py

137
build/build.sh Executable file
View File

@@ -0,0 +1,137 @@
#!/bin/bash
set -euo pipefail
ROOT="$( cd "$( dirname "${BASH_SOURCE[0]}" )/.." && pwd )"
cd "$ROOT"
BUILD_DIR="$ROOT/build"
LINUX=false
OSX=false
if [ "$(uname)" == "Darwin" ]; then
echo -e "\033[0;32mBuilding for OSX\x1b[m"
OSX=true
elif [ "$(expr substr $(uname -s) 1 5)" == "Linux" ]; then
echo -e "\033[0;32mBuilding for Linux\x1b[m"
LINUX=true
else
echo -e "\033[1;31mPlatform detection failed\x1b[m"
exit 1
fi
if $OSX; then
ICON="$BUILD_DIR/icon.icns"
else
ICON="$BUILD_DIR/icons/48x48.png"
fi
FULL_BUILD="${FULL_BUILD:-false}"
if [ -n "${TEAMCITY_VERSION:-}" -o -n "${APPVEYOR:-}" ]; then
FULL_BUILD="true"
fi
DEPS="${DEPS:-$FULL_BUILD}"
if [ "$DEPS" != "true" ]; then
echo -e "\033[1;36mDependencies will NOT be installed. Run with \"INSTALL_DEPENDENCIES=true\" to install dependencies, or \"FULL_BUILD=true\" to install dependencies and build a complete app.\x1b[m"
else
# install dependencies
echo -e "\033[0;32mInstalling Dependencies\x1b[m"
"$BUILD_DIR/install_deps.sh"
fi
[ -d "$ROOT/dist" ] && rm -rf "$ROOT/dist"
mkdir -p "$ROOT/dist"
[ -d "$ROOT/app/dist" ] && rm -rf "$ROOT/app/dist"
mkdir -p "$ROOT/app/dist"
yarn install
############
# UI #
############
echo -e "\033[0;32mCompiling UI\x1b[m"
(
cd "$ROOT/ui"
yarn install
npm rebuild node-sass
node extractLocals.js
node_modules/.bin/node-sass --output dist/css --sourcemap=none scss/
node_modules/.bin/webpack --config webpack.prod.js
cp -r dist/* "$ROOT/app/dist/"
)
####################
# daemon and cli #
####################
echo -e "\033[0;32mGrabbing Daemon and CLI\x1b[m"
if $OSX; then
OSNAME="macos"
else
OSNAME="linux"
fi
DAEMON_VER=$(node -e "console.log(require(\"$ROOT/app/package.json\").lbrySettings.lbrynetDaemonVersion)")
DAEMON_URL_TEMPLATE=$(node -e "console.log(require(\"$ROOT/app/package.json\").lbrySettings.lbrynetDaemonUrlTemplate)")
DAEMON_URL=$(echo ${DAEMON_URL_TEMPLATE//DAEMONVER/$DAEMON_VER} | sed "s/OSNAME/$OSNAME/g")
DAEMON_VER_PATH="$BUILD_DIR/daemon.ver"
echo "$DAEMON_VER_PATH"
if [[ ! -f $DAEMON_VER_PATH || ! -f $ROOT/app/dist/lbrynet-daemon || "$(< "$DAEMON_VER_PATH")" != "$DAEMON_VER" ]]; then
curl -sL -o "$BUILD_DIR/daemon.zip" "$DAEMON_URL"
unzip "$BUILD_DIR/daemon.zip" -d "$ROOT/app/dist/"
rm "$BUILD_DIR/daemon.zip"
echo "$DAEMON_VER" > "$DAEMON_VER_PATH"
else
echo -e "\033[4;31mAlready have daemon version $DAEMON_VER, skipping download\x1b[m"
fi
###################
# Build the app #
###################
echo -e '\033[0;32mBuilding Lbry-app\x1b[m'
(
cd "$ROOT/app"
yarn install
# necessary to ensure native Node modules (e.g. keytar) are built against the correct version of Node)
# yes, it needs to be run twice. it fails the first time, not sure why
set +e
# DEBUG=electron-rebuild node_modules/.bin/electron-rebuild .
node_modules/.bin/electron-rebuild "$ROOT/app"
set -e
node_modules/.bin/electron-rebuild "$ROOT/app"
)
if [ "$FULL_BUILD" == "true" ]; then
if $OSX; then
security unlock-keychain -p ${KEYCHAIN_PASSWORD} osx-build.keychain
fi
node_modules/.bin/build -p never
if $OSX; then
binary_name=$(find "$ROOT/dist" -iname "*dmg")
new_name=$(basename "$binary_name" | sed 's/-/_/')
mv "$binary_name" "$(dirname "$binary_name")/$new_name"
fi
# electron-build has a publish feature, but I had a hard time getting
# it to reliably work and it also seemed difficult to configure. Not proud of
# this, but it seemed better to write my own.
VENV="$BUILD_DIR/venv"
if [ -d "$VENV" ]; then
rm -rf "$VENV"
fi
virtualenv "$VENV"
"$VENV/bin/pip" install -r "$BUILD_DIR/requirements.txt"
"$VENV/bin/python" "$BUILD_DIR/upload_assets.py"
echo -e '\033[0;32mBuild and packaging complete.\x1b[m'
else
echo -e 'Build complete. Run \033[1;31m./node_modules/.bin/electron app\x1b[m to launch the app'
fi

129
build/changelog.py Normal file
View File

@@ -0,0 +1,129 @@
import datetime
import re
CHANGELOG_START_RE = re.compile(r'^\#\# \[Unreleased\]')
CHANGELOG_END_RE = re.compile(r'^\#\# \[.*\] - \d{4}-\d{2}-\d{2}')
# if we come across a section header between two release section headers
# then we probably have an improperly formatted changelog
CHANGELOG_ERROR_RE = re.compile(r'^\#\# ')
SECTION_RE = re.compile(r'^\#\#\# (.*)$')
EMPTY_RE = re.compile(r'^\w*\*\w*$')
ENTRY_RE = re.compile(r'\* (.*)')
VALID_SECTIONS = ['Added', 'Changed', 'Deprecated', 'Removed', 'Fixed', 'Security']
# allocate some entries to cut-down on merge conflicts
TEMPLATE = """### Added
*
*
### Changed
*
*
### Fixed
*
*
### Deprecated
*
*
### Removed
*
*
"""
class Changelog(object):
def __init__(self, path):
self.path = path
self.start = []
self.unreleased = []
self.rest = []
self._parse()
def _parse(self):
with open(self.path) as fp:
lines = fp.readlines()
unreleased_start_found = False
unreleased_end_found = False
for line in lines:
if not unreleased_start_found:
self.start.append(line)
if CHANGELOG_START_RE.search(line):
unreleased_start_found = True
continue
if unreleased_end_found:
self.rest.append(line)
continue
if CHANGELOG_END_RE.search(line):
self.rest.append(line)
unreleased_end_found = True
continue
if CHANGELOG_ERROR_RE.search(line):
raise Exception(
'Failed to parse {}: {}'.format(self.path, 'unexpected section header found'))
self.unreleased.append(line)
self.unreleased = self._normalize_section(self.unreleased)
@staticmethod
def _normalize_section(lines):
"""Parse a changelog entry and output a normalized form"""
sections = {}
current_section_name = None
current_section_contents = []
for line in lines:
line = line.strip()
if not line or EMPTY_RE.match(line):
continue
match = SECTION_RE.match(line)
if match:
if current_section_contents:
sections[current_section_name] = current_section_contents
current_section_contents = []
current_section_name = match.group(1)
if current_section_name not in VALID_SECTIONS:
raise ValueError("Section '{}' is not valid".format(current_section_name))
continue
match = ENTRY_RE.match(line)
if match:
current_section_contents.append(match.group(1))
continue
raise Exception('Something is wrong with line: {}'.format(line))
if current_section_contents:
sections[current_section_name] = current_section_contents
output = []
for section in VALID_SECTIONS:
if section not in sections:
continue
output.append('### {}'.format(section))
for entry in sections[section]:
output.append(' * {}'.format(entry))
output.append("\n")
return output
def get_unreleased(self):
return '\n'.join(self.unreleased) if self.unreleased else None
def bump(self, version):
if not self.unreleased:
return
today = datetime.datetime.today()
header = "## [{}] - {}\n\n".format(version, today.strftime('%Y-%m-%d'))
changelog_data = (
''.join(self.start) +
TEMPLATE +
header +
'\n'.join(self.unreleased) + '\n\n'
+ ''.join(self.rest)
)
with open(self.path, 'w') as fp:
fp.write(changelog_data)

View File

@@ -1,8 +1,6 @@
#!/bin/bash
set -euo pipefail
set -x
LINUX=false
OSX=false
@@ -18,7 +16,7 @@ fi
SUDO=''
if $LINUX && (( $EUID != 0 )); then
if (( $EUID != 0 )); then
SUDO='sudo'
fi
@@ -29,10 +27,10 @@ cmd_exists() {
set +eu
GITUSERNAME=$(git config --global --get user.name)
GITEMAIL=$(git config --global --get user.email)
if [ -z "$GITUSERNAME" ]; then
git config --global user.name "$(whoami)"
fi
GITEMAIL=$(git config --global --get user.email)
if [ -z "$GITEMAIL" ]; then
git config --global user.email "$(whoami)@lbry.io"
fi
@@ -41,7 +39,7 @@ set -eu
if $LINUX; then
INSTALL="$SUDO apt-get install --no-install-recommends -y"
$INSTALL build-essential libssl-dev libffi-dev libgmp3-dev python2.7-dev
$INSTALL build-essential libssl-dev libffi-dev libgmp3-dev python2.7-dev libsecret-1-dev curl
elif $OSX && ! cmd_exists brew ; then
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
fi
@@ -52,6 +50,9 @@ if ! cmd_exists python; then
$INSTALL python2.7
elif $OSX; then
brew install python
else
echo "python2.7 required"
exit 1
fi
fi
@@ -64,15 +65,16 @@ fi
if ! cmd_exists pip; then
if $LINUX; then
$INSTALL python-pip
$SUDO pip install --upgrade pip
elif $OSX; then
$SUDO easy_install pip
else
echo "Pip required"
echo "pip required"
exit 1
fi
$SUDO pip install --upgrade pip
fi
if $LINUX && ! (pip list --format=columns | grep --quiet setuptools); then
#$INSTALL python-setuptools
if $LINUX && [ "$(pip list --format=columns | grep setuptools | wc -l)" -ge 1 ]; then
$SUDO pip install setuptools
fi
@@ -86,5 +88,31 @@ if ! cmd_exists node; then
$INSTALL nodejs
elif $OSX; then
brew install node
else
echo "node required"
exit 1
fi
fi
if ! cmd_exists yarn; then
if $LINUX; then
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | $SUDO apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | $SUDO tee /etc/apt/sources.list.d/yarn.list
$SUDO apt-get update
$SUDO apt-get install yarn
elif $OSX; then
brew install yarn
else
echo "yarn required"
exit 1
fi
fi
if ! cmd_exists unzip; then
if $LINUX; then
$INSTALL unzip
else
echo "unzip required"
exit 1
fi
fi

BIN
build/lbry3.pfx.enc Normal file

Binary file not shown.

250
build/release.py Normal file
View File

@@ -0,0 +1,250 @@
"""Bump version and create Github release
This script should be run locally, not on a build server.
"""
import argparse
import contextlib
import os
import json
import re
import requests
import subprocess
import sys
import git
import github
import changelog
ROOT = os.path.dirname(os.path.dirname(os.path.realpath(__file__)))
APP_PACKAGE_JSON_FILE = os.path.join(ROOT, 'app', 'package.json')
def main():
bumpversion_parts = get_bumpversion_parts()
parser = argparse.ArgumentParser()
parser.add_argument("part", choices=bumpversion_parts, help="part of version to bump")
parser.add_argument("--skip-sanity-checks", action="store_true")
parser.add_argument("--skip-push", action="store_true")
parser.add_argument("--dry-run", action="store_true")
parser.add_argument("--confirm", action="store_true")
args = parser.parse_args()
if args.dry_run:
print "DRY RUN. Nothing will be committed/pushed."
repo = Repo('lbry-app', args.part, ROOT)
branch = 'master'
print 'Current version: {}'.format(repo.current_version)
print 'New version: {}'.format(repo.new_version)
with open(APP_PACKAGE_JSON_FILE, 'r') as f:
package_settings = json.load(f)['lbrySettings']
daemon_url_template = package_settings['lbrynetDaemonUrlTemplate']
daemon_version = package_settings['lbrynetDaemonVersion']
print 'Daemon version: {} ({})'.format(daemon_version, daemon_url_template.replace('DAEMONVER', daemon_version))
if not args.confirm and not confirm():
print "Aborting"
return 1
if not args.skip_sanity_checks:
run_sanity_checks(repo, branch)
repo.assert_new_tag_is_absent()
is_rc = re.search('\drc\d+$', repo.new_version) is not None
# only have a release message for real releases, not for RCs
release_msg = '' if is_rc else repo.get_unreleased_changelog()
if args.dry_run:
print "rc: " + ("yes" if is_rc else "no")
print "release message: \n" + (release_msg or " NO MESSAGE FOR RCs")
return
gh_token = get_gh_token()
auth = github.Github(gh_token)
github_repo = auth.get_repo('lbryio/lbry-app')
if not is_rc:
repo.bump_changelog()
repo.bumpversion()
new_tag = repo.get_new_tag()
github_repo.create_git_release(new_tag, new_tag, release_msg, draft=True, prerelease=is_rc)
if args.skip_push:
print (
'Skipping push; you will have to reset and delete tags if '
'you want to run this script again.'
)
else:
repo.git_repo.git.push(follow_tags=True, recurse_submodules='check')
class Repo(object):
def __init__(self, name, part, directory):
self.name = name
self.part = part
if not self.part:
raise Exception('Part required')
self.directory = directory
self.git_repo = git.Repo(self.directory)
self._bumped = False
self.current_version = self._get_current_version()
self.new_version = self._get_new_version()
self._changelog = changelog.Changelog(os.path.join(self.directory, 'CHANGELOG.md'))
def get_new_tag(self):
return 'v' + self.new_version
def get_unreleased_changelog(self):
return self._changelog.get_unreleased()
def bump_changelog(self):
self._changelog.bump(self.new_version)
with pushd(self.directory):
self.git_repo.git.add(os.path.basename(self._changelog.path))
def _get_current_version(self):
with pushd(self.directory):
output = subprocess.check_output(
['bumpversion', '--dry-run', '--list', '--allow-dirty', self.part])
return re.search('^current_version=(.*)$', output, re.M).group(1)
def _get_new_version(self):
with pushd(self.directory):
output = subprocess.check_output(
['bumpversion', '--dry-run', '--list', '--allow-dirty', self.part])
return re.search('^new_version=(.*)$', output, re.M).group(1)
def bumpversion(self):
if self._bumped:
raise Exception('Cowardly refusing to bump a repo twice')
with pushd(self.directory):
subprocess.check_call(['bumpversion', '--allow-dirty', self.part])
self._bumped = True
def assert_new_tag_is_absent(self):
new_tag = self.get_new_tag()
tags = self.git_repo.git.tag()
if new_tag in tags.split('\n'):
raise Exception('Tag {} is already present in repo {}.'.format(new_tag, self.name))
def is_behind(self, branch):
self.git_repo.remotes.origin.fetch()
rev_list = '{branch}...origin/{branch}'.format(branch=branch)
commits_behind = self.git_repo.git.rev_list(rev_list, right_only=True, count=True)
commits_behind = int(commits_behind)
return commits_behind > 0
def get_bumpversion_parts():
with pushd(ROOT):
output = subprocess.check_output([
'bumpversion', '--dry-run', '--list', '--allow-dirty', 'fake-part',
])
parse_line = re.search('^parse=(.*)$', output, re.M).group(1)
return tuple(re.findall('<([^>]+)>', parse_line))
def get_gh_token():
if 'GH_TOKEN' in os.environ:
return os.environ['GH_TOKEN']
else:
print """
Please enter your personal access token. If you don't have one
See https://github.com/lbryio/lbry-app/wiki/Release-Script#generate-a-personal-access-token
for instructions on how to generate one.
You can also set the GH_TOKEN environment variable to avoid seeing this message
in the future"""
return raw_input('token: ').strip()
def confirm():
try:
return raw_input('Is this what you want? [y/N] ').strip().lower() == 'y'
except KeyboardInterrupt:
return False
def run_sanity_checks(repo, branch):
if repo.git_repo.is_dirty():
print 'Cowardly refusing to release a dirty repo'
sys.exit(1)
if repo.git_repo.active_branch.name != branch:
print 'Cowardly refusing to release when not on the {} branch'.format(branch)
sys.exit(1)
if repo.is_behind(branch):
print 'Cowardly refusing to release when behind origin'
sys.exit(1)
if not is_custom_bumpversion_version():
print (
'Install LBRY\'s fork of bumpversion: '
'pip install -U git+https://github.com/lbryio/bumpversion.git'
)
sys.exit(1)
if not check_daemon_urls():
sys.exit(1)
def check_daemon_urls():
with open(APP_PACKAGE_JSON_FILE, 'r') as f:
package_settings = json.load(f)['lbrySettings']
daemon_url_template = package_settings['lbrynetDaemonUrlTemplate']
daemon_version = package_settings['lbrynetDaemonVersion']
if "OSNAME" not in daemon_url_template:
print "Daemon URL must include the string \"OSNAME\""
return False
elif "DAEMONVER" not in daemon_url_template:
print "Daemon URL must include the string \"DAEMONVER\""
return False
for osname in ('linux', 'macos', 'windows'):
if not check_url(daemon_url_template.replace('DAEMONVER', daemon_version).replace('OSNAME', osname)):
print "Daemon URL for", osname, " does not work"
return False
return True
def check_url(url):
url = url.strip()
r = requests.head(url)
if r.status_code >= 400:
return False
elif r.status_code >= 300:
new_location = r.headers.get('Location').strip()
if new_location == url:
# self-loop
return False
if "amazonaws.com" in new_location:
# HEAD doesnt work on s3 links, so assume its good
return True
return check_url(new_location)
return True
def is_custom_bumpversion_version():
try:
output = subprocess.check_output(['bumpversion', '-v'], stderr=subprocess.STDOUT).strip()
if output == 'bumpversion 0.5.4-lbry':
return True
except (subprocess.CalledProcessError, OSError):
pass
return False
@contextlib.contextmanager
def pushd(new_dir):
previous_dir = os.getcwd()
os.chdir(new_dir)
yield
os.chdir(previous_dir)
if __name__ == '__main__':
sys.exit(main())

6
build/requirements.txt Normal file
View File

@@ -0,0 +1,6 @@
GitPython==2.1.1
PyGithub==1.32
requests[security]==2.13.0
uritemplate==3.0.0
git+https://github.com/lbryio/bumpversion.git
boto3==1.4.4

152
build/upload_assets.py Normal file
View File

@@ -0,0 +1,152 @@
import glob
import json
import os
import platform
import subprocess
import sys
import github
import uritemplate
import boto3
def main():
upload_to_github_if_tagged('lbryio/lbry-app')
upload_to_s3('app')
def get_asset_filename():
this_dir = os.path.dirname(os.path.realpath(__file__))
system = platform.system()
if system == 'Darwin':
return glob.glob(this_dir + '/../dist/mac/LBRY*.dmg')[0]
elif system == 'Linux':
return glob.glob(this_dir + '/../dist/LBRY*.deb')[0]
elif system == 'Windows':
return glob.glob(this_dir + '/../dist/LBRY*.exe')[0]
else:
raise Exception("I don't know about any artifact on {}".format(system))
def upload_to_s3(folder):
tag = subprocess.check_output(['git', 'describe', '--always', '--abbrev=8', 'HEAD']).strip()
commit_date = subprocess.check_output([
'git', 'show', '-s', '--format=%cd', '--date=format:%Y%m%d-%H%I%S', 'HEAD']).strip()
asset_path = get_asset_filename()
bucket = 'releases.lbry.io'
key = folder + '/' + commit_date + '-' + tag + '/' + os.path.basename(asset_path)
print "Uploading " + asset_path + " to s3://" + bucket + '/' + key + ''
if 'AWS_ACCESS_KEY_ID' not in os.environ or 'AWS_SECRET_ACCESS_KEY' not in os.environ:
print 'Must set AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY to publish assets to s3'
return 1
s3 = boto3.resource(
's3',
aws_access_key_id=os.environ['AWS_ACCESS_KEY_ID'],
aws_secret_access_key=os.environ['AWS_SECRET_ACCESS_KEY'],
config=boto3.session.Config(signature_version='s3v4')
)
s3.meta.client.upload_file(asset_path, bucket, key)
def upload_to_github_if_tagged(repo_name):
try:
current_tag = subprocess.check_output(
['git', 'describe', '--exact-match', 'HEAD']).strip()
except subprocess.CalledProcessError:
print 'Not uploading to GitHub as we are not currently on a tag'
return 1
print "Current tag: " + current_tag
if 'GH_TOKEN' not in os.environ:
print 'Must set GH_TOKEN in order to publish assets to a release'
return 1
gh_token = os.environ['GH_TOKEN']
auth = github.Github(gh_token)
repo = auth.get_repo(repo_name)
if not check_repo_has_tag(repo, current_tag):
print 'Tag {} is not in repo {}'.format(current_tag, repo)
# TODO: maybe this should be an error
return 1
asset_path = get_asset_filename()
print "Uploading " + asset_path + " to Github tag " + current_tag
release = get_github_release(repo, current_tag)
upload_asset_to_github(release, asset_path, gh_token)
def check_repo_has_tag(repo, target_tag):
tags = repo.get_tags().get_page(0)
for tag in tags:
if tag.name == target_tag:
return True
return False
def get_github_release(repo, current_tag):
for release in repo.get_releases():
if release.tag_name == current_tag:
return release
raise Exception('No release for {} was found'.format(current_tag))
def upload_asset_to_github(release, asset_to_upload, token):
basename = os.path.basename(asset_to_upload)
for asset in release.raw_data['assets']:
if asset['name'] == basename:
print 'File {} has already been uploaded to {}'.format(basename, release.tag_name)
return
upload_uri = uritemplate.expand(release.upload_url, {'name': basename})
count = 0
while count < 10:
try:
output = _curl_uploader(upload_uri, asset_to_upload, token)
if 'errors' in output:
raise Exception(output)
else:
print 'Successfully uploaded to {}'.format(output['browser_download_url'])
except Exception:
print 'Failed uploading on attempt {}'.format(count + 1)
count += 1
def _curl_uploader(upload_uri, asset_to_upload, token):
# using requests.post fails miserably with SSL EPIPE errors. I spent
# half a day trying to debug before deciding to switch to curl.
#
# TODO: actually set the content type
print 'Using curl to upload {} to {}'.format(asset_to_upload, upload_uri)
cmd = [
'curl',
'-sS',
'-X', 'POST',
'-u', ':{}'.format(os.environ['GH_TOKEN']),
'--header', 'Content-Type: application/octet-stream',
'--data-binary', '@-',
upload_uri
]
# '-d', '{"some_key": "some_value"}',
print 'Calling curl:'
print cmd
print
with open(asset_to_upload, 'rb') as fp:
p = subprocess.Popen(cmd, stdin=fp, stderr=subprocess.PIPE, stdout=subprocess.PIPE)
stdout, stderr = p.communicate()
print 'curl return code:', p.returncode
if stderr:
print 'stderr output from curl:'
print stderr
print 'stdout from curl:'
print stdout
return json.loads(stdout)
if __name__ == '__main__':
sys.exit(main())

View File

@@ -1,129 +0,0 @@
import argparse
import datetime
import re
import sys
CHANGELOG_START_RE = re.compile(r'^\#\# \[Unreleased\]')
CHANGELOG_END_RE = re.compile(r'^\#\# \[.*\] - \d{4}-\d{2}-\d{2}')
# if we come across a section header between two release section headers
# then we probably have an improperly formatted changelog
CHANGELOG_ERROR_RE = re.compile(r'^\#\# ')
SECTION_RE = re.compile(r'^\#\#\# (.*)$')
EMPTY_RE = re.compile(r'^\w*\*\w*$')
ENTRY_RE = re.compile(r'\* (.*)')
VALID_SECTIONS = ['Added', 'Changed', 'Deprecated', 'Removed', 'Fixed', 'Security']
# allocate some entries to cut-down on merge conflicts
TEMPLATE = """### Added
*
*
*
### Changed
*
*
*
### Fixed
*
*
*
"""
def main():
parser = argparse.ArgumentParser()
parser.add_argument('changelog')
parser.add_argument('version')
args = parser.parse_args()
bump(changelog, version)
def bump(changelog, version):
with open(changelog) as fp:
lines = fp.readlines()
start = []
unreleased = []
rest = []
unreleased_start_found = False
unreleased_end_found = False
for line in lines:
if not unreleased_start_found:
start.append(line)
if CHANGELOG_START_RE.search(line):
unreleased_start_found = True
continue
if unreleased_end_found:
rest.append(line)
continue
if CHANGELOG_END_RE.search(line):
rest.append(line)
unreleased_end_found = True
continue
if CHANGELOG_ERROR_RE.search(line):
raise Exception(
'Failed to parse {}: {}'.format(filename, 'unexpected section header found'))
unreleased.append(line)
today = datetime.datetime.today()
header = '## [{}] - {}\n'.format(version, today.strftime('%Y-%m-%d'))
released = normalize(unreleased)
if not released:
# If we don't have anything in the Unreleased section, then leave the
# changelog as it is and return None
return
changelog_data = (
''.join(start) +
TEMPLATE +
header +
'\n'.join(released) + '\n\n'
+ ''.join(rest)
)
with open(changelog, 'w') as fp:
fp.write(changelog_data)
return '\n'.join(released) + '\n\n'
def normalize(lines):
"""Parse a changelog entry and output a normalized form"""
sections = {}
current_section_name = None
current_section_contents = []
for line in lines:
line = line.strip()
if not line or EMPTY_RE.match(line):
continue
match = SECTION_RE.match(line)
if match:
if current_section_contents:
sections[current_section_name] = current_section_contents
current_section_contents = []
current_section_name = match.group(1)
if current_section_name not in VALID_SECTIONS:
raise ValueError("Section '{}' is not valid".format(current_section_name))
continue
match = ENTRY_RE.match(line)
if match:
current_section_contents.append(match.group(1))
continue
raise Exception('Something is wrong with line: {}'.format(line))
if current_section_contents:
sections[current_section_name] = current_section_contents
output = []
for section in VALID_SECTIONS:
if section not in sections:
continue
output.append('### {}'.format(section))
for entry in sections[section]:
output.append(' * {}'.format(entry))
return output
if __name__ == '__main__':
sys.exit(main())

1
lbry

Submodule lbry deleted from d3d8426430

Submodule lbry-web-ui deleted from 9a36270d3e

View File

@@ -1,24 +0,0 @@
$env:Path += ";C:\MinGW\bin\"
$env:Path += ";C:\Program Files (x86)\Windows Kits\10\bin\x86\"
gcc --version
mingw32-make --version
mkdir temp
Invoke-WebRequest "https://pypi.python.org/packages/55/90/e987e28ed29b571f315afea7d317b6bf4a551e37386b344190cffec60e72/miniupnpc-1.9.tar.gz" -OutFile "temp\miniupnpc-1.9.tar.gz"
cd temp
tar zxf miniupnpc-1.9.tar.gz
cd miniupnpc-1.9
mingw32-make.exe -f Makefile.mingw
python.exe setupmingw32.py build --compiler=mingw32
python.exe setupmingw32.py install
cd ..\..\
Remove-Item -Recurse -Force temp
pip.exe install -r windows-requirements.txt
pip.exe install ..\lbryum
pip.exe install ..\lbry
pip.exe install pyinstaller
pyinstaller -y lbry.onefile.spec

View File

@@ -1,77 +0,0 @@
# -*- mode: python -*-
import platform
import os
import lbryum
cwd = os.getcwd()
if os.path.basename(cwd) != 'lbrynet':
raise Exception('The build needs to be run from the same directory as the spec file')
repo_base = os.path.abspath(os.path.join(cwd, '..'))
system = platform.system()
if system == 'Darwin':
icns = os.path.join(repo_base, 'build', 'icon.icns')
elif system == 'Linux':
icns = os.path.join(repo_base, 'build', 'icons', '256x256.png')
elif system == 'Windows':
icns = os.path.join(repo_base, 'build', 'icons', 'lbry256.ico')
else:
print 'Warning: System {} has no icons'.format(system)
icns = None
block_cipher = None
languages = (
'chinese_simplified.txt', 'japanese.txt', 'spanish.txt',
'english.txt', 'portuguese.txt'
)
datas = [
(
os.path.join(os.path.dirname(lbryum.__file__), 'wordlist', language),
'lbryum/wordlist'
)
for language in languages
]
a = Analysis(
['lbry.py'],
pathex=[cwd],
binaries=None,
datas=datas,
hiddenimports=[],
hookspath=[],
runtime_hooks=[],
excludes=[],
win_no_prefer_redirects=False,
win_private_assemblies=False,
cipher=block_cipher
)
pyz = PYZ(
a.pure, a.zipped_data,
cipher=block_cipher
)
exe = EXE(
pyz,
a.scripts,
a.binaries,
a.zipfiles,
a.datas,
name='lbrynet-daemon',
debug=False,
strip=False,
upx=True,
console=True,
icon=icns
)

View File

@@ -1,5 +0,0 @@
from lbrynet.lbrynet_daemon import DaemonControl
if __name__ == '__main__':
DaemonControl.start()

View File

@@ -1,30 +0,0 @@
pypiwin32==219
six==1.10.0
requests[security]==2.13.0
zope.interface==4.3.3
Twisted==16.6.0
appdirs==1.4.0
argparse==1.2.1
colorama==0.3.7
dnspython==1.12.0
ecdsa==0.13
envparse==0.2.0
jsonrpc==1.2
jsonrpclib==0.1.7
loggly-python-handler==1.0.0
pbkdf2==1.3
protobuf==3.0.0
pycrypto==2.6.1
python-bitcoinrpc==0.1
pyyaml==3.12
qrcode==5.2.2
requests_futures==0.9.7
seccure==0.3.1.3
simplejson==3.8.2
slowaes==0.1a1
txJSON-RPC==0.5
wsgiref==0.1.2
base58==0.2.2
googlefinance==0.7
jsonschema==2.5.1
https://github.com/lbryio/lbry/raw/master/packaging/windows/libs/gmpy-1.17-cp27-none-win32.whl

1
lbryum

Submodule lbryum deleted from d3bfb004e2

View File

@@ -32,15 +32,45 @@
},
"backgroundColor": "155B4A"
},
"protocols": [
{
"name": "lbry",
"role": "Viewer",
"schemes": [
"lbry"
]
}
],
"linux": {
"target": "deb"
"target": "deb",
"desktop": {
"MimeType": "x-scheme-handler/lbry",
"Exec": "/opt/LBRY/lbry %U"
}
},
"deb": {
"depends": [
"gconf2",
"gconf-service",
"libnotify4",
"libappindicator1",
"libxtst6",
"libnss3",
"libsecret-1-0"
]
},
"win": {
"target": "nsis"
},
"nsis": {
"perMachine": true
}
},
"devDependencies": {
"electron": "^1.4.15",
"electron-builder": "^11.7.0"
}
"devtron": "^1.4.0",
"electron": "^1.7.9",
"electron-builder": "^11.7.0",
"electron-debug": "^1.4.0"
},
"license": "MIT"
}

View File

@@ -1,250 +0,0 @@
"""Trigger a release.
This script is to be run locally (not on a build server).
"""
import argparse
import contextlib
import logging
import os
import re
import subprocess
import sys
import git
import github
import requests
import changelog
NO_CHANGE = ('No change since the last release. This release is simply a placeholder'
' so that LBRY and LBRY App track the same version')
DEFAULT_BRANCHES = {
'lbry': 'master',
'lbry-app': 'master',
'lbry-web-ui': 'development',
'lbryum': 'master'
}
def main():
parser = argparse.ArgumentParser()
parser.add_argument("lbry_part", help="part of lbry version to bump")
parser.add_argument("--lbryum_part", help="part of lbryum version to bump")
parser.add_argument("--ui-part", help="part of the ui to bump")
parser.add_argument("--branch", help="branch to use for each repo; useful for testing")
parser.add_argument("--last-release")
parser.add_argument("--skip-sanity-checks", action="store_true")
parser.add_argument("--require-changelog", action="store_true")
parser.add_argument("--skip-push", action="store_true",
help="Set to not push changes to remote repo")
args = parser.parse_args()
base = git.Repo(os.getcwd())
branch = get_branch('lbry-app', args.branch)
if not args.skip_sanity_checks:
run_sanity_checks(base, branch)
if args.last_release:
last_release = args.last_release
else:
response = requests.get('https://api.github.com/repos/lbryio/lbry-app/releases/latest')
data = response.json()
last_release = data['tag_name']
logging.info('Last release: %s', last_release)
gh_token = os.environ['GH_TOKEN']
auth = github.Github(gh_token)
github_repo = auth.get_repo('lbryio/lbry-app')
names = ['lbry', 'lbry-web-ui', 'lbryum']
repos = [Repo(name, get_part(args, name)) for name in names]
# in order to see if we've had any change in the submodule, we need to checkout
# our last release, see what commit we were on, and then compare that to
# current
base.git.checkout(last_release)
base.git.submodule('update')
for repo in repos:
repo.save_commit()
base.git.checkout(branch)
base.git.submodule('update')
changelogs = {}
for repo in repos:
logging.info('Processing repo: %s', repo.name)
repo.checkout(args.branch)
if repo.has_changes():
entry = repo.get_changelog_entry()
if entry:
changelogs[repo.name] = entry.strip()
repo.add_changelog()
else:
msg = 'Changelog entry is missing for {}'.format(repo.name)
if args.require_changelog:
raise Exception(msg)
else:
logging.warning(msg)
else:
logging.warning('Submodule %s has no changes.', repo.name)
if repo.name == 'lbryum':
# The other repos have their version track each other so need to bump
# them even if there aren't any changes, but lbryum should only be
# bumped if it has changes
continue
repo.bumpversion()
release_msg = get_release_msg(changelogs, names)
for name in names:
base.git.add(name)
subprocess.check_call(['bumpversion', args.lbry_part, '--allow-dirty'])
current_tag = base.git.describe()
github_repo.create_git_release(current_tag, current_tag, release_msg, draft=True)
lbrynet_daemon_release_msg = changelogs.get('lbry', NO_CHANGE)
auth.get_repo('lbryio/lbrynet-daemon').create_git_release(
current_tag, current_tag, lbrynet_daemon_release_msg, draft=True)
if not args.skip_push:
for repo in repos:
repo.git.push(follow_tags=True)
base.git.push(follow_tags=True, recurse_submodules='check')
else:
logging.info('Skipping push; you will have to reset and delete tags if '
'you want to run this script again')
def get_branch(repo_name, override=None):
if override:
return override
return DEFAULT_BRANCHES[repo_name]
def get_release_msg(changelogs, names):
lines = []
for name in names:
entry = changelogs.get(name)
if not entry:
continue
lines.append('## {}\n'.format(name))
lines.append('{}\n'.format(entry))
return '\n'.join(lines)
def run_sanity_checks(base, branch):
if base.is_dirty():
print 'Cowardly refusing to release a dirty repo'
sys.exit(1)
if base.active_branch.name != branch:
print 'Cowardly refusing to release when not on the {} branch'.format(branch)
sys.exit(1)
if is_behind(base, branch):
print 'Cowardly refusing to release when behind origin'
sys.exit(1)
check_bumpversion()
def is_behind(base, branch):
base.remotes.origin.fetch()
rev_list = '{branch}...origin/{branch}'.format(branch=branch)
commits_behind = base.git.rev_list(rev_list, right_only=True, count=True)
commits_behind = int(commits_behind)
return commits_behind > 0
def check_bumpversion():
def requireNewVersion():
print 'Install bumpversion: pip install -U git+https://github.com/lbryio/bumpversion.git'
sys.exit(1)
try:
output = subprocess.check_output(['bumpversion', '-v'], stderr=subprocess.STDOUT)
output = output.strip()
if output != 'bumpversion 0.5.4-lbry':
requireNewVersion()
except (subprocess.CalledProcessError, OSError) as err:
requireNewVersion()
def get_part(args, name):
if name == 'lbry-web-ui':
part = getattr(args, 'ui_part')
return part or args.lbry_part
else:
return getattr(args, name + '_part')
class Repo(object):
def __init__(self, name, part):
self.name = name
self.part = part
self.directory = os.path.join(os.getcwd(), name)
self.git_repo = git.Repo(self.directory)
self.saved_commit = None
self._bumped = False
def has_changes(self):
logging.info('%s =? %s', self.git_repo.commit(), self.saved_commit)
return self.git_repo.commit() != self.saved_commit
def save_commit(self):
self.saved_commit = self.git_repo.commit()
def checkout(self, override=None):
branch = get_branch(self.name, override)
self.git_repo.git.checkout(branch)
self.git_repo.git.pull(rebase=True)
def get_changelog_entry(self):
filename = os.path.join(self.directory, 'CHANGELOG.md')
return changelog.bump(filename, self.new_version())
def add_changelog(self):
with pushd(self.directory):
self.git_repo.git.add('CHANGELOG.md')
def new_version(self):
if self._bumped:
raise Exception('Cannot calculate a new version on an already bumped repo')
if not self.part:
raise Exception('Cannot calculate a new version without a part')
with pushd(self.directory):
output = subprocess.check_output(
['bumpversion', '--dry-run', '--list', '--allow-dirty', self.part])
return re.search('^new_version=(.*)$', output, re.M).group(1)
def bumpversion(self):
if self._bumped:
raise Exception('Cowardly refusing to bump a repo twice')
if not self.part:
raise Exception('Cannot bump version for {}: no part specified'.format(repo.name))
with pushd(self.directory):
subprocess.check_call(['bumpversion', '--allow-dirty', self.part])
self._bumped = True
@property
def git(self):
return self.git_repo.git
@contextlib.contextmanager
def pushd(new_dir):
previous_dir = os.getcwd()
os.chdir(new_dir)
yield
os.chdir(previous_dir)
if __name__ == '__main__':
logging.basicConfig(
format="%(asctime)s %(levelname)-8s %(name)s:%(lineno)d: %(message)s",
level='INFO'
)
sys.exit(main())
else:
log = logging.getLogger('__name__')

View File

@@ -1,143 +0,0 @@
import argparse
import glob
import json
import logging
import os
import platform
import re
import subprocess
import sys
import github
import requests
import uritemplate
from lbrynet.core import log_support
def main(args=None):
current_tag = None
try:
current_tag = subprocess.check_output(
['git', 'describe', '--exact-match', 'HEAD']).strip()
except subprocess.CalledProcessError:
log.info('Stopping as we are not currently on a tag')
return
if 'GH_TOKEN' not in os.environ:
print 'Must set GH_TOKEN in order to publish assets to a release'
return
gh_token = os.environ['GH_TOKEN']
auth = github.Github(gh_token)
app_repo = auth.get_repo('lbryio/lbry-app')
# TODO: switch lbryio/lbrynet-daemon to lbryio/lbry
daemon_repo = auth.get_repo('lbryio/lbrynet-daemon')
if not check_repo_has_tag(app_repo, current_tag):
log.info('Tag %s is not in repo %s', current_tag, app_repo)
# TODO: maybe this should be an error
return
app = get_app_artifact()
release = get_release(app_repo, current_tag)
upload_asset(release, app, gh_token)
daemon = get_daemon_artifact()
release = get_release(daemon_repo, current_tag)
upload_asset(release, daemon, gh_token)
def check_repo_has_tag(repo, target_tag):
tags = repo.get_tags().get_page(0)
for tag in tags:
if tag.name == target_tag:
return True
return False
def get_release(current_repo, current_tag):
for release in current_repo.get_releases():
if release.tag_name == current_tag:
return release
raise Exception('No release for {} was found'.format(current_tag))
def get_app_artifact():
system = platform.system()
if system == 'Darwin':
return glob.glob('dist/mac/LBRY*.dmg')[0]
elif system == 'Linux':
return glob.glob('dist/LBRY*.deb')[0]
elif system == 'Windows':
return glob.glob('dist/LBRY*.exe')[0]
else:
raise Exception("I don't know about any artifact on {}".format(system))
def get_daemon_artifact():
return glob.glob('dist/*.zip')[0]
def upload_asset(release, asset_to_upload, token):
count = 0
while count < 10:
try:
return _upload_asset(release, asset_to_upload, token)
except Exception:
count += 1
def _upload_asset(release, asset_to_upload, token):
basename = os.path.basename(asset_to_upload)
if is_asset_already_uploaded(release, basename):
return
print 'Release upload url:', release.upload_url
upload_uri = uritemplate.expand(
release.upload_url, {'name': basename})
# using requests.post fails miserably with SSL EPIPE errors. I spent
# half a day trying to debug before deciding to switch to curl.
#
# TODO: actually set the content type
cmd = [
'curl',
'-sS',
'-X', 'POST',
'-u', ':{}'.format(os.environ['GH_TOKEN']),
'--header', 'Content-Type:application/octet-stream',
'--data-binary', '@{}'.format(asset_to_upload),
upload_uri
]
print 'Calling curl:'
print cmd
print
p = subprocess.Popen(cmd, stderr=subprocess.PIPE, stdout=subprocess.PIPE)
stdout, stderr = p.communicate()
print 'curl return code:', p.returncode
if stderr:
print 'stderr output from curl:'
print stderr
print 'stdout from curl:'
print stdout
output = json.loads(stdout)
if 'errors' in output:
raise Exception(output)
else:
log.info('Successfully uploaded to %s', output['browser_download_url'])
def is_asset_already_uploaded(release, basename):
for asset in release.raw_data['assets']:
if asset['name'] == basename:
log.info('File %s has already been uploaded to %s', basename, release.tag_name)
return True
return False
if __name__ == '__main__':
log = logging.getLogger('release-on-tag')
log_support.configure_console(level='INFO')
sys.exit(main())
else:
log = logging.getLogger(__name__)

View File

@@ -1,29 +0,0 @@
"""Set the build version to be 'dev', 'qa', 'rc', 'release'"""
import json
import os.path
import re
import subprocess
import sys
def main():
build = get_build()
with open(os.path.join('lbry', 'lbrynet', 'build_type.py'), 'w') as f:
f.write('BUILD = "{}"'.format(build))
def get_build():
try:
tag = subprocess.check_output(['git', 'describe', '--exact-match']).strip()
if re.match('v\d+\.\d+\.\d+rc\d+', tag):
return 'rc'
else:
return 'release'
except subprocess.CalledProcessError:
# if the build doesn't have a tag
return 'qa'
if __name__ == '__main__':
sys.exit(main())

View File

@@ -1,59 +0,0 @@
"""Set the package version to the output of `git describe`"""
import argparse
import json
import os.path
import re
import subprocess
import sys
def main():
parser = argparse.ArgumentParser()
parser.add_argument('--version', help="defaults to the output of `git describe`")
args = parser.parse_args()
if args.version:
version = args.version
else:
tag = subprocess.check_output(['git', 'describe']).strip()
try:
version = get_version_from_tag(tag)
except InvalidVersionTag:
# this should be an error but its easier to handle here
# than in the calling scripts.
print 'Tag cannot be converted to a version, Exitting'
return
set_version(version)
class InvalidVersionTag(Exception):
pass
def get_version_from_tag(tag):
match = re.match('v([\d.]+)', tag)
if match:
return match.group(1)
else:
raise InvalidVersionTag('Failed to parse version from tag {}'.format(tag))
def set_version(version):
package_file = os.path.join('app', 'package.json')
with open(package_file) as fp:
package_data = json.load(fp)
package_data['version'] = version
with open(package_file, 'w') as fp:
json.dump(package_data, fp, indent=2, separators=(',', ': '))
with open(os.path.join('lbry', 'lbrynet', '__init__.py'), 'w') as fp:
fp.write(LBRYNET_TEMPLATE.format(version=version))
LBRYNET_TEMPLATE = """
__version__ = "{version}"
version = tuple(__version__.split('.'))
"""
if __name__ == '__main__':
sys.exit(main())

6
ui/.babelrc Normal file
View File

@@ -0,0 +1,6 @@
{
"presets": [
"es2015",
"react"
],
}

239
ui/.eslintrc.js Normal file
View File

@@ -0,0 +1,239 @@
module.exports = {
"extends": "airbnb",
"plugins": [
"react",
"jsx-a11y",
"import"
],
"env": {
"browser": true,
},
// Grabbed from https://gist.github.com/cletusw/e01a85e399ab563b1236
"rules": {
////////// Possible Errors //////////
"no-comma-dangle": 0, // disallow trailing commas in object literals
"no-cond-assign": 0, // disallow assignment in conditional expressions
"no-console": 0, // disallow use of console (off by default in the node environment)
"no-constant-condition": 0, // disallow use of constant expressions in conditions
"no-control-regex": 0, // disallow control characters in regular expressions
"no-debugger": 0, // disallow use of debugger
"no-dupe-keys": 0, // disallow duplicate keys when creating object literals
"no-empty": 0, // disallow empty statements
"no-empty-class": 0, // disallow the use of empty character classes in regular expressions
"no-ex-assign": 0, // disallow assigning to the exception in a catch block
"no-extra-boolean-cast": 0, // disallow double-negation boolean casts in a boolean context
"no-extra-parens": 0, // disallow unnecessary parentheses (off by default)
"no-extra-semi": 0, // disallow unnecessary semicolons
"no-func-assign": 0, // disallow overwriting functions written as function declarations
"no-inner-declarations": 0, // disallow function or variable declarations in nested blocks
"no-invalid-regexp": 0, // disallow invalid regular expression strings in the RegExp constructor
"no-irregular-whitespace": 0, // disallow irregular whitespace outside of strings and comments
"no-negated-in-lhs": 0, // disallow negation of the left operand of an in expression
"no-obj-calls": 0, // disallow the use of object properties of the global object (Math and JSON) as functions
"no-regex-spaces": 0, // disallow multiple spaces in a regular expression literal
"no-reserved-keys": 0, // disallow reserved words being used as object literal keys (off by default)
"no-sparse-arrays": 0, // disallow sparse arrays
"no-unreachable": 0, // disallow unreachable statements after a return, throw, continue, or break statement
"use-isnan": 0, // disallow comparisons with the value NaN
"valid-jsdoc": 0, // Ensure JSDoc comments are valid (off by default)
"valid-typeof": 0, // Ensure that the results of typeof are compared against a valid string
////////// Best Practices //////////
"block-scoped-var": 0, // treat var statements as if they were block scoped (off by default)
"complexity": 0, // specify the maximum cyclomatic complexity allowed in a program (off by default)
"consistent-return": 0, // require return statements to either always or never specify values
"curly": 0, // specify curly brace conventions for all control statements
"default-case": 0, // require default case in switch statements (off by default)
"dot-notation": 0, // encourages use of dot notation whenever possible
"eqeqeq": 0, // require the use of === and !==
"guard-for-in": 0, // make sure for-in loops have an if statement (off by default)
"no-alert": 0, // disallow the use of alert, confirm, and prompt
"no-caller": 0, // disallow use of arguments.caller or arguments.callee
"no-div-regex": 0, // disallow division operators explicitly at beginning of regular expression (off by default)
"no-else-return": 0, // disallow else after a return in an if (off by default)
"no-empty-label": 0, // disallow use of labels for anything other then loops and switches
"no-eq-null": 0, // disallow comparisons to null without a type-checking operator (off by default)
"no-eval": 0, // disallow use of eval()
"no-extend-native": 0, // disallow adding to native types
"no-extra-bind": 0, // disallow unnecessary function binding
"no-fallthrough": 0, // disallow fallthrough of case statements
"no-floating-decimal": 0, // disallow the use of leading or trailing decimal points in numeric literals (off by default)
"no-implied-eval": 0, // disallow use of eval()-like methods
"no-iterator": 0, // disallow usage of __iterator__ property
"no-labels": 0, // disallow use of labeled statements
"no-lone-blocks": 0, // disallow unnecessary nested blocks
"no-loop-func": 0, // disallow creation of functions within loops
"no-multi-spaces": 0, // disallow use of multiple spaces
"no-multi-str": 0, // disallow use of multiline strings
"no-native-reassign": 0, // disallow reassignments of native objects
"no-new": 0, // disallow use of new operator when not part of the assignment or comparison
"no-new-func": 0, // disallow use of new operator for Function object
"no-new-wrappers": 0, // disallows creating new instances of String, Number, and Boolean
"no-octal": 0, // disallow use of octal literals
"no-octal-escape": 0, // disallow use of octal escape sequences in string literals, such as var foo = "Copyright \251";
"no-process-env": 0, // disallow use of process.env (off by default)
"no-proto": 0, // disallow usage of __proto__ property
"no-redeclare": 0, // disallow declaring the same variable more then once
"no-return-assign": 0, // disallow use of assignment in return statement
"no-script-url": 0, // disallow use of javascript: urls.
"no-self-compare": 0, // disallow comparisons where both sides are exactly the same (off by default)
"no-sequences": 0, // disallow use of comma operator
"no-unused-expressions": 0, // disallow usage of expressions in statement position
"no-void": 0, // disallow use of void operator (off by default)
"no-warning-comments": 0, // disallow usage of configurable warning terms in comments, e.g. TODO or FIXME (off by default)
"no-with": 0, // disallow use of the with statement
"radix": 0, // require use of the second argument for parseInt() (off by default)
"vars-on-top": 0, // requires to declare all vars on top of their containing scope (off by default)
"wrap-iife": 0, // require immediate function invocation to be wrapped in parentheses (off by default)
"yoda": 0, // require or disallow Yoda conditions
////////// Strict Mode //////////
"global-strict": 0, // (deprecated) require or disallow the "use strict" pragma in the global scope (off by default in the node environment)
"no-extra-strict": 0, // (deprecated) disallow unnecessary use of "use strict"; when already in strict mode
"strict": 0, // controls location of Use Strict Directives
////////// Variables //////////
"no-catch-shadow": 0, // disallow the catch clause parameter name being the same as a variable in the outer scope (off by default in the node environment)
"no-delete-var": 0, // disallow deletion of variables
"no-label-var": 0, // disallow labels that share a name with a variable
"no-shadow": 0, // disallow declaration of variables already declared in the outer scope
"no-shadow-restricted-names": 0, // disallow shadowing of names such as arguments
"no-undef": 1, // disallow use of undeclared variables unless mentioned in a /*global */ block
"no-undef-init": 0, // disallow use of undefined when initializing variables
"no-undefined": 0, // disallow use of undefined variable (off by default)
"no-unused-vars": 0, // disallow declaration of variables that are not used in the code
"no-use-before-define": 0, // disallow use of variables before they are defined
////////// Node.js //////////
"handle-callback-err": 0, // enforces error handling in callbacks (off by default) (on by default in the node environment)
"no-mixed-requires": 0, // disallow mixing regular variable and require declarations (off by default) (on by default in the node environment)
"no-new-require": 0, // disallow use of new operator with the require function (off by default) (on by default in the node environment)
"no-path-concat": 0, // disallow string concatenation with __dirname and __filename (off by default) (on by default in the node environment)
"no-process-exit": 0, // disallow process.exit() (on by default in the node environment)
"no-restricted-modules": 0, // restrict usage of specified node modules (off by default)
"no-sync": 0, // disallow use of synchronous methods (off by default)
////////// Stylistic Issues //////////
"brace-style": 0, // enforce one true brace style (off by default)
"camelcase": 0, // require camel case names
"comma-spacing": 0, // enforce spacing before and after comma
"comma-style": 0, // enforce one true comma style (off by default)
"consistent-this": 0, // enforces consistent naming when capturing the current execution context (off by default)
"eol-last": 0, // enforce newline at the end of file, with no multiple empty lines
"func-names": 0, // require function expressions to have a name (off by default)
"func-style": 0, // enforces use of function declarations or expressions (off by default)
"key-spacing": 0, // enforces spacing between keys and values in object literal properties
"max-nested-callbacks": 0, // specify the maximum depth callbacks can be nested (off by default)
"new-cap": 0, // require a capital letter for constructors
"new-parens": 0, // disallow the omission of parentheses when invoking a constructor with no arguments
"no-array-constructor": 0, // disallow use of the Array constructor
"no-inline-comments": 0, // disallow comments inline after code (off by default)
"no-lonely-if": 0, // disallow if as the only statement in an else block (off by default)
"no-mixed-spaces-and-tabs": 0, // disallow mixed spaces and tabs for indentation
"no-multiple-empty-lines": 0, // disallow multiple empty lines (off by default)
"no-nested-ternary": 0, // disallow nested ternary expressions (off by default)
"no-new-object": 0, // disallow use of the Object constructor
"no-space-before-semi": 0, // disallow space before semicolon
"no-spaced-func": 0, // disallow space between function identifier and application
"no-ternary": 0, // disallow the use of ternary operators (off by default)
"no-trailing-spaces": 0, // disallow trailing whitespace at the end of lines
"no-underscore-dangle": 0, // disallow dangling underscores in identifiers
"no-wrap-func": 0, // disallow wrapping of non-IIFE statements in parens
"one-var": 0, // allow just one var statement per function (off by default)
"operator-assignment": 0, // require assignment operator shorthand where possible or prohibit it entirely (off by default)
"padded-blocks": 0, // enforce padding within blocks (off by default)
"quote-props": 0, // require quotes around object literal property names (off by default)
"quotes": 0, // specify whether double or single quotes should be used
"semi": 0, // require or disallow use of semicolons instead of ASI
"sort-vars": 0, // sort variables within the same declaration block (off by default)
"space-after-function-name": 0, // require a space after function names (off by default)
"space-after-keywords": 0, // require a space after certain keywords (off by default)
"space-before-blocks": 0, // require or disallow space before blocks (off by default)
"space-in-brackets": 0, // require or disallow spaces inside brackets (off by default)
"space-in-parens": 0, // require or disallow spaces inside parentheses (off by default)
"space-infix-ops": 0, // require spaces around operators
"space-return-throw-case": 0, // require a space after return, throw, and case
"space-unary-ops": 0, // Require or disallow spaces before/after unary operators (words on by default, nonwords off by default)
"spaced-line-comment": 0, // require or disallow a space immediately following the // in a line comment (off by default)
"wrap-regex": 0, // require regex literals to be wrapped in parentheses (off by default)
////////// ECMAScript 6 //////////
"no-var": 0, // require let or const instead of var (off by default)
"generator-star": 0, // enforce the position of the * in generator functions (off by default)
////////// Legacy //////////
"max-depth": 0, // specify the maximum depth that blocks can be nested (off by default)
"max-len": 0, // specify the maximum length of a line in your program (off by default)
"max-params": 0, // limits the number of parameters that can be used in the function declaration. (off by default)
"max-statements": 0, // specify the maximum number of statement allowed in a function (off by default)
"no-bitwise": 0, // disallow use of bitwise operators (off by default)
"no-plusplus": 0, // disallow use of unary operators, ++ and -- (off by default)
// There were other errors that were being thrown
"import/newline-after-import": 0,
"object-curly-spacing": 0,
"space-before-function-paren": 0,
"no-restricted-syntax": 0,
"no-unneeded-ternary": 0,
"react/prefer-es6-class": 0,
"arrow-parens": 0,
"jsx-quotes": 0,
"react/sort-comp": 0,
"react/no-unescaped-entities": 0,
"object-shorthand": 0,
"jsx-a11y/label-has-for": 0,
"no-mixed-operators": 0,
"react/jsx-no-bind": 0,
"no-duplicate-case": 0,
"react/jsx-filename-extension": 0,
"jsx-a11y/img-has-alt": 0,
"react/self-closing-comp": 0,
"prefer-const": 0,
"one-var-declaration-per-line": 0,
"react/jsx-indent": 0,
"react/jsx-curly-spacing": 0,
"react/prefer-stateless-function": 0,
"react/jsx-indent-props": 0,
"react/no-find-dom-node": 0,
"react/no-unused-prop-types": 0,
"react/jsx-no-undef": 0,
"react/no-string-refs": 0,
"react/jsx-first-prop-new-line": 0,
"comma-dangle": 0,
"react/no-multi-comp": 0,
"spaced-comment": 0,
"jsx-a11y/anchor-has-content": 0,
"semi-spacing": 0,
"no-param-reassign": 0,
"react/jsx-no-target-blank": 0,
"prefer-arrow-callback": 0,
"react/jsx-space-before-closing": 0,
"react/forbid-prop-types": 0,
"indent": 0,
"import/no-unresolved": 0,
"react/jsx-boolean-value": 0,
"prefer-template": 0,
"react/jsx-wrap-multilines": 0,
"keyword-spacing": 0,
"react/jsx-closing-bracket-location": 0,
"react/react-in-jsx-scope": 0,
"no-useless-escape": 0,
"no-continue": 0,
"react/prop-types": 0
}
};

6
ui/README.md Normal file
View File

@@ -0,0 +1,6 @@
## Development Setup
- Install node and npm (linux users: [use this](https://github.com/nodesource/distributions). if that doesn't work, [this gist may be useful](https://gist.github.com/isaacs/579814))
- `npm install -g yarn` (or see https://yarnpkg.com/en/docs/install)
- Run `./watch.sh` (this will `yarn install` dependencies)

BIN
ui/dist/favicon.ico vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

BIN
ui/dist/font/FontAwesome.otf vendored Normal file

Binary file not shown.

BIN
ui/dist/font/fontawesome-webfont.eot vendored Normal file

Binary file not shown.

2671
ui/dist/font/fontawesome-webfont.svg vendored Normal file

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 434 KiB

BIN
ui/dist/font/fontawesome-webfont.ttf vendored Normal file

Binary file not shown.

BIN
ui/dist/font/fontawesome-webfont.woff vendored Normal file

Binary file not shown.

BIN
ui/dist/font/fontawesome-webfont.woff2 vendored Normal file

Binary file not shown.

9
ui/dist/img/Free-speech-flag.svg vendored Normal file
View File

@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" width="480" height="288">
<rect fill="#09f911" width="96" height="288"/>
<rect fill="#029d74" width="96" height="288" x="96"/>
<rect fill="#e35bd8" width="96" height="288" x="192"/>
<rect fill="#4156c5" width="96" height="288" x="288"/>
<rect fill="#635688" width="96" height="288" x="384"/>
<text font-size="32" fill="white" font-family="Bitstream Vera Sans" x="388.1" y="269.3">+<tspan font-size="48">C0</tspan></text>
</svg>

After

Width:  |  Height:  |  Size: 507 B

BIN
ui/dist/img/busy.gif vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

9
ui/dist/img/default-thumb.svg vendored Normal file
View File

@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" width="480" height="288">
<rect fill="#09f911" width="96" height="288"/>
<rect fill="#029d74" width="96" height="288" x="96"/>
<rect fill="#e35bd8" width="96" height="288" x="192"/>
<rect fill="#4156c5" width="96" height="288" x="288"/>
<rect fill="#635688" width="96" height="288" x="384"/>
<text font-size="32" fill="white" font-family="Bitstream Vera Sans" x="388.1" y="269.3">+<tspan font-size="48">C0</tspan></text>
</svg>

After

Width:  |  Height:  |  Size: 507 B

BIN
ui/dist/img/fav/32x32.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

BIN
ui/dist/img/fav/android-chrome-36x36.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

BIN
ui/dist/img/fav/android-chrome-48x48.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

BIN
ui/dist/img/fav/android-chrome-72x72.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.5 KiB

BIN
ui/dist/img/fav/android-chrome-96x96.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

BIN
ui/dist/img/fav/apple-touch-icon.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

12
ui/dist/img/fav/browserconfig.xml vendored Normal file
View File

@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<browserconfig>
<msapplication>
<tile>
<square70x70logo src="/mstile-70x70.png"/>
<square150x150logo src="/mstile-150x150.png"/>
<square310x310logo src="/mstile-310x310.png"/>
<wide310x150logo src="/mstile-310x150.png"/>
<TileColor>#da532c</TileColor>
</tile>
</msapplication>
</browserconfig>

BIN
ui/dist/img/fav/favicon-16x16.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
ui/dist/img/fav/favicon-194x194.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.6 KiB

BIN
ui/dist/img/fav/favicon-32x32.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
ui/dist/img/fav/favicon-96x96.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

41
ui/dist/img/fav/manifest.json vendored Normal file
View File

@@ -0,0 +1,41 @@
{
"name": "My app",
"icons": [
{
"src": "\/android-chrome-36x36.png",
"sizes": "36x36",
"type": "image\/png",
"density": "0.75"
},
{
"src": "\/android-chrome-48x48.png",
"sizes": "48x48",
"type": "image\/png",
"density": "1.0"
},
{
"src": "\/android-chrome-72x72.png",
"sizes": "72x72",
"type": "image\/png",
"density": "1.5"
},
{
"src": "\/android-chrome-96x96.png",
"sizes": "96x96",
"type": "image\/png",
"density": "2.0"
},
{
"src": "\/android-chrome-144x144.png",
"sizes": "144x144",
"type": "image\/png",
"density": "3.0"
},
{
"src": "\/android-chrome-192x192.png",
"sizes": "192x192",
"type": "image\/png",
"density": "4.0"
}
]
}

BIN
ui/dist/img/fav/mstile-144x144.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

BIN
ui/dist/img/fav/mstile-150x150.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

BIN
ui/dist/img/fav/mstile-310x150.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

BIN
ui/dist/img/fav/mstile-310x310.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.3 KiB

BIN
ui/dist/img/fav/mstile-70x70.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

BIN
ui/dist/img/lbry-bg.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 992 KiB

BIN
ui/dist/img/lbry-dark-1600x528.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 54 KiB

BIN
ui/dist/img/lbry-white-485x160.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.5 KiB

BIN
ui/dist/img/lbry-white-909x300.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

BIN
ui/dist/img/warning.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

22
ui/dist/index.html vendored Normal file
View File

@@ -0,0 +1,22 @@
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width">
<title>LBRY</title>
<link href="https://fonts.googleapis.com/css?family=Roboto:400,400i,500,500i,700" rel="stylesheet">
<link href="./css/all.css" rel="stylesheet" type="text/css" media="screen,print" />
<link rel="icon" type="image/png" href="./img/fav/favicon-32x32.png" sizes="32x32">
<link rel="icon" type="image/png" href="./img/fav/favicon-194x194.png" sizes="194x194">
<link rel="icon" type="image/png" href="./img/fav/favicon-96x96.png" sizes="96x96">
<link rel="icon" type="image/png" href="./img/fav/android-chrome-192x192.png" sizes="192x192">
<link rel="icon" type="image/png" href="./img/fav/favicon-16x16.png" sizes="16x16">
<meta name="msapplication-TileColor" content="#155B4A">
<meta name="msapplication-TileImage" content="/img/fav/mstile-144x144.png">
<meta name="theme-color" content="#155B4A">
</head>
<body>
<div id="canvas"></div>
<script src="./js/bundle.js"></script>
</body>
</html>

35
ui/dist/quit.html vendored Normal file
View File

@@ -0,0 +1,35 @@
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width">
<title>LBRY</title>
<link href='https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,400italic,600italic,600' rel='stylesheet' type='text/css'>
<link href="./css/all.css" rel="stylesheet" type="text/css" media="screen,print" />
<link rel="icon" type="image/png" href="./img/fav/favicon-32x32.png" sizes="32x32">
<link rel="icon" type="image/png" href="./img/fav/favicon-194x194.png" sizes="194x194">
<link rel="icon" type="image/png" href="./img/fav/favicon-96x96.png" sizes="96x96">
<link rel="icon" type="image/png" href="./img/fav/android-chrome-192x192.png" sizes="192x192">
<link rel="icon" type="image/png" href="./img/fav/favicon-16x16.png" sizes="16x16">
<meta name="msapplication-TileColor" content="#155B4A">
<meta name="msapplication-TileImage" content="/img/fav/mstile-144x144.png">
<meta name="theme-color" content="#155B4A">
<style>
body {
background-color: "#155b4a"
}
</style>
</head>
<div id="canvas">
<div class="load-screen" style="color: white; min-height: 100vh; min-width: 100vw; display: flex; flex-direction: column; align-items: center; justify-content: center;">
<img src="./img/lbry-white-485x160.png" alt="LBRY">
<div style="margin-top: 24px; width: 325px; text-align: center;">
<h3>
<span>Shutting Down <span class="busy-indicator"></span>
</span>
</h3>
</div>
</div>
</div>
</html>

1
ui/dist/requirements.txt vendored Normal file
View File

@@ -0,0 +1 @@
lbrynet>=0.8.4

65
ui/dist/themes/dark.css vendored Normal file
View File

@@ -0,0 +1,65 @@
:root {
/* Colors */
--color-primary: #009688;
--color-canvas: #0f1517;
--color-bg: #1a2327;
--color-bg-alt: #314048;
--color-help: rgba(255,255,255, 0.5);
--color-error: #a94442;
--color-load-screen-text: #FFF;
--color-money: #1DE9B6;
--color-meta-light: #757575;
--color-dark-overlay: rgba(15, 21, 23, 0.85);
--color-download: rgba(255, 255, 255, 0.75);
/* Text */
--text-color: #FFF;
--text-selection-bg: rgba(0,150,136, 0.95);
/* Form */
--form-label-color: rgba(255, 255, 255, 0.70);
/* Input */
--input-bg: transparent;
--input-border-color: rgba(255,255,255, 0.70);
--input-hover-border-color: rgba(255, 255, 255, 1);
/* input:placeholder */
--input-placeholder-color: rgba(255,255,255, 0.5);
/* input:disabled */
--input-disabled-color: rgba(255, 255, 255, 0.50);
--input-disabled-border-color: rgba(255, 255, 255, 0.70);
/* Search */
--search-bg: rgba(0,0,0, 0.45);
--search-color: #757575;
--search-active-bg: rgba(0,0,0, 0.75);
--search-border: 1px solid rgba(0,0,0, 0.25);
/* Tab */
--tab-color: rgba(255,255,255, 0.5) ;
--tab-active-color: rgba(255,255,255, 0.75);
/* Header */
--header-color: #CCC;
--header-active-color: #FFF;
--header-button-hover-bg: var(--color-bg-alt);
/* Table */
--table-border: 0;
--table-item-even: var(--color-bg-alt);
--table-item-odd: transparent;
/* Modal */
--modal-overlay-bg: var(--color-dark-overlay);
--modal-border: 1px solid rgba(0, 0, 0, 0.25);
/* Scrollbar */
--scrollbar-thumb-bg: rgba(255, 255, 255, 0.20);
--scrollbar-thumb-hover-bg: rgba(255, 255, 255, 0.35);
/* Divider */
--divider: 1px solid rgba(255, 225, 225, 0.12);
}

8
ui/dist/themes/light.css vendored Normal file
View File

@@ -0,0 +1,8 @@
:root {
/* Colors */
--color-primary: #155B4A;
/* search */
--search-bg: var(--color-canvas);
--search-border: 1px solid rgba(0,0,0,0.15);
}

35
ui/dist/upgrade.html vendored Normal file
View File

@@ -0,0 +1,35 @@
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width">
<title>LBRY</title>
<link href='https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,400italic,600italic,600' rel='stylesheet' type='text/css'>
<link href="./css/all.css" rel="stylesheet" type="text/css" media="screen,print" />
<link rel="icon" type="image/png" href="./img/fav/favicon-32x32.png" sizes="32x32">
<link rel="icon" type="image/png" href="./img/fav/favicon-194x194.png" sizes="194x194">
<link rel="icon" type="image/png" href="./img/fav/favicon-96x96.png" sizes="96x96">
<link rel="icon" type="image/png" href="./img/fav/android-chrome-192x192.png" sizes="192x192">
<link rel="icon" type="image/png" href="./img/fav/favicon-16x16.png" sizes="16x16">
<meta name="msapplication-TileColor" content="#155B4A">
<meta name="msapplication-TileImage" content="/img/fav/mstile-144x144.png">
<meta name="theme-color" content="#155B4A">
<style>
body {
background-color: "#155b4a"
}
</style>
</head>
<div id="canvas">
<div class="load-screen" style="color: white; min-height: 100vh; min-width: 100vw; display: flex; flex-direction: column; align-items: center; justify-content: center;">
<img src="./img/lbry-white-485x160.png" alt="LBRY">
<div style="margin-top: 24px; width: 325px; text-align: center;">
<h3>
<span>Starting LBRY Upgrade <span class="busy-indicator"></span>
</span>
</h3>
</div>
</div>
</div>
</html>

35
ui/dist/warning.html vendored Normal file
View File

@@ -0,0 +1,35 @@
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width">
<title>LBRY</title>
<link href='https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,400italic,600italic,600' rel='stylesheet' type='text/css'>
<link href="./css/all.css" rel="stylesheet" type="text/css" media="screen,print" />
<link rel="icon" type="image/png" href="./img/fav/favicon-32x32.png" sizes="32x32">
<link rel="icon" type="image/png" href="./img/fav/favicon-194x194.png" sizes="194x194">
<link rel="icon" type="image/png" href="./img/fav/favicon-96x96.png" sizes="96x96">
<link rel="icon" type="image/png" href="./img/fav/android-chrome-192x192.png" sizes="192x192">
<link rel="icon" type="image/png" href="./img/fav/favicon-16x16.png" sizes="16x16">
<meta name="msapplication-TileColor" content="#155B4A">
<meta name="msapplication-TileImage" content="/img/fav/mstile-144x144.png">
<meta name="theme-color" content="#155B4A">
<style>
body {
background-color: "#155b4a"
}
</style>
</head>
<div id="canvas">
<div class="load-screen" style="color: white; min-height: 100vh; min-width: 100vw; display: flex; flex-direction: column; align-items: center; justify-content: center;">
<img src="./img/lbry-white-485x160.png" alt="LBRY">
<div style="margin-top: 24px; width: 325px; text-align: center;">
<h3>
<span>The daemon has unexpectedly shutdown. Goodbye.
</span>
</h3>
</div>
</div>
</div>
</html>

48
ui/extractLocals.js Normal file
View File

@@ -0,0 +1,48 @@
var extract = require("i18n-extract");
const fs = require("fs");
var dir = __dirname + "/../app/dist/locales";
var path = dir + "/en.json";
if (!fs.existsSync(dir)) {
fs.mkdirSync(dir);
}
fs.writeFile(path, "{}", "utf8", function(err) {
if (err) {
return console.log(err);
}
var enLocale = require(path);
const keys = extract.extractFromFiles(["js/**/*.{js,jsx}"], {
marker: "__",
});
let reports = [];
reports = reports.concat(extract.findMissing(enLocale, keys));
if (reports.length > 0) {
fs.readFile(path, "utf8", function readFileCallback(err, data) {
if (err) {
console.log(err);
} else {
localeObj = JSON.parse(data);
for (var i = 0; i < reports.length; i++) {
// no need to care for other types than MISSING because starting file will always be empty
if (reports[i].type === "MISSING") {
localeObj[reports[i].key] = reports[i].key;
}
}
var json = JSON.stringify(localeObj, null, "\t"); //convert it back to json-string
fs.writeFile(path, json, "utf8", function callback(err) {
if (err) {
throw err;
}
console.log("Extracted all strings!");
});
}
});
}
});

223
ui/js/actions/app.js Normal file
View File

@@ -0,0 +1,223 @@
import * as types from "constants/action_types";
import lbry from "lbry";
import {
selectUpdateUrl,
selectUpgradeDownloadPath,
selectUpgradeDownloadItem,
selectUpgradeFilename,
} from "selectors/app";
import { doFetchDaemonSettings } from "actions/settings";
import { doBalanceSubscribe } from "actions/wallet";
import { doAuthenticate } from "actions/user";
import { doFetchFileInfosAndPublishedClaims } from "actions/file_info";
import * as modals from "constants/modal_types";
const { remote, ipcRenderer, shell } = require("electron");
const path = require("path");
const { download } = remote.require("electron-dl");
const fs = remote.require("fs");
const { lbrySettings: config } = require("../../../app/package.json");
export function doOpenModal(modal, modalProps = {}) {
return {
type: types.OPEN_MODAL,
data: {
modal,
modalProps,
},
};
}
export function doCloseModal() {
return {
type: types.CLOSE_MODAL,
};
}
export function doUpdateDownloadProgress(percent) {
return {
type: types.UPGRADE_DOWNLOAD_PROGRESSED,
data: {
percent: percent,
},
};
}
export function doSkipUpgrade() {
return {
type: types.SKIP_UPGRADE,
};
}
export function doStartUpgrade() {
return function(dispatch, getState) {
const state = getState();
const upgradeDownloadPath = selectUpgradeDownloadPath(state);
ipcRenderer.send("upgrade", upgradeDownloadPath);
};
}
export function doDownloadUpgrade() {
return function(dispatch, getState) {
const state = getState();
// Make a new directory within temp directory so the filename is guaranteed to be available
const dir = fs.mkdtempSync(
remote.app.getPath("temp") + require("path").sep
),
upgradeFilename = selectUpgradeFilename(state);
let options = {
onProgress: p => dispatch(doUpdateDownloadProgress(Math.round(p * 100))),
directory: dir,
};
download(
remote.getCurrentWindow(),
selectUpdateUrl(state),
options
).then(downloadItem => {
/**
* TODO: get the download path directly from the download object. It should just be
* downloadItem.getSavePath(), but the copy on the main process is being garbage collected
* too soon.
*/
dispatch({
type: types.UPGRADE_DOWNLOAD_COMPLETED,
data: {
downloadItem,
path: path.join(dir, upgradeFilename),
},
});
});
dispatch({
type: types.UPGRADE_DOWNLOAD_STARTED,
});
dispatch({
type: types.OPEN_MODAL,
data: {
modal: modals.DOWNLOADING,
},
});
};
}
export function doCancelUpgrade() {
return function(dispatch, getState) {
const state = getState();
const upgradeDownloadItem = selectUpgradeDownloadItem(state);
if (upgradeDownloadItem) {
/*
* Right now the remote reference to the download item gets garbage collected as soon as the
* the download is over (maybe even earlier), so trying to cancel a finished download may
* throw an error.
*/
try {
upgradeDownloadItem.cancel();
} catch (err) {
console.error(err);
// Do nothing
}
}
dispatch({ type: types.UPGRADE_CANCELLED });
};
}
export function doCheckUpgradeAvailable() {
return function(dispatch, getState) {
const state = getState();
lbry.getAppVersionInfo().then(({ remoteVersion, upgradeAvailable }) => {
if (upgradeAvailable) {
dispatch({
type: types.UPDATE_VERSION,
data: {
version: remoteVersion,
},
});
dispatch({
type: types.OPEN_MODAL,
data: {
modal: modals.UPGRADE,
},
});
}
});
};
}
export function doCheckDaemonVersion() {
return function(dispatch, getState) {
lbry.version().then(({ lbrynet_version }) => {
dispatch({
type: config.lbrynetDaemonVersion == lbrynet_version
? types.DAEMON_VERSION_MATCH
: types.DAEMON_VERSION_MISMATCH,
});
});
};
}
export function doAlertError(errorList) {
return function(dispatch, getState) {
const state = getState();
dispatch({
type: types.OPEN_MODAL,
data: {
modal: modals.ERROR,
modalProps: { error: errorList },
},
});
};
}
export function doDaemonReady() {
return function(dispatch, getState) {
dispatch(doAuthenticate());
dispatch({ type: types.DAEMON_READY });
dispatch(doFetchDaemonSettings());
dispatch(doBalanceSubscribe());
dispatch(doFetchFileInfosAndPublishedClaims());
};
}
export function doShowSnackBar(data) {
return {
type: types.SHOW_SNACKBAR,
data,
};
}
export function doRemoveSnackBarSnack() {
return {
type: types.REMOVE_SNACKBAR_SNACK,
};
}
export function doClearCache() {
return function(dispatch, getState) {
window.cacheStore.purge();
return Promise.resolve();
};
}
export function doQuit() {
return function(dispatch, getState) {
remote.app.quit();
};
}
export function doChangeVolume(volume) {
return function(dispatch, getState) {
dispatch({
type: types.VOLUME_CHANGED,
data: {
volume,
},
});
};
}

View File

@@ -0,0 +1,32 @@
import * as types from "constants/action_types";
import lbry from "lbry";
import { selectFetchingAvailability } from "selectors/availability";
export function doFetchAvailability(uri) {
return function(dispatch, getState) {
/*
this is disabled atm - Jeremy
*/
return;
const state = getState();
const alreadyFetching = !!selectFetchingAvailability(state)[uri];
if (!alreadyFetching) {
dispatch({
type: types.FETCH_AVAILABILITY_STARTED,
data: { uri },
});
lbry.get_availability({ uri }).then(availability => {
dispatch({
type: types.FETCH_AVAILABILITY_COMPLETED,
data: {
availability,
uri,
},
});
});
}
};
}

540
ui/js/actions/content.js Normal file
View File

@@ -0,0 +1,540 @@
import * as types from "constants/action_types";
import * as settings from "constants/settings";
import lbry from "lbry";
import lbryio from "lbryio";
import lbryuri from "lbryuri";
import { makeSelectClientSetting } from "selectors/settings";
import { selectBalance, selectTransactionItems } from "selectors/wallet";
import {
makeSelectFileInfoForUri,
selectDownloadingByOutpoint,
} from "selectors/file_info";
import { selectResolvingUris } from "selectors/content";
import { makeSelectCostInfoForUri } from "selectors/cost_info";
import { doAlertError, doOpenModal } from "actions/app";
import { doClaimEligiblePurchaseRewards } from "actions/rewards";
import { selectBadgeNumber } from "selectors/app";
import { selectTotalDownloadProgress } from "selectors/file_info";
import setBadge from "util/setBadge";
import setProgressBar from "util/setProgressBar";
import batchActions from "util/batchActions";
import * as modals from "constants/modal_types";
const { ipcRenderer } = require("electron");
const DOWNLOAD_POLL_INTERVAL = 250;
export function doResolveUris(uris) {
return function(dispatch, getState) {
uris = uris.map(lbryuri.normalize);
const state = getState();
// Filter out URIs that are already resolving
const resolvingUris = selectResolvingUris(state);
const urisToResolve = uris.filter(uri => !resolvingUris.includes(uri));
if (urisToResolve.length === 0) {
return;
}
dispatch({
type: types.RESOLVE_URIS_STARTED,
data: { uris },
});
let resolveInfo = {};
lbry.resolve({ uris: urisToResolve }).then(result => {
for (let [uri, uriResolveInfo] of Object.entries(result)) {
const fallbackResolveInfo = {
claim: null,
claims_in_channel: null,
certificate: null,
};
const { claim, certificate, claims_in_channel } = uriResolveInfo &&
!uriResolveInfo.error
? uriResolveInfo
: fallbackResolveInfo;
resolveInfo[uri] = { claim, certificate, claims_in_channel };
}
dispatch({
type: types.RESOLVE_URIS_COMPLETED,
data: { resolveInfo },
});
});
};
}
export function doResolveUri(uri) {
return doResolveUris([uri]);
}
export function doFetchFeaturedUris() {
return function(dispatch, getState) {
const state = getState();
dispatch({
type: types.FETCH_FEATURED_CONTENT_STARTED,
});
const success = ({ Uris }) => {
let urisToResolve = [];
for (let category in Uris) {
urisToResolve = [...urisToResolve, ...Uris[category]];
}
const actions = [
doResolveUris(urisToResolve),
{
type: types.FETCH_FEATURED_CONTENT_COMPLETED,
data: {
uris: Uris,
success: true,
},
},
];
dispatch(batchActions(...actions));
};
const failure = () => {
dispatch({
type: types.FETCH_FEATURED_CONTENT_COMPLETED,
data: {
uris: {},
},
});
};
lbryio.call("file", "list_homepage").then(success, failure);
};
}
export function doFetchRewardedContent() {
return function(dispatch, getState) {
const state = getState();
const success = nameToClaimId => {
dispatch({
type: types.FETCH_REWARD_CONTENT_COMPLETED,
data: {
claimIds: Object.values(nameToClaimId),
success: true,
},
});
};
const failure = () => {
dispatch({
type: types.FETCH_REWARD_CONTENT_COMPLETED,
data: {
claimIds: [],
success: false,
},
});
};
lbryio.call("reward", "list_featured").then(success, failure);
};
}
export function doUpdateLoadStatus(uri, outpoint) {
return function(dispatch, getState) {
const state = getState();
lbry
.file_list({
outpoint: outpoint,
full_status: true,
})
.then(([fileInfo]) => {
if (!fileInfo || fileInfo.written_bytes == 0) {
// download hasn't started yet
setTimeout(() => {
dispatch(doUpdateLoadStatus(uri, outpoint));
}, DOWNLOAD_POLL_INTERVAL);
} else if (fileInfo.completed) {
// TODO this isn't going to get called if they reload the client before
// the download finished
dispatch({
type: types.DOWNLOADING_COMPLETED,
data: {
uri,
outpoint,
fileInfo,
},
});
const badgeNumber = selectBadgeNumber(getState());
setBadge(badgeNumber === 0 ? "" : `${badgeNumber}`);
const totalProgress = selectTotalDownloadProgress(getState());
setProgressBar(totalProgress);
const notif = new window.Notification("LBRY Download Complete", {
body: fileInfo.metadata.stream.metadata.title,
silent: false,
});
notif.onclick = () => {
ipcRenderer.send("focusWindow", "main");
};
} else {
// ready to play
const { total_bytes, written_bytes } = fileInfo;
const progress = written_bytes / total_bytes * 100;
dispatch({
type: types.DOWNLOADING_PROGRESSED,
data: {
uri,
outpoint,
fileInfo,
progress,
},
});
const totalProgress = selectTotalDownloadProgress(getState());
setProgressBar(totalProgress);
setTimeout(() => {
dispatch(doUpdateLoadStatus(uri, outpoint));
}, DOWNLOAD_POLL_INTERVAL);
}
});
};
}
export function doStartDownload(uri, outpoint) {
return function(dispatch, getState) {
const state = getState();
if (!outpoint) {
throw new Error("outpoint is required to begin a download");
}
const { downloadingByOutpoint = {} } = state.fileInfo;
if (downloadingByOutpoint[outpoint]) return;
lbry.file_list({ outpoint, full_status: true }).then(([fileInfo]) => {
dispatch({
type: types.DOWNLOADING_STARTED,
data: {
uri,
outpoint,
fileInfo,
},
});
dispatch(doUpdateLoadStatus(uri, outpoint));
});
};
}
export function doDownloadFile(uri, streamInfo) {
return function(dispatch, getState) {
const state = getState();
dispatch(doStartDownload(uri, streamInfo.outpoint));
lbryio
.call("file", "view", {
uri: uri,
outpoint: streamInfo.outpoint,
claim_id: streamInfo.claim_id,
})
.catch(() => {});
dispatch(doClaimEligiblePurchaseRewards());
};
}
export function doLoadVideo(uri) {
return function(dispatch, getState) {
const state = getState();
dispatch({
type: types.LOADING_VIDEO_STARTED,
data: {
uri,
},
});
lbry
.get({ uri })
.then(streamInfo => {
const timeout =
streamInfo === null ||
typeof streamInfo !== "object" ||
streamInfo.error == "Timeout";
if (timeout) {
dispatch(doSetPlayingUri(null));
dispatch({
type: types.LOADING_VIDEO_FAILED,
data: { uri },
});
dispatch(doOpenModal(modals.FILE_TIMEOUT, { uri }));
} else {
dispatch(doDownloadFile(uri, streamInfo));
}
})
.catch(error => {
dispatch(doSetPlayingUri(null));
dispatch({
type: types.LOADING_VIDEO_FAILED,
data: { uri },
});
dispatch(doAlertError(error));
});
};
}
export function doPurchaseUri(uri) {
return function(dispatch, getState) {
const state = getState();
const balance = selectBalance(state);
const fileInfo = makeSelectFileInfoForUri(uri)(state);
const downloadingByOutpoint = selectDownloadingByOutpoint(state);
const alreadyDownloading =
fileInfo && !!downloadingByOutpoint[fileInfo.outpoint];
function attemptPlay(cost, instantPurchaseMax = null) {
if (cost > 0 && (!instantPurchaseMax || cost > instantPurchaseMax)) {
dispatch(doOpenModal(modals.AFFIRM_PURCHASE, { uri }));
} else {
dispatch(doLoadVideo(uri));
}
}
// we already fully downloaded the file.
if (fileInfo && fileInfo.completed) {
// If written_bytes is false that means the user has deleted/moved the
// file manually on their file system, so we need to dispatch a
// doLoadVideo action to reconstruct the file from the blobs
if (!fileInfo.written_bytes) dispatch(doLoadVideo(uri));
return Promise.resolve();
}
// we are already downloading the file
if (alreadyDownloading) {
return Promise.resolve();
}
const costInfo = makeSelectCostInfoForUri(uri)(state);
const { cost } = costInfo;
if (cost > balance) {
dispatch(doSetPlayingUri(null));
dispatch(doOpenModal(modals.INSUFFICIENT_CREDITS));
return Promise.resolve();
}
if (
cost == 0 ||
!makeSelectClientSetting(settings.INSTANT_PURCHASE_ENABLED)(state)
) {
attemptPlay(cost);
} else {
const instantPurchaseMax = makeSelectClientSetting(
settings.INSTANT_PURCHASE_MAX
)(state);
if (instantPurchaseMax.currency == "LBC") {
attemptPlay(cost, instantPurchaseMax.amount);
} else {
// Need to convert currency of instant purchase maximum before trying to play
lbryio.getExchangeRates().then(({ lbc_usd }) => {
attemptPlay(cost, instantPurchaseMax.amount / lbc_usd);
});
}
}
};
}
export function doFetchClaimsByChannel(uri, page) {
return function(dispatch, getState) {
dispatch({
type: types.FETCH_CHANNEL_CLAIMS_STARTED,
data: { uri, page },
});
lbry.claim_list_by_channel({ uri, page: page || 1 }).then(result => {
const claimResult = result[uri] || {};
const { claims_in_channel, returned_page } = claimResult;
dispatch({
type: types.FETCH_CHANNEL_CLAIMS_COMPLETED,
data: {
uri,
claims: claims_in_channel || [],
page: returned_page || undefined,
},
});
});
};
}
export function doFetchClaimCountByChannel(uri) {
return function(dispatch, getState) {
dispatch({
type: types.FETCH_CHANNEL_CLAIM_COUNT_STARTED,
data: { uri },
});
lbry.claim_list_by_channel({ uri }).then(result => {
const claimResult = result[uri],
totalClaims = claimResult ? claimResult.claims_in_channel : 0;
dispatch({
type: types.FETCH_CHANNEL_CLAIM_COUNT_COMPLETED,
data: {
uri,
totalClaims,
},
});
});
};
}
export function doFetchClaimListMine() {
return function(dispatch, getState) {
dispatch({
type: types.FETCH_CLAIM_LIST_MINE_STARTED,
});
lbry.claim_list_mine().then(claims => {
dispatch({
type: types.FETCH_CLAIM_LIST_MINE_COMPLETED,
data: {
claims,
},
});
});
};
}
export function doPlayUri(uri) {
return function(dispatch, getState) {
dispatch(doSetPlayingUri(uri));
dispatch(doPurchaseUri(uri));
};
}
export function doSetPlayingUri(uri) {
return function(dispatch, getState) {
dispatch({
type: types.SET_PLAYING_URI,
data: { uri },
});
};
}
export function doFetchChannelListMine() {
return function(dispatch, getState) {
dispatch({
type: types.FETCH_CHANNEL_LIST_MINE_STARTED,
});
const callback = channels => {
dispatch({
type: types.FETCH_CHANNEL_LIST_MINE_COMPLETED,
data: { claims: channels },
});
};
lbry.channel_list_mine().then(callback);
};
}
export function doCreateChannel(name, amount) {
return function(dispatch, getState) {
dispatch({
type: types.CREATE_CHANNEL_STARTED,
});
return new Promise((resolve, reject) => {
lbry
.channel_new({
channel_name: name,
amount: parseFloat(amount),
})
.then(
channelClaim => {
channelClaim.name = name;
dispatch({
type: types.CREATE_CHANNEL_COMPLETED,
data: { channelClaim },
});
resolve(channelClaim);
},
err => {
reject(err);
}
);
});
};
}
export function doPublish(params) {
return function(dispatch, getState) {
return new Promise((resolve, reject) => {
const success = claim => {
resolve(claim);
if (claim === true) dispatch(doFetchClaimListMine());
else
setTimeout(() => dispatch(doFetchClaimListMine()), 20000, {
once: true,
});
};
const failure = err => reject(err);
lbry.publishDeprecated(params, null, success, failure);
});
};
}
export function doAbandonClaim(txid, nout) {
return function(dispatch, getState) {
const state = getState();
const transactionItems = selectTransactionItems(state);
const { claim_id: claimId, claim_name: name } = transactionItems.find(
claim => claim.txid == txid && claim.nout == nout
);
dispatch({
type: types.ABANDON_CLAIM_STARTED,
data: {
claimId: claimId,
},
});
const errorCallback = error => {
dispatch(doOpenModal(modals.TRANSACTION_FAILED));
};
const successCallback = results => {
if (results.txid) {
dispatch({
type: types.ABANDON_CLAIM_SUCCEEDED,
data: {
claimId: claimId,
},
});
dispatch(doResolveUri(lbryuri.build({ name, claimId })));
dispatch(doFetchClaimListMine());
} else {
dispatch(doOpenModal(modals.TRANSACTION_FAILED));
}
};
lbry
.claim_abandon({
txid: txid,
nout: nout,
})
.then(successCallback, errorCallback);
};
}

View File

@@ -0,0 +1,85 @@
import * as types from "constants/action_types";
import lbry from "lbry";
import lbryio from "lbryio";
import { doResolveUri } from "actions/content";
import { selectResolvingUris } from "selectors/content";
import { selectClaimsByUri } from "selectors/claims";
import { selectSettingsIsGenerous } from "selectors/settings";
export function doFetchCostInfoForUri(uri) {
return function(dispatch, getState) {
const state = getState(),
claim = selectClaimsByUri(state)[uri],
isGenerous = selectSettingsIsGenerous(state);
if (!claim) return null;
function begin() {
dispatch({
type: types.FETCH_COST_INFO_STARTED,
data: {
uri,
},
});
}
function resolve(costInfo) {
dispatch({
type: types.FETCH_COST_INFO_COMPLETED,
data: {
uri,
costInfo,
},
});
}
/**
* "Generous" check below is disabled. We're no longer attempting to include or estimate data fees regardless of settings.
*
* This should be modified when lbry.stream_cost_estimate is reliable and performant.
*/
/*
lbry.stream_cost_estimate({ uri }).then(cost => {
cacheAndResolve(cost);
}, reject);
*/
const fee = claim.value && claim.value.stream && claim.value.stream.metadata
? claim.value.stream.metadata.fee
: undefined;
if (fee === undefined) {
resolve({ cost: 0, includesData: true });
} else if (fee.currency == "LBC") {
resolve({ cost: fee.amount, includesData: true });
} else {
// begin();
lbryio.getExchangeRates().then(({ lbc_usd }) => {
resolve({ cost: fee.amount / lbc_usd, includesData: true });
});
}
// if (isGenerous && claim) {
// let cost;
// const fee = claim.value &&
// claim.value.stream &&
// claim.value.stream.metadata
// ? claim.value.stream.metadata.fee
// : undefined;
// if (fee === undefined) {
// resolve({ cost: 0, includesData: true });
// } else if (fee.currency == "LBC") {
// resolve({ cost: fee.amount, includesData: true });
// } else {
// // begin();
// lbryio.getExchangeRates().then(({ lbc_usd }) => {
// resolve({ cost: fee.amount / lbc_usd, includesData: true });
// });
// }
// } else {
// begin();
// lbry.getCostInfo(uri).then(resolve);
// }
};
}

Some files were not shown because too many files have changed in this diff Show More