Commit graph

406 commits

Author SHA1 Message Date
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
Jeremy Kauffman
a08a214d34 fix text areas and bug reporting 2017-05-21 18:34:12 -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
0936d28e5d minor bug fixes 2017-05-21 12:15:41 -04:00
Jeremy Kauffman
951190bf96 channel and file selector fixes 2017-05-21 10:42:34 -04:00
Jeremy Kauffman
bb16156034 re-enable rewards 2017-05-19 12:17:19 -04:00
Jeremy Kauffman
209db5e3d0 Merge branch 'redux' into es6-classes 2017-05-19 09:17:41 -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
c823ccd056 fix infinite resolve, add valid uri check 2017-05-12 16:49:15 -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
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
Jeremy Kauffman
3c325b2f0a where's the triggers?! also very broken 2017-05-10 20:59:47 -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
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
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
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
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
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
3a050b3b71 Search working 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
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
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
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
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
Alex Liebowitz
0ffb0fd4d7 Replace all uses of bind() with arrow functions 2017-04-29 22:05:47 -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 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
e005289967 more lighthouses 2017-04-24 15:53:39 -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
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
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
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
Alex Grintsvayg
4e1102cf58 new lighthouse server 2017-04-17 12:37:25 -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