[Google Wave APIs] Re: What is gadget proxy?

2010-02-07 Thread qMax
Thanks for slides.

But need more clarifications.
In context of wave - what is the wave server - gadget server, proxy or
container?
And is gagets.io.makeRequest available in wave?
What other opensocial features supported in wave?

On 8 фев, 08:21, "pamela (Google Employee)" 
wrote:
> The XML goes through the gadget proxy. That is true for all gadget
> containers.  See slide 18 
> here:http://www.slideshare.net/wuzziwug/opensocial-intro-presentation
>
> Most gadget containers also provide methods of sending other content
> through the proxy, for caching purposes.
> All io.makeRequests call also go through proxy.
>
> - pamela
>
>
>
> On Mon, Feb 8, 2010 at 1:08 PM, qMax  wrote:
> > I thought that all gadget stuff is requested directly from end-user
> > browser, isn't it?
>
> > On 31 янв, 17:09, "pamela (Google Employee)" 
> > wrote:
> >> This section talks about the gadget being publicly 
> >> visible:http://code.google.com/apis/wave/extensions/gadgets/guide.html#hello
>
> >> The actual XML is fetched through the gadgets proxy. Anything else
> >> referenced in the gadget should be fetched by the browser, same as a
> >> normal webpage.
>
> >> If you want to share your gadget with the world one day, every aspect
> >> will need to be public (same as a webpage).
>
> >> - pamela
>
> > --
> > You received this message because you are subscribed to the Google Groups 
> > "Google Wave API" group.
> > To post to this group, send email to google-wave-...@googlegroups.com.
> > To unsubscribe from this group, send email to 
> > google-wave-api+unsubscr...@googlegroups.com.
> > For more options, visit this group 
> > athttp://groups.google.com/group/google-wave-api?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Wave API" group.
To post to this group, send email to google-wave-...@googlegroups.com.
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=en.



[Google Wave APIs] What is gadget proxy?

2010-02-07 Thread qMax
I thought that all gadget stuff is requested directly from end-user
browser, isn't it?

On 31 янв, 17:09, "pamela (Google Employee)" 
wrote:
> This section talks about the gadget being publicly 
> visible:http://code.google.com/apis/wave/extensions/gadgets/guide.html#hello
>
> The actual XML is fetched through the gadgets proxy. Anything else
> referenced in the gadget should be fetched by the browser, same as a
> normal webpage.
>
> If you want to share your gadget with the world one day, every aspect
> will need to be public (same as a webpage).
>
> - pamela

-- 
You received this message because you are subscribed to the Google Groups 
"Google Wave API" group.
To post to this group, send email to google-wave-...@googlegroups.com.
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=en.



[Google Wave APIs] Re: WaveSandbox: Finding extensions from the navigation panel

2010-02-07 Thread qMax
Also.

A complex extension can evolve and new versions could be released.
There should be some way to upgrade ext submission.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Wave API" group.
To post to this group, send email to google-wave-...@googlegroups.com.
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=en.



[Google Wave APIs] Re: Wiki lock like Gadget Election for Writing/update

2010-02-07 Thread qMax
Suggestion to try:

gadget can track all the viewers in a state, using wave.getViewer().
use onClose javascript event to mark participants who closed wave (not
sure if it will work well)

The order of appearence may define a priority (highest will be granted
to gadget installer)
and then grant write permission to first online participant in wave.

I guess there will be problems with timeouted and failure-disconnected
users

-- 
You received this message because you are subscribed to the Google Groups 
"Google Wave API" group.
To post to this group, send email to google-wave-...@googlegroups.com.
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=en.



[Google Wave APIs] Re: robot-comman line?

2010-02-07 Thread qMax
BTW, it would be very nice template to reuse.
(and workaround for Issues 269 and 299)

If you implement such a gadget,
please, share the snippet for 'command-line' gadget-robot
communication.

On 5 фев, 10:16, "Anshuman "  wrote:
> is there any way to acess robot behaviour by gui . i mean how can i
> create gui using robot? it seems that robot only accept text command from  
> blip...

-- 
You received this message because you are subscribed to the Google Groups 
"Google Wave API" group.
To post to this group, send email to google-wave-...@googlegroups.com.
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=en.



[Google Wave APIs] Re: Not delete element?

2010-02-07 Thread qMax
in a root blip insert a wavelet ("private reply") opened for public as
'readonly',
while leaving all other content in a wave fullaccess.

On 7 фев, 19:13, Zbynek  wrote:
> Can i create some element in a blip, that is not possible to delete by
> participants? I would like to have visible "tag" (e.g. some text) in a
> blip, such as names of contributors in a blip.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Wave API" group.
To post to this group, send email to google-wave-...@googlegroups.com.
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=en.



[Google Wave APIs] Re: stopwatch extension / Wave Timer

2010-02-07 Thread qMax
[sorry for fingeroughness]

i'ts quite reasonable to make installer gadget instance to alarm
robot,
in hope that installer/moderator will not close the wave or
disconnected beforehand.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Wave API" group.
To post to this group, send email to google-wave-...@googlegroups.com.
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=en.



[Google Wave APIs] Re: stopwatch extension / Wave Timer

2010-02-07 Thread qMax
On 8 фев, 07:22, "pamela (Google Employee)" 
wrote:
> My idea -
>
> If it was done strictly as a gadget, then the gadget would just store
> the time that a timer started, and the duration of the timer. Then,
> the wave would only be updated when someone set a new timer -- which
> makes sense to me.
> The actual time countdown would be done in Javascript, and be based on
> a calculation of the start time, current time, and timer duration.
>
> - pamela

Ah!
You mean, that the (image of timer) should be updated locally by local
javascript?
Here i see two more issues:
- when some new user opens a gadget, timer may show some drift if the
users clock differs from installer clock.
- someone still have to update timer state to "time over", for
instance to alarm robot to put '[CLOSED]' in wavelet title.
it's quite

-- 
You received this message because you are subscribed to the Google Groups 
"Google Wave API" group.
To post to this group, send email to google-wave-...@googlegroups.com.
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=en.



[Google Wave APIs] stopwatch extension / Wave Timer

2010-02-07 Thread qMax
At http://googlewavedev.blogspot.com/2010/02/my-extension-wish-wave-timer.html
Anna-Christina Douglas wrote:
> I would love a collaborative timer, clock, or stopwatch that I could put at 
> the top of a wave when the meeting starts.

being implemented as a gadget, the timer will be updated in every
instance of the gadget.
which is quite wrong thing.

One way is:
The gadget raise an election among gadget instances to select which
instance will update the timer.
The election should be reraised when the instance is closed - but how
to determine this event?

Another way:
The timer is updated by robot and the time propagated to the gadget.
This requires cron events for every, say, second. This looks
overwhelming.
And is it yet possible to update a wave by cron, rather then as
ersponce to event?

-- 
You received this message because you are subscribed to the Google Groups 
"Google Wave API" group.
To post to this group, send email to google-wave-...@googlegroups.com.
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=en.



[Google Wave APIs] Re: new-&-improved robots API

2010-01-15 Thread qMax
On 16 янв, 05:07, "pamela (Google Employee)" 
wrote:
> The new robots API is something we've mentioned in the forum/tracker/office
> hours, and will be based on the new Robots Wire Protocol draft that we
> posted here.
The one at http://code.google.com/apis/wave/extensions/robots/protocol.html
looks the same we've seen and discussed last year.
(and it seems not linked anywhere in other waveapis pages. only search
helps)
(and "Link to some sort of schema." misses href and loops back.)

> We'll be previewing sample robots made with it at a few upcoming events -
> the LCA Wave mini-conference, and the Melbourne GTUG event.
(btw, Melburne GTUG event is missed in dev community calendars.)
> There are public waves for both of those events, so you can watch them for
> relevant notes.

Thanks for points.
I'll check the waves.
-- 
You received this message because you are subscribed to the Google Groups 
"Google Wave API" group.
To post to this group, send email to google-wave-...@googlegroups.com.
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=en.




[Google Wave APIs] Re: Agents ?

2010-01-15 Thread qMax
On 16 янв, 02:55, Wadael  wrote:
> Hello,
>
> I've read about agent Spelly in the FAQ.
> I think there is at least another that turns the strings beginning
> with http (till next space) into hyperlinks.
At ante preview times it called Linkie
There's another who determines language

> I see this as stealth robots that get executed silently.
Agents are server-side stuff.
And they probably have completely different kind of API.
In particular, Spelly creates hidden blips, only available for the
Spelly itself.
I guess that this API is more unstable then any other and not in
priority tasks.

> Lately I looked at writing a robot called GWardDog that would prevent
> participants (other than the wave owner) to blip in a public wave. By
> automatically removing the blip.
> It's ok until s.o. removes the robot then, when the dog is gone ...
Many people tried to write similar bots. None succeeded.
(due to mentioned limitation, and some bugs in robots API)

Google is going to implement some native access control.
Nobody knows when.
-- 
You received this message because you are subscribed to the Google Groups 
"Google Wave API" group.
To post to this group, send email to google-wave-...@googlegroups.com.
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=en.




[Google Wave APIs] Re: Configurable Robot?

2010-01-15 Thread qMax
You may put configuration for robot in root blip before adding it.
The same way as you issue various commands to robots.
A good scheme/practice is to enclose parameters/commands/configs in
square brackets with keyword, like:
[Foo: parameters fopr foobot]

When robot added it has access to root blip and may copy its config
into data document or somewhere else,
and remove it from blip content.

On 13 янв, 21:25, Ojii  wrote:
> Is it possible to make a robot configurable? For example if the robot
> is added to a wave you have to configure that robot? If so, how do I
> do that?
-- 
You received this message because you are subscribed to the Google Groups 
"Google Wave API" group.
To post to this group, send email to google-wave-...@googlegroups.com.
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=en.




[Google Wave APIs] new-&-improved robots API

2010-01-15 Thread qMax
Hi.
Seems like i missed something.

What is the new robots API?
What are the improvements?

Robot client libraries were not updated for last month.
Are they available only in Melbourne?
-- 
You received this message because you are subscribed to the Google Groups 
"Google Wave API" group.
To post to this group, send email to google-wave-...@googlegroups.com.
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=en.




[Google Wave APIs] Re: API for retrieving a user's Google Wave contacts

2009-12-15 Thread qMax
wave uses google contacts, which have their own API:
http://code.google.com/intl/en/apis/contacts/docs/3.0/developers_guide.html

On 15 дек, 16:19, Harish  wrote:
> I would like to know how and where is the information about the
> contact list of a wave user is stored.I would also like to know how to
> retrieve the list so that it can be used for inviting them to a wave
> automatically  ???

--

You received this message because you are subscribed to the Google Groups 
"Google Wave API" group.
To post to this group, send email to google-wave-...@googlegroups.com.
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=en.




[Google Wave APIs] Re: Wave API Office Hours Wed Dec 15th 11am (US Pacific timezone)

2009-12-15 Thread qMax
These timezone recalcs always tricky.

Daylight Saving Time: saved light for 1 day.

--

You received this message because you are subscribed to the Google Groups 
"Google Wave API" group.
To post to this group, send email to google-wave-...@googlegroups.com.
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=en.




[Google Wave APIs] how can robots remove articipants

2009-12-12 Thread qMax
Hello.

java API library has method wavelet.removeParticipant.
pyhon lib misss it, and twas told that the method not yet supported on
wave server.

However, web-client can remove robots, and thus, protocol support such
operation.
On the other hand, bouncy the robot also is (or was?) able to ermove
robots.
At some recent OH it was told, that it is "quite not a robot" and uses
some server-side hacks to do it's dirty work.

I wonder, if those hacks are available for legitimate robots.
And if sources of bouncy are open.

P.S.
going to develop some guardy-robots to compensate lack of native
access control.

--

You received this message because you are subscribed to the Google Groups 
"Google Wave API" group.
To post to this group, send email to google-wave-...@googlegroups.com.
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=en.




[Google Wave APIs] Re: getState() is null?

2009-12-11 Thread qMax
check if you use Require feature="wave-preview"
recently it is known to break getState() in Chrome.

