Commit Graph

380 Commits (8f1da3c792490b9f17d53543ec5ec8f24655d919)
 

Author SHA1 Message Date
Sunshine c16e80f507
add Dockerfile 4 years ago
Sunshine 1c1f2c7128
Merge pull request #127 from snshn/win-travis
add windows target OS to TravisCI
4 years ago
Sunshine efba6a048d
add windows target OS to TravisCI 4 years ago
Sunshine 1701425003
Merge pull request #125 from snshn/frames
Treat frames the same way as iframes
4 years ago
Sunshine 7654eec7e2
treat frames the same way as iframes 4 years ago
Sunshine 00942e0b1d
Merge pull request #119 from snshn/data-url-input
Data URL input
4 years ago
Sunshine 8fbae735fa
add ADR 0004: Asset integrity check 4 years ago
Sunshine 0d1e21e9ad
add black box tests 4 years ago
Sunshine 3d2d40e7cd
add support for data URL targets 4 years ago
Sunshine b8b6d8cff6
fix "succeeding" to "passing" in tests 4 years ago
Sunshine 928664dc88
correct is_valid_url to is_http_url 4 years ago
Sunshine 5c8d75539b
rename dataurl to data_url 4 years ago
Sunshine ee2055a2a3
Merge pull request #123 from snshn/adr-arch-dir
Move ADRs under docs/arch
4 years ago
Sunshine b4c46c59d4
move ADRs to docs/arch 4 years ago
Sunshine 8574b7899b
Merge pull request #121 from snshn/improve-help
Update help dialog and README.md
4 years ago
Sunshine 969bfbdd59
Merge pull request #120 from snshn/update-crates
Update crates
4 years ago
Sunshine 63f3a204a6
Merge pull request #122 from snshn/adr-timeout
Introduce ADR 0003-network-request-timeout.md
4 years ago
Sunshine 094be09e90
add ADR 0003-network-request-timeout.md 4 years ago
Sunshine 23ceaed493
update crates 4 years ago
Sunshine d9602e25eb
update help dialog and README.md 4 years ago
Sunshine 0c50aa223b
Update README.md 4 years ago
Sunshine e5425ee9d0
Update README.md 4 years ago
Sunshine f720fe0176
Merge pull request #114 from snshn/custom-network-timeout-option
Add option for custom network request timeout
4 years ago
Sunshine 727a5a410c
add option for custom network request timeout 4 years ago
Sunshine 23af174822
Merge pull request #115 from snshn/remove-javascript-anchors
Nullify JS within As' href attributes when needed
4 years ago
Sunshine 5ef2b7c9dc
nullify JS within As' href attributes when needed 4 years ago
Sunshine 1e8348543a
Merge pull request #111 from snshn/adr
Introduce ADRs
4 years ago
Sunshine f9bafe092d
Introduce ADRs 4 years ago
Sunshine f876e9243c
Merge pull request #109 from snshn/version-bump
version bump (2.1.1 → 2.1.2)
4 years ago
Sunshine b6896febf1
version bump (2.1.1 → 2.1.2) 4 years ago
Sunshine 29d2ba5857
Merge pull request #107 from snshn/update-readme
Update README.md
4 years ago
Sunshine 8b1ebc7871
Update README.md 4 years ago
Sunshine d753c83c76
Merge pull request #108 from rhysd/revert-manual-proxy-support
Revert #106 since reqwest supports system proxies by default
4 years ago
rhysd 47a825f5ed add proxies instruction in README.md 4 years ago
rhysd 0e12cecd85 Revert "Merge pull request #106 from rhysd/proxy-support"
This reverts commit d8def879b2, reversing
changes made to a9d114d04d.
4 years ago
Sunshine d8def879b2
Merge pull request #106 from rhysd/proxy-support
Support HTTP and HTTPS proxies
4 years ago
Linda_pp 0420854ed6
remove '$' from environment variable names in README.md 4 years ago
rhysd d47482fcd9 fix crash at setting empty values to HTTP proxies
with this patch `https_proxy=` and `http_proxy=` will work well.
4 years ago
rhysd b68624f2f3 support HTTP and HTTPS proxies (fix #103) 4 years ago
Sunshine a9d114d04d
Merge pull request #105 from rhysd/refactor-main
Refactoring for main.rs to address several issues
4 years ago
rhysd 4e4ebe9c98 refactor main to address several issues
Addressed issues:

- when specified URL is invalid, it exited successfully with doing
  nothing. There was no way why it does not work for users
- it exited successfully even if invalid User-Agent value is specified
- it created file twice on `--output` option specified. It may cause an
  issue when some file watcher (e.g. FsEvents on macOS) is watching

Improvements:
- handle errors with `Result::expect` consistently it correctly exits
  with non-zero status on error
- define `Output` enum for handling both stdout and file outputs
4 years ago
Sunshine 429217d8f7
Merge pull request #104 from rhysd/complete-dom-event-handlers
Use complete list of DOM event handlers for detecting JS attributes
4 years ago
rhysd 1779f4a374 better comments for JS_DOM_EVENT_ATTRS constant 4 years ago
rhysd 26e89ae6d3 use complete list of DOM event handlers 4 years ago
Sunshine b333d19d04
Update README.md 4 years ago
Sunshine c1dc798ded
Merge pull request #101 from rhysd/ignore-preload
Improve handling preload links and white spaces in attribute values
4 years ago
rhysd 69d99b69e8 remove . in line comment 4 years ago
Sunshine aae53d20f0
Merge pull request #102 from popey/update-snap-config
Update snapcraft configuration
4 years ago
Alan Pope 14cf2ce8a6
Update snapcraft configuration
This changes the build slightly. If snapcraft is triggered when there is a new tagged release in the project github release page, and it's newer than the version in the Snap Store beta channel, we build that stable release. If however, the latest stable release in github releases is already the same as the Snap Store beta channel, then we build the tip of master.

This gives a couple of advantages. 

  * One yaml can be used to build tip-of-git snaps, and stable releases alike
  * Closing the beta channel in the Snap Store will mean the next triggered build will re-build whatever the last stable release is. This is useful to force a rebuild of the stable version in case a dependency (not that there are many) has a security issue.

We also now set the version dynamically based on the git tags.
4 years ago
Emi Simpson 05985583f0
Switch timestamps from rfc822 local time to iso8601 UTC 4 years ago