summaryrefslogtreecommitdiff
path: root/plugins/OStatus/classes/FeedSub.php
AgeCommit message (Collapse)Author
2010-03-19OStatus: be a little laxer about attempts to start/stop PuSH subscriptions ↵Brion Vibber
that were left in an inconsistent state. Instead of aborting, we'll try to reconfirm the sub/unsub, which once confirmed will replace whatever the previous state was on the server side.
2010-03-12Fixes for updating indices, charset/collation and engine type on ↵Brion Vibber
plugin-created tables. Under MySQL, new tables will be created as InnoDB with UTF-8 (utf8/utf8_bin) same as core tables. Existing plugin tables will have table engine and default charset/collation updated, and string columns will have charset updated, at checkschema time. Switched from 'DESCRIBE' to INFORMATION_SCHEMA for pulling column information in order to get charset. A second hit to INFORMATION_SCHEMA is also needed to get table properties. Indices were only being created at table creation time, which ain't so hot. Now also adding/dropping indices when they change. Fixed up some schema defs in OStatus plugin that were a bit flaky, causing extra alter tables to be run. TODO: Generalize this infrastructure a bit more up to base schema & pg schema classes.
2010-02-21OStatus PuSH fixes:Brion Vibber
- hub now defers subscription state updates until after verification, per spec - hub now supports synchronous verification when requested (if async is not requested after) - client now requests synchronous verification (it's a bit safer) - cleanup on subscription logging/error responses
2010-02-21OStatus feedsub fixlets:Brion Vibber
- actually udpate feedsub.last_update when we get a new PuSH update in - move incoming PuSH processing to a queue handler to minimize time spent before POST return, as recommended by PuSH spec. When queues are disabled this'll still be handled immediately.
2010-02-19OStatus: fix up Salmon endpoint detection/saving, timestamp fixes.Brion Vibber
2010-02-18OStatus refactoring to clean up profile vs feed and fix up subscription issues.Brion Vibber
PuSH subscription maintenance broken back out to FeedSub, letting Ostatus_profile deal with the profile level (user or group, with unique id URI)