tag:help.lighthouseapp.com,2008-09-20:/discussions/suggestions/229-google-gadget-for-embedded-queriesLighthouse: Discussion 2012-07-20T12:23:49Ztag:help.lighthouseapp.com,2008-09-20:Comment/174532008-11-23T20:22:50Z2009-06-20T20:05:45ZGoogle gadget for embedded queries<div><p>Is your lighthouse project public or open source?</p></div>Tiger Teamtag:help.lighthouseapp.com,2008-09-20:Comment/174532008-11-23T21:21:14Z2009-06-20T20:05:45ZGoogle gadget for embedded queries<div><p>Open Source... why, is there already such a thing available?</p></div>darrentag:help.lighthouseapp.com,2008-09-20:Comment/174532008-11-24T00:15:35Z2009-06-20T20:05:46ZGoogle gadget for embedded queries<div><p>Yes, sorta.</p>
<p>
http://hoth.entp.com/2008/10/7/add-lighthouse-tickets-to-your-github-wiki-4</p>
<p>That shows you the list of tickets open. You need to set up a
read-only token in project settings. Probably wouldn't be hard to
have it query a ticket bin instead.</p></div>Tiger Teamtag:help.lighthouseapp.com,2008-09-20:Comment/174532008-11-24T05:56:21Z2009-06-20T20:05:48ZGoogle gadget for embedded queries<div><p>So I just set up a github account and tried adding the
above.</p>
<p>http://github.com/dvhart/braindump/wikis/home</p>
<p>The badge doesn't show up, but I don't see any kind of an error
either. I presume my account is "deathmarch" and I setup the token
as per the instructions. I don't see anything that specifies the
project, unless the token/key does that (I suspect it does).</p>
<p>Any tips on what I might be doing wrong?</p>
<p>-- Darren</p></div>darrentag:help.lighthouseapp.com,2008-09-20:Comment/174532008-11-24T06:05:53Z2009-06-20T20:05:48ZGoogle gadget for embedded queries<div><p>Yeah, you didn't set a token on the project. Make sure the token
is good. The javascript requests the token and gets back a
projectid in the JSON.</p>
<p>In your "create token" sidebar, you'll notice a projects
dropdown.</p>
<p><img src=
"http://img.skitch.com/20081124-ry99fd6tfb7x3bcn8hsfsqtyqf.jpg"></p></div>Tiger Teamtag:help.lighthouseapp.com,2008-09-20:Comment/174532008-11-24T06:06:10Z2009-06-20T20:05:49ZGoogle gadget for embedded queries<div><p>Set the project and make it readonly.</p></div>Tiger Teamtag:help.lighthouseapp.com,2008-09-20:Comment/174532008-11-24T06:08:08Z2009-06-20T20:05:49ZGoogle gadget for embedded queries<div><p>You can test your tokens out by going to your project page and
adding <code>/tickets.json?_token=TOKEN</code>. Your project list
should look like <a href=
"http://deathmarch.lighthouseapp.com/projects/20417-braindump/tickets.json?_token=33905b14145f99cf2430c6bd1d2988d0c38f7330">
this</a>.</p>
<p>The badge should be updated to accept a project parameter
though.</p></div>Ricktag:help.lighthouseapp.com,2008-09-20:Comment/174532008-11-24T06:12:01Z2009-06-20T20:05:49ZGoogle gadget for embedded queries<div><p>Here's the JSON for your token:
http://deathmarch.lighthouseapp.com/tokens/33905b14145f99cf2430c6bd1d2988d0c38f7330?<em>token=33905b14145f99cf2430c6bd1d2988d0c38f7330&</em>format=json</p>
<pre>
<code>{"token": {"project_id": null, "token": "33905b14145f99cf2430c6bd1d2988d0c38f7330", "read_only": true, "note": "github", "user_id": 38526, "created_at": "2008-11-23T21:42:37-08:00"}}</code>
</pre>
<p>You didn't set a project on the token.</p>
<p>The token works; here's the JSON I got out of it:</p>
<pre>
<code>{"tickets": [{"ticket": {"permalink": "task-xml-file-corruption", "updated_at": "2008-11-23T11:14:19-08:00", "project_id": 20417, "body_html": "<div><p>Some yet-unknown circumstance will cause braindump to fail to\ncomplete the write-out of the task xml files. The application will\nfail to load with a SAX error. Manually adding:</p>\n<p>to the end of each corrupt file will allow the application to\nstart up again.</p></div>", "title": "task xml file corruption", "number": 1, "body": "Some yet-unknown circumstance will cause braindump to fail to complete the write-out of the task xml files. The application will fail to load with a SAX error. Manually adding:\r\n\r\n</task> \r\n\r\nto the end of each corrupt file will allow the application to start up again.", "creator_id": 38526, "tag": "defect", "priority": 1, "attachments_count": 0, "closed": false, "user_id": 38526, "assigned_user_id": 38526, "state": "open", "milestone_id": null, "created_at": "2008-11-21T19:49:27-08:00"}}]}</code>
</pre></div>Tiger Teamtag:help.lighthouseapp.com,2008-09-20:Comment/174532008-11-24T06:19:30Z2009-06-20T20:05:49ZGoogle gadget for embedded queries<div><p>I've created the token twice now, and each time the projects
drop down only has one option: "All Projects".</p>
<p>-- Darren</p></div>darrentag:help.lighthouseapp.com,2008-09-20:Comment/174532008-11-24T06:28:52Z2009-06-20T20:05:49ZGoogle gadget for embedded queries<div><p>So when creating new tickets, I don't actually have a Projects
drop-down box.</p>
<p>http://dvhart.com/darren/no-project-dropdown.png</p>
<p>After creating these tokens, they don't show up in the right
panel when I click on My Profile. They only appeared after I went
to edit one directly from one of the other replies I got to this
post. After I deleted one of them, it still shows up in the panel,
and gives me an error when I click on it.</p></div>darrentag:help.lighthouseapp.com,2008-09-20:Comment/174532008-11-24T06:29:37Z2009-06-20T20:05:49ZGoogle gadget for embedded queries<div><p>On Sun, Nov 23, 2008 at 10:19 PM, Darren Hart <a href=
"mailto:darren@dvhart.com">darren@dvhart.com</a> wrote:</p>
<blockquote>
<p>I've created the token twice now, and each time the projects
drop down only has one option: "All Projects".</p>
</blockquote>
<p>Apologies, I got this wrong. I meant "All Accounts", I don't
even see a Projects drop down.</p>
<p>-- Darren</p></div>darrentag:help.lighthouseapp.com,2008-09-20:Comment/174532008-11-24T06:37:02Z2009-06-20T20:05:49ZGoogle gadget for embedded queries<div><p>With the token set to the BrainDump project and marked ReadOnly
and the GitHub wiki updated to this token, the wiki page is still
blank.</p>
<p>http://github.com/dvhart/braindump/wikis/home</p>
<p>-- Darren</p></div>darrentag:help.lighthouseapp.com,2008-09-20:Comment/174532008-11-24T06:53:31Z2009-06-20T20:05:49ZGoogle gadget for embedded queries<div><p>rick i bet it doesn't give you a projects option when you only
have on project.</p>
<p>darren, I totally see your list of projects there. Maybe me
checking the token authed me.</p></div>Tiger Teamtag:help.lighthouseapp.com,2008-09-20:Comment/174532008-11-24T23:00:02Z2009-06-20T20:06:01ZGoogle gadget for embedded queries<div><p>I see the tickets listed on the wiki. Can we assume this is
resolved?</p></div>Justin Palmertag:help.lighthouseapp.com,2008-09-20:Comment/174532008-11-24T23:34:16Z2009-06-20T20:06:02ZGoogle gadget for embedded queries<div><p>You do? I just reloaded the wiki page
(http://github.com/dvhart/braindump/wikis) and all I see is:</p>
<hr>
<p>Home</p>
<h2>Welcome to the braindump wiki!</h2>
<p>Is this possibly a browser compatibility issue? I'm running
Firefox 3.0.4 on Ubuntu 8.10 (Intrepid).</p></div>darrentag:help.lighthouseapp.com,2008-09-20:Comment/174532008-11-24T23:54:31Z2009-06-20T20:06:02ZGoogle gadget for embedded queries<div><p>Here is what I see -
http://img.skitch.com/20081124-qg6tmesrk77b95a6rcsau3m33q.png</p>
<p>I noticed there is a stray console.log in there. What browser
are you using, it could be throwing an error on that line? I'll
remove the console line in any event.</p></div>Justin Palmertag:help.lighthouseapp.com,2008-09-20:Comment/174532008-11-24T23:58:29Z2009-06-20T20:06:02ZGoogle gadget for embedded queries<div><p>I'm running Firefox 3.0.4 on Ubuntu 8.10. What did you use?</p>
<p>-- Darren</p></div>darrentag:help.lighthouseapp.com,2008-09-20:Comment/174532008-12-09T17:16:41Z2009-06-20T20:09:00ZGoogle gadget for embedded queries<div><p>Is this working for you now? Let us know if you have any more
questions.</p></div>Nicoletag:help.lighthouseapp.com,2008-09-20:Comment/174532008-12-09T22:19:53Z2009-06-20T20:09:09ZGoogle gadget for embedded queries<div><p>It is not. I still see exactly the same thing as I described is
comment <a href="/discussions/suggestions/15" title=
"Discussion #15">#15</a>.</p></div>darrentag:help.lighthouseapp.com,2008-09-20:Comment/174532008-12-09T23:43:07Z2012-07-20T15:35:55ZGoogle gadget for embedded queries<div><p>This discussion was assigned to Jeremy McAnally, on ticket
68.</p></div>Systemtag:help.lighthouseapp.com,2008-09-20:Comment/174532008-12-09T23:44:17Z2009-06-20T20:09:10ZGoogle gadget for embedded queries<div><p>I've created a ticket for this. It's kind of a strange bug
because some of us here at the office can see the tickets and
others can't. We think it has something to do with API auth, but
are looking into it.</p></div>Justin Palmer