lp:~ken-vandine/friends/fix-facebook-name
- Get this branch:
- bzr branch lp:~ken-vandine/friends/fix-facebook-name
Branch merges
- Robert Bruce Park: Approve
-
Diff: 13 lines (+2/-1)1 file modifiedfriends/protocols/facebook.py (+2/-1)
Branch information
Recent revisions
- 31. By Ken VanDine
-
Fix setting the sender's name, we don't want to see facebook ID numbers in the stream.
- 29. By Robert Bruce Park
-
Implement Facebook.search. lp:1066163
This search method is compatible with Twitter's, so along with the
recent improvements to Dispatcher.Do, it is now possible to search
Facebook, Twitter, and Identica with a single command.This commit also introduces Facebook.
_follow_ pagination, which was
required to avoid code duplication in Facebook.receive,
Facebook.search, and Facebook.fetch_contacts. Also a minor fix to debug_live to get that running again.
- 28. By Robert Bruce Park
-
Merge lp:~robru/friends/replies
This commit slashes the 'comments' 'as' column out of the model
schema, promoting all comments to top-level model rows. This makes it
much easier to store the comment data, such as sender, permalink, etc.This commit also hooks up the Avatar logic for Facebook. At this
point, the data that Facebook stores in the model should be considered
reasonably complete, although ken has the last say on whether or not
that's actually true (I might have missed something). - 27. By Robert Bruce Park
-
Fully generalize Dispatcher.Do so that it is capable of nearly anything.
Now you can search all accounts like this:
Dispatcher.
Do('search' , '', 'search terms') Or you can search a specific account like this:
Dispatcher.
Do('search' , '4/identica', 'search terms') And it also supports things like liking or deleting:
Dispatcher.
Do('like' , '7/facebook', 'obj_id')
Dispatcher.Do('delete' , '2/twitter', 'obj_id') Regardless of what action you call as the first argument, if the
second argument is the empty string, then that action will be called
for all accounts, so if you're doing something destructive like a
delete, you have to be wary of id collisions across services. - 25. By Robert Bruce Park
-
Merged lp:~cjcurran/friends/facebook-contacts.
Some style/whitespace cleanup, but also some test fixes too.
- 24. By Robert Bruce Park
-
Workaround for a bug in DeeModel.
insert_ sorted. Apparently insert_sorted can't figure out where in an empty Model to
sortedly insert a new row, so we need to check for that and use
Model.append instead.This commit also has a bit of logic in place to only do the check
once, and then once we're confident that there is actually at least
one row in the model, it replaces itself with Model.insert_sorted
directly so that it can be called much more efficiently during the
ongoing operation of the program.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:friends