2
2
mirror of https://github.com/Llewellynvdm/nativefier.git synced 2024-11-13 08:36:28 +00:00
Commit Graph

1228 Commits

Author SHA1 Message Date
Tyler Nickerson
aeb6ba1a8c
Add "quiet" flag to suppress all log output (PR #1342)
In working on my own repo [hop](https://github.com/Nickersoft/hop), which uses nativefier under-the-hood, I found it very troublesome to suppress log output when using the programmatic API. This PR just adds a quick "quiet" option which will set the log level to "silent" and suppress all electron and nativefier output (except for errors, of course).

Co-authored-by: Ronan Jouchet <ronan@jouchet.fr>
2022-01-23 16:01:29 -05:00
Ronan Jouchet
cd7bd26d3c HACKING.md: link to Hickey 2022-01-10 00:42:36 -05:00
Ronan Jouchet
2274053792 HACKING: markdown format 2022-01-10 00:03:47 -05:00
Ronan Jouchet
8d178b2507 CATALOG.md: Document GCal needs lying about useragent for working notifications (fix #1292) 2022-01-09 08:42:32 -05:00
Ronan Jouchet
25c4da6b4d README: more more more more more nits 2022-01-06 14:33:49 -05:00
Ronan Jouchet
1b30ba5cbb README: more more more more nits 2022-01-06 14:32:43 -05:00
Ronan Jouchet
f88244746e README: more more more nits 2022-01-06 14:21:16 -05:00
Ronan Jouchet
8a8a5dd2cc README: more more nits 2022-01-06 14:20:41 -05:00
Ronan Jouchet
37e2f98801 README: more nits 2022-01-06 14:20:12 -05:00
Ronan Jouchet
2445395ad3 README: nits 2022-01-06 14:18:22 -05:00
Ronan Jouchet
8d05fc9b8b Docs: link to Docker Hub repo, lighten README and move some stuff to CATALOG 2022-01-06 14:09:15 -05:00
Ronan Jouchet
e4ab2dba5b Update changelog for v46.0.4 2022-01-06 10:50:42 -05:00
Ronan Jouchet
ae4a0f05b8 CI: (Attempt to) push tag, not unreadable SHA
Might have to retry this one as I'm not sure it's this one or GITHUB_REF,
https://docs.github.com/en/actions/learn-github-actions/environment-variables
2022-01-06 10:50:00 -05:00
Ronan Jouchet
776f2a846d Update changelog for v46.0.3 2022-01-06 10:33:22 -05:00
Ronan Jouchet
97cce9196d CI: (Attempt to) push image to our org, not my personal account 2022-01-06 10:32:48 -05:00
Ronan Jouchet
863377d814 Update changelog for v46.0.2 2022-01-06 10:16:45 -05:00
Pranav Shikarpur
7b4d172248
CI: Fix Docker Hub image build & push (#1100)
We tried using the auto Docker Hub thingie, but it's flaky.
Reverting to manually pushing as part of release CI.
2022-01-06 10:14:31 -05:00
Ronan Jouchet
0a561a62c0 Update changelog for v46.0.1 2022-01-06 09:58:15 -05:00
Ronan Jouchet
e3a823c66b Bump default Electron from 16.0.5 to 16.0.6
https://github.com/electron/electron/releases/tag/v16.0.6
2022-01-06 09:43:10 -05:00
Ronan Jouchet
5e3c23267a Fix --widevine broken since 46.0.0
See https://github.com/nativefier/nativefier/pull/1288#issuecomment-1006307669 ,
"the version prefix changed from -wvvmp to +wvcus",

and message from CastLabs:
The v16 series of Electron for Content Security, labeled wvcus, moves to using the Component Updater Service to handle installation of the Widevine CDM, and has incompatible API updates compared to the previous wvvmp releases.
2022-01-06 09:34:20 -05:00
Ronan Jouchet
5276a839bb Update changelog for v46.0.0 2022-01-02 06:31:08 -05:00
Adam Weeden
d483597320
Upgrade Electron from 13 to 16 (PR #1288)
https://www.electronjs.org/docs/latest/breaking-changes

Co-authored-by: Ronan Jouchet <ronan@jouchet.fr>
2022-01-02 06:17:06 -05:00
Ronan Jouchet
6f4ae587c4 build/ci workflow: pass the node version number with the format expected by GHA/setup-node
and avoid warning "Not found in manifest.  Falling back to download directly from Node"
2021-12-25 16:53:06 -05:00
Ronan Jouchet
16ec3b80fe empty commit to see if cache is indeed used and build is faster (npm ci used to take between 30s and 1m10s) 2021-12-25 16:46:59 -05:00
Ronan Jouchet
797922afb6 build/ci workflow: try to use setup-node-v2 cache to speed up build 2021-12-25 16:42:48 -05:00
Ronan Jouchet
24e8849564 Update changelog for v45.0.8 2021-12-06 23:48:19 -05:00
Ronan Jouchet
e33aa4ebab Fix 45.0.7 broken because of missing "chalk" dep (fix #1324) 2021-12-06 23:45:09 -05:00
Ronan Jouchet
e9e523d957 Update changelog for v45.0.7 2021-12-06 16:27:13 -05:00
Ronan Jouchet
dab770f719 app pkgjson too 2021-12-06 16:12:40 -05:00
Ronan Jouchet
f720f66eb8 Bump default Electron to 13.6.3 with fixes & security fixes
https://github.com/electron/electron/releases/tag/v13.6.3
2021-12-06 16:12:03 -05:00
Ronan Jouchet
58e504de32 document contextIsolation stuff 2021-12-06 16:05:41 -05:00
Ronan Jouchet
ec77741494 re-relock and fix script failing to do app if cli failed 2021-12-06 16:00:17 -05:00
Ronan Jouchet
df4ca5d079 relock dependencies 2021-12-06 15:56:02 -05:00
Adam Weeden
5f02f14626
Use userAgentFallback for userAgent injection (PR #1316)
Per the suggestion of @fireflinchdev , this seems to alleviate our issues with things like nuking service workers for WhatsApp. The core reason being those service workers were getting the original userAgent, and not the override (if specified). This PR should fix that.

So it should resolve #1312 #719 and hopefully a few future issues as this seems to come up frequently.
2021-11-29 16:53:12 -05:00
Adam Weeden
b9c5e2b464
Fix upgrade not working (#1286)
* Attempt to get upgrade working right; in progress

* Got it fixed in Mac

* Fix some linting errors

* Finish fixing upgrade + tests

* Integration testing for global shortcuts

* Regenerate shrinkwrap

* Get rid of deprecated rmdirSync

* Remove instead of rm for 12.x support

* Make dereferencing platform dependent

* Fix folder copy funkiness

* Whoops

* Whoops 2: Extra Whoops

* Update Electron to 13.5.1; Fix auth manual tests

* Rework relock

* Add a request for help.

* Update @types/node to 14
2021-11-29 12:01:20 -05:00
Ronan Jouchet
adcf7c4c0c Update changelog for v45.0.6 2021-11-22 16:24:24 -05:00
Ronan Jouchet
4405b5d28b Fix icon conversion scripts broken on recent macOS (fix #1277) 2021-11-22 16:18:02 -05:00
Ronan Jouchet
702ff1e4b6 Bump default Electron to 13.6.2
https://github.com/electron/electron/releases/tag/v13.6.2
2021-11-22 16:05:20 -05:00
Ronan Jouchet
601968dfef Relock dependencies 2021-11-22 16:03:07 -05:00
Alexander Weps
ca7d25f432
Fix notifications broken since Nativefier 43 / Electron 12 defaulting to contextIsolation:true (PR #1308)
Copy-pastaing details from [Electron 12 breaking changes](https://www.electronjs.org/docs/latest/breaking-changes#planned-breaking-api-changes-120):

> ### Default Changed: `contextIsolation` defaults to `true`[​](https://www.electronjs.org/docs/latest/breaking-changes#default-changed-contextisolation-defaults-to-true "Direct link to heading")
> 
> In Electron 12, `contextIsolation` will be enabled by default. To restore the previous behavior, `contextIsolation: false` must be specified in WebPreferences.
> 
> We [recommend having contextIsolation enabled](https://www.electronjs.org/docs/latest/tutorial/security#3-enable-context-isolation-for-remote-content) for the security of your application.
> 
> Another implication is that `require()` cannot be used in the renderer process unless `nodeIntegration` is `true` and `contextIsolation` is `false`.
> 
> For more details see: [https://github.com/electron/electron/issues/23506](https://github.com/electron/electron/issues/23506)

I find the security drop acceptable, as reverting the new Electron 12 isolation brings us to the previous level of security, and I don't have the time/will to keep the isolation and migrate to the newer better safer thing that Electron >= 12 wants.

Co-authored-by: Radomír Polách <rp@t4d.cz>
2021-11-22 16:00:13 -05:00
Ronan Jouchet
431f531065 CI: bump top Node.js version to 17, which is now stable 2021-11-10 18:41:38 -05:00
Ronan Jouchet
e63a275ec9 Update changelog for v45.0.5 2021-11-01 15:59:22 -04:00
Ronan Jouchet
916055d05a generate-changelog: don't break if npm out returns 1, which it normally does on outdated deps, which is all the time 2021-11-01 15:57:33 -04:00
Ronan Jouchet
d68078f686 Bump axios to 0.24.0
https://github.com/axios/axios/blob/master/CHANGELOG.md
2021-11-01 15:54:03 -04:00
Ronan Jouchet
7cab31f974 Bump to eslint 8
https://eslint.org/docs/8.0.0/user-guide/migrating-to-8.0.0
2021-11-01 15:47:46 -04:00
Ronan Jouchet
94e6c6cf54 Bump default Electron to 13.6.1, with security fixes
- 13.5.2: https://github.com/electron/electron/releases/tag/v13.5.2
- 13.6.0: https://github.com/electron/electron/releases/tag/v13.6.0
- 13.6.1: https://github.com/electron/electron/releases/tag/v13.6.1
2021-11-01 15:37:33 -04:00
Ronan Jouchet
05e2439c56 HACKING.md: Document one more place to look when major-upgrading Electron 2021-10-04 09:32:52 -04:00
Adam Weeden
0d99ce4916
Update Electron to 13.5.1; Fix auth manual tests (#1287) 2021-10-02 22:17:06 -04:00
Ronan Jouchet
fadcb73de7 Update changelog for v45.0.4 2021-09-24 23:03:48 -04:00
Ronan Jouchet
0570a20c99 Work around "npm shrinkwrap" failing to include some packages in lockfile 2021-09-24 23:01:15 -04:00