mailing list link
Meta classes should be before methods but after fields

This is a partial cherry-pick of b8046e88dc

Signed-off-by: Antoine Catton <acatton@fusionbox.com>
Ack-by: Antoine Catton <acatton@fusionbox.com>
Added StrDisplayNameMixin to many widgets.

StrDisplayNameMixin uses the __unicode__ or __str__ methods of the
widgets to create the display_name.  This is better than using a lambda
in the DisplayNameMixin because it forces the programmer to also write a
__str__ method for the model.

This is a partial cherry-pick of b8046e88dc

Signed-off-by: Antoine Catton <acatton@fusionbox.com>
Ack-by: Antoine Catton <acatton@fusionbox.com>
fix the tests on django 1.6

Any exception inside an ORM method (like those cause by our pre-delete
signal) invalidates the transaction. You need to use an atomic() to
prevent this.

Reviewed-by: Antoine Catton <acatton@fusionbox.com>
Fix multi-table inheritance with LinkFields

The fields LinkFields adds were getting added twice when inheriting from
a model with a LinkField. LinkField tries to prevent this by check if
the fields are already there, but it only checked local_fields. It needs
to check all model fields, including inherited fields.

164ea5f00b3db switched from using get_all_field_names to local_fields,
because get_all_field_names loads the appcache which can cause a
circular import. This commit uses get_fields_with_model, which does not
load the appcache, so it should be ok.
IE doesn't have window.scrollY

Use the recipe from
https://developer.mozilla.org/en-US/docs/Web/API/Window.scrollY instead.
use scrollBy instead of scrollTop+=

Setting scrollTop doesn't do anything in Firefox or IE, so use
window.scrollBy which is supported everywhere.
User delete querying nonexistent reviewqueue

A widgy project was searching for user-related review queue objects when an
admin attempted to delete said user. Thus, the site was attempting to query a
database tab le that did not exist.

Reorganizing the review queue imports within the widgy-mezzanine admin file so
that they are not called unless review queue is in INSTALLED_APPS fixed the
problem
__str__ can't return None

Reviewed-By: Antoine Catton <acatton@fusionbox.com>
use the master branch for the travis badge

failures in branches besides master shouldn't be reported
Updated demo for url depreciation

Signed-off-by: Antoine Catton <acatton@fusionbox.com>
widget component belongs in widgy, not in page_builder
Manually squash Widgy's first two migrations

This pair of migrations created and then removed a bunch of stuff in
Widgy that depended on Mezzanine. Removing each create/delete pair
allows migrating Widgy without Mezzanine.

Reviewed-by: Rocky Meza <rocky@fusionbox.com>
Reviewed-by: Antoine Catton <acatton@fusionbox.com>
Drop target collision detection

Instead of using the pointer_event_catcher to activate drop targets,
activate the drop target closest to the mouse that overlaps the dragged
element.

As an optimization, only drop targets visible in the viewport are
checked for overlap. The list of visible drop targets is refreshed on
scroll.
Fix #121 - Generate form success key from ident, not pk

The logical form has a new pk for each version, which means the success
page changed on every commit. Now it uses a key generated from its
ident, which never changes. This allows caching form pages because the
success urls for all versions of the form are the same.
buttons should prefetch their links
widgy commit popup form style
URL config that needs modified further
Edited url and added JS import to widgy_field.html
This may work?