On 10 дек, 05:50, dirtside  wrote:
> I'm developing a Wave gadget. It sets a callback function for
> setStateCallback() and setParticipantCallback(), which apparently gets
> called immediately, three times (I'm guessing once for the
> setStateCallback and once each for the two participants).
>
> The callback function (updateDisplay) calls another internal function
> which calls wave.getState(). Well, the first time it calls
> wave.getState() I get a JS error saying that wave.getState() is null,
> which I guess means it hasn't been initialized yet. So my question is,
> why is wave calling the callbacks before the wave object is fully
> initialized, or am I doing something wrong?

--

You received this message because you are subscribed to the Google Groups 
"Google Wave API" group.
To post to this group, send email to google-wave-...@googlegroups.com.
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=en.




[Google Wave APIs] Dec 8 googlewave.com release (noticed changes)

2009-12-08 Thread qMax
Hi developers -

They released new version of wave preview server and client today (or
yesturday).

Noticed changes:
- group contacts no longer filtered out from list, all previously
added @googlegroup.com adresses now appear in contacts window (with
proper group avatar, btw).
- new button for searching group-shared waves (searching for closed
groups still does not work and returns all waves instead).
- i18n support works (getLang(), getMsg() and __MSG__) (getCountry()
seems only works for "en-us" in Accept-Languages header)
- author label 'me' replaced with 'You'

any more?

--

You received this message because you are subscribed to the Google Groups 
"Google Wave API" group.
To post to this group, send email to google-wave-...@googlegroups.com.
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=en.




[Google Wave APIs] Re: i18n in gadgets

2009-12-06 Thread qMax
nice to see it working in sandbox :)
my demo gadget now says 'hi' in 97 languages.

the country is still missing, i guess it is related mostly to LC_CTIME/
LC_NUMERIC facets
but i found no javascript tools that can handle this (even Closure
library miss it).

It seems like we'll have to store date formats/day_of_week names in
lang_foo.xml as strings,
and override Date.prototype.toLocaleDateString()

On 23 ноя, 03:22, qMax  wrote:
> Is it supported, or do i miss something?
>
> gadget url:http://qmax.academ.org/wave/i18n/test.xml
> test 
> wave:https://wave.google.com/a/wavesandbox.com/#restored:wave:wavesandbox
>
> messages are loaded (the message "Hi" is from default.xml)
> but pref.getLang() returns 'all'
>
> my system locale is ru_RU.UTF-8
> Accept-Languages: ru,en,*

--

You received this message because you are subscribed to the Google Groups 
"Google Wave API" group.
To post to this group, send email to google-wave-...@googlegroups.com.
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=en.




[Google Wave APIs] Re: user-friendly way of extension installation

2009-12-06 Thread qMax
Glad to know it.

On 7 дек, 05:07, "pamela (Google Employee)" 
wrote:
> The Wave client is looking to support a "public read-only" mode for
> waves in the future, which would remedy the issue of adding public@ to
> waves now.
We all hope for it.

>
> We have also talked about ways of making it easy for users to install
> extensions that they see used inside a Wave, similar to your other
> suggestion.
Would be realy nice.
And isn't it possible just to use the same code installer has and to
move it somewhere in wave-installer bundle?

As for now, i've used 'personal group' solution - created read-only
googlegroup, similar to google-wave-extensions, for the same purposes.
Kinda in hope i'll do some more cool extensions, apart from that
dedicated to you :)

--

You received this message because you are subscribed to the Google Groups 
"Google Wave API" group.
To post to this group, send email to google-wave-...@googlegroups.com.
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=en.




[Google Wave APIs] Re: Grabbing Gadget State and Saving for use in another function with python

2009-12-06 Thread qMax
So, you mean using data submitted ingadget in handling events from
other blips?

This is actually what DataDocuments are for - they are (should be)
available for all events in wavelet.

On 6 дек, 13:05, Cory Thompson  wrote:
> What I am aiming to do is to grab the state from my gadget once the
> gadget is updated and I need to use that collected value when a blip
> (besides the blip with the gadget) is submitted. This sounds like a
> really easy problem but I have been struggling for hours.

--

You received this message because you are subscribed to the Google Groups 
"Google Wave API" group.
To post to this group, send email to google-wave-...@googlegroups.com.
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=en.




[Google Wave APIs] Re: user-friendly way of extension installation

2009-12-06 Thread qMax
Actually, we cannot add google-wave-extensi...@googlegroups.com to a
wave the same way as dr.Web did.
And the only secure way to give access to installer is via creating
own private googlegroup.

--

You received this message because you are subscribed to the Google Groups 
"Google Wave API" group.
To post to this group, send email to google-wave-...@googlegroups.com.
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=en.




[Google Wave APIs] user-friendly way of extension installation

2009-12-06 Thread qMax
Hi.

When a developer publish it's extension for public use, it can provide
url to gadged xml, or to installer.
However, ordinary users are not much comfortable to copy link, then to
paste it into "install gadget" form.
They used to open links rather then copy.

We may create a wave with extinstaller instantiated, so that users nly
have to clivk "install/uninstall" button.
But making such waves public is quite vulnerable.
Maybe, adding "google-wave-extensi...@googlegroups.com" (as in
"extension gallery wave") will protect them.

But is it possible to integrate link or button to install/uninstall a
gadget directly into gadget?
And a user who found your beautifull cool extension somewhere in
waves, only need to click a button to install the gadget installer.
(Such button could be hidden somewhere in "help" popup/tab along with
your copyrights)

For now, we cannot even put a link to a wave with installer, because
it will be opened in gadget iframe, or at best - in new browser
window, which is not very elegant.

--

You received this message because you are subscribed to the Google Groups 
"Google Wave API" group.
To post to this group, send email to google-wave-...@googlegroups.com.
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=en.




[Google Wave APIs] Re: Delete a wave

2009-12-05 Thread qMax
On 5 дек, 15:01, fabrizio-mc  wrote:
> 2) we assume that all partecipants have same rights on the wave (I
> prefer this solution):
> Each partecipant can trash the wave
> Each partecipant can permanently delete the wave but only from his
> personal trash folder
> The wave was automatically deleted when the last human partecipant
> trashes (or delete) it (Robots are not considered as human
> partecipants).

This solution sounds very natural and logical.

--

You received this message because you are subscribed to the Google Groups 
"Google Wave API" group.
To post to this group, send email to google-wave-...@googlegroups.com.
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=en.




[Google Wave APIs] sugestion for linking to users/profiles

2009-12-03 Thread qMax
Hi.

How do you think, if it is usefull to have an element (or maybe
annotation) to represent links to user?
Similar to that livejournal and clones have.
Like you write  or pretty name and
it rendered to an icon, popup dialog and link to user profile.

This is quite social-oriented feature rather communicational,
but let's say that Wave is tend to be quite social and Web2.0ish in
this matter.

(email starts to be way too boring for discussions) The wave to
discuss it here:
https://wave.google.com/wave/#restored:wave:googlewave.com!w%252BQTrQ3ZRcA.1

--

You received this message because you are subscribed to the Google Groups 
"Google Wave API" group.
To post to this group, send email to google-wave-...@googlegroups.com.
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=en.




[Google Wave APIs] Re: Set blip date in Pyhton

2009-12-03 Thread qMax
Unix time is time of unix epoch - since (moment from 31 Dec 1969
23:59:59 to) 1 Jan 1970 00:00:00 UTC,
but not counting leap seconds, and thus it is not representation of
UTC or any other humanly 'correct' time.
It is designed for cumputers and robots :)
(UNIX time has exactly 86400 seconds per day, while UTC time leaps
between 86399 and 86401 per day)

glibc has several data types for time:
typedef time_t to represent time in seconds,
struct timeval to represent time with milliseconds
struct timespec to represent time woth nanoseconds.
(but i'm not sure if it is POSIX standard or GNU extension)

(for instance, squid proxy logs with milliseconds using timeval
instead of time_t)

On 4 дек, 08:17, David Nesting  wrote:
> On Tue, Dec 1, 2009 at 3:54 AM, pamela (Google Employee) <
>
> pamela...@gmail.com> wrote:
> > "contentcreationtime" and the value should look like "1249309218000"
> > (Unix time)
>
> Technically, based on your example, this would appear to be standard Unix
> time *in milliseconds*, which isn't normally how Unix systems store time.
>
> David

--

You received this message because you are subscribed to the Google Groups 
"Google Wave API" group.
To post to this group, send email to google-wave-...@googlegroups.com.
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=en.




[Google Wave APIs] Re: New FAQ: What annotations are supported by the Google Wave Client?

2009-12-02 Thread qMax
There also exist annotations denoting users cursors and selections,
these are mentioned in "conversation manifest" document.

I wonder if a robot _set_ such annotations - will it change cursor
position/selection?

On 2 дек, 09:33, "pamela (Google Employee)" 
wrote:
> Just posted a new FAQ about supported annotations:
>
> http://wave-api-faq.appspot.com/#annotations
>
> Comments/suggestions welcome.
>
> - pamela

--

You received this message because you are subscribed to the Google Groups 
"Google Wave API" group.
To post to this group, send email to google-wave-...@googlegroups.com.
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=en.




[Google Wave APIs] Re: gwave extension list

2009-11-30 Thread qMax
Thank you for pointing out.
I've seen these waves by Alexander Jimenes in sandbox, but they're
abandoned there.

On 1 дек, 10:47, Stephen George  wrote:
> I believe that the list is moderated by alexandro...@googlewave.com.
> And I disagree, I think that he's kept an open forum for discussion of
> the substance of the list.
>
> See these waves:
> Google \/\/ave Extensions List 
> -https://wave.google.com/wave/#restored:wave:googlewave.com!w%252BVD_T...
> Discussions: Google Wave Extensions List (2) 
> -https://wave.google.com/wave/#restored:wave:googlewave.com!w%252BP4hz...
>
> I think that you should reiterate your thoughts on the Discussions
> wave above.
>
> On Nov 30, 7:34 pm, qMax  wrote:
>
>
>
> > I wonder who maintainshttp://sites.google.com/site/gwaveextensions/
> > Are those extension verified somehow?
> > (to be opensourced, to be working, to be not malicious, to do not
> > contain obscene lexic in comments :), etc)
>
> > Seems like the list contains alot of not ever developing extensions,
> > and alot of broken.
> > This also makes a sence, it helps to prevent starting the same work,
> > but it is just a garbage, if cannot join developement, check status of
> > developement, or contact author.
>
> > I'd suggest to put mandatory link to sources of each extension
> > (making a frequired ield in submit form ) to solve all above issues at
> > once.

--

You received this message because you are subscribed to the Google Groups 
"Google Wave API" group.
To post to this group, send email to google-wave-...@googlegroups.com.
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=en.




[Google Wave APIs] gwave extension list

2009-11-30 Thread qMax
I wonder who maintains http://sites.google.com/site/gwaveextensions/
Are those extension verified somehow?
(to be opensourced, to be working, to be not malicious, to do not
contain obscene lexic in comments :), etc)

Seems like the list contains alot of not ever developing extensions,
and alot of broken.
This also makes a sence, it helps to prevent starting the same work,
but it is just a garbage, if cannot join developement, check status of
developement, or contact author.

I'd suggest to put mandatory link to sources of each extension
(making a frequired ield in submit form ) to solve all above issues at
once.

--

You received this message because you are subscribed to the Google Groups 
"Google Wave API" group.
To post to this group, send email to google-wave-...@googlegroups.com.
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=en.




[Google Wave APIs] Re: This Week's Office Hours

2009-11-30 Thread qMax
Pamela,
please please do not forget to tag the wave at start,
so we could just open our saved search with:public tag:"office hours"
to find out the wave as it appears.

Thanks.

--

You received this message because you are subscribed to the Google Groups 
"Google Wave API" group.
To post to this group, send email to google-wave-...@googlegroups.com.
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=en.




[Google Wave APIs] Re: The war has begun. alternative to public@a.gwave required

