fix image permissions

some where 640 which results in 403 errors
and others where 755
set min event pager row height to icon height
wrap all text nodes in user sidebar in span elements

having text nodes directly in a sidebar_box breaks some themes
use button mixin for serach button
Dashboard: Show preview only if actual text exists

Somehow, proposal.description.head can be None; this case will now not
fail anymore.
Dashboard: Show comment preview only if it is a comment

We somehow have events corresponding to comments in the database, but
the event data doesn't refer to an actual comment ref, but is
"Undefined" instead. This happens with events related to "issues" (some
former adhocracy object type)...

Anyways it makes sense to be more defensive here, as this would throw
errors on long-serving installations.
Check for user existance in legacy edit url
Fix url test after legitimate url creation fix

in 7d35a136f6804dc4063c2446dc127f3c39417b6d
Require js.socialshareprivacy-1.3-2 (fixes #611)

This now pulls facebook and twitter assets through SSL.
document img alt text in formatting
fixup document img alt text in formatting

I changed the text after feedback from ingrid
pep8
create function validate_ret_url
use ret_url from query in comment edit
use href to calculate comment edit ajax url

This way we do not need to provide all information twice
(ajax + traditional)
Do not display other instance's userbadges in facet list (fixes #612)

WARNING: Update solr user index to enjoy that fix.

To make sure that only userbadges corresponding to the current instance
or global userbadges are shown in the userbadges facet of an instance's
user list, we need to store the list of user facets individually per
instance.

One part is the indexer, which calls add_data_to_index to the Facet
class (and doesn't construct a Facet instance).

The other part is the facetted querying which is done from within Facet
instances.

To achieve the latter, we now define a list of tuples of facets and
kwargs - the kwargs are added to the facet object and can be used later.
In the current case, the pager's instance is passed to the facet and can
be used by the UserBadgeFacet.solr_field property.

This increases the solr index quite a bit, as global facets are stored
redundantly for all instances. And it also increases indexing time.

Note that a similar workaround has been introduced in
adf7b0fd01cd346d61da69fa8b80d8739952f3ed, which allows separate user
activity scores for each instance. This however applies to a sorting
method and not to a facet.
Merge pull request #614 from nidico/feature-612-fix-incorrect-userbadge-facets

Do not display other instance's userbadges in facet list (fixes #612)
Merge pull request #613 from xi/feature-609-comment-edit-redirect

Fix comment edit redirect
Fixup global user listing

Fixup 7a5cb5a7c41447b8fa4b3961fc02e242eb6e6f52
Disable non-deterministic treatment test assert (#601)

Disable assert for now, as the non-deterministic nature renders the
travis output useless. Can be reenabled once this issue is fixed.