lp:~robru/gwibber/locked-login-refactor
- Get this branch:
- bzr branch lp:~robru/gwibber/locked-login-refactor
Branch merges
- Barry Warsaw: Pending requested
-
Diff: 183 lines (+39/-59)5 files modifiedgwibber/gwibber/protocols/flickr.py (+5/-17)
gwibber/gwibber/protocols/foursquare.py (+8/-21)
gwibber/gwibber/protocols/twitter.py (+5/-18)
gwibber/gwibber/tests/test_flickr.py (+1/-1)
gwibber/gwibber/utils/base.py (+20/-2)
Branch information
Recent revisions
- 1449. By Robert Bruce Park
-
Promote _locked_login to Base class.
This method had way more shared code between plugins than I'd
anticipated, so I've promoted it to the Base class, and now subclasses
only need to implement the much simpler self._whoami method that does
the actually-protocol- specific stuff. Keep in mind that any subclass is still free to override
Base._locked_login in the event that a future plugin does actually
require some different behavior here, but so far Facebook, Twitter,
Identica, Flickr, and Foursquare all work as-is.No tests even needed to be modified (except for a fixed string typo)
because our API is just that good ;-) - 1446. By Barry Warsaw
-
Merged lp:~robru/gwibber/identica. Did some reformatting for style and line
lengths, fixed some pyflakes warnings, and added a test for the new identica
time format. - 1443. By Barry Warsaw
-
Provide a better way of distinguishing public features, by using the @feature
decorator on such methods.Base class gets a get_features() classmethod to return the list of strings
naming the features.Add tests.
- 1442. By Barry Warsaw
-
lp:~robru/gwibber/get_tokens refactoring _get_access_token() to the base class.
- 1440. By Barry Warsaw
-
Merge lp:~robru/gwibber/publish-fixup-real which now gets the account id for
_publish() from self instead of passing it in as an argument.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:gwibber