1
0
mirror of https://github.com/jiahaog/Nativefier synced 2024-06-30 08:10:49 +02:00
Commit Graph

112 Commits

Author SHA1 Message Date
omouren
1c8d04e532 Fix #486 : --tray flag crashes nativefied app under Windows (PR #495) 2017-11-25 23:27:19 -05:00
Ronan Jouchet
8963544afa
Fix #462 - When minimized to tray and single-instance, re-running the app should activate and focus it (#490) 2017-11-24 10:31:08 -05:00
Ronan Jouchet
6fb3b92eb8
Upgrade dependencies and default to latest Electron 1.7.9 (PR #483)
* Update deps except eslint
* Update eslint and lint:fix (WIP, needs manual fixing for remaining 44 problems)
* Manually fix remaining eslint errors
* Document deprecation of `version-string` as of electron-packager 9.0.0
* Upgrade to Electron 1.7.9 (chrome-58, node-7.9.0, v8-5.8)
* npm: Disable generation of package-lock.json and gitignore it
  --Trying this, package-lock is a pain in PRs. May not be a good idea
  (obviously we lose deps pinning), will revert if necessary.--
* npm tasks: add dev-up-win for Windows developers,
  and e2e for end-to-end tests. Update docs.
* Move normalizeUrl test to a jest unit test, makes no sense to be in the mocha e2e tests
* Switch from babel-preset-es2015 to babel-preset-env,
  with target.node=4.0. Seem like it's today's most convenient
  way to support the latest ES and let babel transpile to what
  makes sense for our currently minimal node version
2017-11-14 08:05:01 -05:00
omouren
885790bc22 Fix #304 - Add --tray CLI flag to let app running in background on window close. Supports in-title counter. (#457) 2017-10-05 19:32:48 -04:00
Devin Buhl
4c581f9067 Fix #275 - Add HTTP --basic-auth-{username,password} CLI flags (#444) 2017-10-05 18:44:03 -04:00
Sayed Hadi Hashemi
84dcde9d5b Fix #404: Add 'Paste and Match Style' to Edit Menu (#447) 2017-10-03 11:51:34 -04:00
Bob Roth
c9d2040327 Allow nativefier to set process.env variables (#419) 2017-08-16 10:20:43 -04:00
Lukas Kurucz
094cac23bc Make title counter regex match '+' after number, used by certain sites (#424) 2017-08-13 21:22:15 -04:00
Brian Blakely
1f07f148c6 Force fullscreen when options.fullScreen is true (#403)
Fixes #402, as electron-window-state does not appear to remember fullscreen in all cases.
2017-08-06 20:01:34 -04:00
Bob Roth
6ed2bd0672 fixes issue #353: missing companyName in crashReporter.start (#417) 2017-07-21 15:55:39 -04:00
David Pacheco
38825e8b71 Add options (--ignore-gpu-blacklist and --enable-es3-apis) to allow for WebGl apps to work on legacy or unsupported graphics cards by Chrome (#410) 2017-07-13 12:23:07 -04:00
romo-dw
ab435ee5a6 Add support for --disk-cache-size Electron flag (PR #400) 2017-07-05 09:07:31 -04:00
Jia Hao Goh
8f78dd03af Update eslint and use Airbnb style
- Add `npm run lint:fix` command
- Cleanup inferIcon.js logic slightly
2017-04-29 22:52:12 +08:00
Ronan Jouchet
bbce1e88d4 Fix #253 - Better honor --zoom option. (#347)
* When zooming in/out, start from the options zoom, not 1 (don't jump)
* Add 'Zoom Reset' feature bound to Ctrl+0, with indicative label for non-100% zoom value
2017-04-19 07:47:54 -04:00
Krzysztof Zbiciński
da637ebf73 Add --single-instance switch (#323) 2017-04-09 22:02:49 -04:00
Roman Masyhar
df585cbe59 Rename 'Open in default browser' contextMenu to 'Open with default browser' (#338)
`Open with` more popular and familiar rather than `Open in`
2017-04-07 22:28:35 -04:00
Goh Jia Hao
1286372f95 Add editorconfig to trim trailing whitespace 2016-10-09 19:05:43 +08:00
Goh Jia Hao
2529153ca1 Use let instead of const 2016-10-09 14:16:44 +08:00
Goh Jia Hao
d26d5b9bbe Merge branch 'patch-1' of https://github.com/ronjouch/nativefier into ronjouch-patch-1 2016-10-09 14:15:00 +08:00
Goh Jia Hao
b85bde4963 Merge branch 'development' of https://github.com/thomsbg/nativefier into thomsbg-development
# Conflicts:
#	app/src/main.js
2016-10-09 14:01:02 +08:00
Goh Jia Hao
f63f2e9e2b Merge branch 'master' into development
- Pull request was accidentally merged into master
2016-10-09 13:52:50 +08:00
Ronan Jouchet
a42554fe1d Fix context menu actions broken on <a> elements containing nested markup
Test case: open nativefier on

```html
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>Test</title>
</head>
<body>
  <a href="https://google.com/">Google</a>
  <br>
  <a href="https://google.com/"><span>Google, in span</span></a>
</body>
</html>
```

* **Expected**: both links open in default browser
* **Actual under nativefier 7.0.1**: Nothing happens when clicking the second link in which the `<a>` contains a `<span>`
2016-09-29 14:10:28 -04:00
Blake Thomson
f3293502a7 Fix badge notifications 2016-09-07 17:44:59 -07:00
Lex Neva
9243f6689f add "copy link location" and "--internal-urls <regex>" features (#230)
* add arg to specify pattern for urls to be considered internal

* add 'copy link location' to context menu

* fix lint
2016-08-07 02:03:53 +08:00
Mats Högberg
a407b9ea52 Added a --zoom option for setting default zoom (#218)
* Added a --zoom option for setting initial zoom

* Added information about --zoom to documentation
2016-07-12 09:32:40 +08:00
Jia Hao
612da8ce36 Fix/performance issues with FOUC (#214)
Fix/performance issues with FOUC #191
2016-06-16 15:28:36 +08:00
Goh Jia Hao
f262252ade Implement downloading of files
- Fixes #185
2016-05-26 22:50:40 +08:00
Goh Jia Hao
a70433959b Refactor to use ES6 imports for electron modules 2016-05-26 22:50:15 +08:00
Goh Jia Hao
1de9eec356 Implement disabling of developer tools
- Partially addresses #194
2016-05-26 18:02:43 +08:00
Goh Jia Hao
537dc01fd1 Fix linting errors 2016-05-26 18:01:33 +08:00
Goh Jia Hao
c3ae29a0ea Fix FOUC #159 2016-05-26 17:41:25 +08:00
Goh Jia Hao
7945f7802e Implement min/max window width and height
Fixes #82
2016-05-26 17:11:51 +08:00
Goh Jia Hao
fcab2a9a95 Update browserWindow options to follow new electron api
- Use camel casing instead
2016-05-26 16:52:26 +08:00
Goh Jia Hao
286e5bf7d6 Use destructuring for ES6 import 2016-05-26 16:51:07 +08:00
Jia Hao
9f3dfdc315 Merge pull request #202 from lexelby/fix-slowdown
Fix deteriorated responsiveness #191 and polluted console #172
2016-05-08 14:26:40 +08:00
Lex Neva
52f7ea511d Revert "Fix FOUC with inject CSS files"
This reverts commit eeb661b6cd.

This was causing CSS to pile up over and over each time javascript did an HTTP request, which resulted in massive slowdown over time.
2016-05-06 09:22:43 -04:00
matthewdias
49ab72352e merge upstream, reverse default 2016-04-25 17:09:01 -05:00
Alexandr Priezzhev
f5d6980bfe Merge with upstream/development 2016-04-17 23:33:08 +02:00
Jia Hao
810d282ede Merge pull request #187 from janjongboom/disable_context_menu
Add an option to disable the context menu
2016-04-17 12:55:01 +08:00
Alexandr Priezzhev
f7240fb748 Update mainWindow.js 2016-04-17 01:32:52 +02:00
Alexandr Priezzhev
2f769bdb82 Add an option to hide window frame 2016-04-17 00:56:40 +02:00
Jan Jongboom
ccdef6d5de Add an option to disable the context menu 2016-04-16 16:07:09 +02:00
Huy Hong
e6454ca7a0 Rebind 'Copy Current URL' to 'CmdOrCtrl+L' to mimic 'Open Location' in browsers 2016-04-08 14:10:24 -07:00
Jia Hao
404bab30c3 No longer enable flash by default
Flash should be enabled with `--flash`, which will also enable the `--insecure` flag
2016-03-26 15:06:50 +08:00
Jia Hao
d020d5d659 Fix mainWindow state not managed properly
Need to call manage `mainWindowState.manage(mainWindow)` immediately instead of at the end of `createMainWindow()`, if not certain changes such as maximizing the main window before it has been registered will not be saved.
2016-03-25 21:06:59 +08:00
Bogdan Begovic
39e2459aad Added option for maximization of main window ( #133 ) - Fixed linting errors 2016-03-22 18:16:34 +01:00
Bogdan Begovic
7351c61664 Added option for maximization of main window ( #133 ) 2016-03-22 18:09:21 +01:00
Marko Radak
eeb661b6cd Fix FOUC with inject CSS files 2016-03-14 07:39:41 +01:00
Jia Hao
8ef3137d02 Change eslint to disallow unused variables 2016-02-28 00:49:54 +08:00
Jia Hao
0ed5bd8c7b Fix #117 ENOENT when infering flash 2016-02-26 03:13:11 +08:00