Squashed commit of the following:

commit 44a9ca0e74c56ea52291ff9c8f6ba993d28bb64b
Author: jmoswalt <jmoswalt@gmail.com>
Date:   Wed Oct 3 10:44:52 2012 -0500

    Adding constrain to the image_cache_key

commit 972ab414632374891fd2270e62e6b618e08b1069
Author: Jenny Qian <jqian@schipul.com>
Date:   Wed Oct 3 10:17:52 2012 -0500

    Fixed a bug to resolve the size for remote images.

commit c78809beb2d341a0807fbff08377cc3a7010eacf
Author: jmoswalt <jmoswalt@gmail.com>
Date:   Tue Oct 2 22:56:20 2012 -0500

    removing allow_anonymous_edit from form and event cloning views.

commit 0574105bd8bf7b8d4c84a12b69e20b0c4d531cbc
Author: jmoswalt <jmoswalt@gmail.com>
Date:   Tue Oct 2 22:24:24 2012 -0500

    Allow null on attributes in the Base Search Index class for creator and owner.

commit bdac16a8860c642151b64ea2db1988eff756108a
Author: jmoswalt <jmoswalt@gmail.com>
Date:   Tue Oct 2 21:57:04 2012 -0500

    Remove allow_anonymous_edit field from exports since that field has been removed from the base model.

commit e43b22725745b825597bc0b8e51875e068b26c56
Author: jmoswalt <jmoswalt@gmail.com>
Date:   Tue Oct 2 21:19:09 2012 -0500

    Add file caching and file pagination back.

commit e2551a51fa5a40d99548859482332906483dd005
Author: jmoswalt <jmoswalt@gmail.com>
Date:   Tue Oct 2 17:34:23 2012 -0500

    Reordering files urls.

commit a06c120a4ecc8c5caccb83e7869e7e4fe7f3cf39
Author: jmoswalt <jmoswalt@gmail.com>
Date:   Tue Oct 2 14:01:13 2012 -0500

    Adding the import for the Decimal in base filters.

commit 3824f0ed1820aac7469d2f83f34387156b8a2460
Author: jmoswalt <jmoswalt@gmail.com>
Date:   Tue Oct 2 13:42:44 2012 -0500

    Updating filters for file sizes.

commit 7b8b688eecaa23e2b44b9e3b17328a277789fe1a
Author: jmoswalt <jmoswalt@gmail.com>
Date:   Tue Oct 2 10:17:04 2012 -0500

    Removed creator_id and owner_id data from initial nav data migration.

    Removed initial creation of an admin user. It is no longer needed since creator and owner allow null's.

commit 613641097d066a0e417fcf88c6b862476706b0b2
Author: jmoswalt <jmoswalt@gmail.com>
Date:   Tue Oct 2 10:12:25 2012 -0500

    SET_NULL for versions on User delete.

commit 639e1683e03ed9d8d6b1170358374a43a0556a21
Author: jmoswalt <jmoswalt@gmail.com>
Date:   Tue Oct 2 09:09:41 2012 -0500

    Added to the Pages save method to properly update S3 permissions for the header image based on the permissions of the page.

commit e9f41bab49e93c6daac9adc217a5cfe65ef37fe0
Author: jmoswalt <jmoswalt@gmail.com>
Date:   Mon Oct 1 19:42:47 2012 -0500

    Update plugins. to addons. when looking for settings from update_settings.

commit 4bc618e88a95af9d0094779dd42f5eac1dae3572
Author: jmoswalt <jmoswalt@gmail.com>
Date:   Mon Oct 1 18:16:40 2012 -0500

    Updated files urls to handle reverses better for non-download and non-resized images.

commit e5893964cf0e2967df0bb8f675a1c2d8ede8fc1b
Author: jmoswalt <jmoswalt@gmail.com>
Date:   Mon Oct 1 12:51:01 2012 -0500

    Update the addons adding to accept the addon folder as an argument.

commit 7f5c9ab16e23b0de40a7a803b90306bdc31736a2
Author: jmoswalt <jmoswalt@gmail.com>
Date:   Thu Sep 27 13:45:26 2012 -0500

    Adding remote deploy trigger in the form save for a theme editor file edit.

