Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Appengine 1.4 #58

Open
wants to merge 66 commits into
base: appengine-1.4
Choose a base branch
from
Open

Commits on Nov 26, 2011

  1. git ignore

    aburgel committed Nov 26, 2011
    Configuration menu
    Copy the full SHA
    fbcecf5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f265731 View commit details
    Browse the repository at this point in the history
  3. fixes for non-primary GAEKeys

    aburgel committed Nov 26, 2011
    Configuration menu
    Copy the full SHA
    decfc12 View commit details
    Browse the repository at this point in the history

Commits on Nov 29, 2011

  1. Configuration menu
    Copy the full SHA
    87a9f85 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fd234e6 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    150c915 View commit details
    Browse the repository at this point in the history

Commits on Dec 6, 2011

  1. fix cmp for GAEKey

    aburgel committed Dec 6, 2011
    Configuration menu
    Copy the full SHA
    29a1c62 View commit details
    Browse the repository at this point in the history

Commits on Dec 27, 2011

  1. merge upstream/develop

    aburgel committed Dec 27, 2011
    Configuration menu
    Copy the full SHA
    1a1456a View commit details
    Browse the repository at this point in the history

Commits on Dec 29, 2011

  1. Configuration menu
    Copy the full SHA
    091b12c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b5f126a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    902c363 View commit details
    Browse the repository at this point in the history

Commits on Jan 25, 2012

  1. Configuration menu
    Copy the full SHA
    6aa66b7 View commit details
    Browse the repository at this point in the history

Commits on Mar 17, 2012

  1. Configuration menu
    Copy the full SHA
    216aa48 View commit details
    Browse the repository at this point in the history
  2. remove usage of XMLField

    aburgel committed Mar 17, 2012
    Configuration menu
    Copy the full SHA
    7df916e View commit details
    Browse the repository at this point in the history
  3. repr method for GAEKey

    aburgel committed Mar 17, 2012
    Configuration menu
    Copy the full SHA
    8208067 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    2fc14a5 View commit details
    Browse the repository at this point in the history

Commits on Mar 18, 2012

  1. Configuration menu
    Copy the full SHA
    b23cc69 View commit details
    Browse the repository at this point in the history

Commits on Mar 23, 2012

  1. merge develop branch

    aburgel committed Mar 23, 2012
    Configuration menu
    Copy the full SHA
    cc73be7 View commit details
    Browse the repository at this point in the history
  2. merge develop branch

    aburgel committed Mar 23, 2012
    Configuration menu
    Copy the full SHA
    60e62a7 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6a10a9d View commit details
    Browse the repository at this point in the history
  4. django 1.4 updates

    aburgel committed Mar 23, 2012
    Configuration menu
    Copy the full SHA
    d38742e View commit details
    Browse the repository at this point in the history

Commits on Apr 20, 2012

  1. Configuration menu
    Copy the full SHA
    7407854 View commit details
    Browse the repository at this point in the history
  2. add missing import

    aburgel committed Apr 20, 2012
    Configuration menu
    Copy the full SHA
    b77c183 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9be9b5f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    4c6ebdf View commit details
    Browse the repository at this point in the history

Commits on May 22, 2012

  1. Configuration menu
    Copy the full SHA
    32d2e17 View commit details
    Browse the repository at this point in the history

Commits on May 23, 2012

  1. Merge branch 'feature/ancestor-query-1.4' of git://github.com/django-…

    …nonrel/djangoappengine into develop
    
    Conflicts:
    	db/compiler.py
    User committed May 23, 2012
    Configuration menu
    Copy the full SHA
    13c8b64 View commit details
    Browse the repository at this point in the history

Commits on May 25, 2012

  1. Configuration menu
    Copy the full SHA
    a417ac0 View commit details
    Browse the repository at this point in the history

Commits on May 26, 2012

  1. Configuration menu
    Copy the full SHA
    e900212 View commit details
    Browse the repository at this point in the history

Commits on May 30, 2012

  1. Also fix db/utils.py so it works in python 2.5

    It's possible to use a django DateField or TimeField but have your own encoding in the datastore.  In this case, we may not get a datetime value, so check type first.
    User committed May 30, 2012
    Configuration menu
    Copy the full SHA
    dd03270 View commit details
    Browse the repository at this point in the history

Commits on Jun 29, 2012

  1. db_type may be marked "date"/"time", as long as it's derived from Dat…

    …eField or TimeField, but may not necessarily be stored as a datetime.
    User committed Jun 29, 2012
    Configuration menu
    Copy the full SHA
    b38cb39 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9c84c29 View commit details
    Browse the repository at this point in the history

Commits on Jul 13, 2012

  1. Add dev_appserver compatible version of LiveServerTestCase.

    Patch the stub initialization to use the default dev_appserver login url for the user service.  Otherwise it defaults to the live production user service, which we generally don't want while testing.
    User committed Jul 13, 2012
    Configuration menu
    Copy the full SHA
    f592f4e View commit details
    Browse the repository at this point in the history

