Milan Burda
a8698d092b
chore: increase security of default_app ( #17318 )
2019-03-11 16:13:46 -07:00
Felix Rieseberg
5581990d78
build: Update TypeScript, use @typescript-eslint ( #17251 )
...
* build: Update TypeScript to v3.3
* build: Update TypeScript, use @typescript-eslint
2019-03-07 12:56:02 -08:00
Samuel Attard
26df9992cf
build: use typescript for internal Electron JS code ( #16441 )
2019-02-06 10:27:20 -08:00
Samuel Attard
b202ad1e24
refactor: remove js2asar.py and port logic to JS in more readable / GN-style way ( #16718 )
...
* refactor: remove js2asar.py and port logic to JS in more readable / GN-style way
* refactor: further clean up ASAR impl, add new node_action GN template
2019-02-05 12:10:15 -08:00
Milan Burda
23d44e322d
feat: use default-app behavior in packaged apps ( #16310 )
...
Unify the behavior between default app and packaged apps:
- create default application menu unless the app has one
- default window-all-closed handling unless the app handles the event
2019-01-15 21:35:53 +01: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
Milan Burda
102d8fe506
chore: add 'use strict' to default app sources ( #16346 )
2019-01-10 20:54:34 +01:00
Milan Burda
eb02a422de
feat: add fileMenu
/ viewMenu
/ appMenu
roles ( #16328 )
2019-01-10 14:32:03 +01:00
Milan Burda
fade3eb679
chore: make "nodeIntegration" and "webviewTag" default to false ( #16235 )
2019-01-07 22:19:27 +03:00
Shelley Vohr
a1a431eb87
fix: make windowMenu role correct on MacOS ( #15930 )
2018-12-03 11:52:46 -08:00
Shelley Vohr
9fd98bb27b
refactor: no longer require submenu for services menuitem ( #15656 )
2018-11-10 12:47:55 -05:00
Jeremy Apthorp
98829aa916
fix default_app.js calling no-longer-existent API
2018-10-09 14:38:00 -07:00
Shelley Vohr
47258f7b3d
fix: default_app incorrect loading by url ( #14940 )
2018-10-03 08:10:22 -07:00
Samuel Attard
0d2a0c7583
feat: add APIs to support mojave dark modes ( #14755 )
...
* feat: add APIs to support mojave dark mode
Closes #13387
* docs: fix system-prefs typo
2018-09-27 10:33:31 -05:00
Samuel Attard
32a9df2940
refactor: clean up the default app implementation ( #14719 )
...
* Disable nodeIntegration
* Enable contextIsolation
* Re-implement the CSP security check to handle running in
contextIsolation
* Disable bad DCHECKS for the promise helper
* Remove the unused "-d" flag for the electron binary
* Added a way to hide the default help output for electron devs who
don't want to see it every time
2018-09-21 15:24:42 +10:00
Samuel Attard
558fff69e7
chore: update to standard 12
2018-09-14 14:57:01 +10:00
Samuel Attard
1b7418fb7b
Revert "sec: deprecate some webPreference defaults to be secure-by-default ( #14284 )" ( #14380 )
...
This reverts commit 66d6ba8689
.
2018-08-30 09:57:49 +12:00
Samuel Attard
66d6ba8689
sec: deprecate some webPreference defaults to be secure-by-default ( #14284 )
...
* feat: deprecate default value of nodeIntegration
* Use DeprecationStatus::Stable as the default instead of shadowing
* change wording of deprecations
* chore: also deprecate kWebviewTag and kContextIsolation
* chore: do as we preach, lets be secure-by-default in the default app
2018-08-29 13:14:04 -05:00
Milan Burda
c8030a0f2a
feat: support chrome:// URLs in default_app ( #13575 )
2018-07-17 17:23:44 +10:00
Samuel Attard
12fcac59a2
refactor: clean up the default app, add CSP ( #13437 )
...
* refactor: clean up the default app, add CSP
* chore: appease the linter
* refactor: make js2asar more generic, dont assume default_app as target
2018-07-17 10:26:58 +10:00
simurai
0f54e56389
Replace default_app icon
2017-12-07 16:10:45 -05:00
Felix Rieseberg
f81bfb7b86
🔧 Fix style issues
2017-11-23 13:42:48 -08:00
Ronald Eddy
14c6e78147
Update electron.atom.io -> electronjs.org
...
Update electron.atom.io -> electronjs.org to reduce redirects and speed navigation.
2017-11-19 04:01:33 -08:00
Felix Rieseberg
ae960027f2
🔧 Bring back —abi
2017-11-10 14:58:21 -08:00
Felix Rieseberg
c38f66cc1b
🔧 Ensure that -r isn’t considered interactive
2017-10-24 17:00:42 -07:00
Shelley Vohr
bedb8ca191
remove potential deprecation and fix app close
2017-10-07 01:03:54 -04:00
Shelley Vohr
a45b1625fc
remove newline and add deprecation warning
2017-10-06 23:29:54 -04:00
Zeke Sikelianos
e8ec1a6ed4
add utm source to outbound links
2017-09-29 12:31:17 -07:00
Zeke Sikelianos
bf2b6b3ac4
fix link behavior
2017-09-29 12:26:03 -07:00
Zeke Sikelianos
56581b416d
improve command prompt styles
2017-09-29 12:13:31 -07:00
Zeke Sikelianos
a2f178b664
fix octicon alignment
2017-09-29 12:03:28 -07:00
Zeke Sikelianos
01ca3ae07f
make nav link text clickable
2017-09-29 12:03:12 -07:00
Zeke Sikelianos
cc6803b358
remove unused styles
2017-09-29 11:35:39 -07:00
Zeke Sikelianos
33394f76d4
make styles more consistent with website
2017-09-29 11:35:22 -07:00
Zeke Sikelianos
f0048d54b0
make it roomy
2017-09-29 11:34:48 -07:00
Zeke Sikelianos
9db9ffd3e4
chrome -> chromium
2017-09-29 10:41:48 -07:00
Zeke Sikelianos
0ca53420d5
use relative path to electron
2017-09-29 10:41:20 -07:00
Shelley Vohr
2915617c5c
dear god never run beautifier again
2017-09-28 00:10:52 -04:00
Shelley Vohr
0f34967648
redesign and add versions/links
2017-09-27 23:51:53 -04:00
Shelley Vohr
24913a5ef9
remove drag functions
2017-09-27 14:50:46 -04:00
Shelley Vohr
2289d085fa
first pass at reorganizing default usage
2017-09-27 14:23:42 -04:00
Kevin Sawicki
ca5a8b6166
Extract script tags to renderer.js file
2017-04-25 08:27:57 -07:00
Kevin Sawicki
5f038cb3cb
Don't use document.write in default app
2017-04-24 08:57:10 -07:00
Cheng Zhao
ab83aa0bfd
docs: Multithreading
2017-03-20 12:52:46 -07:00
Zeke Sikelianos
166bf7ab8c
link to default docs URL from default app nav
2017-02-28 21:21:34 -08:00
Zeke Sikelianos
69f0cb26e7
use https for all Electron website URLs
2017-02-28 21:19:55 -08:00
Kevin Sawicki
fb08f56fc8
Add forcereload menu item role
2017-02-03 09:39:41 -08:00
Kevin Sawicki
88959079bd
Add toggledevtools menu item role
2016-11-17 10:57:20 -08:00
Kevin Sawicki
0698b5f1be
Add reload menu item role
2016-11-17 10:57:20 -08:00
Kevin Sawicki
7bc45c328b
Use const instead of var
2016-09-06 11:58:06 -07:00