Commit Graph

48 Commits

Author SHA1 Message Date
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
Bob Roth c9d2040327 Allow nativefier to set process.env variables (#419) 2017-08-16 10:20:43 -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
Krzysztof Zbiciński da637ebf73 Add --single-instance switch (#323) 2017-04-09 22:02:49 -04: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
Blake Thomson f3293502a7 Fix badge notifications 2016-09-07 17:44:59 -07: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
matthewdias 49ab72352e merge upstream, reverse default 2016-04-25 17:09:01 -05: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 8ef3137d02 Change eslint to disallow unused variables 2016-02-28 00:49:54 +08: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 6ca4e794cd Implement rudimentary inferment of flash 2016-02-23 16:46:14 +08:00
Jia Hao fa347cc8b0 Revert "flash support #2"
Former-commit-id: 03d7d2df2c
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: b0672ef48c
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
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 b2e05c925b Use ES6 syntax for placeholder app 2016-01-29 22:04:41 +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: b83223d4c9
2016-01-25 10:44:10 -02:00
Jia Hao b7e2fbf86e Add sourcemaps support for placeholder app 2016-01-24 21:20:29 +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 c77dfe5f27 Remove log 2016-01-23 15:22:25 +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
zweicoder 9ac18e071e Implement Electron Window State Manager 2016-01-23 14:33:55 +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 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 f75382d635 add monkeypatching notification support 2016-01-22 10:44:42 -08: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