[#1134] Update Ming and Allura to pymongo 1.9

This commit updates our support to pymongo 1.9. In doing so, there was a good
bit of refactoring of attachment code to be done since pymongo 1.7-1.9 have an
upgraded version of GridFS. There was also a minor change in pymongo where
pymongo.bson was renamed to plain old bson. In order to isolate us (somewhat)
from future changes, all the metadata about files was moved from the foo.files
collection to the (newly-created) foo collection, which maintains a pointer into
the foo.files collection. There are also several convenience methods added,
including a .serve() method on attachments that correctly sets the WSGI response
parameters for serving up attachments.

Rick Copeland Rick Copeland 2010-11-17

1 2 3 > >> (Page 1 of 3)
added Allura/allura/tests/data/user.png
removed Allura/flyway
removed Allura/flyway/tests
removed Allura/flyway/tests/__init__.py
removed Allura/flyway/tests/migrations_a.py
removed Allura/flyway/tests/migrations_b.py
removed Allura/flyway/tests/test_globals.py
removed Allura/flyway/tests/test_migrations.py
removed Allura/flyway/__init__.py
removed Allura/flyway/command.py
removed Allura/flyway/graph.py
removed Allura/flyway/migrate.py
removed Allura/flyway/model.py
removed Allura/flyway/runner.py
changed Allura/allura/command/reactor.py
changed Allura/allura/controllers/attachments.py
changed Allura/allura/controllers/discuss.py
changed Allura/allura/controllers/project.py
changed Allura/allura/ext/admin/admin_main.py
changed Allura/allura/ext/project_home/project_main.py
changed Allura/allura/ext/user_profile/user_main.py
changed Allura/allura/lib/app_globals.py
changed Allura/allura/lib/helpers.py
changed Allura/allura/lib/repository.py
changed Allura/allura/lib/validators.py
Allura/allura/tests/data/user.png Diff Switch to side-by-side view
Loading...
Allura/flyway
File was removed.
Allura/flyway/tests
File was removed.
Allura/flyway/__init__.py
File was removed.
Allura/flyway/command.py
File was removed.
Allura/flyway/graph.py
File was removed.
Allura/flyway/migrate.py
File was removed.
Allura/flyway/model.py
File was removed.
Allura/flyway/runner.py
File was removed.
Allura/allura/command/reactor.py Diff Switch to side-by-side view
Loading...
Allura/allura/controllers/attachments.py Diff Switch to side-by-side view
Loading...
Allura/allura/controllers/discuss.py Diff Switch to side-by-side view
Loading...
Allura/allura/controllers/project.py Diff Switch to side-by-side view
Loading...
Allura/allura/ext/admin/admin_main.py Diff Switch to side-by-side view
Loading...
Allura/allura/ext/project_home/project_main.py Diff Switch to side-by-side view
Loading...
Allura/allura/ext/user_profile/user_main.py Diff Switch to side-by-side view
Loading...
Allura/allura/lib/app_globals.py Diff Switch to side-by-side view
Loading...
Allura/allura/lib/helpers.py Diff Switch to side-by-side view
Loading...
Allura/allura/lib/repository.py Diff Switch to side-by-side view
Loading...
Allura/allura/lib/validators.py Diff Switch to side-by-side view
Loading...
1 2 3 > >> (Page 1 of 3)