Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
Stop early if there’s nothing to do.
|
|
…to controller and behavior
|
|
|
|
load_all is deprecated. A safe YAML subset is fine for our purpose. See
https://msg.pyyaml.org/load
|
|
|
|
Fix Facebook/Patreon selectors and Instagram example URL.
|
|
Do not hardcode required priviledge to use bot, make it configureable.
|
|
onMode will not always receive nick and user argument (i.e. server sets
mode). Remove them, since they are unused.
|
|
User list may be send using multiple reply messages if too long. Do not
overwrite the previous one.
|
|
This fixes IRC permission checks. Previously all users who joined the
channel after the bot stored their modes in the same set().
Can be detected with pylint W0102.
|
|
|
|
|
|
Add optional support for manhole to all cli tools. Activated by signal
USR1.
|
|
|
|
|
|
Kill the subprocess and make sure we retrieve exceptions from .fetch()
|
|
We’re sending quite big JSON objects since 3a2fcc69a8eb4237b2862b3e291971d38748f115.
|
|
If the browser goes idle before we enter `while True` we never notice
and thus the idleTimeout is never applied.
|
|
|
|
Fixes test.
|
|
Lots of copy&pasta. Unfortunately the controller uses asyncio.sleep in a
few places.
|
|
We may not be able to reproduce every failure, so logging as much as
possible is important to figure out what went wrong. Also, in case a bug
is uncovered in the future, we can check the logs and possibly fix it
with -errata.
|
|
Needs a testcase.
|
|
When loading XML documents Chrome presents a pretty-printed version to
the user, which still contains the original XML when exporting via
DOM.getDocument.
Not sure how to test this.
|
|
Probably broken by the transition to URL() in commit
5e444dd6511d97308a84ae9c86ebf14547d01f01
And yes, we desperately need some tests for this.
|
|
Fails if the page is reloaded/redirected. See issue #13.
|
|
Must’ve slipped through.
|
|
|
|
|
|
Previously Item was just a simple wrapper around Chrome’s Network.*
events. This turned out to be quite nasty when testing, so its
replacement, RequestResponsePair, does some level of abstraction. This
makes testing alot easier, since we now can simply instantiate it
without building a proper DevTools event.
Should come without any functional changes.
|
|
URL’s can get quite long, overflowing the file name length limit.
Instead use sequential filenames and output metadata to stdout.
|
|
Using hyothesis-based testcase generation. This is quite nice compared
to manual test data generation, since it catches alot more corner cases
(if done right).
This commit also fixes a few issues, including:
- log records will only be written if the log is nonempty
- properly quote packageUrl path’s
- drop old thread checking code
- use placeholder url for scripts without name
|
|
Default arguments cannot be mutable objects.
|
|
|
|
Replaces str.format, which is less readable due to its separation of
format and arguments.
|
|
Must not exist for this test.
|
|
Broken by commit 5e444dd6511d97308a84ae9c86ebf14547d01f01. URL’s read
from stdin must be converted from str.
|
|
RecursiveController used a custom .cancel() method before. Instead we
can simply cancel .run() and handle the CancelledError inside run() and
fetch().
|
|
Crash detection was moved into -recursive’s return code checking a while
ago.
|
|
Requirement extraction fails if the package is an .egg file (i.e. not
extracted). Do not try to compute checksum/file length for them.
|
|
Use library yarl (already pulled in by aiohttp). No URL processed should
be a string.
|
|
Fixes #9.
|
|
|
|
|
|
click.js’s data was part of the script before
22adde79940d32c5f094f26f3e18b7160e7ccafc. Now it is injected
dynamically, but it still would be nice to have the data available.
|
|
|
|
In preparation for #9.
I was hoping to reuse one of schema.org’s microdata schema’s, but
neither Action (archival action) nor SoftwareApplication (version
information) seem to be suitable.
|
|
And that proves their CSS class names are not stable and cannot be used.
|
|
|