2009-11-29 Thread qMax
> On Sun, Nov 29, 2009 at 5:40 PM, qMax  wrote:
> Documentation for the JS version can be found in
> wave<https://wave.google.com/wave/#restored:wave:googlewave.com!w%252BtHD6...>;
> sample<http://antimatter15.com/misc/wave/waveread-alpha4.html?googlewave.com...>;
> also see the other waves from antimatter15. This basically acts as a full
> web client, and retrieves the wave data in JSON; and converts it into HTML
> (non-trivial).
Great! I'll check this out.
Though, it cannot help to restore already destroyed waves.
Somehow i miss most cool stuff from antimatter15.
Should definitely be aware of it.

> But the point of interest here is the method: using firefox + firebug, you
> can reverse-engineer arbitrary parts of the proto, including wave creation,
> blip submission, etc.
I also find ?ll=debug quite usefull thing.
Unfortunately, turning on firebug on my pc suffice to catch just a few
events before it hangs.

> Not really sure if impersonation can be achieved by this way -so a backup
> solution would probably restore blip content only, but not the date, and
> author of the blip.
In case of serious damage, an author is ok to be restored just as
remark.
I care about recovering structure of wavelet.
That should be something like offside playback with rollback.

> > > Third, you can build trust networks by using the Google groups
> > > solution<http://archive.waverz.com/googlewave.com!w+VJoH3a3CK/_>,
> > Great!
> > The feature with google groups seems working, with pecularities
> > though.
>
> Let me know, if you run into problems, maybe we can work around it?
They are quite definitive described in first comment under link.
We tested it today,
it appeared problematic to add non-wave (on web-client belief)
adresses into contacts.

> This reminds me of Primer <http://www.imdb.com/title/tt0390384/>:
> *Aaron: You know that story, about how NASA spent millions of dollars
> developing this pen that writes in Zero G? Did you ever read that? *
> *Abe: Yeah. *
> *Aaron: You know how the Russians solved the problem? *
> *Abe: Yeah, they used a pencil. *
> *Aaron: Right. A normal wooden pencil. It just seems like Philip takes the
> NASA route almost every time. *
>
> So: no. For one, full featured bot-wars would probably utilise native
> clients, as described very above; so even removing "bots" is out.
> Should this occur, before access control is in place (that would motivate the 
> wave
> team! :) )
Yes, the same way as spammers use smtp-agents in their botnets.
However, I believe that thinking of botwars is just semi-histeric
reaction.

> I think instead of a bot-war, traffic would probably just broke
> into invite-only groups, with the trust-networks above.
> Once AC is in place, I think most of these will be a non-issue.
Lars recently said, that public waves appeared quite surprising to the
team.
It had BEEN intended that Wave will be used in the wave similar to
what you described, with closed private waves.
But preview discovered that such usecase has its niche and makes a
sense.
And need to do something with it.

The incident of this weeken is already reported to the team.
We'll see what it will lead to.

Maybe, we'll have not to look up a pencil :)

--

You received this message because you are subscribed to the Google Groups 
"Google Wave API" group.
To post to this group, send email to google-wave-...@googlegroups.com.
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=en.




[Google Wave APIs] Re: The war has begun. alternative to public@a.gwave required

2009-11-29 Thread qMax
On 30 ноя, 01:59, Brett Morgan  wrote:
> > > And all of that becomes moot once we federate.
> > What do you mean here?
>
> Federation is the process by which wave servers integrate. It is currently
> up and running against the sandbox, but is still to land on the main wave
> servers, if I understand correctly. Once the main wave servers federate it
> becomes stupidly easy for a lot of robots to be run off of federated
> servers.
Well, personally, i hardly believe it will be ok to subscribe
on_document_changed on home computer :)
But i think it still makes much sence to provide various services on
independent servers.
And for robots insode wave-servers they invent 'agents' (i'm wating
wednesday to ask what are they).

>
> I was of the opinion that spam wouldn't be as much of an issue on this new
> protocol as it has been on smtp. Looks like i was wrong.

Spam is not only form of unesired phenomeon in contemporary
communication systems.
There're trolling, editwarring, flooding, flaming, and simply mob-
attacking just for fun (i dunno right word), etc.
These are all natural results of increasing electronic communication
availability and popularity.
I't would be somewhat naive to think that Wave could evade it.

And i believe GW team fully recognize this.
We're just on very early stage of the Wave, and there were too much
invites issued :)
To compare - this is hardly possible in wavesandbox. Where only bots
are misbehaving.

However, waves have already gathered valuable content.
And we need to protect it somehow.

--

You received this message because you are subscribed to the Google Groups 
"Google Wave API" group.
To post to this group, send email to google-wave-...@googlegroups.com.
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=en.




[Google Wave APIs] Re: The war has begun. alternative to public@a.gwave required

2009-11-29 Thread qMax
On 29 ноя, 23:49, Vikram Dhillon  wrote:
> I got a solution a while ago for another problem, it might work here: a
> robot can be made to export all the stuff in the entire wave out to a
> file, and that robot will also keep a check on the waves, if any changes
> occur the robot will restore the changes back from the file that was
> exported out. It would sync on intervals so data loss can be prevented.
There exists readonlie-robot,
but it requires to put triggering keyword in every single blip, which
is not convenient for all usecases,
(for instance for online conference, where every blip may or may not
be important).
There needed solution to back up whole wave. Like Silicon Dragon
suggest.

But a bot cannot do that.
Because structure of discussion (threads and sequence of replies) is
stored in separate data chunk (conversation manifest), not acessible
to bots.
Robots can not properly restore deleted blips.

This is what playback was actually designed for.
But it makes no sence without rollback feature

> Also we can harden (security-wise) the waves by asking for permission
> from one user (who would be like the lead of the wave) about the bots
> they want to use. So no other bots can be brought in a wave. What do you
> think?
This is already established policy among active wave users such as
russian rbarbarians :)
For instance, we have cunducted online-wave coverage of  GDD in
Moscow.

But it has been pointed, that distruction is possible even without
help of bots.

In particular, this night mentioned malicious person had his robots
occur broken,
and he continued to destroy waves manually.
Char by char.
Over 40 of waves.

--

You received this message because you are subscribed to the Google Groups 
"Google Wave API" group.
To post to this group, send email to google-wave-...@googlegroups.com.
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=en.




[Google Wave APIs] Re: The war has begun. alternative to public@a.gwave required

2009-11-29 Thread qMax
Thanks for hints!

On 29 ноя, 22:15, Silicon Dragon  wrote:
> First of all, it is very well possible to do all of the malicious actions
> even *without* bots.
> We have managed to reverse-engineer parts of the wave<->web protocoll, and
> are able to read full wave contents of all public waves. See
> archive.waverz.com for implementation.
I miss the way this was implemented.

> Second, using that, it's fairly trivial to do full backups of wave data,
> which can be restored to a new wave.
And can you please point out to the way of restoring content?
Or there's only method if it was backuped?

> Third, you can build trust networks by using the Google groups
> solution,
Great!
The feature with google groups seems working, with pecularities
though.

> along with 
> WaveNotify(for
> e-mail notifications). Until permission checks are implemented, this
> is the best way to keep malicious intents out of your group's waves.

> Fourth, using a protector bot, and a known blacklist (remember: wave invites
> are still a precious commodity), it's fairly trivial to restore all edits
> done by malicious bots, or users.
Full-featured bot warfare requires more complicated things.
A participant can easily remove protecting bot (either readonlie, or
blacklisted-bouncie before he bounces malicious user)
And thus needed at least two guard-bots to put them back when
protecting bots removed (and put each other as well, thus at least 2).
And neither of bot can store their setup (blacklist, guidelist) in
contentblips or datadocuments,
because they are insecurely accessible, and more advanced warbot may
have a time to remove that setup.
Thus, yet another bot required to store these configs elsewhere in
datastore maybe,
and coordinate protecting and guarding bots :)
That's appear to be somewhat tricky thing :)
And of courcse, all warbots can easy change app-id to be missed in
blacklists.

> >Who knows how he tracked his friends?
>
> Probably the same way all bots do: by storing participants of the waves it's
> been contacted by.
>
> As you can see, lots of solutions are already available, even without
> blowing the public-group-experiment up :)
>
> -SDr

--

You received this message because you are subscribed to the Google Groups 
"Google Wave API" group.
To post to this group, send email to google-wave-...@googlegroups.com.
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=en.




[Google Wave APIs] Re: The war has begun. alternative to public@a.gwave required

2009-11-29 Thread qMax
On 29 ноя, 18:40, Brett Morgan  wrote:
> At least back in the days of usenet, when the reaper came, he at least had
> the decency to be offering a chance at a green card.
Usenet was at days when the world was clean and friendly :)
Yet there was no ssl even.

> Wikipedia seems one of
> the few public systems that hasn't fallen apart, I suspect because the
> ability to undo damage is lower cost than the cost of doing the damage in
> the first place.
Do have no doubts, russian wikipedia sector had all forms of edit-
warring, with all that ban-cometee, and even debates in RL.
You know us russian barbarians :)

> There are a bunch of technical "solutions" in this area including rate 
> limiting and banning bots on public waves.
Recently Lars promised some solutions for moderation and permissions
in next year.
And I'm looking for workarounds right now, 29 Nov 2009.

> And all of that becomes moot once we federate.
What do you mean here?

--

You received this message because you are subscribed to the Google Groups 
"Google Wave API" group.
To post to this group, send email to google-wave-...@googlegroups.com.
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=en.




[Google Wave APIs] The war has begun. alternative to public@a.gwave required

2009-11-29 Thread qMax
Hi, wavers!


With current permission system in Wave,
only 1 malicious user and a pair of bots is enough to destory _ALL_
public waves.
And the war has begun.
One bastart started to destroy popular pubic russian waves.
It seems like it has not yet properly working robots, but it's a
matter of time.
Russian users going to completely decline using public waves anymore.


And I'm thinking about alternative to pub...@a.gwave.
A solution could be:
- mirror root blip into _public_ wave, so that it could easily be
found by interested people
- restore the blip from changing, and preferably - synchronizing
changes with root blip of original wave;
- completely delete all replies, but memorize authors;
- automatically adding reply authors to original wave,
  if they are trusted by some participants of original wave.
This could avoid necessity to completely go into undeground with only
private waves :)

Synchronizing root blips could be tricky, but still possible.
If to memorize waveId/waveletId/blipId of mirrored wave it is possible
to build and send an operation to replace whole content of blip out of
event context.
On some office hours Austin Chau confirmed that such operation should
succeed.
Please, respond if someone have succeeded in this.

And main problem is to maintain users relations.
There is bogus groupy bot with function 'add friends of groupy' (about
2000 users). You know it if ever tried the bot (never try if not!).
Who knows how he tracked his friends?

Is it possible to use GContacts API to track such relations?
or the bot should maintain own database of users?
have someone succeeded with using datastore with bot?

Answers and any ideas will be appreciated.

--

You received this message because you are subscribed to the Google Groups 
"Google Wave API" group.
To post to this group, send email to google-wave-...@googlegroups.com.
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=en.




[Google Wave APIs] Unable to retrieve spec for http://foo.googlecode.com/svn/bar/baz.xml. HTTP error 502

2009-11-28 Thread qMax
Suddenly, this error start to happen.
When the same URL retrieved manually in browser, it works well.

502 is "Bad gateway"
That is some internal server error.

What could it mean?

Actual url is:
http://serial-experiments-qmax.googlecode.com/svn/wave-gadget-meeting/trunk/meeting.xml

The wave where it's been't loaded:
https://wave.google.com/a/wavesandbox.com/#restored:wave:wavesandbox.com!w%252Bau8gWqwuA.2
or
https://wave.google.com/wave/#restored:wave:googlewave.com!w%252BoXu-zFdUA.3

Ok, i have 12 links from the xml (very granulated code)
Could it be the reason?
Will Closure help in the case?

--

You received this message because you are subscribed to the Google Groups 
"Google Wave API" group.
To post to this group, send email to google-wave-...@googlegroups.com.
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=en.




[Google Wave APIs] Re: Client side API?

2009-11-25 Thread qMax


On 25 ноя, 23:58, Olreich  wrote:
> 1) There is no client side API that I know of, though someone has
> managed to create a google wave notifcation extension, so there must
> be some way to do it.

