Install
Works with Drupal: 7.xUsing Composer to manage Drupal site dependencies
Downloads
Download tar.gz
109.91 KB
MD5: 99f542bec65d3201a463b4573fccb898
SHA-1: a1aaa06569fbf094f4d65502f9ccd9ebc475097e
SHA-256: 346e1106eb9791d644d75a54f003fbd98548d50667f540a5d27f896b31f43e6e
Download zip
121.82 KB
MD5: f2c9bf6e58bc1727fe71c5f50b2abb1c
SHA-1: 13dd3fefc583ec9cec614509b0f37beef0c85f49
SHA-256: 960129ac0df90a85a40c017e0aee5991d9c4c7328065a89c88318badae607f04
Release notes
Changes since 7.x-1.x:
- #903770 by sun: Added Mollom Moderation integration.
- #1264850 by sun: Temporarily disabled testing mode configuration option.
- #1349846 by sun: MollomInstallationTestCase fails if Mollom module is not enabled in parent site.
- Disabled failing MollomInstallationTestCase in order to debug via testbot.
- Changed license reference to point to text files.
- #1267168 by sun: Fixed CAPTCHA value is sent to Mollom even if there is no user input yet.
- Updated for returned server list no longer contains API version.
- Fixed MollomInstallationTestCase fails due to enforced reset of server list in _mollom_status().
- #446994 by sun: Added docs for verifyKeys().
Removed refreshServers() workaround. - Removed bogus calls to Drupal's localization function.
- Added MIT License.
- #1267168 by sun: Fixed required CAPTCHA is accepted without input under certain conditions.
- Fixed fatal error if server list unexpectedly empty.
- Fixed CAPTCHA cannot be switched to audio.
- Added deletion of server list when verifying keys, because of too frequent switching between XML-RPC and REST implementations during development.
- Updated to new production API endpoints.
- Simplified response validation, removed arrayKeyExists() method, and fixed 5xx response codes are always overridden to 511 (response error).
- Removed workarounds for bogus server list in REST testing API.
- Fixed various issues identified during 6.x-2.x backport.
- Updated for new Content API 'checks' default value.
- Added custom timeout for drupal_http_request().
- Fixed 404 and response errors not caught on admin pages.
- Added 2-legged OAuth request signing.
- Added separate updateSite() method, and updated for API parameter changes.
- Fixed CAPTCHA form field not hidden when fallback mode is triggered.
- Moved local testing server into separate mollom_test_server.module.
- Fixed CAPTCHA not always inserted into form as expected.
- Resolved remaining todos. Moved Mollom class into $form_state.
Added handling for list response meta properties.
Added {mollom}.solved and {mollom}.reason.
Fixed Blacklist tests for renamed context. - Moved generic request preparations and response processing from Mollom::request() into Mollom::handleRequest().
- Updated for renamed contexts and reasons.
- #446994-26 by sun: Resolved remaining todos.
- Major documentation and code clean-up.
- Added phpDoc for class methods.
- Removed obsolete code and todos.
- Renamed keyPublic and keyPrivate to pulicKey and privateKey.
- Renamed $siteId to $publicKey.
- Changed serversInit to rest.mollom.com. - Added README.txt and LICENSE.txt.
- Moved Mollom class into includes.
- Restored 7.x-1.x changes that got lost during squashing and rebasing.
- Added temporary hack to work around not synchronized site data across servers.
*Invalidates all server list recovery and fail-over tests.*
- Updated for Site, Content, Blacklist, and general PUT/POST API changes. - Updated for latest REST API changes:
- Fixed 404 error handling and database schema.
- Updated for Content, Blacklist, Feedback API changes.
- Updated for testing Site API requiring new site to be created before and deleted after running tests. - Updated for REST API change decisions.
- Fixed 404, REFRESH_ERROR, and RESPONSE_ERROR handling.
- Added error handling and logging to MollomExceptions.
- Moved Drupal class implementation into mollom.drupal.inc.
Added RESPONSE_ERROR handling for unexpected server responses. - Major clean-up:
- Removed obsolete @todos.
- Moved response error constants into Mollom class.
- Replaced individual configuration methods with generic configuration CRUD methods.
- Renamed Mollom Drupal classes.
- Removed interfaces. - Fixed Blacklist, Content, and Feedback API tests.
- The semi-final and actual application-level conversion.
- Fixed module tests and added Mollom class unit tests.
- Added exception classes for request error handling.
- Moved further logic into Mollom class.
- Initial class abstraction.
- Initial replacement of XML-RPC with REST communication.