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
Goh Jia Hao
33fe71a855
Add package-lock for npm
...
This fixes dependency issues that were experienced in notably #425 and
other master commits I've tried to restart on 12/08/17
2017-08-12 11:34:48 +08: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
Ronan Jouchet
be4b9a7436
Fix #327 - Update dependencies (except eslint), default to Electron 1.6.6 ( #341 )
2017-04-18 17:30: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
Goh Jia Hao
c91def53af
Fix placeholder for electron app to google
2016-05-26 16:50:42 +08:00
Goh Jia Hao
6fd275f063
Update default electron version to v1.0.2
2016-05-13 12:51:05 +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
99fcb60a44
Split gulpfile into multiple parts
2016-02-28 00:45:44 +08:00
Jia Hao
0ed5bd8c7b
Fix #117 ENOENT when infering flash
2016-02-26 03:13:11 +08:00
Jia Hao
31ee80f84f
Implement command line flag to start app in full screen, resolves #109
2016-02-25 18:26:28 +08:00
Jia Hao
9b3de78d37
Fix bug where css is always injected
2016-02-25 15:25:14 +08:00
Jia Hao
e1426b849a
Implement injection of css
2016-02-25 14:56:32 +08:00
Jia Hao
4d49c01ff3
Implement injection of .js
2016-02-25 14:11:48 +08:00
Jia Hao
6faba7da42
Refactor menu arguments into options
2016-02-25 10:37:06 +08:00
Jia Hao
875149bcf7
Merge pull request #149 from garymoon/development
...
Make app data folder consistent per URL and allow clearing of app data from menu
2016-02-25 09:54:10 +08:00
Gary Moon
ce76d0be7f
add mainWindow and options objects to createMenu args and refactor
2016-02-24 09:45:22 -05:00
Gary Moon
546bad7035
remove clear cache menu item
2016-02-24 09:44:39 -05:00
Gary Moon
df6f958904
Fix linter errors
2016-02-23 19:14:11 -05:00
Gary Moon
e4a4476e35
Added clear app data and clear cache options
2016-02-23 18:19:52 -05:00
Jia Hao
1b0351cd01
Change flag usage
...
- `--ignore-certificate` to ignore invalid certificate errors,
- `--insecure` to disable web security to allow mixed content
2016-02-23 21:31:47 +08:00
Jia Hao
7bfa42ef71
Merge branch 'development' into feature/flash
...
# Conflicts:
# README.md
# src/build/buildApp.js
# src/cli.js
# src/options/optionsMain.js
2016-02-23 21:13:20 +08:00
Jia Hao
ba071cf5a8
Fix escaped string
2016-02-23 17:21:09 +08:00
Jia Hao
6ca4e794cd
Implement rudimentary inferment of flash
2016-02-23 16:46:14 +08:00
Benjamin Wiederkehr
dc51407ccb
Added option to disable web security.
2016-02-22 21:33:33 +01:00
Jia Hao
fa347cc8b0
Revert "flash support #2 "
...
Former-commit-id: 03d7d2df2cbc6f3075491e5dd2e6d48d759f4beb
2016-02-06 01:12:30 +08:00
Jia Hao
add30d5a80
Merge pull request #79 from brunoqueiros/flash_support
...
flash support #2
Former-commit-id: b0672ef48c8431c7480b9b3185ed231c23179398
2016-02-06 01:06:35 +08:00
Jia Hao
99278cfa49
Temporarily undo linux tray to fix other bugs
2016-02-02 23:15:07 +08:00
Jia Hao
81f83ec0ef
Merge pull request #110 from zweicoder/feature/tray
...
Feature/tray
2016-01-31 21:58:47 +08:00
Robert Swain
d386598770
counter: Allow for [x] and {x} forms of notification count
2016-01-30 16:42:08 +01:00
zweicoder
494aa06685
Satisfy Travis
2016-01-30 12:27:00 +08:00
zweicoder
97425f9ab5
Fix incorrect defaults for minimizeToTray option
2016-01-30 12:11:29 +08:00
zweicoder
e54e108ce2
Remove log
2016-01-30 12:06:14 +08:00
zweicoder
a910914aa4
Fix Window closing behavior
2016-01-30 12:03:40 +08:00
zweicoder
0c9d6312a4
Fix app not hiding and add quit option
2016-01-30 11:03:38 +08:00
zweicoder
e184aa13ae
Add tray icon with hardcoded default icon.
2016-01-30 11:03:38 +08:00
zweicoder
7273a63885
Refactorize hardcoded icon path to main.js for more general usage
2016-01-30 11:03:38 +08:00
Jia Hao
52c518f4b7
Merge branch 'development' of https://github.com/krishkumar/nativefier into krishkumar-development
...
- #90 Add keyboard shortcuts for back, forward
2016-01-30 02:13:10 +08:00
Jia Hao
8f06c555e5
Don't modify the window title
2016-01-30 00:30:25 +08:00
Jia Hao
b2e05c925b
Use ES6 syntax for placeholder app
2016-01-29 22:04:41 +08:00
Jia Hao
0d408b001d
Fix #103 App name should not be capitalized
2016-01-29 00:20:32 +08:00
Jia Hao
1174cbc28c
Cleanup
2016-01-28 11:47:40 +08:00
krishkumar
6f98248a60
Add keyboard shortcut for back, forward
2016-01-26 12:25:02 +05:30
Jia Hao
d0cddfde43
Make Browserwindow always reference app/icon.png
for the icon
2016-01-26 14:13:33 +08:00
Jia Hao
d74c368627
Add command line flag to make the packaged app ignore certificate errors, fixes #69
2016-01-25 23:42:28 +08:00
Bruno Queiros
ea3945a836
flash support #2
...
Former-commit-id: b83223d4c9a9e6fb52e5f2f78fce144cbea3be3a
2016-01-25 10:44:10 -02:00
Jia Hao
78a624c23f
Fix #32 Ability to copy and paste a URL
2016-01-25 18:34:44 +08:00
Jia Hao
d8fb87ccb5
Implement support for clicking buttons so that users can control where links open as referenced in #73
2016-01-25 16:49:11 +08:00
Jia Hao
949fce5e3c
Implement right click context menu for regular href links
2016-01-25 15:56:33 +08:00
Jia Hao
b7e2fbf86e
Add sourcemaps support for placeholder app
2016-01-24 21:20:29 +08:00
Jia Hao
00ddedf32d
Fix invalid json
2016-01-24 21:17:56 +08:00
Jia Hao
e86119ba96
Merge branch 'feature/show-menu-bar' of https://github.com/fearenales/nativefier into fearenales-feature/show-menu-bar
...
# Conflicts:
# app/nativefier.json
# app/src/main.js
# src/buildApp.js
2016-01-24 15:24:27 +08:00
Jia Hao
82c29de231
Lint all files
2016-01-24 02:02:23 +08:00
Jia Hao
9b3fd029c1
Merge branch 'feature/window-state-manager' of https://github.com/zweicoder/nativefier into zweicoder-feature/window-state-manager
...
# Conflicts:
# app/src/components/mainWindow/mainWindow.js
# app/src/main.js
2016-01-23 16:29:36 +08:00
zweicoder
f0d1adb6b0
Add icon hotfix
2016-01-23 15:37:45 +08:00
zweicoder
c77dfe5f27
Remove log
2016-01-23 15:22:25 +08:00
zweicoder
b6862d0c06
Merge branch 'upstream' into feature/window-state-manager
2016-01-23 15:20:21 +08:00
Jia Hao
c143b3b461
Fix error with badge on non-osx systems
...
- Instead of checking every instance we use the setBadge, we define an empty function and only override it if it is OSX
2016-01-23 15:12:53 +08:00
zweicoder
26ce134de8
Fix obsession with Mac
2016-01-23 15:10:02 +08:00
zweicoder
1685407e7a
Integrate window state manager with BrowserWindow
2016-01-23 14:52:13 +08:00
Jia Hao
40da693cb5
Fix #59 Fullscreen goes to a black screen when clicking close
2016-01-23 14:47:32 +08:00
zweicoder
9ac18e071e
Implement Electron Window State Manager
2016-01-23 14:33:55 +08:00
Jia Hao
aa384dc317
Set window title immediately when the window is created, fixes #54
2016-01-23 14:22:03 +08:00
Jia Hao
e0de7bf463
Implement navigating backward and forward from the application menu
2016-01-23 14:15:25 +08:00
Jia Hao
264037a867
Merge branch 'refactor/splitcomponents'
...
- Merge in gulp dev envirnoment
- Zoom functionality
- Split app into multiple components
2016-01-23 13:43:33 +08:00
Jia Hao
07acbced3e
Cleanup notification integration #360
2016-01-23 13:32:20 +08:00
Jia Hao
3347f30c7e
Add es6 support for app, update npm scripts for gulp and cleanup
...
- Remove random console.log statements
- Remove unused dependencies
2016-01-23 12:42:09 +08:00
Jia Hao
ddd728bd81
Implement gulp webpack to build app
2016-01-23 11:47:28 +08:00
Jia Hao
9c0e65e89f
Merge branch 'master' into refactor/splitcomponents
2016-01-23 10:22:22 +08:00
Jia Hao
90ee346914
Refactor main.js into separate files, and put static files such as preload and login.html into app/src/static
2016-01-23 10:09:47 +08:00
Jia Hao
0e68fd61dc
Implement changing of zoom which fixes #17
...
- Take note that the keyboard shortcut for zoom in appears to be 'command + =', due to a bug in atom/electron#1507
2016-01-23 09:27:09 +08:00
Contra
9393f863e2
clean up
2016-01-22 10:48:04 -08:00
Contra
f75382d635
add monkeypatching notification support
2016-01-22 10:44:42 -08:00
Jia Hao
bd6fedc0ef
Workaround for windows mkdir -p
, fixes #57
...
- Add a placeholder to keep the `app/lib` directory
- Remove `mkdir -p` postinstall script
2016-01-22 23:27:12 +08:00
Felipe Arenales
329d82a18c
Hiding menu bar by default
2016-01-22 12:47:56 -02:00
Jia Hao
5c204eec77
Cleanup app files and directories
...
- All source files are now in `src` and will be compiled and copied over to `lib` on `npm run build-app`
- Add logging of `appArgs` in preload on startup
- Use node `path` module to resolve pathnames instead of concatenating strings together
2016-01-22 19:57:39 +08:00
Jia Hao
2f67eaf99d
Fix bug in invalid parameter for link in default browser
2016-01-22 18:04:02 +08:00
Jia Hao
1f44e93659
Use browserify to precompile app npm modules
2016-01-22 18:03:35 +08:00
Jia Hao
59e9f6e104
Implement counter which closes #33 , thanks to @jfouchard
2016-01-22 11:35:05 +08:00
Jia Hao
cee171c481
Hotfix to fix #44
2016-01-22 09:45:21 +08:00
Jia Hao
6f5b78dc09
Remove wurl node modules
2016-01-22 09:42:53 +08:00
Jia Hao
1c644fd642
Minor style changes
2016-01-22 03:26:01 +08:00
Jia Hao
f877928354
Complete implementation of http authentication, fixes #19
2016-01-22 03:25:23 +08:00
Jia Hao
7ef855a297
Implement basic http authentication
2016-01-22 02:39:52 +08:00
Jia Hao
5cb20e9244
Implement authentication that requires a new window to be opened referenced in #19
...
- Issue https://github.com/jiahaog/nativefier/issues/19#issuecomment-173364234
- When a link that requests a new window is clicked, the app will check if the link is an external link. If so, the default desktop browser (Chrome, Safari etc.) will be opened. Otherwise, a new Electron BrowserWindow will be opened, which supports the use case of logging in to OAuth websites such as feedly.com
2016-01-22 02:05:50 +08:00
Jia Hao
1a79048d76
Remove unused html and css after refactor to use browserwindow url directly
2016-01-22 01:33:34 +08:00
Jia Hao
7a00fd8533
Remove use of webview
tag and instead rely on browser window
2016-01-22 01:32:21 +08:00
Jia Hao
e8a7c634cd
Remove "About Electron" from app menu, add nativefier version to help, which fixes #18
...
Also refactor buildMenu function arguments
2016-01-21 13:42:27 +08:00
Jia Hao
5bceb97775
Hide app instead of exiting on OSX to fix #14
2016-01-21 12:25:33 +08:00
Jia Hao
877ee060f6
Update deprecated electron loadUrl usage
...
Remove crash reporter
Remove commented code
2016-01-21 11:30:37 +08:00
Jia Hao
981c176894
Hide the webview until it finishes loading
2016-01-19 21:55:50 +08:00
Jia Hao
ded8397dd3
Add loading spinner
2016-01-19 20:51:26 +08:00
Jia Hao
b4be8e37a6
Fix bug where shell
is not imported, and add links to github repo
2016-01-19 20:33:25 +08:00
Jia Hao
9c9fe59ed7
Remove flag to show dev tools
2016-01-19 20:28:58 +08:00
Jia Hao
c7e0242852
Implement opening of web view dev tools from menu
2016-01-19 20:26:19 +08:00
Jia Hao
19bfce4191
Add template nativefier.json
for debugging use
2016-01-19 19:53:59 +08:00
Jia Hao
d01780a613
Implement basic application menu with shortcuts which supersedes mousetrap
2016-01-19 19:53:10 +08:00
Jia Hao
b9d0f70580
Dev tools should show for the webview
instead of the main browser window
2016-01-19 18:24:24 +08:00
Jia Hao
b5ed2277bd
Use event dom-ready
just like example in docs http://electron.atom.io/docs/v0.36.4/api/web-view-tag/
2016-01-19 18:21:14 +08:00
Jia Hao
53383ebae7
Only attempt to change user agent if it is provided as an argument
2016-01-19 18:18:43 +08:00
Jia Hao
5adf7b9297
Fix #8 user agent issue
...
The user agent needs to be set for the `<webview>` instead of for the `mainWindow`
2016-01-19 18:06:20 +08:00
Jia Hao
8ad805d820
Make package.json valid
2016-01-19 18:04:49 +08:00
Jia Hao
d2733c4cb0
Change name for config file to nativefier.json
2016-01-19 11:45:17 +08:00
Jia Hao
1f31d06a85
Implement command line flag to show developer tools
2016-01-19 11:42:52 +08:00
Jia Hao
48345eceb5
Implement setting of user agent to fix #8
2016-01-19 11:30:42 +08:00
Jia Hao
fb4a99a872
Implement electron API changes for requiring module as per http://blog.atom.io/2015/11/17/electron-api-changes.html
2016-01-19 11:28:04 +08:00
Jia Hao
63df4f0283
MIT License
2016-01-19 11:25:54 +08:00
Jia Hao
73f56e0ebb
Add new line
2016-01-19 11:23:52 +08:00
Guilherme Pacheco
5adf9d3a5d
Prevent call to setBadge when not on OSX
2015-08-06 00:34:32 -03:00
Jia Hao
619e8c60b9
Quit app when all windows are closed
2015-07-06 11:46:08 +08:00