google-app-engine

Secure authentication with GWT and GAE over https?

I want to implement a custom user authentication system in my appengine app. I don't want to use sessions. I'm a newbie in this area, so I have two basic questions: 1: Is it secure to just send a username and password with every single RPC over https? What do I need to do to keep that username and password secure on the client end? ...

Django templating engine and external js files

I'm writing a Google app engine app and obviously the default web app framework is a subset of Django. As such I'm using it's templating engine. My question is if I have say the following code: template_values = { 'first':first, 'second':second, } path = os.path.join(os.path.dirname(__file__), 'index.html') self.resp...

Python/GAE social network / cms?

Hi, After much research, I've come up with a list of what I think might be the best way of putting together a Python based social network/cms, but have some questions about how some of these components fit together. Before I ask about the particular components, here are some of the key features of the site to be built: a modern almo...

Has anyone had problems registering a SECOND app with Google App Engine?

I've registered one app on Google App Engine, and it works fine. I want to register a second app now (on the same account), and every time I click the "Create an Application" button, I get forwarded to the SMS account verification page. My number's already been used to register my first app, so of course it doesn't work. Has anyone el...

Login and stay on the same page?

I'm trying to make a sleek login function here =) I want the "login experience" to be smooth and seamless, so I don't want the user to "feel" like he/she is being "redirected" and taken back to the same page again. So the process goes: User X visits page A X is not logged in X presses on Login btn (that lives in a in a div together w...

Urllib2- fetch and show any language page, encoding problem.

I'm using Python Google App Engine to simply fetch html pages and show it. My aim is to be able to fetch any page in any language. Now I have a problem with encoding: Simple result = urllib2.urlopen(url).read() leaves artifacts in place of special letters and urllib2.urlopen(url).read().decode('utf8') throws error: 'utf8' c...

tipfy on google app engine (gae) installing extensions

I'm trying to get tipfy working on google app engine (GAE). I'm using Windows XP. The "hello world" example is working fine. What I'm not understanding is how to correctly install extensions. I'm trying to use the "multi-auth" example without much success. I'm receiving the following error: ImportError: No module named wtforms.valid...

Groovy, App Engine, and the 3000 file limit

Firstly, I'm new to groovy as of yesterday, so what I say could be incorrect. In groovy, every time you create a closure in your code, it creates a separate .class file like this Test$_closure1.class. I could easily have 3000 different closures throughout my project, which would thus push me over the 3000 file limit on App Engine. It ...

Smart GWT or ext GWT or Vaadin for Google app engine?

Hi all, I have my back end on the Google app engine. Now I need a RIA on top of it. What should be my option? Smart GWT? Ext GWT? or Vaadin? or if any of you know any other RIA UI tecnology other than JSF and Flex, pls let me know. Thanks ...

Google App Engine - I have to restart the development server anytime I make changes to a servlet

I have to restart the development server anytime I make changes to a servlet. Is there a way I can make it so I don't have to do this? Restarting the dev app server takes about 20 seconds for my project. ...

Schedule a cron job for execution every hour on certain days on App Engine

I would like to schedule a cron task to run every hour, but only from Thursday through Monday. Is a schedule like this possible? From the documentation, it looks like I can schedule a cron task to run at an hourly interval or on specific days at a single specific time, but I cannot figure out how to schedule a cron task to run at an ho...

Google App Engine (GAE), Urban Airship, Java, Push notifications. Sample code?

My server is running on GAE (Java), and I'm using Urban Airship service to deliver push notifications. Of course, everything works fine when I use their web-interface to send a test notification, but I'd like to add a test-button to my GAE app/server to have it trigger UA to send the push. The problem is, all of the examples I've seen ...

JPA Query toString

Hello SO, I have a JPA Query I am executing on the Google App-Engine datastore. I am building the query using parameters. After all parameters have been inputted, I wish to view the Query String. That is, I wish to view the actual query being executed by the datastore. Is that even possible? It would really help me in debugging. To SOL...

JDO not storing time information in Date, only stores the day

I am using Google App Engine with Java, JDO for persistence. I have my Activity object with timestamp declared as Persistent and of type java.util.Date. public class Activity ... { ... @Persistent private Date timestamp; ... } All Activities stored in the database are seen with correct dTate but time information is always zero. ...

Google App Engine : use mapreduce to empty datastore

I am trying to use an early experimental release of mapper implementation to empty the datastore. This solution was proposed in a similar SO question. This is the AppEngineMapper I am currently using. It just deletes the entity. public class EmptyFixesMapper extends AppEngineMapper<Key, Entity, NullWritable, NullWritable> { publi...

How to check if user likes a given page on facebook, from an external site?

Hi, I'm building an app using facebook likes, under GAE with python. I'd like do different actions if user likes the page or not: page_url=url if user likes page_url: #do something else: #do something else I'm interested in checking if the user already likes the page, not in the action of clicking the like button. Also I'd l...

GAE " no attribute 'HTTPSHandler' " dev_appserver.py

I am trying to use the google appengine python SKD from my ubuntu lucid. I have already compiled python2.5. But when I execute any "dev_appserver.py" command with it I get the following error: Traceback (most recent call last): File "dev_appserver.py", line 69, in <module> run_file(__file__, globals()) File "dev_appserver.py", ...

How to shallow copy app engine model instance to create new instance?

I want to implement a simple VersionedModel base model class for my app engine app. I'm looking for a pattern that does not involve explicitly choosing fields to copy. I am trying out something like this, but it is to hacky for my taste and did not test it in the production environment yet. class VersionedModel(BaseModel): is_histo...

Best practice for keeping Python GAE dependencies in project VCS

At our company we have a very nice system setup for tracking our external packages dependencies in revision control for our current desktop application development (C++/python). We are starting to develop some python only web applications are are looking for recommendations for best practices when there is only python code involved and ...

What's a namespace used for in the App Engine datastore?

In the development admin console, when I look at my data, it says "Select different namespace". What are namespaces for and how should I use them? ...