Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 843060 Details for
Bug 1047140
some patches (scroll events, notification timeout, twitter api 1.1 fixes)
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
More fixes for twitter 1.1 API
gwibber-3.4.2-twitter-1.1-api-fix-2.patch (text/plain), 2.59 KB, created by
Fabrice Bellet
on 2013-12-29 12:00:39 UTC
(
hide
)
Description:
More fixes for twitter 1.1 API
Filename:
MIME Type:
Creator:
Fabrice Bellet
Created:
2013-12-29 12:00:39 UTC
Size:
2.59 KB
patch
obsolete
>diff -uNrp gwibber-3.4.2.orig/gwibber/microblog/plugins/twitter/__init__.py gwibber-3.4.2/gwibber/microblog/plugins/twitter/__init__.py >--- gwibber-3.4.2.orig/gwibber/microblog/plugins/twitter/__init__.py 2013-12-20 23:49:48.193124891 +0100 >+++ gwibber-3.4.2/gwibber/microblog/plugins/twitter/__init__.py 2013-12-20 23:52:09.194809505 +0100 >@@ -393,6 +393,9 @@ class Client (): > if parse == "list": > return [self._list(l) for l in data["lists"]] > >+ if parse == "status": >+ return [self._message(l) for l in data["statuses"]] >+ > if single: return [getattr(self, "_%s" % parse)(data)] > if parse: return [getattr(self, "_%s" % parse)(m) for m in data] > else: return [] >@@ -414,7 +417,7 @@ class Client (): > return self._get("statuses/home_timeline.json", include_entities=1, count=count, since_id=since) > > def responses(self, count=util.COUNT, since=None): >- return self._get("statuses/mentions.json", "responses", include_entities=1, count=count, since_id=since) >+ return self._get("statuses/mentions_timeline.json", "responses", include_entities=1, count=count, since_id=since) > > def private(self, count=util.COUNT, since=None): > private = self._get("direct_messages.json", "private", include_entities=1, count=count, since_id=since) or [] >@@ -425,18 +428,18 @@ class Client (): > return self._get("statuses/public_timeline.json", include_entities=1) > > def lists(self, **args): >- following = self._get("%s/lists/subscriptions.json" % self.account["username"], "list") or [] >- lists = self._get("%s/lists.json" % self.account["username"], "list") or [] >+ following = self._get("lists/subscriptions.json", screen_name=self.account["username"], parse="list") or [] >+ lists = self._get("lists/list.json", screen_name=self.account["username"]) or [] > return following + lists > > def list(self, user, id, count=util.COUNT, since=None): > return self._get("%s/lists/%s/statuses.json" % (user, id), include_entities=1, per_page=count, since_id=since) > > def search(self, query, count=util.COUNT, since=None): >- return self._search(include_entities=1, q=query, rpp=count, since_id=since) >+ return self._get("search/tweets.json", include_entities=1, q=query, rpp=count, since_id=since, parse="status") > > def tag(self, query, count=util.COUNT, since=None): >- return self._search(q="#%s" % query, count=count, since_id=since) >+ return self._get("search/tweets.json", include_entities=1, q="#%s" % query, rpp=count, since_id=since, parse="status") > > def delete(self, message): > return self._get("statuses/destroy/%s.json" % message["mid"], None, post=True, do=1)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1047140
:
843057
|
843059
| 843060 |
843061