Commit graph

43 commits

Author SHA1 Message Date
jessopb 88ac250fee
fix large file uploads (#7736)
* fix large file uploads

* changelog

* update github action xcode version

* update electronbuilder for macos

* try use_hard_links=false

* no USE_HARD_LINKS

* upgrate electron-builder 23_3_3

* revert to electron-builder 22_10_5
electron-builder/issues/6124 says regressions happen after this version.

* try mac install homebrew, python2

* typo and ln /usr/bin/python

* oops

* try sudo

* try PYTHON_PATH

* comment github action mac python hack
2022-11-17 13:20:01 -05:00
Franco Montenegro 0e2a9a1033
Better handling of uploaded files. (#7688)
* Better handling of uploaded files.

* Read file when uploading it so we can properly read metadata.
2022-09-19 16:42:16 -04:00
Franco Montenegro 329d434c83
Allow only images in modal image uploader. (#7672)
* Allow only images in modal image uploader.

* Set file path and mime in file selector.

* Refactor WebFile.

* Update get-file-from-path to work with folders; fix file-list component.

* Get rid of File | string for filePath property in components.

* Show instant preview while updating channel thumbnail.

* Fix publish.

* Add jpeg and svg to image filter.
2022-09-02 12:43:35 -04:00
Franco Montenegro f065218ff4
Prevent .deb packages from being opened with archive manager. (#7502)
* Prevent .deb packages from being opened with archive manager.

* Allow to properly cancel download upgrade and prevent multiple downloads.

* Fix missing app-update.yml file for .deb builds.

* Small fix for allowPrerelease prop in autoUpdater.

* Use release/tags endpoint to get the release details.

* Handle error case for auto updater.

* Make install now button display the upgrade modal.

* Use GitHub as provider for manual update url.

* Small fixes in updater.

* Fix small lint errors.

* Properly handle auto download on/off.
2022-07-07 16:48:42 -04:00
jessopb 2be96a25b1
Disk space ipc fixes (#7610)
* delay get-disk-space until daemon ready

* get fresh diskspace when storage viz renders
2022-06-10 12:42:49 -04:00
Franco Montenegro 64a2e908ae Prevent multiple downloads when auto updater isn't supported. Hide upgrade nag when on progress modal is displayed. 2022-03-04 10:58:19 -05:00
Franco Montenegro 40e20dfc1b Small eslint warning fix. 2022-03-01 11:09:50 -05:00
Franco Montenegro 53425d8fe2 Add disk space functions for windows and mac. 2022-03-01 11:09:50 -05:00
zeppi b56746475b cleanup 2022-02-25 17:52:35 -05:00
zeppi 94f64f8d25 comment on mac disk space 2022-02-25 17:52:35 -05:00
zeppi 04a6c735ac finish view data hosting 2022-02-25 17:52:35 -05:00
Franco Montenegro b7d685b4ec Remove trailing spaces from comments. 2022-02-22 13:14:17 -05:00
Franco Montenegro e1ecf87df7 Better way of handling autoUpdate and listen for update available event to display update nag. 2022-02-22 13:14:17 -05:00
Franco Montenegro 48c5f58a8e Multiple fixes in auto updates.
- Add "disable auto updates" setting (prevents downloading updates in the background but will still notify if there are newer versions)
- Prevent downloading multiple times the same update
- Hide nag when auto update modal is displayed
2022-02-22 13:14:17 -05:00
jessopb a1f4a7f8ec
Electron 15 (#7384)
* upgrade electron to 15

* linter

* change electron-cookies to modded version for electron >=10

* electron-cookies version fix
2022-01-02 15:33:11 -05:00
jessopb 6d04ff6e32
Revert "upgrade electron to 15 (#7363)" (#7383)
This reverts commit 08c47a57f1.
2021-12-31 14:49:45 -05:00
jessopb 08c47a57f1
upgrade electron to 15 (#7363)
* upgrade electron to 15

* linter
2021-12-31 12:53:07 -05:00
jessopb 5be27a5e2c Revert "rm lbry.tv, rm lbryfirst, rm DOMAIN, etc"
This reverts commit 041127bbce.
2021-12-04 22:20:39 -05:00
zeppi 041127bbce rm lbry.tv, rm lbryfirst, rm DOMAIN, etc 2021-12-03 16:39:40 -05:00
zeppi 1f381ffb9b do not set default protocol client on linux on startup 2021-11-27 10:24:41 -05:00
zeppi eaf3826df8 update electron version to 11, some changes to app update 2021-11-27 10:18:56 -05:00
zeppi ee9f63a161 integrate all the things
bugfix

wip

flow

fix

cleaning

clean
2021-10-15 23:49:41 -04:00
Baltazar Gomez 1a1f145d14 fix desktop deep links handler 2021-08-04 12:17:14 -04:00
infinite-persistence 7521ac53a3 Linux: Don't add extra call to associate 'lbry://'
## Issue
Closes 4729: LBRY desktop auto-sets itself as default application for opening html files in Linux file managers like nemo after logout and login or a cold/warm boot

- https://gitlab.freedesktop.org/xdg/xdg-utils/-/issues/180
    - It appears that there is a piece of code in xdg that defaults the type to 'text/html' if the parameter is empty. I'm not sure if that's entirely xdg's fault, or it's the way Electron's `setAsDefaultProtocolClient` uses it.

## Changes
In Linux Mint at least, it seems like the `protocols` entry in `electron-builder.json` is enough to associate the LBRY protocol to this app. The extra `setAsDefaultProtocolClient` seems unnecessary.

My test method:
With `setAsDefaultProtocolClient` removed for Linux,
- <a href="lbry://xxx"> still opens the app.
- <a href="lbry://xxx"> does not open the app if the `protocols` entry is removed from `electron-build.json` (confirming that it's doing it's job).
2021-03-08 11:21:41 -05:00
Jeffrey Fisher 1155f5512d Fix linting errors.
Closes #4027
2021-01-29 10:10:10 -05:00
zeppi 1b3bc0f4e3 support consolidating txos
improvements

actual values

bump

bump

devtools revert

bugfix

bump
2021-01-05 12:38:55 -05:00
jessop a5a1f72555 openItem is now openPath 2020-10-12 09:50:56 -04:00
jessop e61f8551a3 upgrade electron
disable cors switch

electron version test

v8

wip

v9

bump

nativeImage

clean
2020-10-07 10:14:54 -04:00
Franco Montenegro cbfed97853 Add app closing behavior setting 2020-08-20 01:16:11 -04:00
Sean Yesmunt 81344b9826 make sure lbryfirst error makes it up to UI 2020-07-09 11:01:12 -04:00
Sean Yesmunt cadcb53399 add better logging and prevent LbryFirst from trying to start multiple times 2020-07-09 09:41:26 -04:00
Sean Yesmunt f9325a816e only start lbryFirst daemon for approved users 2020-07-08 14:23:43 -04:00
Thomas Zarebczan 4291c36c58 Initial commit for LBRY-First
fix killing daemon

bump lbry-first
2020-07-08 14:23:43 -04:00
Sean Yesmunt a8c3ec54ae only delete origin header for sdk calls - leave everything else as is 2020-06-08 11:52:21 -04:00
Sean Yesmunt aabcd9690a bump lbry-sdk to 0.75.0 2020-06-03 16:25:06 -04:00
seanyesmunt 1984ee585f second attempt at localized player 2020-03-18 10:04:05 -04:00
Sean Yesmunt c321db4cab fallback to keychain for auth_token if desktop users don't have an auth_token cookie 2020-01-21 14:39:22 -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
tuxfoo e8e3f50cfb Force color profile to render correct colors 2020-01-07 11:07:47 -05:00
jessop 20dde98506 feat: disable app updates by placing a file named upgradeDisabled in static/ 2019-11-13 11:00:46 -05:00
Sean Yesmunt ab2ee079e2 fix scripts 2019-11-11 13:27:29 -05:00
Sean Yesmunt 6ad31a3ce9 refactor lbrytv web server 2019-11-11 13:27:29 -05:00
Renamed from src/platforms/electron/index.js (Browse further)