It is done for firefox, and working quite hackery way.
https://addons.mozilla.org/en-US/firefox/addon/14973

In fact, the client is doing http jsonrpc requests that you may
reverse engineer (using liveHTTPHeaders extension, for instance) to
figure out how they work.

--

You received this message because you are subscribed to the Google Groups 
"Google Wave API" group.
To post to this group, send email to google-wave-...@googlegroups.com.
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=en.




[Google Wave APIs] Re: How to get current user, who edit content in blip

2009-11-25 Thread qMax
Refer to conversation model:
http://www.waveprotocol.org/draft-protocol-specs/wave-conversation-model

There're annotations representing all user cursors for blips in edit
mode.

On Nov 25, 12:22 pm, hvt_kg  wrote:
> Hi all,
>
> I had some issues when try retrieve current user when start edit
> content.
> Ex: user  A and User B join in wavelet. When user A create blip. at
> the time I can get Creator with code below it is OK:
> ...
> for (Event event : robotMessageBundle.getEvents()) {
>                         TextView document = event.getBlip().getDocument();
>                         .
>                                 String creator = event.getBlip().getCreator();
>                                  document.append(creator );
>                         .
>
> }
>
> ...
>  Also, I want get current user. who edit content in blip. But not work
> => with current User is Null
> Ex:  At the time, when user B edit content in blip created by User A.
> I had try get info from User B: name,.. But not work.
> ...
> for (Event event : robotMessageBundle.getEvents()) {
>                         TextView document = event.getBlip().getDocument();
>                         .
>                         String userTyping = document .getAuthor();
>                         document.append(userTyping);
>                         .
>
> }
>
> ...
>
> Anyone can help me?
> thanks,
> hvt_kg

--

You received this message because you are subscribed to the Google Groups 
"Google Wave API" group.
To post to this group, send email to google-wave-...@googlegroups.com.
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=en.




[Google Wave APIs] Re: Drop down menus, like Spelly, from a robot

2009-11-25 Thread qMax
this is not yet implemented.

Spirit of Pamela advices to feel free to star this issue:
http://code.google.com/p/google-wave-resources/issues/detail?id=270

:)

On Nov 25, 2:19 pm, frak  wrote:
> Does anyone know if this is possible at the moment:
>
> I want my robot to highlight certain keywords in a Wave and present a
> drop down menu of actions based on the type of keyword.  I know that
> Spelly is an agent and has different access to the wave than a robot,
> but I was wondering if it was possible at all?
>
> regards

--

You received this message because you are subscribed to the Google Groups 
"Google Wave API" group.
To post to this group, send email to google-wave-...@googlegroups.com.
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=en.




[Google Wave APIs] Re: Gadget and Wave States problem

2009-11-24 Thread qMax
If you use Require feature="wave-preview" it might not work in chrome.

On 25 ноя, 09:38, Matias Molinas  wrote:
> Well the problem in Chrome 3 is that the state of the wave is not
> initialized, but in firefox 3 the wave state of the same gadget is
> properly initialized.
> In firefox 3 the state of the wave is not null, it works correctly for
> a few hours, then the states and therefore the content of the gadget
> is lost :-(
>
> 2009/11/24 Matias Molinas :
>
>
>
> > interesting observations in:
>
> >http://groups.google.com/group/google-wave-api/browse_thread/thread/9...
>
> > but no answers :-(
>
> > 2009/11/23 a webulite :
> >> Pamela,
>
> >> so I am clear, making it "public" means available only to people that
> >> have Wave right? I have embedded a wave on one of my web pages, and
> >> made it public. I understand that to mean that any Wave user can join
> >> in, and also edit it. But... people without Wave will get that screen
> >> that tells them to view the Wave demo, and to log in, right?
>
> >> Is there actually a way for waves that you have embedded on your
> >> webpage to be allowed to be views by ALL people Wave users or not? I
> >> am thinking of making a blog page on my site that is actually a Wave,
> >> but that would be pointless if only Wave account holders could read my
> >> posts. Well... that is... until the entire world have a Wave
> >> account...  evil google taking over the world laugh.
>
> >> Hope these questions are not inappropriate or a bother. I just started
> >> using Wave last night, and I have a million questions.
>
> >> Cheers! Ricco
> >>http://webulite.com
> >> -
>
> >> On Mon, Nov 23, 2009 at 9:34 AM, pamela (Google Employee)
> >>  wrote:
> >>> Hi Matias -
> >>> Please make that Wave public if you would like others to be able to see 
> >>> it.
> >>> - pamela
>
> >>> On Mon, Nov 23, 2009 at 8:46 AM, Matias Molinas 
> >>> wrote:
>
>  He,
>  yesterday my gadget for todolist work fine with with wave states, this
>  day is not working.
>
>  Could be due to a server problem?
>
>  The wave where it worked yesterday and today you I can not retrieve
>  the gadget state is:
>
> https://wave.google.com/wave/#restored:wave:googlewave.com!w%252B29Kw...
>
> >>> --
>
> >>> You received this message because you are subscribed to the Google Groups
> >>> "Google Wave API" group.
> >>> To post to this group, send email to google-wave-...@googlegroups.com.
> >>> To unsubscribe from this group, send email to
> >>> google-wave-api+unsubscr...@googlegroups.com.
> >>> For more options, visit this group at
> >>>http://groups.google.com/group/google-wave-api?hl=.
>
> >> --
>
> >> You received this message because you are subscribed to the Google Groups 
> >> "Google Wave API" group.
> >> To post to this group, send email to google-wave-...@googlegroups.com.
> >> To unsubscribe from this group, send email to 
> >> google-wave-api+unsubscr...@googlegroups.com.
> >> For more options, visit this group 
> >> athttp://groups.google.com/group/google-wave-api?hl=en.

--

You received this message because you are subscribed to the Google Groups 
"Google Wave API" group.
To post to this group, send email to google-wave-...@googlegroups.com.
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=en.




[Google Wave APIs] Re: Robot Request - text locker

2009-11-24 Thread qMax
There is "readonly" robot, that restores blip content when it changed.
Have you checked it?
(i can not find it right now)

On 24 ноя, 22:18, Akiva  wrote:
> I know Wave does not allow users to lock the text of their original
> blips.  Could someone build a robot that would, when enabled, watch
> the text of particular blips for edits and restore the original text
> if edits are made?  This is of particular interest to me because I'm
> considering opening a number of public waves on political issues, and
> that's exactly the sort of contentious public debate where bad actors
> would be likely to alter an author's post in order to discredit them.

--

You received this message because you are subscribed to the Google Groups 
"Google Wave API" group.
To post to this group, send email to google-wave-...@googlegroups.com.
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=en.




[Google Wave APIs] Re: First (usable) gadget: Waffle

2009-11-24 Thread qMax
I think it is very nice practice to provide test wave for your cool
wave gadgets/robots,
(with public and tagged testing) so that we have not to create alot of
empty waves just to see your stuff.

Suggestions:
Use some datepicker widget to enter dates. It is less then
userfriendly to enter dates manually.
The theme "start" at jqueryui.com/i is quite "wavy" to use.
You may use wave.getHost() == wave.getViewer() to check if the viewer
is one who inserted the gadget.

Maybe you'll find interesting my similar gadget here:
https://wave.google.com/a/wavesandbox.com/#restored:wave:wavesandbox.com!w%252Bau8gWqwuA.1
(oops, it seems not working for now :) i'll fix in few days)

Maybe you'll find usefull my timezone-aware Date prototype here:
http://code.google.com/p/serial-experiments-qmax/source/browse/zonaldate.js/trunk/zonaldate.js
(and i'd like to listen any suggestions how to inject this stuff
prototype into built-in Date proto)

On 24 ноя, 05:51, Mikkel Staunsholm  wrote:
> I call this a Waffle. It's like Doodle but in a Wave. Change the
> header to reflect what you wan't to find a date for,
> then press 'Add date' to suggest as many days as you'd like. Click on
> a date to remove it again.
>
> Wan't to add a Waffle to your own wave? Press the puzzle button to add
> a gadget and use this URL:http://www.staunsholm.dk/wave/waffle.xml
>
> Suggestions etc. are always welcome.
>
> Regards, Mikkel.

--

You received this message because you are subscribed to the Google Groups 
"Google Wave API" group.
To post to this group, send email to google-wave-...@googlegroups.com.
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=en.




[Google Wave APIs] Re: Robot Access Robot

2009-11-24 Thread qMax
Oh no. Not yet another special UI.
Why not to provide general "User Agent API" to be common for robots,
agents, extensions and third party stuff?
I want to talk about it.

On 24 ноя, 21:55, "pamela (Google Employee)" 
wrote:
> The most accurate answer would be Unknown. We're open to the idea of third
> party agent-like robots, but we're focusing on the more straightforward
> robot APIs for now. Third party agents or agent-like robots would require
> some sort of UI for the user to very explicitly enable them to act on their
> behalf, and would likely require a higher level of security, since they
> would be on all the user's waves.
>
> - pamela

--

You received this message because you are subscribed to the Google Groups 
"Google Wave API" group.
To post to this group, send email to google-wave-...@googlegroups.com.
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=en.




[Google Wave APIs] Re: i18n in gadgets

2009-11-23 Thread qMax
500! :)

http://code.google.com/p/google-wave-resources/issues/detail?id=500

On 23 ноя, 09:28, "pamela (Google Employee)" 
wrote:
> Hi qMax-
>
> It is not yet supported. We do plan to support it in the future. Feel free
> to file it as a feature request if you would like to easily track its
> progress.
> (And thanks for the reminder!)
>
> - pamela

--

You received this message because you are subscribed to the Google Groups 
"Google Wave API" group.
To post to this group, send email to google-wave-...@googlegroups.com.
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=.




[Google Wave APIs] Re: Robot Access Robot

2009-11-23 Thread qMax
Nope.

Phantom of Spelly stores suggestions in some special data documents.
They are seen in "debug"/"show all wavelets" (id of sugestions doc =
"spell+b~+" + tail of content blip id) -
They are not available in event context for another robot.
Annotations contain only references to nodes inside these docs.

On 23 ноя, 13:01, Avital Oliver  wrote:
> I don't think you can do that but Spelly works by inserting special
> annotations into the wave. Your robot should be able to see these
> annotations and modify them to contain your new words.
>
> --http://blog.thewe.nethttp://twitter.com/theWE_
>
>
>
> On Sat, Nov 21, 2009 at 2:36 AM, Eyal  wrote:
> > Hi, I want to develop a robot that adds a few spelling options that
> > Spelly doesn't have, but I wondered if accessing another robot is even
> > possible
>
> > --
>
> > You received this message because you are subscribed to the Google Groups
> > "Google Wave API" group.
> > To post to this group, send email to google-wave-...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > google-wave-api+unsubscr...@googlegroups.com > googlegroups.com>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/google-wave-api?hl=.

--

You received this message because you are subscribed to the Google Groups 
"Google Wave API" group.
To post to this group, send email to google-wave-...@googlegroups.com.
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=.




[Google Wave APIs] Re: How to delete all the blips in a wave except the root blip??

2009-11-22 Thread qMax
Java reference says:
void com.google.wave.api.Blip.delete()
Deletes the current blip and all of its descendants.

does it work only when applied to event-affected blip ?

On 22 ноя, 23:57, Olreich  wrote:
> Deleting the child of the rootBlip will not delete it's
> "children" (the rest of the conversation). This may be a bug. Of
> course, I'm guessing that his application wants that update to be
> immediate, so that he can post other data in the blip and then allow
> people to respond to it. He could lock the blip (delete all event
> blips until the rootBlip deletes the conversation) though.
>
> On Nov 21, 11:44 pm, qMax  wrote:
>
>
>
> > In any case, you first need some event to trigger your action.
>
> > If i recall properly, in event context you can always get root blip of
> > wavelet, and direct children of affected blip.
> > Then you can try following:
> > 1. modify the root blip with dumb data (say, some special annotation
> > at start).
> > 2. catch on_blip_submitted event on root blip. (check your dumb data
> > to assure it is your modification)
> > 3. now you have access to all children blips of root.
> > 4. delete all direct children with all their descendants
> > 5. remove dumb data from root blip.
>
> > On Oct 28, 8:44 pm, shitu  wrote:
>
> > > Hi all..
> > > I wants to delete all the blips in the wave except the root blip.

--

You received this message because you are subscribed to the Google Groups 
"Google Wave API" group.
To post to this group, send email to google-wave-...@googlegroups.com.
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=.




[Google Wave APIs] Re: i18n in gadgets

2009-11-22 Thread qMax
with wave stuff removed, this gadged works well in iGoogle
http://qmax.academ.org/wave/i18n/gadget3.xml

Thus, it is wave issue.

--

You received this message because you are subscribed to the Google Groups 
"Google Wave API" group.
To post to this group, send email to google-wave-...@googlegroups.com.
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=.




[Google Wave APIs] i18n in gadgets

2009-11-22 Thread qMax
Is it supported, or do i miss something?

gadget url:
http://qmax.academ.org/wave/i18n/test.xml
test wave:
https://wave.google.com/a/wavesandbox.com/#restored:wave:wavesandbox.com!w%252BgC_edUXEA

messages are loaded (the message "Hi" is from default.xml)
but pref.getLang() returns 'all'

my system locale is ru_RU.UTF-8
Accept-Languages: ru,en,*

--

You received this message because you are subscribed to the Google Groups 
"Google Wave API" group.
To post to this group, send email to google-wave-...@googlegroups.com.
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=.




[Google Wave APIs] Re: How to delete all the blips in a wave except the root blip??

2009-11-21 Thread qMax
In any case, you first need some event to trigger your action.

If i recall properly, in event context you can always get root blip of
wavelet, and direct children of affected blip.
Then you can try following:
1. modify the root blip with dumb data (say, some special annotation
at start).
2. catch on_blip_submitted event on root blip. (check your dumb data
to assure it is your modification)
3. now you have access to all children blips of root.
4. delete all direct children with all their descendants
5. remove dumb data from root blip.

On Oct 28, 8:44 pm, shitu  wrote:
> Hi all..
> I wants to delete all the blips in the wave except the root blip.

--

You received this message because you are subscribed to the Google Groups 
"Google Wave API" group.
To post to this group, send email to google-wave-...@googlegroups.com.
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=.




[Google Wave APIs] Re: Cannot walk up Parent chain in Java

2009-11-19 Thread qMax
qmax:
in wave-api group it was asked, but asker seems missing here.
will robots be able to access blips/wavelets out of scope of current
event?

austin:
robot has access to the context of the triggering blip, its immediate
parent and child context.  Anything other than it has no access to.

qmax:
what if i build an operation manually, using waveid/waveletid/blipid
out of context?

austin:
you can perform action to that blip such as appending, etc.  But you
still have no context to its actual content, like if you want to
parse
out any FormElement within the blip.  A new mechanism we are working
is the active gateway API which will allow a robot to make active
request to wave to retrieve full context of any blip.

On 17 ноя, 11:41, Olreich  wrote:
> The Java API has the Blip.getParent() function. When this is called,
> the returned blip does not have the ability to "getParent()" again it
> seems. or, at the least, one cannot continue walking without hitting
> null on the second trial. The same rings true when using
> "isParentAvailable()" to check for parents.
>
> Here is an excerpt of the code for walking up the blip chain.
>
> Blip currentBlip = bottomBlip;
> Blip lastBlip = null;
> while ((currentBlip = currentBlip.getParent()) != null) {
>         lastBlip = currentBlip;
>
> }
>
> This stops with currentBlip being exactly 1 parent above bottomBlip.
> Every time.
>
> Sample Blip chain information:
>
> 12:21
> Blip Id: b+2ew83hhsK
> Parent Blip Id:b+9k9iVrZkEzM
> Parent Available: true
>
> 12:21 am
> Blip Id: b+2ew83hhsM
> Parent Blip Id:b+2ew83hhsL
> Parent Available: true
>
> 12:22 am
> Blip Id: b+2ew83hhsN
> Parent Blip Id:b+2ew83hhsM
> Parent Available: true
>
> 12:22 am
> Blip Id: b+9k9iVrZkE0z
> Parent Blip Id:b+2ew83hhsN
> Parent Available: true
>
> 12:22am
> Blip Id: b+2ew83hhsO
> Parent Blip Id:b+9k9iVrZkE0z
> Parent Available: true
>
> Using a bundle.getBlip(waveId, waveletId, parentBlipId) command to
> travel also does not work, as it stops once more at the blip just
> above.
>
> What appears to be happening is that each blip, upon a BLIP_SUBMITTED
> event, has the ability to see it's parents and such, but when a blip
> is found via any of the methods of "get" there is no parent
> information on them. It would be most useful to have this worked out,
> as then it would give us at least 1 way to reliably count blips, do
> batch operations to blips, and a couple other fun things.

--

You received this message because you are subscribed to the Google Groups 
"Google Wave API" group.
To post to this group, send email to google-wave-...@googlegroups.com.
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=.




[Google Wave APIs] Re: Wave API Office Hour Wed Nov 17th 11am starting now

2009-11-18 Thread qMax

missing tags again...
it could really help ppl to find these waves.

On 19 ноя, 01:00, Austin Chau  wrote:
> This is the public wave for the office hour.  Please bring all your
> Wave API-related questions and see you there :)
>
> https://wave.google.com/a/wavesandbox.com/?nocache=1#restored:wave:wa...
>
> Austin

