Sofia Nguy
6273bc9957
docs: update currently supported versions for 8.0.0 release ( #21909 )
2020-02-04 12:21:13 -05:00
Sofia Nguy
9c035c4570
docs: update 9.0 release dates ( #21910 )
2020-02-04 11:51:43 -05:00
Charles Kerr
c83f836faf
refactor: prefer using app.whenReady() ( #21972 )
...
* docs: add references to app.whenReady() in isReady
* refactor: prefer app.whenReady()
In the docs, specs, and lib, replace instances of `app.once('ready')`
(seen occasionally) and `app.on('ready')` (extremely common) with
`app.whenReady()`.
It's better to encourage users to use whenReady():
1. it handles the edge case of registering for 'ready' after it's fired
2. it avoids the minor wart of leaving an active listener alive for
an event that wll never fire again
2020-02-03 22:43:22 +00:00
Kilian Valkhof
95cfa1b0aa
docs: fix missing import, explicitly use nativeTheme api ( #21937 )
...
* docs: fix missing import, explicitly use nativeTheme api
* Update docs/tutorial/mojave-dark-mode-guide.md
Co-Authored-By: Charles Kerr <ckerr@github.com>
* switch to nativeTheme event
Co-authored-by: Charles Kerr <ckerr@github.com>
2020-01-31 14:49:48 +09:00
Jeremy Apthorp
662b94f46e
docs: windows don't need to be retained ( #21957 )
2020-01-30 14:15:35 -08:00
Mark Lee
28fb2b7ed5
docs: move breaking changes out of API folder ( #21870 )
...
This should allow planned breaking changes to be shown in the website
prior to a stable release with the changes included.
2020-01-28 22:19:18 +00:00
Erick Zhao
ca81e72975
docs: fix links to SECURITY and CONTRIBUTING files ( #21921 )
2020-01-28 22:16:22 +00:00
Mehedi Hassan
1d58db82f2
Fix node.lib download link ( #21930 )
...
The documentation is currently pointing to a download link that leads to a 404 for the ARM64 version of `node.lib`. This change updates the link to the correct download for ARM64 `node.lib`.
2020-01-28 22:15:09 +00:00
Matthew Harris
129df5ffca
docs(offscreen-rendering): missing word "is" ( #21898 )
2020-01-27 15:48:56 +09:00
daveilers
2f394d46c7
docs: Update online-offline-events.md to reflect nodeIntegration required ( #21707 )
...
* Update online-offline-events.md
NodeIntegration is required for online/offline and the default changed, so the example should reflect the need for that config
* chore: fix lint warning
Co-authored-by: Cheng Zhao <zcbenz@github.com>
2020-01-13 14:56:39 +09:00
Jorn
aef9ab1bb7
Es6ify api docs ( #21686 )
...
* docs: es6ify docs -> var -> const / let
* docs: apply arrow functions throughout all of the docs
2020-01-13 10:29:46 +09:00
Kilian Valkhof
bd923838c1
docs: initial document for comparing web embeds ( #20478 )
...
Co-authored-by: Felix Rieseberg <felix@felixrieseberg.com>
Co-authored-by: Mark Lee <malept@users.noreply.github.com>
2020-01-09 09:29:22 -08:00
Shogun Sea
0a850fbc5d
docs: Update react devtool version in document ( #21601 )
...
* docs: update react devtool version in document
* bump react devtool version ref to 4.3.0
2020-01-07 09:14:49 -05:00
Kilian Valkhof
8dc4a20069
docs: fix typos in security.md ( #21665 )
2020-01-03 11:11:01 -05:00
liulun
cc8bf12351
docs: replace systemPreferences.isDarkMode() with nativeTheme.shouldUseDarkColors ( #21480 )
2019-12-17 15:13:35 -08:00
Mark Lee
9c442e0a7e
docs: update installation docs to reflect latest @electron/get changes ( #21491 )
...
* doc: update Chinese Electron mirror URL
* doc: replace remaining references of electron-download with @electron/get
* doc: update cache dir example based on recent @electron/get cache changes
2019-12-16 08:16:55 -08:00
Felix Rieseberg
7932e28aa2
docs: Explain notarization, improve code-signing docs ( #21373 )
...
* docs: Explain notarization
* Update docs/tutorial/code-signing.md
Co-Authored-By: Zeke Sikelianos <zeke@github.com>
2019-12-13 11:16:20 -05:00
Amor
5733507040
docs: update installation.md ( #21331 )
2019-12-04 15:11:09 +09:00
Alex Kondratyuk
f2f52c23b5
docs: rename ELECTRON_CACHE env variable to electron_config_cache ( #21313 )
2019-12-02 10:12:51 -08:00
Cyril POIDEVIN
a6a028594d
docs: Use Promise for dialog.showMessageBox
( #21143 )
...
* Update updates.md
Use of the return promise for the use of `dialog.showMessageBox`.
* Update updates.md
2019-11-18 00:49:50 -08:00
Milan Burda
093f2dd4a6
chore: remove deprecated <webview>.getWebContents() ( #20986 )
2019-11-08 15:46:35 -05:00
fengmk2
145ecb85c2
docs: use new China's mirror address ( #21030 )
2019-11-08 15:39:47 -05:00
Átila Camurça Alves
c4cc6bd1bf
docs: correct the syntax to caniuse.com link ( #21048 )
2019-11-08 15:39:31 -05:00
Mark Lee
d871598d20
docs: update installation instructions for proxies ( #20780 )
2019-11-05 13:40:43 -08:00
Mark Lee
2bbf32a18b
docs: clean up performance checklist formatting ( #20830 )
...
* docs: fix list formatting in performance checklist
* docs: remove unused link ref
2019-10-31 08:41:18 -07:00
Electron Bot
b6246dcf12
chore: bump chromium to f5b345dd470f14eef6e44732ccf23 (master) ( #20649 )
2019-10-28 15:12:35 -07:00
Sofia Nguy
f5e5bcd943
[WIP] docs: update electron 8.0 dates ( #20621 )
2019-10-23 12:39:47 -04:00
Sofia Nguy
97fa8c824c
docs: update currently supported versions for 7.0.0 release ( #20622 )
...
* [WIP] docs: update currently supported versions for 7.0.0 release
* oops
2019-10-22 15:26:07 -07:00
Felix Rieseberg
13cb21a684
docs: Performance checklist ( #20230 )
...
* docs: First draft of perf checklist
* docs: More words
* docs: Use standard in code example
* docs: fix broken link
* Update docs/tutorial/performance.md
Co-Authored-By: Charles Kerr <ckerr@github.com>
* Update docs/tutorial/performance.md
Co-Authored-By: Charles Kerr <ckerr@github.com>
* Update docs/tutorial/performance.md
Co-Authored-By: loc <andy@slack-corp.com>
* Update docs/tutorial/performance.md
Co-Authored-By: loc <andy@slack-corp.com>
* docs: Implement suggestions
* docs: Include VSCode talk
* chore: Pass linter
* Update docs/tutorial/performance.md
Co-Authored-By: Mark Lee <malept@users.noreply.github.com>
* Update docs/tutorial/performance.md
Co-Authored-By: Mark Lee <malept@users.noreply.github.com>
* Update docs/tutorial/performance.md
Co-Authored-By: Mark Lee <malept@users.noreply.github.com>
* Update docs/tutorial/performance.md
Co-Authored-By: Mark Lee <malept@users.noreply.github.com>
* Update docs/tutorial/performance.md
Co-Authored-By: Mark Lee <malept@users.noreply.github.com>
* Update docs/tutorial/performance.md
Co-Authored-By: Mark Lee <malept@users.noreply.github.com>
* Apply suggestions from code review
Co-Authored-By: Mark Lee <malept@users.noreply.github.com>
* Update performance.md
* fix: The process link
2019-10-21 13:39:54 -07:00
Richard Townsend
2ce90f8806
docs: add WoA cross-compilation instructions ( #20244 )
...
* docs: add WoA cross-compilation instructions
* docs: fixing lint issues
* docs: minor corrections
* style: Ssubstitute -> Substitute
2019-10-08 14:54:03 -07:00
ryanomor
0c87471c12
Fix typo ( #20450 )
2019-10-07 12:26:38 -04:00
Stian Jørgensrud
39d19d23d1
Add unsafe-inline ( #20414 )
...
Versions didn't show and I was getting errors in the Developer Tools: `Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'self'"`. The cause is probably that Chrome has implemented extra security since this tutorial was created. Added 'unsafe-inline' and it works.
2019-10-06 12:24:24 +02:00
Chris Hawkes
9457c796b1
Update application-architecture.md ( #20370 )
...
Updated the period to a comma. Appears to be a number typo.
2019-09-30 13:41:58 -04:00
Daniel Zwelling
26d9ef9403
docs: update selenium docs ( #20336 )
2019-09-24 13:36:09 -07:00
Mike Pelley
7f0ec3091e
Replace workspaceRoot with workspaceFolder. ( #20306 )
...
workspaceRoot has been deprecated as per https://code.visualstudio.com/docs/editor/variables-reference#_why-isnt-workspaceroot-documented
2019-09-24 13:49:04 -04:00
Felix Rieseberg
334ea36f38
docs: Add recent Electron version to security checklist ( #20206 )
...
* docs: Add recent Electron version to security checklist
* Update docs/tutorial/security.md
Co-Authored-By: Mark Lee <malept@users.noreply.github.com>
* Update docs/tutorial/security.md
Co-Authored-By: Pedro Pontes <pepontes@microsoft.com>
* Update docs/tutorial/security.md
Co-Authored-By: Mark Lee <malept@users.noreply.github.com>
2019-09-13 21:12:14 -04:00
Jeremy Apthorp
f537366387
test: move security warnings spec to main runner ( #20055 )
2019-09-03 16:02:22 +09:00
ipoint-pgerhard
e37ad09330
docs: Update boilerplates-and-clis.md ( #19975 )
...
Updated boilerplates-and-clis.md in order to more accuratly represent the current availability of templates in electron forge
2019-08-30 15:40:37 -05:00
Tomáš Hübelbauer
35ebbb5f6e
docs: add a CSP meta tag to make the tutorial compliant with the security checklist ( #19819 )
...
I've asked #19775 because I was frustrated with how hard it was to find a way to fix (instead of hide) the CSP warning in Electron and I complained that even the official quick start guide wasn't compliant with the security checklist at https://electronjs.org/docs/tutorial/security . Someone helped me out with a CSP meta tag which I have later noticed is indeed mentioned in the checklist, too: https://electronjs.org/docs/tutorial/security#csp-meta-tag . I have not used the checklist one verbatim because it prevents a `script` tag from working when serving `index.html` through the `file:` protocol as the quick start does. I instead used the one the person in my issue recommended which seems to work well to me. I am not that well versed in CSP so there might be a better policy to include with the quick start, but this is what I've got for now.
2019-08-29 17:06:51 +09:00
Carlos
fb214a599e
docs: update documentation under tutorials ( #19804 )
2019-08-20 09:45:25 -07:00
Micha Hanselmann
af3316707f
fix invalid lang tags ( #19513 )
2019-07-30 13:11:56 -07:00
Micha Hanselmann
c06007175f
docs: update supported versions section ( #19461 )
...
* update support docs
* Update support.md
2019-07-29 15:38:04 -07:00
Valentin Hăloiu
0732da1b4a
build: remove GConf and dconf dependencies on linux ( #19498 )
2019-07-29 08:33:47 -04:00
Caesar Schinas
a25b15bc2a
docs: fix instructions for opting out of dark mode ( #19358 )
...
4d8a055
(#19226 ) introduced incorrect instructions for 'opting out' of dark mode in Electron 7.0.0 and for enabling it on older versions. The boolean values for the `NSRequiresAquaSystemAppearance` key were inverted.
2019-07-24 10:20:25 -07:00
Sofia Nguy
384ba8da64
docs: update public electron timeline ( #19371 )
2019-07-23 09:52:17 -07:00
Mark Lee
0c0197a0ef
docs: update Electron Packager links ( #19333 )
2019-07-19 18:52:11 -07:00
Felix Rieseberg
2ce68df27a
docs: Update incorrect author name ( #19247 )
2019-07-15 17:51:06 +09:00
Samuel Attard
4d8a05568b
feat: enable dark mode support by default on macOS ( #19226 )
...
This adds the NSRequiresAquaSystemAppearance key to our default Info.plist file which will tell macOS to auto-switch our effectiveAppearance in sync with the OS. The dark mode documentation has been updated to reflect how to opt *out* of this but it is also noted that certain dark mode APIs will not work on Catalina if you opt out.
2019-07-15 17:23:12 +09:00
Charles Kerr
792f6b246c
docs: fix spelling and grammar errors ( #18910 )
2019-06-21 16:19:21 -05:00
Shelley Vohr
77d5e0c1ef
docs: better explain supported release line levels ( #18800 )
2019-06-17 09:15:37 +09:00
Nicolas Ramz
d59689b170
UPDATED: electron-windows-store command line ( #18499 )
...
The `flatten` option has been removed from electron-windows-store dcc654df2e
so running the command would produce an error:
> error: unknwon option --flatten
2019-06-15 20:39:19 +09:00
Kilian Valkhof
d77159a19e
docs: add information about persistence and removal of DevTools Extensions ( #18519 )
...
* docs: add information about persistence and removal of DevTools Extensions
* Update devtools-extension.md
* Remove trailing space
2019-06-15 20:38:55 +09:00
Felix Rieseberg
8da17ffe37
docs: Add missing document links to docs/readme ( #18578 )
...
* docs: Update Guides & Tutorials section
* docs: Update the list of docs
* Update docs/README.md
Co-Authored-By: Mark Lee <malept@users.noreply.github.com>
* Update docs/README.md
Co-Authored-By: Mark Lee <malept@users.noreply.github.com>
* Update docs/README.md
Co-Authored-By: Mark Lee <malept@users.noreply.github.com>
* Update docs/README.md
Co-Authored-By: Mark Lee <malept@users.noreply.github.com>
* docs: Implement feedback
2019-06-06 11:39:21 -07:00
Dana Woodman
4feb769378
docs: update community Slack URL to point to Discourse invite thread ( #18222 )
2019-06-03 12:06:06 -07:00
Adam Harley
8f200595ba
correct reference chrome://plugins to components ( #18237 )
2019-05-22 15:58:53 -07:00
Sofia Nguy
287345c778
docs: explicit rule for features in the beta cycle ( #18393 )
2019-05-21 18:42:02 -05:00
Samuel Attard
e73a0e6cc6
docs: replace the atom.io headers URL with electronjs.org ( #18328 )
2019-05-21 16:17:07 +09:00
Jeremy Apthorp
367868613f
docs: explicitly list supported versions ( #18243 )
2019-05-13 12:17:47 -07:00
Shelley Vohr
6d96f30ed3
refactor: make shell.OpenExternal async ( #17135 )
2019-05-03 13:53:45 -07:00
Joshua Westerheide
a59dc56fa6
feat: add env variable to skip binary download on npm install ( #17627 )
...
* feat: add env variable to skip binary download on npm install
* docs: add "Skip binary download" section to install tutorial
2019-05-03 10:17:15 -07:00
Michelle Tilley
4808f30538
fix: revert to previous documentation folder structure ( #18127 )
2019-05-02 15:17:17 -07:00
Milan Burda
b333ce2628
docs: remove incorrectly added let for the win variable ( #18052 )
2019-05-01 10:45:58 -07:00
Milan Burda
2fd3029040
docs: update nodeIntegration section for new defaults ( #17715 )
2019-04-29 14:29:27 -07:00
Shelley Vohr
2108044bdb
docs: move organizational info docs to new directory ( #17865 )
...
* docs: move organizational info docs to new directory
* fix some markdown lint issues
2019-04-25 15:14:19 -07:00
Mark Lee
aed0b1ee54
docs: clean up the native module tutorial ( #17624 )
2019-04-24 10:32:37 -07:00
Sofia Nguy
df269ecb24
docs: edit Release Timelines doc format and add title ( #17903 )
...
* docs: edit title and doc format
* lint error - trailing spaces
* trailing s p a c e
2019-04-22 17:53:51 -04:00
Sofia Nguy
0c24ac9ae7
docs: Update AFP info ( #17904 )
2019-04-22 17:53:03 -04:00
Sofia Nguy
eb9c4e3643
docs: Add Electron v6.0.0 Timeline ( #17866 )
2019-04-19 12:23:01 -07:00
Kapil Patel
11ac6800cc
docs: added fee hint ( #17563 )
...
* Update code-signing.md
* Update code-signing.md
* Update docs/tutorial/code-signing.md
Co-Authored-By: kapilepatel <kapilepatel@gmail.com>
* Update code-signing.md
2019-04-18 08:50:14 -07:00
Samuel Meuli
3bf71a363a
docs: update guide on MAS entitlements and export compliance ( #17695 )
...
* docs: Convert MAS app groups entitlement value to array
* docs: Update info on MAS encryption export compliance
2019-04-15 20:02:06 -04:00
Milan Burda
235eea6669
docs: add remote module to docs/tutorial/security.md ( #17480 )
2019-04-05 20:41:05 +02:00
Kilian Valkhof
57dd192dcd
docs: Lead with packaging tools on distribution page ( #17639 )
...
* Lead with packaging tools on distribution page
* fix trailing whitespace
2019-04-02 13:45:35 -07:00
Milan Burda
8cf15cc931
feat: only allow bundled preload scripts ( #17308 )
2019-03-28 11:38:51 +01:00
Samuel Attard
784f9742bc
build: auto-fix whitespace in docs in pre-commit hook ( #17490 )
2019-03-21 12:15:55 -07:00
Milan Burda
a82bbd010e
build: strip trailing whitespace in docs ( #17488 )
2019-03-20 13:12:47 -07:00
Klaus Sinani
1c7b3026a6
docs: Use correct image URL on docs/tutorial/windows-taskbar.md
( #17467 )
2019-03-20 10:01:28 -07:00
Shelley Vohr
3e5a98b5f4
feat: promisify In-App Purchase ( #17355 )
...
* feat: promisify In-App Purchase
* use mate::Arguments in GetProducts
2019-03-13 13:56:01 -07:00
qwabra
d4cfaaf047
Update debugging-main-process-vscode.md ( #16363 )
...
[console.log() not printing to terminal when debugging Electron apps. #49 ](https://github.com/Microsoft/vscode-recipes/issues/49#issuecomment-354367330 )
2019-02-27 15:03:15 -05:00
Luca Carettoni
1bbb47be5b
docs: Improved security doc, particularly around isolation and tool ( #16703 )
...
* Improved security doc, particularly around isolation and tool
* Fixes as suggested by @ckerr
* libcc update
* fixing lint stuff
2019-02-27 10:09:38 -08:00
Mark Lee
0a84c61074
docs: update chromium version in 5.0.0 release schedule ( #17001 )
2019-02-16 08:25:25 -08:00
pol
c76459738e
docs: fix security doc url check ( #16775 )
2019-02-06 10:43:58 -08:00
Jeremy Apthorp
b7d8234a86
docs: add some troubleshooting info related to win_delay_load_hook ( #16764 )
...
* docs: add some troubleshooting info related to win_delay_load_hook
* appease lint
2019-02-06 08:29:58 -08:00
JohanG2012
cacb56b103
Add missing let ( #15746 )
2019-02-04 11:02:01 -08:00
Sofia Nguy
b66b5561ee
Electron timelines ( #16496 )
2019-01-24 16:40:44 -06:00
Mosh Feu
05755ba202
docs: show the code of adding devtools extension ( #16186 )
2019-01-15 17:48:21 +09:00
Shelley Vohr
0881fd6397
feat: split openExternal into sync and async ( #16176 )
...
* feat: split openExternal into sync and async
* v8::Locker => mate::Locker
* fix: enter js env when resolving promise
2019-01-14 20:35:21 -08:00
Mark Lee
6436a12d7f
docs: fix app.setAppUserModelId link ( #16322 )
2019-01-08 16:40:57 -05:00
Vik Ramanujam
668049a593
Add instructions to get Notifications working on Win 10 Update ( #16320 )
...
Fails silently and was frustratingly hard to know why. Hope this save a lot of people some time.
2019-01-08 08:16:30 -08:00
Gearóid
c64b4a3926
docs: more natural language in Mac app store guide ( #16095 )
2018-12-17 10:27:37 -05:00
Jakub Biesiada
1672cffe96
docs: update mojave-dark-mode-guide.md ( #15888 )
...
* Update mojave-dark-mode-guide.md
Add info about dark mode support in electron-builder
* Update mojave-dark-mode-guide.md
* Update mojave-dark-mode-guide.md
2018-12-01 12:02:36 +11:00
Slapbox
d7d4b8638d
docs: makes note of HTTP header CSP usage with file:// ( #14768 )
2018-11-28 17:58:18 +09:00
Alexander Turinske
f563fc9d5e
docs: add new widevine requirements ( #14024 )
2018-11-28 17:53:42 +09:00
Jeremy Apthorp
08b56b7675
docs: add note about win_delay_load_hook ( #15766 )
2018-11-19 16:13:50 -08:00
Shelley Vohr
c9d0960f47
docs: remove unsafe eval section of security tutorial ( #15675 )
...
* docs: remove unsafe eval section of security tutorial
* lintfix
2018-11-12 11:13:48 -05:00
Samuel Attard
4e53019b75
docs: add a mojave dark mode guide ( #15267 )
2018-11-07 18:16:47 -06:00
Samuel Attard
59ee2859a7
chore: update versioning doc for nightlies ( #15468 )
2018-10-30 10:33:50 -07:00
Milan Burda
1f3a89197c
chore: bump minimum supported macOS version to 10.10 ( #15357 )
2018-10-25 10:59:42 +02:00
Masato Kinugawa
43a8b6039e
docs: Fix CSP header setting of sample code ( #15313 )
...
* Fix CSP header setting of sample code
Patch for #15310
* Update docs/tutorial/security.md
Co-Authored-By: masatokinugawa <masatokinugawa+github@gmail.com>
2018-10-23 10:38:48 -04:00
AbhilashJN
de1d24b616
docs: change examples in docs to use for..of and async/await ( #15196 )
2018-10-16 10:41:42 -07:00
Sofia Nguy
ec125b761c
chore: AFP info for general public ( #14650 )
...
* migrate AFP info from maintainers
* wording changes
* capitalize headers
* move to docs and delete details
* review changes
2018-09-18 13:13:49 -05:00
Samuel Attard
558fff69e7
chore: update to standard 12
2018-09-14 14:57:01 +10:00
Robo
f76a8c7b24
build: [m67] enable widevine support ( #14519 )
...
* build: [m67] enable widevine support
* fix: remove plugin cache reset hack
It was added in (#8907 ) to make widevine cdm shows up in
navigator.plugins, since widevine support is no longer
enabled by a plugin it can be removed safely.
2018-09-11 20:24:04 +02:00
Jeremy Apthorp
72526927d9
build: remove gyp build files ( #14097 )
...
* build: remove gyp build files
* docs: update build instructions
* build: temporary restore electron.gyp
* build: do not update Electron version in the electron.gyp
* chore: remove unused submodules
* ci: remove obsolete CI scripts and configs
* chore: remove obsolete scripts
* chore: remove obsolete functions from lib/util.py
* ci: send Slack notification for nightly build results
2018-09-09 10:15:32 +09:00
Alex Sokolsky
9fe456dec1
Update first-app.md ( #14455 )
2018-09-04 21:59:35 -05:00
Charles Kerr
512b559211
feat: allow some features during beta ( #14215 )
...
* feat: allow all nonbreaking changes during beta
Changes the version policy: currently only nonbreaking bug/security
fixes are allowed during beta. This change would allow all nonbreaking
changes, e.g. new features, during beta.
* refactor: clarify criteria for changes during beta
* Update electron-versioning.md
2018-09-04 11:02:43 -05:00
Milan Burda
e8782f2c2d
feat: Remove legacy helpers (Electron Helper EH/NP) ( #14436 )
2018-09-03 21:37:15 -05:00
Felix Rieseberg
872890ea5c
docs: Developer instructions for native Node addons ( #13121 )
...
* docs: Developer instructions for native Node addons
Credits for actually finding this easy method goes to @nornagon.
* 📝 Of course there's a typo
2018-08-24 14:28:11 -07:00
Beni von Cheni
aef64c6f48
docs: chrome-command-line-switches.md: update proxy-server support ( #14198 )
...
* docs: chrome-command-line-switches.md: update proxy-server support
Per issue #12443 , the proxy URL in proxy-server switch would not
support username and password authentication.
* docs: security.md: correct checklist #14 markdown
When running "npm run lint:docs" script, linting warning suggests
"Broken links: #13-disable-or-limit-creation-of-new-windows". Update
accordingly to #14 .
2018-08-19 12:34:14 -07:00
Anders Kaseorg
466fe816d5
docs: security.md: Fix navigation lockdown example code ( #14185 )
...
The `url` module is not a constructor; change `require('url')` to
`require('url').URL`. Also, check the entire origin rather than just
the hostname, since otherwise `http://my-own-server.com ` is allowed in
addition to `https://my-own-server.com `, in violation of point 1 (only
load secure content).
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2018-08-18 19:41:55 -07:00
GhostlyDark
9005803667
Fix typos ( #13999 )
2018-08-09 10:04:03 -05:00
Felix Rieseberg
a99cc969b5
📝 Update security docs: will-navigate, new-window ( #13884 )
2018-07-31 13:40:26 -05:00
Josh Goldberg
a11e8654cc
Grammar fix in application-architecture.md ( #13798 )
2018-07-26 23:14:20 +10:00
Aleksei Kuzmin
3b2424b4c8
docs: update an estimate of how much we are behind Chromium
2018-07-25 16:35:17 +02:00
Tiago Danin
1fd6d38a0a
docs: Improved documentation ( #13403 )
2018-07-20 10:58:19 -07:00
John Kleinschmidt
fc33130aa3
Merge pull request #13672 from brunolemos/patch-1
...
docs: remove known issues from mac app store submission guide
2018-07-18 14:44:50 -04:00
Samuel Attard
f26880db03
Update docs on semantic requirements for #13359 ( #13365 )
2018-07-18 10:41:58 -05:00
Shelley Vohr
6045d1218a
refactor: remove experimentalCanvasFeatures property ( #13684 )
2018-07-16 13:32:42 -07:00
Bruno Lemos
f23d6fc107
docs: remove known issues from mac app store submission guide
...
not necessary since #10552
2018-07-15 17:45:50 -03:00
Lxx
b7bc16b39a
docs: using chrome://flash to get the flash path
...
chrome://about no longer works , so we should use chrome://flash instead.
2018-07-13 22:10:04 +08:00
Christian Schmidt
cdd2bab7d5
Fix links to webview.md
2018-06-21 16:39:07 +02:00
The Moses
6ecd8077e5
Fix broken link of electron-builder ( #13341 )
2018-06-20 09:42:46 -05:00
Samuel Attard
79fbd6bab1
Revert "fix: Drop support for OS X Mavericks (version 10.9)" ( #13333 )
2018-06-20 07:27:55 -05:00
Zeke Sikelianos
0802f82356
doc: add CSP examples ( #13167 )
...
* doc: add CSP examples
* Deafult to zero-permissions CSP
2018-06-20 10:36:37 +10:00
Milan Burda
794fe741e9
fix: Drop support for OS X Mavericks (version 10.9)
2018-06-19 17:49:27 +02:00
Nitish Sakhawalkar
3ac4c1f03f
Update libcc and replace snapshot_blob.bin by v8_context_snapshot.bin
2018-06-19 11:49:43 +10:00
Zeke Sikelianos
994f613450
Merge pull request #13099 from electron/breaking-changes
...
docs: improve breaking API changes docs
2018-06-18 08:52:53 -07:00
Vlad Hashimoto
a67c992c36
docs: fix broken link to commit message guidelines ( #13233 )
...
* docs: fix broken link to commit message guidelines
* Fix another broken links
2018-06-15 19:43:03 -05:00
Felix Rieseberg
1647c12c73
📝 Make appUserModelId requirement clearer ( #13259 )
2018-06-15 19:32:19 -05:00
Charles Kerr
c7d1f95240
Merge branch 'master' into breaking-changes
2018-05-31 12:12:02 +02:00
Charles Kerr
b89fe86fa1
Merge pull request #13050 from electron/3.0.0-deprecations
...
chore: removal of 3.0.0 deprecations
2018-05-30 09:25:36 +02:00
Dan Sandler
442ec7113e
Fix link to macOS notifications HIG
2018-05-29 11:16:26 -04:00
Charles Kerr
bb4979a82e
docs: move breaking-changes to api
2018-05-29 11:06:56 +02:00
Sven Hüster
ec44fb79d8
updated path to widevine libraries on windows ( #13063 )
2018-05-28 16:11:51 +09:00
Mikael Finstad
86fcdd0bae
docs: Simplify loading of html in example ( #13013 )
...
* Simplify loading of html
See new api: https://github.com/electron/electron/pull/11565
* Update first-app.md
* Update first-app.md
2018-05-25 13:05:15 -07:00
Shelley Vohr
5f5322c64e
rename blinkFeatures to enableBlinkFeatures
2018-05-23 14:01:34 -07:00
Shelley Vohr
fb4a8e9cb9
remove ses.setCertificateVerifyProc() deprecation
2018-05-23 09:47:14 -07:00
Shelley Vohr
22fed0c798
remove nativeImage.createFromBuffer() deprecation
2018-05-23 09:43:58 -07:00
Shelley Vohr
94e825378c
remove webFrame.registerURLSchemeAsSecure() deprecation
2018-05-23 09:33:57 -07:00
Shelley Vohr
4a90056462
remove webContents.openDevTools() deprecation
2018-05-23 09:30:15 -07:00
Shelley Vohr
3deffa859d
remove appcommand media-play_pause option deprecation
2018-05-23 09:24:32 -07:00
Shelley Vohr
003a5a0160
remove tray.setHighlightMode() deprecation
2018-05-23 09:20:39 -07:00
Shelley Vohr
72c63a10ee
remove screen.getMenuBarHeight() deprecation
2018-05-23 09:11:48 -07:00
Shelley Vohr
cc30f4c4fd
remove crashReporter deprecation
2018-05-23 09:07:14 -07:00
Shelley Vohr
438ac61ff7
remove clipboard deprecations
2018-05-23 09:04:39 -07:00
htk3
7c2303c758
Correct app-command name of APPCOMMAND_MEDIA_PLAY_PAUSE ( #12408 )
...
* correct app-command name
* add compatibility with old app-command name
* add temporary compatibility with old app-command name
* add a comment saying that media-play_pause is deprecated
* fix lint
2018-05-21 10:52:04 +09:00
Mod John
2a161e1725
Fix broken link ( #12387 )
...
* Fix broken link
Link was producing a 404 error as the file no longer exists. Wasn't sure where this intended link used to go so took a guess at a appropriate target.
* Update quick-start.md
2018-05-16 10:23:46 -07:00
Charles Kerr
4d078fdb03
Remove more words ( #12852 )
...
* remove 'basically' from docs
* remove 'simply' from docs
* remove most uses of 'just' from docs
2018-05-08 00:16:09 -05:00
John Kleinschmidt
c13d1e8ae6
Merge pull request #12847 from electron/friendly-docs
...
Remove judgmental docs terms
2018-05-07 12:41:17 -04:00
Shelley Vohr
52e3d5e4f0
remove some beginner-unfriendly terms from docs
2018-05-07 08:46:14 -07:00
Samuel Attard
5b5c161601
feat: new makeSingleInstance API ( #12782 )
...
* Refactor app.makeSingleInstance
* new API `app.isPrimaryInstance()`
* new API `app.isSingleInstance()`
* new event `app.on('second-instance')`
* deprecated old syntax `app.makeSingleInstance(cb)`
* deprecated old syntax of `app.makeSingleInstance() --> bool` in favor
of `app.isPrimaryInstance()`
* Fix spec, we don't need process.nextTick hacks any more
* Make deprecation TODO for the return value of makeSingleInstance
* Refactor makeSingleInstance to requestSingleInstanceLock and add appropriate deprecation comments
* I swear this isn't tricking the linter
* Make const
* Add deprecation warnings for release, and add to planned-breaking-changes
BREAKING CHANGE
2018-05-08 01:29:18 +10:00
David Chawei Hsu
091ddb3c34
Fixed several broken links to the sections ( #12797 )
2018-05-02 21:51:37 -05:00
Zeke Sikelianos
36c4519d7e
Merge pull request #12781 from electron/more-code-signing
...
More code signing docs
2018-05-02 08:39:03 -07:00
Charles Kerr
c81dac774a
Fix some broken documentation links ( #12794 )
2018-05-02 10:33:07 -05:00
Samuel Attard
63d670c286
explain platform differences in code signing
2018-05-02 11:52:52 +10:00
Samuel Attard
94e6be6cae
more code signing docs
2018-05-02 11:12:15 +10:00
Zeke Sikelianos
f1c7df8c28
add code signing tutorial ( #12767 )
...
* docs: add code signing tutorial
* docs: link to code signing tutorial from readme
* docs: remove unneeded use of "application" from docs readme
2018-05-01 19:56:44 -05:00
John Kleinschmidt
d355bf0267
Merge pull request #12756 from electron/support-policy
...
Support policy
2018-05-01 15:40:55 -04:00
Charles Kerr
2cecc6ec2c
Remove text about ia32 emulator
2018-05-01 14:31:01 -05:00
Charles Kerr
49cab41fdf
Tweak ARM support with suggestion from jkleinsc
2018-05-01 14:25:18 -05:00
Charles Kerr
b0a8d825b3
Clarify the text on Windows for ARM support
2018-05-01 13:40:21 -05:00
Charles Kerr
af60a2fdf6
Add placeholder for supported-platforms.md
2018-05-01 13:32:11 -05:00
Charles Kerr
b602714e06
Use correct Slack channel name
2018-05-01 13:31:48 -05:00
Charles Kerr
221b103721
Finish consolidating the finding-support section
2018-04-30 18:26:08 -05:00
Charles Kerr
c0dc2d0238
Copyedit the 'finding support' section
2018-04-30 18:11:10 -05:00
Charles Kerr
a332930cdf
add 'finding support' section
2018-04-30 17:58:19 -05:00
Charles Kerr
e44b62d5a3
copyediting
2018-04-30 17:17:42 -05:00
Charles Kerr
d76b0223d9
add end-of-support policy
2018-04-30 17:16:15 -05:00
Zeke Sikelianos
21ffcbddad
document update.electronjs.org in updates tutorial
2018-04-27 10:49:42 -07:00
Leo MG Nesfield (LMGN)
975964f9f0
Not required. ( #12682 )
...
VS Code automatically executes from the `windows` object on win32.
2018-04-23 11:13:46 -05:00
Paul Frazee
94236bf4eb
Create automated-testing-with-a-custom-driver.md ( #12446 )
...
* Create automated-testing-with-a-custom-driver.md
* Update automated-testing-with-a-custom-driver.md
* Add 'Automated Testing with Custom Driver' to ToC
* Update automated-testing-with-a-custom-driver.md
2018-04-20 12:39:13 -04:00
Natsu
7a01ff11cd
Fixed one minor grammatical issue
...
Line 93: "principals and methods" -> "principles and methods"
2018-04-05 19:26:26 +09:00
Adrien Fery
5486a65702
Improve in-app purchase for MacOS ( #12464 )
...
* Add methods to finish transactions
* Add a method to get the product descriptions from the App Store
* Improve the documentation of a transaction structure
* Add a tutorial for In App Purchase
* Fix typo in In-App Purchase tutorial
* Fix style of In-App Purchase files
* Fix In-App-Purchase product structure conversion in amr64
* Fix code style in In-App Purchase tutorial documentation
* Fix typos in In-App Purchase documentation
* Fix typo in In-App Purchase spec
* Slight style fixes
2018-04-05 15:33:13 +09:00
Jeremy Apthorp
22da843efa
s/now/not/ in allowRunningInsecureContent documentation ( #12452 )
2018-03-28 10:15:29 +11:00
zhao-lin-li
bb73a0e2cb
Update example code ( #12315 )
...
path and url needed to be require'd
2018-03-16 07:20:51 +09:00
Vanessa Yuen
48dd8f96b7
Fix broken links ( #12232 )
...
* Update system-preferences.md
* Fix broken documentation links.
2018-03-14 08:07:36 +09:00
Charles Kerr
b0820e4886
Fix broken link
2018-03-07 16:18:47 +09:00
Charles Kerr
4ab7b2d2b1
Deprecations come >=1 major release before removal
2018-03-07 16:12:28 +09:00
Shelley Vohr
c31bf8474c
clean planned breaking changes for 3.0 ( #12145 )
2018-03-07 16:06:33 +09:00
shelley vohr
1413f22095
Merge pull request #12103 from electron/fix-broken-links
...
[docs] switch footnote links to regular links syntax
2018-03-06 07:52:08 -08:00
Franz de Copenhague
847cf17b77
Fix typo found during the Spanish translation
2018-03-04 10:07:46 -08:00
Sofia Nguy
e76d5bc7cf
switch links to regular syntax
2018-03-02 10:41:55 -08:00
Tiago Danin
efeabfe3ef
📝 Fix url to unity-launcher and tiny correction ( #12084 )
2018-02-28 18:28:40 -06:00
Samuel Attard
35cc197d0b
Quick typo ( #12040 )
2018-02-25 09:11:18 -06:00
shelley vohr
e8a57376f0
Merge pull request #12000 from kalikiana/quoted-snap-version
...
tutorial: Surround the snap version in quotes
2018-02-21 16:42:49 -05:00
Vanessa Yuen
8e51659237
Merge pull request #11966 from electron/documentation-overhaul
...
Documentation Overhaul
2018-02-21 20:51:52 +01:00
Felix Rieseberg
c403968230
❤️ One more feedback item
2018-02-21 10:29:17 -08:00
Felix Rieseberg
9d4c68d272
❤️ Feedback
2018-02-21 10:12:19 -08:00
Christian Dywan
8268afdf33
tutorial: Surround the snap version in quotes
2018-02-21 18:08:39 +01:00
shelley vohr
77b8c81096
Merge pull request #11963 from perlun/patch-1
...
security.md: Reformat security recommendation checklist
2018-02-21 10:01:15 -05:00
Felix Rieseberg
975e6e6194
❤️ First round of feedback
2018-02-20 09:47:18 -06:00
Felix Rieseberg
037ee0cff3
📝 Fix the fix
2018-02-19 18:38:59 -06:00
Felix Rieseberg
64fc523977
📝 Fix dead links
2018-02-19 18:25:02 -06:00
Felix Rieseberg
b869471068
📝 Add missing links
2018-02-19 18:20:35 -06:00
Felix Rieseberg
322f7dadc7
📝 Native drag & drop documentation
2018-02-19 18:20:21 -06:00
Felix Rieseberg
191463397b
📝 Cleanup this hot mess
2018-02-19 18:20:10 -06:00
Felix Rieseberg
ebbecce56d
📝 Document debugging
2018-02-19 18:09:38 -06:00
Felix Rieseberg
e98637596d
📝 Installation
2018-02-19 17:53:29 -06:00
Felix Rieseberg
3c66e810c0
📝 Document asar
2018-02-19 17:50:38 -06:00
Felix Rieseberg
20ca6b4a55
📝 Offscreen Rendering
2018-02-19 17:50:26 -06:00
Felix Rieseberg
69b0a358f3
📝 A11y documentation
2018-02-19 17:36:49 -06:00
Felix Rieseberg
8dd44f66ca
📝 Some consistency
2018-02-19 17:28:24 -06:00
Felix Rieseberg
eeb5845aac
📝 Documenting updates
2018-02-19 17:24:15 -06:00
Felix Rieseberg
fe4762588c
📝 Document the progress bar
2018-02-19 17:17:11 -06:00
Felix Rieseberg
c3362c7617
📝 Document the app architecture (main/renderer)
2018-02-19 17:16:51 -06:00
Felix Rieseberg
ffd607bb52
📝 Document the first app
2018-02-19 17:16:35 -06:00
Felix Rieseberg
d7360e3203
📝 Ensure that quick-start.md still exists
2018-02-19 17:14:31 -06:00
Felix Rieseberg
879d21c80e
📝 Document Unity Launcher
2018-02-19 17:14:07 -06:00
Felix Rieseberg
3623cf9729
📝 Windows Taskbar documentation
2018-02-19 17:10:25 -06:00
Felix Rieseberg
8d219e94dc
📝 Recent documents documentation
2018-02-19 17:09:58 -06:00
Felix Rieseberg
d552af97c3
📝 macOS Dock documentation
2018-02-19 17:09:43 -06:00
Felix Rieseberg
fc7e50dce2
📝 Add cli and boilerplate documentation
2018-02-19 15:34:33 -06:00
Per Lundberg
8375d21cae
security.md: Update security recommendation checklist
2018-02-19 23:07:03 +02:00
Felix Rieseberg
bdc0cd4418
📝 Document development environment
2018-02-19 12:25:38 -06:00
Charles Kerr
fbce7bafd7
capitalize 'Node.js'
2018-02-18 23:14:08 -06:00
Charles Kerr
e3efe4b378
make the table a real table
2018-02-18 11:04:21 -06:00
Charles Kerr
ac57c7625a
minor copyediting
2018-02-18 11:00:06 -06:00
John Kleinschmidt
78ccfa0612
Merge pull request #11879 from electron/fix-gtk-deprecations
...
Fix GTK+ 3 deprecations
2018-02-16 10:01:01 -05:00
Charles Kerr
4774f32065
replace gtk2 with gtk3 in docs
2018-02-15 15:08:55 -06:00
Sangjoon Moon
8a84bd8d19
fix typo in electron-versioning.md
...
- backport
- stabilization branch
- and some typo
2018-02-14 13:04:57 +09:00
John Eismeier
8d55334016
Propose fix some typos ( #11905 )
2018-02-13 00:18:27 -05:00
Vanessa Yuen
4685c46b04
Update snapcraft.md
...
fix super teeny tiny typo 😬
2018-02-06 17:28:40 +01:00
Pranjal
732af93fc9
Updated for arm and armv7l documentation ( #11825 )
...
* Updated for arm and armv7l documentation
Cleared up the confusion caused by arm or armv7l mentioned somewhere and not mentioned elsewhere
* 📝 Improve wording a bit.
2018-02-04 18:29:19 -07:00
Felix Rieseberg
d586ef2f39
feature: Hot security tips ( #11810 )
...
* 🔧 Add security issue detection (and logs)
* 🔧 Check for it on load
* 👷 Add some tests
* 👷 Make the linter happy
* 🔧 Allow them to be enabled by force
* 📝 Make message slightly prettier
* 🔧 Fix a typo in the code comment
* 🔧 Classic mistake
* 🚀 Optimize things a bit more
* 👷 Add tests, fix tests
* 📝 Document things
* 🔧 Make linter happy
* 🔧 One more piece of cleanup
2018-02-03 07:50:12 -07:00
Charles Kerr
bd06abd523
Merge pull request #11806 from electron/security-docs-improvements
...
docs: Fixs some errors in the security documentation
2018-02-02 07:47:37 -07:00
Felix Rieseberg
6cf0c56eaf
📝 Some more words
2018-02-01 16:32:58 -08:00
Felix Rieseberg
ce969c9326
📝 Fix some errors
2018-02-01 09:58:02 -08:00
Felix Rieseberg
be7e46b3fe
📝 A word on strict
2018-02-01 09:47:15 -08:00
Felix Rieseberg
495c6dcff5
📝 Some more words
2018-02-01 09:43:26 -08:00
Felix Rieseberg
77dcddf157
📝 Even more words
2018-01-31 17:00:19 -08:00
Felix Rieseberg
9d0d83a002
📝 Some more words
2018-01-31 16:57:45 -08:00
Felix Rieseberg
45119845e8
📝 Callout forge/builder as easiest
2018-01-31 16:56:46 -08:00
Felix Rieseberg
1184eca581
🔧 Fix various typos, implement feedback
2018-01-31 16:52:38 -08:00
Felix Rieseberg
b49a284ccf
📝 Add snapcraft documentation
2018-01-31 16:01:38 -08:00
Felix Rieseberg
93dc38a17b
👷 Put ESLint's mind at ease
2018-01-29 16:27:41 -08:00
Felix Rieseberg
d8d19baad3
❤️ Even more feedback
2018-01-29 16:02:39 -08:00
Felix Rieseberg
1e1729adad
❤️ More feedback
2018-01-29 16:01:05 -08:00
Felix Rieseberg
8f685e9329
👷 Linter errors
2018-01-29 12:36:51 -08:00
Felix Rieseberg
8804b09188
❤️ Implement @zeke’s feedback
2018-01-29 12:34:46 -08:00
Felix Rieseberg
536ff0b7e2
👷 Fix failed test
2018-01-29 11:29:15 -08:00
Felix Rieseberg
fb8606dd0c
📝 General cleanup
2018-01-29 11:19:43 -08:00
Felix Rieseberg
c4dc8dacbf
📝 Context Isolation
2018-01-29 11:19:21 -08:00
Felix Rieseberg
4cb22dd2ff
📝 allowpopups
2018-01-29 11:04:02 -08:00
Felix Rieseberg
cdb20d2692
🔧 WebSecurity
2018-01-29 11:03:51 -08:00
Felix Rieseberg
7e79ae750f
📝 Blink Features
2018-01-29 11:03:38 -08:00
Felix Rieseberg
39e0efd9a4
📝 Experimental Features
2018-01-29 11:03:27 -08:00
Felix Rieseberg
e73f142adc
📝 allowRunningInsecureContent
2018-01-29 11:03:06 -08:00
Felix Rieseberg
5418866e87
📝 eval()
2018-01-29 11:02:52 -08:00
Felix Rieseberg
c793ee3aeb
📝 Content Security Policy
2018-01-29 11:02:30 -08:00
Felix Rieseberg
a5c900ac7a
📝 Context Isolation
2018-01-29 11:01:22 -08:00
Felix Rieseberg
f790c24c27
📝 Verify WebView creation
2018-01-28 18:19:49 -08:00