1
0
mirror of https://github.com/jiahaog/Nativefier synced 2024-06-27 07:45:03 +02:00
Commit Graph

266 Commits

Author SHA1 Message Date
Jia Hao
18387854fa Ignore screenshots 2016-01-22 20:49:15 +08:00
Jia Hao
b2171a68f4 Merge branch 'feature/app-build' 2016-01-22 19:58:36 +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
Jia Hao
c1f844f072 Fix invalid argument in build app
- Fix `--detect-globals` which was causing `__dirname` to be a constant
- Add `cp` of preload script from `src` to `lib`
2016-01-22 19:54:40 +08:00
Jia Hao
263d713177 6.5.4 2016-01-22 19:07:38 +08:00
Jia Hao
398d8fac4f Update changelog for v6.5.4 2016-01-22 19:07:16 +08:00
Jia Hao
d7f04e8b65 Fix #46 Url is not defined 2016-01-22 19:05:42 +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
f789a51dd2 Update Readme 2016-01-22 12:31:30 +08:00
Jia Hao
a6e580aa0a Override user agent by default,
- Remove `--pretend` flag. Pass `--honest` instead to disable the fake user agent
2016-01-22 11:59:57 +08:00
Jia Hao
59e9f6e104 Implement counter which closes #33, thanks to @jfouchard 2016-01-22 11:35:05 +08:00
Jia Hao
4a8ab13622 Improve automatic retrieval of app name by faking a user agent to make the request 2016-01-22 10:47:53 +08:00
Jia Hao
12c85af1a2 6.5.3 2016-01-22 10:17:12 +08:00
Jia Hao
dac28bf665 6.5.2 2016-01-22 10:17:06 +08:00
Jia Hao
7b7ebfde99 6.5.1 2016-01-22 09:45:49 +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
a85c85f74d Merge pull request #26 from kmelia/master
Add the missing http://
2016-01-22 07:48:47 +07:00
Jia Hao
c39e66646a Authentication support 2016-01-22 08:47:30 +08:00
Jia Hao
0177725dee Update changelog for 6.5.0 2016-01-22 08:46:51 +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
871c2c66aa Add script for easy rebuilding of an OAuth app 2016-01-22 00:06:28 +08:00
Maxime
c75bfa9755 Add the missing http:// 2016-01-21 09:27:18 +01:00
Jia Hao
76975c18c9 6.4.0 2016-01-21 13:46:07 +08:00
Jia Hao
663c633938 Add changelog 2016-01-21 13:45:59 +08:00
Jia Hao
e723d59f25 Make debug script automatically open the packaged app on OSX 2016-01-21 13:43:12 +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
82317a08d3 Implement --pretend flag to easily simulate user agent strings, fixes #11 2016-01-21 12:53:12 +08:00
Jia Hao
14a4846c1a Merge branch 'master' of github.com:jiahaog/nativefier 2016-01-21 12:27:44 +08:00
Jia Hao
f6488149f0 Fix bug in error when response is undefined 2016-01-21 12:27:20 +08:00
Jia Hao
c097fe767c Add helper scripts to debug easily 2016-01-21 12:26:05 +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
16dab25321 Merge pull request #20 from mattchue/master
Allow intranet URLs
2016-01-21 08:33:08 +07:00
Jia Hao
add0c8a19a Merge pull request #25 from PoziWorld/patch-1
Minor copy fixes
2016-01-21 08:18:55 +07:00
Jia Hao
673851202f Merge pull request #24 from himynameisdave/master
Fixes the issue with "/"'s in the page title
2016-01-21 08:17:33 +07:00
Jia Hao
7bfedc823b Make app resource folder contain a short id string, fix #21 2016-01-21 09:06:04 +08:00
PoziWorld
f9e9c16d58 Minor copy fixes
an native desktop app => a native desktop app
can built => can be built
2016-01-20 14:55:40 -08:00
dlunny
64b4f8b2a5 Fixes the issue with "/"'s in the page title
This commit resolves an bug where the page title would cause a filepaths
issue due to it having a forward slash.

The code committed here uses a simple regular expression to find all
instances of forward slashes in the page title and replace them with an
empty string.

Resolves #22

For more on this, please see:
https://github.com/jiahaog/nativefier/issues/22
2016-01-20 16:54:54 -05:00
Jia Hao
762de5f1c8 Update documentation, no longer need to add the full url with the protocol
Fixes #13
2016-01-21 01:22:22 +08:00
Matt Prestlien
9ceb46cb89 Fix wrong bool
Small correction
2016-01-20 08:57:51 -08:00
Matt Prestlien
a65bf351bc Allow intranet URLs
This could be a great way to package intranet applications into electron apps. Added `require_tld` validator config setting to allow those intranet locations without a TLD to be packaged.
2016-01-20 08:54:05 -08:00
Jia Hao
0786ae5449 Update readme 2016-01-19 22:02:01 +08:00
Jia Hao
981c176894 Hide the webview until it finishes loading 2016-01-19 21:55:50 +08:00