commit 8df93f101874ad1ef4d70144a1d30f0d7e20c116
Author: jmoswalt <jmoswalt@gmail.com>
Date:   Thu Sep 27 15:57:25 2012 -0500

    Adding depends_on for emails to events migration.

commit 60065ba1f7993708be4d542dfeefde151af94f8e
Merge: 3677124 93f6500
Author: jmoswalt <jmoswalt@gmail.com>
Date:   Wed Sep 26 20:22:36 2012 -0500

    Merge branch 'refs/heads/master' into cowboy

commit 3677124be9846fe04cf93c447511816c54268e6d
Author: jmoswalt <jmoswalt@gmail.com>
Date:   Wed Sep 26 17:44:59 2012 -0500

    Adding pages search from the index if an index is available. Falls back to database.

commit 93f65002d463a47e62ce5895e415559de57b536e
Author: Jenny Qian <jqian@schipul.com>
Date:   Wed Sep 26 17:37:08 2012 -0500

    Move events notifications from notifications to its own app.

commit a621421b9faf26bcc53071db77b3c41735225e9e
Author: Jenny Qian <jqian@schipul.com>
Date:   Wed Sep 26 17:28:32 2012 -0500

    Allow event editors to add text to the event confirmation emails.

commit 5cd8f6f9a9f62ee75585e289a1c9a603a4a5e650
Author: Jenny Qian <jqian@schipul.com>
Date:   Wed Sep 26 16:47:56 2012 -0500

    Link the reminder email edit on event nav.

commit 7ba4c6b9de89f15d4e269f0f5b6505ca5aa8d564
Author: Jenny Qian <jqian@schipul.com>
Date:   Wed Sep 26 16:43:06 2012 -0500

    A management command to send event reminders.

commit 814ea88891b7a2e1ed6395c989fdbc03c93e3b3d
Author: Jenny Qian <jqian@schipul.com>
Date:   Wed Sep 26 16:13:53 2012 -0500

    Added the reminder field to the event registration page.

commit 03ab361f8aad552eeefbba8c8431092a14cf24a6
Author: Jenny Qian <jqian@schipul.com>
Date:   Wed Sep 26 15:57:40 2012 -0500

    Adding event reminder fields on event add and edit, and reminder email edit page.

commit a87f66c6e7476b838ed7df943710d78c1dddd879
Author: jmoswalt <jmoswalt@gmail.com>
Date:   Wed Sep 26 13:54:54 2012 -0500

    Updating search tags to work with photo_sets.
Squashed commit of the following:

commit a9978c6ad82c94cf0d944e13875177900cb0cf8a
Author: Jenny Qian <jqian@schipul.com>
Date:   Sat Oct 13 18:32:46 2012 -0500

    Minor update for creator and owner assignment.

commit 3b1420f8d05c80404024afbef2943457c0fb616e
Author: Jenny Qian <jqian@schipul.com>
Date:   Fri Oct 12 21:29:44 2012 -0500

    Include 304 to the response code.

commit 38b779c92db3abd2756d951e261cb4a155fb201e
Author: jmoswalt <jmoswalt@gmail.com>
Date:   Fri Oct 12 18:19:40 2012 -0500

    Maybe cache the photo when we upload? It slows down uploads but speeds up the batch edit view afterwards.

commit d52f5f4ca96ddc670ce717794257f0152011b68b
Author: jmoswalt <jmoswalt@gmail.com>
Date:   Fri Oct 12 17:47:10 2012 -0500

    Adding entity to be excluded from membership application.

commit 41547a158283856ce933aa06a3b7629bc57732c0
Author: Jenny Qian <jqian@schipul.com>
Date:   Fri Oct 12 15:07:02 2012 -0500

    Added the option src_url.

commit 22653662e96fb2020818f7f043698fdddd1e00b1
Author: Jenny Qian <jqian@schipul.com>
Date:   Fri Oct 12 14:51:38 2012 -0500

    Added doc extension.

commit 849d1c3a3257206427107628cdc0c5bd17125da9
Author: Jenny Qian <jqian@schipul.com>
Date:   Fri Oct 12 12:13:22 2012 -0500

    Update management command scan_and_retrieve_files. Allow app names to be passed from command line.

commit e48fc0180473d2c605d825d8183cc282e171c088
Author: Jenny Qian <jqian@schipul.com>
Date:   Fri Oct 12 11:46:50 2012 -0500

    Rename management command scan_and_retrieve_files.

