Граф коммитов

37 Коммитов

Автор SHA1 Сообщение Дата
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 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
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
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
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
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
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
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 7bc45c328b Use const instead of var 2016-09-06 11:58:06 -07:00
Kevin Sawicki 8aee04bb24 Improve text and link contrast ratio 2016-07-08 11:31:00 -07:00
Kevin Sawicki a4754212dc Add lang attribute to html element 2016-07-08 11:26:22 -07:00
Cheng Zhao 0f52a6da39 Merge branch '1-0-release' 2016-05-11 15:14:56 +09:00
Steve Kinney b6fd4fed38 💄 Update default_app to ES6 conventions
Add space before object literal method
2016-05-07 08:18:22 -06:00
Cheng Zhao 28d12166fd Fix margin of elements in flex 2016-05-04 18:01:29 +09:00
Cheng Zhao 7074789011 Remove some unnecessary css rules 2016-05-04 18:01:29 +09:00
Cheng Zhao 5e73b0372d Make the drag box fill the remaining height of window 2016-05-04 18:01:29 +09:00
Kevin Sawicki b0dc7ff841 Remove header link hover color 2016-04-28 09:12:13 -07:00
Kevin Sawicki 80bece5640 Add links to nav bar 2016-04-28 09:12:13 -07:00
simurai 5995e3f400 Make drag&drop text wrap-able 2016-04-28 09:12:13 -07:00
simurai 3e4ecd6d6e Fix logo
So the inner dot is filled
2016-04-28 09:12:12 -07:00
Kevin Sawicki 6979ea7fda Use default cursor on holder area 2016-04-28 09:12:12 -07:00
Kevin Sawicki 068909dc03 Tweak header text color 2016-04-28 09:12:12 -07:00
Kevin Sawicki dd337640f5 🎨 2016-04-28 09:12:12 -07:00
Kevin Sawicki c6edab0950 Tweak link style 2016-04-28 09:12:12 -07:00
Kevin Sawicki 7e9d790070 Tweak font weight on holder div 2016-04-28 09:12:12 -07:00
Kevin Sawicki 54aa458ba4 Tweak font 2016-04-28 09:12:12 -07:00
Kevin Sawicki 09b036f07b Update header colors 2016-04-28 09:12:12 -07:00
Kevin Sawicki fc84c952f2 Update source code for new org 2016-04-04 12:07:22 -07:00
Kevin Sawicki c47ad29124 Move default_app to root of repo 2016-03-08 11:14:21 -08:00