Commit graph

229 commits

Author SHA1 Message Date
zeppi
9e86cab4eb fix livestream redirect to dashboard 2021-03-26 18:43:09 -04:00
zeppi
33c325031d check simplesite for notifications 2021-03-25 15:54:30 -04:00
Sean Yesmunt
64e8c8e095 use comment component for livestream comments 2021-03-25 15:08:05 -04:00
zeppi
81b9b0d801 copy for buttons and modals for livestream
redirect on success to dashboard
2021-03-24 13:36:50 -04:00
Sean Yesmunt
dcd0528fda disconnect from comment websocket when leaving livestream page 2021-03-22 15:30:14 -07:00
Sean Yesmunt
3644eed49b fix first livestream comment not being displayed 2021-03-22 15:30:13 -07:00
Sean Yesmunt
73f593ddb3 bring in livestream changes from odysee 2021-03-22 15:30:01 -07:00
infinite-persistence
1e4c79cf06 Don't clear all notifications when only 1 is clicked.
## Issue:
Closes 5515: All videos marked as read when clicking a single notification from notification list

## Change:
- Augment `doReadNotifications` to only clear the given IDs. If the argument is `null` or is not a valid array (e.g. when used as a click handlers, the click event object is passed in), all notifications will be cleared.

- Augment `NOTIFICATION_READ_COMPLETED` to only clear the given IDs.

