infinite-persistence
a33087440c
Fix timestamp regex error
...
## Issue
https://discord.com/channels/362322208485277697/363087331475062785/817972023347249153
## Change
Open up the range as per YT, indirectly fixing the regex mistake.
2021-03-09 16:05:00 -05:00
Sean Yesmunt
6345549c88
increase file thumbnail size in cdn url
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
Sean Yesmunt
d71f977a55
Revert "Remove hack in Timestamp parser now that 'remark-breaks' has addressed the original problem."
...
This reverts commit 02792b8f0c
.
2021-02-20 18:23:52 -05:00
infiinte-persistence
9e9183aa95
Clear dev-web
warnings and lint
2021-02-19 14:18:44 -05:00
infiinte-persistence
b0cc1d7f51
Add context-menu to report claims directly from Preview/Tile
2021-02-19 14:18:44 -05:00
infiinte-persistence
2f7880a697
Remove 'Copy' from Claim context-menu; Do nothing when menu is blank.
...
'Copy' is always disabled for the case of Claim previews since no text is selected. User cannot select text anyway since a left-up event would invoke the Claim's `click` event. 'Copy' is there simply because of re-using `openContextMenu`.
2021-02-19 14:18:44 -05:00
infiinte-persistence
cf832d14b4
Make both claimPreview and claimPreviewTile use the same context-menu function.
...
Consolidated into `openClaimPreviewMenu`. We'll only update that function next time for context-menu additions.
2021-02-19 14:18:44 -05:00
Franco Montenegro
ddae2e8ac5
Disable claim type search if filtering by channel
2021-02-19 13:50:13 -05:00
Franco Montenegro
62c7216b43
Fix mediaType filter parameter in search
2021-02-19 13:50:13 -05:00
infiinte-persistence
02792b8f0c
Remove hack in Timestamp parser now that 'remark-breaks' has addressed the original problem.
...
## Issue
Closes 5523: timestamps not interpreted in some cases
## Notes
`remark-breaks` previously kept repeating the same index in the loop, causing some corner-cases to be parsed oddly. I added code to address that.
Later, `remark-breaks` fixed the problem and we recently just bumped up the componnent version. My hack is no longer necesary.
2021-02-16 17:11:07 -05:00
Sean Yesmunt
1f117e43bd
add initial support for comment API outside of SDK
2021-02-11 10:45:34 -05:00
infiinte-persistence
912489cce0
Make zoom level persistent on Desktop
...
- uses local storage.
- for 'web', the browser is already handling that.
2021-01-26 10:20:59 -05:00
Sean Yesmunt
d7f95ddd43
fix desktop build
2021-01-25 14:24:57 -05:00
Sean Yesmunt
513e239771
encode embed url too
2021-01-25 13:58:12 -05:00
Sean Yesmunt
26ece81da8
manually encode ' because encodeURIComponent doesn't encode it
2021-01-25 13:58:12 -05:00
Sean Yesmunt
5420a6a887
show total balance on wallet page/header
2021-01-22 11:46:27 -05:00
Sean Yesmunt
ee0bdf3a82
encode claim name in embed url
2021-01-14 11:48:42 -05:00
Sean Yesmunt
72ac5a5437
encode share url parts
2021-01-14 11:48:42 -05:00
Franco Montenegro
d9b8f0310a
Fix nsfw parameter in search page
2021-01-13 14:56:12 -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
zeppi
3de290f04f
fix search
2020-12-22 14:11:07 -05:00
infiinte-persistence
267c019d7a
Timestamp: Handle Safari + better parsing
...
## Issue
- The previous regex uses lookback (I think ES2018?) which Safari has yet to implement.
- There were a few bugs in the previous regex too, like missing out multiple timestamps in a line, or parsing "62:02" as "2:02" (although YT does this as well).
- The previous method searched too deep (matchAll) on each 'locate' call, which was wasteful.
2020-12-18 11:35:47 -05:00
infiinte-persistence
897128a168
Restore "Handle timestamp in Markdown."
...
This reverts the revertion in:
- 85f8965d44
.
- d3f0e471e5
.
2020-12-18 11:35:47 -05:00
Sean Yesmunt
0cc3af28a3
flow fixes
2020-12-16 10:52:22 -05:00
Sean Yesmunt
73dea00e41
revert encode share url
2020-12-15 19:44:37 -05:00
Sean Yesmunt
62dfaf0709
use thumbnail cdn for cover photos
2020-12-15 13:59:08 -05:00
Sean Yesmunt
dd582f4009
encode lbry url when shared from modal
2020-12-15 13:59:08 -05:00
Sean Yesmunt
d3f0e471e5
Revert "Tokenize and format timestamps in Markdown"
...
This reverts commit 93709fbeb8
.
2020-12-14 22:31:18 -05:00
infiinte-persistence
93709fbeb8
Tokenize and format timestamps in Markdown
...
1. Find and tokenize timestamps, i.e. "XX:XX:XX" strings.
2. Transform 'timestamp' nodes to Links.
2020-12-14 12:12:50 -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
zeppi
fff599d56a
delete util/homepage
2020-11-11 10:47:47 -05:00
Sean Yesmunt
8f7c16cc39
fix 'best' comment sort
2020-11-02 17:15:53 -05:00
Sean Yesmunt
e198caffd7
make sure comments with 0 likes are sorted to bottom
2020-10-28 14:45:04 -04:00
Sean Yesmunt
172e918de5
pass to
2020-10-13 15:31:07 -04:00
Sean Yesmunt
6d4a92ad27
format reaction count to include commas
2020-10-08 14:19:21 -04:00
Sean Yesmunt
761b93d811
add style for comments with is_pinned=true
2020-10-08 11:48:32 -04:00
Sean Yesmunt
5d2d6d2a94
always show your own comments at the top
2020-10-07 17:11:22 -04:00
Sean Yesmunt
85e2ee28a3
add referral code to embed links
2020-10-07 16:23:53 -04:00
Sean Yesmunt
00c05437ca
add comment sorting and improve comment focus styles
2020-10-06 16:04:52 -04:00
Sean Yesmunt
4e1076e01b
make category header clickable
2020-09-29 17:12:32 -04:00
Sean Yesmunt
c1e6e90896
large claim-grid header text + optional icon
2020-09-29 17:12:32 -04:00
Sean Yesmunt
19fb7d7f06
new layout 🕺
2020-09-29 17:12:32 -04:00
jessop
ee217404da
provide share domain url configuration
2020-08-31 11:51:25 -04:00
infiinte-persistence
de780a1fd8
Remove strings with trailing spaces as it's not obvious in Transifex.
...
## Issue
Fixes 4665 `Translated strings with trailing spaces not shown correctly`
## Changes
While there are other strings with trailing spaces, "Trending for " was the only one that mattered. The rest are standalone paragragphs or used in a single line, so it doesn't matter if the translation included the space or not.
2020-08-27 13:58:44 -04:00
Sean Yesmunt
fd778adf99
remove 2020protests from the homepage
2020-08-20 11:31:35 -04:00
Sean Yesmunt
84084a7c41
use limit_claims_per_channel on homepage
2020-08-20 11:31:35 -04:00
Sean Yesmunt
3b4ac976b6
Revert "full width homepage"
...
This reverts commit 0018fdaebc
.
2020-08-18 12:53:07 -04:00
Sean Yesmunt
0018fdaebc
full width homepage
2020-08-18 09:25:36 -04:00
Sean Yesmunt
2f995be794
use new buffer analytics api
2020-08-07 22:54:29 -04:00
jessopb
bc6cbfd5ee
Revert "add imhere row at top"
...
This reverts commit 8e73a02863
.
2020-08-01 16:55:01 -04:00
Sean Yesmunt
8e73a02863
add imhere row at top
2020-07-30 17:13:01 -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
jessop
5399c1941c
allow signin on local using non-production SameSite=Lax
2020-07-24 16:48:05 -04:00
Sean Yesmunt
90327a72ed
add comments behind a flag
2020-07-23 11:03:00 -04:00
infiinte-persistence
bc19503419
Allow zooming on Desktop
...
## Issue
Closes 4501 `Font size`
## New behavior
The Desktop app can now zoom the same way as browsers:
- Zoom In: "Ctrl+=" or "Ctrl+numpadPlus" or "Ctrl+WheelUp"
- Zoom Out: "Ctrl+-" or "Ctrl+numpadMinus" or "Ctrl+WheelDown"
- Zoom Reset: "Ctrl+0" or "Ctrl+numpad0"
## Code changes
(1) Electron provides this functionality through the `zoomIn|zoomOut|resetZoom` roles in the Menu, so it would have been a quick job.
However, given that Electron currently does not support having multiple accelerators for one item, we can't add `Ctrl+WheelUp` to the mix and would have to implement our own handler and use `webFrame`.
Given that we need to add code anyways, we handle both keyboard and mouse cases through the same handler, hence the existence of `zoomWindow.js`. It also provides the opportunity to few a few quirks with Electron's default implementation (e.g. stuck at both extremes)
(2) I recall there is another Issue for adding keyboard shortcuts. Given that these shortcuts are universally used in browsers, they are probably "reserved", so shouldn't clash with that task.
2020-07-14 16:08:24 -04:00
Sean Yesmunt
259f51abd6
style pass for channel edit
...
clean up sections and improve navigation handling
cleanup + image upload modal styling
2020-07-01 22:04:23 -04:00
Jeremy Kauffman
c54832c335
meh
2020-07-01 17:45:04 -04:00
Sean Yesmunt
15dec5398b
update list of youtubers on homepage
2020-07-01 12:03:32 -04:00
Sean Yesmunt
7a588ccecf
sort by release_time for youtube row on homepage
2020-06-29 17:29:58 -04:00
Sean Yesmunt
06ea8bf932
update homepage order
2020-06-29 16:02:21 -04:00
Sean Yesmunt
258a3e636a
update homepage - remove lbrytvpaidbeta
2020-06-29 16:02:21 -04:00
Thomas Zarebczan
17b8aa0202
add @MH to paid content beta
2020-06-02 10:50:34 -04:00
Jeremy Kauffman
2c61f1dd2b
update homepage
2020-05-31 09:45:44 -04:00
TigerxWood
a89efd981b
Made texts translatable
...
All the strings will be translated now
2020-05-29 16:49:56 -04:00
Sean Yesmunt
21b26ea34f
add channel to list of official paid beta channels
2020-05-27 17:08:49 -04:00
Sean Yesmunt
d20217a228
fix typo
2020-05-27 15:40:25 -04:00
Sean Yesmunt
9f317de5b6
increase paid content to 4 rows for users with more than 6 followed channels
2020-05-26 14:14:09 -04:00
jessop
e3c2919373
rename lbrytv to web
...
language and API consts
improve customization
custom homepages
get config from .env.default
custom title and logo
small changes
add pinned item to sidebar
rebase?
2020-05-25 17:21:02 -04:00
Baltazar Gomez
ca4bbf53df
Support drag-and-drop file publishing ( #4170 )
2020-05-25 10:27:36 -04:00
Jeffrey Fisher
c539ab91c0
Fix code review issues
2020-05-08 14:00:59 -04:00
Jeffrey Fisher
8fe9cfafbc
Allow video sharing with start timestamp
...
Closes #3122
2020-05-08 14:00:59 -04:00
Sean Yesmunt
c0b4fff5d5
remove dynamic streaming url generation
2020-05-07 10:57:00 -04:00
Sean Yesmunt
2677cd17d8
new signin/signup ( #3960 )
...
* new signin/signup
* cleanup and password reset
* new flow working
* cleanup
* add 'autoComplete' props
* fix prop
* try to call email/confirm before resetting password
* Dont use password reset token for email confirmation.
* add password reset
* password manager improvements
* update lbryinc
* cleanup
* slightly improve close button on sign up page
* moar fixes
* fix password autofil
Co-authored-by: Mark Beamer Jr <markbeamerjr@gmail.com>
2020-04-13 15:16:07 -04:00
Sean Yesmunt
d94610acb1
initial fix for #3723
2020-04-08 15:20:27 -04:00
Sean Yesmunt
7218b78746
fetch continent cookie on server-side and clean up video effects
2020-04-08 15:12:22 -04:00
Sean Yesmunt
7401a590cc
Revert "fix streamUrl creation"
...
This reverts commit 338f7be78e
.
2020-04-08 13:43:39 -04:00
Sean Yesmunt
338f7be78e
fix streamUrl creation
2020-04-08 13:29:34 -04:00
Sean Yesmunt
6f07f63960
use SameSite=None for auth_token cookie
2020-04-07 18:25:40 -04:00
Sean Yesmunt
dbdef22f46
clean up links
2020-03-30 09:40:23 -04:00
Sean Yesmunt
419b3890cd
improve share modal
2020-03-30 09:40:23 -04:00
Sean Yesmunt
baa73c7329
fix download links on lbry.tv
2020-03-25 17:51:22 -04:00
Sean Yesmunt
db438bc979
get back on master branch for lbryinc
2020-03-24 16:38:59 -04:00
seanyesmunt
1984ee585f
second attempt at localized player
2020-03-18 10:04:05 -04:00
Sean Yesmunt
48a441aae8
Revert "Localized player urls for lbry.tv"
2020-03-17 13:47:15 -04:00
Niko Storni
6d12e0da06
use only supported continents
2020-03-17 18:25:49 +01:00
Sean Yesmunt
7afaeb8333
demo with dynamic player url
2020-03-17 18:25:49 +01:00
Niko Storni
2b2607df61
drop usage of async
2020-03-17 18:25:49 +01:00
Niko Storni
167b591d21
make player url dynamic
2020-03-17 18:25:49 +01:00
seanyesmunt
b005ed76fe
add 10 second timeout to lbrytv status call
2020-03-16 17:59:24 -04:00
Sean Yesmunt
d85a1dc67c
update name
2020-03-12 12:10:42 -04:00
Sean Yesmunt
878ad61fd1
update cookies to remove leading "." in domain value
2020-03-12 12:10:42 -04:00
Dalton
5e38108e3d
update to initial analytics url
2020-02-14 17:28:48 -05:00
Michael Tintiuc
8ec2032c7a
Fixes #3603 . Allow browser context menu
2020-02-03 09:22:37 -05:00
Sean Yesmunt
e1dd28fff6
use new player api for streaming
2020-01-24 11:26:19 -05:00
Sean Yesmunt
5c906df371
cleanup
2020-01-21 09:50:16 -05:00
Thomas Zarebczan
939a7d7689
feat: app image + cookie
...
fix: password stuff
2020-01-21 09:50:16 -05:00
Sean Yesmunt
978871a927
enable downloads on lbry.tv
2020-01-13 12:42:24 -05:00
Yamboy1
c6d8e4c098
Fix logic
2020-01-02 23:57:51 -05:00