2
2
mirror of https://github.com/Llewellynvdm/nativefier.git synced 2024-11-18 02:25:12 +00:00
Commit Graph

957 Commits

Author SHA1 Message Date
Jia Hao Goh
bc594e24e6 Add jq to docs as release dependency 2017-05-21 20:42:36 +08:00
Tobias Schneck
95cc30983b Run Nativefier with Docker (#311)
TODO: windows are currently not possible, because of non 64-bit version of `node-rcedit`, see https://github.com/electron/node-rcedit/issues/22. Also there is currently no 32-bit alpine package for wine, what possible solve this image.
2017-05-19 21:21:16 +08:00
Jia Hao
f7881a246b Add hound config (#369)
Make hound use eslint
2017-05-19 21:03:02 +08:00
Jia Hao Goh
f91b2ba43d Fix bug resolving promises
When a explicit argument is passed for `--icon` or `--user-agent`, the
promise chain will fail because we do not return a resolved promise.
2017-05-19 20:50:09 +08:00
Jia Hao Goh
0f0df27133 Add codeclimate config 2017-05-07 16:02:30 +08:00
Jia Hao Goh
1505933826 Promisfy and parallelise config, add unit tests
Instead of optionsMain exporting an async function, this commit changes
it to return a promise instead. We split all the needed async
helpers for this config builder into smaller promises, in `src/options/*`. Another side
effect of this is that we perform all our async config inferring in
parallel, which speeds up the nativefier CLI.

Add proper unit tests as well for all of these promises. Switch to
Jest for these unit tests, and we are temporarily running both Jest and
mocha together in `npm test`. To refactor all the Mocha code to use Jest in
a future commit.
2017-05-07 15:49:15 +08:00
Matt Harris
10eaa53b26 Add ARM build support (#360) 2017-05-06 15:11:51 -04:00
Alex Ryan
fc4cfc51bd Add entry for hide-window-frame to Table of Contents in api.md (#357) 2017-05-03 07:33:22 -04:00
Jia Hao Goh
68b0c0ac27 Only release to NPM on one job 2017-04-30 03:10:01 +08:00
Jia Hao Goh
18cf90809f Remove quotes around changelog version 2017-04-30 02:54:47 +08:00
Jia Hao Goh
561eadba54 Update changelog for v7.3.1 2017-04-30 02:51:18 +08:00
Jia Hao Goh
a6d8ff8d6a Add script to update version and changelog 2017-04-30 02:50:07 +08:00
Jia Hao Goh
7a13892b3a Update changelog for 7.3.0 2017-04-30 00:54:15 +08:00
Jia Hao Goh
20fc09799b Remove Windows tests
We don't want to install wine on travis, as it slows down the whole CI
process.

We also shouldn't be testing if we can build the electron app,
and instead our unit tests should test that we pass the correct
parameters to electron packager.

TODO ^
2017-04-30 00:41:15 +08:00
Jia Hao Goh
28e1e9ee40 Cleanup travis config 2017-04-30 00:39:59 +08: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
Darren Haken
461c7a38f0 Change Mocha to not need a babel build to run (#349)
* Change Mocha to not need a babel build to run

- Also add tests around normalizeUrl

* PR 359 Apply changes due to comments

- Remove babelrc as its in the package.json
- Change tdd npm task to use gulp
- Remove source map support file from import list for normalizeUrlSpec
- Change gulp tdd task to run mocha on first run
 359 Apply changes due to comments

 - Remove babelrc as its in the package.json
 - Change tdd npm task to use gulp
 - Remove source map support file from import list for normalizeUrlSpec
 - Change gulp tdd task to run mocha on first run
 359 Apply changes due to comments

 - Remove babelrc as its in the package.json
 - Change tdd npm task to use gulp
 - Remove source map support file from import list for normalizeUrlSpec
 - Change gulp tdd task to run mocha on first run
2017-04-25 16:04:57 +01:00
Jia Hao Goh
b467ac7a51 Promisify inferTitle module
Also remove the request dependency, use Axios instead
2017-04-21 00:24:48 +08:00
Jia Hao Goh
eeaa531083 Add autodeploy to NPM on tag
Removing the development branch, we want to use GitHub releases to
autodeploy our changes to NPM.
2017-04-20 10:10:40 +08:00
Jia Hao Goh
34f91c0a20 7.2.0 2017-04-20 01:33:18 +08:00
Jia Hao Goh
1706d2acf1 Update changelog for v7.2.0 2017-04-20 01:32:33 +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
Ronan Jouchet
f4f74224de Fix #308 - Allow mDNS addresses (ending with 'local.') during URL validation (#346) 2017-04-18 17:30:00 -04:00
Ronan Jouchet
a09ae9fe4e CLI help: clarify --inject supports both JS & CSS (#340) 2017-04-16 17:19:03 +01:00
Ronan Jouchet
25eada1fd5 Cleanup 7.1.0 changelog (#339)
Removing duplicate entries, separate new features as such, order by features>fixes>rest
2017-04-16 17:16:09 +01:00
Krzysztof Zbiciński
da637ebf73 Add --single-instance switch (#323) 2017-04-09 22:02:49 -04:00
Roman Masyhar
f633eca5ae Remove duplicate dependencies (#337) 2017-04-09 21:39:42 -04:00
Jia Hao Goh
36e34c95a5 Remove $ from docs
This allows shell commands to be copy and pasted easily
2017-04-09 10:36:27 +08:00
Jia Hao Goh
1658db53a6 Document minimum macOS version in docs 2017-04-09 10:35:46 +08:00
Lucas Caton
7512701a50 Replace OSX with macOS in README (#331) 2017-04-07 22:29:38 -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
Jia Hao Goh
a540326237 7.1.0 2017-04-07 01:13:58 +08:00
Jia Hao Goh
dbc39a0d56 Update changelog for v7.1.0 2017-04-07 01:13:32 +08:00
Callum Macdonald
e83ffcd481 Use absolute link to changelog 2017-02-12 23:39:44 +08:00
Pierre-Yves
5f848a57da Reorder confusing documentation for dev
https://github.com/jiahaog/nativefier/issues/290
https://github.com/jiahaog/nativefier/issues/286
2017-02-12 23:38:39 +08:00
Andrew Murray
ef45732142 Fix typo in changelog (#269) 2016-10-09 19:28:50 +08:00
Goh Jia Hao
1286372f95 Add editorconfig to trim trailing whitespace 2016-10-09 19:05:43 +08:00
Goh Jia Hao
c660f2a79a Make documentation for optional dependencies clearer in API docs for icon (#258)
Merge branch 'vrunjeti-patch-1' into development
2016-10-09 14:21:35 +08:00
Goh Jia Hao
ac317a88ac Use relative link 2016-10-09 14:20:28 +08:00
Goh Jia Hao
0410f5ddfa Merge branch 'patch-1' of https://github.com/vrunjeti/nativefier into vrunjeti-patch-1 2016-10-09 14:18:37 +08:00
Goh Jia Hao
2892e09db0 Fix context menu actions broken on <a> elements containing nested markup (#263)
Merge branch 'ronjouch-patch-1' into development
2016-10-09 14:16:59 +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
026fb45d19 Fix counter notifications (#256)
- Merge branch 'thomsbg-development' into development
2016-10-09 14:03:58 +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
Goh Jia Hao
c362108c73 Fix travis tests which require wine
Somehow now wine is not included on travis
2016-10-09 13:19:06 +08:00
follower
b9974c55b7 Fix typo in documentation (#237) 2016-10-09 12:06:01 +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