## Notes:
- Wasn't sure of the API will fail if the ID is invalid, so I start from `unreadNotifications` first, then only filtering it further with the given ID. Otherwise, we could just skip the `unreadNotifications` filtering.
2021-03-08 11:41:04 -05:00
infinite-persistence
2e49421960 Lint - separated commit to make the next diff clearer 2021-03-08 11:41:04 -05:00
Sean Yesmunt
84bab875bc improve mobile style and initial blocked screen loading 2021-03-05 16:51:38 -05:00
Sean Yesmunt
ea74a66dbd
New moderation tools: block & mute (#5572)
* initial support for block/mute

* hide blocked + muted content everywhere

* add info message for blocked/muted characteristics

* sort blocked list by most recent block first

* add 'blocked' message on channel page for channels that you have blocked

* cleanup

* delete unused files

* always pass mute/block list to claim_search on homepage

* PR cleanup
2021-03-03 13:50:16 -05:00
infinite-persistence
94fe68eb45 Fix URI comparison in 'doDeleteFileAndMaybeGoBack'
## Issue
4959: Deleting MD from downloads list causes spinning icon to run forever

5077: player doesn't close when video deleted
2021-02-25 15:38:04 -05:00
infinite-persistence
891207df3d Lint
Separating out the lint fixes just to make the next commmit clearer.
2021-02-25 15:38:04 -05:00
zeppi
05740cad75 send perm url for referrals 2021-02-25 14:44:40 -05:00
Sean Yesmunt
1f117e43bd add initial support for comment API outside of SDK 2021-02-11 10:45:34 -05:00
Sean Yesmunt
db87125dc8 refactor 'active' channel usage across the app 2021-02-11 10:45:34 -05:00
zeppi
6a16d8e0cd fix bad lighthouse results 2021-01-28 15:35:15 -05:00
zeppi
2adfa8b6b6 sync again 2021-01-25 10:39:40 -05:00
jessopb
2f1fae23cf
vanity referrals (#5353) 2021-01-22 10:47:21 -05:00
zeppi
6ed103b33f shorter timeout 2021-01-19 13:41:10 -05:00
zeppi
a2d93bc7cc fix embed loading hang 2021-01-19 13:41:10 -05:00
zeppi
ccd13f2233 put auth in progress back with timeout 2021-01-15 10:40:34 -05:00
zeppi
ae032cb557 disable authinprogress for now 2021-01-11 18:39:54 -05:00
Sean Yesmunt
148fa4f4cd call user/signout on signout
fixes sync issues for users with multiple accounts signed in to multiple tabs
2021-01-11 14:31:01 -05:00
zeppi
6fb345dbbc zh languages
bugfix

bugfix3

publish

add zh back for homepage selector

test

revert i18n file

DRY publish language
2021-01-11 10:30:26 -05:00
Sean Yesmunt
d43c4d053e add video theater mode button 2021-01-08 08:27:41 -07:00
Thomas Zarebczan
09decf796a
String! 2021-01-06 01:28:16 -05:00
zeppi
65d524dfdf buffer id 2021-01-05 16:29:04 -05:00
Sean Yesmunt
187cbd9695 fix doSetPlayingUri arguments 2020-12-21 10:31:34 -05:00
Sean Yesmunt
cc568fb8cf working 2020-12-16 10:52:22 -05:00
Sean Yesmunt
fac2050485 pass readyState to buffer analytics api 2020-12-03 15:00:21 -05:00
Sean Yesmunt
30d8a0406d wunderbar improvements 2020-12-03 12:39:12 -05:00
jessopb
dc679add87
Merge pull request #5076 from lbryio/sync-embed-auth
Prevent multiple embeds from creating new users
2020-12-02 14:46:51 -05:00
zeppi
960a0277aa Prevent multiple embeds from creating new users
try with cookies

tweak

tweak 2

tweak3

tweak4

tweak5

try localstorage

tweakerino

final

try testing for sessionStorage

store sessAvail globally
2020-12-02 13:50:10 -05:00
zeppi
d7856b7618 settings use null when matching current browser language
default language functions

bugfix1

bugfix2

bugfix4
2020-11-23 14:12:31 -05:00
Sean Yesmunt
3b6882412a enable 'discover' page for everyone 2020-11-16 14:11:52 -05:00
jessop
f334c07c29 pass language to authenticate
update api language when setLanguage

yarn
2020-11-16 10:31:06 -05:00
Sean Yesmunt
49a7dfd76d don't delete saved-password on preference_get fail 2020-11-13 14:48:04 -05:00
Sean Yesmunt
abacafb0c5 better handle bad wallet password errors 2020-11-13 14:48:04 -05:00
Sean Yesmunt
f1adfddded bump lbry-redux and handle other fatal sync errors 2020-11-13 14:48:04 -05:00
Sean Yesmunt
cfb10db4ea add fatal error handling when sync/get fails with unknown error 2020-11-13 14:48:04 -05:00
jessopb
697651b0e8
pass domain to authenticate for appid (#5012) 2020-11-10 21:47:51 -05:00
Sean Yesmunt
73e1db7bb4 allow changing language for unauth users 2020-11-10 15:32:45 -05:00
Sean Yesmunt
f63de7f930 add nudges to sign up 2020-11-10 00:33:27 -05:00
Sean Yesmunt
1cc7be746b move splash animation out of settings 2020-11-09 13:37:51 -05:00
Sean Yesmunt
e00b98226c remove old import 2020-11-06 00:02:53 -05:00
Sean Yesmunt
485a734c9b make notifications deleteable + unsub from the bell on notifications page 2020-11-04 10:25:49 -05:00
Sean Yesmunt
63f1fed33c per channel notification settings 2020-11-02 14:13:13 -05:00
Sean Yesmunt
d8aecaeb29 only call sync_apply if no wallet found 2020-10-27 10:17:11 -04:00
jessop
9d4f7dc642 sync reducer stuff
bring tags into app repo

prevent prefset until prefsReady

prefs ready on sign up

prefsReady-desktop
2020-10-27 10:17:11 -04:00
Sean Yesmunt
f54a0de797 bring in sync code from lbryinc 2020-10-27 10:17:11 -04:00
Sean Yesmunt
1cb0685b61 pass is_app_readable to notification/list 2020-10-22 12:41:29 -04:00
jessop
51c94d334a set userid regardless of signin 2020-10-21 15:30:26 -04:00
Sean Yesmunt
295b8cf2e1 refactor floatingUri to allow inline players in comments/markdown 2020-10-21 15:29:29 -04:00
jessop
91d034954e mark notification seen on relevant interaction 2020-10-20 13:09:08 -04:00
Sean Yesmunt
106f5a0ac2 initial comment pin PR with new commit 2020-10-19 23:37:39 -04:00
Sean Yesmunt
264a85d837 Revert "comment pin action"
This reverts commit 636ab7427d.
2020-10-19 15:01:09 -04:00
jessop
636ab7427d comment pin action
owners can pin and unpin comments

tweak pin icon styles

move commenting activeChannel from localStorage to redux
2020-10-19 14:48:01 -04:00
Sean Yesmunt
cfd4e8a05d rc fixes for electron 9 2020-10-15 19:06:47 -04:00
jessop
7678eedf4d catch claim error on referrer set 2020-10-08 10:52:44 -04:00
jessop
10ce772bcb initial page view sets referring channel 2020-10-07 11:44:12 -04:00
Sean Yesmunt
00c05437ca add comment sorting and improve comment focus styles 2020-10-06 16:04:52 -04:00
infiinte-persistence
ae191afeec String corrections
- "The publisher has chosen to" -- Fix incomplete string, probably broken by linter.
- Fix hardcoded email in invite snackbar.
- Fix 'Upload Settings' to new lower-case style.
- Add few more missing ones.
- Consolidated "Claim xxx" strings together.
- Removed duplicate "Confirming..." due to branch merging.
2020-10-05 10:39:04 -04:00
Sean Yesmunt
eb84a366d2 add file reactions code from odysee 2020-10-02 15:28:00 -04:00
Sean Yesmunt
dc42df3bf2 fix uuid import with new version 2020-10-02 14:36:22 -04:00
jessop
aa127e45aa debounce comment reacts on backend, not button, feedback immediate 2020-10-02 12:35:34 -04:00
jessop
57a09cd3c6 only clear comment text if confirmed 2020-10-02 12:00:23 -04:00
infiinte-persistence
48787a1feb doPublishDesktop: Call the "preview" modal before doing the actual publish.
This requires an accompanying change in lbry-redux. Search for "SETTINGS.ENABLE_PUBLISH_PREVIEW" in the commit message to find the commit.

In Edit Mode, the preview will not appear. Not sure if it's needed, plus there are more things to handle in Edit mode (e.g. which items are changed)
2020-10-02 10:25:17 -04:00
jessop
e954bce821 allow reaction list without channel
uncomment

reacts requireauth, commentReact handles missing channels

enable config, better track pending reacts
2020-10-01 15:23:15 -04:00
jessop
ad88f7de7f disable while reacting, dont call api twice 2020-09-29 17:12:32 -04:00
jessop
63ce107cc1 comment reactions 2020-09-29 17:12:32 -04:00
Sean Yesmunt
35d959208a fix first comment on claim not showing instantly 2020-09-29 17:12:32 -04:00
Sean Yesmunt
f547053ebc add yotube sync to initial sign up flow 2020-09-29 17:12:32 -04:00
Sean Yesmunt
83a6589cd0 new lbc icon 2020-09-29 17:12:32 -04:00
jessop
3b23f09bed fix sync clean wallet bug
remove previous changes,keep syncpref in wallet, change anon wallet pref key to local

sync choices wip

dont relocate syncenable setting

bump

no prefs on web unauth

bugfix redux bump

pull after sync change

bump
2020-09-21 14:11:25 -04:00
Sean Yesmunt
153a17af72 bring in websocket reconnect code from 'release' branch 2020-09-17 12:40:08 -04:00
jessop
b5dccced6d bugfix 2020-09-10 14:20:02 -04:00
jessop
6c4842a111 sync changes 2020-09-10 14:20:02 -04:00
ioancole
bb9bde1c19 Encode automplete search string and don't autocomplete for empty query 2020-09-10 13:36:33 -04:00
Sean Yesmunt
813ef0e960 Revert "Encode autocomplete search query"
This reverts commit 7f8d084fa4.
2020-09-10 11:30:55 -04:00
Sean Yesmunt
cb0918726e Revert "Don't autocomplete for empty string search"
This reverts commit 72187ca51e.
2020-09-10 11:30:55 -04:00
ioancole
72187ca51e Don't autocomplete for empty string search 2020-09-10 11:08:22 -04:00
ioancole
7f8d084fa4 Encode autocomplete search query 2020-09-10 11:08:22 -04:00
Sean Yesmunt
bba539f846 Revert "Revert "add logging of player point of presence""
This reverts commit 4067e1ffd8.
2020-09-09 14:55:16 -04:00
Sean Yesmunt
799c0c1f11 quick comment fix while waiting for release branch to be merged into master 2020-09-09 14:54:29 -04:00
Sean Yesmunt
4067e1ffd8 Revert "add logging of player point of presence"
This reverts commit fb142f7699.
2020-09-09 14:40:43 -04:00
Jeremy Kauffman
fb142f7699 add logging of player point of presence 2020-09-09 10:48:15 -04:00
jessopb
3a69f47347
quick fix for sync (#4718) 2020-08-28 11:25:47 -04:00
Sean Yesmunt
df9a19a9b4 always send integers to buffer api 2020-08-27 14:18:45 -04:00
Sean Yesmunt
a28ce2d3b8 pass 'only_if_expired: true' so clicking 'resend link' doesn't expire old tokens 2020-08-25 12:25:25 -04:00
Thomas Zarebczan
a1f5292e57
Increase polling interval (makes app lag) 2020-08-24 16:08:14 -04:00
Sean Yesmunt
9ee4b256fb add mark as seen to notifications 2020-08-21 16:04:27 -04:00
Franco Montenegro
cbfed97853 Add app closing behavior setting 2020-08-20 01:16:11 -04:00
Sean Yesmunt
abbaa8bf78 always batch resolve search results 2020-08-12 13:03:00 -04:00
jessop
c0be817960 support sdk feature for fast comments 2020-08-10 14:52:17 -04:00
Sean Yesmunt
2f995be794 use new buffer analytics api 2020-08-07 22:54:29 -04:00
jessop
b185857eb0 trigger sync on theme change in nav menu 2020-07-28 22:52:44 -04:00
Sean Yesmunt
0df388280e add search code from lbry-redux 2020-07-27 16:37:36 -04:00
jessop
d9bf72a351 all settings constants come from redux
sync settings

backout nav cases and anon preference key

more robust backout header

put notificationSettings under backout bar

review changes
2020-07-27 11:53:14 -04:00
Sean Yesmunt
201417efcf Publish => Upload 2020-07-27 10:48:05 -04:00