2
2
mirror of https://github.com/Llewellynvdm/nativefier.git synced 2024-11-05 04:47:54 +00:00
Commit Graph

267 Commits

Author SHA1 Message Date
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
Jia Hao
d7859160eb Only set the title listener after the webview finishes loading 2015-07-06 11:45:55 +08:00
Jia Hao
4ddf10a108 Updated to support setting of window dimensions using the cli, and updated documentation 2015-07-06 10:31:09 +08:00
Jia Hao
80f1863b8b Implemented setting of badge configuration in the command line 2015-07-06 09:46:27 +08:00
Jia Hao
199b1423e5 Implemented mac app badge through listening for webview title changes 2015-07-06 09:38:04 +08:00
Jia Hao
46bb14ac2a Implemented opening of links in new window 2015-07-05 20:44:45 +08:00
Jia Hao
247345f203 Implemented selectAll, copy, cut, paste, undo keyboard shortcuts 2015-07-05 20:11:34 +08:00
Jia Hao
4495b26c92 Fixed enormous bug in not passing the app configuration properly 2015-07-05 16:43:32 +08:00
Jia Hao
140c444a96 Added documentation 2015-07-05 15:11:49 +08:00
Jia Hao
104821b759 Initial commit 2015-07-05 14:08:13 +08:00