--

You received this message because you are subscribed to the Google Groups 
"Google Wave API" group.
To post to this group, send email to google-wave-...@googlegroups.com.
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=en.




[Google Wave APIs] Re: gadget state unavailable in onload handler

2009-11-18 Thread qMax
Thanks for pointing it!
Somehow i missed this particular rule when read this tutorial.
This is exactly what i was asking for.

Thus, if a gadget needs to tweak its UI according to values (such as
viewer/installer),
the way to do it is to create another init_on_state function to call
at first time stateUpdate triggered.
However, it is not documented if state callback always triggered after
onLoad.

On 18 ноя, 22:55, cmdskp  wrote:
> I use state.submitDelta(...) or state.submitValue(...) to update the
> state to the server.  For clearing values, I've set them to null (as
> recommended in the guides) with those functions.  Haven't tried
> state.reset()
>
> I'd expect updateState to trigger more than once as more state is
> sent.  It's best to design expecting state to arrive out-of-order and
> not in one go with tests for each value - even if it appears to come
> in-order, it may not in the future or when you add a robot to alter
> the state later.
>
> As Daniel Faust mentioned, a gadget's init function shouldn't try to
> access the state, but set up the callback function that will provide
> it - when wave is ready to.
>
> The tutorial covers this under 'Structuring a Wave Gadget' here:
>
> http://code.google.com/apis/wave/extensions/gadgets/guide.html
>
> "Don't access the participant or state objects in init().
>
> Most Wave gadgets include an initialization function that is called
> when the gadget loads. In the examples in this document, this function
> is called init().
>
> You use this function to confirm that the wave is live and to register
> your callbacks.
>
> You should not attempt to access the participant or state objects in
> init().
>
> The participant and state objects do not have a meaningful value until
> their respective callbacks (setParticipantCallback and
> setStateCallback) have fired."

--

You received this message because you are subscribed to the Google Groups 
"Google Wave API" group.
To post to this group, send email to google-wave-...@googlegroups.com.
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=en.




[Google Wave APIs] Re: Wave feels slower than one month ago.

2009-11-18 Thread qMax
I agree.
I've installed Chrome (linux beta buggy build) just to browse wave,
because it is faster.
Now it makes me feel like i'm in firefox again.

On 18 ноя, 18:30, Daniel Faust  wrote:
> I don't know what's wrong. It feels like Wave has become so slow that
> it begins to be annoying.

--

You received this message because you are subscribed to the Google Groups 
"Google Wave API" group.
To post to this group, send email to google-wave-...@googlegroups.com.
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=.




[Google Wave APIs] Re: how does bot recognize who added it ?

2009-11-18 Thread qMax
Is this the only line that needed to be changed?
Qurious what was the reason to pass properties instead of event...

On Nov 18, 12:20 pm, hcvst  wrote:
> Hi,
>
> I am not sure whether the current Python client API has already been
> updated
> but the one I used (downloaded end of Oct) for my bot only passed
> context and
> properties to the Handler and not the event.
>
> I changed line 124 in waveapi.robot_abstract. Obviously, you will need
> to adjust
> your handlers to work with events instead of properties. The #TODO
> suggests, that
> this will be done in the future anyway.
>
> 119 - def HandleEvent(self, event, context):
> 120 """Calls all of the handlers associated with an event."""
> 121 for handler in self._handlers.get(event.type, []):
> 122 # TODO(jacobly): pass the event in to the handlers directly
> 123 # instead of passing the properties dictionary.
> 124 handler(event.properties, context)
>
> new 124: handler(event, context)
>
> Now you can use the attribute event.modifiedBy in your handler.
>
> -HC
>
> On Nov 17, 4:16 pm, qMax  wrote:
>
> > The pub...@a.gwave.com now prints who added it to participants.
>
> > Well, Public is somewhat built-in feature, not real bot.
> > Does it use some completely internal cheats?
>
>

--

You received this message because you are subscribed to the Google Groups 
"Google Wave API" group.
To post to this group, send email to google-wave-...@googlegroups.com.
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=.




[Google Wave APIs] Re: gadget state unavailable in onload handler

2009-11-17 Thread qMax
wave-preview does not work in chrome at all
and in firefox it trigger state update twice after loading

state.reset() does not trigger state update callback neither with nor
without wave-preview

On 18 ноя, 07:38, "pamela (Google Employee)" 
wrote:
> The "wave-preview" library (served from wave-api.appspot.com) was down for
> approximately 30 minutes this morning, and OpenSocial templates were broken
> for about 3 hours. These were separate but somewhat related issues. We're
> looking into tests that will prevent these from happening in the future.
>
> - pamela
>
>
>
> On Tue, Nov 17, 2009 at 10:47 AM, Justin  wrote:
> > Anyone else finding their gadgets not working right now?
>
> > --
>
> > You received this message because you are subscribed to the Google Groups
> > "Google Wave API" group.
> > To post to this group, send email to google-wave-...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > google-wave-api+unsubscr...@googlegroups.com > googlegroups.com>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/google-wave-api?hl=.

--

You received this message because you are subscribed to the Google Groups 
"Google Wave API" group.
To post to this group, send email to google-wave-...@googlegroups.com.
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=.




[Google Wave APIs] Re: gadget state unavailable in onload handler

2009-11-17 Thread qMax
of course i see "thestate" there, but only after "state updated", not
after "gadget loaded"

do you see it right after opening the wave?

On Nov 17, 11:50 pm, "\\x00"  wrote:
> I just set the state. foo should be 'thestate'

--

You received this message because you are subscribed to the Google Groups 
"Google Wave API" group.
To post to this group, send email to google-wave-...@googlegroups.com.
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=.




[Google Wave APIs] Re: Sandbox not responding any more ...

2009-11-17 Thread qMax
Stephanie returned from tour, sandbox returned to work.

On Nov 17, 8:46 pm, Venkat Polisetti 
wrote:
> Hi all,
>
> I do not know if anyone is experiencing this, my sandbox is not
> refreshing my screen any more since this morning. All that it displays
> are the boxes that house contacts, navigation, inbox.
>
> I cleaned up the history of my browser (Chrome, IE) but no use.
>
> Thanks,
> Venkat Polisetti

--

You received this message because you are subscribed to the Google Groups 
"Google Wave API" group.
To post to this group, send email to google-wave-...@googlegroups.com.
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=.




[Google Wave APIs] how does bot recognize who added it ?

2009-11-17 Thread qMax
The pub...@a.gwave.com now prints who added it to participants.

Well, Public is somewhat built-in feature, not real bot.
Does it use some completely internal cheats?

--

You received this message because you are subscribed to the Google Groups 
"Google Wave API" group.
To post to this group, send email to google-wave-...@googlegroups.com.
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=.




[Google Wave APIs] Re: gadget state unavailable in onload handler

2009-11-17 Thread qMax
Can someone give a live gadget code that gets state in onload
handler ?

