lp:~robru/gwibber/foursquare
- Get this branch:
- bzr branch lp:~robru/gwibber/foursquare
Branch merges
- Barry Warsaw: Pending requested
-
Diff: 442 lines (+241/-39) (has conflicts)7 files modifiedgwibber/gwibber/protocols/foursquare.py (+98/-0)
gwibber/gwibber/tests/data/foursquare-full.dat (+1/-0)
gwibber/gwibber/tests/test_foursquare.py (+108/-0)
gwibber/gwibber/tests/test_model.py (+2/-2)
gwibber/gwibber/tests/test_protocols.py (+23/-31)
gwibber/gwibber/utils/base.py (+4/-4)
gwibber/gwibber/utils/model.py (+5/-2)
Branch information
Recent revisions
- 1436. By Robert Bruce Park
-
Modify Base._publish to calculate the service name on it's own.
This alleviates the need for every single protocol having to specify
'self.__class_ _.__name_ _.lower( )' every single time that it wants to
call Base._publish. Instead, Base._publish simply calls that ugliness
just once, in one place. - 1435. By Robert Bruce Park
-
Add likes count and avatar URL to FourSquare.receive method.
Also committing foursquare-
full.dat, which is a real live json data
dump of a real live foursquare checkin, that we use for testing. It
was supposed to be part of the previous commit, but I forgot to add it. - 1434. By Robert Bruce Park
-
Implement FourSquare protocol.
This includes good test coverage, as well as some tweaks to the
SharedModel, such as dropping two unused columns, and allowing default
column values other than ''. - 1432. By Barry Warsaw
-
Full support for RFC 4627 application/json implicit charset encodings. See $3
of the RFC for details. - 1429. By Barry Warsaw
-
Merge lp:~robru/gwibber/broken-protocols, but with merge conflicts fixed and improt race condition fixed.
- 1428. By Barry Warsaw
-
Merge protocol stubs so that the test suite won't fail based on the tester's
libaccounts settings. We ultimately need better test isolation, but this will
do for now. - 1427. By Barry Warsaw
-
Merge lp:~robru/gwibber/dispatcher with his excellent rewrite of the
dispatcher code. A few additional changes by barry:* check_all target of the Makefile should --clear any previous virtualenv
* Fill out the twitter.py stub to also include logging and i18n so that the
mock from test_twitter.py is more relevant.
* PEP 8-ification of some names.
* Moved on_connection_{online, offline} to non-public methods of Dispatcher
for more idiomatic access to `self`. Store the ctor argument `interval` in
an instance variable.
* Removed an unnecessary check from test_protocols.py
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:gwibber