+ Fix for issue #1514350 - Increase the column length for rets_key and rets_id to prevent 'data too long' and 'data truncated' errors for some users.
+ Fixed issue when deleting mapped fields that were shared between multiple property types, it would also remove the RETS mapping from any property type that had previously mapped that field.
+ Issue #1498424 by TwoD. Broken RETS Query tester. Patch supplied by TwoD.
+ Issue #1519706 by TwoD. String cleanups. Coder Review initial pass.
+ Issue #1518174 by TwoD. Add Token support in custom RETS queries.
This patch adds support for using tokens in the custom query field(s).
It allows you to, for example, create "incremental" queries to only download listings that have been updated since the last time the listings class was successfully updated: (Status=A), (Last_updated_field=[drealty_class:last_updated]+).
Note: Incremental queries like in this example are probably incompatible with the new "delete/deactivate expired listings" feature recently committed. Since only recently changed items will be queued for processing and drealty diffs the queued listings to all previously fetched listings to know which ones are no longer available, it'll remove/deactivate every listing not recently changed...
+ Added a new view mode "gallery" to drealty_listing entity type.