--

You received this message because you are subscribed to the Google Groups 
"Google Wave API" group.
To post to this group, send email to google-wave-...@googlegroups.com.
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=.




[Google Wave APIs] Re: gadget state unavailable in onload handler

2009-11-17 Thread qMax
This is exactly what i do in current code of  
http://qmax.academ.org/wave/test.xml

But the state is still null before first stateCallback call.

On 17 ноя, 00:19, Adam Ness  wrote:
> I believe that the "document.onload" and the standard jQuery
> $(function(){}) methods don't work correctly in wave due to the odd
> loading ordrer.  Instead, use
>
> function init() {
>   if( typeof wave!='undefined' && wave.isInWaveContainer() ) {
>     // do your wave-specific initialization here
>   }}
>
> gadgets.util.registerOnLoadHandler(init);
>
>
>
> On Mon, Nov 16, 2009 at 8:07 AM, qMax  wrote:
> > Ok.
> > I believe in magic.
> > But this time i cannot figure out what exact magic is necessary.
>
> > Here is minimal gadget, containing only debug log and printing state/
> > mode/viewer/host at various stages:
> >http://qmax.academ.org/wave/test.xml
>
> > At start of onloadHandler there is:
> >  if (wave === undefined || ! wave.isInWaveContainer()) {
> >    alert('I wanna be in a wave!');
> >    return;
> >    }
>
> > Here is instance of it:
> >https://wave.google.com/a/wavesandbox.com/#restored:wave:wavesandbox
>
> > After gadget loaded it shows that state/viewer/host/mode are null (but
> > not undefined).

--

You received this message because you are subscribed to the Google Groups 
"Google Wave API" group.
To post to this group, send email to google-wave-...@googlegroups.com.
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=.




[Google Wave APIs] Re: gadget state unavailable in onload handler

2009-11-16 Thread qMax
I removed head/html/body (they was copypasted from another test page)
and even jquery.
Now i put your trick at start of gadget and moved init handler out of
closure.
It still shows state is null onload.
(chrome, firefox, in gwave preview since sandbox is down)

What else can be wrong in almost virginal clean gadget?

On Nov 17, 4:17 am, "\\x00"  wrote:
> Seems to be ok now

--

You received this message because you are subscribed to the Google Groups 
"Google Wave API" group.
To post to this group, send email to google-wave-...@googlegroups.com.
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=.




[Google Wave APIs] Re: GADGET_STATE_CHANGED (Preview) does not fire

2009-11-16 Thread qMax
And GADGET_STATE_CHANGED is not in current API neither in java nor
python.
Where did you found it ?

On Nov 17, 1:02 am, hcvst  wrote:
> Hi,
>
> my bot's capabilities.xml states that it is interested in
> GADGET_STATE_CHANGED events. I've upped the bot's version after adding
> this event to the ones it's interested in, yet looking at the GAE logs
> my bot does not seem to be notified.
>
> Is this event not supported yet?
>
> Thanks,
> HC

--

You received this message because you are subscribed to the Google Groups 
"Google Wave API" group.
To post to this group, send email to google-wave-...@googlegroups.com.
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=.




[Google Wave APIs] Re: GADGET_STATE_CHANGED (Preview) does not fire

2009-11-16 Thread qMax
This seems to be bug#278
http://code.google.com/p/google-wave-resources/issues/detail?id=278

changing appengine version will let appengine to serve new
capabilities,
but wave server will not rerequest it.

until this bug is fixed the only way is to start robot with new
capabilities is to upload it under new app name.

On Nov 17, 1:37 am, hcvst  wrote:
> Hi again,
>
> after examining the logs some more, it appears that WaveRobotGateway
> hasn't requested
> capabilities.xml since I've updated it.
>
> Is there a way to force a refresh? The last request was about two
> hours ago. I've tried
> creating new waves, using the proxyFor syntax mybot+t...@appspot.com,
> restarting the browser
> and adding participants.
>
> Regards,
> HC
>
> On Nov 16, 9:02 pm, hcvst  wrote:
>
>
>
> > Hi,
>
> > my bot's capabilities.xml states that it is interested in
> > GADGET_STATE_CHANGED events. I've upped the bot's version after adding
> > this event to the ones it's interested in, yet looking at the GAE logs
> > my bot does not seem to be notified.
>
> > Is this event not supported yet?
>
> > Thanks,
> > HC

--

You received this message because you are subscribed to the Google Groups 
"Google Wave API" group.
To post to this group, send email to google-wave-...@googlegroups.com.
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=.




[Google Wave APIs] testing: meeting time calculator across timezones, v2

2009-11-16 Thread qMax
And hi.

Finally redesigned gadget to show available time for meeting
participants:
http://serial-experiments-qmax.googlecode.com/svn/wave-gadget-meeting/trunk/meeting.xml

Now it's matter to click/select your free hours and everyone will see
it in their local timezones.

Please welcome to test and comment here:
https://wave.google.com/a/wavesandbox.com/#restored:wave:wavesandbox.com!w%252Bau8gWqwuA.1

--

You received this message because you are subscribed to the Google Groups 
"Google Wave API" group.
To post to this group, send email to google-wave-...@googlegroups.com.
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=.




[Google Wave APIs] Re: gadget state unavailable in onload handler

2009-11-16 Thread qMax
Ok.
I believe in magic.
But this time i cannot figure out what exact magic is necessary.

Here is minimal gadget, containing only debug log and printing state/
mode/viewer/host at various stages:
http://qmax.academ.org/wave/test.xml

At start of onloadHandler there is:
  if (wave === undefined || ! wave.isInWaveContainer()) {
alert('I wanna be in a wave!');
return;
}

Here is instance of it:
https://wave.google.com/a/wavesandbox.com/#restored:wave:wavesandbox.com!w%252BW80qIMN-A.4

After gadget loaded it shows that state/viewer/host/mode are null (but
not undefined).

After gadget loaded, stateUpdated automatically triggered to setup the
state.
(Chrome 4.0.223.11, Firefox 3.5.3)

What's wrong with it?

On 16 ноя, 20:56, "\\x00"  wrote:
> http://groups.google.com/group/google-wave-api/browse_thread/thread/f...
>
> I don't use
>
> Just put
>
>    if (typeof wave != 'undefined' && wave.isInWaveContainer()){
>        wave.setStateCallback(stateUpdated);
>        wave.getState()
>        gadgets.window.adjustHeight();
>     }
>
> at the end of my jquery document ready works fine
>
> On Nov 15, 7:50 pm, qMax  wrote:
>
>
>
> > Hi.
>
> > I discovered that gadget state is unavailable in onLoad handler,
> > even if it exists in blip when wave is opened.
> > The same for viewer and host.
>
> > Is it bug or feature?

--

You received this message because you are subscribed to the Google Groups 
"Google Wave API" group.
To post to this group, send email to google-wave-...@googlegroups.com.
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=.




[Google Wave APIs] Re: Accessing waves not part of context

2009-11-15 Thread qMax
If i recall correctly,
from context you may access only data send in rpc request, that is -
properties associated with event.

However, you may try to construct operations manually, and supplying
your tracked waveid/waveletid/blipid.
This is kind of hacking, to see what to do you should refer to
appengine logs, waveapi sources,
and http://code.google.com/apis/wave/extensions/robots/protocol.html

I still have no success in creating blips manually :)

On 16 ноя, 00:55, Ben Hall  wrote:
> Hello,
>
> From my robot I want to be able to access other waves which I'm a
> participant of. I can keep track of the different WaveIDs but when I
> try and access the wave it fails if it not part of the actual context.

--

You received this message because you are subscribed to the Google Groups 
"Google Wave API" group.
To post to this group, send email to google-wave-...@googlegroups.com.
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=.




[Google Wave APIs] gadget state unavailable in onload handler

2009-11-15 Thread qMax
Hi.

I discovered that gadget state is unavailable in onLoad handler,
even if it exists in blip when wave is opened.
The same for viewer and host.

Is it bug or feature?

--

You received this message because you are subscribed to the Google Groups 
"Google Wave API" group.
To post to this group, send email to google-wave-...@googlegroups.com.
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=.




[Google Wave APIs] Unknown RPC service: onInitialized

2009-11-12 Thread qMax
Hi.

I use feature MiniMessage for debugging.
this way:

var minimsg = new gadgets.MiniMessage
("meetingtime",document.getElementById("debug"));
console = { log: function(text) { minimsg.createStaticMessage
(text); } };
console.log("Gadget loaded, hope it works");

the console is global object.  i just used to firebug console.

And in debug element i see message appearing after all mine:
"Unknown RPC service: onInitialized"

what does it mean and how does it appear in my debug?
something calls console.log from outside of my code.
something tries to use some strange RPC.
who might it be?

--

You received this message because you are subscribed to the Google Groups 
"Google Wave API" group.
To post to this group, send email to google-wave-...@googlegroups.com.
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=.




[Google Wave APIs] how to determine if gadget viewer is gadget installer ?

2009-11-08 Thread qMax

Hi.
I want to provide different controls in depend on who is controlling
gadget.
Is there a way to determine if current viewer as returned by
wave.getViewer() is one who installed gadget ?

There's no INSTALL mode
What mode gadget have when it is first time inserted?

Oh!
I guess i can check gadget state and if it is empty that means it is
newly installed gadget, and then catch viewer and store viwerId in
gadget itself as a moderator/installator.

Thanks for the answer :)

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Wave API" group.
To post to this group, send email to google-wave-api@googlegroups.com
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=en
-~--~~~~--~~--~--~---



[Google Wave APIs] gadget to calculate meeting time

2009-11-08 Thread qMax

I wrote a gadget, dedicated to Pamela Fox :)

It calculates best time for meeting according to available time of all
participants.
Please, welcome to test and comment here:
https://wave.google.com/a/wavesandbox.com/#restored:wave:wavesandbox.com!w%252BhtXcxpqUA

Put your working time in "participant" tab,
in "proposed time" tab it should show interval when most meeting
people are awake.

P.S.
Tested in Firefox, Chrome,
jsLinted.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Wave API" group.
To post to this group, send email to google-wave-api@googlegroups.com
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=en
-~--~~~~--~~--~--~---



[Google Wave APIs] Re: Office Hours Start in 5 Minutes

2009-11-07 Thread qMax

On Nov 6, 7:06 pm, "pamela (Google Employee)" 
wrote:
> (If you build a Wave gadget for figuring out best time.. even cooler :)

Ready.

Here is gadget to suggest best time for registered participants:
https://wave.google.com/a/wavesandbox.com/#restored:wave:wavesandbox.com!w%252BhtXcxpqUA.1

(jsLinted and tested in Chrome and Firefox)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Wave API" group.
To post to this group, send email to google-wave-api@googlegroups.com
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=en
-~--~~~~--~~--~--~---



[Google Wave APIs] Re: Office Hours Start in 5 Minutes

2009-11-07 Thread qMax

You know, Russia is quite large country, it has 11 (eleven!!!)
timezones from UTC+2 to UTC+12

The usual awaking time, say, 10 to 24 spreads into 24 hours from 22
UTC of previous day, to 22 UTC of current day.
This is 2pm PST and 8am AEST.
(well, i miss daylight saving here. and we have mismatched seasons
with Australia, that gives more 2 hours delta with AEST)

But you know, some programmers (freelance, free, amateurs) prefer to
work not in daytime :)

I'd still suggest to change time of OH in range appropriative for
Google developers.


Making gadget is interesting idea.
I'd suppose it could be similar to map-clustering.
People who wish to participate in next OH can put their marks on the
map along with time range they can be online,
and the gadget can then propose a time that fits better for all
tracked people.

I'll try :)