Commits on Jul 14, 2012

  1. Hack around two threading issues with the LiveServerTestCase

    1. The task queue stub spawns a new thread that causes badness.  Disable task queue while testing to avoid the new thread.
    2. If the launched browser is accessing the site and hitting the db, it may conflict with the main thread when it flushes the DB between tests.  The real fix is to ensure the test doesn't complete on the main thread until the browser is done (this includes JS running in browser which may hit the server).  I've put in a hackaround to keep retrying the db flush if it fails.  This is not safe though.
    User committed Jul 14, 2012
    Configuration menu
    Copy the full SHA
    8abaf2a View commit details
    Browse the repository at this point in the history

Commits on Jul 16, 2012

  1. Make logout url work for LiveServerTest

    User committed Jul 16, 2012
    Configuration menu
    Copy the full SHA
    637d8e1 View commit details
    Browse the repository at this point in the history

Commits on Aug 30, 2012

  1. Switch to WSGI for python 2.7

    User committed Aug 30, 2012
    Configuration menu
    Copy the full SHA
    05afb8c View commit details
    Browse the repository at this point in the history

Commits on Oct 4, 2012

  1. Configuration menu
    Copy the full SHA
    9f271c2 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'features/django-1.4' of git://github.com/django-nonrel/…

    …djangoappengine into django-1.4
    
    Conflicts:
    	db/compiler.py
    User committed Oct 4, 2012
    Configuration menu
    Copy the full SHA
    9917952 View commit details
    Browse the repository at this point in the history
  3. Clean up comments in test utilities.

    User committed Oct 4, 2012
    Configuration menu
    Copy the full SHA
    e32ed1c View commit details
    Browse the repository at this point in the history
  4. Add input reader utility classes for use with the mapreduce API.

    The main benefit of both is to be able to pass in a Django model instead of a db.Model to get Keys or entities.
    
    Note that DjangoEntityInputReader returns a raw entity instead of a Django object instance.
    This is particularly useful for working with old entities in the datastore that may not match the latest Django model.  Django's model classes could raise exceptions if properties were missing, but this class will allow fetching those entities.  The developer can then add the missing properties, or whatever.
    User committed Oct 4, 2012
    Configuration menu
    Copy the full SHA
    69cfd34 View commit details
    Browse the repository at this point in the history

Commits on Oct 12, 2012

  1. Fix sync error between threads when loading fixtures.

    Fix socket retry code to find unused socket for next test.
    User committed Oct 12, 2012
    Configuration menu
    Copy the full SHA
    eb29ef3 View commit details
    Browse the repository at this point in the history

Commits on Feb 8, 2013

  1. A bunch of hacks to get django-nonrel serving on devappserver2.

    This is really limited, a lot of things don't work (like tests and dumpdata)
    projecteat committed Feb 8, 2013
    Configuration menu
    Copy the full SHA
    3139a05 View commit details
    Browse the repository at this point in the history

Commits on Feb 9, 2013

  1. Fix a bug that broke backwards compatibility with 1.7.4

    Figured out how to get manage.py test, shell and dumpdata working.
    projecteat committed Feb 9, 2013
    Configuration menu
    Copy the full SHA
    c2293fe View commit details
    Browse the repository at this point in the history

Commits on Feb 15, 2013

  1. Configuration menu
    Copy the full SHA
    6e94cef View commit details
    Browse the repository at this point in the history

Commits on Feb 18, 2013

  1. Manually rebase my own working branch on top of upstream features/dja…

    …ngo-1.4
    
    - Includes LiveServerTestCase which works with Selenium
    - Includes merging in AncestorKey implementation
    - Includes various other fixes for field types derived from DateTime fields causing breaks.
    - Includes fix for User API login not working.
    - Include switch to WSGI for python 2.7
    projecteat committed Feb 18, 2013
    Configuration menu
    Copy the full SHA
    9487b33 View commit details
    Browse the repository at this point in the history
  2. Add support for devappserver2.

    Try original dev_appserver code, and fail to devappserver2 version.
    projecteat committed Feb 18, 2013
    Configuration menu
    Copy the full SHA
    5eab9de View commit details
    Browse the repository at this point in the history

Commits on Mar 12, 2013

  1. Make 'python manage.py runserver' commands work with either GAE SDK 1…

    ….7.5 running dev_appserver, or devappserver2 0.8.
    
    Currently we detect between dev_appserver and devappserver2 based on availability of certain modules.
    In SDK 1.7.5, both dev_appserver and devappserver2 are available, and we default to dev_appserver for backwards compatibility.  Does not have a current way to force devappserver2 in this case.
    projecteat committed Mar 12, 2013
    Configuration menu
    Copy the full SHA
    6bca0c5 View commit details
    Browse the repository at this point in the history

Commits on Mar 16, 2013

  1. Add url property to BlobStoreFile and BlobstoreUploadedFile.

    This makes the FileField's ClearableFileInput widget show up properly when there's an existing file in the model.
    projecteat committed Mar 16, 2013
    Configuration menu
    Copy the full SHA
    6a472a8 View commit details
    Browse the repository at this point in the history