commit b20e26ae5cee897ecb4129e2219debd18b1c765e
Author: Jenny Qian <jqian@schipul.com>
Date:   Fri Oct 12 08:41:31 2012 -0500

    Management command to fix broken images by retrieving from its original (T4) site.

commit b5a8ca03d10b73fc6c6efbe8f476a34982f39c62
Author: jmoswalt <jmoswalt@gmail.com>
Date:   Thu Oct 11 18:29:05 2012 -0500

    **Files: Adding group on file add/edit pages. Added files_list tag to be pushed out to the site. Updated files search page to include filter for Group.

commit c10cf4c3dbc759cec95149cdf1aa6143964d5115
Author: jmoswalt <jmoswalt@gmail.com>
Date:   Thu Oct 11 18:27:44 2012 -0500

    Updating base template tag for lists to allow group to be passed as a kwarg.

commit bb89ec5f0f7d3c87fc466f845d12ef3c11415060
Author: jmoswalt <jmoswalt@gmail.com>
Date:   Thu Oct 11 18:27:19 2012 -0500

    User groups: reorg the import for ImportFile to not conflict with File on imports.

commit 92ce6fd123c23ac1002703230c223618bade9eaf
Author: jmoswalt <jmoswalt@gmail.com>
Date:   Thu Oct 11 18:26:49 2012 -0500

    **Photos: Adding group edit on bulk edit and individual photo page. Updating photos_list tag to take in group.

commit 58c15bc8f95cb094757d261a662539c4cf0ba3a7
Author: jmoswalt <jmoswalt@gmail.com>
Date:   Thu Oct 11 18:25:51 2012 -0500

    **Events: Adding group to be displayed on Event add/edit. Adding group to the filters list for the list_events tag.

commit 66d69a92c93dfe75ae02920fdd119dbdb1e2dbba
Author: Jenny Qian <jqian@schipul.com>
Date:   Wed Oct 10 21:30:10 2012 -0500

    Minor update address assignment.

commit 60452d75dca89c17cf40510e5677c92f26b2afd3
Author: Ed Schipul <eschipul@schipul.com>
Date:   Wed Oct 10 18:13:56 2012 -0500

    Entity added to admin section

    Added entities and associated with groups and parent entity id

    Signed-off-by: Ed Schipul <eschipul@schipul.com>

commit 29179d7adaddefc963591e05b4a199edd231c8f9
Author: Alex <aragsdale@schipul.com>
Date:   Wed Oct 10 15:41:09 2012 -0500

    Removing duplicate forms templates.

commit fdcd7a89085a69941b7e0d5ffe1cce7b097ca2fc
Author: Alex <aragsdale@schipul.com>
Date:   Wed Oct 10 15:40:53 2012 -0500

    Custom templates for forms.

commit b4d4f7c0c83472489f77f5fde04b1730bf4f4108
Author: Alex <aragsdale@schipul.com>
Date:   Wed Oct 10 15:39:04 2012 -0500

    Pages: check for template with template_exists so that custom page templates work.

commit 4d9c40647df21d138fffbaeb8c84dcc3e031cd6a
Author: jmoswalt <jmoswalt@gmail.com>
Date:   Wed Oct 10 12:31:48 2012 -0500

    Accountings: Add group by description in SQL.

commit eb0162f24c7992ce16573dca31e353297212e2fa
Author: jmoswalt <jmoswalt@gmail.com>
Date:   Wed Oct 10 12:11:02 2012 -0500

    Add new management command to be run nightly that is a collection of other commands.

commit 6b54b603de45ebc44db241364b9b668654f257e0
Author: jmoswalt <jmoswalt@gmail.com>
Date:   Tue Oct 9 18:21:38 2012 -0500

    Add en url redirect to login page for legacy site compatibility.

commit f29e264b7cae28216fad7af3a24435adc0207aad
Author: Jenny Qian <jqian@schipul.com>
Date:   Tue Oct 9 22:14:15 2012 -0500

    Rename address to address1 for paypal form.

commit 09e1ab0f2b05bc8e2f2804c1178d595a550c67f3
Author: jmoswalt <jmoswalt@gmail.com>
Date:   Tue Oct 9 18:08:21 2012 -0500

    Updating the theme editor to allow uploaded images.