On Nov 6, 7:06 pm, "pamela (Google Employee)" 
wrote:
> Can you suggest what would be a good time for developers in Russia? It's
> hard to know if it's better to do during your daytime or evening, but if you
> make suggestions, we could experiment with other times. (If you build a Wave
> gadget for figuring out best time.. even cooler :)
>
>
>
> On Sat, Nov 7, 2009 at 12:04 AM, qMax  wrote:
>
> > Yep.
> > I guess many ppl from Russia missed this OH.
> > Again.
>
> > If it is acceptable for you,
> > probably the best solution would be to change time of OH week to week
> > in range of your possibilities,
> > so that people all over the world will have a chance to attend at not
> > much crazy time.
>
> > On Nov 6, 8:26 am, "pamela (Google Employee)" 
> > wrote:
> > > (I don't believe we had been doing it for the ones in
> > > this timezone).
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Wave API" group.
To post to this group, send email to google-wave-api@googlegroups.com
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=en
-~--~~~~--~~--~--~---



[Google Wave APIs] Re: Google Wave Robot Wire Protocol Draft - Feedback Wanted

2009-11-06 Thread qMax

I agree with Smola.

This draft covers no more then we can see in our appengine robot logs.

Details of each event and operation parameters are very desirable.
(among other use, this will allow us to play new events/operations,
not yet covered by API methods)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Wave API" group.
To post to this group, send email to google-wave-api@googlegroups.com
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=en
-~--~~~~--~~--~--~---



[Google Wave APIs] Re: Office Hours Start in 5 Minutes

2009-11-05 Thread qMax

You forgot to tag the wave.

On Nov 6, 4:54 am, "pamela (Google Employee)" 
wrote:
> Virtual Google Wave APIs office hours will begin in 5 minutes. Please visit
> this URL to participate:
>
> https://wave.google.com/a/wavesandbox.com/#minimized:nav,minimized:co...
>
> A link to the transcript will be posted here afterwards.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Wave API" group.
To post to this group, send email to google-wave-api@googlegroups.com
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=en
-~--~~~~--~~--~--~---



[Google Wave APIs] Re: Cursor Position

2009-11-03 Thread qMax

Have you tried to handle  annotations?

refering to 
http://www.waveprotocol.org/draft-protocol-specs/wave-conversation-model
these annotations represent cursor position.

On Oct 11, 10:40 am, Spencer Chastain  wrote:
> I'm trying to determine thecursorposition.  I've seen some posts
> here that say I need to be looking at Annotations.  I've set up my
> code to dump all annotations, and I have none (except for when I
> highlight code - and then the Annotation name is different from what
> I've seen reported elsewhere)
>
> Thecursorisn't represented as an Element or a Style ... so ... any
> help how I determine thecursorlocation?  I'm subscribed to the
> DOCUMENT_CHANGED event ... is there another event I need to be
> subscribed to?
>
> Thanks,
>
> --Spencer
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Wave API" group.
To post to this group, send email to google-wave-api@googlegroups.com
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=en
-~--~~~~--~~--~--~---



[Google Wave APIs] Re: Ordering blips?

2009-11-03 Thread qMax

Here, http://www.waveprotocol.org/draft-protocol-specs/wave-conversation-model
Section 11 supposes operation "to insert a blip element (with a unique
id) to the thread in the conversation manifest".
Is this completely fictional operation?
Or it is supported on server, but still no methods to generate it in
client api?

On Oct 31, 10:28 am, "Austin Chau (Google employee)"
 wrote:
> Yes that is correct it is not provided by the API since it is not supported
> by the Wave client itself.
>
> Austin
>
> On Fri, Oct 30, 2009 at 3:02 PM, wolfgang.wer...@gmail.com <
>
> wolfgang.wer...@gmail.com> wrote:
>
> > Hey all,
>
> > is there a possibility to (re-) order blips in a wavelet using the
> > Robot API? I looked into the API docs and didn't find anything about
> > this in Blip and Wavelet.
> > I'd be surprised if the List returned by Blip.getChildBlipIds() or
> > Blip.getChildren() was mutable or changes would be actually reflected
> > in wave.
>
> > Actually, I couldn't find a way to do this using the wave client as
> > well, so perhaps this is not possible at all.
> > Still, confirmation would feel good.
>
> > I'm no sure whether this is a dumb question to ask, but thanks for
> > your time all the same,
> > Wolfgang
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Wave API" group.
To post to this group, send email to google-wave-api@googlegroups.com
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=en
-~--~~~~--~~--~--~---



[Google Wave APIs] Re: Robot stopped responding to BLIP_SUBMITTED

2009-11-03 Thread qMax

Probably, your first version of bot missed BLIP_SUBMITTED capability.
Changing version does not work to add new events.

I met this situation.

http://code.google.com/p/google-wave-resources/issues/detail?id=393

On 24 окт, 01:23, Mauricio Marcon Zaffari 
wrote:
> Hello,
>
> I have a robot and it was working, but all of suddenly it stoped
> responding to BLIP_SUBMITTED events.
>
> It still receives WAVELET_SELF_ADDED.
>
> What's going on? Wave API changed recently?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Wave API" group.
To post to this group, send email to google-wave-api@googlegroups.com
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=en
-~--~~~~--~~--~--~---



[Google Wave APIs] Re: BLIP_SUBMITTED is not triggered in sandbox

2009-11-03 Thread qMax

The problem disappeared only for one version/fresh upload.