Commits on Mar 19, 2013

  1. Configuration menu
    Copy the full SHA
    ff107ca View commit details
    Browse the repository at this point in the history
  2. Streamline the last checkin a bit by automatically pulling up the blo…

    …b content-type, blob-key, and name.
    projecteat committed Mar 19, 2013
    Configuration menu
    Copy the full SHA
    0e49f3f View commit details
    Browse the repository at this point in the history
  3. Add testing of File fields that store BlobstoreFiles

    projecteat committed Mar 19, 2013
    Configuration menu
    Copy the full SHA
    ec08bb8 View commit details
    Browse the repository at this point in the history
  4. Update to work on SDK 1.7.6

    Force use of devappserver2 by putting a file in the root of your project called force_devappserver.py
    The file should contain a single variable:
    
    devappsever_ver = 1 or 2
    
    manage.py runserver, test and remote shell commands work on both devappserver1/2
    manage.py shell works on devappserver1 but not devappserver2.
    Other commands have not been tested.
    projecteat committed Mar 19, 2013
    Configuration menu
    Copy the full SHA
    fdc3e17 View commit details
    Browse the repository at this point in the history

Commits on Mar 20, 2013

  1. Configuration menu
    Copy the full SHA
    2a09904 View commit details
    Browse the repository at this point in the history
  2. Add support for devappserver2 to LiveServerTestCase.

    Can currently only run one test at a time, since server sometimes fails to shut down.
    projecteat committed Mar 20, 2013
    Configuration menu
    Copy the full SHA
    4993104 View commit details
    Browse the repository at this point in the history
  3. Clean up breakpoint.

    projecteat committed Mar 20, 2013
    Configuration menu
    Copy the full SHA
    29ae1a1 View commit details
    Browse the repository at this point in the history

Commits on Mar 22, 2013

  1. Add support for auto_id_policy to the command line.

    projecteat committed Mar 22, 2013
    Configuration menu
    Copy the full SHA
    ba8122b View commit details
    Browse the repository at this point in the history

Commits on Mar 23, 2013

  1. Make sure we set up datastore stubs properly in stubs.py, this makes …

    …commands like manage.py shell/dumpdat work.
    
    We need to patch runserver a bit so that it resets the stubs, otherwise we get an exception in devappserver2.
    projecteat committed Mar 23, 2013
    Configuration menu
    Copy the full SHA
    d607801 View commit details
    Browse the repository at this point in the history

Commits on Mar 25, 2013

  1. Revert changes to utils.py that were needed for the standalone devapp…

    …pserver2.
    
    Make python manage.py deploy work.  Removed the use of the appcfg -R flag, it shouldn't be necessary.
    projecteat committed Mar 25, 2013
    Configuration menu
    Copy the full SHA
    64c4e64 View commit details
    Browse the repository at this point in the history

Commits on Aug 7, 2013

  1. Add __str__ and __unicode___ methods to BlobstoreFile so filenames ar…

    …e displayed without the blobkey (ie in form FileField)
    projecteat committed Aug 7, 2013
    Configuration menu
    Copy the full SHA
    9f059e7 View commit details
    Browse the repository at this point in the history

Commits on Aug 8, 2013

  1. Merge branch 'appengine-1.4' of github.com:django-nonrel/djangoappeng…

    …ine into appengine-1.4
    
    Conflicts:
    	djangoappengine/db/creation.py
    	djangoappengine/db/stubs.py
    	djangoappengine/db/utils.py
    	djangoappengine/tests/__init__.py
    projecteat committed Aug 8, 2013
    Configuration menu
    Copy the full SHA
    297e10c View commit details
    Browse the repository at this point in the history

Commits on Aug 19, 2013

  1. Force dev_appserver datastore consistency when calling loaddata.

    This wasn't necessary on the original dev_appserver, but necessary on devappserver2 since it defaults to eventually consistent.
    We can remove the same call from testserver in this case.
    projecteat committed Aug 19, 2013
    Configuration menu
    Copy the full SHA
    7ed1b53 View commit details
    Browse the repository at this point in the history

Commits on Aug 21, 2013

  1. Fix for last change not working properly on the original dev_appserve…

    …r. Oops.
    projecteat committed Aug 21, 2013
    Configuration menu
    Copy the full SHA
    122b1fe View commit details
    Browse the repository at this point in the history

Commits on Oct 12, 2013

  1. Update input readers for reading keys and raw entities given Django m…

    …odels.
    projecteat committed Oct 12, 2013
    Configuration menu
    Copy the full SHA
    ca5cd85 View commit details
    Browse the repository at this point in the history

Commits on Oct 30, 2013

  1. Patch tests so they don't throw an exception when calling the latest …

    …mapreduce library.
    projecteat committed Oct 30, 2013
    Configuration menu
    Copy the full SHA
    a7a4426 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    85f5f15 View commit details
    Browse the repository at this point in the history
  3. Reinstating the init_images_stub, since it's required for the blobsto…

    …re APIs.
    
    TODO: add PIL to Travis config
    projecteat committed Oct 30, 2013
    Configuration menu
    Copy the full SHA
    0376e47 View commit details
    Browse the repository at this point in the history