Add specs
Fix preview
Adds permission specs
Fix preview permissions
Fix work package preview permission
Make preview a normal view
Add 'nothing to preview' message
Authorize through #find_optional_project
Reset order of preview texts
Add preview object authorization specs
Authorize preview object access
Preview caption reflects the previewed attribute
Fix comment layout
override css method for wiki page by adding overflow: visible
Merge pull request #1537 from opf/hotfix/wiki_menu_cutoff

hotfix/wiki_menu_cutoff
[security] fixed back url verification

--HG--
extra : convert_revision : svn%3Ae93f8b46-1217-0410-a6f0-8f06a7374b81/trunk%4013018
fix protocol-relative redirection test

- escape forward slash in regexp
- allow redirection to home_path '/'
make url redirect tests pass

I don't know why, but the test doesn't pass when both url-tests
are in the same test-method.
When defined in separate test-methods they work fine.
add test for login redirecting to home_url
explicitly allow home path in back_url