Refactoring method Notification#notify
bump acts-as-taggable-on
Set mention notification as read when viewing post

  - If a mention for the current user and the displayed post exists,
    mark it as read
  - Use set_read_state instead of manually setting unread as false
Add test for mention notifications
Set sharing notification as read

  Fix issue #4951

  If the displayed user (on her profile) started sharing with the
current user, mark the notification as read
Merge branch 'release/0.4.0.0' into develop
start new development cycle
Reports email notification; wrong recipient

The mailer uses the person_id to find a user
which cannot work on a production environment.

I haven't used a remote user on my test setup.
Use different user.construct_public_followings_sql query depending on database backend.
This is done for performance reasons as a temporary fix for problems with 0.4.0.0 on MySQL. This madness is explained in issue https://github.com/diaspora/diaspora/issues/5014.
Merge pull request #5026 from jaywink/hotfix-mysql-madness-develop

Use different user.construct_public_followings_sql query depending on database backend
Use different user.construct_public_followings_sql query depending on database backend.
This is done for performance reasons as a temporary fix for problems with 0.4.0.0 on MySQL. This madness is explained in issue https://github.com/diaspora/diaspora/issues/5014.

(cherry picked from commit 80075c13f4e45de4a1cc7b305b213ee693c66619)
Bump to 0.4.0.1
Merge branch 'hotfix/0.4.0.1'
Merge branch 'hotfix/0.4.0.1' into develop

Conflicts:
	Changelog.md
	config/defaults.yml
Merge pull request #5020 from Zauberstuhl/reports_email_notification_bug

[Bug] Reports email notification; wrong recipient
Reports email notification; wrong recipient

The mailer uses the person_id to find a user
which cannot work on a production environment.

I haven't used a remote user on my test setup.

(cherry picked from commit 01a45ccf40790a8c8b0cc73ed360619047c14447)
Re-bump version to 0.4.0.1
Merge branch 'hotfix-0.4.0.1-post-report'
Merge branch 'master' into develop
Remove posts for ignored person