commit 5e9f345c628f434647d8a84f886812d8c73326f1
Author: jmoswalt <jmoswalt@gmail.com>
Date:   Tue Oct 9 17:18:45 2012 -0500

    Updating events image field to save properly for S3 storage backend.

commit fb88763fa70a036eff891e67c12a000601488646
Author: jmoswalt <jmoswalt@gmail.com>
Date:   Tue Oct 9 16:26:22 2012 -0500

    Updating index search template.

commit 078c6ceb30aeeed4d5f4f11a3d0b50fae4e5b8d2
Author: jmoswalt <jmoswalt@gmail.com>
Date:   Tue Oct 9 16:25:57 2012 -0500

    Updating event_logs PNG generation.

commit 19f755357f53bd7199064b917cb71b68d3e31a5e
Author: jmoswalt <jmoswalt@gmail.com>
Date:   Tue Oct 9 13:29:59 2012 -0500

    Updating split_title to check self.title before splitting.

commit 47113372b9f6b274952b5968aa1a9f859806e675
Author: jmoswalt <jmoswalt@gmail.com>
Date:   Tue Oct 9 12:56:40 2012 -0500

    Updating user groups save to create or update the associated auth group.

commit ab3d3bba4c3dcfbf2384f558c92413f5674f3980
Author: jmoswalt <jmoswalt@gmail.com>
Date:   Mon Oct 8 17:06:21 2012 -0500

    Updating the theme root path for a custom page template.

commit b260d242dd5b179555c307fc14f851393a7e0f93
Author: Jenny Qian <jqian@schipul.com>
Date:   Fri Oct 5 17:40:55 2012 -0500

    Comment out the address info assignment - they are not returned by PayPal.  Update the response_reason_text.

commit 79c58577c9a5977f9adfaf6fe71ffe901d3e07f7
Merge: 6e87dac f15d9c6
Author: Jenny Qian <jqian@schipul.com>
Date:   Fri Oct 5 17:19:44 2012 -0500

    Merge branch 'master' of github.com:tendenci/tendenci

commit 6e87dacdc61f692fb45c62fcda1e590b9f630048
Author: Jenny Qian <jqian@schipul.com>
Date:   Fri Oct 5 17:19:14 2012 -0500

    Handling payment process for papal PDT and IPN.

commit f15d9c6ff8a59672df12dabfb233503b6ec874bb
Author: Alex <aragsdale@schipul.com>
Date:   Fri Oct 5 14:14:11 2012 -0500

    Directories: added notice says Directory in the title.

commit 1ff7a3a56790b137a627d54e18a93ec0f0bf0e5f
Merge: 6e25cff 54f2ac3
Author: Jenny Qian <jqian@schipul.com>
Date:   Thu Oct 4 16:31:00 2012 -0500

    Merge branch 'master' of github.com:tendenci/tendenci

commit 6e25cff9110068280cbc5520a5da5b33d96cccdb
Author: Jenny Qian <jqian@schipul.com>
Date:   Thu Oct 4 16:30:23 2012 -0500

    Fix the get_template_list to display templates when using S3.

commit 54f2ac37f81032563389676ac199dd70802c5e2e
Author: jmoswalt <jmoswalt@gmail.com>
Date:   Thu Oct 4 14:36:11 2012 -0500

    Write out the file locally and only copy to S3 if necessary. The save to S3 reads from the local file, so we need to save it first.

commit cd44a02a6797d3137f7e8997a3adabec52030f6b
Author: jmoswalt <jmoswalt@gmail.com>
Date:   Thu Oct 4 14:17:19 2012 -0500

    New setting USE_S3_THEME to determine if the theme should be read and cached from S3 or read locally. Pep8 some of the files involved.

commit 82945ec4f7f8b9fa22c601a7b599ef31ac315306
Author: Jenny Qian <jqian@schipul.com>
Date:   Thu Oct 4 12:47:16 2012 -0500

    Start integrating paypal payment standard.

commit 6786c31f57f7ed3a1d79c4e8b968d39951d7e084
Author: jmoswalt <jmoswalt@gmail.com>
Date:   Thu Oct 4 10:05:08 2012 -0500

    Reactivating the REMOTE_DEPLOY_URL