2
2
mirror of https://github.com/Llewellynvdm/nativefier.git synced 2024-12-22 01:58:54 +00:00
Commit Graph

1287 Commits

Author SHA1 Message Date
Ronan Jouchet
347df98c77 Make eslint happy 2022-02-06 17:49:30 -05:00
Ronan Jouchet
6b6ef1d12d Relock dependencies 2022-02-06 17:47:06 -05:00
Henry Bridge
9945a5dffe
Add flag --strict-internal-urls to disable domain and subpath matching (PR #1340)
I created this so that Google Meet links don't open in my Google Calendar app for me, but it looks like others have a similar issue (e.g. issue #1304).
2022-02-06 17:40:51 -05:00
Abhishek Mehandiratta
372c1d0b13
Fixes ignored --file-download-options (PR #1350, fix #1275) 2022-02-06 00:02:49 -05:00
Ronan Jouchet
e7483549af NATIVEFIER_APPS_DIR: document "new in release", rephrase doc to be the most useful to a first-time user 2022-01-31 17:07:57 -05:00
Matthew Ruzzi
c6debd72e0
Allow setting default app destination with env. var. NATIVEFIER_APPS_DIR (PR #1339, #1336) 2022-01-31 16:59:23 -05:00
Ronan Jouchet
f8bd696e32 README: mention Snap & AUR repos
See https://github.com/nativefier/nativefier/pull/1348
2022-01-31 16:33:53 -05:00
Ronan Jouchet
088be2d258
HACKING.md: triage guidelines (PR #1338)
As discussed in https://github.com/nativefier/nativefier/issues/1258#issuecomment-1008522842 ,
here’s an attempt to formalize triage,

1. To agree on our triage practices.
2. To ease up recruiting more triagers.
3. To have a reference to point at when a user doesn't understand how we're triaging.
2022-01-31 16:23:47 -05:00
Zachary Talis
31fc580f1c
API.md: Fix broken "insecurity options" link (PR #1345) 2022-01-28 23:01:56 -05:00
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