Version 1.4
-
Replaced the third-party modules
ConfigArgParseandconfigfilewith
their built-in alternatives. See the merge request for details: #69 -
As a result, the configuration file format has changed. See Configuration for details on migrating your configuration.
-
The default value of the
--cookie-fileoption was removed, so it has to be
set explicitly in the configuration file for persistent authenticated session. -
The
--siteand--cache-diroptions were removed. -
ws.checkers.ExtlinkReplacements: fixed tests, fixed replacement of
Arch bug tracker links, added more replacements for Arch projects and other
cases. -
ws.checkers.ExtlinkStatusChecker:- refactored to take the URLs from the database and save the results there
- skip links to invalid or blacklisted domains, detect sites behind
CloudFlare protection
-
ws.checkers.ExtlinkStatusUpdater: new module which was split from
ws.checkers.ExtlinkStatusCheckerand contains the (updated) code
for updating the status of extlinks on wiki pages. -
ws.checkers.WikilinkChecker: fixed urldecoding of section anchors,
fixed race condition between the "Archive page" and "Broken section link"
flags, removed some old and unnecessary workarounds. -
Simplified
ws.utils.TLSAdapterusingssl_versioninstead of
ssl_options. -
Many bug fixes for the
ws.dbmodule and thecheckdb.pyscript. -
Migrated to SQLAlchemy 2.0:
https://docs.sqlalchemy.org/en/20/changelog/migration_20.html -
The
ws.dbmodule now requires SQLAlchemy withasynciosupport
and theasyncpgdriver for PostgreSQL. The synchronous interface with the
psycopg2driver is still used as well. -
ws.db.schema: added new tablesws_domainandws_url_check
for tracking the results of status checks for domains and URLs. -
New scripts:
delete-unused-categories.pylocalize-templates.pymark-archived-links.pyrace.pyreport-problems.py(previouslylist-problematic-pages.py, now it
also has an automatic report page)update-page-language.py
-
Refactored scripts:
-
extlink-checker.pyhas a new required parameter--modewith two
choices:checkusesws.checkers.ExtlinkStatusCheckerwhich takes
URLs from the database and checks their status, andupdateusesws.checkers.ExtlinkStatusUpdaterwhich takes
the check results from the database and applies them on the wiki.
-