[google-appengine] Is it possible to serve files from folder in 'root' ?

2009-12-05 Thread astrid.thuec...@googlemail.com
Hi,

I have a folder with a couple of subfolder. All hold static HTML, CSS,
Image, Javascript files.

examples:
/static/index.html
/static/faq.html
/static/credits.html
/static/css/main.css
/static/script/site.js
...

I now want to serve the folder as if it's content is available at the
appengine-website root '/'

This is how the files should be available from a browser:
http://www.myapp.appspot.com/index.html
http://www.myapp.appspot.com/faq.html
http://www.myapp.appspot.com/credits.html
http://www.myapp.appspot.com/css/main.css
http://www.myapp.appspot.com/script/site.js
...

How do I need to change my app.yaml to achieve this?

Thanks!

--

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




[google-appengine] Will Google kick me out if I run this app ?

2009-09-11 Thread astrid.thuec...@googlemail.com

Will Google kick me out if I run this app:
http://torrentfreak.com/run-a-free-bittorrent-tracker-on-google-090910/

Does Google clearly state what is allowed and what is disallowed on
appengine?

Link anyone?



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



[google-appengine] Appengine timeout..?

2009-06-16 Thread astrid.thuec...@googlemail.com

In general - how much data can I send in an request to the appengine
and be sure it won't time out? Is the amount different between a GET
and POST request?

Another thing is, that I would like to create an iframe and send some
data in the src-URL string:

iframe src=http://myappspot.appspot.com?somdata=abcdefg; ... 

I fear that in special cases there might be many iframes of this type
on a users site and the src-String could be really really long. Does
this mean it would time out? Does it make a difference if there are
many iframes on a single page, since a users connection will try to
load all at once, connection speed is split by the number iframes.
isn't it? Does this increase the danger of running into timeouts?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Filter using OR ?

2009-05-21 Thread astrid.thuec...@googlemail.com

Hi,

I want to use the filtering like that:


# The Query interface prepares a query using instance methods.
q = Person.all()
q.filter(last_name =, Smith)
q.filter(last_name =, Doe)


Obviously I and an OR filter - Smith OR Doe. Is this possible without
using the SQL like syntax?

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



[google-appengine] Please allow settings 'content encoding' - vital for my application :(

2009-05-18 Thread astrid.thuec...@googlemail.com

Please allow settings 'content encoding' - vital for my application :(

http://code.google.com/p/googleappengine/issues/detail?id=1378
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Shorthand to modify model-Objects?

2009-05-16 Thread astrid.thuec...@googlemail.com

When one creates a new entity one can give all the parameters to the
constructor:

MyEnt(title=title, name=name, public=True, ...)

But if I modify an entity already stored I need to write it in single
lines:
me = MyEnt.all().filter(index =, index).fetch(1)[0]
me.title = title
me.name=name
me.public=False
...

is there a shorter way to do this?


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



[google-appengine] Very strange error inside of transactions..?

2009-05-16 Thread astrid.thuec...@googlemail.com

I encounter a very strange error which wasn't here before and I
already wonder if it is due to some kind of indendation problem.

Anyway. The transaction accesses variables that were defined in the
sourcecode before the transaction:

some variables

def txn():
if (...):

else:
   
db.run_in_transaction(txn)


in the if and else parts it sometimes complains that the variables I
clearly defined before the transaction method were referenced before
they were defined. It is even more confusing since some variables seem
to be working in the if block but not in the else block and vice
versa.

Any clue what I am missing?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Using boolean information in the URL string..?

2009-05-14 Thread astrid.thuec...@googlemail.com

hi,

I just want to tell me appengine that something is there or not - thus
typically a boolean information.

I want to tell the appengine by using an URL string that is either:

http://example.appspot.com?propect=22isthere
http://example.appspot.com?propect=22

isthere shall communicate to the appengine this boolean information.
Is this the right way to do it or a breach of the specification of URL
formatting?

I think normally it expect a '=value' after isthere ?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Beginner question: popup window to send emails..?

2009-05-04 Thread astrid.thuec...@googlemail.com

Hi,

How would I make a popup window to allow users to send an email to
friends..?

I am a total beginner - does anybody have some example code. It is
easiest for me to explore code then to follow descriptions.

thanks...Astrid

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



[google-appengine] Top 15 appengine applications on cnet.com!

2009-04-09 Thread astrid.thuec...@googlemail.com

source: http://news.cnet.com/8301-17939_109-10214930-2.html

My favorite is of course http://www.chartle.net - an enterprise
application to create interactive online charts, plots, maps and
diagrams.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Restictions on Queries - search for UserProperties

2009-03-27 Thread astrid.thuec...@googlemail.com

Hi,

At 
http://code.google.com/appengine/docs/python/datastore/queriesandindexes.html#Restrictions_on_Queries
it explains:

It is not possible to perform a query for entities that are missing a
given property. One alternative is to create a fixed (modeled)
property with a default value of None, then create a filter for
entities with None as the property value.

I tried to follow that advice and make a certain UserPropery in my
model by default=None:

owner = db.UserProperty(default=None)

This does not work however. What am I doing wrong? Can somebody give
an example what it means to create a fixed (modeled) property with a
default value of None ?

How can I do this for UserProperty?

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