It does not work in java also (i've studied java to try this)

This does not work:
@Override
public void processEvents(RobotMessageBundle bundle) {
log.fine("processing events ");
for (Event e: bundle.getEvents()) {
if (e.getType() == EventType.BLIP_SUBMITTED) {
log.fine("processing BLIP_SUBMITTED");
}
}
    }

On Nov 3, 5:01 pm, qMax  wrote:
> Either my head or everything seems completely broken.
> Using waveapi Revision: 14
>
> Tested bot:
> def OnEvent(type, properties, context):
>     logging.debug("Event %s %s"%(type,properties))
>
> if __name__ == '__main__':
>     from waveapi import robot
>     myRobot = robot.Robot('qmax-waving',
>                           image_url='http://qmax-waving.appspot.com/
> assets/icon.jpg',
>                           version='6.1')
>
>     myRobot.RegisterHandler(events.BLIP_SUBMITTED, lambda p,c: OnEvent
> (events.BLIP_SUBMITTED,p,c))
>     myRobot.RegisterHandler(events.WAVELET_BLIP_CREATED, lambda p,c:
> OnEvent(events.WAVELET_BLIP_CREATED,p,c))
>     myRobot.RegisterHandler(events.WAVELET_BLIP_REMOVED, lambda p,c:
> OnEvent(events.WAVELET_BLIP_REMOVED,p,c))
>     myRobot.RegisterHandler(events.WAVELET_PARTICIPANTS_CHANGED,
> lambda p,c: OnEvent(events.WAVELET_PARTICIPANTS_CHANGED,p,c))
>     myRobot.RegisterHandler(events.WAVELET_SELF_ADDED, lambda p,c:
> OnEvent(events.WAVELET_SELF_ADDED,p,c))
>     myRobot.RegisterHandler(events.WAVELET_SELF_REMOVED, lambda p,c:
> OnEvent(events.WAVELET_SELF_REMOVED,p,c))
>     myRobot.RegisterHandler(events.WAVELET_TIMESTAMP_CHANGED, lambda
> p,c: OnEvent(events.WAVELET_TIMESTAMP_CHANGED,p,c))
>     myRobot.RegisterHandler(events.WAVELET_TITLE_CHANGED, lambda p,c:
> OnEvent(events.WAVELET_TITLE_CHANGED,p,c))
>     myRobot.RegisterHandler(events.WAVELET_VERSION_CHANGED, lambda
> p,c: OnEvent(events.WAVELET_VERSION_CHANGED,p,c))
>     myRobot.RegisterHandler(events.BLIP_CONTRIBUTORS_CHANGED, lambda
> p,c: OnEvent(events.BLIP_CONTRIBUTORS_CHANGED,p,c))
>     myRobot.RegisterHandler(events.BLIP_DELETED, lambda p,c: OnEvent
> (events.BLIP_DELETED,p,c))
>     myRobot.RegisterHandler(events.BLIP_SUBMITTED, lambda p,c: OnEvent
> (events.BLIP_SUBMITTED,p,c))
>     myRobot.RegisterHandler(events.BLIP_TIMESTAMP_CHANGED, lambda p,c:
> OnEvent(events.BLIP_TIMESTAMP_CHANGED,p,c))
>     myRobot.RegisterHandler(events.BLIP_VERSION_CHANGED, lambda p,c:
> OnEvent(events.BLIP_VERSION_CHANGED,p,c))
>     myRobot.RegisterHandler(events.DOCUMENT_CHANGED, lambda p,c:
> OnEvent(events.DOCUMENT_CHANGED,p,c))
>     myRobot.RegisterHandler(events.FORM_BUTTON_CLICKED , lambda p,c:
> OnEvent(events.FORM_BUTTON_CLICKED,p,c))
>     myRobot.Run()
>
> Testing:
> added bot to wave, created blip, typed text, deleted blip, added
> another robot, removed another robot, removed the bot.
>
> On wave preview:
> triggered WAVELET_SELF_ADDED, BLIP_SUBMITTED
>
> On wave sandbox:
> triggered WAVELET_SELF_ADDED
>
> Nothing else.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Wave API" group.
To post to this group, send email to google-wave-api@googlegroups.com
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=en
-~--~~~~--~~--~--~---



[Google Wave APIs] Re: BLIP_SUBMITTED is not triggered in sandbox

2009-11-03 Thread qMax

With my head, finally.
Forgotten to change capabilities-version from old one.

Sorry for flood.

On Nov 3, 5:01 pm, qMax  wrote:
> Either my head or everything seems completely broken.
> Using waveapi Revision: 14

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Wave API" group.
To post to this group, send email to google-wave-api@googlegroups.com
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=en
-~--~~~~--~~--~--~---



[Google Wave APIs] Re: BLIP_SUBMITTED is not triggered in sandbox

2009-11-03 Thread qMax

Either my head or everything seems completely broken.
Using waveapi Revision: 14

Tested bot:
def OnEvent(type, properties, context):
logging.debug("Event %s %s"%(type,properties))

if __name__ == '__main__':
from waveapi import robot
myRobot = robot.Robot('qmax-waving',
  image_url='http://qmax-waving.appspot.com/
assets/icon.jpg',
  version='6.1')

myRobot.RegisterHandler(events.BLIP_SUBMITTED, lambda p,c: OnEvent
(events.BLIP_SUBMITTED,p,c))
myRobot.RegisterHandler(events.WAVELET_BLIP_CREATED, lambda p,c:
OnEvent(events.WAVELET_BLIP_CREATED,p,c))
myRobot.RegisterHandler(events.WAVELET_BLIP_REMOVED, lambda p,c:
OnEvent(events.WAVELET_BLIP_REMOVED,p,c))
myRobot.RegisterHandler(events.WAVELET_PARTICIPANTS_CHANGED,
lambda p,c: OnEvent(events.WAVELET_PARTICIPANTS_CHANGED,p,c))
myRobot.RegisterHandler(events.WAVELET_SELF_ADDED, lambda p,c:
OnEvent(events.WAVELET_SELF_ADDED,p,c))
myRobot.RegisterHandler(events.WAVELET_SELF_REMOVED, lambda p,c:
OnEvent(events.WAVELET_SELF_REMOVED,p,c))
myRobot.RegisterHandler(events.WAVELET_TIMESTAMP_CHANGED, lambda
p,c: OnEvent(events.WAVELET_TIMESTAMP_CHANGED,p,c))
myRobot.RegisterHandler(events.WAVELET_TITLE_CHANGED, lambda p,c:
OnEvent(events.WAVELET_TITLE_CHANGED,p,c))
myRobot.RegisterHandler(events.WAVELET_VERSION_CHANGED, lambda
p,c: OnEvent(events.WAVELET_VERSION_CHANGED,p,c))
myRobot.RegisterHandler(events.BLIP_CONTRIBUTORS_CHANGED, lambda
p,c: OnEvent(events.BLIP_CONTRIBUTORS_CHANGED,p,c))
myRobot.RegisterHandler(events.BLIP_DELETED, lambda p,c: OnEvent
(events.BLIP_DELETED,p,c))
myRobot.RegisterHandler(events.BLIP_SUBMITTED, lambda p,c: OnEvent
(events.BLIP_SUBMITTED,p,c))
myRobot.RegisterHandler(events.BLIP_TIMESTAMP_CHANGED, lambda p,c:
OnEvent(events.BLIP_TIMESTAMP_CHANGED,p,c))
myRobot.RegisterHandler(events.BLIP_VERSION_CHANGED, lambda p,c:
OnEvent(events.BLIP_VERSION_CHANGED,p,c))
myRobot.RegisterHandler(events.DOCUMENT_CHANGED, lambda p,c:
OnEvent(events.DOCUMENT_CHANGED,p,c))
myRobot.RegisterHandler(events.FORM_BUTTON_CLICKED , lambda p,c:
OnEvent(events.FORM_BUTTON_CLICKED,p,c))
myRobot.Run()

Testing:
added bot to wave, created blip, typed text, deleted blip, added
another robot, removed another robot, removed the bot.

On wave preview:
triggered WAVELET_SELF_ADDED, BLIP_SUBMITTED

On wave sandbox:
triggered WAVELET_SELF_ADDED

Nothing else.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Wave API" group.
To post to this group, send email to google-wave-api@googlegroups.com
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=en
-~--~~~~--~~--~--~---



[Google Wave APIs] BLIP_SUBMITTED is not triggered in sandbox

2009-11-03 Thread qMax

robot with capabilities




used python waveapi rev14

works in wave preview, but not on wave sandbox (event is not
triggered).
something is going to happen there?

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Wave API" group.
To post to this group, send email to google-wave-api@googlegroups.com
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=en
-~--~~~~--~~--~--~---



[Google Wave APIs] Re: Ordering blips?

2009-11-03 Thread qMax

Debug "whow all wavelets whows document with id="conversation"
looking like this:














It's exactly the ordering of blips in wavelet tree.

Is it virtual document, or one can getBlipById and modify it?

The possibility to reorder blips will be very very usefull.

On Nov 3, 1:03 pm, Alex North  wrote:
> It's not a general restriction of the platform or data model, but it's
> un-implemented behaviour.
>
> 2009/10/31 Wolfgang Werner 
>
>
>
> > Is limited to the wave client only  or is it a general restriction of
> > the underlying platform?
>
> > Thanks,
> > Wolfgang
>
> > On Sat, Oct 31, 2009 at 5:28 AM, Austin Chau (Google employee)
> >  wrote:
> > > Yes that is correct it is not provided by the API since it is not
> > supported
> > > by the Wave client itself.
> > > Austin
>
> > > On Fri, Oct 30, 2009 at 3:02 PM, wolfgang.wer...@gmail.com
> > >  wrote:
>
> > >> Hey all,
>
> > >> is there a possibility to (re-) order blips in a wavelet using the
> > >> Robot API? I looked into the API docs and didn't find anything about
> > >> this in Blip and Wavelet.
> > >> I'd be surprised if the List returned by Blip.getChildBlipIds() or
> > >> Blip.getChildren() was mutable or changes would be actually reflected
> > >> in wave.
>
> > >> Actually, I couldn't find a way to do this using the wave client as
> > >> well, so perhaps this is not possible at all.
> > >> Still, confirmation would feel good.
>
> > >> I'm no sure whether this is a dumb question to ask, but thanks for
> > >> your time all the same,
> > >> Wolfgang
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Wave API" group.
To post to this group, send email to google-wave-api@googlegroups.com
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=en
-~--~~~~--~~--~--~---



[Google Wave APIs] how do you store prototyped objects in gadget state?

2009-11-02 Thread qMax

Hi.

I guess it's quite usefull to store prototyped objects (with methods)
in gadget state.
But it only supports strings, thus the only way is to store
initialization parameters.

In mozilla, one can deserialize object from JSON and then extend
prototype using __proto__ property, but that's only for firefox.

Are there other ways?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Wave API" group.
To post to this group, send email to google-wave-api@googlegroups.com
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=en
-~--~~~~--~~--~--~---



[Google Wave APIs] Re: Using JSNI to access external JavaScript function of an external library

2009-11-02 Thread qMax

Are you developoing wave gadget with GWT?
Where have you found bindings for gadgets and wave API?

On Nov 1, 10:37 pm, Prashant  wrote:
> Hi,
>
> I am trying to integrate CKEditor with GWT so I tried following code:
>
>     public void onModuleLoad(){
>         FlowPanel panel = new FlowPanel();
>         panel.addStyleName("edit-tools");
>         panel.add(new Button("Edit", new ClickHandler() {
>             @Override
>             public void onClick(ClickEvent event) {
>                 loadEditor();
>             }
>         }));
>
>         RootPanel.get("content").add(panel);
>     }
>
> native void loadEditor()/*-{
>         $wnd.CKEDITOR.replace(document.getElementById("content-block"));
>     }-*/;
>
> but it didn't work. could anyone point out where i am wrong?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Wave API" group.
To post to this group, send email to google-wave-api@googlegroups.com
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=en
-~--~~~~--~~--~--~---



[Google Wave APIs] how to hande drag-n-drop of links in gadget

2009-11-01 Thread qMax

Hi.

My jquery-powered gadget wants to have links to other waves.
Is it possible to handle drag-n-dropping them from inbox ?

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Wave API" group.
To post to this group, send email to google-wave-api@googlegroups.com
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=en
-~--~~~~--~~--~--~---



[Google Wave APIs] Re: Is it possible to import GWT gadget into wave

2009-10-21 Thread qMax

Have you see piano gadget?
http://wave-samples-gallery.appspot.com/about_app?app_id=22015

It tends to play sounds somehow,
but it quite buggy under firefox w/out some proper plugins.

On Oct 1, 6:22 am, maxsap  wrote:
> Hello all, I am developing a gadget for the wave and while I was
> looking for a way to play audio from within the wave without using
> flash I got this idea.This 
> articlehttp://groups.google.com/group/Google-Web-Toolkit/browse_thread/threa...
> says that it is possible to build a google gadget withGWTbut could I
> use the same gadget as a wave gadget?
> thanks in advanced maxsap
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Wave API" group.
To post to this group, send email to google-wave-api@googlegroups.com
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=en
-~--~~~~--~~--~--~---



[Google Wave APIs] Re: API to read/post/list Waves?

2009-10-17 Thread qMax

There is firefox extension to list inbox and show updates.
http://thatsmith.com/2009/10/google-wave-add-on-for-firefox

It uses some hack with http headers, which may be interesting for you.

On Oct 17, 12:25 am, AJ  wrote:
> it seems that the only developer information up is on creating robots,
> gadgets, etc.
>
> I would like to create some tools to access Wave, outside of the web
> interface. Such as a Lightroom "Export to Wave" plugin, or an iPhone
> app.
>
> Are there any APIs out for that sort of thing, or do I need to start
> looking into the white papers?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Wave API" group.
To post to this group, send email to google-wave-api@googlegroups.com
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=en
-~--~~~~--~~--~--~---



[Google Wave APIs] Is there a way to tell if a blip is inside parent, or it follows parent?

2009-10-15 Thread qMax

Hi.

And if it is inside parent - how to get its insertion position?
Are such properties available?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Wave API" group.
To post to this group, send email to google-wave-api@googlegroups.com
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=en
-~--~~~~--~~--~--~---



[Google Wave APIs] Re: Handling concurrent/simultaneous gadget state changes.

2009-10-13 Thread qMax

On Oct 12, 3:29 pm, Avital Oliver  wrote:
> 1. As far as I know this is planned by google (you can find it in one of the
> office hours)
IIRC, It was me, who asked it on OH.
And the answer was to request such feature :)

> 2. Much of this can already be done with the primitive gadget API using some
> scheme of splitting objects into seperate keys (for example a key called
> "obj1.val2" to represent the "val2" field in the "obj1" subobject)
Such method will not ever help to resolve conflicts.
It only helps to discretize object manipulations, and still in lack of
manipulation with lists, or renaming keys.

And anyway, developer has to invent structure-related operations,
process them in the similar way as OT, before applying.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Wave API" group.
To post to this group, send email to google-wave-api@googlegroups.com
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=en
-~--~~~~--~~--~--~---



[Google Wave APIs] Handling concurrent/simultaneous gadget state changes.

2009-10-12 Thread qMax

Waving to all you people.

Recently i've submitted a feature request for some sort of concurency
control for gadget state changes.
http://code.google.com/p/google-wave-resources/issues/detail?id=267

I'f you are interested in such things, i invite you to discuss it
here.

Currently there seen 2 ways.

1.
Making some OT-enabled _text_ fields.
This is similar to what was implemented in Jupiter: they provided some
input-widgets like numeric input with slider, a set of text-input
fields, a vector editor.

2.
Extending OT algo for operations on _structured_ object (json or xml).
Such as createChild, appendChild, reparentChild, etc
The latter case is quite serious and interesting, and it may give
incredible power.

So, what do you think?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Wave API" group.
To post to this group, send email to google-wave-api@googlegroups.com
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=en
-~--~~~~--~~--~--~---



[Google Wave APIs] Re: Need advice on how to create UI Mockup for Google Wave

2009-10-06 Thread qMax

and yeah, what you are talking about is probably and "extension":
http://code.google.com/intl/ru/apis/wave/extensions/installers/index.html
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Wave API" group.
To post to this group, send email to google-wave-api@googlegroups.com
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=en
-~--~~~~--~~--~--~---



[Google Wave APIs] Re: Need advice on how to create UI Mockup for Google Wave

2009-10-06 Thread qMax

AFAIK, there's no usera  gent API yet.

I'm going to raise this question on OfficeHours,
because i also interesed in adding new buttons, blip-popup-menu items,
and context menues like spell hints.

On Oct 7, 1:47 am, Deen Sethanandha  wrote:
> Hello, I would like to create a UI mockup by modifying the current Google
> Wave Client UI. I don't experience in web UI design (CSS, AJAX) at all but I
> am willing to learn. Can someone please provide me some advice on Tools and
> Technology I should learn in order to create a static UI that could be
> modify to work with Wave APIs. What I want to do is something like 
> this.https://wave.google.com/a/wavesandbox.com/#restored:wave:wavesandbox.
> Please feel free to comment on the Wave. I tried to send to everyone but it
> wasn't noticed...
>
> Thank
> you very much,
> Deen
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Wave API" group.
To post to this group, send email to google-wave-api@googlegroups.com
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=en
-~--~~~~--~~--~--~---



[Google Wave APIs] Re: search/inbox API

2009-10-02 Thread qMax

in general, if one wants to write own client (desktop-based, for
instance), one willl need such API.

i've recently wrote google toolbar button.
it can search in wave, but does not displays "new messages".

On Oct 2, 7:07 pm, Thomas Beverley 
wrote:
> I don't think it is at the moment. Were you thinking of creating like
> a wave notifier similar to the mail notifier? That would be pretty
> cool...
>
> On Oct 2, 11:53 am, zentur  wrote:
>
> > yeah thats definitely something I wann also know
>
> > On 2 Okt., 07:20, qMax  wrote:
>
> > > Is API for inbox (to check for new messages) published somewhere?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Wave API" group.
To post to this group, send email to google-wave-api@googlegroups.com
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=en
-~--~~~~--~~--~--~---



[Google Wave APIs] search/inbox API

2009-10-01 Thread qMax

Is API for inbox (to check for new messages) published somewhere?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Wave API" group.
To post to this group, send email to google-wave-api@googlegroups.com
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=en
-~--~~~~--~~--~--~---



[Google Wave APIs] google toolbar button

2009-10-01 Thread qMax

Just created a toolbar button for gogle wave (not sandbox).
(i put it into gallery, but i guess that toolbar developers should
make it better)

And i've no clue how to make it show new messages in inbox, like gmail
button do.
It requires RSS/ATOM feed for that.

Is there something like this for wave?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Wave API" group.
To post to this group, send email to google-wave-api@googlegroups.com
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=en
-~--~~~~--~~--~--~---



[Google Wave APIs] Re: Google WAVE group unusable (CSS rendering error?)

2009-09-06 Thread qMax

i've seen this bug alot of time, and reported it into GG issue
tracker.
this bug relates to default theme, and the best way to fix it is to
select another theme.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Wave API" group.
To post to this group, send email to google-wave-api@googlegroups.com
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=en
-~--~~~~--~~--~--~---